CN102904640A - Address code updating method and device - Google Patents

Address code updating method and device Download PDF

Info

Publication number
CN102904640A
CN102904640A CN2012104368738A CN201210436873A CN102904640A CN 102904640 A CN102904640 A CN 102904640A CN 2012104368738 A CN2012104368738 A CN 2012104368738A CN 201210436873 A CN201210436873 A CN 201210436873A CN 102904640 A CN102904640 A CN 102904640A
Authority
CN
China
Prior art keywords
light signal
geocoding
renewal
updated
visible light
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2012104368738A
Other languages
Chinese (zh)
Other versions
CN102904640B (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.)
Zhuhai Hengqin Huace Photo-Communication Technology Co., Ltd.
Original Assignee
BEIJING SEMICONDUCTOR LIGHTING TECHNOLOGY PROMOTION CENTER
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 BEIJING SEMICONDUCTOR LIGHTING TECHNOLOGY PROMOTION CENTER filed Critical BEIJING SEMICONDUCTOR LIGHTING TECHNOLOGY PROMOTION CENTER
Priority to CN201210436873.8A priority Critical patent/CN102904640B/en
Publication of CN102904640A publication Critical patent/CN102904640A/en
Application granted granted Critical
Publication of CN102904640B publication Critical patent/CN102904640B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Optical Communication System (AREA)

Abstract

The invention discloses an address code updating method and device. The updating method comprises the steps that: a visible light transmission device receives an updating light signal sent by the address code updating device, wherein a command after the updating light signal is decoded comprises a target address code; the visible light transmission device decodes the updating light signal; and the visible light transmission device updates the address code into the target address code according to the command obtained after decoding. According to the invention, the light signal is conveyed by using visible light so that the address code is decoded without dismounting a device to be updated, thus device disassembly and assembly time is saved, the device to be updated is not needed to be preserved with a burn line interface to be connected with a burn line, thus the address code updating method is convenient and simple in operation.

Description

The update method of geocoding and updating device
Technical field
The present invention relates to optical communication field, in particular to a kind of update method and updating device of geocoding.
Background technology
In the transmission system that adopts the visible light realization communication information, the reflector of visible light and receiver all need to have the geocoding of oneself, generally speaking, the production firm of reflector and receiver is geocoding of the pre-burning of meeting when dispatching from the factory, but the user is when carrying out the establishment of transmission system, need to distribute the go forward side by side renewal of row address coding of address to each reflector or receiver apparatus according to actual applying working condition.
Adopt at present following update mode:
Mode one is taken out the address chip in reflector or the receiver apparatus from equipment, be put into the renewal of its enterprising row address coding of special burning chip;
Mode two by the burning interface of reserving on reflector or the receiver apparatus, is inserted the burning line, carries out programming by PC or cd-rom recorder.
Aforesaid way one needs to take out address chip, and mode two needs to connect burning line, complicated operation, wasting manpower and material resources.
Problem in the correlation technique transmission of visible light transfer device being carried out geocoding complicated operation when upgrading not yet proposes effective solution at present.
Summary of the invention
Main purpose of the present invention is to provide a kind of update method and updating device of geocoding, the problem of complicated operation when with solution the transmission of visible light transfer device being carried out the geocoding renewal.
To achieve these goals, according to an aspect of the present invention, provide a kind of update method of geocoding.
Update method according to geocoding of the present invention comprises: the renewal light signal that the updating device of transmission of visible light transfer device receiver address coding sends, wherein, upgrade the decoded instruction of light signal and comprise the destination address coding; The transmission of visible light transfer device will upgrade light signal and decode; And the transmission of visible light transfer device is updated to the destination address coding according to the instruction that obtains after decoding with geocoding.
Further, after carrying out the geocoding renewal, the method also comprises: the transmission of visible light transfer device sends the checking light signal to updating device, so that geocoding definite the upgrade result of updating device according to the destination address coding and after upgrading, wherein, checking light signal decoded instruction comprises the geocoding after the transmission of visible light renewal of the equipment; And the transmission of visible light transfer device receives as a result light signal of renewal that updating device sends, wherein, upgrades the renewal result that the as a result decoded instruction of light signal comprises that updating device is determined.
Further, before carrying out the geocoding renewal, the method also comprises: the transmission of visible light transfer device judges whether upgrade light signal satisfies default address update condition, wherein, the transmission of visible light transfer device according to decoding after the instruction that obtains geocoding be updated to the destination address coding comprise: when upgrading light signal and satisfy default address update condition, the instruction that the transmission of visible light transfer device obtains after according to decoding is updated to the destination address coding with geocoding.
Further, the transmission of visible light transfer device judge to upgrade light signal and whether satisfies default address update condition and comprise: the transmission of visible light transfer device judges that the difference that receives time of upgrading light signal and the available machine time of transmission of visible light transfer device is whether within the time difference scope of presetting; The transmission of visible light transfer device judges whether the coded system of upgrading light signal is consistent with default coded system; And/or the transmission of visible light transfer device judges whether upgrade the decoded instruction of light signal comprises default update instruction.
Further, upgrading light signal is the light signal that visible light produces according to the Preset Time interval flashing, and the transmission of visible light transfer device is judged the coded system of upgrading light signal and default coded system consistent comprising whether: the transmission of visible light transfer device judges whether a plurality of time intervals corresponding to renewal light signal comprise very first time interval; And comprising the very first time during interval when a plurality of time intervals, the coded system that the transmission of visible light transfer device determines to upgrade light signal is consistent with the coded system of presetting.
Further, comprise the very first time during interval when upgrading a plurality of time intervals corresponding to light signal, the transmission of visible light transfer device will upgrade light signal and decode and comprise: the transmission of visible light transfer device judges whether the renewal time interval corresponding to light signal is very first time interval; Be very first time during the interval when upgrading the time interval corresponding to light signal, the transmission of visible light transfer device judges that very first time interval upgrades whether the time interval corresponding to light signal is second time interval or the 3rd time interval afterwards; And when the renewal time interval corresponding to light signal was second time interval, the transmission of visible light transfer device will upgrade light signal, and to be decoded as digital signal be 0, when the renewal time interval corresponding to light signal was the 3rd time interval, the transmission of visible light transfer device will upgrade light signal, and to be decoded as digital signal be 1, wherein, very first time interval, second time interval and the 3rd time interval are the different time intervals.
Further, the length at very first time interval is respectively greater than the length in second time interval and the 3rd time interval.
Further, before receiving the renewal light signal, the method also comprises: the transmission of visible light transfer device sends the update request light signal to updating device, and wherein, the update request light signal is the light signal corresponding with upgrading front geocoding.
To achieve these goals, according to an aspect of the present invention, provide the update method of another kind of geocoding.
Update method according to geocoding of the present invention comprises: the updating device of geocoding obtains geocoding to be updated and destination address coding; Updating device generates according to the destination address coding and upgrades light signal, wherein, upgrades the decoded instruction of light signal and comprises the destination address coding; And updating device sends the extremely equipment to be updated of light signal that upgrades, so that equipment to be updated is updated to the destination address coding according to upgrading light signal with geocoding to be updated, wherein, equipment to be updated is the transmission of visible light transfer device corresponding with geocoding to be updated.
Further, send to upgrade light signal to the equipment to be updated, the method also comprises: updating device receives the checking light signal that equipment to be updated sends, and wherein, the decoded instruction of checking light signal comprises the geocoding after the renewal of the equipment to be updated; Whether the geocoding after updating device relatively upgrades is consistent with the destination address coding; Updating device determines to upgrade the result according to comparative result; Updating device generates as a result light signal of renewal according to upgrading the result, wherein, upgrades the as a result decoded instruction of light signal and comprises the renewal result; And updating device send to upgrade as a result light signal to equipment to be updated.
Further, updating device send to upgrade light signal to equipment to be updated and comprises: the geocoding after upgrading and destination address are encoded when inconsistent, and updating device sends the extremely equipment to be updated of light signal that upgrades.
Further, updating device obtains geocoding to be updated and comprises: updating device receives the update request light signal that equipment to be updated sends, and wherein, the decoded instruction of update request light signal comprises geocoding to be updated; And updating device is update request light signal decoding, and to obtain geocoding to be updated, updating device obtains the destination address coding and comprises: updating device obtains the destination address coding of user's input.
To achieve these goals, according to a further aspect in the invention, provide a kind of updating device of geocoding.
Updating device according to geocoding of the present invention comprises: acquiring unit is used for obtaining geocoding to be updated and destination address coding; Control unit is connected with acquiring unit, is used for generating the renewal light signal according to the destination address coding, wherein, upgrades the decoded instruction of light signal and comprises the destination address coding; And transmitter unit, be connected with control unit, be used for sending and upgrade light signal to equipment to be updated, so that equipment to be updated is updated to the destination address coding according to upgrading light signal with geocoding to be updated, wherein, equipment to be updated is the transmission of visible light transfer device corresponding with geocoding to be updated.
Further, returning apparatus also comprises: receiving element, be connected with control unit, be used for sending at transmitter unit and upgrade light signal to the equipment to be updated, receive the checking light signal that equipment to be updated sends, wherein, checking light signal decoded instruction comprises the geocoding after the renewal of the equipment to be updated; Control unit also is used for geocoding after renewal and destination address and encodes when consistent, the renewal result that generation is updated successfully, geocoding after renewal and destination address are encoded when inconsistent, generate and upgrade failed renewal result, and generate according to the renewal result who generates and to upgrade as a result light signal, wherein, upgrade the as a result decoded instruction of light signal and comprise the renewal result; Transmitter unit also be used for to send upgrades as a result light signal to equipment to be updated.
Further, transmitter unit also is used for geocoding and destination address after upgrading encodes when inconsistent, resends extremely equipment to be updated of renewal light signal.
By the present invention, adopt the geocoding update method that may further comprise the steps: the renewal light signal that the updating device of transmission of visible light transfer device receiver address coding sends, wherein, upgrade the decoded instruction of light signal and comprise the destination address coding; The transmission of visible light transfer device will upgrade light signal and decode; And the transmission of visible light transfer device is updated to the destination address coding according to the instruction that obtains after decoding with geocoding, utilize visible light to carry light signal to finish the renewal of geocoding, need not to disassemble equipment to be updated, equipment dismounting and built-up time have been saved, also need not equipment reservation burning line interface to be updated is connected with the burning line, solved the problem of the transmission of visible light transfer device being carried out geocoding complicated operation when upgrading, and then it is convenient to have reached when the transmission of visible light transfer device is carried out geocoding operation, effect simple to operation.
Description of drawings
The accompanying drawing that consists of the application's a part is used to provide a further understanding of the present invention, and illustrative examples of the present invention and explanation thereof are used for explaining the present invention, do not consist of improper restriction of the present invention.In the accompanying drawings:
Fig. 1 is the block diagram according to the geocoding update system of first embodiment of the invention;
Fig. 2 is the schematic diagram of update system embodiment illustrated in fig. 1;
Fig. 3 is the block diagram according to the geocoding update system of second embodiment of the invention;
Fig. 4 is the schematic diagram of update system embodiment illustrated in fig. 3;
Fig. 5 is the workflow diagram of update system embodiment illustrated in fig. 4;
Fig. 6 is the block diagram according to the geocoding updating device of the embodiment of the invention;
Fig. 7 is the flow chart according to the geocoding update method of first embodiment of the invention;
Fig. 8 is the flow chart according to the geocoding update method of second embodiment of the invention;
Fig. 9 (a) to Fig. 9 (c) be schematic diagram according to the coded optical signal mode of the embodiment of the invention; And
Figure 10 is the corresponding schematic diagram with digital signal of light signal according to the embodiment of the invention;
Embodiment
Need to prove that in the situation of not conflicting, embodiment and the feature among the embodiment among the application can make up mutually.Describe below with reference to the accompanying drawings and in conjunction with the embodiments the present invention in detail.
The update system of the geocoding that this embodiment of paper provides.
Fig. 1 is the block diagram according to the geocoding update system of first embodiment of the invention, and the update system of this embodiment is used for the renewal to transmission of visible light transfer device (comprising receiver and reflector) geocoding.As shown in Figure 1, this system comprises PC, optical signal transmitter, transmission of visible light transfer device and optical signal receiver to be updated.
PC is used for providing the destination address coding, sends the destination address coding to optical signal transmitter; Optical signal transmitter is used for generating the renewal light signal according to the destination address coding, be that light signal obtains upgrading light signal by predetermined coded system with the destination address code conversion for example, so that the recipient can access the destination address coding after upgrading the light signal decoding, and will upgrade light signal and be sent to transmission of visible light transfer device to be updated; Transmission of visible light transfer device to be updated receives and upgrades light signal, to upgrade light signal decodes, obtain the destination address coding after the decoding, chip by self is updated to the destination address coding with current geocoding, and the geocoding after will upgrading is converted to light signal according to above-mentioned predetermined coded system again and is verified light signal, and then will verify that light signal sends optical signal receiver to; The checking light signal decoding that optical signal receiver will receive, the geocoding that decoding is obtained returns to PC, so that PC is finished the checking of geocoding.
As example, as shown in Figure 2, this system is as follows to the workflow that geocoding in the head lamp upgrades take transmission of visible light transfer device to be updated as the head lamp that uses in mine:
1, the user provides geocoding to computer (PC) input destination address coding by computer;
2, computer sends to reflector with geocoding;
3, reflector is encoded geocoding and default update instruction and is obtained light signal according to default coded system, also is coded command, then coded command is sent to head lamp;
4, head lamp is the equipment of address to be updated, wait for and receive geocoding and the default update instruction that the form of expression is light signal, the time of start in the 30s as geocoding update time, if when this 30s receives geocoding, satisfy the update condition one of geocoding, and then light signal decoded, whether the coded system of judging light signal is the coded system of presetting, if coded system is the coded system of presetting, then determine to satisfy the update condition two of geocoding, at last in judging the decoded instruction that obtains, whether comprise update instruction, if comprise default update instruction in the instruction that obtains after the decoding, then determine to satisfy the update condition three of geocoding, after determining to satisfy all update condition, head lamp carries out the renewal of geocoding;
5, head lamp generates the checking optical return signal according to the geocoding after upgrading again and passes to receiver;
6, the receiver checking light signal decoding that will receive obtains the current geocoding of head lamp, then the current geocoding of equipment to be updated (also being head lamp) is returned to computer;
7, whether computer is encoded according to destination address and is received the code verification coding that returns and upgrade correct, if it is identical with the destination address coding to receive new address, scheduler finishes, if it is different from the destination address coding to receive new address, repeat above-mentioned steps 1 to step 6, until the address is upgraded and finished or exceed geocoding update time.
In the update system of this embodiment, utilize visible light to carry light signal to finish the renewal of geocoding, in start 30S, with the geocoding generation light signal of encoding, finish the renewal to the geocoding of transmission of visible light transfer device (reflector or receiver), do not want device for disassembling, equipment dismounting and built-up time have been saved, also need not to reserve the burning line interface is connected with the burning line, can satisfy the water-tight demand such as equipment such as down-hole mine lamps, accomplish contactless scheduler information, operation is convenient, and is simple to operation.In addition, when adopting light signal to carry out the geocoding renewal, also can upgrade simultaneously a plurality of equipment by the mode of broadcasting.
Owing to send the light signal with specific update instruction within the specific time, and this light signal is to adopt predetermined coded system coding to obtain the destination address coding, thereby when geocoding upgraded, update mode was safe and reliable, can avoid the mistake renewal.
Confirm function owing to increase address information after having upgraded the address, whether the geocoding after the renewal of confirming to feed back by PC is consistent with the destination address coding, and it is more accurate that the address is upgraded.
Fig. 3 is the block diagram according to the geocoding update system of second embodiment of the invention, and the update system of this embodiment is used for the renewal to transmission of visible light transfer device (comprising receiver and reflector) geocoding.As shown in Figure 3, this system comprises transmission of visible light transfer device to be updated and the updating device of geocoding.
Updating device among this embodiment is handheld device movably, and the renewal personnel carry this device near the certain limit the equipment to be updated, can finish the renewal for the treatment of the middle geocoding of updating the equipment by the operation updating device.
So that being carried out address device, the light fixture as optical signal transmitter is updated to example, as shown in Figure 4, light fixture to be updated with update the equipment by the renewal that can finish alternately the light fixture geocoding of 7 steps, the concrete steps of the workflow of this system are as shown in Figure 5, and are specific as follows:
1., in the Preset Time section after light fixture is opened, be light signal with the current address code conversion, according to the light signal work after the conversion, in the time of near updating device is positioned at light fixture, can receive the light signal that light fixture sends, also be that light fixture sends the light fixture address to the mobile update device;
2., mobile update device receiving optical signals and decoding, obtain corresponding light fixture address, and the light fixture address that will obtain after will decoding is presented on the screen;
3., the renewal personnel are according to the light fixture address that shows, the target address information that needs are upgraded is input to display screen;
4., the updating device target address information that will need to upgrade is encoded to light signal, and sends to light fixture;
5., light fixture receives light signal and decoding, the MCU of light fixture analyzes and judges whether decoded geocoding satisfies update condition (for example whether satisfy embodiment illustrated in fig. 2 in update condition one, two, three), if satisfy, then scheduler is encoded;
6., after light fixture upgraded geocoding, the geocoding after upgrading is converted to light signal, to send the new geocoding of light fixture to the mobile update device by light fixture;
7., updating device receives the new address of light fixture and shows by display screen, and judge whether consistent with target address information, if consistent, scheduler finishes, if inconsistent, repeat above-mentioned steps 4 to step 6, until the address is upgraded and finished or exceed geocoding update time.
The update system that this embodiment provides can reach the effect of embodiment illustrated in figures 1 and 2, and in addition, updating device is set to independently mobile device, during renewal flexibility strong, facility is more seen in operation.
Next introduces the updating device of the geocoding that this embodiment provides, and any one following updating device all can be applicable to update system shown in Figure 3.
Fig. 6 is the block diagram according to the geocoding updating device of the embodiment of the invention, and this updating device can be by the renewal to the geocoding of transmission of visible light transfer device of being transmitted of light signal.As shown in Figure 6, this updating device comprises controller MCU, input unit, receiving element, display unit and transmitter unit.
Input unit receives the destination address coding of user's input as the acquiring unit that is used for obtaining the destination address coding, also can be used as be used to the acquiring unit that obtains geocoding to be updated, receives the geocoding to be updated of user's input.The original address that can in controller MCU, prestore coding and corresponding destination address coding and corresponding relation, controller MCU can analyze the relation of the coding of geocoding that input unit receives and storage, when the geocoding that receives and the original address that prestores are encoded when consistent, what determine that the user inputs is geocoding to be updated, and get access to simultaneously the destination address coding according to corresponding relation, encode when consistent when the geocoding that receives and destination address, what determine that the user inputs is the destination address coding.
When getting access to the destination address coding by input unit, can obtain geocoding to be updated by receiving element, alternatively, receiving element receives the update request light signal that equipment to be updated sends, the decoded instruction of this update request light signal comprises the geocoding before the renewal of the equipment to be updated, the update request light signal that geocoding before for example equipment to be updated will upgrade is encoded and obtained, also can comprise the update request instruction, controller MCU is decoded as the destination address coding with the update request light signal.
Updating device gets access to geocoding to be updated and destination address coding, by transmitter unit the destination address coding is sent to transmission of visible light transfer device corresponding to geocoding to be updated.Particularly, control unit generates according to the destination address coding and upgrades light signal, the instruction that obtains after this renewal light signal decoding comprises the destination address coding, need to prove, the renewal light signal at this place can be for only being comprised of the light signal that obtains behind the destination address coding, also can be formed by the light signal that obtains behind destination address coding and the update instruction coding, transmitter unit can comprise control section and light fixture part, control section control light fixture part is luminous according to upgrading light signal, thereby will upgrade light signal and be sent to equipment to be updated, and then make equipment to be updated according to upgrading light signal geocoding to be updated is updated to the destination address coding, finish the renewal of geocoding.
Updating device by this embodiment, utilize visible light to carry light signal to finish the renewal of geocoding, need not to disassemble equipment to be updated, equipment dismounting and built-up time have been saved, also need not equipment reservation burning line interface to be updated and be connected with the burning line, can satisfy the water-tight demand such as equipment such as down-hole mine lamps, accomplish contactless scheduler information, operation is convenient, and is simple to operation.
Preferably, equipment to be updated generates the checking light signal according to the geocoding after upgrading after finishing the address renewal, the instruction that obtains after this checking light signal decoding comprises the geocoding after the renewal, also can comprise default checking instruction, will verify that light signal is back to updating device.The receiving element of updating device receives the checking light signal that equipment to be updated sends, control unit also is used for verifying the light signal decoding, geocoding after obtaining upgrading, and judge whether the geocoding after upgrading is consistent with the destination address coding, geocoding after renewal and destination address are encoded when consistent, the renewal result that generation is updated successfully, geocoding after renewal and destination address are encoded when inconsistent, generate and upgrade failed renewal result, and generate and upgrade as a result light signal according to upgrading the result, the instruction that obtains after the as a result light signal decoding of this renewal comprises the renewal result, and transmitter unit also is used for sending and upgrades as a result light signal to equipment to be updated.
Decoding obtained upgrading the result after equipment to be updated received and upgrades as a result light signal, when decoded renewal result's renewal failure, whether satisfy the analysis of geocoding update condition when again receiving new light signal, when being updated successfully of decoded renewal result, directly decode when receiving again new light signal and be instruction, carry out accordingly operation.
Adopt this preferred embodiment, confirm function owing to increase address information after having upgraded the address, the geocoding after upgrading is fed back, it is more accurate that the address is upgraded.
Further preferably, when upgrading unsuccessfully, control unit control light fixture continues to send the renewal light signal to equipment to be updated, until the geocoding after the renewal of feedback is consistent with the destination address coding.
Display unit wherein is used for the demonstration of geocoding, comprises the demonstration of the destination address coding that gets access to and geocoding to be updated, also comprises the demonstration to the geocoding after the renewal that feeds back.
By display unit is set geocoding is shown, be beneficial to and upgrade the personnel operation renewal, so that the renewal process of geocoding is more directly perceived.
Introduce at last the update method of the geocoding that this embodiment provides, below the update method of geocoding that the embodiment of the invention is provided be introduced.Need to prove, the updating device of the geocoding that can provide by the embodiment of the invention in the update method of the geocoding of the embodiment of the invention is carried out, and the updating device of the geocoding of the embodiment of the invention also can be used for carrying out the update method of the geocoding that the embodiment of the invention provides.
Fig. 7 is the flow chart according to the geocoding update method of first embodiment of the invention, and as shown in Figure 7, the method comprises that following step S102 is to step S106.
Step S102: the renewal light signal that the updating device of transmission of visible light transfer device receiver address coding sends, wherein, upgrade the decoded instruction of light signal and comprise the destination address coding.
After the updating device of geocoding gets access to geocoding to be updated and destination address coding, generate the light signal (renewal light signal) corresponding with the destination address coding, for example the destination address coding is encoded to light signal according to default coded system, this light signal is the visible light signal according to the Preset Time interval flashing, and this light signal is sent to transmission of visible light transfer device corresponding to geocoding to be updated.
Step S104: the transmission of visible light transfer device will upgrade light signal and decode.
Step S106: the transmission of visible light transfer device is updated to the destination address coding according to the instruction that obtains after decoding with geocoding.
The transmission of visible light transfer device is decoded to light signal after receiving and upgrading light signal, obtains corresponding instruction (comprising the destination address coding), and according to this instruction geocoding to be updated is updated to the destination address coding, finishes the renewal to the geology coding.
Update method by this embodiment, utilize visible light to carry light signal to finish the renewal of geocoding, need not to disassemble equipment to be updated, equipment dismounting and built-up time have been saved, also need not equipment reservation burning line interface to be updated and be connected with the burning line, can satisfy the water-tight demand such as equipment such as down-hole mine lamps, accomplish contactless scheduler information, operation is convenient, and is simple to operation.
Fig. 8 is the flow chart according to the geocoding update method of second embodiment of the invention, and as shown in Figure 8, the method comprises that following step S202 is to step S222.
Step S202: light signal corresponding to emission current address coding during the transmission of visible light device power-up.
Step S204: updating device is when receiving this light signal, light signal is decoded, and judge whether the coding that obtains after the decoding is up-to-date geocoding, what obtain after decoding is encoded to up-to-date geocoding, updating device is left intact, the coding that obtains after decoding is not up-to-date geocoding, then execution in step S206.
Step S206: updating device obtains up-to-date geocoding corresponding to coding after the decoding, and up-to-date geocoding is encoded to light signal according to default coded system sends to the transmission of visible light transfer device.
When the coding that obtains after the decoding is not up-to-date geocoding, updating device with the light signal that receives as the update request light signal, respond this update request light signal by upgrading light signal, the transmission of visible light transfer device is carried out the renewal of geocoding, wherein, upgrading light signal also is the light signal that up-to-date geocoding is encoded and obtained according to default coded system, also is light signal corresponding to destination address coding.
Step S208: after the transmission of visible light transfer device receives and upgrades light signal, decode to upgrading light signal, and judge whether to satisfy the condition that the address is upgraded.
Specifically can judge by following mode:
Mode one: when the condition setting of upgrading is upgraded for only carrying out in special time period, the transmission of visible light transfer device judges that the difference receive time of upgrading light signal and the available machine time of transmission of visible light transfer device is whether within the time difference scope of presetting, for example the poor scope of Preset Time is set to 30s, when the difference that receives time of upgrading light signal and available machine time is within 30s, the transmission of visible light transfer device is updated to the destination address coding according to the instruction that obtains after decoding with geocoding, otherwise does not upgrade.
Mode two: when the condition setting of upgrading is upgraded for only carrying out when meeting predetermined coded system, the transmission of visible light transfer device judges whether the coded system of upgrading light signal is consistent with default coded system, when the coded system of upgrading light signal was consistent with the coded system of presetting, the transmission of visible light transfer device was updated to the destination address coding according to the instruction that obtains after decoding with geocoding.
Preferably, upgrading light signal is the light signal that visible light produces according to the Preset Time interval flashing, finish the coding of geocoding by the time interval of different length, predetermined coded system can adopt such as Fig. 9 (a) to the coded system shown in Fig. 9 (c), wherein, Fig. 9 (a) is for upgrading instruction waveform schematic diagram corresponding to guidance code in the light signal, this guidance code is set to upgrade the identification information of light signal, when the time interval of twice flicker of light signal is 102us, determine that this light signal is for upgrading light signal.Fig. 9 (b) when the time interval of twice flicker of light signal is 22us, determines that the digital signal corresponding to light signal at this place is 0 for upgrading instruction waveform schematic diagram corresponding to digital signal " 0 " in the light signal.Fig. 9 (c) when the time interval of twice flicker of light signal is 32us, determines that the digital signal corresponding to light signal at this place is 1 for upgrading instruction waveform schematic diagram corresponding to digital signal " 1 " in the light signal.
The instruction waveform schematic diagram of the renewal light signal that obtains after adopting above-mentioned coded system that destination address is encoded as shown in figure 10, the transmission of visible light transfer device is after receiving the renewal light signal, when adopting aforesaid way two to carry out the judgement of address update condition, adopt following determining step: the transmission of visible light transfer device judges whether upgrade a plurality of time intervals corresponding to light signal comprises very first time interval, the MCU that also is visible light device obtains a plurality of time intervals by the time interval of calculating between per 2 trailing edges, judge whether each time interval equals very first time interval, the very first time interval at this place can be set to 102us, when existence is spaced apart 92us-112us sometime, the transmission of visible light transfer device determines that the coded system of light signal is consistent with default coded system, also namely satisfy the condition that the address receives, and should very first time interval as guidance code, signal after the guidance code is decoded, obtaining upgrading the text of light signal, also is geocoding.
Mode three: upgrade light signal and be the light signal that is obtained after the code conversion respectively by destination address coding and default update instruction, also namely upgrade the decoded instruction of light signal and comprise the destination address coding, also comprise default update instruction.The condition setting upgraded is carried out when upgrading for only comprise default update instruction in the decoded instruction of light signal, the transmission of visible light transfer device judges in the decoded instruction of light signal that receives whether comprise default update instruction, when comprising default update instruction in the light signal, the transmission of visible light transfer device is updated to the destination address coding according to the instruction that obtains after decoding with geocoding.
For example, update instruction is made as " 5A ", after the transmission of visible light device decodes obtains instruction, judges that whether the Fun position is " 5A ", when the Fun position that receives for " 5A " time, carry out the operation of scheduler, upgrade operation otherwise do not do the address.
Step S210: when this renewal light signal satisfied the condition of upgrading the address, the transmission of visible light transfer device was updated to the destination address coding according to the instruction that obtains after decoding with current geocoding.
When the signal after the guidance code is decoded, can adopt following decoding process:
After receiving guidance code, enter the accepting state of upgrading the light signal text, the MCU of transmission of visible light transfer device upgrades whether the time interval corresponding to light signal is second time interval or the 3rd time interval after judging guidance code, this place was set to 22us in second time interval, the 3rd is that momentary intervals is set to 32us, the MCU that also is visible optical transmission device judges that by calculating 2 times between the trailing edge digital signal that light signal represents is " 0 " or " 1 ", when the renewal time interval corresponding to light signal is 22us, the transmission of visible light transfer device will upgrade light signal, and to be decoded as digital signal be 0, when upgrading the time interval corresponding to light signal when being 32us, the transmission of visible light transfer device will upgrade light signal, and to be decoded as digital signal be 1.
The first, second, and third above-mentioned time interval is theoretical value, for guaranteeing the fault-tolerant ability in the actual transmissions process, each time interval is defined as a time range rather than a time value, for example, very first time interval is defined as 92us~112us, then comprise in corresponding a plurality of time intervals and any one time interval among 92us~112us just can be defined as satisfying the address update condition as long as upgrade light signal; Second time interval was defined as 15us~27us, then upgrades light signal and be any one time interval among 15us~27us in the corresponding time interval, just decodable code is that digital signal is 0; The 3rd time interval was defined as 27us~40us, then upgrades light signal and be any one time interval among 27us~40us in the corresponding time interval, just decodable code is that digital signal is 1.
Obtain the destination address coding by decoded digital signal instruction, thereby the MCU of transmission of visible light transfer device upgrades according to the destination address coding.
Step S212: after the transmission of visible light transfer device carries out the geocoding renewal, generate the checking light signal according to the geocoding after upgrading, the decoded instruction of this checking light signal comprises the geocoding after the renewal, also can comprise the checking instruction.
Step S214: the transmission of visible light transfer device sends the checking light signal to updating device.
Step S216: updating device will verify that light signal decodes the geocoding after obtaining upgrading.
Step S218: geocoding definite the upgrade result of updating device according to the destination address coding and after upgrading.
Geocoding after renewal and destination address are encoded when consistent, generate the renewal result who is updated successfully, and the geocoding after renewal and destination address are encoded when inconsistent, generate the failed renewal result of renewal.
Step S220: updating device will upgrade results conversion, and light signal is sent to visible light equipment in order to upgrade as a result, and wherein, the geocoding after renewal and destination address are encoded when inconsistent, return step S206 and re-execute.
Step S222: the transmission of visible light transfer device receives to upgrade and is decoded as the renewal result behind the light signal as a result.
When decoded renewal result's renewal failure, whether satisfy the analysis of geocoding update condition when receiving again new light signal, when being updated successfully of decoded renewal result, directly decode when receiving again new light signal and be instruction, carry out accordingly operation.
From above description, can find out, the present invention has realized following technique effect: utilize visible light to carry light signal to finish the renewal of geocoding, need not to disassemble equipment to be updated, saved equipment dismounting and built-up time, also need not equipment reservation burning line interface to be updated and be connected with the burning line, can satisfy the water-tight demand such as equipment such as down-hole mine lamps, accomplish contactless scheduler information, operation is convenient, and is simple to operation.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (15)

1. the update method of a geocoding is characterized in that, comprising:
The renewal light signal that the updating device of transmission of visible light transfer device receiver address coding sends, wherein, the decoded instruction of described renewal light signal comprises the destination address coding;
Described transmission of visible light transfer device is decoded described renewal light signal; And
Described transmission of visible light transfer device is updated to described destination address coding according to the instruction that obtains after decoding with geocoding.
2. the update method of geocoding according to claim 1 is characterized in that, after carrying out the geocoding renewal, described method also comprises:
Described transmission of visible light transfer device sends the checking light signal to described updating device, so that the geocoding of described updating device after according to described destination address coding and described renewal determined the renewal result, wherein, the decoded instruction of described checking light signal comprises the geocoding after the described transmission of visible light renewal of the equipment; And
Described transmission of visible light transfer device receives as a result light signal of renewal that described updating device sends, and wherein, the as a result decoded instruction of light signal of described renewal comprises the renewal result that described updating device is determined.
3. the update method of geocoding according to claim 1 is characterized in that, before carrying out the geocoding renewal, described method also comprises:
Described transmission of visible light transfer device judges whether described renewal light signal satisfies default address update condition,
Wherein, described transmission of visible light transfer device according to decoding after the instruction that obtains geocoding be updated to described destination address coding comprise: when described renewal light signal satisfied described default address update condition, the instruction that described transmission of visible light transfer device obtains after according to decoding was updated to described destination address coding with geocoding.
4. the update method of geocoding according to claim 3 is characterized in that, described transmission of visible light transfer device judges whether described renewal light signal satisfies default address update condition and comprise:
Described transmission of visible light transfer device judges that the difference of time of receiving described renewal light signal and the available machine time of described transmission of visible light transfer device is whether within the time difference scope of presetting;
Described transmission of visible light transfer device judges whether the coded system of described renewal light signal is consistent with default coded system; And/or
Described transmission of visible light transfer device judges whether the decoded instruction of described renewal light signal comprises default update instruction.
5. the update method of geocoding according to claim 4, it is characterized in that, whether the coded system that the described renewal light signal light signal that to be visible light produce according to the Preset Time interval flashing, described transmission of visible light transfer device are judged described renewal light signal and the coded system of presetting consistent comprising:
Described transmission of visible light transfer device judges whether a plurality of time intervals corresponding to described renewal light signal comprise very first time interval; And
Comprise the described very first time during interval when described a plurality of time intervals, described transmission of visible light transfer device determines that the coded system of described renewal light signal is consistent with described default coded system.
6. the update method of geocoding according to claim 5 is characterized in that, comprises the described very first time during interval when a plurality of time intervals corresponding to described renewal light signal, and described transmission of visible light transfer device is decoded described renewal light signal and comprised:
Described transmission of visible light transfer device judges whether the time interval corresponding to described renewal light signal is described very first time interval;
Be described very first time during the interval when the time interval corresponding to described renewal light signal, described transmission of visible light transfer device judges whether the time interval corresponding to described renewal light signal is second time interval or the 3rd time interval after the described very first time interval; And
When the time interval corresponding to described renewal light signal is described second time interval, it is 0 that described transmission of visible light transfer device is decoded as digital signal with described renewal light signal, when the time interval corresponding to described renewal light signal is described the 3rd time interval, it is 1 that described transmission of visible light transfer device is decoded as digital signal with described renewal light signal
Wherein, described very first time interval, described second time interval and described the 3rd time interval are the different time intervals.
7. the update method of geocoding according to claim 6 is characterized in that, the length at described very first time interval is respectively greater than the length in described second time interval and described the 3rd time interval.
8. the update method of geocoding according to claim 1 is characterized in that, before receiving described renewal light signal, described method also comprises:
Described transmission of visible light transfer device sends the update request light signal to described updating device, and wherein, described update request light signal is the light signal corresponding with upgrading front geocoding.
9. the update method of a geocoding is characterized in that, comprising:
The updating device of geocoding obtains geocoding to be updated and destination address coding;
Described updating device generates according to described destination address coding and upgrades light signal, and wherein, the decoded instruction of described renewal light signal comprises described destination address coding; And
Described updating device sends described renewal light signal to equipment to be updated, so that described equipment to be updated is updated to described destination address coding according to described renewal light signal with described geocoding to be updated, wherein, described equipment to be updated is the transmission of visible light transfer device corresponding with described geocoding to be updated.
10. the update method of geocoding according to claim 9 is characterized in that, is sending described renewal light signal to the described equipment to be updated, and described method also comprises:
Described updating device receives the checking light signal that described equipment to be updated sends, and wherein, the decoded instruction of described checking light signal comprises the geocoding after the described renewal of the equipment to be updated;
Whether the geocoding after the more described renewal of described updating device is consistent with described destination address coding;
Described updating device determines to upgrade the result according to comparative result;
Described updating device generates according to described renewal result and upgrades as a result light signal, and wherein, the as a result decoded instruction of light signal of described renewal comprises described renewal result; And
Described updating device send described renewal as a result light signal to described equipment to be updated.
11. the update method of geocoding according to claim 10 is characterized in that, described updating device sends described renewal light signal to described equipment to be updated and comprises:
Encode when inconsistent when the geocoding after the described renewal and described destination address, described updating device sends described renewal light signal to described equipment to be updated.
12. the update method of geocoding according to claim 9 is characterized in that,
Described updating device obtains geocoding to be updated and comprises: described updating device receives the update request light signal that described equipment to be updated sends, and wherein, the decoded instruction of described update request light signal comprises geocoding to be updated; And described updating device decodes described update request light signal, obtaining described geocoding to be updated,
Described updating device obtains described destination address coding and comprises: described updating device obtains the destination address coding of user's input.
13. the updating device of a geocoding is characterized in that, comprising:
Acquiring unit is used for obtaining geocoding to be updated and destination address coding;
Control unit is connected with described acquiring unit, is used for generating the renewal light signal according to described destination address coding, and wherein, the decoded instruction of described renewal light signal comprises described destination address coding; And
Transmitter unit, be connected with described control unit, be used for sending described renewal light signal to equipment to be updated, so that described equipment to be updated is updated to described destination address coding according to described renewal light signal with described geocoding to be updated, wherein, described equipment to be updated is the transmission of visible light transfer device corresponding with described geocoding to be updated.
14. the updating device of geocoding according to claim 13 is characterized in that, also comprises:
Receiving element, be connected with described control unit, be used for sending described renewal light signal to the described equipment to be updated at described transmitter unit, receive the checking light signal that described equipment to be updated sends, wherein, the decoded instruction of described checking light signal comprises the geocoding after the described renewal of the equipment to be updated;
Described control unit also is used for geocoding after described renewal and described destination address and encodes when consistent, the renewal result that generation is updated successfully, geocoding after described renewal and described destination address are encoded when inconsistent, generate and upgrade failed renewal result, and generate according to the renewal result who generates and to upgrade as a result light signal,, wherein, the as a result decoded instruction of light signal of described renewal comprises described renewal result;
Described transmitter unit also be used for sending described renewal as a result light signal to described equipment to be updated.
15. the updating device of geocoding according to claim 13, it is characterized in that, described transmitter unit also is used for encoding when inconsistent when the geocoding after the described renewal and described destination address, resends extremely described equipment to be updated of described renewal light signal.
CN201210436873.8A 2012-11-05 2012-11-05 The update method of geocoding and updating device Expired - Fee Related CN102904640B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210436873.8A CN102904640B (en) 2012-11-05 2012-11-05 The update method of geocoding and updating device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210436873.8A CN102904640B (en) 2012-11-05 2012-11-05 The update method of geocoding and updating device

Publications (2)

Publication Number Publication Date
CN102904640A true CN102904640A (en) 2013-01-30
CN102904640B CN102904640B (en) 2016-08-10

Family

ID=47576701

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210436873.8A Expired - Fee Related CN102904640B (en) 2012-11-05 2012-11-05 The update method of geocoding and updating device

Country Status (1)

Country Link
CN (1) CN102904640B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103825655A (en) * 2013-04-09 2014-05-28 常州市武进区半导体照明应用技术研究院 Positioning system and method of lighting device
CN104639242A (en) * 2014-12-30 2015-05-20 深圳华智测控技术有限公司 Streetlight lamp mark acquisition system and method
CN108287551A (en) * 2018-03-15 2018-07-17 马鞍山钢铁股份有限公司 Based on route round-trip industrial locomotive running gear and method
US10823345B2 (en) 2018-09-18 2020-11-03 Taizhou Jiaojiang Yingxing Electronic Co., Ltd. Decorative LED light string structure and assembling method thereof
CN117111970A (en) * 2023-10-24 2023-11-24 深圳唯创知音电子有限公司 Product burning method, burning information transmission method and related equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100028010A1 (en) * 2008-04-11 2010-02-04 The Directv Group, Inc. Method and system for updating a control device database via flashing light
CN101737909A (en) * 2009-12-25 2010-06-16 四川长虹空调有限公司 Method for setting address of indoor unit of central air conditioning system
CN101751768A (en) * 2008-12-09 2010-06-23 晨星软件研发(深圳)有限公司 Decoding method and device thereof
CN101953097A (en) * 2008-02-21 2011-01-19 三星电子株式会社 Apparatus and method for transmitting and receiving data using visible light communication

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101953097A (en) * 2008-02-21 2011-01-19 三星电子株式会社 Apparatus and method for transmitting and receiving data using visible light communication
US20100028010A1 (en) * 2008-04-11 2010-02-04 The Directv Group, Inc. Method and system for updating a control device database via flashing light
CN101751768A (en) * 2008-12-09 2010-06-23 晨星软件研发(深圳)有限公司 Decoding method and device thereof
CN101737909A (en) * 2009-12-25 2010-06-16 四川长虹空调有限公司 Method for setting address of indoor unit of central air conditioning system

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103825655A (en) * 2013-04-09 2014-05-28 常州市武进区半导体照明应用技术研究院 Positioning system and method of lighting device
CN103825655B (en) * 2013-04-09 2017-07-07 常州市武进区半导体照明应用技术研究院 The alignment system and method for a kind of lighting device
CN104639242A (en) * 2014-12-30 2015-05-20 深圳华智测控技术有限公司 Streetlight lamp mark acquisition system and method
CN104639242B (en) * 2014-12-30 2018-12-28 深圳华智测控技术有限公司 Road lamp identifies acquisition system and method
CN108287551A (en) * 2018-03-15 2018-07-17 马鞍山钢铁股份有限公司 Based on route round-trip industrial locomotive running gear and method
CN108287551B (en) * 2018-03-15 2024-03-08 马鞍山钢铁股份有限公司 Industrial locomotive traveling system and method based on fixed route round trip
US10823345B2 (en) 2018-09-18 2020-11-03 Taizhou Jiaojiang Yingxing Electronic Co., Ltd. Decorative LED light string structure and assembling method thereof
CN117111970A (en) * 2023-10-24 2023-11-24 深圳唯创知音电子有限公司 Product burning method, burning information transmission method and related equipment
CN117111970B (en) * 2023-10-24 2024-01-30 深圳唯创知音电子有限公司 Product burning method, burning information transmission method and related equipment

Also Published As

Publication number Publication date
CN102904640B (en) 2016-08-10

Similar Documents

Publication Publication Date Title
CN102904640A (en) Address code updating method and device
US9955560B2 (en) Configuring lighting electronics using database and mobile device
CN1142684C (en) Reliably updating an information service message
CN105224362A (en) Host computer carries out the method and system of program upgrade to slave computer
ATE363818T1 (en) INITIALIZATION OF A WIRELESS CONTROLLED LIGHTING SYSTEM
CN106681766B (en) Remote firmware upgrade control method and system
CN104899065A (en) Method and system for batch online recovery and software online upgrading
CN103825655A (en) Positioning system and method of lighting device
CN104468235A (en) Allocable full-network remote node firmware upgrading system and device based on IAP
CN104503796A (en) IAP (Internet Access Provider) based configurable full-network remote node firmware upgrading method
US20240081204A1 (en) Auto-assignment of devices of a multi-wire irrigation control system to irrigation zones
CN105323094A (en) Safety management method based on equipment identification and system thereof
CN109819562B (en) System for wirelessly upgrading DMX lamp by computer
CN103984577A (en) Data radio software updating method and system
CN105302616A (en) Software remote immediate updating and upgrading system and method
TW200604934A (en) Firmware management system and method thereof
CN104811347A (en) Software updating method, monitoring module, rectifying module and system
CN104869543B (en) Base station and user terminal information transmission method and device
CN107505929B (en) Configuration method and device of vehicle controller and vehicle
CN108028767A (en) For the method for adapter upgrade, mobile terminal and adapter
CN102571349B (en) Information updating method for smart key, smart key and system
CN105630466A (en) Business control method and apparatus
CN105516745A (en) Terminal upgrading method and device
CN102158769B (en) Method and system for realizing remote inquiry and control of interphone
CN106921973A (en) Wireless network configuration method, device and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
C53 Correction of patent of invention or patent application
CB03 Change of inventor or designer information

Inventor after: Guo Cheng

Inventor after: Hu Hong

Inventor after: Dong Jianfei

Inventor after: Huang Jianmei

Inventor before: Guo Cheng

Inventor before: Hu Hong

Inventor before: Dong Jianfei

Inventor before: Huang Jianmei

Inventor before: Zhang Guoqi

COR Change of bibliographic data

Free format text: CORRECT: INVENTOR; FROM: GUO CHENG HU HONG DONG JIANFEI HUANG JIANMEI ZHANG GUOQI TO: GUO CHENG HU HONG DONG JIANFEI HUANG JIANMEI

SE01 Entry into force of request for substantive examination
C53 Correction of patent of invention or patent application
CB03 Change of inventor or designer information

Inventor after: Guo Cheng

Inventor after: Hu Hong

Inventor after: Dong Jianfei

Inventor after: Huang Jianmei

Inventor after: Zhang Guoqi

Inventor before: Guo Cheng

Inventor before: Hu Hong

Inventor before: Dong Jianfei

Inventor before: Huang Jianmei

COR Change of bibliographic data

Free format text: CORRECT: INVENTOR; FROM: GUO CHENG HU HONG DONG JIANFEI HUANG JIANMEI TO: GUO CHENG HU HONG DONG JIANFEI HUANG JIANMEI ZHANG GUOQI

ASS Succession or assignment of patent right

Owner name: ZHUHAI HENGQIN HUACE PHOTO-COMMUNICATION TECHNOLOG

Free format text: FORMER OWNER: BEIJING SEMICONDUCTOR LIGHTING TECHNOLOGY PROMOTION CENTER

Effective date: 20131121

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 100080 HAIDIAN, BEIJING TO: 519030 ZHUHAI, GUANGDONG PROVINCE

TA01 Transfer of patent application right

Effective date of registration: 20131121

Address after: 519030 room, No. 3, Bao Zhong Road, Hengqin New District, Guangdong, Zhuhai, China -542

Applicant after: Zhuhai Hengqin Huace Photo-Communication Technology Co., Ltd.

Address before: 100080 B building, 2 digital building, Zhongguancun South Road, Beijing, Haidian District 702, China

Applicant before: Beijing Semiconductor Lighting Technology Promotion Center

C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160810

Termination date: 20201105

CF01 Termination of patent right due to non-payment of annual fee