CN109413812A - A kind of more equipment synchronize the method executed instruction - Google Patents

A kind of more equipment synchronize the method executed instruction Download PDF

Info

Publication number
CN109413812A
CN109413812A CN201811010114.9A CN201811010114A CN109413812A CN 109413812 A CN109413812 A CN 109413812A CN 201811010114 A CN201811010114 A CN 201811010114A CN 109413812 A CN109413812 A CN 109413812A
Authority
CN
China
Prior art keywords
instruction
data packet
equipment
method executed
described instruction
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
CN201811010114.9A
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.)
Hangzhou Gubei Electronic Technology Co Ltd
Original Assignee
Hangzhou Gubei Electronic 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 Hangzhou Gubei Electronic Technology Co Ltd filed Critical Hangzhou Gubei Electronic Technology Co Ltd
Priority to CN201811010114.9A priority Critical patent/CN109413812A/en
Publication of CN109413812A publication Critical patent/CN109413812A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/175Controlling the light source by remote control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/16Controlling the light source by timing means
    • 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 invention discloses a kind of more equipment to synchronize the method executed instruction comprising following steps: the instruction of one delayed execution of setting, described instruction is in T1Moment executes;Repeated broadcast data packet, the data packet include the delay duration t of described instruction and delayed execution described instruction, before data packet of every broadcast, execute following steps: the delay duration t are adjusted, so that t=T1Current time at moment-.The present invention solves the problems, such as that the different terminal equipment for receiving director data packet in different time points can not synchronize execution, realizes single main control device control multiple terminal devices and synchronizes and executes instruction.

Description

A kind of more equipment synchronize the method executed instruction
Technical field
The present invention relates to fields of communication technology, are in more detail related to a kind of more equipment and synchronize the method executed instruction.
Background technique
Currently, being interconnected between multiple terminal devices, mutually with the fast development of Intelligent hardware and Internet of Things Interactive demand is more and more, and the application scenarios using main control device control multiple terminal devices are also more and more common therewith.
It is executed instruction to realize that control multiple terminal devices synchronize, it is wide to multiple terminal devices to generally use main control device Broadcast director data packet.But when needing the quantity of terminal device of synchronously control excessive, all terminal devices are not can guarantee The director data packet of main control device sending, i.e., a possibility that there are packet losses in transmission of data packets can be completely received.
In this regard, there is packet loss to reduce as much as possible in the mode for generalling use retransmission data packet at present in data transmission procedure Probability, to the same data packet of multiple terminal devices repeated broadcast, guarantee to instruct number with this by the way that certain interval time is arranged It can be completely received by all terminal devices according to packet.But there are drawbacks for the way: if in the instruction of director data packet Hold to execute a preset instructions after one preset time of delay, then receiving the same director data packet in different time points not The preset instructions executed in the director data packet will be put in different times after being delayed same preset time with terminal device, It causes different terminal devices that can not synchronize to execute instruction.
Summary of the invention
The purpose of the present invention is to provide a kind of more equipment to synchronize the method executed instruction, solves and connects in different time points It is multiple to realize single main control device control for the problem of execution can not be synchronized by receiving the different terminal equipment of director data packet Terminal device, which synchronizes, to be executed instruction.
To achieve the goals above, the present invention provides a kind of more equipment and synchronizes the method executed instruction comprising following step It is rapid:
The instruction of one delayed execution is set, and described instruction is in T1Moment executes;
Repeated broadcast data packet, the data packet include the delay duration t of described instruction and delayed execution described instruction, Before data packet of every broadcast, following steps are executed:
The delay duration t is adjusted, so that t=T1Current time at moment-.
Preferred embodiment in accordance with the present invention, data packet are issued by single main control device, and the reception object of data packet is more A terminal device.
Preferably, the terminal device is lamps and lanterns, and described instruction is the change of lamps and lanterns light on and off state.
Further, described instruction may be to one of brightness of illumination, tone, saturation degree of lamps and lanterns or combine into Row is adjusted.
The beneficial effects of the present invention are: in the case where repeated broadcast same instruction, when according to the different transmissions of instruction It carves, the delay duration of delayed execution instruction is adjusted, so that the delay duration of the instruction of different moments sending is consistently equal to The interval duration that current time is subtracted at the time of the instruction is executed, even if what different terminal devices received as a result, is different The instruction that moment issues, also can guarantee that different terminal devices synchronizes at same time point and executes instruction.
The above and other purposes of the present invention, feature, advantage will in the following detailed description, attached drawing and appended Claim further clarify.
Detailed description of the invention
Fig. 1 is that more equipment of preferred embodiment in accordance with the present invention synchronize the flow diagram of the method executed instruction.
Specific embodiment
In the following, being described further in conjunction with attached drawing and specific embodiment to invention, it should be noted that in not phase Under the premise of conflict, new implementation can be formed between various embodiments described below or between each technical characteristic in any combination Example.
It is described below for disclosing the present invention so that those skilled in the art can be realized the present invention.It is excellent in being described below Embodiment is selected to be only used as illustrating, it may occur to persons skilled in the art that other obvious modifications.It defines in the following description Basic principle of the invention can be applied to other embodiments, deformation scheme, improvement project, equivalent program and do not carry on the back Other technologies scheme from the spirit and scope of the present invention.
It will be understood by those skilled in the art that in exposure of the invention, term " longitudinal direction ", " transverse direction ", "upper", The orientation or position of the instructions such as "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outside" Relationship is to be based on the orientation or positional relationship shown in the drawings, and is merely for convenience of description of the present invention and simplification of the description, rather than The device or element of indication or suggestion meaning must have a particular orientation, be constructed and operated in a specific orientation, therefore above-mentioned Term is not considered as limiting the invention.
It is understood that term " one " is interpreted as " at least one " or " one or more ", i.e., in one embodiment, The quantity of one element can be one, and in a further embodiment, the quantity of the element can be it is multiple, term " one " is no It can be interpreted as the limitation to quantity.
Referring to Fig. 1 of attached drawing, more equipment of preferred embodiment in accordance with the present invention synchronize the method executed instruction and will connect It is elucidated in the description got off comprising following steps:
The instruction of one delayed execution is set, and described instruction is in T1Moment executes;
Repeated broadcast data packet, the data packet include the delay duration t of described instruction and delayed execution described instruction, Before data packet of every broadcast, following steps are executed:
The delay duration t is adjusted, so that t=T1Current time at moment-.
Specifically, in the preferred embodiment, the data packet is issued by single main control device, the reception of data packet Object is multiple terminal devices, realizes that single main control device controls multiple terminal devices from there through method provided by the present invention It synchronizes and executes instruction.Before the transmission for carrying out data packet, the communication connection of main control device and terminal device is initially set up.
It will be readily appreciated by those skilled in the art that the main control device and the terminal device can pass through any communication Mode realizes communication connection, and the communication mode of the main control device and the terminal device is unrestricted in the present invention.For example, The communication mode of the main control device and the terminal device can be a local area network (LAN), a Metropolitan Area Network (MAN) (MAN), a wide area Net (WAN), waits one kind of Internets.In addition, the main control device can also be communicated with the terminal device by other Mode realizes connection, such as GSM, 3G mobile communication network (CDMA, CDMA 200, TD-CDMA, WCDMA), 4G mobile radio communication Communication networks such as network (TD-LTE, FDD-LTE etc.), 5G mobile communication network, satellite communication etc..Alternatively, the main control device with It can also be communicated by technologies such as infrared, bluetooth, radio frequency, ZigBee between the terminal device.
The quantity and specific category that those skilled in the art will also be appreciated that the terminal device are in the present invention not It is restricted.For example, the terminal device can be, but not limited to as lamps and lanterns, speaker etc..
Preferably, the terminal device is lamps and lanterns in the present embodiment, and described instruction is the change of lamps and lanterns light on and off state, or Person, described instruction may be that one of brightness of illumination, tone, saturation degree of lamps and lanterns or combination are adjusted.Lead to as a result, The mode for crossing main control device broadcast data packet may be implemented multiple lamps and lanterns and synchronize to execute instruction, and be realized with lower control cost Multiple lamps and lanterns are uniformly controlled.
It is noted that on the one hand, the present invention reduces data transmission procedure by way of repeated broadcast data packet Middle there is the probability of packet loss, on the other hand, in the case where repeated broadcast same instruction, according to the different sending instants of instruction, The delay duration of delayed execution instruction is adjusted, so that the delay duration consistently equal to execution for the instruction that different moments issue The interval duration at current time is subtracted at the time of the instruction, even if what different terminal devices received as a result, is different moments The instruction of sending also can guarantee that different terminal devices synchronizes at same time point and execute instruction.
It should be understood by those skilled in the art that foregoing description and the embodiment of the present invention shown in the drawings are only used as illustrating And it is not intended to limit the present invention.The purpose of the present invention has been fully and effectively achieved.Function and structural principle of the invention exists It shows and illustrates in embodiment, under without departing from the principle, embodiments of the present invention can have any deformation or modification.

Claims (5)

1. a kind of more equipment synchronize the method executed instruction characterized by comprising
The instruction of one delayed execution is set, and described instruction is in T1Moment executes;
Repeated broadcast data packet, the data packet include the delay duration t of described instruction and delayed execution described instruction, every wide Before broadcasting a data packet, following steps are executed:
The delay duration t is adjusted, so that t=T1Current time at moment-.
2. equipment as many as described in claim 1 synchronizes the method executed instruction, which is characterized in that the data packet is by individually leading It controls equipment to issue, the reception object of the data packet is multiple terminal devices.
3. equipment as many as claimed in claim 2 synchronizes the method executed instruction, which is characterized in that the terminal device is lamp Tool.
4. equipment as many as claimed in claim 3 synchronizes the method executed instruction, which is characterized in that described instruction are as follows: lamps and lanterns are bright The change for state of going out.
5. equipment as many as claimed in claim 3 synchronizes the method executed instruction, which is characterized in that described instruction are as follows: to lamps and lanterns Brightness of illumination, tone, one of saturation degree or combination be adjusted.
CN201811010114.9A 2018-08-31 2018-08-31 A kind of more equipment synchronize the method executed instruction Pending CN109413812A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811010114.9A CN109413812A (en) 2018-08-31 2018-08-31 A kind of more equipment synchronize the method executed instruction

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811010114.9A CN109413812A (en) 2018-08-31 2018-08-31 A kind of more equipment synchronize the method executed instruction

Publications (1)

Publication Number Publication Date
CN109413812A true CN109413812A (en) 2019-03-01

Family

ID=65463674

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811010114.9A Pending CN109413812A (en) 2018-08-31 2018-08-31 A kind of more equipment synchronize the method executed instruction

Country Status (1)

Country Link
CN (1) CN109413812A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111712861A (en) * 2019-05-24 2020-09-25 深圳市大疆创新科技有限公司 Control method of remote control equipment and remote control equipment
CN111800764A (en) * 2019-08-22 2020-10-20 维沃移动通信有限公司 Method and device for configuring DRX (discontinuous reception) parameters of side link and terminal equipment
WO2022140995A1 (en) * 2020-12-28 2022-07-07 华为技术有限公司 Data transmission method and apparatus, and related device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102118206A (en) * 2011-02-23 2011-07-06 尚雪峰 Broadcast principle-based lighting equipment wireless network deployment method and system
CN102752827A (en) * 2012-04-23 2012-10-24 杭州电子科技大学 Communication method between a plurality of subnets in street lamp control system
CN202841192U (en) * 2012-09-01 2013-03-27 林宏刚 High-speed reliable one-way transmission system supporting wide area network
CN106292614A (en) * 2016-10-13 2017-01-04 严智勇 Guest room control system of online
CN107703785A (en) * 2017-11-10 2018-02-16 深圳市银河风云网络系统股份有限公司 Equipment synchronisation control means and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102118206A (en) * 2011-02-23 2011-07-06 尚雪峰 Broadcast principle-based lighting equipment wireless network deployment method and system
CN102752827A (en) * 2012-04-23 2012-10-24 杭州电子科技大学 Communication method between a plurality of subnets in street lamp control system
CN202841192U (en) * 2012-09-01 2013-03-27 林宏刚 High-speed reliable one-way transmission system supporting wide area network
CN106292614A (en) * 2016-10-13 2017-01-04 严智勇 Guest room control system of online
CN107703785A (en) * 2017-11-10 2018-02-16 深圳市银河风云网络系统股份有限公司 Equipment synchronisation control means and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111712861A (en) * 2019-05-24 2020-09-25 深圳市大疆创新科技有限公司 Control method of remote control equipment and remote control equipment
CN111800764A (en) * 2019-08-22 2020-10-20 维沃移动通信有限公司 Method and device for configuring DRX (discontinuous reception) parameters of side link and terminal equipment
WO2022140995A1 (en) * 2020-12-28 2022-07-07 华为技术有限公司 Data transmission method and apparatus, and related device

Similar Documents

Publication Publication Date Title
CN109413812A (en) A kind of more equipment synchronize the method executed instruction
US9467226B2 (en) Controlling brightness of light sources used for data transmission
US20090206983A1 (en) Communication System for a Radio-Frequency Load Control System
US10045425B2 (en) Light effect control
US20180199414A1 (en) Smart lighting device, control terminal, and lighting system
WO2007016023A3 (en) Methods and systems for utilization of resources of contention under any load to facilitate desired bandwidth across single or multiple classes of devices
CN104421900B (en) Illumination light sensor pack
CN109327944A (en) Intelligent lighting controls method and system
CN109661080B (en) One-key networking control method and control system
CN107479426A (en) A kind of robot synchronization performance control system and method
CN105682324A (en) Light adjusting data report method, intelligent lighting equipment and gateway
US20170257935A1 (en) Intelligent Lighting System
CN108536039A (en) Stage Equipment Control System and method for
JP2001093675A (en) Lighting system
CN110087375B (en) Illumination control system based on LoRa and illumination control method thereof
CN114047689B (en) Lighting equipment control method and device, lighting equipment and storage medium
CN105827982A (en) Triggering method and device of LED (Light-Emitting Diode) flash light, and controller used for triggering method
CN106789473A (en) A kind of multifunctional remote controlller, intelligent cloud plateform system and control method
CN105681642A (en) Shooting control device, auxiliary flash control device and auxiliary flash control system
CN107454341B (en) Switching method and system for multi-light-source image shooting
CN106815043A (en) A kind of group upgrade method of intelligent LED lamp
CN111083829B (en) Three-primary-color multi-color-temperature full-spectrum LED intelligent lighting, red, green and blue decorative lamp
US20200253030A1 (en) Method, device and system for controlling partition lighting of conference room based on wireless networking technology
CN105376906B (en) Based on the remote controler of Zigbee to the independent grouping implementation method of intelligent lamp
Lv et al. Intelligent stage LED light control system based on Android smart phone

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 310051 Room 101, 1st Floor, Block C, No. 57, Changhe Street, Binjiang District, Hangzhou City, Zhejiang Province

Applicant after: Hangzhou Bolian Intelligent Technology Co., Ltd.

Address before: 310051 Room 106, Building No. 1, 611 Jianghong Road, Changhe Street, Binjiang District, Hangzhou City, Zhejiang Province

Applicant before: Hangzhou Gubei Electronic Technology Co., Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190301