Movatterモバイル変換


[0]ホーム

URL:


CN101369979A - Communication method, apparatus and system for network camera and user terminal - Google Patents

Communication method, apparatus and system for network camera and user terminal
Download PDF

Info

Publication number
CN101369979A
CN101369979ACNA2008102224196ACN200810222419ACN101369979ACN 101369979 ACN101369979 ACN 101369979ACN A2008102224196 ACNA2008102224196 ACN A2008102224196ACN 200810222419 ACN200810222419 ACN 200810222419ACN 101369979 ACN101369979 ACN 101369979A
Authority
CN
China
Prior art keywords
driver
user terminal
attribute information
usb
connection type
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CNA2008102224196A
Other languages
Chinese (zh)
Other versions
CN101369979B (en
Inventor
乔启盛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Zhongxing Electronics Co ltd
Original Assignee
Vimicro Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vimicro CorpfiledCriticalVimicro Corp
Priority to CN2008102224196ApriorityCriticalpatent/CN101369979B/en
Publication of CN101369979ApublicationCriticalpatent/CN101369979A/en
Application grantedgrantedCritical
Publication of CN101369979BpublicationCriticalpatent/CN101369979B/en
Expired - Fee Relatedlegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Landscapes

Abstract

The invention provides communication method of network camera and user terminal which is connected physically based on USB, and device and system. The method comprises that the network camera obtains access attribute information of user terminal and resolves connection type of the access attribute information, judges if preloaded first drive program can supports the access attribute information, if cannot, then loads second drive program corresponding to connection type of the access attribute information. The invention constructs at least two virtual paths such as virtual serial port path and virtual Ethernet path based on USB physical connection, supplements and enlarges remote access style of IP camera, enable user terminal to connect with IP camera by USB and access in close distance to IP camera.

Description

The communication means of web camera and user terminal, Apparatus and system
Technical field
The present invention relates to the technical field of web camera (IP Camera, Internet Protocol Camera) PERCOM peripheral communication, refer to communication means, the Apparatus and system of a kind of IP Camera and user terminal especially.
Background technology
Generally speaking, IP Camera can be counted as the combination of a video camera and a computer.It can capturing video, and directly transmit by local area network (LAN), Internet or wireless network, thereby make authorized user can by standard, based on the network foundation framework of independent Internet protocol (IP, Internet Protocol) in this locality or remote site is realized watching, storage and managing video data.
IP Camera has own independent IP address, can be directly connected to network and embedded with network server (Web Server), file transfer protocol (FTP) (FTP, File Transfer Protocol) server, ftp client, email client, alarming and managing, programmability and other numerous intelligent functions.By efficient compression chip compression, be sent to Web Server behind the video signal digitization that IP Camera sends by network-bus.The user can directly watch the image of the IP Camera seizure on the Web Server by network with browser.
In practice, IP Camera independent operating need not to be connected with PC, can be placed in the place that any one possesses the IP network interface.And authorized user can also be controlled the action of camera pan-tilt camera lens by network, or system configuration is operated, to carry out omnibearing monitoring.
Yet,, also come with some shortcomings at present aspect the visit of IP Camera.Such as, in the time of need checking some daily records (log) information in the IP Camera system or some process or program, by general platform be visit less than, also can't realize from the webpage visit.Though this is because the restriction of cost and location makes that some IP Camera product is supported USB (USB) interface at present, but do not support UART Universal Asynchronous Receiver Transmitter (UART) interface and can't IP Camera be conducted interviews, thereby cause the visit of IP Camera very inconvenient; Perhaps, turned off the background access under Telnet (Telnet) mode, thereby caused when IP Camera goes wrong, lacked necessary debugging method or backstage control device, thereby IP Camera can only have been returned the repair in shop reason for the consideration of network security.
And, also have a lot of defectives by network (web) visit IP Camera, for example, under situation about allowing through IP Camera, some self defining programms of user's download (as: revising web interface script) are to IP Camera, and these operations may be unsafe by web.This be because, in the process of IP Camera being operated by network, be subjected to other people easily and attack or distort, so this mode exists certain potential safety hazard.In addition, it also is inconvenient using access to netwoks, because some IP Camera that supports USB is not because of supporting wireless network (WIFI, WirelessFidelity) interface and can't IP Camera being conducted interviews by wireless network at present; The IPCamera that perhaps has has the WIFI interface, but can't pass through wireless network access because network is unusual; Though or the IP Camera that has is provided with wired network adapter, need the user to open PC and visit, even also needing of having carries out necessary configuration to IP Camera and could visit.
In a word, need the urgent technical problem that solves of those skilled in the art to be exactly at present: how a kind of IP Camera and user terminal communication mechanism of innovation are provided so that people are convenient, safely, by user terminal IP Camera is carried out control operation and data management neatly.
Summary of the invention
Technical problem to be solved by this invention provides a kind of IP Camera and user terminal communication mechanism of innovation, so that people are convenient, safety, by user terminal IP Camera is carried out control operation and data management neatly.
For solving the problems of the technologies described above, the invention provides the communication means of a kind of IP Camera and user terminal, wherein, described IP Camera and described user terminal are based on the USB physical connection, and described method comprises:
Described IP Camera obtains the access attribute information of described user terminal, and resolves described access attribute information, thereby judges the connection type of described IP Camera and described user terminal; According to described connection type, judge that can first driver of prestrain support described access attribute information, if can not, then load second driver of described connection type correspondence.
Preferably, described access attribute information comprises the facility information of described infrared control information and/or described user terminal.
Preferably, described IP Camera comprises that with connection type between the user terminal local memory access is connected, virtual serial port connects or virtual ethernet connects.
Preferably, when described connection type is local memory access when connecting, described first driver is the USB driver that described local memory access connects;
Perhaps, described first driver is virtual serial port USB driver or virtual ethernet USB driver, and then described second driver is the USB driver that local memory access connects.
Preferably, when described connection type was the virtual serial port connection, described first driver was a virtual serial port USB driver;
Perhaps, described first driver is USB driver or the virtual ethernet USB driver that local memory access connects, and then described second driver is a virtual serial port USB driver.
Preferably, when the connection type of described access attribute information was the virtual ethernet connection, described first driver was a virtual ethernet USB driver;
Perhaps, described first driver is USB driver or the virtual serial port USB driver that local memory access connects, and then described second driver is a virtual ethernet USB driver.
Preferably, before loading described second driver, described method also comprises: unload described first driver.
Preferably, described method also comprises: the access attribute information to described user terminal is carried out authentication, if do not meet, then refuses the visit of described user terminal.
For addressing the above problem, the present invention also provides the communicator of a kind of IP Camera and user terminal, and wherein, described IP Camera and described user terminal are based on the USB physical connection, and described device comprises:
The access interface module is used to obtain the access attribute information of described user terminal;
The connection type parsing module is used to resolve the connection type of described access attribute information;
Judge module is used for according to described connection type, judges that can first driver of prestrain support described access attribute information;
Second drives load-on module, is used for loading second driver of described connection type correspondence when described first driver is not supported described access attribute information.
Preferably, described access attribute information comprises the facility information of described infrared control information and/or described user terminal.
Preferably, described IP Camera comprises that with connection type between the user terminal local memory access is connected, virtual serial port connects or virtual ethernet connects.
Preferably, when described connection type is local memory access when connecting, described first driver is the USB driver that local memory access connects;
Perhaps, described first driver is virtual serial port USB driver or virtual ethernet USB driver, and then described second driver is the USB driver that local memory access connects.
Preferably, when described connection type was the virtual serial port connection, described first driver was a virtual serial port USB driver;
Perhaps, described first driver is USB driver or the virtual ethernet USB driver that local memory access connects, and then described second driver is a virtual serial port USB driver.
Preferably, when described connection type was the virtual ethernet connection, described first driver was a virtual ethernet USB driver;
Perhaps, described first driver is USB driver or the virtual serial port USB driver that local memory access connects, and then described second driver is a virtual ethernet USB driver.
Preferably, described device also comprises: Unload module is used for unloading described first driver before loading described second driver.
Preferably, described device also comprises: authentication module, be used for the access attribute information of described user terminal is carried out authentication, and if do not meet, then refuse the visit of described user terminal.
For addressing the above problem, the present invention also provides the communication system of a kind of IP Camera and user terminal, and described IP Camera and described user terminal be based on the USB physical connection,
Described IP Camera comprises:
The access interface module is used to obtain the access attribute information of described user terminal;
The connection type parsing module is used to resolve the connection type of described access attribute information;
Judge module is used for the connection type according to described access attribute information, judges that can first driver of prestrain support described access attribute information;
Second drives load-on module, is used for loading second driver of described connection type correspondence when described first driver is not supported described access attribute information;
Described user terminal comprises:
Communication module is used to connect IP Camera and submits access attribute information to, and, receive the feedback information that IP Camera returns.
For addressing the above problem, the present invention also provides a kind of IP Camera, and wherein, described IP Camera and user terminal communicate based on the physical connection of USB, and described IP Camera comprises:
The access interface module is used to obtain the access attribute information of described user terminal;
The connection type parsing module is used to resolve the connection type of described access attribute information;
Judge module is used for the connection type according to described access attribute information, judges that can first driver of prestrain support described access attribute information;
Second drives load-on module, is used for loading second driver of described connection type correspondence when described first driver is not supported described access attribute information.
Compared with prior art, the present invention has the following advantages:
The present invention utilizes and changes USB path character, can debug IP Camera safely, easily or backstage control.At first, for the user of IP Camera, generally speaking, for security consideration, IP Camera closes telnet, but the user can utilize communication means of the present invention to carry out backstage control; Secondly, from IP Camera self, when IP Camera need repair when safeguarding, needn't open the serial port chip that IP Camera burn-ons by method of the present invention and can debug IP Camera.
Say that further as remote access a kind of the replenishing and expansion of IP Camera, the user can be by being connected the closely visit that realizes IP Camera with the USB of IP Camera based on user terminal.The physical connection that the present invention is based on USB can make up at least two Virtual Path, such as: virtual serial port path and virtual ethernet path.Described Virtual Path has enriched the occupation mode of user to IP Camera, has made things convenient for the operation of user to IP Camera; Simultaneously, also expanded the function of IP Camera flexibly, and new security access path is provided.Concrete advantage is exemplified below:
Aspect occupation mode rich, on the hardware, the user can pass through user terminal access IPCamera; On the software, can use the client-side program visit IPCamera of browser/hyper terminal/customization;
Aspect the convenience of operation, the user can closely visit IP Camera by user terminal, and this operation need not by Ethernet/PC/ monitor supervision platform;
Aspect the flexibility of expanded function, certain module/the data of user on can load/unload/modification IP Camera, such as: the web page on the renewal IP Camera or script are to revise the look ﹠ feel of the local web visit of IP Camera, perhaps renewal/increase warning the tinkle of bells;
Aspect the fail safe of using, IP Camera can require visiting user to send the operating right of authentication information with the identification user terminal, and this has strengthened the fail safe of access to netwoks greatly.
Description of drawings
Fig. 1 is the flow chart of steps of the communication means preferred embodiment one of a kind of IP Camera of the present invention and user terminal;
Fig. 2 is the flow chart of steps of the communication means preferred embodiment two of a kind of IP Camera of the present invention and user terminal;
Fig. 3 is the flow chart of steps of the communication means preferred embodiment three of a kind of IP Camera of the present invention and user terminal;
Fig. 4 is the flow chart of steps of the communication means preferred embodiment four of a kind of IP Camera of the present invention and user terminal;
Fig. 5 is the structured flowchart of the communicator embodiment one of a kind of IP Camera of the present invention and user terminal;
Fig. 6 is the structured flowchart of the communicator embodiment two of a kind of IP Camera of the present invention and user terminal;
Fig. 7 is the structured flowchart of the communication system embodiment of a kind of IP Camera of the present invention and user terminal;
Fig. 8 is the structured flowchart of a kind of IP Camera of the present invention.
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, the present invention is further detailed explanation below in conjunction with the drawings and specific embodiments.
One of core idea of the embodiment of the invention is: replenish and expand the remote access mode of IP Camera, so that the user can closely visit IP Camera based on the USB physical connection of user terminal and IP Camera.The embodiment of the invention can make up at least two kinds of Virtual Path based on the physical connection of USB, for example: virtual serial port path and virtual ethernet path.And no matter based on which kind of Virtual Path, access type has: reading out type, modified form and control type.Particularly, reading out type is meant that user-readable gets the data of IP Camera this locality; Modified form is meant that the user can revise the data of IP Camera this locality; Control type is meant that the user can carry out the certain module/function on the IP Camera; Promptly, can enrich the occupation mode of user, make things convenient for the operation of user, expand the function of IP Camera flexibly IP Camera to IP Camera based on said frame, and, new fail safe path is provided.
Be well known that IP Camera carries embedded OS, have the function of computer data processing and Network Transmission, and these functions can be combined, become an independently network equipment.IP Camera generally includes: camera lens, imageing sensor, sound transducer, analog/digital (A/D) transducer, encoder, controller, the webserver, control interface etc.
Usually, the basic communication principle of IP Camera is: picture signal, after voice signal is imported through input equipment, respectively by imageing sensor, sound transducer is converted into the signal of telecommunication, by A/D converter analog electrical signal is converted to digital electric signal respectively again, carry out encoding compression through encoder by certain coding standard respectively again, then under the control of controller, be uploaded to local area network (LAN) or Internet (Internet) by the webserver by certain procotol, in addition, controller can also receive alarm signal and outwards send alarm signal, and sends control signal on request.Because composition and the operation principle thereof of IP Camera all belong to known technology, repeat no more herein.
With reference to Fig. 1, show the flow chart of steps of the communication means preferred embodiment one of a kind of IP Camera of the present invention and user terminal, its process step is as follows:
Step S101 sets up IP Camera and the user terminal physical connection based on USB;
In practice, IP Camera as USB master control end, is connected user terminal and to get final product as equipment end.Described user terminal can comprise: movable storage device, PC, intelligent terminal, hyper terminal and follow terminal of serial communication protocol etc., the present invention need not this to be limited.
Step S102, described IP Camera obtain the access attribute information that described user terminal sends;
Wherein, described access attribute information can comprise the facility information of infrared control information and/or described user terminal.For example, IP Camera can be used for monitoring described infrared control information at finger daemon of running background; Perhaps, utilize the hot plug mechanism of LINUX, survey the device attribute of current access IP Camera.
Step S103 resolves the connection type of described access attribute information;
In embodiments of the present invention, described connection type can comprise: local memory access connection, virtual serial port connect and are connected with virtual ethernet etc.
Wherein, IP Camera is as the master control end, and sets up USB as the user terminal of equipment end and is connected, thereby realize the local memory access connecting path of described IP Camera and user terminal; More preferably, be connected with the USB of user terminal based on this, can also expand two kinds of Virtual Path of IP Camera, i.e. virtual serial port connection is connected with virtual ethernet; In practice, can be by on IPCamera and user terminal, all loading the corresponding communication interface, promptly virtual serial port interface or Virtual Ethernet make up this Virtual Path.Pass through said connecting path, user terminal can make things convenient for, login safely, neatly the backstage of IP Camera, the local data of IP Camera is debugged and controlled, can also visit IP Camera with serial mode or with the network mode of TCP/IPv4 or HTTP, perhaps, visit the Web server of IP Camera based on this Virtual Path.
Step S104, can first driver of the connection type judgement prestrain of the described access attribute information of foundation support described access attribute information; If energy, then execution in step S105; If can not, execution in step S106 then;
Step S105 is supported the access attribute information of described user terminal by first driver;
Step S106 loads second driver of described connection type correspondence.
For making IP Camera support to come from the access attribute information of each connecting path, then need load the USB driver of this corresponding connection type corresponding to the user terminal of corresponding connection type.In practice, for making the operation facility and raising the efficiency, a common meeting pre-loaded USB driver commonly used (first driver), if this driver can be supported the access attribute information submitted to based on current connection type, then directly adopt this driver to support current access attribute information; If this driver can not be supported the access attribute information submitted to based on current connection type, then load the USB driver (second driver) corresponding with the connection type of described access attribute information.
For preventing the conflict of each driver, preferably, before loading described second driver, the embodiment of the invention can also comprise step:
Unload described first driver.
For example, IP Camera acquiescence has loaded the USB driver that local memory access connects, when the finger daemon of its running background listens to infrared control signal, it is resolved, connect if the connection type of this infrared control signal is local memory access, then the USB driver that directly connects with this this locality memory access is supported this infrared control signal; Connect if the connection type of this signal is a virtual network, then the local memory access that acquiescence loads before the unloading connects the USB driver, loads this virtual ethernet then and connects desired virtual ethernet USB driver.
Or as, when the linux kernel of IP Camera detects in the USB interface access device, utilize the hot plug mechanism notice client layer of Linux, the USB driver of the pre-loaded virtual network of client layer (virtual serial port USB driver or virtual ethernet USB driver), and start a background process and this access device and carry out network service, if current communication meets privately owned judgment mechanism, think that then this access device is a virtual network device; Otherwise, unload the current virtual network USB driver that has loaded, load the USB driver that local memory access connects then.
With reference to Fig. 2, show the flow chart of steps of the communication means preferred embodiment two of a kind of IP Camera of the present invention and user terminal, in the present embodiment, described IP Camera and described user terminal are based on the USB physical connection, and present embodiment specifically can may further comprise the steps:
Step S201, the USB driver that local memory access of described IP Camera prestrain connects is simultaneously at finger daemon of running background, to obtain infrared control information;
So-called finger daemon, be a kind of the disengaging in terminal and in the process of running background, breaking away from terminal is not show on any terminal and described process can not interrupted by the end message that any terminal produced yet for fear of described process information in the process of implementation.The effect of described finger daemon is to wait for that an incident takes place, and the back takes place incident transfers other process and go to finish corresponding work, and described then finger daemon incident such as go back again takes place.
Step S202 resolves the connection type of described infrared control signal, if described infrared control signal sent for connecting based on local memory access, and execution in step S203 then; If described infrared control signal is sent for the connection based on virtual ethernet, then execution in step S204; If described infrared control signal is sent for the connection based on virtual serial port, then execution in step S205;
Step S203 supports described infrared control signal with the USB driver that the local memory access of described IP Camera prestrain connects;
Step S204 unloads the USB driver that described local memory access connects, and loads the USB driver of virtual ethernet;
Step S205 unloads the USB driver that described local memory access connects, and loads the USB driver of virtual serial port.
Preferential embodiment shown in Figure 2, the communication process of having been carried out when clearly having illustrated calling-on signal at IP Camera to be infrared control signal, because present embodiment has made up local memory access connection, virtual serial port and three kinds of paths of virtual ethernet based on being connected of USB between IPCamera and the intelligent terminal, promptly all can send infrared control signal based on these three kinds of paths, in this case, the access attribute information attribute that present embodiment is submitted at different paths loads the corresponding driving program to support.Thereby satisfied demand to the diverse network application access of IP Camera, and can make things convenient for, safety, IP Camera is carried out operations such as backstage control, debugging, storage and management by user terminal neatly.
It should be noted that described infrared information is not necessarily to be sent by user terminal, also can be sent by third party device, as Infrared remote controller.
With reference to Fig. 3, show the flow chart of steps of the communication means preferred embodiment three of a kind of IP Camera of the present invention and user terminal, in the present embodiment, described IP Camera and described user terminal are based on the USB physical connection, and present embodiment specifically can may further comprise the steps:
Step S301, the linux kernel of IP Camera detects the subscriber terminal equipment that inserts in the USB interface, utilize the hot plug mechanism notice client layer of Linux, the USB driver of the pre-loaded virtual connection of client layer, USB driver as a virtual serial port, and start a background process and this access device carries out network service, to obtain the facility information of user terminal;
Whether step S302 meets the connection type that privately owned judgment mechanism is resolved described subscriber terminal apparatus information by judging current communication, if promptly meet described privately owned judgment mechanism then determine that this equipment is virtual unit, and execution in step S303; Otherwise, determine that this equipment is local memory access connection device, and execution in step S304;
Step S303 supports described virtual unit with the USB driver of described virtual connection;
Specifically can comprise following substep:
Substep A, if the subscriber terminal equipment of current access is the virtual ethernet connection device, and the driver of prestrain is the USB driver of a virtual ethernet, then directly supports described virtual ethernet connection device with the USB driver of described virtual ethernet;
Perhaps, substep B, if the subscriber terminal equipment of current access is the virtual serial port connection device, and the driver of prestrain is the USB driver of a virtual serial port, then directly supports described virtual serial port connection device with the USB driver of described virtual serial port.
Step S304 unloads the USB driver of described virtual connection, loads the USB driver that local memory access connects.
Preferential embodiment shown in Figure 3 has clearly illustrated the communication process of being carried out when access attribute information as IP Camera is the facility information of user terminal.Because different access devices has its corresponding connection type, as local memory device or virtual network device, in this case, present embodiment is at different connection types, and corresponding load driver program is to support access request.Thereby satisfied the demand of user terminal to the diverse network application access of IP Camera, and can make things convenient for, safety, IP Camera is carried out operations such as backstage control, debugging, storage and management by user terminal neatly.
With reference to Fig. 4, show the flow chart of steps of the communication means preferred embodiment four of a kind of IP Camera of the present invention and user terminal, in the present embodiment, described IP Camera and described user terminal are based on the USB physical connection, and present embodiment specifically can may further comprise the steps:
Step S401, the USB driver of a virtual ethernet of IP Camera prestrain;
Step S402, IP Camera start a finger daemon and obtain the access attribute information to IPCamera Web Server that user terminal is submitted to;
Step S403, described finger daemon is resolved the connection type of described access attribute information; If virtual ethernet connects, then execution in step S404; If virtual serial port connects, then execution in step S405;
Step S404 directly supports the described access request that sends that connects based on virtual ethernet with the USB driver of the virtual ethernet of described prestrain;
Step S405, the USB driver of the virtual ethernet that loads before the unloading, the USB driver of loading virtual serial port, execution in step S406;
Step S406 supports the described access request that sends that connects based on virtual serial port with the USB driver of described virtual serial port.
Preferential embodiment shown in Figure 4, the process that the network path (virtual serial port path and virtual ethernet path) of clearly having illustrated IP Camera and user terminal to make up by present embodiment communicates, replenish and expanded the remote access mode of existing IP Camera, enriched the occupation mode of user to IP Camera, made things convenient for the operation of user, expanded the function of IP Camera simultaneously neatly IP Camera.
For further guaranteeing the fail safe of communication, preferably, the various embodiments described above of the present invention can also comprise authentication step, promptly when supporting access attribute information, can carry out authentication to the access attribute information of described user terminal in advance, just give and carry out next step if meet authentication; Otherwise refuse the visit of described user terminal.
Be the convenience that guarantees to use, described user terminal is preferably intelligent terminal, as smart mobile phone, personal digital assistant (PDA, Personal Digital Assistant) etc., in concrete the application, IP Camera inserts intelligent terminal by USB, and the user can check the local picture that is stored on the IP Camera easily; In addition, intelligent terminal also can be convenient to user terminal real time access IP Camera and adjust some parameters, such as: adjust the brightness/contrast of video when running into Changes in weather, change warning strategy etc.
Use the present invention, after connecting IP Camera and intelligent terminal, following several situation arranged based on USB:
If this accessing that the user carries out data management to IP Camera, and the driver that acquiescence loads is the USB driver that local memory access connects, directly support user's the visit of USB driver that so should this locality memory access connects; But, if the driver that acquiescence loads is the USB driver of virtual serial port or the USB driver of virtual ethernet, IP Camera does not support this time local request so, in this case, then need to unload this acquiescence load driver program, and reload the USB driver that a local memory access connects.
Perhaps, if the user by virtual ethernet path visit IP Camera, and the driver that acquiescence loads is the USB driver of virtual ethernet, the USB driver of this virtual ethernet is directly supported user's visit so; But, if the driver that acquiescence loads is the USB driver of virtual serial port or the USB driver that local memory access connects, IP Camera does not support this visit request so, in this case, then need to unload this acquiescence load driver program, and reload the USB driver of a virtual ethernet.
Perhaps, if the user by virtual serial port path visit IP Camera, and the driver that acquiescence loads is the USB driver of virtual serial port, the USB driver of this virtual serial port is directly supported user's visit so; But, if the driver that acquiescence loads is the USB driver of virtual ethernet or the USB driver that local memory access connects, IP Camera does not support this visit request so, in this case, then need to unload this acquiescence load driver program, and reload the USB driver of a virtual serial port.
In the prior art, web visit IP Camera by routine ten minutes is unsafe, be subjected to other people easily and attack or distort, and the present invention adopts described virtual ethernet path visit IP Camera, such as the Web Server of visit IP Camera, be foolproof.In addition, the present invention adopts virtual ethernet path operation finger daemon on the Microsoft Loopback Adapter of realizing based on USB to realize configuration when network is unusual, and the inconvenience when having avoided using WIFI to visit IP Camera can't be opened WIFI as network when unusual.
Because the restriction of cost and location makes that though some IP Camera product is supported USB interface at present, but do not support the UART interface and can't carry out this accessing IP Camera, the deficiency of this respect causes can't checking some daily records (log) information or some process or program in the IP Camera system by general platform or web, and the present invention's employing is debugged IP Camera based on the virtual serial port path of USB or backstage control, as adjust the brightness/contrast of video, change warning strategies etc. have been realized safety, real time access IP Camera easily.
Need to prove, for aforesaid each method embodiment, for simple description, so it all is expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not subjected to the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in the specification all belongs to preferred embodiment, and related action and module might not be that the present invention is necessary.
With reference to Fig. 5, show the structured flowchart of the communicator embodiment one of a kind of IP Camera of the present invention and user terminal, describedIP Camera 51 and describeduser terminal 52 are based on the USB physical connection, and described device can comprise with lower module:
Access interface module 501 is used to obtain the access attribute information of described user terminal;
Connectiontype parsing module 502 is used to resolve the connection type of the access attribute information of being obtained by described access interface module;
Judge module 503 is used for the connection type according to described access attribute information, judges that can first driver of prestrain support described access attribute information;
Second drives load-onmodule 504, is used for loading second driver of described connection type correspondence when described first driver is not supported described access attribute information.
In practice, described access attribute information can comprise the facility information of described infrared control information and/or described user terminal; Described connection type can comprise that local memory access connection, virtual serial port connect or virtual ethernet connects.
In a preferred embodiment of the invention, when described connection type is local memory access when connecting, described first driver is the USB driver that local memory access connects;
Perhaps, described first driver is virtual serial port USB driver or virtual ethernet USB driver, and then described second driver is the USB driver that local memory access connects.
In another preferred embodiment of the present invention, when described connection type was the virtual serial port connection, described first driver was a virtual serial port USB driver;
Perhaps, described first driver is USB driver or the virtual ethernet USB driver that local memory access connects, and then described second driver is a virtual serial port USB driver.
In another preferred embodiment of the present invention, when described connection type was the virtual ethernet connection, described first driver was a virtual ethernet USB driver;
Perhaps, described first driver is USB driver or the virtual serial port USB driver that local memory access connects, and then described second driver is a virtual ethernet USB driver.
With reference to Fig. 6, show the structured flowchart of the communicator embodiment two of a kind of IP Camera of the present invention and user terminal, describedIP Camera 61 and describeduser terminal 62 are based on the USB physical connection, and described device can comprise with lower module:
Access interface module 601 is used to obtain the access attribute information of described user terminal;
Connectiontype parsing module 602 is used to resolve the connection type of the access attribute information of being obtained by described access interface module;
Authentication module 603 is used for the access attribute information of described user terminal is carried out authentication, if do not meet, then refuses the visit of described user terminal;
Judge module 604 is used for according to described connection type, judges that can first driver of prestrain support described access attribute information;
Unloadmodule 605 is used for unloading described first driver before loading described second driver;
Second drives load-onmodule 606, is used for loading second driver of described connection type correspondence when described first driver is not supported described access attribute information.
Preferred embodiment shown in Figure 6 is compared with preferred embodiment shown in Figure 5, authentication module and Unload module have been increased, wherein, authentication module further guarantees the fail safe of communicating by letter, when supporting access attribute information, in advance the access attribute information of described user terminal is carried out authentication, just give and carry out next step if meet authentication; Otherwise refuse the visit of described user terminal.Unload module has then been avoided the conflict of each USB driver.
With reference to Fig. 7, show the structured flowchart of the communication system embodiment of a kind of IP Camera of the present invention and user terminal.
The present invention also provides a kind ofIP Camera 71 communication system withuser terminal 72, and describedIPCamera 71 and describeduser terminal 72 be based on the USB physical connection, wherein,
DescribedIP Camera 71 comprises:
Access interface module 701 is used to obtain the access attribute information of described user terminal;
Connectiontype parsing module 702 is used to resolve the connection type of described access attribute information;
Judge module 703 is used for according to described connection type, judges that can first driver of prestrain support described access attribute information;
Second drives load-onmodule 704, is used for loading second driver of described connection type correspondence when described first driver is not supported described access attribute information.
Describeduser terminal 72 comprises:
Communication module 705 is used to connect IP Camera and submits access attribute information to, and receives the feedback information that IPCamera returns.
Thecommunication module 705 of describeduser terminal 72 connectsIP Camera 71, and submission access attribute information, theaccess interface module 701 of describedIP Camera 71 is obtained the access attribute information of describeduser terminal 72, resolve the connection type of described access attribute information then by connectiontype parsing module 702,judge module 703 is according to described connection type, can first driver of judgement prestrain support described access attribute information, when described first driver was not supported described access attribute information, second drove second driver that load-onmodule 704 loads described connection type correspondence.
With reference to Fig. 8, show the structured flowchart of a kind of IP Camera of the present invention.
The present invention also provides a kind of IP Camera 81, and described IP Camera 81 communicates with the physical connection of user terminal based on USB, and described IP Camera 81 comprises:
Access interface module 801 is used to obtain the access attribute information of described user terminal;
Connection type parsing module 802 is used to resolve the connection type of described access attribute information;
Judge module 803 is used for the connection type according to described access attribute information, judges that can first driver of prestrain support described access attribute information;
Second drives load-on module 804, is used for loading second driver of described connection type correspondence when described first driver is not supported described access attribute information.
Because preamble is described in detail the concrete IP Camera and the device of user terminal communication, so repeat no more herein.
For device embodiment, because of its substantially corresponding to method embodiment, so describe fairly simple, relevant part gets final product referring to the part explanation of method embodiment.In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, do not have the part that describes in detail among certain embodiment, can get final product referring to the associated description of other embodiment.
More than communication means, the Apparatus and system of a kind of web camera provided by the present invention and user terminal is described in detail, used specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, part in specific embodiments and applications all can change, as long as the equivalence of doing according to claims of the present invention changes and modifies, all still belong in the scope that the present invention contains.In sum, this description should not be construed as limitation of the present invention.

Claims (18)

CN2008102224196A2008-09-172008-09-17Communication method and system for network camera and user terminalExpired - Fee RelatedCN101369979B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN2008102224196ACN101369979B (en)2008-09-172008-09-17Communication method and system for network camera and user terminal

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN2008102224196ACN101369979B (en)2008-09-172008-09-17Communication method and system for network camera and user terminal

Publications (2)

Publication NumberPublication Date
CN101369979Atrue CN101369979A (en)2009-02-18
CN101369979B CN101369979B (en)2012-01-11

Family

ID=40413608

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN2008102224196AExpired - Fee RelatedCN101369979B (en)2008-09-172008-09-17Communication method and system for network camera and user terminal

Country Status (1)

CountryLink
CN (1)CN101369979B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101931644A (en)*2010-07-222010-12-29成都九洲迪飞科技有限责任公司Internet protocol camera system
CN102387353A (en)*2011-11-222012-03-21济南蓝动激光技术有限公司WIFI-based mobile video camera
WO2012109886A1 (en)*2011-02-182012-08-23中兴通讯股份有限公司Method, system and device for accessing wireless network through usb virtual network card
CN101505415B (en)*2009-03-182014-02-12北京中星微电子有限公司Distributed intelligent monitoring system and method
CN103678214A (en)*2013-11-292014-03-26青岛海信电器股份有限公司Method for redirecting system console and display equipment
CN104699650A (en)*2015-03-182015-06-10贵州遵义鑫阳电子科技有限公司Method of embedded system for providing IP access through USB interface
CN105491020A (en)*2015-11-242016-04-13上海市共进通信技术有限公司Method for realizing restriction of program in operating system of intelligent device on access of IP (Internet Protocol) address
CN110324610A (en)*2018-03-302019-10-11浙江宇视科技有限公司The maintaining method and device of IPC equipment
CN113254109A (en)*2021-07-152021-08-13深圳传音控股股份有限公司Application or service processing method, device and readable storage medium
WO2021163905A1 (en)*2020-02-182021-08-26华为技术有限公司Information transmission method and related device
US12425727B2 (en)2022-06-102025-09-23Axis AbMethod and a device for providing data from a network camera

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
KR100472459B1 (en)*2002-07-032005-03-10삼성전자주식회사Method and apparatus for installing driver for a function
KR100584558B1 (en)*2003-08-162006-05-30삼성전자주식회사 How to install drivers automatically, and computer-readable recording media that store devices and computer programs.
KR100457823B1 (en)*2004-05-142004-11-18넷코덱(주)Virtual IP Supporting Method for Apparatus Having Network Server Program
CN200969628Y (en)*2006-09-072007-10-31深圳市一电科技有限公司Wireless network video camera
CN100556133C (en)*2007-07-122009-10-28浙江大学Support the wireless network camera of bluetooth and wireless ethernet

Cited By (17)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101505415B (en)*2009-03-182014-02-12北京中星微电子有限公司Distributed intelligent monitoring system and method
CN101931644A (en)*2010-07-222010-12-29成都九洲迪飞科技有限责任公司Internet protocol camera system
CN101931644B (en)*2010-07-222013-01-23成都九洲迪飞科技有限责任公司Network camera system
WO2012109886A1 (en)*2011-02-182012-08-23中兴通讯股份有限公司Method, system and device for accessing wireless network through usb virtual network card
CN102387353A (en)*2011-11-222012-03-21济南蓝动激光技术有限公司WIFI-based mobile video camera
CN103678214A (en)*2013-11-292014-03-26青岛海信电器股份有限公司Method for redirecting system console and display equipment
CN104699650A (en)*2015-03-182015-06-10贵州遵义鑫阳电子科技有限公司Method of embedded system for providing IP access through USB interface
CN105491020B (en)*2015-11-242019-01-29上海市共进通信技术有限公司The method for realizing routine access IP address limitation in the operating system of smart machine
CN105491020A (en)*2015-11-242016-04-13上海市共进通信技术有限公司Method for realizing restriction of program in operating system of intelligent device on access of IP (Internet Protocol) address
CN110324610A (en)*2018-03-302019-10-11浙江宇视科技有限公司The maintaining method and device of IPC equipment
CN110324610B (en)*2018-03-302020-10-20浙江宇视科技有限公司 Maintenance method and device for IPC equipment
WO2021163905A1 (en)*2020-02-182021-08-26华为技术有限公司Information transmission method and related device
CN114731339A (en)*2020-02-182022-07-08华为技术有限公司 Information transmission method and related equipment
CN114731339B (en)*2020-02-182024-01-30华为技术有限公司Information transmission method and related equipment
US12231808B2 (en)2020-02-182025-02-18Huawei Technologies Co., Ltd.Information transmission method and related device
CN113254109A (en)*2021-07-152021-08-13深圳传音控股股份有限公司Application or service processing method, device and readable storage medium
US12425727B2 (en)2022-06-102025-09-23Axis AbMethod and a device for providing data from a network camera

Also Published As

Publication numberPublication date
CN101369979B (en)2012-01-11

Similar Documents

PublicationPublication DateTitle
CN101369979B (en)Communication method and system for network camera and user terminal
CN103632415B (en)Door control system and control device, doorway machine equipment and communication platform
CN105471686A (en)Terminal control method, terminal control apparatus and system
CN105100708B (en)Request processing method and device
CN110458994B (en)Property management self-issuing card system and method
CN105790957A (en)eSIM card data sharing method and related equipment and system thereof
CN106713426A (en)Property information management method and system of multiple districts
CN104168309A (en)Data backup and operation method based on cloud service
CN103841119B (en)The method and system for realizing equipment access authentication are closed based on Home IOT clouds
CN105704178A (en)Task platform access method and task platform access device
CN110555534A (en)property management reporting system
CN110572458A (en)property management owner end system
KR101437430B1 (en)Method for providing IoT POS service and computer readable recording medium applying the same
CN103329512B (en)Remote operating system, trunking, communication equipment and remote operation method
CN102970601A (en)Television based automatic drive loading processing method and television
US10645229B1 (en)Intercom system and intercom managing method
US9510034B2 (en)Plug and play method and system of viewing live and recorded contents
CN110557614A (en)Property management intercom system
WO2025152566A1 (en)Terminal provisioning method, apparatus and device, and storage medium
CN117319450B (en)Ultrasonic metering instrument data interaction method, device and equipment based on Internet of things
CN102761496B (en)A kind of residual district information publication method of Web Community, Apparatus and system
CN103763466A (en)Method for remotely accessing digital video record (DVR) by means of mobile equipment
CN101170733B (en)An authentication and charging control method, device and system for WAP service
CN107426232A (en)A kind of remote bind and the method for controlling terminal device
EP2664102B1 (en)Method and apparatus for disclosing personal network information in converged personal network service environment

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
C14Grant of patent or utility model
GR01Patent grant
C41Transfer of patent application or patent right or utility model
TR01Transfer of patent right

Effective date of registration:20160516

Address after:519031 Guangdong city of Zhuhai province Hengqin Baohua Road No. 6, room 105 -478

Patentee after:Guangdong Zhongxing Electronics Co.,Ltd.

Address before:100083 Haidian District, Xueyuan Road, No. 35, the world building, the second floor of the building on the ground floor, No. 16

Patentee before:VIMICRO Corp.

CF01Termination of patent right due to non-payment of annual fee

Granted publication date:20120111

CF01Termination of patent right due to non-payment of annual fee

[8]ページ先頭

©2009-2025 Movatter.jp