CN106210132B - A kind of web camera configuration method, apparatus and system - Google Patents
A kind of web camera configuration method, apparatus and system Download PDFInfo
- Publication number
- CN106210132B CN106210132B CN201610703609.4A CN201610703609A CN106210132B CN 106210132 B CN106210132 B CN 106210132B CN 201610703609 A CN201610703609 A CN 201610703609A CN 106210132 B CN106210132 B CN 106210132B
- Authority
- CN
- China
- Prior art keywords
- configuration
- server
- web camera
- subregion
- user terminal
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/2866—Architectures; Arrangements
- H04L67/30—Profiles
- H04L67/303—Terminal profiles
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/18—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Multimedia (AREA)
- Information Transfer Between Computers (AREA)
- Telephonic Communication Services (AREA)
Abstract
The embodiment of the present invention provides a kind of web camera configuration method, apparatus and system, which comprises the user terminal sends resource request to the server, and the resource request includes web camera identifier;The user terminal receives the response message that the server returns, and includes the corresponding first resource file of the web camera identifier obtained from the teleaction service subregion in the response message;According to user configuration information, the first resource file and the current state of the web camera, corresponding information is sent to the server, so that the server completes the configuration to the web camera.The method makes the web camera be no longer limited by the limitation of itself memory space, and by storing configuration file and resource file for configuring the web camera in server, user terminal is enabled to realize the off-line arrangement to web camera by server.
Description
Technical field
The present invention relates to computer application fields, in particular to a kind of web camera configuration method, device and are
System.
Background technique
Web camera generallys use flash as storage medium, due to being limited by cost and structure, web camera
Storage space it is smaller, less resource file and configuration file can only be saved, and for some business, needed more
Space save resource file or library function, therefore web camera can not implement more business.
Summary of the invention
In view of this, the embodiment of the present invention is designed to provide a kind of web camera configuration method, apparatus and system,
To solve the above problems.
In a first aspect, the embodiment of the present invention provides a kind of web camera configuration method, it is applied to web camera and configures
System, the system comprises web camera, server and user terminal, the storage region of the server includes Remote configuration
Subregion and teleaction service subregion store the configuration file for Configuration network video camera in the Remote configuration subregion, described
It is stored in teleaction service subregion for realizing the resource file of web camera business, which comprises the user is whole
It holds to the server and sends resource request, the resource request includes web camera identifier;The user terminal receives
The response message that the server returns includes the network obtained from the teleaction service subregion in the response message
The corresponding first resource file of video camera identifier;According to user configuration information, the first resource file and the network
The current state of video camera sends corresponding information to the server, so that the server is completed to the network shooting
The configuration of machine.
Second aspect, the embodiment of the present invention provide a kind of web camera configuration method, are applied to web camera and configure
System, the system comprises web camera, server and user terminal, the storage region of the server includes Remote configuration
Subregion and teleaction service subregion store the configuration file for Configuration network video camera in the Remote configuration subregion, described
It is stored in teleaction service subregion for realizing the resource file of web camera business, which comprises the server
The resource request of the user terminal is received, the resource request includes web camera identifier;The server is to described
User terminal returning response information includes the network shooting obtained from the teleaction service subregion in the response message
The corresponding first resource file of machine identifier;The server receives the information that the user terminal is sent, and completes to the net
The configuration of network video camera.
The third aspect, the embodiment of the present invention provide a kind of web camera configuration method, are applied to web camera and configure
System, the system comprises web camera, server and user terminal, the storage region of the server includes Remote configuration
Subregion and teleaction service subregion store the configuration file for Configuration network video camera in the Remote configuration subregion, described
It is stored in teleaction service subregion for realizing the resource file of web camera business, which comprises the user is whole
It holds to the server and sends resource request, the resource request includes web camera identifier;The server is to described
User terminal returning response information includes the network shooting obtained from the teleaction service subregion in the response message
The corresponding first resource file of machine identifier;The user terminal according to user configuration information, the first resource file and
The current state of the web camera sends corresponding information to the server;The server is whole according to the user
The information sent is held, the configuration to the web camera is completed.
Fourth aspect, the embodiment of the present invention provide a kind of web camera configuration system, and the system comprises network shootings
Machine, server and user terminal, the storage region of the server include Remote configuration subregion and teleaction service subregion, described remote
The configuration file for Configuration network video camera is stored in journey configuration subregion, is stored in the teleaction service subregion for real
The resource file of existing web camera business, the user terminal, for sending resource request, the resource to the server
Request includes web camera identifier;The response message that the server returns is received, includes from described in the response message
The corresponding first resource file of the web camera identifier obtained in teleaction service subregion;According to user configuration information,
The first resource file and the current state of the web camera, send corresponding information to the server;It is described
Server, for receiving the resource request of the user terminal, the resource request includes web camera identifier;The clothes
Device be engaged in the user terminal returning response information, includes the web camera identifier corresponding the in the response message
One resource file;The server receives the information that the user terminal is sent, and sends a message to the web camera, completes
Configuration to the web camera;The web camera, the information sent for receiving the server, completes configuration
Operation.
5th aspect, the embodiment of the present invention provide a kind of web camera configuration device, are applied to internet protocol camera system,
The system comprises web camera, server and user terminal, the storage region of the server includes Remote configuration subregion
With teleaction service subregion, the configuration file for Configuration network video camera is stored in the Remote configuration subregion, it is described long-range
It is stored in business subregion for realizing the resource file of web camera business, described device runs on user terminal, described
Device includes: the first sending module, sends resource request, the resource request to the server for the user terminal
Include web camera identifier;First receiving module receives the response message that the server returns for the user terminal,
It include that the web camera identifier obtained from the teleaction service subregion of the server corresponds in the response message
First resource file;Processing module, for according to user configuration information, the first resource file and the network shooting
The current state of machine sends corresponding information to the server, so that the server is completed to the web camera
Configuration.
6th aspect, the embodiment of the present invention provide a kind of web camera configuration device, are applied to internet protocol camera system,
The system comprises web camera, server and user terminal, the storage region of the server includes Remote configuration subregion
With teleaction service subregion, the configuration file for Configuration network video camera is stored in the Remote configuration subregion, it is described long-range
It is stored in business subregion for realizing the resource file of web camera business, described device runs on server, the dress
Setting includes: the second receiving module, and the resource request of the user terminal is received for the server, and the resource request includes
Web camera identifier;Second sending module is used for the server to the user terminal returning response information, the sound
Answering includes the web camera identifier corresponding first obtained from the teleaction service subregion of the server in information
Resource file;Configuration module receives the information that the user terminal is sent for the server, completes to the network shooting
The configuration of machine.
Compared with prior art, a kind of web camera configuration method provided in an embodiment of the present invention, apparatus and system are led to
It crosses and Remote configuration subregion and teleaction service subregion is set in the storage region of server, and deposited in the Remote configuration subregion
The configuration file for Configuration network video camera has been stored up, has been stored in the teleaction service subregion for realizing web camera
The resource file of business enables the web camera to store using the memory space of the server for realizing expansion
The configuration file and resource file of function are opened up, so that the web camera is no longer limited by the limitation of itself memory space,
Can be implemented more business functions, and by stored in server the configuration file for configuring the web camera with
And resource file, enable user terminal to realize the off-line arrangement to web camera by server.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate
Appended attached drawing, is described in detail below.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached
Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair
The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this
A little attached drawings obtain other relevant attached drawings.
Fig. 1 is the interactive schematic diagram of a kind of server, user terminal and web camera provided in an embodiment of the present invention.
Fig. 2 is a kind of server storage subregion and web camera memory space provided in an embodiment of the present invention point
The schematic illustration in area.
Fig. 3 is a kind of flow chart for web camera configuration method that first embodiment of the invention provides.
Fig. 4 is a kind of step S330 flow chart for web camera configuration method that first embodiment of the invention provides.
Fig. 5 is a kind of flow chart for web camera configuration method that second embodiment of the invention provides.
Fig. 6 is a kind of step S430 flow chart for web camera configuration method that second embodiment of the invention provides.
Fig. 7 is a kind of flow chart for web camera configuration method that third embodiment of the invention provides.
Fig. 8 is a kind of step S800 flow chart for web camera configuration method that third embodiment of the invention provides.
Fig. 9 is a kind of step S900 flow chart for web camera configuration method that third embodiment of the invention provides.
Figure 10 is a kind of the functional block diagram for web camera configuration device that fourth embodiment of the invention provides.
Figure 11 is a kind of the functional block diagram for web camera configuration device that fifth embodiment of the invention provides.
Specific embodiment
Below in conjunction with attached drawing in the embodiment of the present invention, technical solution in the embodiment of the present invention carries out clear, complete
Ground description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Usually exist
The component of the embodiment of the present invention described and illustrated in attached drawing can be arranged and be designed with a variety of different configurations herein.Cause
This, is not intended to limit claimed invention to the detailed description of the embodiment of the present invention provided in the accompanying drawings below
Range, but it is merely representative of selected embodiment of the invention.Based on the embodiment of the present invention, those skilled in the art are not doing
Every other embodiment obtained under the premise of creative work out, shall fall within the protection scope of the present invention.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi
It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing.Meanwhile of the invention
In description, term " first ", " second " etc. be only used for distinguish description, be not understood to indicate or imply relative importance or when
Between successively.
As shown in Figure 1, being a kind of server 200, user terminal 100 and web camera provided in an embodiment of the present invention
The schematic diagram of 300 interactions.The server 200 is communicatively coupled by network and one or more web cameras 300, with
Carry out data communication or interaction.The user terminal 100 carries out communication link by network and one or more web cameras 300
It connects, to carry out data communication or interaction.The user terminal 100 is communicatively coupled by network with server 200, to carry out
Data communication or interaction.The server 200 can be video monitoring server VM, network hard disk video recorder NVR etc..The visitor
Family end 100 can be PC (personalcomputer, PC), tablet computer, smart phone, intelligent wearable device etc..
It is web camera IPC that the web camera 300, which can be, is taken the photograph by what network code module and analog video camera were composed
Camera.
Wherein, in the embodiment of the present invention, WEB service end, the user terminal 100 are mounted in the server 200
In be mounted with WEB client side, such as browser, user can access server 200 by the page of browser.The network is taken the photograph
It is mounted with that SDK server-side, corresponding SDK client are stored in the teleaction service subregion of server 200 in camera 300
In resource file, in addition, being mounted with SDK agency service end in server 200, SDK client can pass through SDK agency service end
It is communicated with SDK server-side.
In the embodiment of the present invention, the storage region of the web camera 300 includes configuration subregion and business subregion, institute
The storage region for stating server 200 includes Remote configuration subregion and teleaction service subregion.Wherein, the web camera 300 is transported
It include both of which when row: basic model and mode of extension.Being stored in the configuration file of the configuration subregion makes the net
Network video camera enters the basic configuration content of basic model and for accessing the Remote configuration subregion and teleaction service subregion
Path, the business partitioned storage has the resource text for making the web camera complete the basic service function under basic model
Part.After web camera 300 is powered, after web camera kernel and web camera file system loaded, pass through
The configuration file of the configuration subregion and the first resource file of the business subregion are loaded, into basic mould
Formula completes the business function under basic model.
Further, the web camera 300 is by accessing the path for including in the configuration file, if visited
It asks success, is stored in the available configuration file stored into the Remote configuration subregion and the teleaction service subregion
Resource file enters mode of extension at this time, realizes the function of activating business under mode of extension.Wherein, the Remote configuration subregion
The content of the configuration file of middle storage is for the content for configuring the configuration file stored in subregion and for realizing extension function
Can configuration content, the content of the resource file stored in the teleaction service subregion includes the money stored in the business subregion
The content of the content of source file and the resource file for realizing extension function.
Further, referring to Fig. 2, since server 200 is communicated with multiple web cameras 300 simultaneously,
The server 200 is respectively that each web camera 300 is assigned with corresponding Remote configuration subregion and teleaction service point
Area, each web camera 300 can only access one's own Remote configuration subregion and teleaction service subregion by NFS.
Fig. 3 shows a kind of flow chart of web camera configuration method of first embodiment of the invention offer, please refers to
Fig. 3, the present embodiment describe the process flow of user terminal, which comprises
Step S310, the user terminal send resource request to the server, and the resource request includes that network is taken the photograph
Camera identifier.
Referring to Fig. 2, due to need to manage simultaneously in server the corresponding Remote configuration subregion of multiple web cameras with
And teleaction service subregion.Therefore when user terminal needs to go to configure some web camera by server, the user is whole
End can initiate resource request to the WEB service end of the server by WEB client side, go to obtain the web camera,
The corresponding first resource file of identifier.
Step S320, the user terminal receive the response message that the server returns, include in the response message
The corresponding first resource file of the web camera identifier obtained from the teleaction service subregion.
Wherein, the WEB resource text that the first resource file can be for realizing the web camera business function
Part, such as webpage, picture, JS script file, control and SDK client.
The resource request is received when the WEB service of the server terminates, inquires the web camera identifier pair
The teleaction service subregion answered, and the resource file of the web camera is got from the teleaction service subregion, it will be described
First resource file is sent to user terminal, WEB client side by WEB service end.
Step S330, according to user configuration information, the first resource file and the current shape of the web camera
State sends corresponding information to the server, so that the server completes the configuration to the web camera.
The user configuration information refers to when user needs to configure some web camera, passes through the use
The configuration information of family terminal input.
There are many embodiment of step S330, and one of which is described below, and however, it is not limited to this.
Referring to Fig. 4, as an implementation, step S330 may include:
Step S331 judges whether the web camera current state is presence.
If so, executing step 332, otherwise, step S335 is executed.
Step S332, judges whether the address of the web camera can directly access.
If so, step S333 is executed, it is no to then follow the steps S334.
Step S333, sends configuration information to web camera, and the configuration information includes the user configuration information.
When the address of the web camera can directly access, then user terminal passes through first money got
SDK client in source file is communicated with the SDK server-side in web camera described in preparatory installation, by described
The configuration information is sent SDK server-side by SDK client, so that the SDK server-side of the web camera is according to
Configuration information calls corresponding interface function, realizes the configuration operation of web camera.
Step S334, sends configuration information to server, so that the configuration information is sent institute by the server
State web camera.
When the address of the web camera not directly accesses, such as the address of the web camera is Intranet
When, then user terminal passes through the SDK client in the first resource file got, with the preassembled server
In SDK agency service end communicated, SDK agency service end is sent for the configuration information by the SDK client,
The server sends configuration information to the SDK server-side of the web camera, the network by SDK agency service end
The SDK server-side of video camera calls corresponding interface function according to the configuration information, realizes the configuration behaviour of web camera
Make.
In this way, it can solve when user terminal can not directly access network video camera, and lead to not configure
The problem of web camera.
Step S335, judges whether the user terminal is stored with the configuration file of the web camera.
If do not stored, step S336 is executed, otherwise, executes step S337.
Step S336 then obtains and stores the configuration of the web camera from the Remote configuration subregion of the server
File.
Step S337 then detects the validity of user configuration information, and according to the user configuration information, updates the use
The stored configuration file of family terminal.
Due to user by user terminal when being configured to video camera, it is possible to the user configuration information of input is more than
The configurable range of the web camera, it is therefore desirable to which the validity of user configuration information is detected.
Step S338 generates configuration more new information according to the user configuration information, and is sent to the server, with
So that the server is received and parsed through the configuration more new information, more new content is obtained, by the configuration of the Remote configuration subregion
Corresponding content replaces with the more new content in file.
According to user configuration information, what generation matched with the configuration file format stored in the Remote configuration subregion matches
More new information is set, and is sent to server, server parses the configuration more new information, obtains more new content, will be described long-range
It configures corresponding content in the configuration file of subregion and replaces with the more new content, when the web camera is connected to server
When, the configuration file is sent the web camera by server.In this way, so that user terminal may be implemented
When web camera is offline, operation is configured to it.
Web camera configuration method provided in an embodiment of the present invention, it is long-range by being arranged in the storage region of server
Subregion and teleaction service subregion are configured, and stores the configuration text for Configuration network video camera in the Remote configuration subregion
Part stores in the teleaction service subregion for realizing the resource file of web camera business, so that the network is taken the photograph
The configuration file and resource file that camera can be stored using the memory space of the server for realizing extension function,
So that the web camera is no longer limited by the limitation of itself memory space, and by storing in server for configuring
The configuration file and resource file for stating web camera enable user terminal to realize by server to web camera
Off-line arrangement, further, the allocation problem for also solving user terminal when cannot directly access network camera address.
Fig. 5 shows a kind of flow chart of web camera configuration method of second embodiment of the invention offer, please refers to
Fig. 5, the present embodiment describe the process flow of server, which comprises
Step S410, the server receive the resource request of the user terminal, and the resource request includes that network is taken the photograph
Camera identifier.
Step S420, the server include from institute in the response message to the user terminal returning response information
State the corresponding first resource file of the web camera identifier obtained in teleaction service subregion.
It is understood that the step S310 to step S320 in the step S410 to step S420 and a upper embodiment
Embodiment it is corresponding, therefore, details are not described herein again.
Step S430, the server receive the information that the user terminal is sent, and complete to the web camera
Configuration.
As an implementation, referring to Fig. 6, step S430 may include:
Step S431 sends the configuration information to described when the information that the user terminal is sent is configuration information
Web camera.
Step S432 parses the configuration more new information when the information that the user terminal is sent is configuration more new information,
More new content is obtained, corresponding content in the configuration file of the Remote configuration subregion is replaced with into the more new content, so that
When the web camera is connected to server, the web camera is sent by the configuration file.
It is understood that the step S334 to step S338 in the step S431 to step S432 and a upper embodiment
Embodiment it is corresponding, therefore, details are not described herein again.
Web camera configuration method provided in an embodiment of the present invention, it is long-range by being arranged in the storage region of server
Subregion and teleaction service subregion are configured, and stores the configuration text for Configuration network video camera in the Remote configuration subregion
Part stores in the teleaction service subregion for realizing the resource file of web camera business, so that the network is taken the photograph
The configuration file and resource file that camera can be stored using the memory space of the server for realizing extension function,
So that the web camera is no longer limited by the limitation of itself memory space, and by storing in server for configuring
The configuration file and resource file for stating web camera enable user terminal to realize by server to web camera
Off-line arrangement, further, the allocation problem for also solving user terminal when cannot directly access network camera address.
Fig. 7 shows a kind of flow chart of web camera configuration method of third embodiment of the invention offer, please refers to
Fig. 7, the process that the present embodiment describes server, user terminal is interacted with web camera, which comprises
Step S500, the user terminal send resource request to the server, and the resource request includes that network is taken the photograph
Camera identifier.
Step S600, the server include from institute in the response message to the user terminal returning response information
State the corresponding first resource file of the web camera identifier obtained in teleaction service subregion.
Step S700, the user terminal are taken the photograph according to user configuration information, the first resource file and the network
The current state of camera sends corresponding information to the server.
Step S800, the information that the server is sent according to the user terminal are completed to the web camera
Configuration.
Referring to Fig. 8, as an implementation, step S800 may include:
Step S810 sends the configuration information to described when the information that the user terminal is sent is configuration information
Web camera.
Step S820 parses the configuration more new information when the information that the user terminal is sent is configuration more new information,
More new content is obtained, corresponding content in the configuration file of the Remote configuration subregion is replaced with into the more new content, so that
When the web camera is connected to server, the web camera is sent by the configuration file.
Further, corresponding content in the configuration file of the Remote configuration subregion is replaced with into the update described
After content, the method also includes step S900.
Referring to Fig. 9, as an implementation, step S900 may include:
The corresponding modification time of the more new content is updated by step S910, the server.
Preferably, it is contemplated that when user configures web camera by user terminal, usually according to business need
Ask, a certain group of configuration be updated, therefore, can by the Remote configuration subregion of server configuration file and network take the photograph
Configuration file in the configuration subregion of camera is grouped all in accordance with business, when the configuration content changing of some grouping, record
It is grouped the time updated, without to each configuration content record modification time in grouping.
Step S920, the web camera is according to the configuration file and the Remote configuration point in the configuration subregion
The modification time of configuration file in area generates new configuration file, and updates the modification time of the new configuration file, will
The new configuration file is stored in configuration subregion.
After being updated there may be the configuration file in web camera configuration subregion, it is not synchronized to clothes at once
It is engaged in the configuration file in the Remote configuration subregion of device, it is assumed that point in configuration file in the subregion of web camera configuration at this time
Group 1 and the modification time of grouping 2 have been updated, and web camera is disconnected with user terminal because of Network Abnormal at this time,
When i.e. web camera is in off-line state, user terminal has updated the text of the configuration in the Remote configuration subregion of the server
Part, such as have updated grouping 3 and grouping 4, and the corresponding modification time for having updated grouping 3 and grouping 4, what is generated at this time new matches
Setting file includes that grouping 1, grouping 2, grouping 3, grouping 4 and other groupings not updated, the corresponding modification time of each grouping are
The time of final updating.
Step S930, the web camera complete configuration operation according to the new configuration file.
The new configuration file is sent the server by step S940, the web camera.
Configuration file in the Remote configuration subregion is updated to the new configuration text by step S950, the server
Part.
User terminal updates the configuration file in Remote configuration subregion with new configuration file, so that user terminal and service
Configuration file in device is able to maintain synchronization.
Further, since web camera uses FLASH as storage medium, FLASH is limited to erasing times, causes
The business that some needs frequently access memory space can not be implemented.For example, web camera usually saves log in memory,
It is saved in FLASH again when equipment is restarted.If unit exception powers off, log can lose.In addition, usually web camera needs
The status information that save holder and camera lens in real time, when device powers down is restarted, before platform-lens can be restored to power-off
State.Due to being limited to erasing times, web camera is only saved at interval of a longer time (usually a few minutes)
Platform-lens state, the platform-lens state that can only be restored to after equipment is restarted, when worst before a few minutes.
In this present embodiment, since new configuration file can be stored in the Remote configuration point of server by web camera
Qu Zhong, and the Remote configuration subregion of server generallys use mechanical hard disk as storage medium, relative to inciting somebody to action for web camera
FLASH is as storage medium, and mechanical hard disk has unlimited erasable number, therefore can choose shorter time interval, by day
Will or the state parameter of camera pan-tilt or camera lens etc. are saved in Remote configuration subregion, be can be realized log and are saved, is disconnected
The rapid configurations such as electricity memory save function.
Web camera configuration method provided in an embodiment of the present invention, it is long-range by being arranged in the storage region of server
Configure subregion and teleaction service, and stored in the Remote configuration subregion configuration file stored in the configuration subregion and
Expanded configuration file, and storage, the resource file stored in the business subregion and expansion in the teleaction service subregion
Resource file is opened up, the web camera is stored using the memory space of the server for realizing extension function
The configuration file and resource file of energy, so that the web camera is no longer limited by the limitation of itself memory space, and
By storing configuration file and resource file for configuring the web camera in server, enable user terminal
Realize that further, net cannot directly be accessed by also solving user terminal to the off-line arrangement of web camera by server
Allocation problem when network camera address.And it can be realized the rapid configurations such as log preservation, power-fail memory function and save function.
Referring to Fig. 10, being a kind of function mould for web camera configuration device 110 that fourth embodiment of the invention provides
Block schematic diagram.The web camera configuration device 110 is applied to internet protocol camera system, and the system comprises network shootings
Machine, server and user terminal, the storage region of the server include Remote configuration subregion and teleaction service subregion, described remote
The configuration file for Configuration network video camera is stored in journey configuration subregion, is stored in the teleaction service subregion for real
The resource file of existing web camera business, described device 110 can run on the user terminal 100.The network shooting
Machine configuration device 110 includes the first sending module 111, the first receiving module 112, processing module 113.
First sending module 111 sends resource request, the resource to the server for the user terminal
Request includes web camera identifier.
First receiving module 112 receives the response message that the server returns for the user terminal, described
It include the web camera identifier corresponding obtained from the teleaction service subregion of the server in response message
One resource file.
The processing module 113, for according to user configuration information, the first resource file and the network shooting
The current state of machine sends corresponding information to the server, so that the server is completed to the web camera
Configuration.
Above each module can be by software code realization, at this point, above-mentioned each module can be stored in intermediate user terminal
In 100 memory.Above each module can equally be realized by hardware such as IC chip.
Figure 11 is please referred to, is a kind of function mould for web camera configuration device 210 that fifth embodiment of the invention provides
Block schematic diagram.The web camera configuration device 210 is applied to internet protocol camera system, and the system comprises network shootings
Machine, server and user terminal, the storage region of the server include Remote configuration subregion and teleaction service subregion, described remote
The configuration file for Configuration network video camera is stored in journey configuration subregion, is stored in the teleaction service subregion for real
The resource file of existing web camera business, described device 210 can run on the server 200.The web camera
Configuration device 210 includes the second receiving module 211, the second sending module 212, configuration module 213.
Second receiving module 211 receives the resource request of the user terminal, the resource for the server
Request includes web camera identifier.
Second sending module 212 is used for the server to the user terminal returning response information, the response
It include corresponding first money of the web camera identifier obtained from the teleaction service subregion of the server in information
Source file.
The configuration module 213 receives the information that the user terminal is sent for the server, completes to the net
The configuration of network video camera.
Referring to Fig. 1, being a kind of web camera configuration system provided in an embodiment of the present invention, the system comprises networks
Video camera 300, server 200 and user terminal 100, the storage region of the web camera 300 include configuration subregion and industry
Business subregion, the storage region of the server 200 includes Remote configuration subregion and teleaction service subregion, the Remote configuration subregion
The configuration file of middle storage includes the configuration file and expanded configuration file stored in the configuration subregion, the teleaction service
The resource file stored in subregion includes the resource file and extended resources file stored in the business subregion.
The user terminal 100, for sending resource request to the server 200, the resource request includes network
Video camera identifier;The response message that the server 200 returns is received, includes from the teleaction service point in the response message
The corresponding first resource file of the web camera identifier obtained in area;According to user configuration information, first money
Source file and the current state of the web camera, send corresponding information to the server 200.
The server 200, for receiving the resource request of the user terminal 100, the resource request includes network
Video camera identifier;The server 200 includes the net in the response message to the user terminal returning response information
The corresponding first resource file of network video camera identifier;The server 200 receives the information that the user terminal 100 is sent,
The web camera 300 is sent a message to, the configuration to the web camera 300 is completed.
The web camera 300, the information sent for receiving the server 200 complete configuration operation.
It should be noted that all the embodiments in this specification are described in a progressive manner, each embodiment weight
Point explanation is the difference from other embodiments, and the same or similar parts between the embodiments can be referred to each other.
The technical effect of web camera configuration device provided by the embodiment of the present invention, realization principle and generation is with before
It is identical to state embodiment of the method, to briefly describe, Installation practice part does not refer to place, can refer to phase in preceding method embodiment
Answer content.
In several embodiments provided herein, it should be understood that disclosed device and method can also pass through
Other modes are realized.The apparatus embodiments described above are merely exemplary, for example, flow chart and block diagram in attached drawing
Show the device of multiple embodiments according to the present invention, the architectural framework in the cards of method and computer program product,
Function and operation.In this regard, each box in flowchart or block diagram can represent the one of a module, section or code
Part, a part of the module, section or code, which includes that one or more is for implementing the specified logical function, to be held
Row instruction.It should also be noted that function marked in the box can also be to be different from some implementations as replacement
The sequence marked in attached drawing occurs.For example, two continuous boxes can actually be basically executed in parallel, they are sometimes
It can execute in the opposite order, this depends on the function involved.It is also noted that every in block diagram and or flow chart
The combination of box in a box and block diagram and or flow chart can use the dedicated base for executing defined function or movement
It realizes, or can realize using a combination of dedicated hardware and computer instructions in the system of hardware.
In addition, each functional module in each embodiment of the present invention can integrate one independent portion of formation together
Point, it is also possible to modules individualism, an independent part can also be integrated to form with two or more modules.
It, can be with if the function is realized and when sold or used as an independent product in the form of software function module
It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a
People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.
And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access
The various media that can store program code such as memory (RAM, Random Access Memory), magnetic or disk.It needs
It is noted that herein, relational terms such as first and second and the like are used merely to an entity or operation
It is distinguished with another entity or operation, without necessarily requiring or implying between these entities or operation, there are any this
Actual relationship or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to nonexcludability
It include so that the process, method, article or equipment for including a series of elements not only includes those elements, but also to wrap
Include other elements that are not explicitly listed, or further include for this process, method, article or equipment intrinsic want
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including described want
There is also other identical elements in the process, method, article or equipment of element.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field
For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair
Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.It should also be noted that similar label and letter exist
Similar terms are indicated in following attached drawing, therefore, once being defined in a certain Xiang Yi attached drawing, are then not required in subsequent attached drawing
It is further defined and explained.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (12)
1. a kind of web camera configuration method, which is characterized in that be applied to internet protocol camera system, the system comprises networks
Video camera, server and user terminal, the storage region of the server include Remote configuration subregion and teleaction service subregion, institute
The configuration file stored in Remote configuration subregion for Configuration network video camera is stated, stores use in the teleaction service subregion
In the resource file for realizing web camera business, which comprises
The user terminal sends resource request to the server, and the resource request includes web camera identifier;
The user terminal receives the response message that the server returns, and includes from the teleaction service in the response message
The corresponding first resource file of the web camera identifier obtained in subregion;
According to user configuration information, the first resource file and the current state of the web camera, send corresponding
Information is to the server, so that the server completes the configuration to the web camera.
2. the method according to claim 1, wherein described according to user configuration information, first resource text
Part and the current state of the web camera, send corresponding message to the server, comprising:
If the web camera current state is presence, and the address of the web camera not directly accesses, then
Server is sent configuration information to, so that the configuration information is sent the web camera by the server, it is described
Configuration information includes the user configuration information.
3. the method according to claim 1, wherein described according to user configuration information, first resource text
Part and the current state of the web camera, send corresponding message to the server, comprising:
If the web camera current state is off-line state, according to the user configuration information, generates configuration and update letter
Breath, and it is sent to the server, so that the server receives and parses through the configuration more new information, more new content is obtained,
Corresponding content in the configuration file of the Remote configuration subregion is replaced with into the more new content.
4. according to the method described in claim 3, it is characterized in that, the method is also wrapped before generating configuration update message
It includes:
Judge whether the user terminal is stored with the configuration file of the web camera;
If it is not, the configuration text of the web camera is obtained and stored from the Remote configuration subregion of the server
Part;
If so, then detecting the validity of user configuration information, and according to the user configuration information, update the user terminal
Stored configuration file.
5. a kind of web camera configuration method, which is characterized in that it is applied to web camera and configures system, the system comprises
Web camera, server and user terminal, the storage region of the server include Remote configuration subregion and teleaction service point
Area stores the configuration file for Configuration network video camera in the Remote configuration subregion, deposits in the teleaction service subregion
It has stored up for realizing the resource file of web camera business, which comprises
The server receives the resource request of the user terminal, and the resource request includes web camera identifier;
The server includes from the teleaction service subregion in the response message to the user terminal returning response information
The corresponding first resource file of the web camera identifier of middle acquisition;
The server receives the information that the user terminal is sent, and completes the configuration to the web camera.
6. according to the method described in claim 5, it is characterized in that, the server receives the letter that the user terminal is sent
Breath, completion include: to the configuration of the web camera
When the user terminal send information be configuration information, send the web camera for the configuration information;
When the information that the user terminal is sent is configuration more new information, the parsing configuration more new information obtains more new content,
Corresponding content in the configuration file of the Remote configuration subregion is replaced with into the more new content, so that the web camera
When being connected to server, the web camera is sent by the configuration file.
7. a kind of web camera configuration method, which is characterized in that it is applied to web camera and configures system, the system comprises
Web camera, server and user terminal, the storage region of the server include Remote configuration subregion and teleaction service point
Area stores the configuration file for Configuration network video camera in the Remote configuration subregion, deposits in the teleaction service subregion
It has stored up for realizing the resource file of web camera business, which comprises
The user terminal sends resource request to the server, and the resource request includes web camera identifier;
The server includes from the teleaction service subregion in the response message to the user terminal returning response information
The corresponding first resource file of the web camera identifier of middle acquisition;
The user terminal is according to user configuration information, the first resource file and the current shape of the web camera
State sends corresponding information to the server;
The information that the server is sent according to the user terminal completes the configuration to the web camera.
8. the method according to the description of claim 7 is characterized in that the letter that the server is sent according to the user terminal
Breath completes the configuration to the web camera, comprising:
When the user terminal send information be configuration information, send the web camera for the configuration information;
When the information that the user terminal is sent is configuration more new information, the parsing configuration more new information obtains more new content,
Corresponding content in the configuration file of the Remote configuration subregion is replaced with into the more new content, so that the web camera
When being connected to server, the web camera is sent by the configuration file.
9. according to the method described in claim 8, it is characterized in that, the storage region of the web camera includes configuration point
Area, it is described corresponding content in the configuration file of the Remote configuration subregion is replaced with to the more new content after, it is described
Method further include:
The corresponding modification time of the more new content is updated by the server;
The web camera is according to the configuration text in the configuration file and the Remote configuration subregion in the configuration subregion
The modification time of part generates new configuration file, and updates the modification time of the new configuration file, by the new configuration
File is stored in configuration subregion;
The web camera completes configuration operation according to the new configuration file;
The new configuration file is sent the server by the web camera;
Configuration file in the Remote configuration subregion is updated to the new configuration file by the server.
10. a kind of web camera configures system, which is characterized in that the system comprises web camera, server and users
Terminal, the storage region of the server include Remote configuration subregion and teleaction service subregion, are deposited in the Remote configuration subregion
The configuration file for Configuration network video camera has been stored up, has been stored in the teleaction service subregion for realizing web camera industry
The resource file of business,
The user terminal, for sending resource request to the server, the resource request includes web camera identification
Number;The response message that the server returns is received, includes the institute obtained from the teleaction service subregion in the response message
State the corresponding first resource file of web camera identifier;According to user configuration information, the first resource file and institute
The current state of web camera is stated, sends corresponding information to the server;
The server, for receiving the resource request of the user terminal, the resource request includes web camera identification
Number;The server includes that the web camera identifies to the user terminal returning response information, in the response message
Number corresponding first resource file;The server receives the information that the user terminal is sent, and sends a message to the network
Video camera completes the configuration to the web camera;
The web camera, the information sent for receiving the server complete configuration operation.
11. a kind of web camera configuration device, which is characterized in that be applied to internet protocol camera system, the system comprises nets
Network video camera, server and user terminal, the storage region of the server include Remote configuration subregion and teleaction service subregion,
The configuration file for Configuration network video camera is stored in the Remote configuration subregion, is stored in the teleaction service subregion
For realizing the resource file of web camera business, described device runs on user terminal, and described device includes:
First sending module sends resource request to the server for the user terminal, and the resource request includes net
Network video camera identifier;
First receiving module receives the response message that the server returns for the user terminal, in the response message
Including the corresponding first resource file of the web camera identifier obtained from the teleaction service subregion of the server;
Processing module, for according to user configuration information, the first resource file and the current shape of the web camera
State sends corresponding information to the server, so that the server completes the configuration to the web camera.
12. a kind of web camera configuration device, which is characterized in that be applied to internet protocol camera system, the system comprises nets
Network video camera, server and user terminal, the storage region of the server include Remote configuration subregion and teleaction service subregion,
The configuration file for Configuration network video camera is stored in the Remote configuration subregion, is stored in the teleaction service subregion
For realizing the resource file of web camera business, described device runs on server, and described device includes:
Second receiving module, the resource request of the user terminal is received for the server, and the resource request includes net
Network video camera identifier;
Second sending module includes in the response message for the server to the user terminal returning response information
The corresponding first resource file of the web camera identifier obtained from the teleaction service subregion of the server;
Configuration module receives the information that the user terminal is sent for the server, completes to the web camera
Configuration.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610703609.4A CN106210132B (en) | 2016-08-19 | 2016-08-19 | A kind of web camera configuration method, apparatus and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610703609.4A CN106210132B (en) | 2016-08-19 | 2016-08-19 | A kind of web camera configuration method, apparatus and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106210132A CN106210132A (en) | 2016-12-07 |
CN106210132B true CN106210132B (en) | 2019-06-11 |
Family
ID=57524628
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610703609.4A Active CN106210132B (en) | 2016-08-19 | 2016-08-19 | A kind of web camera configuration method, apparatus and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106210132B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108052570B (en) * | 2017-12-07 | 2020-06-05 | 苏州科达科技股份有限公司 | Conference system configuration information storage method, reading method and device |
CN110798654B (en) * | 2018-08-01 | 2021-12-10 | 华为技术有限公司 | Method and system for defining camera by software and camera |
CN110955441B (en) * | 2018-09-27 | 2021-11-26 | 华为技术有限公司 | Algorithm updating method and device |
CN110149219B (en) * | 2019-04-10 | 2022-08-30 | 视联动力信息技术股份有限公司 | Shooting equipment configuration method and device |
CN113473090B (en) * | 2021-07-09 | 2022-05-03 | 苏州万店掌网络科技有限公司 | Method, device and storage medium for remotely configuring IPC (inter-process control) parameters |
CN113766186B (en) * | 2021-08-25 | 2023-05-23 | 浙江大华技术股份有限公司 | Method, device, system and electronic device for skipping configuration interface of network camera |
CN114286054B (en) * | 2021-12-27 | 2023-10-27 | 苏州万店掌网络科技有限公司 | Remote debugging method, system, equipment and storage medium for network camera |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101630261A (en) * | 2008-07-16 | 2010-01-20 | 鸿富锦精密工业(深圳)有限公司 | Network attached storage system and method for starting same |
CN101753354A (en) * | 2008-12-22 | 2010-06-23 | 北京中星微电子有限公司 | Method for realizing the automatic configuration of network camera and monitoring system |
CN101808130A (en) * | 2010-03-18 | 2010-08-18 | 北方工业大学 | Network control system based on Ethernet |
-
2016
- 2016-08-19 CN CN201610703609.4A patent/CN106210132B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101630261A (en) * | 2008-07-16 | 2010-01-20 | 鸿富锦精密工业(深圳)有限公司 | Network attached storage system and method for starting same |
CN101753354A (en) * | 2008-12-22 | 2010-06-23 | 北京中星微电子有限公司 | Method for realizing the automatic configuration of network camera and monitoring system |
CN101808130A (en) * | 2010-03-18 | 2010-08-18 | 北方工业大学 | Network control system based on Ethernet |
Also Published As
Publication number | Publication date |
---|---|
CN106210132A (en) | 2016-12-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106210132B (en) | A kind of web camera configuration method, apparatus and system | |
US10475315B2 (en) | System and method for configuring surveillance cameras using mobile computing devices | |
CN109002484B (en) | Method and system for sequentially consuming data | |
CN108563425A (en) | A kind of event driven multipaths coprocessing system | |
CN105653425B (en) | Monitoring system based on complex event processing engine | |
CN106059825A (en) | Distributed system and configuration method | |
CN109831357B (en) | Service verification method, device, storage medium and server | |
CN106131113B (en) | A kind of resource downloading method, device, system and Resource Server | |
CN105760434A (en) | Electronic specification implementation method and system based on mobile internet and server | |
CN104765746B (en) | Data processing method and device for mobile communication terminal browser | |
CN106209943A (en) | The system of selection of communication node and device | |
CN105338564B (en) | A kind of client adaptation method, client, server and system | |
CN108519948A (en) | The automatic interface testing method and system of daily record driving | |
CN102769641A (en) | Method and system for displaying webpage content by means of self-adaption control | |
CN113077259A (en) | Block chain-based evidence storing method and device and electronic equipment | |
CN104660634A (en) | Inter-terminal-system setting method and system and terminal | |
CN106131309A (en) | Skin change method, change skin device and change skin system | |
CN111339357A (en) | Recommendation method and device based on live user behaviors | |
KR101744696B1 (en) | Method, device, program and recording medium for filtering information | |
CN105677699A (en) | Method and apparatus for generating news pages for user | |
CN103944779B (en) | A kind of WAP service features monitoring method and system | |
CN113077260A (en) | Data access method and device based on block chain and electronic equipment | |
CN105630918B (en) | The fusion of the whole network user tag and user identifier unified approach | |
CN109218272A (en) | Media content method for pushing, device, server, system and storage medium | |
CN104834728B (en) | A kind of method for pushing and device for subscribing to video |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |