CN102904640B - The update method of geocoding and updating device - Google Patents

The update method of geocoding and updating device Download PDF

Info

Publication number
CN102904640B
CN102904640B CN201210436873.8A CN201210436873A CN102904640B CN 102904640 B CN102904640 B CN 102904640B CN 201210436873 A CN201210436873 A CN 201210436873A CN 102904640 B CN102904640 B CN 102904640B
Authority
CN
China
Prior art keywords
optical signal
renewal
geocoding
updated
equipment
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.)
Expired - Fee Related
Application number
CN201210436873.8A
Other languages
Chinese (zh)
Other versions
CN102904640A (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 Great Aim Visible Light Communication Technology Co ltd
Original Assignee
Zhuhai Hengqin Huace Photo-Communication Technology 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 Zhuhai Hengqin Huace Photo-Communication Technology Co Ltd filed Critical Zhuhai Hengqin Huace Photo-Communication Technology Co Ltd
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

Landscapes

  • Optical Communication System (AREA)

Abstract

The invention discloses update method and the updating device of a kind of geocoding.This update method includes: transmission of visible light equipment receives the renewal optical signal that the updating device of geocoding sends, and wherein, updates the decoded instruction of optical signal and includes that destination address encodes;Renewal optical signal is decoded by transmission of visible light equipment;And geocoding is updated to destination address according to the instruction obtained after decoding and encodes by transmission of visible light equipment.By the present invention, visible ray conveying optical signal is utilized to complete the renewal of geocoding, it is not necessary to disassembling equipment to be updated, save the equipment disassembly and assembly time, reserve burning line interface without equipment to be updated and be connected with burning line, operation is convenient, simple to operation.

Description

The update method of geocoding and updating device
Technical field
The present invention relates to optical communication field, in particular to update method and the updating device of a kind of geocoding.
Background technology
Realize in the transmission system of the communication information using visible ray, it is seen that the emitter of light and receptor have been required to certainly Oneself geocoding, generally, the production firm of emitter and receptor can one address of pre-burning when dispatching from the factory Coding, but user is when the establishment being transmitted system, needs according to actually used operating mode each emitter or reception Device equipment distributes the renewal that row address coding is gone forward side by side in address.
The update mode that employing is following at present:
Mode one, takes out the address chip in emitter or receiver apparatus from equipment, is put into special chip and burns Record the renewal of its enterprising row address coding;
Mode two, by burning interface reserved on emitter or receiver apparatus, inserts burning line, passes through PC Or cd-rom recorder carries out programming.
Aforesaid way one needs to take out address chip, and mode two needs to connect burning line, operation complexity, waste of manpower thing Power.
For correlation technique carrying out the problem that when geocoding updates, operation is complicated to transmission of visible light equipment, the most still Effective solution is not proposed.
Summary of the invention
Present invention is primarily targeted at update method and the updating device that a kind of geocoding is provided, to solve visible Optical transmission device carries out the problem that when geocoding updates, operation is complicated.
To achieve these goals, according to an aspect of the invention, it is provided the update method of a kind of geocoding.
The update method of the geocoding according to the present invention includes: transmission of visible light equipment receives the more new clothes of geocoding Put the renewal optical signal of transmission, wherein, update the decoded instruction of optical signal and include that destination address encodes;Visible ray passes Renewal optical signal is decoded by transfer device;And address compiled by transmission of visible light equipment according to the instruction that obtains after decoding Code is updated to destination address coding.
Further, after carrying out geocoding renewal, the method also includes: transmission of visible light equipment sends checking Optical signal is to updating device, so that updating device determines renewal knot according to the geocoding after destination address coding and renewal Really, wherein, the geocoding after the checking decoded instruction of optical signal includes transmission of visible light renewal of the equipment;And can See that optical transmission device receives the renewal result optical signal that updating device sends, wherein, update result optical signal decoded Instruction includes the renewal result that updating device determines.
Further, before carrying out geocoding renewal, the method also includes: transmission of visible light equipment judges to update Whether optical signal meets the address update condition preset, wherein, it is seen that optical transmission device is according to the instruction obtained after decoding Geocoding is updated to destination address coding include: when updating optical signal and meeting default address update condition, can See that geocoding is updated to destination address according to the instruction obtained after decoding and encodes by optical transmission device.
Further, it is seen that optical transmission device judges that updating the most satisfied address update condition preset of optical signal includes: Whether transmission of visible light equipment judge to receive the difference of the available machine time of the time and the transmission of visible light equipment that update optical signal Within the scope of default time difference;Transmission of visible light equipment judges the coded system updating optical signal and the coding preset Mode is the most consistent;And/or transmission of visible light equipment judges to update whether the decoded instruction of optical signal includes presetting more New instruction.
Further, updating optical signal is the optical signal that visible ray produces according to prefixed time interval flicker, it is seen that light passes Transfer device judges that the coded system updating optical signal is the most consistent with the coded system preset and includes: transmission of visible light equipment Judge whether the multiple time intervals updating optical signal corresponding include that the very first time is spaced;And when multiple time interval bags When including very first time interval, it is seen that optical transmission device determines the coded system updating optical signal and the coded system one preset Cause.
Further, when updating multiple time intervals corresponding to optical signal and including that the very first time is spaced, it is seen that optical transport Equipment is decoded including by updating optical signal: transmission of visible light equipment judges that the time interval updating optical signal corresponding is No for very first time interval;When updating time interval corresponding to optical signal and being very first time interval, it is seen that optical transport sets Whether it it is the second time interval or the 3rd time for the time interval updating optical signal corresponding after judging very first time interval Interval;And when updating time interval corresponding to optical signal and being the second time interval, it is seen that optical transmission device will update It is 0 that optical signal is decoded as digital signal, when updating time interval corresponding to optical signal and being three time intervals, it is seen that It is 1 that renewal optical signal is decoded as digital signal by optical transmission device, wherein, and very first time interval, the second time interval It is different time intervals with the 3rd time interval.
Further, the length at very first time interval is respectively greater than the second time interval and the length of the 3rd time interval.
Further, before receiving renewal optical signal, the method also includes: transmission of visible light equipment sends to update and asks Asking optical signal to updating device, wherein, more newly requested optical signal is the optical signal corresponding with the geocoding before renewal.
To achieve these goals, according to an aspect of the invention, it is provided the update method of another kind of geocoding.
The update method of the geocoding according to the present invention includes: the updating device of geocoding obtains address to be updated Coding and destination address encode;Updating device generates according to destination address coding and updates optical signal, wherein, updates light letter Number decoded instruction includes that destination address encodes;And updating device sends and updates optical signal extremely equipment to be updated, with Make equipment to be updated, according to updating optical signal, geocoding to be updated be updated to destination address coding, wherein, treat more New equipment is the transmission of visible light equipment corresponding with geocoding to be updated.
Further, after sending renewal optical signal extremely equipment to be updated, the method also includes: updating device receives The checking optical signal that equipment to be updated sends, wherein, the checking decoded instruction of optical signal includes renewal of the equipment to be updated After geocoding;It is the most consistent with destination address coding that updating device compares the geocoding after renewal;Updating device Renewal result is determined according to comparative result;Updating device generates renewal result optical signal according to updating result, wherein, more The new decoded instruction of result optical signal includes updating result;And updating device sends and updates result optical signal to treating more New equipment.
Further, updating device sends and updates optical signal and include to equipment to be updated: the geocoding after updating with When destination address coding is inconsistent, updating device sends and updates optical signal to equipment to be updated.
Further, updating device acquisition geocoding to be updated includes: updating device receives equipment to be updated and sends More newly requested optical signal, wherein, the decoded instruction of more newly requested optical signal includes geocoding to be updated;With And more newly requested optical signal is decoded by updating device, to obtain geocoding to be updated, updating device obtains target ground Location coding includes: updating device obtains the destination address coding of user's input.
To achieve these goals, according to a further aspect in the invention, it is provided that the updating device of a kind of geocoding.
The updating device of the geocoding according to the present invention includes: acquiring unit, for obtaining geocoding to be updated Encode with destination address;Control unit, is connected with acquiring unit, updates light for generating according to destination address coding Signal, wherein, updates the decoded instruction of optical signal and includes that destination address encodes;And transmitter unit, single with control Unit is connected, and is used for sending renewal optical signal extremely equipment to be updated, so that equipment to be updated will be treated according to updating optical signal The geocoding updated is updated to destination address coding, and wherein, equipment to be updated is corresponding with geocoding to be updated Transmission of visible light equipment.
Further, returning apparatus also includes: receives unit, is connected with control unit, for sending at transmitter unit After updating optical signal extremely equipment to be updated, receive the checking optical signal that equipment to be updated sends, wherein, checking light letter Number decoded instruction includes the geocoding after renewal of the equipment to be updated;Control unit is additionally operable to address in the updated When encoding consistent with destination address coding, generate the renewal result being updated successfully, geocoding in the updated and target When geocoding is inconsistent, generates and update failed renewal result, and generate renewal result according to the renewal result generated Optical signal, wherein, updates the decoded instruction of result optical signal and includes updating result;Transmitter unit is additionally operable to send more New result optical signal is to equipment to be updated.
Further, transmitter unit is additionally operable to when the geocoding after updating is inconsistent with destination address coding, again Send and update optical signal to equipment to be updated.
By the present invention, use the geocoding update method comprised the following steps: transmission of visible light equipment receives address The renewal optical signal that the updating device of coding sends, wherein, updates the decoded instruction of optical signal and includes that destination address is compiled Code;Renewal optical signal is decoded by transmission of visible light equipment;And transmission of visible light equipment obtains according to after decoding Geocoding is updated to destination address coding by instruction, utilizes visible ray conveying optical signal to complete the renewal of geocoding, Without disassembling equipment to be updated, save the equipment disassembly and assembly time, reserve burning line without equipment to be updated and connect Mouth is connected with burning line, solves and transmission of visible light equipment carries out the problem that when geocoding updates, operation is complicated, And then it is convenient to have reached the operation when transmission of visible light equipment carries out geocoding, effect simple to operation.
Accompanying drawing explanation
The accompanying drawing of the part constituting the application is used for providing a further understanding of the present invention, and the present invention's is schematic real Execute example and illustrate for explaining the present invention, being not intended that inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the block diagram that geocoding according to a first embodiment of the present invention updates system;
Fig. 2 is the schematic diagram of the renewal system of embodiment illustrated in fig. 1;
Fig. 3 is the block diagram that geocoding according to a second embodiment of the present invention updates system;
Fig. 4 is the schematic diagram of the renewal system of embodiment illustrated in fig. 3;
Fig. 5 is the workflow diagram of the renewal system of embodiment illustrated in fig. 4;
Fig. 6 is the block diagram of geocoding updating device according to embodiments of the present invention;
Fig. 7 is the flow chart of geocoding update method according to a first embodiment of the present invention;
Fig. 8 is the flow chart of geocoding update method according to a second embodiment of the present invention;
Fig. 9 (a) to Fig. 9 (c) is the schematic diagram of coded optical signal mode according to embodiments of the present invention;And
Figure 10 is the schematic diagram corresponding with digital signal of optical signal according to embodiments of the present invention;
Detailed description of the invention
It should be noted that in the case of not conflicting, the embodiment in the application and the feature in embodiment can phases Combination mutually.Describe the present invention below with reference to the accompanying drawings and in conjunction with the embodiments in detail.
First the renewal system of the geocoding that this detailed description of the invention provides is introduced.
Fig. 1 is the block diagram that geocoding according to a first embodiment of the present invention updates system, the renewal system of this embodiment For to the renewal of geocoding in transmission of visible light equipment (including receptor and emitter).As it is shown in figure 1, should System includes PC, optical signal transmitter, transmission of visible light equipment to be updated and optical signal receiver.
PC is used for providing destination address coding, sending destination address coding to optical signal transmitter;Optical signal launch Device updates optical signal for generating according to destination address coding, such as, destination address encoded by predetermined coded system Be converted to optical signal obtain updating optical signal so that recipient is to obtaining destination address volume after updating optical signal decoding Code, and send updating optical signal to transmission of visible light equipment to be updated;Transmission of visible light equipment to be updated receives Update optical signal, renewal optical signal is decoded, after decoding, obtain destination address coding, will by the chip of self Current geocoding be updated to destination address coding, and will update after geocoding according still further to above-mentioned predetermined coding Mode is converted to optical signal and is verified optical signal, and then sends checking optical signal to optical signal receiver;Optical signal The checking optical signal decoding that receptor will receive, geocoding decoding obtained returns to PC, so that PC Complete the checking of geocoding.
It is as a example by the head lamp used in mine by transmission of visible light equipment to be updated, as in figure 2 it is shown, this system pair The workflow that in head lamp, geocoding is updated is as follows:
1, user is to computer (PC) input destination address coding, computer provide geocoding;
2, geocoding is sent to emitter by computer;
3, geocoding and default renewal instruction are carried out coding according to default coded system and obtain light letter by emitter Number, namely coded command, then coded command is sent to head lamp;
4, head lamp is the equipment of address to be updated, the geocoding waiting the form of expression to be received to be optical signal and preset more Newly instructing, the time in start 30s updates the time as geocoding, if receiving geocoding at this 30s Time, meet the update condition one of geocoding, the most again optical signal is decoded, it is judged that the coded system of optical signal Whether it is default coded system, if coded system is default coded system, it is determined that meet geocoding more Whether New Terms two, finally include updating instruction in judging the decoded instruction obtained, if obtain after Xie Ma The renewal instruction that instruction includes presetting, it is determined that meet the update condition three of geocoding, determine meet all of After update condition, head lamp carries out the renewal of geocoding;
5, head lamp generates checking optical return signal further according to the geocoding after updating and passes to receptor;
6, the checking optical signal decoding that receptor will receive, obtains the geocoding that head lamp is current, then by be updated The current geocoding of equipment (namely head lamp) returns to computer;
7, whether computer according to destination address coding and receives the code verification coding of return and updates correct, if received New address is identical with destination address coding, updates end of address (EOA), if it is different from destination address coding to receive new address, Repeat the above steps 1 to step 6, until address has updated or updates the time beyond geocoding.
In the renewal system of this embodiment, visible ray conveying optical signal is utilized to complete the renewal of geocoding, in start In 30S, geocoding is carried out coding and generates optical signal, complete transmission of visible light equipment (emitter or receptor) The renewal of geocoding, not device for disassembling, save the equipment disassembly and assembly time, without reserved burning line Interface is connected with burning line, it is possible to meet such as the waterproof demand of sealing of the equipment such as down-hole mine lamp, accomplish contactless more New address information, operation is convenient, simple to operation.During additionally, use optical signal to carry out geocoding renewal, also may be used Update multiple equipment by the way of broadcast simultaneously.
Owing to sending within the specific time with the specific optical signal updating instruction, and this optical signal is by destination address Coding uses predetermined coded system coding to obtain, thus when geocoding updates, update mode is safe and reliable, energy Enough avoid updating by mistake.
Function is confirmed, after confirming, by PC, the renewal fed back owing to increasing address information after having updated address Geocoding and destination address coding the most consistent, make address renewal the most accurate.
Fig. 3 is the block diagram that geocoding according to a second embodiment of the present invention updates system, the renewal system of this embodiment For to the renewal of geocoding in transmission of visible light equipment (including receptor and emitter).As it is shown on figure 3, should System includes transmission of visible light equipment to be updated and the updating device of geocoding.
Updating device in this embodiment is moveable handheld device, and renewal personnel carry this device to equipment to be updated In neighbouring certain limit, can be completed the renewal of geocoding in equipment to be updated by operation updating device.
As a example by the light fixture as optical signal transmitter is carried out address device renewal, as shown in Figure 4, light fixture to be updated With the renewal that can complete light fixture geocoding alternately by 7 steps of the more new equipment, the tool of the workflow of this system Body step is as it is shown in figure 5, specific as follows:
1. in the preset time period, after light fixture is opened, it is optical signal by current address code conversion, after conversion Optical signal work, when updating device is positioned at adjacent lamp, it is possible to receive the optical signal that light fixture sends, namely lamp Have and send light fixture address to mobile update device;
2., mobile update device receive optical signal being decoded, obtain corresponding light fixture address, and will be after decoding To light fixture address show on screen;
3. the personnel light fixture address according to display, is updated, it would be desirable to the target address information of renewal is input to display screen;
4., updating device will need the target address information updated to be encoded to optical signal, and is sent to light fixture;
5., light fixture receive optical signal and decode, the MCU of light fixture analyzes and judges whether decoded geocoding expires Foot update condition (for example whether the update condition one, two, three met in embodiment illustrated in fig. 2), if it is satisfied, then Update geocoding;
6., after light fixture updated geocoding, the geocoding after updating is converted to optical signal, with by light fixture to Mobile update device sends the new geocoding of light fixture;
7., updating device is received the new address of light fixture and is shown by display screen, and judges whether and target address information one Causing, if unanimously, update end of address (EOA), if inconsistent, repeat the above steps 4 to step 6, until address is more Newly complete or update the time beyond geocoding.
The renewal system that this embodiment is provided can reach the effect of Fig. 1 and embodiment illustrated in fig. 2, additionally, will more New equipment is set to independent mobile device, and during renewal, motility is strong, and facility is more shown in operation.
Next introduces the updating device of the geocoding that this detailed description of the invention provides, any one following updating device All can be applicable to the renewal system shown in Fig. 3.
Fig. 6 is the block diagram of geocoding updating device according to embodiments of the present invention, and this updating device can be believed by light Number the renewal being transmitted geocoding to transmission of visible light equipment.As shown in Figure 6, this updating device includes control Device MCU processed, input block, reception unit, display unit and transmitter unit.
Input block, as the acquiring unit for obtaining destination address coding, receives the destination address coding of user's input, Also the geocoding to be updated of user's input can be received as the acquiring unit for obtaining geocoding to be updated. The destination address coding of the original address that can prestore in controller MCU coding and correspondence and corresponding relation, controller MCU can analyze the relation of geocoding that input block receives and the coding of storage, when the geocoding received with When the original address coding that prestores is consistent, determine that user inputs is geocoding to be updated, and according to corresponding relation Get destination address coding simultaneously, when the geocoding received is consistent with destination address coding, determine that user is defeated Enter is destination address coding.
When getting destination address coding by input block, geocoding to be updated can be obtained by receiving unit, Alternatively, receive unit and receive the more newly requested optical signal that equipment to be updated sends, after the decoding of this more newly requested optical signal Instruction include the geocoding before renewal of the equipment to be updated, the geocoding before equipment the most to be updated will update is carried out The more newly requested optical signal that coding obtains, it is also possible to including updating request instruction, controller MCU is by more newly requested light Signal is decoded as destination address coding.
Updating device gets geocoding to be updated and destination address coding, destination address is compiled by transmitter unit Code sends the transmission of visible light equipment that geocoding the most to be updated is corresponding.Specifically, control unit is according to destination address Coding generates and updates optical signal, and the instruction obtained after the decoding of this renewal optical signal includes that destination address encodes, and needs explanation , the optical signal that updates at this can be that after only being encoded by destination address, the optical signal that obtains forms, it is also possible to by mesh The optical signal composition obtained after mark geocoding and renewal instruction encoding, transmitter unit can include controlling part and light fixture portion Point, control part control light fixture part luminous according to updating optical signal, thus renewal optical signal is sent and sets to be updated Standby, and then make equipment to be updated, according to updating optical signal, geocoding to be updated be updated to destination address coding, complete Become the renewal of geocoding.
By the updating device of this embodiment, visible ray conveying optical signal is utilized to complete the renewal of geocoding, it is not necessary to tear open Solve equipment to be updated, save the equipment disassembly and assembly time, reserve burning line interface and burning without equipment to be updated Record line is connected, it is possible to meets such as the waterproof demand of sealing of the equipment such as down-hole mine lamp, accomplishes that contactless renewal address is believed Breath, operation is convenient, simple to operation.
Preferably, equipment to be updated, after completing address and updating, generates checking light letter according to the geocoding after updating Number, the instruction obtained after the decoding of this checking optical signal includes the geocoding after updating, it is possible to include that the checking preset refers to Order, is back to updating device by checking optical signal.The unit that receives of updating device receives the checking that equipment to be updated sends Optical signal, control unit be additionally operable to by checking optical signal decode, the geocoding after being updated, and judge renewal after Geocoding and destination address coding the most consistent, when geocoding in the updated encodes consistent with destination address, Generate the renewal result being updated successfully, when geocoding in the updated is inconsistent with destination address coding, generates and update Failed renewal result, and generate renewal result optical signal according to updating result, after the decoding of this renewal result optical signal To instruction include updating result, transmitter unit is additionally operable to send and updates result optical signal to equipment to be updated.
After equipment to be updated receives renewal result optical signal, decoding obtains updating result, when decoded renewal result When updating unsuccessfully, it is made whether to meet the analysis of geocoding update condition when again receiving new optical signal, works as solution When being updated successfully of renewal result after Ma, then directly decode when receiving new optical signal as instructing, perform corresponding Operation.
Use this preferred embodiment, confirm function owing to increasing address information after having updated address, after updating Geocoding feeds back, and makes address update the most accurate.
It is further preferred that when updating unsuccessfully, control unit controls light fixture and continues to send renewal optical signal to the most to be updated Equipment, until the geocoding after the renewal of feedback is consistent with destination address coding.
Display unit therein, for the display of geocoding, encodes and to be updated including to the destination address got The display of geocoding, also includes the display to the geocoding after the renewal fed back.
By arranging display unit, geocoding is shown, be beneficial to update human users and update so that geocoding Renewal process more directly perceived.
Finally introduce the update method of the geocoding that this detailed description of the invention provides, below the embodiment of the present invention is carried The update method of the geocoding of confession is introduced.It should be noted that the embodiment of the present invention geocoding more New method can be performed by the updating device of the geocoding that the embodiment of the present invention is provided, the embodiment of the present invention The updating device of geocoding can be used for performing the update method of the geocoding that the embodiment of the present invention is provided.
Fig. 7 is the flow chart of geocoding update method according to a first embodiment of the present invention, as it is shown in fig. 7, the party Method includes that steps S102 is to step S106.
Step S102: the renewal optical signal that the updating device of transmission of visible light equipment reception geocoding sends, wherein, Update the decoded instruction of optical signal and include that destination address encodes.
After the updating device of geocoding gets geocoding to be updated and destination address coding, generate and target ground The optical signal (renewal optical signal) that location coding is corresponding, such as by destination address coding according to default coded system coding For optical signal, this optical signal is the visible light signal according to prefixed time interval flicker, and is sent to treat by this optical signal Transmission of visible light equipment corresponding to geocoding updated.
Step S104: renewal optical signal is decoded by transmission of visible light equipment.
Step S106: geocoding is updated to destination address according to the instruction obtained after decoding and compiles by transmission of visible light equipment Code.
After transmission of visible light equipment receives renewal optical signal, optical signal is decoded, is instructed (bag accordingly Include destination address coding), and according to this instruction, geocoding to be updated is updated to destination address coding, complete over the ground The renewal of matter coding.
By the update method of this embodiment, visible ray conveying optical signal is utilized to complete the renewal of geocoding, it is not necessary to tear open Solve equipment to be updated, save the equipment disassembly and assembly time, reserve burning line interface and burning without equipment to be updated Record line is connected, it is possible to meets such as the waterproof demand of sealing of the equipment such as down-hole mine lamp, accomplishes that contactless renewal address is believed Breath, operation is convenient, simple to operation.
Fig. 8 is the flow chart of geocoding update method according to a second embodiment of the present invention, as shown in Figure 8, the party Method includes that steps S202 is to step S222.
Step S202: launch the optical signal that current address coding is corresponding during transmission of visible light device power-up.
Step S204: optical signal, when receiving this optical signal, is decoded by updating device, and judge decoding after To coding whether be up-to-date geocoding, when decoding after obtain be encoded to up-to-date geocoding, updating device It is left intact, when the coding obtained after decoding is not up-to-date geocoding, then performs step S206.
Step S206: updating device obtains and solves the up-to-date geocoding that decoding post-encoding is corresponding, and is pressed by up-to-date geocoding It is encoded to optical signal according to default coded system and is sent to transmission of visible light equipment.
When after decoding, the coding that obtains is not up-to-date geocoding, updating device using the optical signal that receives as more Newly requested optical signal, responds this more newly requested optical signal by updating optical signal, transmission of visible light equipment is carried out address The renewal of coding, wherein, updates optical signal namely up-to-date geocoding and encodes the light obtained according to default coded system Signal, namely the optical signal that destination address coding is corresponding.
Step S208: after transmission of visible light equipment receives renewal optical signal, is decoded updating optical signal, and sentences The disconnected condition whether meeting address renewal.
Specifically can be judged by such a way:
Mode one: when being only to perform to update in special time period by the condition setting updated, it is seen that optical transmission device is sentenced Whether disconnecting receives the time of renewal optical signal and the difference of the available machine time of transmission of visible light equipment at default time difference model Within enclosing, such as, Preset Time difference scope is set to 30s, when receiving the time and available machine time updating optical signal Difference within 30s time, it is seen that geocoding is updated to target ground according to the instruction that obtains after decoding by optical transmission device Location encodes, and is not updated.
Mode two: when being only to perform when meeting predetermined coded system to update by the condition setting of renewal, it is seen that light passes Transfer device judges that the coded system updating optical signal is the most consistent with the coded system preset, when the coding updating optical signal When mode is consistent with the coded system preset, it is seen that optical transmission device is according to the instruction obtained after decoding by geocoding more Newly encode for destination address.
Preferably, updating optical signal is the optical signal that visible ray produces according to prefixed time interval flicker, long by difference The time interval of degree completes the coding of geocoding, and predetermined coded system can use such as Fig. 9 (a) to Fig. 9 (c) institute The coded system shown, wherein, Fig. 9 (a) is to update the instructional waveform schematic diagram that in optical signal, guidance code is corresponding, should Guidance code is set to update the identification information of optical signal, when the time interval of twice flicker of optical signal is 102us, really This optical signal fixed is for updating optical signal.Fig. 9 (b) is for updating the instructional waveform that in optical signal, digital signal " 0 " is corresponding Schematic diagram, when the time interval of twice flicker of optical signal is 22us, determines the digital signal that the optical signal at this is corresponding It is 0.Fig. 9 (c) is for updating the instructional waveform schematic diagram that digital signal " 1 " is corresponding in optical signal, when optical signal twice When the time interval of flicker is 32us, determine that the digital signal that the optical signal at this is corresponding is 1.
Use the instructional waveform signal updating optical signal that above-mentioned coded system obtains after encoding destination address Figure is as shown in Figure 10, it is seen that optical transmission device, after receiving renewal optical signal, uses aforesaid way two to carry out address more During the judgement of New Terms, use following judgement step: transmission of visible light equipment judges to update corresponding multiple of optical signal Whether time interval includes that the very first time is spaced, namely the MCU of visible ray equipment by calculate every 2 trailing edges it Between time interval obtain multiple time interval, it is judged that whether each time interval is spaced equal to the very first time, at this Very first time interval may be configured as 102us, when existence is spaced apart 92us-112us sometime, it is seen that optical transport sets Consistent with the coded system preset for the coded system determining optical signal, namely meet the condition that address receives, and will This very first time is spaced as guidance code, is decoded the signal after guidance code, obtains updating the text of optical signal, Namely geocoding.
Mode three: updating optical signal is to obtain after the renewal instruction being encoded by destination address and presetting is separately encoded conversion Optical signal, namely update the decoded instruction of optical signal and include that destination address encode, also include that the renewal preset instructs. It is only when the decoded instruction of optical signal includes that the renewal instruction preset performs to update by the condition setting of renewal, can See optical transmission device to judge in the decoded instruction of optical signal received and whether include that the renewal preset instructs, when light is believed When number including the renewal instruction preset, it is seen that geocoding is updated by optical transmission device according to the instruction obtained after decoding Encode for destination address.
Such as, renewal instruction is set to " 5A ", it is seen that after optical transmission device decoding is instructed, it is judged that Fun position is No it is " 5A ", when the Fun position received is " and 5A " time, perform to update the operation of address, the most do not do address more New operation.
Step S210: when this renewal optical signal meets the condition that address updates, it is seen that after optical transmission device is according to decoding Current geocoding is updated to destination address coding by the instruction obtained.
When signal after guidance code is decoded, following decoding process can be used:
After receiving guidance code, enter the reception state updating optical signal text, it is seen that the MCU of optical transmission device Whether the time interval updating optical signal corresponding after judging guidance code is the second time interval or the 3rd time interval, should Second time interval is set to 22us by place, is that momentary intervals is set to 32us, namely transmission of visible light equipment by the 3rd MCU judge that the digital signal that optical signal represents is " 0 " or " 1 " by calculating the time between 2 trailing edges, When updating time interval corresponding to optical signal and being 22us, it is seen that renewal optical signal is decoded as numeral letter by optical transmission device Number it is 0, when updating time interval corresponding to optical signal and being 32us, it is seen that optical transmission device will update optical signal decoding It is 1 for digital signal.
First, second, and third above-mentioned time interval is theoretical value, for the fault-tolerant energy during guarantee actual transmissions Power, is a time range rather than a time value by the definition of each time interval, such as, will be spaced the very first time It is defined as 92us~112us, as long as then updating multiple time intervals corresponding to optical signal to include appointing in 92us~112us Anticipate a time interval, just can be identified as meeting address update condition;Second time interval is defined as 15us~27us, Then updating in the time interval that optical signal is corresponding is any one time interval in 15us~27us, and just decodable code is number Word signal is 0;3rd time interval is defined as 27us~40us, then the time interval that renewal optical signal is corresponding is Any one time interval in 27us~40us, just decodable code be digital signal be 1.
Obtain destination address by the instruction of decoded digital signal to encode, thus the MCU root of transmission of visible light equipment It is updated according to destination address coding.
Step S212: after transmission of visible light equipment carries out geocoding renewal, raw according to the geocoding after updating Becoming checking optical signal, this decoded instruction of checking optical signal includes the geocoding after updating, it is possible to include that checking refers to Order.
Step S214: transmission of visible light equipment sends checking optical signal to updating device.
Step S216: checking optical signal is decoded by updating device, the geocoding after being updated.
Step S218: updating device determines renewal result according to the geocoding after destination address coding and renewal.
When geocoding in the updated is consistent with destination address coding, generate the renewal result being updated successfully, updating After geocoding and destination address coding inconsistent time, generate and update failed renewal result.
Step S220: renewal result is converted to update result optical signal and sends to visible ray equipment by updating device, wherein, When geocoding in the updated is inconsistent with destination address coding, returns step S206 and re-execute.
Step S222: transmission of visible light equipment is decoded as updating result after receiving renewal result optical signal.
When the renewal failure of decoded renewal result, then when receiving new optical signal, it is made whether that meeting address compiles The analysis of code update condition, when when being updated successfully of decoded renewal result, then receives during new optical signal direct It is decoded as instruction, performs corresponding operation.
As can be seen from the above description, present invention achieves following technique effect: utilize visible ray conveying light letter Number complete the renewal of geocoding, it is not necessary to disassemble equipment to be updated, save the equipment disassembly and assembly time, without Equipment to be updated is reserved burning line interface and is connected with burning line, it is possible to meet the sealing such as equipment such as down-hole mine lamps waterproof Demand, accomplishes contactless renewal address information, and operation is convenient, simple to operation.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for the skill of this area For art personnel, the present invention can have various modifications and variations.All within the spirit and principles in the present invention, made Any modification, equivalent substitution and improvement etc., should be included within the scope of the present invention.

Claims (12)

1. the update method of a geocoding, it is characterised in that including:
Transmission of visible light equipment receive geocoding updating device send renewal optical signal, wherein, described more The new decoded instruction of optical signal includes that destination address encodes;
Described renewal optical signal is decoded by described transmission of visible light equipment;And
Geocoding is updated to described destination address according to the instruction that obtains after decoding by described transmission of visible light equipment Coding, described transmission of visible light equipment sends checking optical signal extremely described updating device, so that described updating device Renewal result is determined according to the geocoding after described destination address coding and described renewal;
Wherein, after carrying out geocoding renewal, described method also includes:
The described decoded instruction of checking optical signal includes the geocoding after described transmission of visible light renewal of the equipment; And
Described transmission of visible light equipment receives the renewal result optical signal that described updating device sends, wherein, described Update the decoded instruction of result optical signal and include the renewal result that described updating device determines.
The update method of geocoding the most according to claim 1, it is characterised in that carrying out geocoding renewal Before, described method also includes:
Described transmission of visible light equipment judges whether described renewal optical signal meets the address update condition preset,
Wherein, geocoding is updated to described mesh according to the instruction that obtains after decoding by described transmission of visible light equipment Mark geocoding includes: when described renewal optical signal meets described default address update condition, described visible Geocoding is updated to described destination address according to the instruction obtained after decoding and encodes by optical transmission device.
The update method of geocoding the most according to claim 2, it is characterised in that described transmission of visible light equipment Judge whether described renewal optical signal meets the address update condition preset and include:
Described transmission of visible light equipment judges that the time receiving described renewal optical signal sets with described transmission of visible light Whether the difference of standby available machine time is within the scope of default time difference;
Described transmission of visible light equipment judges whether are the coded system of described renewal optical signal and the coded system preset Unanimously;And/or
Described transmission of visible light equipment judges whether the described decoded instruction of renewal optical signal includes the renewal preset Instruction.
The update method of geocoding the most according to claim 3, it is characterised in that described renewal optical signal is can Seeing the optical signal that light produces according to prefixed time interval flicker, described transmission of visible light equipment judges described renewal light The coded system of signal is the most consistent with the coded system preset to be included:
Described transmission of visible light equipment judges whether multiple time intervals that described renewal optical signal is corresponding include first Time interval;And
When the plurality of time interval includes that the described very first time is spaced, described transmission of visible light equipment determines institute The coded system stating renewal optical signal is consistent with described default coded system.
The update method of geocoding the most according to claim 4, it is characterised in that when described renewal optical signal pair The multiple time intervals answered include when the described very first time is spaced, and described transmission of visible light equipment is by described renewal light Signal is decoded including:
Described transmission of visible light equipment judges when whether the time interval that described renewal optical signal is corresponding is described first Between be spaced;
When the time interval that described renewal optical signal is corresponding is interval of the described very first time, described transmission of visible light Equipment judges whether time interval corresponding to described renewal optical signal was the second time after interval of the described very first time Interval or the 3rd time interval;And
When the time interval that described renewal optical signal is corresponding is described second time interval, described transmission of visible light It is 0 that described renewal optical signal is decoded as digital signal by equipment, when the time interval that described renewal optical signal is corresponding During for described three time interval, described renewal optical signal is decoded as digital signal by described transmission of visible light equipment It is 1,
Wherein, interval of the described very first time, described second time interval and described 3rd time interval are different Time interval.
The update method of geocoding the most according to claim 5, it is characterised in that interval of the described very first time Length is respectively greater than described second time interval and the length of described 3rd time interval.
The update method of geocoding the most according to claim 1, it is characterised in that receiving described renewal light letter Before number, described method also includes:
Described transmission of visible light equipment sends more newly requested optical signal to described updating device, wherein, described renewal Request optical signal is the optical signal corresponding with the geocoding before renewal.
8. the update method of a geocoding, it is characterised in that including:
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 updates optical signal, and wherein, described renewal light is believed Number decoded instruction includes that described destination address encodes;And
Described updating device sends described renewal optical signal to equipment to be updated so that described equipment to be updated according to Described geocoding to be updated is updated to described destination address coding by described renewal optical signal, wherein, described Equipment to be updated is the transmission of visible light equipment corresponding with described geocoding to be updated, and described updating device connects Receive the checking optical signal that described equipment to be updated sends, after according to described destination address coding and described renewal Geocoding determines renewal result, after sending described renewal optical signal extremely described equipment to be updated, and described side Method also includes:
The described decoded instruction of checking optical signal includes the geocoding after described renewal of the equipment to be updated;
Geocoding after the more described renewal of described updating device is the most consistent with described destination address coding;
Described updating device determines renewal result according to comparative result;
Described updating device generates according to described renewal result and updates result optical signal, wherein, described renewal result The decoded instruction of optical signal includes described renewal result;And
Described updating device sends described renewal result optical signal to described equipment to be updated.
The update method of geocoding the most according to claim 8, it is characterised in that described updating device sends institute State renewal optical signal to include to described equipment to be updated:
When the geocoding after described renewal is inconsistent with described destination address coding, described updating device sends Described renewal optical signal is to described equipment to be updated.
The update method of geocoding the most according to claim 8, it is characterised in that
Described updating device obtains geocoding to be updated and includes: described updating device receives described to be updated set The more newly requested optical signal that preparation is sent, wherein, the described decoded instruction of more newly requested optical signal includes to be updated Geocoding;And described more newly requested optical signal is decoded by described updating device, described to be updated to obtain Geocoding,
Described updating device obtains described destination address coding and includes: described updating device obtains the mesh of user's input Mark geocoding.
The updating device of 11. 1 kinds of geocodings, it is characterised in that including:
Acquiring unit, for obtaining geocoding to be updated and destination address coding;
Control unit, is connected with described acquiring unit, updates light for generating according to described destination address coding Signal, wherein, the described decoded instruction of renewal optical signal includes that described destination address encodes;And
Transmitter unit, is connected with described control unit, is used for sending described renewal optical signal extremely equipment to be updated, So that described geocoding to be updated is updated to described mesh according to described renewal optical signal by described equipment to be updated Mark geocoding, wherein, described equipment to be updated is that the visible ray corresponding with described geocoding to be updated passes Transfer device, described transmission of visible light equipment sends checking optical signal extremely described updating device, so that described more new clothes Geocoding after putting according to described destination address coding and described renewal determines renewal result;Also include:
The described decoded instruction of checking optical signal includes the geocoding after described renewal of the equipment to be updated;
Described control unit be additionally operable to the geocoding after described renewal and described destination address coding consistent time, Generating the renewal result being updated successfully, the geocoding after described renewal is inconsistent with described destination address coding Time, generate and update failed renewal result, and generate renewal result optical signal according to the renewal result generated, its In, the described renewal decoded instruction of result optical signal includes described renewal result;
Described transmitter unit is additionally operable to send described renewal result optical signal to described equipment to be updated.
The updating device of 12. geocodings according to claim 11, it is characterised in that described transmitter unit is additionally operable to When the geocoding after described renewal is inconsistent with described destination address coding, resend described renewal light letter Number to described equipment to be updated.
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 CN102904640A (en) 2013-01-30
CN102904640B true 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)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203574655U (en) * 2013-04-09 2014-04-30 北京半导体照明科技促进中心 Device and system for transmitting information through visible light and light source
CN104639242B (en) * 2014-12-30 2018-12-28 深圳华智测控技术有限公司 Road lamp identifies acquisition system and method
CN108287551B (en) * 2018-03-15 2024-03-08 马鞍山钢铁股份有限公司 Industrial locomotive traveling system and method based on fixed route round trip
CN109152140B (en) 2018-09-18 2024-08-20 台州市椒江萤星电子电器有限公司 Decorative LED lamp string structure and assembling method thereof
CN117111970B (en) * 2023-10-24 2024-01-30 深圳唯创知音电子有限公司 Product burning method, burning information transmission method and related equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* 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

Patent Citations (3)

* 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
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

Also Published As

Publication number Publication date
CN102904640A (en) 2013-01-30

Similar Documents

Publication Publication Date Title
CN102904640B (en) The update method of geocoding and updating device
CN1142684C (en) Reliably updating an information service message
SG11201908169XA (en) Method and device by which terminal receives data in wireless communication system
GB2396439B (en) Interactive two-way collaboration in process control plants
MX2008013043A (en) Method, system, and computer software code for automated establishment of a distributed power train.
CN203552447U (en) Dual-electric bed wireless synchronous remote control system based on ZIGBEE technology
TWI622322B (en) Electric energy supply device with data bridge function and wireless lighting control system including the same
DE60109066D1 (en) METHOD AND DEVICE FOR TRANSFERRING AND RECEIVING ATTACHED DATA
CN108347807A (en) Illumination control method and lamps and lanterns
CN103248758A (en) Mobile phone provided with projection equipment control function and projection equipment control method thereof
PH12021550200A1 (en) Joint payment method and system based on binding relationship
CN104469443B (en) Remote control crosstalk prevention method and remote control
CN103901863A (en) Intelligent home control system and method based on live-action control interface
TW200511774A (en) Method and system of remote diagnosis by mobile communication equipment
KR101622997B1 (en) System for controlling street-lamp on walking route using PLC
CN105025113A (en) Distributed table and chair layout control system
CN105159099B (en) The control system and control method of household electrical appliance
CN105306689B (en) Mobile phone time acquisition methods based on bluetooth
CN108270597A (en) Wireless device configuration method and apparatus
CN106373050A (en) Information pushing system and method
CN205196038U (en) LED light operator and lighting control system based on power line carrier technology
CN107005917B (en) Method, device, terminal and router for establishing communication
CN103384997B (en) Programmable radio
CN206557576U (en) The interconnected system monitored for generating set
CN105873093A (en) Method, device and system for managing connection information of wireless network

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 Great Aim Visible Light 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