CN107027021B - A kind of method for burn-recording and system of web camera - Google Patents

A kind of method for burn-recording and system of web camera Download PDF

Info

Publication number
CN107027021B
CN107027021B CN201710112790.6A CN201710112790A CN107027021B CN 107027021 B CN107027021 B CN 107027021B CN 201710112790 A CN201710112790 A CN 201710112790A CN 107027021 B CN107027021 B CN 107027021B
Authority
CN
China
Prior art keywords
burning
record
data
web camera
request
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
Application number
CN201710112790.6A
Other languages
Chinese (zh)
Other versions
CN107027021A (en
Inventor
王伟
刘志强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHENZHEN GOSPELL SMARTHOME ELECTRONIC CO Ltd
Original Assignee
SHENZHEN GOSPELL SMARTHOME ELECTRONIC CO Ltd
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 GOSPELL SMARTHOME ELECTRONIC CO Ltd filed Critical SHENZHEN GOSPELL SMARTHOME ELECTRONIC CO Ltd
Priority to CN201710112790.6A priority Critical patent/CN107027021B/en
Publication of CN107027021A publication Critical patent/CN107027021A/en
Application granted granted Critical
Publication of CN107027021B publication Critical patent/CN107027021B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • H04N17/002Diagnosis, testing or measuring for television systems or their details for television cameras

Abstract

The present invention relates to a kind of method for burn-recording of web camera and systems, and the method comprising the steps of: S1, receiving the request of data that at least two burning controlling terminals are sent simultaneously;S2, the record of a non-burning is read according to request of data and changes the program state of record;Burning controlling terminal corresponding to the corresponding request of data of program state of record is changed in S3, selection at first;S4, the data in record are burnt in the web camera being connected with corresponding burning controlling terminal by corresponding burning controlling terminal.The case where implementing the present invention may make and is independent of each other between burning Shi Duotai web camera, without waiting for, i.e. whens more web cameras burnings simultaneously avoids the number of robbing or waits, substantially increases the efficiency of burning.

Description

A kind of method for burn-recording and system of web camera
Technical field
The present invention relates to the technical fields of web camera, more specifically to a kind of burning side of web camera Method and system.
Background technique
Generally ID and MAC Address can be obtained from database in the ID and MAC Address of burning web camera at present, this The multiple people of sample simultaneously burning when will the number of robbing the problem of, i.e. more web cameras may be burnt to the same ID or MAC Address.To solve the problems, such as that the number of robbing, existing technical solution are by the way of to data library locking.Using existing skill Art scheme, although the problem of being avoided that the number of robbing generation to database locking, the same time can only have one after database locking Platform web camera is programmed, other can just be waited in the people of burning, waits current web camera burning complete Cheng Houcai can go burning, very time-consuming.
Summary of the invention
The technical problem to be solved in the present invention is that in view of the above drawbacks of the prior art, providing a kind of web camera Method for burn-recording and system.
The technical solution adopted by the present invention to solve the technical problems is: a kind of method for burn-recording of web camera is constructed, The following steps are included:
S1, the request of data that at least two burning controlling terminals are sent is received simultaneously;
S2, the record of a non-burning is read according to the request of data and changes the program state of the record;
Burning controlling terminal corresponding to the corresponding request of data of program state of the record is changed in S3, selection at first;
S4, the data in the record are burnt to and the corresponding burning by the corresponding burning controlling terminal In the connected web camera of controlling terminal.
In the method for burn-recording of web camera of the present invention, it is preferable that before the step S1 further include:
In the database by the record storage.
In the method for burn-recording of web camera of the present invention, it is preferable that the method also includes:
Whether S5, the data for judging in the record are successfully burnt to described connected with the corresponding burning controlling terminal Web camera in;
S6, if so, to the web camera carry out labeling printing;
In the method for burn-recording of web camera of the present invention, it is preferable that the step S5 includes:
If it is not, then changing the program state of the record again.
In the method for burn-recording of web camera of the present invention, it is preferable that the burning for changing the record again Record state includes updating the program state of the record to non-burning by burning.
In the method for burn-recording of web camera of the present invention, it is preferable that the step S1 includes:
S1-0, the data for receiving the record for same non-burning that at least two burning controlling terminals are sent simultaneously are asked It asks;
S1-1, the record for reading the non-burning from database according to the request of data, and change the record Program state.
In the method for burn-recording of web camera of the present invention, it is preferable that the record includes for the net to burning The ID number of network video camera, MAC Address, the program state of ID number and MAC Address program state.
In the method for burn-recording of web camera of the present invention, it is preferable that the record carries described for identifying The label of the program state of record.
The present invention also provides a kind of programming systems of web camera, comprising:
Receiving module, while receiving the request of data that at least two burning controlling terminals are sent;
Read module, for reading the record of a non-burning according to the request of data and changing the burning of the record State;
Module is chosen, changes burning corresponding to the corresponding request of data of program state of the record at first for choosing Controlling terminal;
Burning module, for by the data in the record by the corresponding burning controlling terminal be burnt to it is described In the connected web camera of corresponding burning controlling terminal.
In the programming system of web camera of the present invention, it is preferable that the record includes for the net to burning The ID number of network video camera, MAC Address, the program state of ID number and MAC Address program state.
The method for burn-recording and system for implementing web camera of the invention, have the advantages that network of the invention The method for burn-recording of video camera is comprising steps of S1, the request of data that at least two burning controlling terminals of reception are sent simultaneously;S2, root The record of a non-burning is read according to request of data and changes the program state of record;S3, selection change the burning of record at first Burning controlling terminal corresponding to the corresponding request of data of state;S4, the data in record are controlled eventually by corresponding burning End is burnt in the web camera being connected with corresponding burning controlling terminal.Implementing the present invention may make the more nets in burning It is independent of each other, withouts waiting between network video camera, is i.e. when more web cameras burning simultaneously avoids the number of robbing or waits The case where, substantially increase the efficiency of burning.
Detailed description of the invention
Present invention will be further explained below with reference to the attached drawings and examples, in attached drawing:
Fig. 1 is the structural schematic diagram of the programming system of inventive network video camera;
Fig. 2 is the flow diagram of the method for burn-recording of inventive network video camera.
Specific embodiment
For a clearer understanding of the technical characteristics, objects and effects of the present invention, now control attached drawing is described in detail A specific embodiment of the invention.
As shown in Figure 1, in the structural schematic diagram of the programming system of web camera of the invention, the web camera Programming system includes receiving module 101, read module 102, chooses module 103, burning module 104.
Receiving module 101, the request of data sent for receiving at least two burning controlling terminals simultaneously.When the survey of enterprise When why topic needs to treat the web camera progress data recording of burning, corresponding data can be first obtained from database and reburned It records in web camera.It is to be appreciated that database is generally arranged in server, and when needing to carry out burning, Ji Ke Related data is read in server.Data mentioned here can be the program state and MAC of ID number, MAC Address, ID number The program state of address.In the present invention, the request of data that receiving module 101 receives is corresponded with burning controlling terminal 's.It is to be appreciated that request of data is issued by burning controlling terminal, i.e., ought need to carry out data recording to web camera When, burning controlling terminal sends data request to receiving module 101, and the request of data is for showing the burning controlling terminal Need burning data;When there is more web cameras to need to carry out data recording Shi Junke by coupled burning controlling terminal Request of data is sent to receiving module 101.
Read module 102 for reading the record of a non-burning according to request of data, and changes the burning shape of record State.After the request of data for receiving the transmission of at least two burning controlling terminals at the same time, according to the request of data (at least two) The record of a non-burning is read, and the program state of the record of the non-burning of this is updated to burning by non-burning.At this In invention, the record that read module 102 is read is non-burning.It is to be appreciated that receiving more burning controls at the same time After the request of data that terminal processed is sent, read module 102 is to read one according to the multiple request of data received simultaneously not burn The record of record, and the program state of the record of the non-burning of this is changed to burning by non-burning.It is to be appreciated that by Its program state is changed to burning by non-burning before this record progress burning, new data is received in subsequent time and asks When asking, the problem of can effectively avoid the number of robbing generation.In addition, when more burning controlling terminal transmissions are not that synchronization sends data When request, for example, burning controlling terminal A and burning controlling terminal B successively send request of data, burning control is received in the ban eventually When the request of data for holding A to send, a record not being programmed is read, and the program state that this records is changed to burn Record, then when burning controlling terminal B sequentially sends request of data, since the program state of this record has been changed to burn Record, therefore, read module 102 no longer reads this when receiving module 101 receives the request of data of burning controlling terminal B Item record, but another record not being programmed is read, and then can effectively avoid the problem that the number of robbing generation.
Module 103 is chosen, is changed corresponding to the corresponding request of data of program state of this record at first for choosing Burning controlling terminal.After the program state for changing this record, test platform is first according to request of data and burning controlling terminal Between corresponding relationship save relevant corresponding informance (i.e. the corresponding informance of request of data and burning controlling terminal), successively to more The burning controlling terminal for changing the program state of this record is ranked up, and selects the program state for changing this record at first Corresponding burning controlling terminal.In other words, the change of the program state recorded to this need to be judged at first by choosing module 103 It is first to be modified by any platform at least two burning controlling terminals.For example, the same time hair of burning terminal A and burning terminal B Request of data a and request of data b are sent, and has equally got a record, it is assumed that for record X, read module 102 receives at the same time Start the program state of more new record X after to request of data a and request of data b, test platform need to judge this when be basis Which request of data has changed the program state of record X;If read module 102 will first record the burning of X according to request of data a State is changed to burning by non-burning, and read module 102 will record the program state of X by non-burning further according to request of data b It is changed to burning, because the program state of record X is more corrected one's mistakes according to request of data a, record the burning shape of X State no longer changes, and can judge that the program state for recording X is that the request of data a sent according to burning controlling terminal A is repaired at this time Change, at this point, burning controlling terminal B then needs to send request of data to test platform again, obtains the number for needing burning again According to.
Burning module 104, for by this record in data by corresponding burning controlling terminal be burnt to it is corresponding Burning controlling terminal phase side web camera in.The program state for changing record at first is selected in choosing module 103 After the corresponding burning controlling terminal of corresponding request of data, this can be recorded in data recording to the corresponding burning control In terminal processed, as previously mentioned, when judging that recording the program state of X is according to burning controlling terminal A in choosing module 103 The request of data a modification of transmission, then test platform controls the data (including ID number, MAC Address) for recording X eventually by burning End A is burnt in the web camera being connected with burning controlling terminal A.It is to be appreciated that when burning controlling terminal A is in burning During, when other burning controlling terminals send request of data to test platform, no longer reads burning controlling terminal A and burnt The data of the record of record occur (to obtain identical burning to effectively prevent occurring during burning the problem of number of robbing Data, such as identical ID number, MAC Address);And during burning controlling terminal A burning, other burnings control is not influenced Terminal obtains burning data.
Preferably, in the present embodiment, record includes the ID number for the web camera to burning, MAC Address, ID Number program state and MAC Address program state.In other words, record is that is, a data, is typically maintained in survey In the database for trying platform, the initial record imported in database is not all programmed, that is to say, that initially imports database In be not all programmed for the ID number of the web camera to burning, MAC Address, their program state value can use 0 It indicates, represents non-burning, after this record is programmed, program state value is changed to 1, represents burning.
Further, record also carries the label of the program state for identifying this record.Generally, it is stored in number It can be indicated with numerical value 0 and 1 according to the label of the program state of the record in library, 0 represents non-burning, and 1 represents burning.
As shown in Fig. 2, in the flow diagram of the method for burn-recording of web camera of the invention, comprising the following steps:
S1, the request of data that at least two burning controlling terminals are sent is received simultaneously.
In this step, comprising:
S1-0, the data for receiving the record for same non-burning that at least two burning controlling terminals are sent simultaneously are asked It asks;
S1-1, the record for reading the non-burning from database according to the request of data, and change the record Program state.
S2, the record of a non-burning is read according to the request of data and changes the program state of the record.
Burning controlling terminal corresponding to the corresponding request of data of program state of the record is changed in S3, selection at first.
S4, the data in the record are burnt to and the corresponding burning by the corresponding burning controlling terminal In the connected web camera of controlling terminal.
Whether S5, the data for judging in the record are successfully burnt to described connected with the corresponding burning controlling terminal Web camera in;If it is not, then changing the program state of the record again;Again the burning shape for changing the record State includes updating the program state of the record to non-burning by burning.
S6, if so, to the web camera carry out labeling printing.
Alternatively, above-mentioned record includes the burning of the ID number for the web camera to burning, MAC Address, ID number The program state of state and MAC Address.And the record in database carries the mark of the program state for identification record Note.Generally, the label for saving the program state of record in the database can indicate with numerical value 0 and 1, and 0 represents non-burning, 1 Represent burning.
Specifically, by taking two burning controlling terminals as an example, such as burning controlling terminal A and burning controlling terminal B.Before burning, The data management staff of test platform will the ID number of burning and the burning of MAC Address and the program state of ID number, MAC Address Record state is imported into the database of test platform.
Firstly, burning controlling terminal A and burning controlling terminal B send data to test platform simultaneously and ask when burning starts A and request of data b are asked, read module 102 reads the record of a non-burning according to the multiple request of data received simultaneously, and The program state of the record of the non-burning of this is changed to burning by non-burning.It is to be appreciated that by this record into Its program state is changed to burning by non-burning before row burning, when subsequent time receives new request of data, can be had Effect avoids the problem that the number of robbing generation., then when burning controlling terminal B sequentially sends request of data, due to the burning of this record State has been changed to burning, and therefore, read module 102 receives the data of burning controlling terminal B in receiving module 101 When request, this record is no longer read, but reads another record not being programmed, and then can effectively avoid the number of robbing The problem of occur.
Secondly, test platform is first according to request of data and burning controlling terminal after the program state for changing this record Between corresponding relationship save relevant corresponding informance (i.e. the corresponding informance of request of data and burning controlling terminal), successively to more The burning controlling terminal for changing the program state of this record is ranked up, and selects the program state for changing this record at first Corresponding burning controlling terminal.In other words, the change of the program state recorded to this need to be judged at first by choosing module 103 It is first to be modified by any platform at least two burning controlling terminals.For example, the same time hair of burning terminal A and burning terminal B Request of data a and request of data b are sent, and has equally got a record, it is assumed that for record X, read module 102 connects at the same time The program state for starting more new record X after request of data a and request of data b is received, test platform need to judge this when be root Which request of data to have changed the program state of record X according to;If read module 102 will first record the burning of X according to request of data a Record state is changed to burning by non-burning, and read module 102 is further according to request of data b by the program state for recording X by not burning Record is changed to burning, because the program state of record X is more corrected one's mistakes according to request of data a, record the burning of X State no longer changes, and can judge that the program state for recording X is the request of data a sent according to burning controlling terminal A at this time Modification, at this point, burning controlling terminal B then needs to send request of data to test platform again, obtains need burning again Data.
Then, choose module 103 in select change at first record the corresponding request of data of program state it is corresponding It, can be by the data recording in this record into the corresponding burning controlling terminal, as previously mentioned, working as after burning controlling terminal Judge that the program state for recording X is that the request of data a sent according to burning controlling terminal A is modified in choosing module 103, Then the data for recording X (including ID number, MAC Address) are burnt to by burning controlling terminal A and are controlled eventually with burning by test platform In the web camera for holding A connected.It is to be appreciated that other burnings control is eventually when burning controlling terminal A is during burning Hold to test platform send request of data when, the data of the record of burning controlling terminal A institute burning are no longer read, thus effectively Avoid occur during burning the problem of number of robbing occur (identical burning data is obtained, such as identical ID number, MAC Location etc.);And during burning controlling terminal A burning, other burning controlling terminals are not influenced and obtain burning data.
Finally, sentencing after the data for recording X are burnt to coupled web camera by burning controlling terminal A Whether ID number and MAC Address in disconnected record X are successfully burnt in the web camera, if so, to the web camera into Rower patch printing, completes burning;If it is not, then update the program state of change record X, i.e., by record X in the database more New state is changed to not update and (program state value is changed to 0 by 1) again.
Above embodiments only technical concepts and features to illustrate the invention, its object is to allow person skilled in the art Scholar can understand the contents of the present invention and implement accordingly, can not limit the scope of the invention.It is all to be wanted with right of the present invention The equivalent changes and modifications that range is done are sought, should belong to the covering scope of the claims in the present invention.
It should be understood that for those of ordinary skills, it can be modified or changed according to the above description, And all these modifications and variations should all belong to the protection domain of appended claims of the present invention.

Claims (9)

1. a kind of method for burn-recording of web camera, which comprises the following steps:
S1, receiving module receive the request of data that at least two burning controlling terminals are sent simultaneously;
The step S1 includes:
S1-0, the request of data for receiving the record for same non-burning that at least two burning controlling terminals are sent simultaneously;
S2, read module read the record of a non-burning according to the request of data and change the program state of the record;
S3, selection module selection change the control of burning corresponding to the corresponding request of data of program state of the record eventually at first End;
S4, burning module by the data in the record by the corresponding burning controlling terminal be burnt to it is described corresponding In the connected web camera of burning controlling terminal.
2. the method for burn-recording of web camera according to claim 1, which is characterized in that also wrapped before the step S1 It includes:
In the database by the record storage.
3. the method for burn-recording of web camera according to claim 1, which is characterized in that the method also includes:
S5, judge whether the data in the record are successfully burnt to the net being connected with the corresponding burning controlling terminal In network video camera;
S6, if so, to the web camera carry out labeling printing.
4. the method for burn-recording of web camera according to claim 3, which is characterized in that the step S5 includes:
If it is not, then changing the program state of the record again.
5. the method for burn-recording of web camera according to claim 4, which is characterized in that described to change the record again Program state include updating the program state of the record to non-burning by burning.
6. the method for burn-recording of web camera according to any one of claims 1 to 5, which is characterized in that the record packet Include the program state of the ID number for the web camera to burning, MAC Address, the program state of ID number and MAC Address.
7. the method for burn-recording of web camera according to claim 6, which is characterized in that the record is carried for marking Know the label of the program state of the record.
8. a kind of programming system of web camera characterized by comprising
Receiving module, the request of data sent for receiving at least two burning controlling terminals simultaneously;The receiving module is used for The request of data for the record for same non-burning that at least two burning controlling terminals are sent is received simultaneously;
Read module, for reading the record of a non-burning according to the request of data and changing the burning shape of the record State;
Module is chosen, changes the control of burning corresponding to the corresponding request of data of program state of the record at first for choosing Terminal;
Burning module, for by the data in the record by the corresponding burning controlling terminal be burnt to it is described corresponding The connected web camera of burning controlling terminal in.
9. the programming system of web camera according to claim 8, which is characterized in that the record includes for burning The ID number of web camera, MAC Address, the program state of ID number and MAC Address program state.
CN201710112790.6A 2017-02-28 2017-02-28 A kind of method for burn-recording and system of web camera Active CN107027021B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710112790.6A CN107027021B (en) 2017-02-28 2017-02-28 A kind of method for burn-recording and system of web camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710112790.6A CN107027021B (en) 2017-02-28 2017-02-28 A kind of method for burn-recording and system of web camera

Publications (2)

Publication Number Publication Date
CN107027021A CN107027021A (en) 2017-08-08
CN107027021B true CN107027021B (en) 2019-06-04

Family

ID=59525391

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710112790.6A Active CN107027021B (en) 2017-02-28 2017-02-28 A kind of method for burn-recording and system of web camera

Country Status (1)

Country Link
CN (1) CN107027021B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109189410B (en) * 2018-08-21 2022-03-15 铁将军汽车电子股份有限公司 Burning method, device and equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1696926A (en) * 2004-05-15 2005-11-16 鸿富锦精密工业(深圳)有限公司 MAC system of automatic assigning addresses and method
CN104954502A (en) * 2014-03-31 2015-09-30 研祥智能科技股份有限公司 MAC address updating method in production line and system thereof
CN105511893A (en) * 2014-09-24 2016-04-20 比亚迪股份有限公司 Method and device for programming software

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8984107B2 (en) * 2011-05-26 2015-03-17 Electric Imp Incorporated Optically configured modularized control system to enable wireless network control and sensing of other devices

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1696926A (en) * 2004-05-15 2005-11-16 鸿富锦精密工业(深圳)有限公司 MAC system of automatic assigning addresses and method
CN104954502A (en) * 2014-03-31 2015-09-30 研祥智能科技股份有限公司 MAC address updating method in production line and system thereof
CN105511893A (en) * 2014-09-24 2016-04-20 比亚迪股份有限公司 Method and device for programming software

Also Published As

Publication number Publication date
CN107027021A (en) 2017-08-08

Similar Documents

Publication Publication Date Title
CN104137439B (en) Equity finds
CN109901848A (en) A kind of device parameter method for burn-recording and device
CN110177399A (en) One kind is the same as screen method for connecting network, device, smart machine and storage medium
CN106412483A (en) Camera sharing method and apparatus
CN108184260B (en) Network state identification method and device of Zigbee node
CN111641997B (en) Equipment network access method and device based on Bluetooth Mesh network, and storage medium
CN107707370B (en) Group communication method, server, terminal and computer storage medium
CN110096685A (en) A kind of device identification generation method and device
US20210306297A1 (en) Manufacturing line computer system and network setup method of the same
CN105722089B (en) A kind of equipment authentication method
CN107027021B (en) A kind of method for burn-recording and system of web camera
CN106294386B (en) Task distribution executes method and system
CN103701653B (en) The processing method of a kind of interface hot plug configuration data and network configuration server
CN101827078A (en) Inquiry method, server and communication system for configured data difference
CN106775664A (en) A kind of method and device for determining theme scheme of colour
CN111641996B (en) Equipment network access method and device based on Bluetooth Mesh network, and storage medium
CN106453021A (en) Internet of things device control method and device
CN107801047B (en) Object specifying method, storage medium, electronic device and system for making friends through video
CN108347478A (en) Control method, fruits and vegetables automatic cutting equipment and the system of automatic cutting fruits and vegetables
CN107733785A (en) A kind of multiple terminals chat message synchronization removal method and device
CN105450679A (en) Method and system for performing data cloud storage
CN106453123A (en) Cross-region business processing method and apparatus
US10452519B2 (en) Integrated resource scheduler, configurator, and visualizer
CN112162512B (en) Cooking scheduling method, cooking system, and storage medium
CN106686266B (en) For realizing the methods, devices and systems of automatic-answering back device

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
GR01 Patent grant
GR01 Patent grant