CN108093097A - The connection method of camera and home gateway and home gateway - Google Patents

The connection method of camera and home gateway and home gateway Download PDF

Info

Publication number
CN108093097A
CN108093097A CN201711466875.0A CN201711466875A CN108093097A CN 108093097 A CN108093097 A CN 108093097A CN 201711466875 A CN201711466875 A CN 201711466875A CN 108093097 A CN108093097 A CN 108093097A
Authority
CN
China
Prior art keywords
camera
home gateway
parameter
instruction
sent
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.)
Pending
Application number
CN201711466875.0A
Other languages
Chinese (zh)
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.)
Shenzhen Biplane Polytron Technologies Inc
Original Assignee
Shenzhen Biplane Polytron Technologies Inc
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 Shenzhen Biplane Polytron Technologies Inc filed Critical Shenzhen Biplane Polytron Technologies Inc
Priority to CN201711466875.0A priority Critical patent/CN108093097A/en
Publication of CN108093097A publication Critical patent/CN108093097A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • H04L61/5014Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0876Aspects of the degree of configuration automation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/66Remote control of cameras or camera parts, e.g. by remote control devices
    • H04N23/661Transmitting camera control signals through networks, e.g. control via the Internet

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • Automation & Control Theory (AREA)
  • Studio Devices (AREA)

Abstract

The present invention is suitable for Smart Home technical field, provides connection method and the home gateway of a kind of camera and home gateway, the described method includes:When receiving the connection request that camera is sent by cable, the instruction for obtaining message is sent to camera;Message instruction is obtained for obtaining the basic parameter of camera;The basic parameter that camera is sent is received, and parameter setting instruction is sent to camera according to basic parameter, parameter setting instruction includes service set SSID and password;Parameter setting instruction is for so that configuration information of the camera according to the network parameter setting home gateway of reception;Network connection with camera is established according to the configuration information of setting.The wireless link parameter of camera with automatic identification camera and can be automatically configured by above method home gateway, without being manually entered wireless cipher, operating procedure is simplified, and then accelerate the connection speed of camera and home gateway.

Description

The connection method of camera and home gateway and home gateway
Technical field
Connection method and family the invention belongs to Smart Home technical field more particularly to a kind of camera and home gateway Front yard gateway.
Background technology
With the development of science and technology, the especially rise of smart home, more and more housed devices can by with family Control of the home gateway to housed device is realized in the connection of front yard gateway.Camera realizes that user is remote as a kind of monitoring device Each corner in range monitoring man is the important component that security protection is realized in intelligent domestic system.
Inventor has found that the connection of camera and home gateway is required for by more numerous in the implementation of the present invention Trivial step, a kind of relatively conventional method are:Camera is connected by cable with home gateway, then again connects mobile phone wireless Home gateway is connected to, reuses specific application program of mobile phone, the camera being connected with gateway is searched, in application program of mobile phone The middle wireless link parameter that camera is set;Second of common method be:Camera is arranged to soft access point pattern, mobile phone This soft access point is first coupled to, enters camera using specific application program of mobile phone, this camera wireless link parameter is set.
The connection method of the common camera of above two and home gateway is required for operating handset application program to select The service set of home gateway, and connection password is manually entered, it could realize the connection of camera and home gateway, have and connect The shortcomings that connecing step complexity and inputing password by mistake manually.
The content of the invention
In view of this, the connection method an embodiment of the present invention provides a kind of camera and home gateway and home gateway, To solve by application program of mobile phone Connection Step caused by the service set of home gateway to be selected to answer in the prior art Miscellaneous and easy the problem of inputing password by mistake.
The first aspect of the embodiment of the present invention provides the connection method of a kind of camera and home gateway, including:
When receiving the connection request that camera is sent by cable, the instruction for obtaining message is sent to camera;Institute It states and obtains message instruction for obtaining the basic parameter of camera;
The basic parameter that the camera is sent is received, and parameter setting is sent to camera according to the basic parameter and is referred to Order, the parameter setting instruction include service set SSID and password;The parameter setting instruction is for so that described take the photograph As configuration information of the head according to the network parameter setting home gateway of reception;
Network connection with camera is established according to the configuration information of setting.
Optionally, before the instruction for sending acquisition message to camera, further include:
Whether detection dynamic gateway configuration protocol DHCP service is arranged to disable;
When the dynamic gateway configuration protocol DHCP is arranged to disabling, prompt message is generated, the prompt message is used When the dynamic gateway configuration protocol DHCP is prompted to be arranged to disabling, the network connection with the camera can not be established;
When receiving the instruction for cancelling disabling setting according to the prompt message, then cancel to dynamic gateway configuration protocol The disabling of DHCP is set, and the instruction for obtaining message is sent to the camera.
Optionally, it is described to be established according to the configuration information of setting with before the network connection of camera, further including:
Judge whether network parameter sets success by camera, when the network parameter of the camera is set successfully, Pass through camera voice prompt network parameter;When camera parameter setting fails, pass through camera voice prompt network parameter Setup failed is, it is necessary to reconnect.
Optionally, the home gateway is sent and received information using CGI(Common gateway interface) CGI.
The second aspect of the embodiment of the present invention provides a kind of home gateway, including:
Sending module, for when receiving the connection request that camera is sent by cable, sending and obtaining to camera The instruction of message;It is described to obtain message instruction for obtaining the basic parameter of camera;
Setup module, for receiving the basic parameter that the camera is sent, and according to the basic parameter to camera Parameter setting instruction is sent, the parameter setting instruction includes service set SSID and password;The parameter setting instruction For causing configuration information of the camera according to the network parameter setting home gateway of reception;
Module is established, for establishing the network connection with camera according to the configuration information of setting.
Optionally, the home gateway further includes:
Detection module, for detecting whether the service of dynamic gateway configuration protocol DHCP is arranged to disable;
Generation module, for when the dynamic gateway configuration protocol DHCP is arranged to disabling, generating prompt message, institute State prompt message for prompt the dynamic gateway configuration protocol DHCP be arranged to disabling when, can not establish and the camera Network connection;
Cancel module, for when receiving the instruction for cancelling disabling setting according to the prompt message, then cancelling to dynamic The disabling of state gateway configuration protocol DHCP is set, and the instruction for obtaining message is sent to the camera.
Optionally, it is described to establish module according to the foundation of the configuration information of setting with before the network connection of camera, also wrapping It includes:
Judge whether network parameter sets success by camera, when the network parameter of the camera is set successfully, Pass through camera voice prompt network parameter;When camera parameter setting fails, pass through camera voice prompt network parameter Setup failed is, it is necessary to reconnect.
Optionally, the home gateway is sent and received information using CGI(Common gateway interface) CGI.
The third aspect of the embodiment of the present invention provides a kind of home gateway device, including:It memory, processor and deposits The computer program that can be run in the memory and on the processor is stored up, the processor performs the computer journey The step of connection method of camera and home gateway described in any of the above-described is realized during sequence.
The fourth aspect of the embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage Media storage has computer program, and camera and family described in any of the above-described are realized when the computer program is executed by processor The step of connection method of front yard gateway.
Existing advantageous effect is the embodiment of the present invention compared with prior art:The embodiment of the present invention, when home gateway connects When receiving the connection request that camera is sent by cable, the instruction for obtaining message is sent to camera;Home gateway is receiving After the basic parameter sent to camera, parameter setting instruction, parameter setting are sent to camera according to the basic parameter of reception Instruction includes service set SSID and password;Parameter setting instruction is for so that camera is set according to the network parameter of reception Put the configuration information of home gateway;Home gateway establishes the network connection with camera further according to the configuration information of setting, passes through Home gateway directly acquires the information of camera and automatically configures the wireless link parameter of camera, reduces and is manually entered password Process, so as to accelerate the connection speed of camera and accuracy.
Description of the drawings
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description be only the present invention some Embodiment, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is the realization flow diagram of camera provided in an embodiment of the present invention and home gateway connection method;
Fig. 2 is the realization flow diagram of dynamic gateway configuration protocol detection method provided in an embodiment of the present invention;
Fig. 3 is the structure diagram of home gateway provided in an embodiment of the present invention;
Fig. 4 is the structure diagram of another home gateway provided in an embodiment of the present invention;
Fig. 5 is the schematic diagram of home gateway device provided in an embodiment of the present invention.
Specific embodiment
In being described below, in order to illustrate rather than in order to limit, it is proposed that such as tool of particular system structure, technology etc Body details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specifically The present invention can also be realized in the other embodiments of details.In other situations, omit to well-known system, device, electricity Road and the detailed description of method, in case unnecessary details interferes description of the invention.
In order to illustrate technical solutions according to the invention, illustrated below by specific embodiment.
Embodiment one
Fig. 1 shows that the realization flow of the connection method of camera and home gateway that the embodiment of the present invention one provides is illustrated Figure, details are as follows:
Step S101 when receiving the connection request that camera is sent by cable, sends to camera and obtains message Instruction;It is described to obtain message instruction for obtaining the basic parameter of camera.
Readily comprehensible, camera described herein refers to IP Camera, and network interface is provided on IP Camera, So that IP Camera adds the function of being combined with internet on the basis of traditional camera, by being set in camera The operating system based on WEB so that the video information that camera obtains can be transmitted through the network to user terminal, and user is whole End again may be by accessing to video camera into the address of camera, to achieve the purpose that real time monitoring.
After camera is in electrifying startup, it is connected by the network interface of camera with home gateway, wherein, acquiescence is taken the photograph here As head is the state of opening network service.Camera can directly be sent out after being connected with home gateway by cable to home gateway A connection request is sent, and home gateway can identify this international agreement for receiving instruction after connection request is received (Internet Protocol, IP) address, and the instruction for obtaining message is sent to this IP address, the message obtained here refers to Be camera basic parameter, such as operating system of the title of camera, the resolution ratio of camera and camera etc.. Home gateway just can judge whether the equipment is the camera that correctly connects by obtaining the basic parameter of camera, and then to taking the photograph As the network parameter of head is configured.
Referring to Fig. 2, in one embodiment, before the instruction for obtaining message is sent to camera, further include:Step Whether S201, detection dynamic gateway configuration protocol DHCP service are arranged to disable.
Dynamic host configuration protocol (Dynamic Host Configuration Protocol, DHCP) is a local The procotol of net, camera is to obtain the IP address distributed for it of home gateway by DHCP herein, so as to establish and family The network connection of front yard gateway.DHCP to there are mainly two types of the methods of salary distribution of IP address, it is a kind of will by way of distributing automatically A certain IP address is permanent to distribute to client, and a kind of is by way of dynamically distributes, and distributing in turn is different Dhcp client uses the mode of dynamic IP address allocation flexibly to connect more equipment herein.
By using DHCP service camera can be caused to automatically obtain the address of home gateway distribution, without defeated manually Enter.Therefore, during connection camera with home gateway, whether dynamic gateway configuration protocol is first detected in disabling State.
Step S202 when the dynamic gateway configuration protocol DHCP is arranged to disabling, generates prompt message, described to carry Show information for prompt the dynamic gateway configuration protocol DHCP be arranged to disabling when, the net with the camera can not be established Network connects.
After detecting that dynamic gateway configuration protocol DHCP is arranged to disabling, by way of generating a kind of prompt message Prompt user, in a state that DHCP is arranged to disabling home gateway can not automatic IP address allocation, take the photograph so as to can not realize As head obtains IP address automatically.
Step S203 when receiving the instruction for cancelling disabling setting according to the prompt message, then cancels to Dynamic Networks The disabling for closing configuration protocol DHCP is set, and the instruction for obtaining message is sent to the camera.
Specifically, " cancel and disabling " and " continuing to disable " two options, family can also be set according to the prompt message of generation Front yard gateway performs different operations according to different instructions, when home gateway receives the instruction of " cancelling disabling ", will cancel The disabling of DHCP service is set, and continues to execute the instruction for being sent to camera and obtaining message;When home gateway receives " after During the instruction of continuous disabling ", then ignore the prompt message of generation so that the DHCP service continues to be arranged to disable.
Step S102 receives the basic parameter that the camera is sent, and is sent according to the basic parameter to camera Parameter setting instruction, the parameter setting instruction include service set SSID and password;The parameter setting instruction is used for So that the camera sets the configuration information of home gateway according to the network parameter of reception.
Home gateway shows the equipment that the network interface of home gateway is accessed after the basic parameter of camera transmission is received It is exactly correct camera, home gateway is got parms by cgi script and sets instruction at this time, wherein in parameter setting instruction Service set SSID is mainly used to identify wireless network, that is, the sub-network that WLAN is divided into is named, and makes Equipment must be connected to be attached sub-network according to different SSID and corresponding password, wherein SSID is identical with password.SSID mono- As randomly generate, illustratively, may be employed such a way generate SSID:SSID=CT+ device ids+random number.This Place is only a kind of example for the setting of SSID and password rather than it is limited.
Wherein, the camera is after the network parameter for receiving SSID and password transmitted by home gateway, according to connecing The parameter received is configured the network of camera.
Step S103 establishes the network connection with camera according to the configuration information of setting.
After camera is properly received and has configured the information of home gateway, home gateway can be established and camera Connection, when camera and after home gateway successful connection, camera can be from the successful information of trend home gateway feedback link, together Shi Chongqi cameras so that camera can preserve the setting and modification to network parameter, and can start immediately and home network The wireless connection of pass.
In one embodiment, before establishing the network connection with camera according to the configuration information of setting, further include:It is logical It crosses camera and judges whether network parameter sets success, when the network parameter of the camera is set successfully, pass through camera Voice prompt network parameter;When camera parameter setting fails, by camera voice prompt network parameter setup failed, need It reconnects.
Before the connection of family's gateways and starting and camera, by camera can detect in advance the SSID of reception with it is close Whether the information such as code set success, when detecting that network parameter is set successfully, can be come from by the phonetic function of camera Dynamic to send parameter setting and successfully prompt, home gateway can establish the net with camera according to the parameter information of camera at this time Network connects.And when camera detects network parameter setup failed, then it need not start the company between home gateway and camera It connects, directly by the phonetic function of camera parameter setting is prompted to fail, and send request connection to home gateway again Instruction, until camera and home gateway successful connection.
In one embodiment, home gateway uses CGI(Common gateway interface) (Common Gateway Interface, CGI) It sends and receives information.
CGI interfaces are one section of programs, and operation on the server, provides the interface of the html page of same client, CGI interfaces The search request of user can be converted to the querying command of database.The effect of CGI interfaces herein be complete camera with Data transmission between home gateway.Wherein, CGI interfaces are provided on home gateway and camera, are made using CGI interfaces Obtaining has the function of to interact between camera and home gateway.
Under normal conditions, camera by CGI interfaces send request instruction, home gateway after request instruction is received, CGI application programs in home gateway perform corresponding operation, and feedback result is exported to camera.Illustratively, when taking the photograph After giving the parameter of itself to home gateway as hair, home gateway verifies the camera parameter of reception, when described in verification When parameter is correct camera device parameter, cgi script that home gateway sets call parameters obtains corresponding CGI journeys The service set SSID and password that sequence generates, and it is transferred to camera.
The connection method of above-mentioned camera and home gateway, when home gateway receives the company that camera sent by cable When connecing request, the instruction for obtaining message is sent to camera;Home gateway is after the basic parameter of camera transmission is received, root Parameter setting instruction is sent to camera according to the basic parameter of reception, parameter setting instruction includes service set SSID and close Code;Parameter setting instruction is for so that configuration information of the camera according to the network parameter setting home gateway of reception;Home network The configuration information closed further according to setting establishes the network connection with camera, and the information of camera is directly acquired by home gateway And the wireless link parameter of camera is automatically configured, reduce the process for being manually entered password, so as to accelerate the company of camera Connect speed and accuracy.
It is to be understood that the size of the sequence number of each step is not meant to the priority of execution sequence, each process in above-described embodiment Execution sequence should determine that the implementation process without tackling the embodiment of the present invention forms any limit with its function and internal logic It is fixed.
Embodiment two
Referring to Fig. 3, the structure diagram of home gateway provided in an embodiment of the present invention is shown, details are as follows:
Home gateway provided in this embodiment includes sending module 101, setup module 102 and establishes module 103.
Sending module 101, for when receiving the connection request that camera is sent by cable, being obtained to camera transmission Take the instruction of message;It is described to obtain message instruction for obtaining the basic parameter of camera.
Setup module 102, for receiving the basic parameter that the camera is sent, and according to the basic parameter to camera shooting Hair send parameter setting instruction, and the parameter setting instruction includes service set SSID and password;The parameter setting refers to Order is for so that configuration information of the camera according to the network parameter setting home gateway of reception.
Module 103 is established, for establishing the network connection with camera according to the configuration information of setting.
Optionally, referring to Fig. 4, the structure diagram of another home gateway provided in an embodiment of the present invention is shown, in detail It states as follows:On the basis of home gateway structure in figure 3, the home gateway in the present embodiment further includes:Detection module 201, Reminding module 202 and cancellation module 203.
Detection module 201, for detecting whether the service of dynamic gateway configuration protocol DHCP is arranged to disable.
Reminding module 202, for when the dynamic gateway configuration protocol DHCP is arranged to disabling, generation prompting to be believed Breath, the prompt message for prompt the dynamic gateway configuration protocol DHCP be arranged to disabling when, can not establish with it is described The network connection of camera.
Cancel module 203, for when according to the prompt message receive cancel disabling set instruction when, then cancel pair The disabling of dynamic gateway configuration protocol DHCP is set, and the instruction for obtaining message is sent to the camera.
Optionally, it is described to establish module according to the foundation of the configuration information of setting with before the network connection of camera, also wrapping It includes:Judge whether network parameter sets success by camera, when the network parameter of the camera is set successfully, by taking the photograph As head voice prompts network parameter;When camera parameter setting fails, set and lost by camera voice prompt network parameter It loses, it is necessary to reconnect.
Optionally, the home gateway is sent and received information using CGI(Common gateway interface) CGI.
Above-mentioned home gateway receives the connection request that camera is sent by cable by sending module, is receiving After the receiving request of camera, the instruction for obtaining message is sent to camera, to obtain the basic parameter of camera;Pass through setting After the basic parameter of camera transmission is received, parameter is sent to according to the basic parameter of the camera received for module Instruction is set, and parameter setting instruction includes service set SSID and password;By establishing module according to setting with confidence Breath establishes the network connection with camera, and above-mentioned home gateway directly acquires the information of camera and automatically configures camera Wireless link parameter reduces the process for being manually entered password, so as to accelerate the connection speed of camera and accuracy.
Embodiment three
Corresponding to the connection method of camera and home gateway described in above-described embodiment one, Fig. 5 shows of the invention real The schematic diagram of the home gateway device of example offer is provided.For convenience of description, part related to the present embodiment is illustrated only.
As shown in figure 5, the home gateway device 5 of the embodiment includes:It processor 50, memory 51 and is stored in described In memory 51 and the computer program 52 that can be run on the processor 50, such as the connection journey of camera and home gateway Sequence.The processor 50 realizes that the connection method of above-mentioned each camera and home gateway is real when performing the computer program 52 Apply the step in example, such as step 101 shown in FIG. 1 is to 103.
Illustratively, the computer program 52 can be divided into one or more modules, one or more of Module is stored in the memory 51, and is performed by the processor 50, to complete the present invention.One or more of moulds Block/unit can be the series of computation machine program instruction section that can complete specific function, the instruction segment by describe it is described based on Implementation procedure of the calculation machine program 52 in the home gateway 5.For example, the computer program 52 can be divided into transmission mould Block, setup module and module is established, each module concrete function is as follows:
Sending module, for when receiving the connection request that camera is sent by cable, sending and obtaining to camera The instruction of message;It is described to obtain message instruction for obtaining the basic parameter of camera.
Setup module, for receiving the basic parameter that the camera is sent, and according to the basic parameter to camera Parameter setting instruction is sent, the parameter setting instruction includes service set SSID and password.The parameter setting instruction For causing configuration information of the camera according to the network parameter setting home gateway of reception.
Module is established, for establishing the network connection with camera according to the configuration information of setting.
Optionally, the computer program 52 can also increase detection module, carry on the basis of above-mentioned module is divided into Show module and cancel module.
Detection module, for detecting whether the service of dynamic gateway configuration protocol DHCP is arranged to disable.
Reminding module, for when the dynamic gateway configuration protocol DHCP is arranged to disabling, generating prompt message, institute State prompt message for prompt the dynamic gateway configuration protocol DHCP be arranged to disabling when, can not establish and the camera Network connection.
Cancel module, for when receiving the instruction for cancelling disabling setting according to the prompt message, then cancelling to dynamic The disabling of state gateway configuration protocol DHCP is set, and the instruction for obtaining message is sent to the camera.
The processor 50 can be in some embodiments a central processing unit (Central Processing Unit, CPU), microprocessor or other data processing chips, for running the program code stored in the memory 51 or processing number According to, such as linker 52 of camera and home gateway etc..
The memory 51 can be the internal storage unit of the home gateway 5, such as the hard disk of home gateway 5 or interior It deposits.The memory 51 can also be the External memory equipment of the home gateway 5, such as be equipped on the home gateway 5 Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card dodge Deposit card (Flash Card) etc..Further, the memory 51 can also both include the storage inside list of the home gateway 5 Member also includes External memory equipment.The memory 51 is used to store needed for the computer program and the home gateway Other programs and data.The memory 51 can be also used for temporarily storing the data that has exported or will export.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each work( Can unit, module division progress for example, in practical application, can be as needed and by above-mentioned function distribution by different Functional unit, module are completed, i.e., the internal structure of described device are divided into different functional units or module, more than completion The all or part of function of description.Each functional unit, module in embodiment can be integrated in a processing unit, also may be used To be that unit is individually physically present, can also two or more units integrate in a unit, it is above-mentioned integrated The form that hardware had both may be employed in unit is realized, can also be realized in the form of SFU software functional unit.In addition, each function list Member, the specific name of module are not limited to the protection domain of the application also only to facilitate mutually distinguish.Above system The specific work process of middle unit, module may be referred to the corresponding process in preceding method embodiment, and details are not described herein.
In the above-described embodiments, all emphasize particularly on different fields to the description of each embodiment, be not described in detail or remember in some embodiment The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may realize that each exemplary lists described with reference to the embodiments described herein Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is performed with hardware or software mode, specific application and design constraint depending on technical solution.Professional technician Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed device/terminal device and method, it can be with It realizes by another way.For example, device described above/terminal device embodiment is only schematical, for example, institute The division of module or unit is stated, is only a kind of division of logic function, there can be other dividing mode in actual implementation, such as Multiple units or component may be combined or can be integrated into another system or some features can be ignored or does not perform.Separately A bit, shown or discussed mutual coupling or direct-coupling or communication connection can be by some interfaces, device Or the INDIRECT COUPLING of unit or communication connection, can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separate, be shown as unit The component shown may or may not be physical location, you can be located at a place or can also be distributed to multiple In network element.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also That unit is individually physically present, can also two or more units integrate in a unit.Above-mentioned integrated list The form that hardware had both may be employed in member is realized, can also be realized in the form of SFU software functional unit.
If the integrated module/unit realized in the form of SFU software functional unit and be independent production marketing or In use, it can be stored in a computer read/write memory medium.Based on such understanding, the present invention realizes above-mentioned implementation All or part of flow in example method, can also instruct relevant hardware to complete, the meter by computer program Calculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that on The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program generation Code can be source code form, object identification code form, executable file or some intermediate forms etc..The computer-readable medium It can include:Any entity of the computer program code or device, recording medium, USB flash disk, mobile hard disk, magnetic can be carried Dish, CD, computer storage, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that the meter The content that calculation machine readable medium includes can carry out appropriate increase and decrease according to legislation in jurisdiction and the requirement of patent practice, Such as in some jurisdictions, according to legislation and patent practice, computer-readable medium does not include electric carrier signal and telecommunications Signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although with reference to foregoing reality Example is applied the present invention is described in detail, it will be understood by those of ordinary skill in the art that:It still can be to foregoing each Technical solution recorded in embodiment modifies or carries out equivalent substitution to which part technical characteristic;And these are changed Or replace, the essence of appropriate technical solution is not made to depart from the spirit and scope of various embodiments of the present invention technical solution, it should all It is included within protection scope of the present invention.

Claims (10)

1. a kind of connection method of camera and home gateway, which is characterized in that including:
When receiving the connection request that camera is sent by cable, the instruction for obtaining message is sent to camera;It is described to obtain Message instruction is taken for obtaining the basic parameter of camera;
The basic parameter that the camera is sent is received, and parameter setting instruction is sent to camera according to the basic parameter, The parameter setting instruction includes service set SSID and password;The parameter setting instruction is for so that the camera Network parameter according to reception sets the configuration information of home gateway;
Network connection with camera is established according to the configuration information of setting.
2. the connection method of camera as described in claim 1 and home gateway, which is characterized in that described to be sent to camera Before the instruction for obtaining message, further include:
Whether detection dynamic gateway configuration protocol DHCP service is arranged to disable;
When the dynamic gateway configuration protocol DHCP is arranged to disabling, prompt message is generated, the prompt message is used to carry When showing that the dynamic gateway configuration protocol DHCP is arranged to disabling, the network connection with the camera can not be established;
When receiving the instruction for cancelling disabling setting according to the prompt message, then cancel to dynamic gateway configuration protocol DHCP Disabling set, and to the camera send obtain message instruction.
3. the connection method of camera as described in claim 1 and home gateway, which is characterized in that the matching somebody with somebody according to setting Confidence breath is established before the network connection with camera, is further included:
Judge whether network parameter sets success by camera, when the network parameter of the camera is set successfully, pass through Camera voice prompt network parameter;When camera parameter setting fails, set by camera voice prompt network parameter Failure is, it is necessary to reconnect.
4. the connection method of camera as described in any one of claims 1 to 3 and home gateway, which is characterized in that the family Front yard gateway is sent and received information using CGI(Common gateway interface) CGI.
5. a kind of home gateway, which is characterized in that including:
Sending module, for when receiving the connection request that camera is sent by cable, being sent to camera and obtaining message Instruction;It is described to obtain message instruction for obtaining the basic parameter of camera;
Setup module for receiving the basic parameter that the camera is sent, and is sent according to the basic parameter to camera Parameter setting instruction, the parameter setting instruction include service set SSID and password;The parameter setting instruction is used for So that the camera sets the configuration information of home gateway according to the network parameter of reception;
Module is established, for establishing the network connection with camera according to the configuration information of setting.
6. a kind of home gateway as claimed in claim 5, which is characterized in that further include:
Detection module, for detecting whether the service of dynamic gateway configuration protocol DHCP is arranged to disable;
Reminding module, it is described to carry for when the dynamic gateway configuration protocol DHCP is arranged to disabling, generating prompt message Show information for prompt the dynamic gateway configuration protocol DHCP be arranged to disabling when, the net with the camera can not be established Network connects;
Cancel module, for when receiving the instruction for cancelling disabling setting according to the prompt message, then cancelling to Dynamic Networks The disabling for closing configuration protocol DHCP is set, and the instruction for obtaining message is sent to the camera.
7. a kind of home gateway as claimed in claim 5, which is characterized in that described to establish configuration information of the module according to setting It establishes before the network connection with camera, further includes:
Judge whether network parameter sets success by camera, when the network parameter of the camera is set successfully, pass through Camera voice prompt network parameter;When camera parameter setting fails, set by camera voice prompt network parameter Failure is, it is necessary to reconnect.
8. such as a kind of home gateway of claim 5-7 any one of them, which is characterized in that sent out using CGI(Common gateway interface) CGI It send and receive information.
9. a kind of home gateway device, including memory, processor and it is stored in the memory and can be in the processing The computer program run on device, which is characterized in that the processor realizes such as claim 1 when performing the computer program The step of to any one of 4 the method.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists In when the computer program is executed by processor the step of realization such as any one of Claims 1-4 the method.
CN201711466875.0A 2017-12-28 2017-12-28 The connection method of camera and home gateway and home gateway Pending CN108093097A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711466875.0A CN108093097A (en) 2017-12-28 2017-12-28 The connection method of camera and home gateway and home gateway

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711466875.0A CN108093097A (en) 2017-12-28 2017-12-28 The connection method of camera and home gateway and home gateway

Publications (1)

Publication Number Publication Date
CN108093097A true CN108093097A (en) 2018-05-29

Family

ID=62181045

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711466875.0A Pending CN108093097A (en) 2017-12-28 2017-12-28 The connection method of camera and home gateway and home gateway

Country Status (1)

Country Link
CN (1) CN108093097A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110545201A (en) * 2019-08-13 2019-12-06 深圳和而泰家居在线网络科技有限公司 network distribution method, device and system for network camera, computer device and medium
CN112825574A (en) * 2019-11-15 2021-05-21 中兴通讯股份有限公司 Network connection establishing method, wireless access device, system and storage medium
CN113556455A (en) * 2021-07-30 2021-10-26 上海商汤临港智能科技有限公司 Image acquisition system, vehicle-mounted image acquisition device and control equipment
CN114172806A (en) * 2020-08-19 2022-03-11 美的智慧家居科技有限公司 Network configuration updating method of Internet of things equipment and related device thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130103807A1 (en) * 2011-10-24 2013-04-25 General Instrument Corporation Method and apparatus for exchanging configuration information in a wireless local area network
CN104320804A (en) * 2014-11-09 2015-01-28 卢军 Intelligent device wireless network parameter configuration method and system based on sound waves
CN104519482A (en) * 2013-09-26 2015-04-15 浙江大华技术股份有限公司 Equipment parameter configuration method and device
US20150333965A1 (en) * 2014-05-19 2015-11-19 Comcast Cable Communications, Llc Device Provisioning
CN106453011A (en) * 2016-11-30 2017-02-22 海信集团有限公司 Network connection method for intelligent home device and intelligent home gateway

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130103807A1 (en) * 2011-10-24 2013-04-25 General Instrument Corporation Method and apparatus for exchanging configuration information in a wireless local area network
CN104519482A (en) * 2013-09-26 2015-04-15 浙江大华技术股份有限公司 Equipment parameter configuration method and device
US20150333965A1 (en) * 2014-05-19 2015-11-19 Comcast Cable Communications, Llc Device Provisioning
CN104320804A (en) * 2014-11-09 2015-01-28 卢军 Intelligent device wireless network parameter configuration method and system based on sound waves
CN106453011A (en) * 2016-11-30 2017-02-22 海信集团有限公司 Network connection method for intelligent home device and intelligent home gateway

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110545201A (en) * 2019-08-13 2019-12-06 深圳和而泰家居在线网络科技有限公司 network distribution method, device and system for network camera, computer device and medium
CN112825574A (en) * 2019-11-15 2021-05-21 中兴通讯股份有限公司 Network connection establishing method, wireless access device, system and storage medium
CN114172806A (en) * 2020-08-19 2022-03-11 美的智慧家居科技有限公司 Network configuration updating method of Internet of things equipment and related device thereof
CN114172806B (en) * 2020-08-19 2023-04-18 美的智慧家居科技有限公司 Network configuration updating method of Internet of things equipment and related device thereof
CN113556455A (en) * 2021-07-30 2021-10-26 上海商汤临港智能科技有限公司 Image acquisition system, vehicle-mounted image acquisition device and control equipment

Similar Documents

Publication Publication Date Title
CN104169952B (en) A kind of method of network payment, apparatus and system
CN108093097A (en) The connection method of camera and home gateway and home gateway
CN103152402A (en) Method and system for logging in through mobile terminal and cloud server
CN108616882A (en) Household appliance matches network method, method of network entry, device, storage medium and equipment
CN105551120A (en) Building intercommunication method, near field communication (NFC) unlocking device and building intercommunication system
CN103329091B (en) Cross access login controller
CN107770226B (en) Control method and device for smart home, home gateway and mobile terminal
CN106851632A (en) A kind of smart machine accesses the method and device of WLAN
CN103828291B (en) The method that application service is provided
CN108259164A (en) The identity identifying method and equipment of a kind of internet of things equipment
CN105259771A (en) Authentication method and associated device
CN106488453A (en) A kind of method and system of portal certification
CN104348686A (en) Method and device for interconnecting terminal equipment and gateway equipment
CN107393066A (en) Unlocking method, terminal, server and the system for unlocking of smart lock
CN105392137A (en) Household WIFI embezzlement preventing method, wireless router and terminal equipment
KR101988477B1 (en) Method of registration of devices for M2M network using M2M gateway and M2M gateway for it
CN107196917A (en) A kind of service response method and its middleware
CN107484152A (en) The management method and device of terminal applies
CN105681258A (en) Session method and session device based on third-party server
CN108173725A (en) Apparatus control method, device, terminal and computer readable storage medium
CN107995154A (en) A kind of intelligent appliance distribution method of controlling security
CN109981312A (en) Smart machine configuration method, apparatus and system
CN106789905A (en) A kind of network access equipment and method
CN107766717A (en) A kind of access control method, apparatus and system
CN106131837A (en) Method, terminal and the communication system that a kind of wireless network connects

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180529