CN101770231B - Fast step control method for electric equipment - Google Patents

Fast step control method for electric equipment Download PDF

Info

Publication number
CN101770231B
CN101770231B CN200910113122A CN200910113122A CN101770231B CN 101770231 B CN101770231 B CN 101770231B CN 200910113122 A CN200910113122 A CN 200910113122A CN 200910113122 A CN200910113122 A CN 200910113122A CN 101770231 B CN101770231 B CN 101770231B
Authority
CN
China
Prior art keywords
electronic
byte
electrical equipment
sequence number
numbering
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN200910113122A
Other languages
Chinese (zh)
Other versions
CN101770231A (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.)
NETVOX TECHNOLOGY Co Ltd (XIAMEN)
Original Assignee
NETVOX TECHNOLOGY Co Ltd (XIAMEN)
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 NETVOX TECHNOLOGY Co Ltd (XIAMEN) filed Critical NETVOX TECHNOLOGY Co Ltd (XIAMEN)
Priority to CN200910113122A priority Critical patent/CN101770231B/en
Publication of CN101770231A publication Critical patent/CN101770231A/en
Priority to PCT/CN2010/079551 priority patent/WO2011079697A1/en
Application granted granted Critical
Publication of CN101770231B publication Critical patent/CN101770231B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link

Abstract

The invention provides a fast step control method for electric equipment, which can perform step control to actuating steps of a plurality of electric equipments. The controllable actuating grades of the pre-controlled electric equipments are preset as a plurality of steps; the electric equipments are numbered solely in sequence, and each electric equipment records the self number correspondingly; different control commands are generated according to different actuating steps, each control command comprises a step byte representing the actuating step thereof and a sequence number byte, and the sequence number byte comprises a plurality of sequence number bytes sequentially arranged; the control commands are broadcast and sent to the electric equipments respectively according to a preset time sequence to drive the electric equipments find the corresponding sequence number byte from the sequence number bytes of each control command according to the numbers, if the sequence number byte is 1, the electric equipments conditions the actuating step thereof to the actuating step set by the step byte of the control command.

Description

A kind of rapid classification control method of electronic and electrical equipment
Technical field
The present invention relates to a kind of rapid classification control method of electronic and electrical equipment.
Background technology
Along with development of times and progress of science and technology; Electronic product, family expenses and commercial appliance etc. are all step by step from man-to-man control mode; Be developed to the control mode of one-to-many, many-one or multi-to-multi, and the development trend of Internet of Things requires also equipment miscellaneous to talk with mutually.Under this demand; Many technological alliances and manufacturer unite and have formulated many electronic and electrical equipment control protocols; To support that reaching ten hundreds of equipment can be its representative with communications protocol such as bluetooth and ZigBee again wherein through the mode mutual communication and the control of wired connection or wireless connections.
And in order to realize the solution of low cost, low-power consumption, many control system all adopt the low rate communication plan, for example ZigBee.In addition; Can carry out the control protocol of the electronic and electrical equipment of rank control at present, usually can be with many control hierarchies of planning such as electronic apparatuss, for example adjustable light modulation can be defined by 256 each rank usually; Or 100 adjusting patterns at different levels; Thus, in the time need being adjusted to different other brightness of level respectively, then need use a large amount of instructions to realize to a large amount of desk lamps with dimmer switch.But a large amount of instructions continuously transmission can cause the The whole control network serious postpone or even paralysis; Send the mode of instructing and press certain time interval; Though can make Control Network communication normal operation, may cause the delay controlled, when for example controlling the different gray scale of 1000 desk lamps with dimmer switch; Need send out a steering order to each desk lamp with dimmer switch, make it be adjusted to predetermined level condition.Be spaced apart 500ms if every steering order is sent, then controlled 1000 desk lamps with dimmer switch and will surpass 8min, even every steering order is reduced to 200ms at interval, will surpass 3min yet, control efficiency is not good.
Notification number is the hierarchical control method that the patent of invention of CN1585477 discloses a kind of video conference terminal; At first the meeting television terminal is divided into high-level terminal and low level terminal; Comprise static rank control and dynamic classification control, wherein static rank control comprises: meeting is inserted at (1) terminal; (2) multipoint control unit is the terminal distribution terminal number; (3) multipoint control unit judges whether this terminal is high-level terminal, if then carry out next step, otherwise finish; (4) multipoint control unit upgrades the video conference terminal tabulation, and new terminal is added tabulation; (5) the video conference terminal tabulation after multipoint control unit will upgrade is transmitted to other senior terminal with the new terminal name that adds the terminal.Adopt the method for the invention, step control is carried out at the terminal of the TV that participates in a conference, can effectively reduce unnecessary messages flow in the meeting, and then increase the stability and the controllability of TV conference system.
Summary of the invention
The object of the present invention is to provide a kind of rapid classification control method that can be used for the start rank of a plurality of electronic and electrical equipments is carried out the electronic and electrical equipment of step control.
The present invention includes following steps:
1) electronic and electrical equipment that will control in advance can controlled start grade be preset as a plurality of ranks;
2) electronic and electrical equipment is carried out unique number in regular turn, and make the numbering of each electronic and electrical equipment corresponding record itself;
3) produce the Different control instruction according to different start ranks; Each steering order includes one and represents other a rank byte of its start level and a sequence number byte; Said sequence number byte has a plurality of sequence number bytes of arranging in regular turn; Said sequence number byte is to represent the electronic and electrical equipment of a predetermined number respectively, and said sequence number byte is respectively with 0 or 1 expression;
4) broadcast the said steering order of transmission respectively to electronic and electrical equipment according to scheduled timing; Order about electronic and electrical equipment respectively according to its numbering; In the sequence number byte of each steering order, find out corresponding sequence number byte; If the sequence number byte is 1, then electronic and electrical equipment is adjusted to its start rank the start rank of the rank byte setting of steering order.
In step 2) in, said numbering is electronic and electrical equipment to be added 1 ground one by one by 0 beginning number in regular turn; Said electronic and electrical equipment is added 1 ground one by one and is numbered in regular turn by 0 beginning after, through each electronic and electrical equipment is sent one have the particular number data the numbering instruction, make electronic and electrical equipment write down the numbering that this numbering is instructed respectively.Said electronic and electrical equipment is carried out unique number in regular turn, and after making the numbering of each electronic and electrical equipment corresponding record itself, also can comprise a step 2.1): electronic and electrical equipment distinguished compile into a plurality of groups, and to each group definition one destination address; Said numbering instruction comprises that one represents the address joint of this destination address, reaches one and represents the numbering of electronic and electrical equipment numbering to save, and each electronic and electrical equipment can be driven by corresponding numbering instruction, and notes down destination address and the numbering that this numbering is instructed.
In step 3); Also comprise an extended byte in the said steering order; This extended byte is with numeral; And when the total number of sequence number byte of this sequence number byte is less than the total number of these electronic and electrical equipments, and can't represent all electronic and electrical equipments the time, make this extended byte with other numeral beyond the numeral 0.Said sequence number byte has 2 PIndividual sequence number byte, P>=1; Said steering order comprises that also one represents step 2.1) the address joint of destination address.
In step 4); Said " broadcast respectively according to scheduled timing and to send said steering order to electronic and electrical equipment; order about electronic and electrical equipment respectively according to its numbering; in the sequence number byte of each steering order, find out corresponding sequence number byte " is to make electronic and electrical equipment when receiving the non-steering order for numeral 0 of extended byte, with the numerical value of its numbering divided by the total number of sequence number byte; If get an integer quotient and a remainder; This remainder can a corresponding electronic and electrical equipment numbering, if integer quotient is same as the numeral of extended byte, this electronic and electrical equipment find out in can sequence number byte by the sequence number byte of this steering order one represent this remainder corresponding equipment to number the sequence number byte; Saidly broadcast respectively according to scheduled timing that to send said steering order to electronic and electrical equipment can be to convert the sequence number byte code that is made up of 0 and 1 sequence number byte respectively to 2 tAfter the sequence number byte of scale, will have 2 again tThe steering order broadcasting of the sequence number byte of scale is sent to electronic and electrical equipment, wherein, and t>=2.
Said step 4) is to make electronic and electrical equipment have 2 in receiving tAfter the steering order of the sequence number byte serial of scale, earlier this sequence number byte serial decoding is converted to the sequence number byte serial of bit,, in the sequence number byte of each decoding conversion back steering order, find out corresponding sequence number byte then according to its numbering.
Said step 4) is to make electronic and electrical equipment when receiving steering order, judges earlier whether the destination address of this address joint is identical with the destination address of itself, if destination address is identical, then in the sequence number byte of this steering order, finds out corresponding sequence number byte.
The present invention also can comprise step 5), and broadcasting is sent a pair of specific electron electric equipment and effectively repaid instruction to electronic and electrical equipment, orders about this its start rank data of specific electron electric equipment passback.
Compare with the hierarchical control method of existing electronic and electrical equipment, the present invention has following outstanding advantage:
Owing to adopt the start rank of simplifying electronic and electrical equipment; Again electronic and electrical equipment being carried out classification sets; Corresponding then each start rank produces a steering order; And make each the sequence number byte controlling Design of the electronic and electrical equipment of a corresponding predetermined number respectively in the sequence number byte of this steering order; Therefore can control its start rank of the corresponding adjustment of a plurality of electronic and electrical equipments simultaneously through single steering order, can effectively reduce the quantity of steering order, and reduce the control required time of all electronic and electrical equipments relatively.
Description of drawings
Fig. 1 is the controller that is suitable for of the embodiment of the invention and the function block schematic diagram of electronic and electrical equipment.
Fig. 2 is the flow chart of steps of the embodiment of the invention.
Electronic and electrical equipment received the start process flow diagram after instructing when Fig. 3 was embodiment of the invention enforcement.
In Fig. 1~3, each mark is respectively: 3 controllers, and 31 setting modules, 32 volume/decoding modules, 33 read over module, 34 instruction database modules; 4 electronic and electrical equipments, 41 communication modules, 42 volume/decoding modules, 43 storage modules, 44 functional modules; 5 groups.
Embodiment
Following examples will combine accompanying drawing that the present invention is further described.
Referring to shown in Figure 1; Following preferred embodiment; Be applicable to through 3 pairs of a plurality of other electronic and electrical equipments 4 of start level of adjusting of a controller and carry out step control; This controller 3 can be that wired or wireless signal is connected with 4 of electronic and electrical equipments; This controller 3 can be that electronic calculators such as personal computer or mobile computer, PDA, mobile phone or other have the electronic installation of transmitting-receiving signal function, but and said electronic and electrical equipment 4 be Be Controlled adjust its other electronic product of start level, for example other dimmable lamp of adjustable brightness level, adjustable other motor of rotating speed level or water pump, adjustable temperature rank and other air-conditioning system of air quantity level, adjustable other curtain of expansion level; But when implementing, this controller 3 exceeds with the above-mentioned type with electronic and electrical equipment 4 types are neither.
This controller 3 comprises that one is connected in setting module 31 and produces instruction and volume/decoding module that the signal that receives is deciphered 32, is sent out module 33 in order to the instruction of sending coding unit 32 coding outputs and in order to the communication of the signal that receives electronic and electrical equipment 4 passbacks in order to coding in order to the isoparametric setting module of start rank, destination address, the numbering of setting electronic and electrical equipment 4 31, a signal, and an instruction database module 34 in order to save command.In the present embodiment, the instruction of these volume/decoding module 32 coding generations has numbering instruction, steering order and repayment instruction etc.
These electronic and electrical equipments 4 comprise that respectively one deciphers and signal coding to be sent is sent to volume/decoding module 42, the storage module 43 in order to the director data that stores volumes/decoding module decoding 42 outputs of communication module 41 in order to the instruction that this communication module 41 is received in order to receive these instructions and the communication module that sends signal to controller 3 41, one, and one can adjust grade other functional module 44 of start level according to the instruction of volumes/decoding module 43 decoding outputs.And this electronic and electrical equipment is provided with address, function, start rank or other class condition according to it and is distinguished into each group 5.
Cooperation is referring to Fig. 2, below explains that promptly the start rank adjustment mode with rapid classification control method control electronic and electrical equipment 4 of the present invention describes, and this rapid classification control method comprises following steps:
Step 1) is simplified the start rank.According to the control protocol of general stepping controlled electronic and electrical equipment 4, ZigBee Communication Control agreement for example, stepping controlled electronic and electrical equipment 4 planning usually has 256 ranks or 100 ranks; Yet; From the angle of user experience or energy conservation, be divided into so much rank, in fact with only be divided into 8 ranks or 16 other situation difference of level and little; Therefore; Can simplify the rank that the agreement of electronic and electrical equipment 4 is formulated, choose typical rank, use when being used for rapid classification control.
That is to say that N rank simplified and be n rank originally, n<N is respectively n (0), n (1), n (2), n (3) ... n (i), i=n-1.With the dimmable lamp is example, is 256 ranks with the script agreement, and simplifying is 8 ranks (n=8), is respectively 0 grade, 1 grade, 2 grades ... 7 grades.But when implementing, also can simplify as required is 16 ranks, 10 various ranks such as rank, but the rank of simplifying is relevant with the effect of quick control, and the rank of simplifying usually is few more, and it is short more to control the required time of a large amount of electronic and electrical equipment 4.
Step 2) electronic and electrical equipment 4 of adjustable stage control is numbered and the target setting address.Add 1 one by one by numbering 0 beginning, electronic and electrical equipment 4 is carried out unique number, just the numbering of each electronic and electrical equipment 4 is all different.In the present embodiment, be to be example, so the numbering of electronic and electrical equipment 4 is 0,1,2 in regular turn with 256 electronic and electrical equipments 4 ... 254,255.And electronic and electrical equipment 4 is provided with position, function, start rank or other class condition according to it is distinguished into a plurality of groups 5, and group 5 is defined a destination address respectively.
After numbering completion and destination address definition are accomplished; Instruct by these controller 3 corresponding numberings that produce; This numbering instruction comprises the numbering byte that on behalf of the command byte, of command function, a synchronous byte, of arrangement in regular turn represent the instruction length byte of whole piece instruction length, a representative to want the address byte of the destination address of controlled electronic and electrical equipment 4, a representative to want the electronic and electrical equipment 4 in the controlled destination address to number; An and check byte; For example " 0200EB03000100XX ", sync byte is represented in " 02 "; " 00EB " represents command byte; The instruction length byte is represented in " 03 "; Address byte is represented in " 0001 ", and it represents 0001 destination address; " 00 " is the numbering byte, can bit, the coded format of four digit system, octal system or other scale representes; " XX " is check byte.But when implementing, the encoded content and the form of these bytes of this numbering instruction do not exceed with the above-mentioned type.
Then; By controller 3 each electronic and electrical equipment 4 is sent a corresponding numbering instruction; Electronic and electrical equipment 4 can be stored in the destination address data of this address byte and the numbering data recording of this numbering byte in its storage module 43 after receiving corresponding itself numbering instruction.
In the present embodiment; Be to instruct through the numbering that this controller 3 sends electronic and electrical equipment 4 is numbered the setting with destination address; But when implementing; Also can adopt and directly these electronic and electrical equipments 4 carried out control program respectively and write mode, build numbering and destination address data in directly in the storage module of these electronic and electrical equipments 4.
Step 3) is set the start rank that 4 of each electronic and electrical equipments will be adjusted.The start rank of simplifying according to step 1); With step 2) electronic and electrical equipment numbering and the destination address set; Set and set up the start rank of each destination address in controller 3; But when implementing, also can be to each its start rank of electronic and electrical equipment 4 individual settings in each destination address.Present embodiment set altogether 8 the action ranks, be respectively 0 grade, 1 grade, 2 grades ... 7 grades.
Step 4) produces provisional injunction.The start rank of simplifying according to step 1); And step 2) electronic and electrical equipment 4 destination addresses, the numbering that set; Identical by controller 3 generation quantity with the rank number after simplifying; And represent different other provisional injunctions of action level respectively, provisional injunction can be transformed into steering order through volume/decoding module 32 codings.Provisional injunction as shown in table 1 for example, each byte in the sequence number byte serial is to represent with digital " 0 " temporarily, promptly each position all puts 0 earlier.
Table 1
Figure G2009101131220D00051
This provisional injunction comprises that in regular turn on behalf of the command byte, of command function, a synchronous byte, of arranging represent the instruction length byte of whole piece instruction length, a representative to want the address byte, of the destination address of controlled electronic and electrical equipment 4 represent electronic and electrical equipment 4 to want sequence number byte, that controlled grade of other rank byte, represent all electronic and electrical equipments 4 in will controlled destination address in order to expand the extended byte of sequence number; An and check byte; But when implementing, the encoded content of this provisional injunction does not exceed with content shown in the table 1.
The sequence number byte has 2 of arrangement in regular turn PIndividual sequence number byte, P>=1, this sequence number byte is represented the electronic and electrical equipment 4 of a predetermined number respectively; Turn left by rightmost side sequence number byte and to begin ordering, the electronic and electrical equipment of the 1st sequence number byte representative numbering 0, the electronic and electrical equipment of the 2nd signal byte representative numbering 1; The rest may be inferred, and the 2nd PIndividual signal byte representative numbering 2 P-1 electronic and electrical equipment, and the sequence number byte of provisional injunction can be represented with " 0 " earlier.
Extended byte is a byte, is used for expanding the quantity of step control electronic and electrical equipment 4.Because in various control system, the length of an instruction is conditional, therefore maybe be only in an instruction representes that with the sequence number byte serial all devices has any problem.And after adding extended byte, can expand the number of supporting quick control equipment exponentially.Promptly be less than total number of electronic and electrical equipment to be controlled 4 when the total number of sequence number byte of sequence number byte, and can't represent all electronic and electrical equipments 4 time, extended byte can show with other numerical table beyond the digital 0x00, for example the number among 0x01~0xFF.
The sequence number byte of for example working as the sequence number byte has only 256; And electronic and electrical equipment to be controlled 4 is when surpassing 256; Then need be through setting the numerical value of this extended byte; Originally sequence number byte can be expanded be adapted to numbering greater than 255 electronic and electrical equipment 4, for example be applicable to numbering 256,1000 etc.
To number 257 electronic and electrical equipment 4 is example; The setting of extended byte; Be will number " 257 " earlier divided by the total number of sequence number byte " 256 ", can get an integer quotient " 1 " and a remainder " 1 ", integer quotient " 1 " is promptly in order to the numerical value " 01 " as extended byte; And remainder " 1 " is in order to representative in should the sequence number byte is numbered the sequence number byte of 1 electronic and electrical equipment 4; At this moment, if this sequence number byte is when represent with " 0 ", the steering order of representing this provisional injunction coding generation is invalid to numbering 257 electronic and electrical equipment 4; If this sequence number byte is with " 1 " expression, represent that then steering order that this provisional injunction coding produces can order about its start rank of electronic and electrical equipment 4 modulations of this numbering 257.
The step 5) merge command.According to the electronic and electrical equipment 4 start ranks and the numbering of these electronic and electrical equipments 4 that step 3) is set, will represent in identical other provisional injunction of start level corresponding sequence number byte to change and represent with digital " 1 ".For example the preset start rank when numbering 5 electronic and electrical equipment is 3 grades, and then will represent the start rank is that the sequence number byte of representative numbering 5 changes with " 1 " expression, and then constitutes the sequence number byte of the coding outward appearance that is similar to bit in 3 grades the provisional injunction.
That is to say; When the sequence number byte is when representing with " 0 "; Represent that steering order that this provisional injunction coding produces is invalid to the electronic and electrical equipment 4 of this sequence number byte representative; When the sequence number byte is " 1 ", represent that steering order that this provisional injunction coding produces is effective to the electronic and electrical equipment 4 of this sequence number byte representative.
After merging provisional injunction according to the start rank of electronic and electrical equipment 4, the provisional injunction code conversion after will being merged by the coding module 32 of controller 3 becomes a steering order, and steering order is temporary in the instruction database module 34 of controller 3.
This code conversion is to become 2 to the sequence number byte conversion that 0 or 1 sequence number byte constitutes tThe sequence number byte of scale, the length that shortens the sequence number byte is used in t>=2.In the present embodiment; It is the sequence number byte serial that the sequence number byte conversion is become 16 scales; For example the sequence number byte before the coding be " 00000000.....00000010 " totally 256 bytes, and represent numbering 1 electronic and electrical equipment effective, after code conversion; Can become " 00...04 ", surplus 32 bytes.
Step 6) inspection illegal command.Steering order by in 3 pairs of instruction database modules 34 of controller is carried out verification; If all the sequence number bytes in the sequence number byte of steering order are all 0; Represent that promptly this steering order is all invalid to all electronic and electrical equipments 4; So before sending instruction, should invalid steering order reject earlier, reduce the waste of communication resources.
The step 7) sending controling instruction orders about its start rank of electronic and electrical equipment 4 corresponding modulations.After accomplishing the rejecting of coding modulation and illegal command of above-mentioned steering order, with a predetermined sequential, the steering order of instruction database module 34 broadcasted one by one being sent to all electronic and electrical equipments 4 via the communication module 33 of controller 3.
After making electronic and electrical equipment 4 receive a steering order, judge earlier whether the destination address of address byte is same as the destination address that its storage module 43 stores,, then be failure to actuate if different; As if identical, then in the sequence number byte, find out the sequence number byte of corresponding its numbering, if the sequence number byte is " 0 ", presentation directives is invalid to it, then is failure to actuate; If the sequence number byte is " 1 ", then electronic and electrical equipment 4 is according to the grade setting value of the rank byte of steering order, and correspondence is adjusted the start rank of its functional module 44.
The step 8) state reporting.When electronic and electrical equipment 4 is adjusted to predetermined start rank respectively according to corresponding steering order after; Controller 3 can be encoded again and sent one in order to require the repayment instruction of predetermined electronic and electrical equipment 4 its present start level condition of repayment; The similar numbering instruction of the coding of repayment instruction; But the coding of its command byte is different, and in the present embodiment, encoded byte is 00EA.
Cooperation is referring to Fig. 3, and the start flow process of the instruction of the reception of electronic and electrical equipment 4 numbering, steering order and repayment instruction is explained as follows.
When electronic and electrical equipment 4 was received an instruction, whether the first verification of meeting should instruct correct, if correct, then the type of this instruction is judged in continuation; If incorrect, then return the wait command status.When judging this instruction type; Be that to judge this instruction by the command byte of this instruction be to belong to numbering instruction, steering order or repayment instruction; When if numbering is instructed, then can be with numbering address byte that instructs and the data conversion storage of numbering byte in its DBM 43; If repayment instruction; Can judge then whether the repayment instruction is effective to it; Just, whether address byte is identical with numbering with the destination address of its DBM 43 with the data of numbering in the byte, if identical; Then send one and have signal to the controller 3 of its start rank data, and return the wait command status via communication module 41; If inequality, then return the wait command status; If this instruction can judge then for steering order whether this steering order is effective to it; If effective instruction then according to the rank of the setting in the steering order, is adjusted to corresponding rank with its functional module 44, and returns the wait command status.
In the present embodiment, after the rank data of provisional injunction and electronic and electrical equipment 4 merge, can again the provisional injunction code conversion be become 2 tThe steering order of scale is deciphered by electronic and electrical equipment 4 again.But when implementing, steering order is not to change into 2 tCarry is made as necessity, can be directly with the provisional injunction after the start rank that merges electronic and electrical equipment 4 as steering order, and broadcasting is sent to electronic and electrical equipment 4.
In sum; After simplifying through the start rank that the related protocol of other electronic and electrical equipment 4 of adjustable stage is formulated; Again electronic and electrical equipment 4 being carried out classification according to the start rank after simplifying sets; Corresponding then each start rank produces a corresponding steering order; And make corresponding respectively the electronic and electrical equipment 4 of sequence number byte in the sequence number byte of steering order by a predetermined number, and with the sequence number byte that has same other electronic and electrical equipment 4 of start level in each steering order with " 1 " expression, and represent the controlling Design of the sequence number byte of other different other electronic and electrical equipments 4 of start level with " 0 " expression; Can single steering order control a plurality of electronic and electrical equipment 4 corresponding its start ranks of adjustment simultaneously; Can effectively reduce the quantity of steering order, and the required time of all electronic and electrical equipments of reduction control 4, a large amount of electronic and electrical equipments 4 carried out the operating system of step control for need; To the use amount of communication network resource, and control rate is very fast in the time of can reducing sending controling instruction relatively.
In addition; The address byte of cooperation steering order can be in order to distinguish a plurality of groups 5 with electronic and electrical equipment 4; And distinguish different start ranks again with regard to the electronic and electrical equipment 4 of each group 5, and extended byte can make the sequence number byte can be applicable to the design of quantity greater than the electronic and electrical equipment 4 of the total number of sequence number byte, makes that rapid classification control method of the present invention can the finite length byte; Control the size greater than the electronic and electrical equipment 4 of the total number of sequence number byte; Its control efficiency is high, and applicability is wide, and is quite convenient and practical.Therefore, can reach the object of the invention really.
The above person of thought; Be merely preferred embodiment of the present invention; When not limiting the scope that the present invention implements with this, the simple equivalent of promptly doing according to claim of the present invention and invention description generally changes and modifies, and all still belongs in the scope that patent of the present invention contains.

Claims (1)

1. the rapid classification control method of an electronic and electrical equipment; It is characterized in that adopting a controller that a plurality of other electronic and electrical equipments of start level of adjusting are carried out step control; Wired connection or wireless signal are connected between said controller and electronic and electrical equipment; Said controller is that personal computer, mobile computer, PDA, mobile phone or other have the electronic installation of transmitting-receiving signal function, and said electronic and electrical equipment is its other electronic product of start level of Be Controlled adjustment;
Said controller comprises that one is connected in setting module and produces instruction and volume/decoding module that the signal that receives is deciphered, one in order to the instruction of sending the output of coding unit coding and in order to the communication receiving/transmission module of the signal that receives the electronic and electrical equipment passback in order to coding in order to start rank, destination address, the setting module of numbering, a signal of setting electronic and electrical equipment, and an instruction database module in order to save command;
Said electronic and electrical equipment comprise one in order to receive this instruction and the communication module that sends signal to controller, one in order to the instruction that this communication module is received decipher and volume/decoding module, that signal coding to be sent is sent to communication module in order to store the storage module of the director data that the decoding of volumes/decoding module exports; Reaching one can be according to other functional module of instruction adjustment start level of volume/decoding module decoding output, and said electronic and electrical equipment is provided with address, function or start level region according to it and is divided into each group;
Said rapid classification control method may further comprise the steps:
1) simplify the start rank, concrete grammar is following:
According to the control protocol of stepping controlled electronic and electrical equipment, stepping controlled electronic and electrical equipment is divided into multi-level, and the rank that the agreement of electronic and electrical equipment is formulated simplified, choose typical rank, use when being used for rapid classification control;
2) electronic and electrical equipment of adjustable stage control is numbered and the target setting address, concrete grammar is following:
Add 1 one by one by numbering 0 beginning; Electronic and electrical equipment is carried out unique number; The numbering that is each electronic and electrical equipment is all different, and electronic and electrical equipment is provided with position, function or start level region and is divided into a plurality of groups according to it, and group is defined a destination address respectively;
After numbering completion and destination address definition are accomplished; Instruct by the corresponding numbering that produces of controller; Said numbering instruction comprises the numbering byte that on behalf of the command byte, of command function, a synchronous byte, of arrangement in regular turn represent the instruction length byte of whole piece instruction length, a representative to want the address byte of the destination address of controlled electronic and electrical equipment, a representative to want the electronic and electrical equipment in the controlled destination address to number, and a check byte;
Then; By controller each electronic and electrical equipment is sent a corresponding numbering instruction; After electronic and electrical equipment receives corresponding itself numbering instruction, the destination address data of the address byte numbering data recording with the numbering byte is stored in the storage module;
3) set each electronic and electrical equipment the start rank that will adjust, concrete grammar is following:
The start rank of simplifying according to step 1) is with step 2) electronic and electrical equipment numbering and the destination address set, set and set up the start rank of each destination address in controller;
4) produce provisional injunction, concrete grammar is following:
The start rank of simplifying according to step 1); And step 2) the electronic and electrical equipment destination address, the numbering that set; Identical by controller generation quantity with the rank number after simplifying; And represent different other provisional injunctions of action level respectively, but the volume of provisional injunction via controller/decoding module coding is transformed into steering order;
Said provisional injunction comprises that in regular turn on behalf of the command byte, of command function, a synchronous byte, of arranging represent the instruction length byte of whole piece instruction length, a representative to want the address byte, of the destination address of controlled electronic and electrical equipment represent electronic and electrical equipment to want sequence number byte, that controlled other rank byte of level, represents all electronic and electrical equipments in will controlled destination address in order to expand the extended byte of sequence number, reaches a check byte;
Said sequence number byte has 2 of arrangement in regular turn PIndividual sequence number byte; P>=1, this sequence number byte is represented the electronic and electrical equipment of a predetermined number respectively, and being turned left by rightmost side sequence number byte begins ordering; The electronic and electrical equipment of the 1st sequence number byte representative numbering 0, the electronic and electrical equipment of the 2nd signal byte representative numbering 1;
5) merge command, concrete grammar is following:
According to the electronic and electrical equipment start rank of step 3) setting and the numbering of this electronic and electrical equipment; To represent in identical other provisional injunction of start level corresponding sequence number byte to change, and then constitute the sequence number byte of approximate binary coding outward appearance with numeral " 1 " expression;
After merging provisional injunction according to the start rank of electronic and electrical equipment, the provisional injunction code conversion after will being merged by the coding module of controller becomes a steering order, and steering order is temporary in the instruction database module of controller;
Said code conversion is to become 2 to the sequence number byte conversion that 0 or 1 sequence number byte constitutes tThe sequence number byte of scale, the length that shortens the sequence number byte is used in t>=2;
6) inspection illegal command, concrete grammar is following:
By controller the steering order in the instruction database module is carried out verification,, represent that promptly this steering order is all invalid to all electronic and electrical equipments if all the sequence number bytes in the sequence number byte of steering order are all 0;
7) sending controling instruction orders about corresponding its start rank of modulation of electronic and electrical equipment, and concrete grammar is following:
After the coding modulation of completion steering order and the rejecting of illegal command; By the communication module of controller with a predetermined sequential; The steering order of instruction database module broadcasted one by one being sent to all electronic and electrical equipments, make electronic and electrical equipment receive a steering order after, judge earlier whether the destination address of address byte is same as the destination address of its storage module storage; If different, then be failure to actuate; As if identical, then in the sequence number byte, find out the sequence number byte of corresponding its numbering, if the sequence number byte is " 0 ", presentation directives is invalid to it, then is failure to actuate; If the sequence number byte is " 1 ", then electronic and electrical equipment is according to the grade setting value of the rank byte of steering order, and correspondence is adjusted the start rank of its functional module;
8) state reporting, concrete grammar is following:
When electronic and electrical equipment is adjusted to predetermined start rank respectively according to corresponding steering order after; Controller can be encoded again and sent one in order to require the repayment instruction of predetermined its present start level condition of electronic and electrical equipment repayment, promptly accomplishes the rapid classification control of electronic and electrical equipment.
CN200910113122A 2009-12-31 2009-12-31 Fast step control method for electric equipment Expired - Fee Related CN101770231B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN200910113122A CN101770231B (en) 2009-12-31 2009-12-31 Fast step control method for electric equipment
PCT/CN2010/079551 WO2011079697A1 (en) 2009-12-31 2010-12-08 Method for rapid adjustment of operating levels of electronic apparatuses

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910113122A CN101770231B (en) 2009-12-31 2009-12-31 Fast step control method for electric equipment

Publications (2)

Publication Number Publication Date
CN101770231A CN101770231A (en) 2010-07-07
CN101770231B true CN101770231B (en) 2012-10-10

Family

ID=42503140

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910113122A Expired - Fee Related CN101770231B (en) 2009-12-31 2009-12-31 Fast step control method for electric equipment

Country Status (2)

Country Link
CN (1) CN101770231B (en)
WO (1) WO2011079697A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101770231B (en) * 2009-12-31 2012-10-10 厦门大洋通信有限公司 Fast step control method for electric equipment
CN102801582B (en) * 2012-07-20 2015-05-27 飞天诚信科技股份有限公司 Device and method for realizing automatic power failure of USB (Universal Serial Bus) device
CN102984858B (en) * 2012-11-16 2015-06-24 中科恒源科技股份有限公司 Long-distance monitoring system communication transmission implement method and wind solar hybrid road lamp device
CN110412965A (en) * 2018-04-27 2019-11-05 天扬精密科技股份有限公司 Stratum's management and group device and system and its controlled device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101079902A (en) * 2007-06-29 2007-11-28 清华大学 A great magnitude of data hierarchical storage method
CN101286841A (en) * 2008-05-26 2008-10-15 北京盖博瑞尔科技发展有限公司 Data encryption and transmission method for RFID device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5255197A (en) * 1990-07-06 1993-10-19 Honda Giken Kogyo Kabushiki Kaisha Line production management system
US6760630B2 (en) * 2001-04-03 2004-07-06 Siemens Aktiengesellschaft Method and implementation of process control
KR100857139B1 (en) * 2007-02-01 2008-09-05 엘지전자 주식회사 Multi-air conditioner system and his data writing method
CN101303588B (en) * 2008-06-04 2011-05-11 东北大学 Method and system for automatically making sub batch plan for steel-smelting continuous casting furnace
CN101436061B (en) * 2008-12-12 2010-08-25 南开大学 Competing type network robot chess-playing system
CN101770231B (en) * 2009-12-31 2012-10-10 厦门大洋通信有限公司 Fast step control method for electric equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101079902A (en) * 2007-06-29 2007-11-28 清华大学 A great magnitude of data hierarchical storage method
CN101286841A (en) * 2008-05-26 2008-10-15 北京盖博瑞尔科技发展有限公司 Data encryption and transmission method for RFID device

Also Published As

Publication number Publication date
CN101770231A (en) 2010-07-07
WO2011079697A1 (en) 2011-07-07

Similar Documents

Publication Publication Date Title
CN101770231B (en) Fast step control method for electric equipment
CN101465691A (en) User terminal, system and method for implementing remote control
CN109828544A (en) A kind of intelligent home control system and its configuration method based on bluetooth mesh
CN102300358A (en) Wireless lighting control system with lighting control device and method thereof
CN205015730U (en) Stage element centralized control system
CN101937667B (en) A kind of multi-screen synchronous display controlling system
CN108431701B (en) Control method, control panel and control system of intelligent household equipment
CN102495614A (en) Intelligent household control system
CN1395718A (en) Arrangement including remote control device and first electronic device
CN102256050B (en) Intelligent studio view broadcast control system and method
CN101916092B (en) Switching value controller, interactive terminal and intelligent home control system and method
KR20110022980A (en) Apparatus for controlling emotional illumination using weather and time information and method thereof
CN105721563A (en) Intelligent window curtain control system based on Android and Zigbee
CN107479935B (en) Batch burning method and device for LED lamp group control program
CN103455328A (en) Media playing controller, media player and media playing method based on multiple hierarchical state machines
CN105654706A (en) All-purpose household appliance control device, system and household appliances control method
CN103516775B (en) A kind of method and system realizing equipment room Fast synchronization
CN1480691A (en) Method for adjusting room temperature remotely
CN204836448U (en) Accuse system is broadcast to wireless audio frequency
CN202904320U (en) Intelligent household control system
CN112054945A (en) Intelligent voice control system and control method thereof
CN101901540B (en) Remote control setting method and remote control setting device for electronic device, and remote control system
JP5501843B2 (en) Power line communication device
CN115297089B (en) Full-automatic address allocation system and method
CN103473083A (en) Electronic device and method for setting operation interface according to network download information

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20121010

Termination date: 20211231

CF01 Termination of patent right due to non-payment of annual fee