CN110691446B - Secondary generation method and device of ID information - Google Patents

Secondary generation method and device of ID information Download PDF

Info

Publication number
CN110691446B
CN110691446B CN201910864136.XA CN201910864136A CN110691446B CN 110691446 B CN110691446 B CN 110691446B CN 201910864136 A CN201910864136 A CN 201910864136A CN 110691446 B CN110691446 B CN 110691446B
Authority
CN
China
Prior art keywords
information
lighting
old
processor
control 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.)
Active
Application number
CN201910864136.XA
Other languages
Chinese (zh)
Other versions
CN110691446A (en
Inventor
李峰斌
王忠平
杨光波
贺振中
陈菊香
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Yunhuilian Technology Co ltd
Original Assignee
Shenzhen Yunhuilian 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 Shenzhen Yunhuilian Technology Co ltd filed Critical Shenzhen Yunhuilian Technology Co ltd
Priority to CN201910864136.XA priority Critical patent/CN110691446B/en
Publication of CN110691446A publication Critical patent/CN110691446A/en
Application granted granted Critical
Publication of CN110691446B publication Critical patent/CN110691446B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Abstract

The application provides a secondary ID information generation method and device, which are used for acquiring first ID information of old and bad illumination brightening control equipment and storing the first ID information; acquiring geographical position information and real-time information of the replaced lighting brightening control equipment; secondly generating the first ID information according to a logic algorithm according to the geographical position information and the real-time information to obtain second ID information; and writing the second ID information into the replaced lighting lightening control equipment. According to the method and the device, the first ID information is generated for the second time according to the logic algorithm based on the geographic position information and the real-time information, so that the newly generated second ID information inherits the identity information of the old and bad lighting lightening control equipment and generates an information identification section different from the first ID information. The server can easily identify the lighting brightening control equipment corresponding to the new ID information, and carry out all-dimensional loose transplantation processing on the configuration information of the old and the bad lighting brightening control equipment, so that the maintenance efficiency of field maintenance personnel is improved.

Description

Secondary generation method and device of ID information
Technical Field
The present application relates to the field of electronic and electrical devices, and in particular, to a secondary ID information generation method and apparatus.
Background
With the emerging and development of the internet and the internet of things, more and more lighting brightness control devices in the field of outdoor lighting brightness control realize remote control and management through the internet and the internet of things. When the server is used for remotely controlling and managing the accessed lighting brightening control equipment, the identity of the accessed lighting brightening control equipment needs to be identified. The identification information of such lighting brightening control devices on the market today is mainly identified in the form of an ID number.
The ID information of the lighting and brightening control device is generally divided into an information segment and an encryption segment, wherein the generation methods of the information segment are different, but the common method is to use an algorithm with a very low repetition rate to generate an ID number, then form the encryption segment through an encryption algorithm, and then carry out factory fixed burning. The production mode of the lighting brightening control equipment identity ID ensures the absolute binding and uniqueness of the lighting brightening control equipment identity ID information and the equipment firmware.
However, the lighting brightening control device placed in a fixed place is too troublesome to replace after sale, and is not favorable for after sale maintenance. The reason is that after the server is bound with the lighting brightening control equipment with a certain ID, if the equipment is damaged, the server cannot distinguish the initial information, the configuration information and the like of the new lighting brightening control equipment ID information after the equipment is replaced. At this time, if the ID is simply copied and rewritten on site, the possibility that the ID information of the plurality of lighting brightening control devices is the same is greatly increased, so that the server cannot provide normal background service for the lighting brightening control devices.
Disclosure of Invention
Therefore, it is necessary to provide a method and an apparatus for generating ID information twice, which solve the problem that ID information duplication causes potential ID information duplication due to the fact that ID information is simply duplicated and rewritten in the field in the conventional operation mode after the lighting control device is damaged and replaced with a new device.
An ID information secondary generation method is applied to lighting brightening control equipment and comprises the following steps:
acquiring first ID information of old and bad illumination brightening control equipment, and storing the first ID information;
acquiring geographical position information and real-time information of the replaced illumination brightening control equipment;
according to the geographical position information and the real-time information, the first ID information is secondarily generated according to a logic algorithm to obtain second ID information;
writing the second ID information into the replaced illumination lighting control apparatus.
In one embodiment, the first ID information includes 40-bit ASCII code, where 0-9 bits of field content are generated serial number of the lighting control device, 10-15 bits of field content are random geographical location precision field of the old and bad lighting control device, 16-32 bits of field content are geographical location information field of the old and bad lighting control device, and 33-38 bits of field content are encrypted field of the ID information generated twice.
In one embodiment, the step of generating the first ID information twice according to a logic algorithm according to the geographical location information and the real-time information to obtain the second ID information includes:
acquiring the real-time information, and updating the 2-9 bit field content of the first ID information according to the logic algorithm according to the real-time information and the first ID information;
acquiring the geographical position information, and updating the content of an 11-38 bit field of the first ID information according to the geographical position information and the first ID information and the logic algorithm;
and generating a random even number or odd number according to the replaced illumination brightening control equipment, and updating the 39-bit field content of the first ID information to obtain the second ID information.
In one embodiment, before the step of obtaining the first ID information of the old and bad lighting control device and storing the first ID information, the method further includes:
sending a query reading instruction to the old and bad illumination brightening control equipment, wherein the instruction content of the query reading instruction is an ASCII code;
and receiving the query reading instruction through the old and bad illumination brightening control equipment, and responding to the query reading instruction to send the first ID information.
An ID information secondary generation device applied to lighting brightening control equipment comprises:
the processor is used for acquiring first ID information of the old and bad illumination lightening control equipment and storing the first ID information to the memory;
the locator is in communication connection with the processor and is used for generating geographic position information and real-time information of the position of the lighting and brightening control equipment and sending the geographic position information and the real-time information to the processor;
and the processor is further used for secondarily generating the first ID information according to a logic algorithm according to the geographical position information and the real-time information to obtain second ID information, and writing the second ID information into the replaced illumination brightening control equipment.
In one embodiment, the processor is further configured to send an inquiry reading instruction to the old and bad lighting and lightening control device, and the old and bad lighting and lightening control device receives the inquiry reading instruction and sends the first ID information to the processor in response to the inquiry reading instruction.
In one embodiment, the ID information secondary generation apparatus further includes:
the processor sends a query reading instruction to the old and bad illumination brightening control equipment through the communication device and receives the first ID information sent by the old and bad illumination brightening control equipment through the communication device; alternatively, the first and second electrodes may be,
and the processor writes the second ID information into the replaced lighting brightening control equipment through the communication device.
In one embodiment, the ID information secondary generation apparatus further includes:
and the function key is electrically connected with the processor and used for inputting an operation instruction, wherein the operation instruction comprises a reset instruction, a reading instruction, a generating instruction and a writing instruction.
In one embodiment, the ID information secondary generation apparatus further includes:
and the LED indicator light is electrically connected with the processor and is used for displaying the working state of the processor.
In one embodiment, the ID information secondary generation apparatus further includes:
a housing, the processor and the locator both disposed within the housing.
In one embodiment, the ID information secondary generation apparatus further includes:
and the power supply is electrically connected with the processor and used for supplying electric energy.
Compared with the prior art, the secondary generation method and the secondary generation device for the ID information firstly acquire the first ID information of the old and bad illumination lightening control equipment through the processor and store the first ID information; then, acquiring geographical position information and real-time information of the replaced lighting brightening control equipment through the processor; secondly generating the first ID information according to a logic algorithm according to the geographical position information and the real-time information to obtain second ID information; and finally, writing the second ID information into the replaced illumination brightening control equipment through the processor.
According to the method and the device, the first ID information is generated for the second time according to a logic algorithm based on the geographic position information and the real-time information, so that the newly generated second ID information inherits the identity information of the old and bad illumination lightening control equipment and generates an information identification section different from the first ID information. The server can easily identify the lighting brightening control equipment corresponding to the new ID information, and carry out omnibearing transplantation processing on the configuration information of the old and the old lighting brightening control equipment. Therefore, the problem of potential ID information repetition caused by copying and rewriting the ID information on site can be solved. And further improve the maintenance efficiency of field maintenance personnel.
Drawings
Fig. 1 is a flowchart of a secondary ID information generation method according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of an ID information secondary generation apparatus according to an embodiment of the present application;
fig. 3 is a schematic block diagram of an ID information secondary generation apparatus according to an embodiment of the present application.
10 ID information secondary generation device
100 processor
101 memory
102 function circuit board
103 RJ11 tail wire
104 power supply indicator lamp
200 locator
300 communication device
400 function key
500 LED indicator lamp
600 casing
700 power supply
Detailed Description
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, embodiments accompanying the present application are described in detail below with reference to the accompanying drawings. In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application. This application is capable of embodiments in many different forms than those described herein and those skilled in the art will be able to make similar modifications without departing from the spirit of the application and it is therefore not intended to be limited to the embodiments disclosed below.
It will be understood that when an element is referred to as being "secured to" another element, it can be directly on the other element or intervening elements may also be present. When an element is referred to as being "connected" to another element, it can be directly connected to the other element or intervening elements may also be present.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein in the description of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
Referring to fig. 1, an embodiment of the present application provides a secondary ID information generation method applied to an illumination brightness control device, including:
s102: the method comprises the steps of obtaining first ID information of the old and bad illumination lightening control equipment and storing the first ID information.
In one embodiment, the first ID information of the old and bad lighting lightening control device may be acquired by an arm (advanced RISC machine) processing chip. Specifically, the ARM processing chip may acquire the first ID information of the old and bad lighting lightening control device by querying a read instruction. In one embodiment, the ARM processing chip may transmit the query reading instruction to the old and bad lighting lightening control device through a communication chip (such as an ISO3082 transceiver).
In an embodiment, after receiving the query reading instruction, the old-bad lighting brightening control device may send the first ID information to the ARM processing chip through the communication chip in response to the query reading instruction. After the ARM processing chip receives the first ID information, the first ID information can be stored in the ARM processing chip. The first ID information may also be stored in a memory communicatively coupled to the ARM processing chip.
In one embodiment, the first ID information may include 40-bit ASCII codes. Wherein the content of the 0-9 bit field is a generated serial number of the lighting and brightening control equipment; the content of the 10-15 bit field is a random geographical position precision field of the old and bad lighting lightening control equipment; the content of the 16-32 bit field is a geographical position information field of the position of the old and bad lighting and lightening control equipment; the contents of the fields with the positions of 33-38 are encrypted fields generated secondarily by the ID information; the 39-bit field is blank.
S104: and acquiring geographical position information and real-time information of the replaced lighting brightening control equipment.
In one embodiment, after the first ID information of the old and bad lighting control device is obtained, the old and bad lighting control device is removed, and a new lighting control device is replaced. And then the geographical position information and the real-time information of the replaced illumination brightening control equipment can be obtained through the ARM processing chip. Specifically, the ARM processing chip may obtain the geographical location information and the real-time information of the lighting and brightening control device through a locator (such as a GPS, a beidou locator, etc.) in communication connection with the ARM processing chip. In one embodiment, the real-time information refers to real-time information operated by an operator.
S106: and secondarily generating the first ID information according to the geographical position information and the real-time information and a logic algorithm to obtain second ID information.
In one embodiment, the second ID information may be obtained by generating the first ID information twice according to a logic algorithm by the ARM processing chip according to the geographical location information and the real-time information. In one embodiment, the ARM processing chip may install the logic algorithm to first re-edit the 0-9 bit field of the first ID information. Specifically, the ARM core chip first acquires the current real-time information when editing. The real-time information comprises year, month, day, hour, minute and second, the ASCII code of the total 14-bit time information is added by two of adjacent bit data, then the remainder is taken for 0x0a, then new 7 16-system numerical values are obtained, and the 7 16-system numerical values are approximated to obtain the visual ASCII code number which is closest to the numerical value. And 7-bit ASCII codes are obtained and replace 2-9 bits of the first ID information, and 0-1 bits of the first ID information are kept unchanged.
Secondly, the ARM processing chip acquires the geographical position information, and writes the last two latitude digits and the last two longitude digits of the position where the lighting and lightening control equipment is located after replacement into 11-15 digits of the first ID information, so that the 11-15 digits of the first ID information are updated, and the 10 th digit of the first ID information remains unchanged. It should be noted that, when a locator (such as a GPS or a beidou locator) locates at the same position, the last 4 bits of the locating accuracy may be dynamically changed even in a stationary position due to different distribution of satellites in the sky at different locating times. Thereby random data can be obtained to update the 11-15 bits of the first ID information.
Thirdly, after acquiring the longitude and latitude information provided by the positioner, the ARM processing chip sequentially writes the first 8 bits of latitude and the first 9 bits of longitude of the geographical location information (coordinate) field where the lighting and lightening control equipment is located into the 16-32 bits of the first ID information, namely, updates the 11-15 bits of the first ID information. And then sorting the updated 0-32 bits of the first ID information from small to large through the ARM processing chip. Then, the ID information content of the place with the even number after sorting is extracted, and 16 numerical values are total. And sequentially adding the 16 numbers end to end, and then taking the remainder for 0xff to obtain 8 new 16-system numbers. These 8 16-ary numbers are approximated to produce visible ASCII code numbers that are closest in value. An 8-bit new ASCII code is obtained and the first 6 bits of the 8-bit new ASCII code are written to the 33-38 bits of the first ID information (i.e., the 33-38 bits of the first ID information are updated) to form the twice encrypted identification bits.
And finally, the ARM processing chip can generate a random even number which is written into 39 bits of the second ID information according to the reloading of the current equipment. If the ID information is damaged and cannot be read by the ARM processing chip, the original ID information (i.e., the first ID information) is considered to be completely terminated, and at this time, the ARM processing chip writes a random odd number in 39 bits of the new ID information (i.e., the second ID information). Thereby obtaining the complete new ID information, i.e. the second ID information.
The ARM processing chip obtains new 40-bit ID information (namely the second ID information) through the obtained ID information (namely the first ID information) of the old and bad lighting and lightening control equipment, the geographic position information of the locator and the real-time information through the calculation. The obtained second ID information and the first ID information have higher coincidence probability in a sequence number bit field and a positioning information bit field, and the difference between the obtained second ID information and the first ID information is generated to the maximum extent. And particularly the last bit of the second ID information, clearly identifies whether this ID information is replacement device ID information.
Thereby, the server can judge that the lighting lightening control device corresponding to the second ID information replaces the old lighting lightening control device according to the existing logic analysis. At this time, the server will immediately transplant all server-side configuration parameters of the old and bad lighting control devices to the newly replaced lighting control devices. Even if the old lighting brightening control equipment is returned to the factory for maintenance, the ID information of the old lighting brightening control equipment cannot be repeated with other lighting brightening control equipment, so that the high efficiency and the automation of field maintenance and replacement are ensured; and further, the problem that abnormal acceptance of the server is reported by mistake due to repeated IDs is avoided.
S108: writing the second ID information into the replaced illumination lighting control apparatus.
In one embodiment, the second ID information generated secondarily can be transmitted to the replaced lighting brightening control device through the communication chip by the ARM processing chip. Specifically, the ARM processing chip may send a write instruction to the replaced lighting and lightening control device, and the replaced lighting and lightening control device rewrites the second ID information after receiving the write instruction. In one embodiment, the ARM processing chip can also be replaced with other processors, such as a single chip microcomputer, a central processing unit, and the like. In one embodiment, the lighting brightening control device is a lamp brightening control device.
In one embodiment, the instruction content of the write instruction may be ASCII code. The instruction format is "< AT _ CHECK _ WRITE _ IDDATA _ 10-bit ASCII code _ 6-bit ASCII code _ 17-bit ASCII code _ 7-bit ASCII code >", and the instruction means an operation of sending the WRITE of the second ID information to the lighting control apparatus after replacement. In the WRITE command content, "AT" indicates a command type, "CHECK" indicates the lighting control device channel query after replacement, "WRITE" indicates an update WRITE information operation that requires data writing, and "IDDATA" indicates data content that requires update WRITE. The "10-bit ASCII code _ 6-bit ASCII code _ 17-bit ASCII code _ 7-bit ASCII code" refers to the actual content of the ID information to be written (i.e., the second ID information). "<" is the enlightenment symbol of the instruction; ">" is the end symbol of the instruction; "_" is a separator. In one embodiment, the complete write instruction is: < AT _ CHECK _ WRITE _ IDDATA _0123456789_012345_01234567890123456_0123456 >.
In one embodiment, after the replaced lighting brightening control device receives an ID information writing instruction sent by the ARM processing chip, the lighting brightening control device performs corresponding writing operation and reply. In one embodiment, the content of the returned instruction format is a visual ASCII code. In one embodiment, the instruction format of the reply may be instruction format 1 "< INSTALL _ WRITE _ IDDATA _ OK >". The expression of the command format 1 means that the replaced lighting control device completes writing new ID information after receiving the writing command. In the instruction content, "INSTALL" represents the attribute of the local equipment and is used for fixedly installing electrical equipment on site; "WRITE" indicates that the instruction information operation is a WRITE operation; "IDDATA" indicates that the content attribute of the instruction information is ID information of the device; "OK" indicates that the ID writing operation of the lighting control apparatus after replacement is completed. In instruction format 1, "<" is the enlightenment symbol of the instruction; ">" is the end symbol of the instruction; "_" is a separator.
In one embodiment, the instruction format of the reply may also be instruction format 2 "< INSTALL _ WRITE _ IDDATA _ ERROR >". The meaning expressed by the command format 2 means a response made by the lighting control device after replacement after receiving the write command. In the context of this instruction, "INSTALL", "WRITE", and "IDDATA" have the same meaning as in the above embodiment; "ERROR" indicates that ID writing of the lighting control apparatus after replacement has failed. At this time, the ARM processing chip reports an error, and field personnel need to try again to operate.
In this embodiment, the ARM processing chip generates the first ID information twice according to a logic algorithm based on the geographical location information and the real-time information, so that the newly generated second ID information inherits the identity information of the old and bad lighting control device and generates an information identification segment different from the first ID information. The server can easily identify the lighting brightening control equipment corresponding to the new ID information, and carry out all-around easy transplanting processing on the configuration information of the old and the old lighting brightening control equipment. Therefore, the problem of potential ID information repetition caused by copying and rewriting the ID information on site can be solved. The problems of complicated operation such as equipment information configuration and parameter modification required by replacing the lighting brightening control equipment can be solved. And further improve the maintenance efficiency of field maintenance personnel.
In one embodiment, before the step of obtaining the first ID information of the old and bad lighting control device and storing the first ID information, the method further includes: sending a query reading instruction to the old and bad illumination brightening control equipment, wherein the instruction content of the query reading instruction is an ASCII code; and receiving the query reading instruction through the old and bad illumination brightening control equipment, and responding to the query reading instruction to send the first ID information.
In one embodiment, the instruction content of the query reading instruction is visible ASCII code, and the instruction format is "< AT _ CHECK _ response _ IDDATA >", which is expressed in the meaning of initiating a request ID message to the old and bad lighting control device and requesting a reply. The old and bad illumination brightening control equipment replies after receiving the instruction. In the instruction content of the query reading instruction, "AT" represents the instruction type, and "CHECK" represents the bad channel query; "RESPOND" is a read message operation indicating that a data response is required; "IDDATA" is a data content indicating that reading is required; "<" is the enlightenment symbol of the instruction; ">" is the end symbol of the instruction; "_" is a separator.
In one embodiment, the old and bad lighting lightening control device will answer the corresponding response after receiving the query reading instruction. The answer has two types of command formats and contents, and in one embodiment, the contents of the reply command format are visible ASCII codes. In one embodiment, the returned instruction format may be instruction format 3 "< INSTALL _ IDDATA _10 bit ASCII code _6 bit ASCII code _17 bit ASCII code _7 bit ASCII code _ OK >" or instruction format 4 "< INSTALL _ IDDATA _ ERROR >".
Wherein, the instruction format 3 means the response of the old lighting lightening control device after receiving the query reading instruction. In the instruction content, "INSTALL" represents the attribute of the local equipment and is used for fixedly installing electrical equipment on site; "IDDATA" indicates ID information of the old and bad device as the content attribute of the instruction information; "10-bit ASCII code _ 6-bit ASCII code _ 17-bit ASCII code _ 7-bit ASCII code" represents the actual content of the first ID information; "OK" indicates that the ID information fed back by the old and bad lighting control apparatus is completely available. In one embodiment, the complete instruction (i.e., the first ID information) obtained may be: "< INSTALL _ IDDATA _0123456789_012345_01234567890123456_0123456_ OK >".
In one embodiment, the instruction format 4 is expressed to mean that the old lighting control device responds after receiving the query reading instruction. In the content of the instruction, "INSTALL" and "IDDATA" may be defined as described in the above embodiment, and "ERROR" indicates that the ID information of the old and bad lighting control apparatus is damaged or lost and cannot be read normally.
Referring to fig. 2 and fig. 3, another embodiment of the present application provides an ID information secondary generation apparatus 10, which is applied to an illumination brightening control device. The ID information secondary generation apparatus 10 includes a functional circuit board 102. The functional circuit board 102 has a processor 100 and a locator 200 mounted thereon. The processor 100 is configured to obtain first ID information of the old and bad lighting control device, and store the first ID information in the memory 101. The locator 200 is communicatively coupled to the processor 100. The locator 200 is configured to generate geographic position information and real-time information of a location where the lighting and lightening control device is located, and send the geographic position information and the real-time information to the processor 100. The processor 100 is further configured to generate the first ID information for the second time according to a logic algorithm according to the geographic location information and the real-time information to obtain second ID information, and write the second ID information into the replaced lighting brightening control device.
In one embodiment, the processor 100 is further configured to send an inquiry reading instruction to the old and bad lighting and lightening control device, and the old and bad lighting and lightening control device receives the inquiry reading instruction and sends the first ID information to the processor 100 in response to the inquiry reading instruction.
In one embodiment, the processor 100 may employ an ARM (advanced RISC machine) processing chip. In one embodiment, the memory 101 may communicate with the processor 100 over an IIC communication bus. The processor 100 may store the first ID information of the old and bad lighting control apparatus to the memory 101 after acquiring the first ID information. In one embodiment, the memory 101 may also be used to actually store some temporary data during the execution of the logical algorithm, as well as the ID information sequence record. In one embodiment, the memory 101 is of the type FM24V 10-G.
In one embodiment, the locator 200 may be a GPS locator. In one embodiment, the locator 200 may also be a Beidou locator. In one embodiment, the locator 200 may be communicatively coupled to the processor 100 via a serial communication line. The locator 200 may be configured to provide the geographical location information and the real-time information when the ID information is secondarily generated, so that the processor 100 may secondarily generate the first ID information according to a logical algorithm based on the geographical location information and the real-time information. In one embodiment, the locator 200 is described as model UM220-III/N _ SMD.
In one embodiment, the ID information secondary generation apparatus 10 further includes: a communication device 300. In one embodiment, the communication device 300 may be mounted on the functional circuit board 102. In one embodiment, the processor 100 may perform information interaction with the old and bad lighting lightening control device through the communication device 300. Specifically, the communication device 300 may be communicatively connected to the processor 100 via a serial communication line. The communication device 300 can be in communication connection with the RJ11 tail 103 through a 485 differential communication line and in communication with the old and bad lighting lightening control device through the RJ11 tail 103. In one embodiment, the processor 100 may further write the second ID information into the replaced lighting brightness control device through the communication device 300.
In one embodiment, the RJ11 tail 103 is made of a 6-core 3-set twisted single strand copper core. The outer layer of the copper core wire is provided with a metal net-shaped shielding layer for shielding external electromagnetic interference signals. The end of the RJ11 tail 103 is a 6P RJ11 crystal head, which is connected to the RJ11 socket of the lighting control device, ensuring the communication connection between the lighting control device and the ID information secondary generation apparatus 10.
In one embodiment, the ID information secondary generation apparatus 10 further includes: LED indicator 500. The LED indicator 500 is electrically connected to the processor 100. The LED indicator 500 is used to display the working status of the processor 100. In one embodiment, the LED indicator 500 may be mounted on the functional circuit board 102. In one embodiment, the LED indicator 500 may be an RGB status indicator. Specifically, the RGB status indicator is not lit under normal conditions, and when the ID information secondary generation apparatus 10 is plugged into the lighting and lighting control device through the RJ11 tail 103, the connection is normal, and then yellow is displayed, and when a key is pressed, yellow flickers appear, and when the corresponding key is pressed successfully, green is displayed for a short time.
In one embodiment, the ID information secondary generation apparatus 10 further includes: function keys 400. The function key 400 is electrically connected to the processor 100. The function key 400 is used to input an operation instruction. The operation instruction comprises a reset instruction, a read instruction, a generation instruction and a write instruction. In one embodiment, the function keys 400 are mounted on the function circuit board 102. In one embodiment, the function keys 400 may include a reset key, a read key, a generate key, and a write key. The reset key correspondingly generates a reset instruction. The reading key correspondingly generates a reading instruction. And generating a generating instruction corresponding to the key. And the writing key correspondingly generates a writing instruction.
In one embodiment, the reading instruction is to read the first ID information of the old and bad lighting control device. In one embodiment, the generating instruction is to generate the first ID information twice according to a logic algorithm based on the geographic location information and the real-time information, and obtain the second ID information. In one embodiment, the writing instruction is to write the second ID information to the replaced lighting-up control apparatus. In one embodiment, the reset instruction can be used for the system zero reset operation when the three links are abnormal by inquiring, generating and writing.
When the ID information secondary generation apparatus 10 is used, the RJ11 tail 103 is first connected to the old and bad lighting control device. When the LED indicator 500 turns yellow, that is, the ID information secondary generation device 10 is not connected to the old and bad lighting control device, the operator may press the read button on the function circuit board 102. At this time, the processor 100 reads the ID information of the old and bad illumination lighting control device through the communication device 300 and stores the information in the memory 101. When the LED indicator 500 changes from yellow to green and remains green for 2 seconds (the specific time can be set according to the requirement), it indicates that the reading and storing is completed.
At this time, the RJ11 tail 103 is pulled out from the RJ11 socket of the old lighting control device, and a new lighting control device is replaced. After the replacement is completed, the crystal plug of the RJ11 tail wire 103 is plugged into the RJ11 socket of the newly replaced lighting and brightening control device, and the connection between the newly replaced lighting and brightening control device and the ID information secondary generation device 10 is ensured to be smooth. Then, the generation key of the function keys 400 is pressed, and the LED indicator 500 changes from a yellow normally-on state to a yellow flashing state. At the same time, the processor 100 starts reading the just first ID information from the memory 101. After the reading is completed, the processor 100 obtains the geographical location information and the real-time information of the replaced lighting and brightening control device through the locator 200. And then, carrying out secondary generation on the first ID information according to a specific logic algorithm to obtain the second ID information.
After the second ID information is generated, the LED indicator 500 changes from the yellow flashing state to the green normally-on state for 2 seconds, and then returns to the yellow normally-on state. The generated second ID information is temporarily stored in the processor 100. Then, the write-in key in the function key 400 is pressed, the processor 100 sequentially passes through the communication device 300 and the RJ11 tail 103 to send the second ID information to the replaced lighting and brightening control device, and at this time, the LED indicator 500 changes from the yellow normally-on state to the yellow flashing state again. When the writing of the second ID information is completed, the LED indicator 500 is turned from yellow to green and constantly turned on for 2 seconds, and then returns to the yellow and constantly turned on state. At this time, the replaced lighting control apparatus ID information is written. And then the newly replaced illumination brightening control equipment is restarted after being shut down, and the replacement work of the old and bad illumination brightening control equipment is completed.
The replaced lighting brightening control equipment can be automatically identified by the server, and the server can automatically transfer the relevant configuration information of the old and bad lighting brightening control equipment to new equipment, so that the equipment can normally operate. By adopting the operation mode, the secondary generation of the ID information can be completed only by simply pressing the corresponding key by the operator, so that the operation flow of the operator is greatly simplified, and the working efficiency of the operator is improved.
In one embodiment, the ID information secondary generation apparatus 10 further includes: a housing 600. The processor 100 and the positioner 200 are both disposed within the housing 600. In one embodiment, the housing 600 is made of an insulating material, such as plastic. In one embodiment, the case 600 may include an upper cover and a bottom case fixedly connected to the upper cover. The bottom case and the upper cover may be fastened and installed by screws. In one embodiment, the bottom case is provided with 4 screw holes, the functional circuit board 102 can be placed on the 4 screw holes of the bottom case, and then the top cover is fastened and pressed, and after the fastening, the bottom case, the functional circuit board 102 and the top cover are fixedly mounted together through 4 screws of the bottom case.
In one embodiment, the ID information secondary generation apparatus 10 further includes: a power supply 700. The power supply 700 is electrically connected to the processor 100. The power supply 700 is used to provide power to the processor 100 (i.e., to power the functional circuit board 102). In one embodiment, the power supply 700 may be a lithium battery. The lithium battery may be disposed within the case 600.
In one embodiment, the ID information secondary generation apparatus 10 further includes a power indicator 104 for checking whether the power supply 700 supplies power normally. Specifically, if the power indicator 104 is displayed in red, it indicates that the power is supplied normally. If the power indicator 104 is not lit, indicating that the power supply is not normal, secondary generation of ID information cannot be performed at this time.
In summary, the first ID information is generated twice according to a logic algorithm based on the geographical location information and the real-time information, so that the newly generated second ID information inherits the identity information of the old and bad lighting control device and generates an information identification section different from the first ID information. The server can easily identify the lighting brightening control equipment corresponding to the new ID information, and carry out omnibearing transplantation processing on the configuration information of the old and the old lighting brightening control equipment. Therefore, the problem of potential ID information repetition caused by copying and rewriting the ID information on site can be solved. The problems of complicated operation such as equipment information configuration and parameter modification required by replacing the lighting brightening control equipment can be solved. And further improve the maintenance efficiency of field maintenance personnel.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (11)

1. An ID information secondary generation method is applied to lighting brightening control equipment and is characterized by comprising the following steps:
acquiring first ID information of old and bad illumination brightening control equipment, and storing the first ID information;
acquiring geographical position information and real-time information of the replaced illumination brightening control equipment; the real-time information comprises real-time information operated by an operator;
according to the geographical position information and the real-time information, the first ID information is secondarily generated according to a logic algorithm to obtain second ID information;
writing the second ID information into the replaced illumination lighting control apparatus.
2. The secondary generation method of ID information according to claim 1, wherein the first ID information includes 40-bit ASCII code, wherein 0-9 bit field content is a generation serial number of the lighting control device, 10-15 bit field content is a random geographical location precision field of the old and bad lighting control device, 16-32 bit field content is a geographical location information field of a location where the old and bad lighting control device is located, and 33-38 bit field content is an encrypted field of secondary generation of ID information.
3. The secondary ID information generating method according to claim 2, wherein the step of generating the first ID information secondarily according to a logic algorithm based on the geographical location information and the real-time information to obtain second ID information comprises:
acquiring the real-time information, and updating the 2-9 bit field content of the first ID information according to the logic algorithm according to the real-time information and the first ID information;
acquiring the geographical position information, and updating the content of an 11-38 bit field of the first ID information according to the geographical position information and the first ID information and the logic algorithm;
and generating a random even number or odd number according to the replaced illumination brightening control equipment, and updating the 39-bit field content of the first ID information to obtain the second ID information.
4. The secondary generation method of ID information according to claim 3, wherein before the step of acquiring the first ID information of the old and bad lighting control device and storing the first ID information, the method further comprises:
sending a query reading instruction to the old and bad illumination brightening control equipment, wherein the instruction content of the query reading instruction is an ASCII code;
and receiving the query reading instruction through the old and bad illumination brightening control equipment, and responding to the query reading instruction to send the first ID information.
5. An ID information secondary generation device applied to lighting brightening control equipment is characterized by comprising:
a processor (100) for acquiring first ID information of a bad and old lighting lightening control device and storing the first ID information to a memory (101);
the locator (200) is in communication connection with the processor (100) and is used for generating geographic position information and real-time information of the position where the lighting and brightening control equipment is located and sending the geographic position information and the real-time information to the processor (100); the real-time information comprises real-time information operated by an operator;
the processor (100) is further configured to generate the first ID information for the second time according to a logic algorithm based on the geographical location information and the real-time information to obtain second ID information, and write the second ID information into the replaced lighting brightening control device.
6. The ID information secondary generation apparatus as claimed in claim 5, wherein said processor (100) is further configured to send an inquiry reading instruction to said old and bad lighting lightening control device, said old and bad lighting lightening control device receiving said inquiry reading instruction and sending said first ID information to said processor (100) in response to said inquiry reading instruction.
7. The ID information secondary generation apparatus according to claim 6, further comprising:
the communication device (300) is in communication connection with the processor (100), the processor (100) sends an inquiry reading instruction to the old and bad illumination brightening control equipment through the communication device (300), and receives the first ID information sent by the old and bad illumination brightening control equipment through the communication device (300); alternatively, the first and second electrodes may be,
the processor (100) writes the second ID information into the lighting control apparatus after replacement through the communication device (300).
8. The ID information secondary generation apparatus according to claim 5, further comprising:
and the function key (400) is electrically connected with the processor (100) and is used for inputting operation instructions, and the operation instructions comprise a reset instruction, a reading instruction, a generating instruction and a writing instruction.
9. The ID information secondary generation apparatus according to claim 5, further comprising:
and the LED indicator lamp (500) is electrically connected with the processor (100) and is used for displaying the working state of the processor (100).
10. The ID information secondary generation apparatus according to claim 5, further comprising:
a housing (600), the processor (100) and the positioner (200) both disposed within the housing (600).
11. The ID information secondary generation apparatus according to any one of claims 5 to 10, further comprising:
a power source (700) electrically connected to the processor (100) for providing electrical power.
CN201910864136.XA 2019-09-12 2019-09-12 Secondary generation method and device of ID information Active CN110691446B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910864136.XA CN110691446B (en) 2019-09-12 2019-09-12 Secondary generation method and device of ID information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910864136.XA CN110691446B (en) 2019-09-12 2019-09-12 Secondary generation method and device of ID information

Publications (2)

Publication Number Publication Date
CN110691446A CN110691446A (en) 2020-01-14
CN110691446B true CN110691446B (en) 2021-11-19

Family

ID=69109056

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910864136.XA Active CN110691446B (en) 2019-09-12 2019-09-12 Secondary generation method and device of ID information

Country Status (1)

Country Link
CN (1) CN110691446B (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009020459A2 (en) * 2006-08-04 2009-02-12 Verenium Corporation Glucanases, nucleic acids encoding them and methods for making and using them
CN105989507A (en) * 2015-01-30 2016-10-05 北京陌陌信息技术有限公司 Method and device for generating information object based on region location
CN106095875A (en) * 2016-06-06 2016-11-09 天脉聚源(北京)教育科技有限公司 A kind of method and device improving live Termination ID
CN106171047A (en) * 2014-03-06 2016-11-30 飞利浦灯具控股公司 There is intelligent illuminating system and the method for operation thereof of predictive maintenance scheduling
CN107025434A (en) * 2017-03-08 2017-08-08 广东欧珀移动通信有限公司 A kind of fingerprint register method and mobile terminal
CN108154044A (en) * 2016-12-05 2018-06-12 广东精点数据科技股份有限公司 A kind of ID card No. desensitization method and device being combined based on random and displacement
CN108846002A (en) * 2018-04-20 2018-11-20 广东数果科技有限公司 Label real time updating method and system
CN109068460A (en) * 2018-07-25 2018-12-21 重庆辉腾能源股份有限公司 A kind of wisdom illumination cloud management for new energy street lamp
CN109189798A (en) * 2018-09-30 2019-01-11 浙江百世技术有限公司 A method of based on spark synchronized update data
CN109743253A (en) * 2018-12-29 2019-05-10 杭州趣链科技有限公司 A kind of distributed hashtable method for routing merging geographical location
CN109800205A (en) * 2019-01-25 2019-05-24 北京鼎汉技术股份有限公司 The system and method that subway platform door ID number is arranged automatically
CN110139440A (en) * 2019-05-08 2019-08-16 中山易能智达电子有限公司 A kind of method for finding new device ID when lighting system replacement defective device
CN110149806A (en) * 2017-12-08 2019-08-20 谷歌有限责任公司 The digital assistants of stack data structures are handled

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006186613A (en) * 2004-12-27 2006-07-13 Orion Denki Kk Recording and reproducing device, and reserved video-recording processing program
CN102624525B (en) * 2011-11-18 2015-04-29 广西柳工机械股份有限公司 Electronic identity recognition method for engineering machinery and device
CN103401957B (en) * 2013-08-07 2016-09-28 五八同城信息技术有限公司 A kind of unique method identifying client machine under web environment
CN105404437B (en) * 2014-08-05 2019-07-26 阿里巴巴集团控股有限公司 A kind of method and device of information operation
US20170111247A1 (en) * 2015-10-14 2017-04-20 Ricoh Company, Ltd. Device management apparatus, device management system, device management method, and computer-readable recording medium
US10306399B2 (en) * 2017-04-03 2019-05-28 Here Global B.V. Supporting an update of radio map data
JP2019125536A (en) * 2018-01-19 2019-07-25 パナソニックIpマネジメント株式会社 Illumination control program update system, update device, lighting fixture, and illumination control program update method
CN208888862U (en) * 2018-11-27 2019-05-21 重庆五盾科技有限公司 A kind of product based on RFID is opened warning retrospect mark
CN109903421A (en) * 2019-03-04 2019-06-18 知轮(杭州)科技有限公司 Data processing method for vehicle on-line monitoring system

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009020459A2 (en) * 2006-08-04 2009-02-12 Verenium Corporation Glucanases, nucleic acids encoding them and methods for making and using them
CN106171047A (en) * 2014-03-06 2016-11-30 飞利浦灯具控股公司 There is intelligent illuminating system and the method for operation thereof of predictive maintenance scheduling
CN105989507A (en) * 2015-01-30 2016-10-05 北京陌陌信息技术有限公司 Method and device for generating information object based on region location
CN106095875A (en) * 2016-06-06 2016-11-09 天脉聚源(北京)教育科技有限公司 A kind of method and device improving live Termination ID
CN108154044A (en) * 2016-12-05 2018-06-12 广东精点数据科技股份有限公司 A kind of ID card No. desensitization method and device being combined based on random and displacement
CN107025434A (en) * 2017-03-08 2017-08-08 广东欧珀移动通信有限公司 A kind of fingerprint register method and mobile terminal
CN110149806A (en) * 2017-12-08 2019-08-20 谷歌有限责任公司 The digital assistants of stack data structures are handled
CN108846002A (en) * 2018-04-20 2018-11-20 广东数果科技有限公司 Label real time updating method and system
CN109068460A (en) * 2018-07-25 2018-12-21 重庆辉腾能源股份有限公司 A kind of wisdom illumination cloud management for new energy street lamp
CN109189798A (en) * 2018-09-30 2019-01-11 浙江百世技术有限公司 A method of based on spark synchronized update data
CN109743253A (en) * 2018-12-29 2019-05-10 杭州趣链科技有限公司 A kind of distributed hashtable method for routing merging geographical location
CN109800205A (en) * 2019-01-25 2019-05-24 北京鼎汉技术股份有限公司 The system and method that subway platform door ID number is arranged automatically
CN110139440A (en) * 2019-05-08 2019-08-16 中山易能智达电子有限公司 A kind of method for finding new device ID when lighting system replacement defective device

Also Published As

Publication number Publication date
CN110691446A (en) 2020-01-14

Similar Documents

Publication Publication Date Title
WO2018113387A1 (en) Odn system and working method therefor
CN102385522A (en) System and method for updating firmware
CN104808902A (en) Image data generation device, portable terminal device and portable control device
US20160231372A1 (en) Wire Diagram Tagging System
CN100373273C (en) Field maintenance tool with improved device description communication and storage
US20140026775A1 (en) Reader apparatus and methods for verifying electropnic detonator position locations at a blasting site
CN104567982A (en) Method for function setting of a measuring point and measuring point
CN103025008B (en) Street lamp control method
CN110691446B (en) Secondary generation method and device of ID information
CN113074783A (en) Lighthouse type industrial equipment monitoring method and device
CN115374490A (en) Device and method for writing equipment identifier, storage medium and terminal
CN104575601A (en) Apparatus for duplicating usage parameters written in memory of industrial tool
CN213958131U (en) Offline gate authentication device
CN107678917A (en) Test machine automatic management method, apparatus, equipment and storage medium
CN113726543A (en) Operation and maintenance service processing method, device, system, server and storage medium
CN207039978U (en) Intelligent lamp and mobile Internet of Things illumination reservation system
JP2006127105A (en) Method of installing firmware into electronic apparatus and printed circuit board
US20230093495A1 (en) Maintenance Method and Configuration Method for Luminaire Assemblies
CN115473759B (en) Method for realizing multi-machine communication, printing and storing based on extended RS485 communication interface
CN112367207B (en) Universal Internet of things equipment suitable for tobacco leaf baking controller and matching method
CN108133243A (en) Assets scaling method, device, system, storage medium and computer equipment
CN108545558A (en) Elevator control panel and elevator control system
JP3228783U (en) Lighting information processing device
CN112018894B (en) Automatic updating system for power distribution automation equipment drawing model
CN212624805U (en) Memory chip

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant