CN112423407A - Terminal equipment scanning connection control method based on RDM bidirectional communication - Google Patents

Terminal equipment scanning connection control method based on RDM bidirectional communication Download PDF

Info

Publication number
CN112423407A
CN112423407A CN202011166969.8A CN202011166969A CN112423407A CN 112423407 A CN112423407 A CN 112423407A CN 202011166969 A CN202011166969 A CN 202011166969A CN 112423407 A CN112423407 A CN 112423407A
Authority
CN
China
Prior art keywords
scanning
terminal
terminal device
rdm
uid
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011166969.8A
Other languages
Chinese (zh)
Inventor
陈天锣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Huayong Intelligent Technology Co ltd
Original Assignee
Guangzhou Huayong Intelligent 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 Guangzhou Huayong Intelligent Technology Co ltd filed Critical Guangzhou Huayong Intelligent Technology Co ltd
Priority to CN202011166969.8A priority Critical patent/CN112423407A/en
Publication of CN112423407A publication Critical patent/CN112423407A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers

Abstract

The invention discloses a scanning connection control method of terminal equipment based on RDM bidirectional communication, and relates to the technical field of control of terminal equipment of the Internet of things. The method comprises the following steps: s1, obtaining the UID code of the terminal equipment; s2, importing the UID code of the terminal device to the control device; and S3, sending a polling scanning instruction to establish connection control between the terminal equipment and the control equipment. The scanning connection control method of the invention collects, arranges and guides UID coded data of all the existing terminal equipment into the control equipment in advance, and can establish the quick identification connection between the corresponding terminal equipment and the control equipment only by scanning the UID codes one by one in the UID coded database in the control equipment during the actual field use. Compared with the existing dichotomy scanning, the method of the invention avoids the situation that a plurality of terminal devices respond simultaneously, the mutual superposition influence of response signals generated by the plurality of terminal devices when responding simultaneously does not exist, and the time consumption of the terminal device scanning process is obviously reduced compared with the dichotomy.

Description

Terminal equipment scanning connection control method based on RDM bidirectional communication
Technical Field
The invention relates to the technical field of control of terminal equipment of the Internet of things, in particular to a scanning connection control method of terminal equipment based on RDM bidirectional communication.
Background
In light control based on half-duplex serial port two-way communication (such as RDM and the like), control equipment generally performs scanning identification by using a unique code UID of terminal equipment, and manages and controls lamps after the scanning identification is completed. In the scanning and identifying process, the broadcast scanning terminal device is generally performed by adopting a dichotomy. The principle of the binary method is that the control device only broadcasts and sends a scanning instruction to one half of the UID range every time, if no response is obtained, the control device considers that no terminal device exists in the range, and the control device sends the scanning instruction to the other half of the range. When any response is received, the terminal equipment is considered to be in the range, the range is continuously divided into two parts, and the scanning instruction is broadcasted again to be sent until the UID of the terminal equipment is determined finally. And then scanning all the responded ranges in the same way until the UIDs of all the terminal devices are determined.
The original device scanning mode has no problem theoretically, but has many difficulties in practical technical implementation, especially when the number of controlled devices is large, which is specifically shown in the following:
1. in the first dichotomy scanning, because of more terminal devices, there is a situation that many terminal devices respond together at the same time, and because the time of the response signals is basically consistent, the signals are mutually superimposed in a completely unpredictable state, so that the signals are completely disordered and cannot be identified;
2. when a plurality of terminal devices simultaneously send response signals, the load of a communication link is increased, so that the actual signal transmission capability is weakened, and the controlled device may not receive the signals;
3. according to the standard of the RDM protocol, all RDM signals must be transmitted and received between two adjacent frames of DMX signals in an interspersed mode, the reply of each instruction must be completed within the vacant time between two adjacent frames of DMX signals, and otherwise, the reply is invalid. When scanning signals are replied, due to the fact that a plurality of lamps reply at the same time, the signals are affected mutually and overlapped uncontrollably, so that the above standard cannot be met, and even DMX signals are interfered;
4. for both the control equipment and the controlled equipment, great technical implementation difficulty exists in signal receiving and transmitting state switching, time sequence control, response speed and signal identification, and the difficulty is particularly great when a wireless receiving and transmitting module is adopted to connect the control equipment and the controlled equipment;
5. the dichotomy scanning has a large base number of the total UID code, and particularly under the condition that the UID code distribution is special, the whole scanning process takes a long time.
Disclosure of Invention
In order to solve the defects of the prior art, the invention provides a scanning connection control method of terminal equipment based on RDM bidirectional communication.
The technical scheme adopted by the invention for realizing the technical effects is as follows:
a scanning connection control method of terminal equipment based on RDM bidirectional communication comprises the following steps:
s1, obtaining the UID code of the terminal equipment;
s2, importing the UID code of the terminal device to the control device;
and S3, sending a polling scanning instruction to establish connection control between the terminal equipment and the control equipment.
Preferably, in the above scanning connection control method for the terminal device based on RDM bidirectional communication, the terminal device is a terminal node in an internet of things established based on the control device.
Preferably, in the above method for controlling scanning connection of terminal devices based on RDM bidirectional communication, the importing the UID code of a terminal device to a control device may be a single importing of the UID code of a single terminal device, or a batch importing of a plurality of UID codes of a plurality of terminal devices.
Preferably, in the above method for controlling scanning connection of terminal device based on RDM bidirectional communication, the UID code is stored in the control device in order by a database.
Preferably, in the above method for controlling scan connection of a terminal device based on RDM bidirectional communication, the scan command is a command in an RDM format.
Preferably, in the above method for controlling scanning connection of a terminal device based on RDM bidirectional communication, the obtaining manner of the UID code of the terminal device includes requesting from a device manufacturer.
Preferably, in the above scanning connection control method for terminal equipment based on RDM bidirectional communication, the obtaining manner of the UID code of the terminal equipment includes binary scanning and automatic entry.
Preferably, in the scanning connection control method for the terminal device based on RDM bidirectional communication, a batch device or a single device is used for binary scanning automatic entry.
Preferably, in the above method for controlling scanning connection of terminal devices based on RDM bidirectional communication, when a terminal device is newly added, the UID code of the terminal device to be newly added is separately recorded into the control device.
Preferably, in the above method for controlling scanning connection of terminal device based on RDM bidirectional communication, the terminal device is a lamp or a household appliance with UID code.
The invention has the beneficial effects that: the scanning connection control method of the invention completely does not adopt the broadcast signal to send the instruction, thereby avoiding the condition that a plurality of terminal devices respond simultaneously, and having no various influences generated by the mutual superposition of response signals of the plurality of terminal devices when the plurality of terminal devices respond simultaneously. In addition, since the number of terminal devices per actual user is very small relative to the total UID code base, the entire terminal device scanning process takes much less time than the binary method. The scanning connection control method has simple technical principle and is easy to realize.
Drawings
FIG. 1 is a flow chart of the present invention.
Detailed Description
For a further understanding of the invention, reference is made to the following description taken in conjunction with the accompanying drawings and specific examples, in which:
in the description of the present invention, it should be noted that the terms "vertical", "upper", "lower", "horizontal", and the like indicate orientations or positional relationships based on those shown in the drawings, and are only for convenience of describing the present invention and simplifying the description, but do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and thus, should not be construed as limiting the present invention. Furthermore, "first," "second," "third," and "fourth" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
In the description of the present invention, it should be further noted that, unless otherwise specifically stated or limited, the terms "disposed," "mounted," "connected," and "connected" are to be construed broadly and may be, for example, fixedly connected, detachably connected, integrally connected, mechanically connected, electrically connected, directly connected, connected through an intermediate medium, or connected through the insides of two elements. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
Referring to fig. 1, as shown in the figure, an embodiment of the present invention provides a scanning connection control method for a terminal device based on RDM bidirectional communication, where the method includes the steps of:
s1, obtaining the UID code of the terminal equipment;
s2, importing the UID code of the terminal device to the control device;
and S3, sending a polling scanning instruction to establish connection control between the terminal equipment and the control equipment.
Specifically, the terminal device in the embodiment of the present invention is a terminal node in an internet of things network established based on the control device. The UID code of the terminal device is imported to the control device, and the importing may be a single time of the UID code of a single terminal device, or a batch importing of a plurality of UID codes of a plurality of terminal devices. In order to facilitate the sending of the subsequent polling scanning instruction, the UID codes are stored in the control equipment in order by using the database, and the scanning instruction is an instruction in an RDM format.
Specifically, the obtaining mode of the UID code of the terminal equipment comprises requesting from an equipment manufacturer, and for some terminal equipment which cannot directly obtain the UID code from the equipment manufacturer, binary scanning can be adopted for automatic recording. Particularly, in order to conveniently, quickly and accurately record, dichotomy scanning automatic recording can be carried out by adopting batch equipment or single equipment. And when the terminal equipment is newly added, independently inputting the UID code of the terminal equipment to be newly added into the control equipment. The UID coded data is recorded only once under the condition that no terminal equipment is newly added, and repeated recording is not needed during later actual operation control. When the terminal equipment is newly added, only the newly added terminal equipment needs to be recorded, and the recorded terminal equipment does not need to be repeatedly recorded. When the device is actually used on site, when the operation control device scans the connected terminal device, any broadcasting mode is not needed, and only the UID codes recorded in advance are polled one by one to send scanning instructions.
In some embodiments of the invention, the terminal device is a lamp or household appliance with a UID code. By collecting, arranging and guiding all UID coded data of the existing terminal equipment into the control equipment in advance, when the terminal equipment is actually used on site, the UID coded data can be scanned one by one in the UID coded database in the control equipment to establish the quick identification connection between the corresponding terminal equipment and the control equipment.
In summary, the scanning connection control method of the present invention does not use a broadcast signal to send a command at all, thereby avoiding the situation that multiple terminal devices respond simultaneously, and there is no influence caused by the mutual superposition of the response signals of the multiple terminal devices when the multiple terminal devices respond simultaneously. In addition, since the number of terminal devices per actual user is very small relative to the total UID code base, the entire terminal device scanning process takes much less time than the binary method. The technical principle is simple and easy to realize.
The foregoing shows and describes the general principles, essential features, and advantages of the invention. It will be understood by those skilled in the art that the present invention is not limited to the embodiments described above, which are merely illustrative of the principles of the invention, but that various changes and modifications may be made without departing from the spirit and scope of the invention, which is defined by the appended claims and their equivalents.

Claims (10)

1. A scanning connection control method of terminal equipment based on RDM bidirectional communication is characterized by comprising the following steps:
s1, obtaining the UID code of the terminal equipment;
s2, importing the UID code of the terminal device to the control device;
and S3, sending a polling scanning instruction to establish connection control between the terminal equipment and the control equipment.
2. The method as claimed in claim 1, wherein the terminal device is a terminal node in an internet of things network established based on the control device.
3. The RDM two-way communication-based scanning connection control method for terminal devices according to claim 1, wherein the importing of the UID code of the terminal device to the control device may be a single importing of the UID code of a single terminal device or a batch importing of a plurality of UID codes of a plurality of terminal devices.
4. The RDM two-way communication-based terminal device scan connection control method according to claim 1, wherein the UID code is stored in order in a database in the control device.
5. The method as claimed in claim 1, wherein the scan command is a command in RDM format.
6. The method as claimed in claim 1, wherein the obtaining of the UID code of the terminal device includes requesting from a device manufacturer.
7. The RDM two-way communication-based terminal device scanning connection control method according to claim 1, wherein the obtaining mode of the UID code of the terminal device comprises binary scanning automatic entry.
8. The RDM two-way communication-based terminal device scanning connection control method as claimed in claim 7, wherein dichotomy scanning automatic entry is performed by using batch devices or single devices.
9. The RDM two-way communication-based scanning connection control method of terminal device according to claim 1, wherein when a terminal device is newly added, the UID code of the terminal device to be newly added is separately entered into the control device.
10. The RDM two-way communication-based terminal device scanning connection control method of claim 1, wherein the terminal device is a lamp or a household appliance with a UID code.
CN202011166969.8A 2020-10-27 2020-10-27 Terminal equipment scanning connection control method based on RDM bidirectional communication Pending CN112423407A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011166969.8A CN112423407A (en) 2020-10-27 2020-10-27 Terminal equipment scanning connection control method based on RDM bidirectional communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011166969.8A CN112423407A (en) 2020-10-27 2020-10-27 Terminal equipment scanning connection control method based on RDM bidirectional communication

Publications (1)

Publication Number Publication Date
CN112423407A true CN112423407A (en) 2021-02-26

Family

ID=74841833

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011166969.8A Pending CN112423407A (en) 2020-10-27 2020-10-27 Terminal equipment scanning connection control method based on RDM bidirectional communication

Country Status (1)

Country Link
CN (1) CN112423407A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101661408A (en) * 2009-09-14 2010-03-03 四川川大智胜软件股份有限公司 Distributed real-time data replication synchronizing method
CN104992134A (en) * 2015-08-06 2015-10-21 成都鼎智汇科技有限公司 Label fast processing method
US20170251540A1 (en) * 2014-07-28 2017-08-31 Philips Lighting Holding B.V. Lighting control and status queries
CN109769328A (en) * 2018-11-13 2019-05-17 大峡谷照明系统(苏州)股份有限公司 The querying method of the status information of lamps and lanterns and its application in lamp light control system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101661408A (en) * 2009-09-14 2010-03-03 四川川大智胜软件股份有限公司 Distributed real-time data replication synchronizing method
US20170251540A1 (en) * 2014-07-28 2017-08-31 Philips Lighting Holding B.V. Lighting control and status queries
CN104992134A (en) * 2015-08-06 2015-10-21 成都鼎智汇科技有限公司 Label fast processing method
CN109769328A (en) * 2018-11-13 2019-05-17 大峡谷照明系统(苏州)股份有限公司 The querying method of the status information of lamps and lanterns and its application in lamp light control system

Similar Documents

Publication Publication Date Title
CN100512067C (en) Automatic re-sending request
CN101217784B (en) Radio network, communication apparatus and access point of communication architecture
US20200044885A1 (en) Frequency scanning to form a communication network
CN102090083B (en) Recovery schemes for group switching procedures for multi-group frequency division duplex wireless networks
CN102843315A (en) Intelligent home network system and intelligent gateway thereof
CN202979002U (en) Intelligent household network system and intelligent gateway thereof
KR20150073057A (en) Method and apparatus of communication for smart home devices
CN103202078B (en) For the method and apparatus to wireless terminal distribution wireless network grouping resources
CN104349484A (en) System information sending method, system information receiving method and device
CN104581883A (en) Wireless data communication method for intelligent household appliance
JP4192328B2 (en) Wireless transmission method and wireless transmission device
KR101243501B1 (en) Apparatus and method for transmitting and receiving data in wireless local area network mesh communication system
CN106470458A (en) The method and apparatus being controlled in WiFi network
JP2000092076A (en) Communication control method and transmitter
US8179914B1 (en) Network slot synchronization scheme for a computer network communication channel
CN112423407A (en) Terminal equipment scanning connection control method based on RDM bidirectional communication
CA2543615A1 (en) Network topology formation
CN110912654B (en) Data retransmission method, gateway device, terminal device, and storage medium
CN101635086A (en) Remote controller provided with wire communication interface and wire communication method
JP2008061079A (en) Wireless system
CN101365188B (en) Method for information transmission between baseband digital processing unit and radio frequency unit
CN100361539C (en) Method for implementing transmission of information
CN105635166A (en) Information transmission method, apparatus and system
US11677523B2 (en) Information feedback method and apparatus, computer storage medium
CN115209247A (en) Ad hoc network optical fiber network system addressable based on optical fiber coding and addressing method

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