CN109936870A - A kind of method, apparatus, equipment and storage medium that ad hoc network light is synchronous - Google Patents

A kind of method, apparatus, equipment and storage medium that ad hoc network light is synchronous Download PDF

Info

Publication number
CN109936870A
CN109936870A CN201910113856.2A CN201910113856A CN109936870A CN 109936870 A CN109936870 A CN 109936870A CN 201910113856 A CN201910113856 A CN 201910113856A CN 109936870 A CN109936870 A CN 109936870A
Authority
CN
China
Prior art keywords
hoc network
synch command
dynamic mode
slave
timing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910113856.2A
Other languages
Chinese (zh)
Other versions
CN109936870B (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.)
Zengge Co Ltd
Original Assignee
Zengge 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 Zengge Co Ltd filed Critical Zengge Co Ltd
Priority to CN201910113856.2A priority Critical patent/CN109936870B/en
Publication of CN109936870A publication Critical patent/CN109936870A/en
Application granted granted Critical
Publication of CN109936870B publication Critical patent/CN109936870B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of synchronous methods of ad hoc network light, comprising: ad hoc network slave timing unit starts timing;Judge whether the timing of ad hoc network slave reaches threshold time;If reaching threshold time, judge whether to receive synch command;If being not received by synch command, synch command is sent to ad hoc network, other ad hoc network slaves is made to receive synch command;After being sent completely synch command, the ad hoc network slave for sending synch command is set as ad hoc network host.When work, without specified fixed ad hoc network host, unique ad hoc network host is automatically generated by this method, after ad hoc network generates unique ad hoc network host, other ad hoc network slaves follow ad hoc network host synchronization order to be changed, reach dynamic mode synchronous effect, and save equipment to reduce cost.

Description

A kind of method, apparatus, equipment and storage medium that ad hoc network light is synchronous
Technical field
The present invention relates to field of intelligent control technology, the synchronous method, apparatus of especially a kind of ad hoc network light, equipment and Storage medium.
Background technique
With the fast development of society being constantly progressive with information technology, the intelligence system developed using automatic control technology Just quietly come into daily life.The operation of color-changing light-emitting product is inevitable in a dynamic mode, if without dynamic Mode only shows that constant brightness, overall exposure effect can seem dry as dust.
Following derivative another question, when multiple equipment is run simultaneously in a dynamic mode, with pushing away for time It moves, the variation of multiple equipment is easy to will appear inconsistent situation, prevents whole lighting effects from synchronizing, can seriously affect use Family experience.In order to solve this problem, there is a variety of solutions.Relate generally to ZIGBEE networking technology and RF wireless communication Number star-like networking technology;Wherein the shortcomings that ZIGBEE networking technology is that ZIGBEE chip price is high, while needing more convergences Node, hardware cost spend high;And the shortcomings that RF wireless signal star-like networking technology is to need to be arranged more equipment as same Step command transmitting terminal, hardware cost spend high.
Summary of the invention
For overcome the deficiencies in the prior art, the purpose of the present invention is to provide a kind of synchronous method of ad hoc network light, Device, equipment and storage medium can not only realize the synchronous problem of equipment, additionally it is possible to which saving reduces cost.
Technical solution used by the present invention solves the problems, such as it is:
In a first aspect, a kind of method synchronous the present invention provides ad hoc network light, comprising:
Ad hoc network slave timing unit starts timing;
Judge whether the timing of ad hoc network slave reaches threshold time;
If reaching threshold time, judge whether to receive synch command;
If being not received by synch command, synch command is sent to ad hoc network, receives other ad hoc network slaves Synch command;
After being sent completely synch command, the ad hoc network slave for sending synch command is set as ad hoc network host.
It further, further include following step after the step judges whether the timing of ad hoc network slave reaches threshold time It is rapid: if not reaching threshold time, dynamic mode to be kept to operate.
Further, further comprising the steps of after the step judges whether to receive synch command:
If receiving synch command, dynamic mode parameter is initialized;
Start dynamic mode, synchronizes variation with the synch command of transmission.
Further, further comprising the steps of before the step ad hoc network slave timing unit timing:
Signal generating apparatus sends dynamic mode order to ad hoc network;
Ad hoc network host receives dynamic mode order;
Ad hoc network host is set as ad hoc network slave;
Timing unit resets and starts reclocking.
Further, further comprising the steps of before the step ad hoc network slave timing unit timing:
Signal generating apparatus sends dynamic mode order to ad hoc network;
Ad hoc network slave receives dynamic mode order;
Timing unit resets and starts reclocking.
Further, after the step is sent completely synch command, the ad hoc network slave is set as after ad hoc network host also The following steps are included:
Ad hoc network host timing unit starts timing;
Judge whether the timing of ad hoc network host reaches threshold time;
If not reaching threshold time, dynamic mode is kept to operate;
If reaching threshold time, judge whether to receive synch command;
If receiving synch command, the ad hoc network host is set as ad hoc network slave.
Further, the step judges whether that receiving the synch command of ad hoc network host sending further includes later following step It is rapid:
If not receiving synch command, judge whether to reach the color conversion time under dynamic mode;
If reaching color conversion time, ad hoc network host sends synch command to all ad hoc network slaves;
If not reaching color conversion time, dynamic mode is kept to operate.
Further, the threshold time value is greater than any two color conversion time value in dynamic mode.
Second aspect, the present invention provides a kind of synchronous devices of ad hoc network light, comprising:
Signal generation unit, for sending dynamic mode order to ad hoc network;
Ad hoc network unit, for sending and receiving synch command and executing dynamic mode order;
Timing unit, for calculating threshold time and color conversion time.
The third aspect, the present invention provides a kind of synchronous equipment of ad hoc network light,
Memory including at least one control processor and for being communicated to connect at least one control processor;Storage Device is stored with the instruction that can be executed by least one control processor, and instruction is executed by least one control processor, so that extremely A few control processor is able to carry out a kind of synchronous method of ad hoc network light as described above.
Fourth aspect, the present invention provides a kind of computer readable storage medium, computer-readable recording medium storage has Computer executable instructions, computer executable instructions are synchronous for making computer execute a kind of ad hoc network light as described above Method.
5th aspect, the present invention also provides a kind of computer program product, the computer program product includes storage Computer program on computer readable storage medium, the computer program include program instruction, when described program instructs When being computer-executed, computer is made to execute a kind of synchronous method of ad hoc network light as described above.
The one or more technical solutions provided in the embodiment of the present invention, at least have the following beneficial effects:
A kind of method that ad hoc network light is synchronous, comprising: ad hoc network slave timing unit starts timing;Judge ad hoc network from Whether machine timing reaches threshold time;If reaching threshold time, judge whether to receive synch command;If being not received by same Step command then sends synch command to ad hoc network, other ad hoc network slaves is made to receive synch command;It is sent completely synchronous life After order, the ad hoc network slave for sending synch command is set as ad hoc network host.Each ad hoc network unit and surrounding from Group net unit is connected, and sends synch command without specified fixed master control, realizes that equipment is synchronous by this unique synchronous method, and And saving equipment reduces cost.
Detailed description of the invention
The invention will be further described with example with reference to the accompanying drawing.
Fig. 1 is the flow chart for the method that a kind of ad hoc network light that the embodiment of the present invention one provides synchronizes;
Fig. 2 is the stream of one of the method that a kind of ad hoc network light that the embodiment of the present invention one provides synchronizes embodiment Cheng Tu;
Fig. 3 is that a kind of host of the synchronous method of ad hoc network light provided by Embodiment 2 of the present invention is set as the process of slave Figure;
Fig. 4 is that the slave for the method that a kind of ad hoc network light that the embodiment of the present invention three provides synchronizes executes dynamic mode Flow chart;
Fig. 5 is that the host for the method that a kind of ad hoc network light that the embodiment of the present invention three provides synchronizes is selected and transmission synchronizes The flow chart of order;
Fig. 6 is the structural schematic diagram for the device that a kind of ad hoc network light that the embodiment of the present invention three provides synchronizes;
Fig. 7 is the structural schematic diagram for the equipment that a kind of ad hoc network light that the embodiment of the present invention three provides synchronizes.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that described herein, specific examples are only used to explain the present invention, not For limiting the present invention.
It should be noted that each feature in the embodiment of the present invention can be combined with each other, in this hair if do not conflicted Within bright protection scope.In addition, though having carried out functional module division in schematic device, shows patrol in flow charts Sequence is collected, but in some cases, it can be shown in the sequence execution in the module division being different from device or flow chart The step of out or describing.
With the fast development of society being constantly progressive with information technology, the intelligence system developed using automatic control technology Just quietly come into daily life.The operation of color-changing light-emitting product is inevitable in a dynamic mode, if without dynamic Mode only shows that constant brightness, overall exposure effect can seem dry as dust.
Following derivative another question, when multiple equipment is run simultaneously in a dynamic mode, with pushing away for time It moves, the variation of multiple equipment is easy to will appear inconsistent situation, prevents whole lighting effects from synchronizing, can seriously affect use Family experience.In order to solve this problem, there is a variety of solutions, relate generally to ZIGBEE networking technology and the wireless line of RF Technology of both number star-like networking technology etc., but this two schemes have the disadvantage in that
1, realize that lighting effects are synchronous using the ZIGBEE networking technology with aggregation node:
Zigbee is a kind of Wireless Ad Hoc Networks standard, provides wireless data transmission function using ZigBee-network for user Energy.It is mainly used for carrying out data transmission between the not high various electronic equipments of short, low in energy consumption and transmission rate and typical Have periodic data, intermittent data and low reaction time data transmission application.
To use ZIGBEE technology to realize the synchronous effect of light, it is necessary to assure to have convergence in this ZIGBEE network Node (louter), for aggregation node (louter) for sending command synchronization lighting effects, other equipment are equivalent to coordinator (Coordinator), the order by reception aggregation node (louter) and execution.Realization process is as follows: after system electrification, converging Poly- node and coordinator form a network, and in the case where coordinator operation state mode, aggregation node also runs this simultaneously Dynamic mode.Because the component variations of each coordinator, such as crystal oscillator, crossed will appear model deviation after a certain period of time, convergence section Point sends synch command in mode finish time, is communicated between each coordinator by ad-hoc network, very in short-term Interior completion is propagated, and after each coordinator receives synch command, updates the operating status of oneself, this ensures that more for a long time The dynamic mode of a equipment keeps synchronous regime.
The shortcomings that this scheme is that ZIGBEE chip price is high, while needing more aggregation nodes, and hardware cost spends high.
2, realize that lighting effects are synchronous by Star Network using the wireless wire size of RF:
This scheme is similar with scheme 1, but different.RF wireless signal can be 2.4GHZ, 315MHZ, 433MHZ etc. Deng.But these signals are individual radiofrequency signal, cannot form ad hoc network.This scheme uses stelliform connection topology configuration, all It is necessarily connected to main equipment from equipment, can not be communicated between equipment, therefore the use of this scheme is apart from limited.With scheme 1 common point is to be able to achieve synchronization to dynamic mode, it is necessary to send synch command by main equipment.Process and 1 class of scheme Seemingly.Therefore this scheme is also intended to more equipment as synch command transmitting terminal, and hardware cost spends high.
In order to solve the above problem, the present invention provides a kind of method that ad hoc network light is synchronous, comprising: ad hoc network slave timing Unit starting timing;Judge whether the timing of ad hoc network slave reaches threshold time;If reaching threshold time, judge whether to receive To synch command;If being not received by synch command, synch command is sent to ad hoc network, receives other ad hoc network slaves To synch command;After being sent completely synch command, the ad hoc network slave for sending synch command is set as ad hoc network host.Work When, do not have to specified fixed ad hoc network host, unique ad hoc network host is automatically generated by this method.Ad hoc network generates unique After ad hoc network host, other ad hoc network slaves follow ad hoc network host synchronization order to be changed, and it is permanently same to reach dynamic mode Effect is walked, and save equipment to reduce cost;The ad hoc network, including and bluetooth ad hoc network, WIFI are not limited to from group Net, ZIGBEE ad hoc network and other wireless self-networkings.
Referring to Fig.1, the synchronous method of a kind of ad hoc network light of the embodiment of the present invention, comprising:
S100: ad hoc network slave timing unit starts timing;
S110: judge whether the timing of ad hoc network slave reaches threshold time;
S120: if reaching threshold time, judge whether to receive synch command;
S121: if being not received by synch command, synch command is sent to ad hoc network, makes other ad hoc network slaves Receive synch command;
S130: after being sent completely synch command, the ad hoc network slave for sending synch command is set as ad hoc network host.
The above method is for effectively selected ad hoc network host, and whole ad hoc network slaves into ad-hoc network send and synchronize Order.Lamp in a kind of synchronous method of ad hoc network light includes and is not limited to neon light, LED light strip, LED bulb, LED Panel light, Christmas lamp, optical fiber lamp, as long as can have the equipment of light dynamic change can all use the method;The light becomes Change includes and is not limited to monochromatic light, bi-coloured light, colourama (RGB), colored and white light (RGBW), colored and color temperature light (RGBWW)。
Referring to Fig. 2, further, based on the above embodiment, another embodiment of the present invention also provides a kind of ad hoc network lamp The method of phototiming, further comprising the steps of after judging whether the timing of ad hoc network slave reaches threshold time:
S111: if not reaching threshold time, dynamic mode is kept to operate;
Referring to Fig. 2, further, based on the above embodiment, another embodiment of the present invention also provides a kind of ad hoc network lamp The method of phototiming, further comprising the steps of after judging whether to receive synch command:
S122: if receiving synch command, dynamic mode parameter is initialized;
S123: starting dynamic mode synchronizes variation with the synch command of transmission.
The above method receives synch command by ad hoc network slave, realizes the synchronization of dynamic mode.
Referring to Fig. 3, further, based on the above embodiment, another embodiment of the present invention also provides a kind of ad hoc network lamp The method of phototiming, further comprising the steps of before the step ad hoc network slave timing unit timing:
S210: signal generating apparatus sends dynamic mode order to ad hoc network;
S220: ad hoc network host receives dynamic mode order;
S230: ad hoc network host is set as ad hoc network slave;
S240: timing unit resets and starts reclocking.
The above method controls the state of change ad hoc network host by signal generating apparatus, for setting ad hoc network host For ad hoc network slave.
Referring to Fig. 4, further, based on the above embodiment, another embodiment of the present invention also provides a kind of ad hoc network lamp The method of phototiming, further comprising the steps of before the step ad hoc network slave timing unit timing:
S210: signal generating apparatus sends dynamic mode order to ad hoc network;
S221: ad hoc network slave receives dynamic mode order;
S240: timing unit resets and starts reclocking.
The above method receives dynamic mode order for ad hoc network slave and executes.
Referring to Fig. 5, further, based on the above embodiment, another embodiment of the present invention also provides a kind of ad hoc network lamp The method of phototiming, after the step is sent completely synch command, the ad hoc network slave is set as also wrapping after ad hoc network host Include following steps:
S140: ad hoc network host timing unit starts timing;
S150: judge whether the timing of ad hoc network host reaches threshold time;
S151: if not reaching threshold time, dynamic mode is kept to operate;
S160: if reaching threshold time, judge whether to receive synch command;
S161: if receiving synch command, the ad hoc network host is set as ad hoc network slave;
S240: the ad hoc network slave timing unit resets and starts timing.
The above method is that the ad hoc network host before unselected unique ad hoc network host, during selected is set as certainly The process of networking slave effectively prevent occurring the case where two or more ad hoc network hosts simultaneously.
Referring to Fig. 5, further, based on the above embodiment, another embodiment of the present invention also provides a kind of ad hoc network lamp The method of phototiming, the step judge whether that receiving the synch command of ad hoc network host sending further includes later following step It is rapid:
S170: if not receiving synch command, judge whether to reach the color conversion time under dynamic mode;
S180: if reaching color conversion time, ad hoc network host sends synch command to all ad hoc network slaves;
S171: if not reaching color conversion time, dynamic mode is kept to operate.
The process that color switches in dynamic mode.
According to the above method, the process for selecting unique ad hoc network host is further described: when occur two or When the above ad hoc network host, the ad hoc network host N such as ad hoc network host 1 ....Step judges whether to receive the sending of ad hoc network host The result of synch command necessarily step receives synch command, the ad hoc network host is set as ad hoc network slave.Therefore more When 2 ad hoc network hosts, the synch command that each equipment of ad hoc network can receive 1 or above equipment is sent, institute With unsuccessful selected from networking host, all ad hoc network equipment all become ad hoc network slave.Then pass through step ad hoc network slave again Timing unit starts timing;Judge whether the timing of ad hoc network slave reaches threshold time;If not reaching threshold time, keep Dynamic mode running;If reaching threshold time, judge whether the synch command for receiving the sending of ad hoc network host;If not connecing Synch command is received, then sends synch command to ad hoc network, other ad hoc network slaves is made to receive synch command;It is sent completely After synch command, the ad hoc network slave is set as ad hoc network host;Again it is selected from networking host.
The time difference of each ad hoc network slave can be accumulated, and after excessive polling ad hoc network host, centainly will appear one only The case where one ad hoc network host.In the case where only one ad hoc network host, step judges whether to receive ad hoc network host hair The result of synch command out necessarily judges whether to reach color conversion time, then run always, other ad hoc network slaves Unique ad hoc network host is followed to carry out patterns of change, color of every conversion sends synch command and synchronizes once, and guarantee is all certainly The consistency of networking slave.
If ad hoc network restarts or receive the dynamic mode order of signal generating apparatus, again according to the above step Suddenly new ad hoc network host is selected.It is unique after ad hoc network host is selected, but ad hoc network restarting can be selected from networking again again Host, there may be changes for ad hoc network host at this time.
Further, based on the above embodiment, it is synchronous also to provide a kind of ad hoc network light for another embodiment of the present invention Method, the threshold time value are greater than any two color conversion time value in dynamic mode.
Ensure to guarantee inside threshold time value all at least to send a synchronization signal in any case in dynamic mode.
Further, based on the above embodiment, it is synchronous also to provide a kind of ad hoc network light for another embodiment of the present invention The case where method, following methods are set as ad hoc network host and send synch command for ad hoc network slave, comprising the following steps:
S210: signal generating apparatus sends dynamic mode order to ad hoc network;
S221: ad hoc network slave receives dynamic mode order;
S240: timing unit resets and starts reclocking;
S110: judge whether the timing of ad hoc network slave reaches threshold time;
S111: if not reaching threshold time, dynamic mode is kept to operate;
S120: if reaching threshold time, judge whether to receive synch command;
S121: if being not received by synch command, synch command is sent to ad hoc network, makes other ad hoc network slaves Receive synch command;
S130: after being sent completely synch command, the ad hoc network slave for sending synch command is set as ad hoc network host;
S140: timing unit resets and starts reclocking;
S150: judge whether the timing of ad hoc network host reaches threshold time;
S151: if not reaching threshold time, dynamic mode is kept to operate;
S160: if reaching threshold time, judge whether to receive synch command;
S170: if not receiving synch command, judge whether to reach the color conversion time under dynamic mode;
S171: if not reaching color conversion time, dynamic mode is kept to operate;
S172: if reaching color conversion time, ad hoc network host sends synch command to all ad hoc network slaves.
It is same in the ad hoc network light the embodiment of the invention also provides a kind of synchronous device of ad hoc network light referring to Fig. 6 In the device 1000 of step, including but not limited to: signal generation unit 1100, ad hoc network unit 1200 and timing unit 1300.
Wherein, signal generation unit 1100, for sending dynamic mode order to ad hoc network;Signal generation unit packet Remote controler, smart phone, computer are included and be not limited to, can all be produced as long as the wireless and wire signal source of signal can be provided for signal Generating apparatus.
Ad hoc network unit 1200, for sending and receiving synch command and executing dynamic mode order;
Timing unit 1300, for calculating threshold time and color conversion time.
It should be noted that the device and above-mentioned ad hoc network light by ad hoc network light synchronization in this present embodiment are same The method of step is based on identical inventive concept, and therefore, the corresponding contents in embodiment of the method are equally applicable to present apparatus embodiment, And will not be described here in detail.
Referring to Fig. 7, the embodiment of the invention also provides a kind of synchronous equipment of ad hoc network light, the ad hoc network light is synchronous Equipment 200 can be any type of intelligent terminal, such as mobile phone, tablet computer, personal computer, microprocessor, intelligence It can control device etc..
Specifically, the synchronous equipment 200 of the ad hoc network light includes: one or more control processors 201 and memory In 202, Fig. 4 by taking a control processor 201 as an example.
Control processor 201 can be connected with memory 202 by bus or other modes, to pass through bus in Fig. 4 For connection.
Memory 202 is used as a kind of non-transient computer readable storage medium, can be used for storing non-transient software program, non- Transitory computer executable program and module, the synchronous corresponding journey of method such as the ad hoc network light in the embodiment of the present invention Sequence instruction/module, for example, signal generation unit 1100 and ad hoc network unit 1200 shown in Fig. 3.Control processor 201 is logical Non-transient software program, instruction and module that operation is stored in memory 202 are crossed, synchronous thereby executing ad hoc network light The various function application and data processing of device 1000, the i.e. synchronous side of the ad hoc network light of realization above method embodiment Method.
Memory 202 may include storing program area and storage data area, wherein storing program area can store operation system Application program required for system, at least one function;Storage data area can store the device 1000 synchronous according to ad hoc network light Use created data etc..In addition, memory 202 may include high-speed random access memory, it can also include non-temporary State memory, for example, at least a disk memory, flush memory device or other non-transient solid-state memories.In some realities It applies in mode, optional memory 202 includes the memory remotely located relative to control processor 201, these remote memories It can be by being connected to the network the equipment 200 synchronous to the ad hoc network light.The example of above-mentioned network include but is not limited to internet, Intranet, local area network, mobile radio communication and combinations thereof.
One or more of modules are stored in the memory 202, at by one or more of controls When managing the execution of device 201, the method that the ad hoc network light in above method embodiment synchronizes is executed, realizes the unit 1100- in Fig. 3 1300 function.
The embodiment of the invention also provides a kind of computer readable storage medium, the computer-readable recording medium storage There are computer executable instructions, which is executed by one or more control processors, for example, by Fig. 4 A control processor 201 execute, may make said one or multiple control processors 201 to execute in above method embodiment The synchronous method of ad hoc network light.
The apparatus embodiments described above are merely exemplary, wherein described, unit can as illustrated by the separation member It is physically separated with being or may not be, it can it is in one place, or may be distributed over multiple network lists In member.Some or all of the modules therein can be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can borrow Help software that the mode of general hardware platform is added to realize.It will be appreciated by those skilled in the art that realizing in above-described embodiment method All or part of the process is relevant hardware can be instructed to complete by computer program, and the program can be stored in one In computer-readable storage medium, the program is when being executed, it may include such as the process of the embodiment of the above method.Wherein, institute The storage medium stated can be magnetic disk, CD, read-only memory (ReadOnly Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
It is to be illustrated to preferable implementation of the invention, but the invention is not limited to above-mentioned embodiment party above Formula, those skilled in the art can also make various equivalent variations on the premise of without prejudice to spirit of the invention or replace It changes, these equivalent deformations or replacement are all included in the scope defined by the claims of the present application.

Claims (10)

1. a kind of synchronous method of ad hoc network light, which comprises the following steps:
Ad hoc network slave timing unit starts timing;
Judge whether the timing of ad hoc network slave reaches threshold time;
If reaching threshold time, judge whether to receive synch command;
If being not received by synch command, synch command is sent to ad hoc network, other ad hoc network slaves is made to receive synchronization Order;
After being sent completely synch command, the ad hoc network slave for sending synch command is set as ad hoc network host.
2. a kind of synchronous method of ad hoc network light according to claim 1, it is characterised in that:
It is described judge whether to receive synch command after, it is further comprising the steps of:
If receiving synch command, dynamic mode parameter is initialized;
Start dynamic mode, synchronizes variation with the synch command of transmission.
3. a kind of synchronous method of ad hoc network light according to claim 1, it is characterised in that:
It is further comprising the steps of before the ad hoc network slave timing unit timing:
Signal generating apparatus sends dynamic mode order to ad hoc network;
Ad hoc network host receives dynamic mode order;
Ad hoc network host is set as ad hoc network slave;
Timing unit resets and starts reclocking.
4. a kind of synchronous method of ad hoc network light according to claim 1, it is characterised in that:
It is further comprising the steps of before the ad hoc network slave timing unit timing:
Signal generating apparatus sends dynamic mode order to ad hoc network;
Ad hoc network slave receives dynamic mode order;
Timing unit resets and starts reclocking.
5. a kind of synchronous method of ad hoc network light according to claim 1, it is characterised in that:
It is described be sent completely synch command after, the ad hoc network slave is set as further comprising the steps of after ad hoc network host:
Ad hoc network host timing unit starts timing;
Judge whether the timing of ad hoc network host reaches threshold time;
If not reaching threshold time, dynamic mode is kept to operate;
If reaching threshold time, judge whether to receive synch command;
If receiving synch command, the ad hoc network host is set as ad hoc network slave.
6. a kind of synchronous method of ad hoc network light according to claim 5, it is characterised in that:
It is further comprising the steps of after the synch command for judging whether to receive the sending of ad hoc network host:
If not receiving synch command, judge whether to reach the color conversion time under dynamic mode;
If reaching color conversion time, ad hoc network host sends synch command to all ad hoc network slaves;
If not reaching color conversion time, dynamic mode is kept to operate.
7. a kind of synchronous method of ad hoc network light according to claim 6, it is characterised in that:
The threshold time value is greater than any two color conversion time value in dynamic mode.
8. a kind of synchronous device of ad hoc network light, it is characterised in that: include:
Signal generation unit, for sending dynamic mode order to ad hoc network;
Ad hoc network unit, for sending and receiving synch command and executing dynamic mode order;
Timing unit, for calculating threshold time and color conversion time.
9. a kind of synchronous equipment of ad hoc network light, it is characterised in that: including at least one control processor and for it is described The memory of at least one control processor communication connection;The memory is stored with can be by least one described control processor The instruction of execution, described instruction are executed by least one described control processor, so that at least one described control processor energy It is enough to execute such as a kind of described in any item methods that ad hoc network light is synchronous of claim 1-7.
10. a kind of computer readable storage medium, it is characterised in that: the computer-readable recording medium storage has computer can It executes instruction, the computer executable instructions are for executing computer such as the described in any item one kind of claim 1-7 certainly The synchronous method of networking light.
CN201910113856.2A 2019-02-14 2019-02-14 Ad hoc network light synchronization method, device, equipment and storage medium Active CN109936870B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910113856.2A CN109936870B (en) 2019-02-14 2019-02-14 Ad hoc network light synchronization method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910113856.2A CN109936870B (en) 2019-02-14 2019-02-14 Ad hoc network light synchronization method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109936870A true CN109936870A (en) 2019-06-25
CN109936870B CN109936870B (en) 2021-06-01

Family

ID=66985546

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910113856.2A Active CN109936870B (en) 2019-02-14 2019-02-14 Ad hoc network light synchronization method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109936870B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111683445A (en) * 2020-07-27 2020-09-18 杭州涂鸦信息技术有限公司 Dynamic control method and system for lighting equipment and related equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203574896U (en) * 2013-10-28 2014-04-30 深圳迈睿智能科技有限公司 LED driving power supply with networking function
CN105450382A (en) * 2014-05-26 2016-03-30 华为技术有限公司 Clock synchronization method and equipment for media play
CN106604494A (en) * 2016-11-17 2017-04-26 江苏智石科技有限公司 Industrial factory building lamplight terminal control system
CN108347807A (en) * 2017-12-07 2018-07-31 中山市新邦照明电器有限公司 Illumination control method and lamps and lanterns

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203574896U (en) * 2013-10-28 2014-04-30 深圳迈睿智能科技有限公司 LED driving power supply with networking function
CN105450382A (en) * 2014-05-26 2016-03-30 华为技术有限公司 Clock synchronization method and equipment for media play
CN106604494A (en) * 2016-11-17 2017-04-26 江苏智石科技有限公司 Industrial factory building lamplight terminal control system
CN108347807A (en) * 2017-12-07 2018-07-31 中山市新邦照明电器有限公司 Illumination control method and lamps and lanterns

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111683445A (en) * 2020-07-27 2020-09-18 杭州涂鸦信息技术有限公司 Dynamic control method and system for lighting equipment and related equipment
WO2022021796A1 (en) * 2020-07-27 2022-02-03 杭州涂鸦信息技术有限公司 Dynamic control method and system for light device, and related device

Also Published As

Publication number Publication date
CN109936870B (en) 2021-06-01

Similar Documents

Publication Publication Date Title
JP5140683B2 (en) Beacon slot allocation method using a beacon table in a wireless personal communication network (WPAN) and a WPAN device
US8547982B2 (en) Wireless sensor network with energy efficient protocols
CN107005831A (en) Periphery perceives networking data path
US11191125B2 (en) Commissioning in multi-hop networks by using a single-hop connection
US20100124240A1 (en) Method and system for network synchronization
KR101785672B1 (en) Method and apparatus for nan terminal to transceive signal in wireless communication system
CN103813325A (en) Network management method of limited region self-organizing network, communication device and system
EP2974149B1 (en) Automatic selection of coordinating functionality in a hybrid communication network
CA2950146A1 (en) System and method for simultaneous wireless control of multiple peripheral devices
JP6495314B2 (en) System and method for maintaining synchronization with low power terminals in a time synchronization channel hopping network
US11216051B2 (en) Smart socket power monitoring and coordination
CN102625530A (en) Light emitting diode (LED) lamplight remote control system based on institute of electrical and electronic engineers (IEEE) 802.15.4
KR20110054001A (en) Techniques for supporting harmonized co-existence of multiple co-located body area networks
CN109936870A (en) A kind of method, apparatus, equipment and storage medium that ad hoc network light is synchronous
CN104302010A (en) MAC protocol communication method and device for synchronous wireless sensor network
Ma et al. Hybrid tdma/cdma mac protocol for wireless sensor networks
JP5217525B2 (en) Wireless communication apparatus, wireless communication method, and wireless communication control program
KR20150041683A (en) Fast and reliable cluster-based common channel selection and advertisement method in ad-hoc dsa cognitive radio networks
CN111491354B (en) Node synchronization method and device in ad hoc network and ad hoc network system
KR101945180B1 (en) Wireless iot module coordinate system
US20220256678A1 (en) Control network system
KR101617125B1 (en) Apparatus and method for controlling data transmission based on shared slots in wireless sensor networks
JP6331354B2 (en) Wireless communication apparatus, wireless communication system, and power control method
JP7447033B2 (en) Wireless communication device, communication system, wireless communication method and program
WO2023221909A1 (en) Signal processing method, terminal, and network device

Legal Events

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