CN105242549B - A kind of method and apparatus being controlled to equipment - Google Patents
A kind of method and apparatus being controlled to equipment Download PDFInfo
- Publication number
- CN105242549B CN105242549B CN201510557783.8A CN201510557783A CN105242549B CN 105242549 B CN105242549 B CN 105242549B CN 201510557783 A CN201510557783 A CN 201510557783A CN 105242549 B CN105242549 B CN 105242549B
- Authority
- CN
- China
- Prior art keywords
- device group
- signal strength
- reference device
- signal intensity
- detection signal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Selective Calling Equipment (AREA)
Abstract
The disclosure is directed to a kind of method and apparatus being controlled to equipment, belong to field of computer technology.The described method includes:Obtain the detection signal strength that default at least one reference device group detects;Wherein, the reference device group includes two reference devices, the signal strength when detection signal strength launches the signal of preset signal strength for a side of described two reference devices received by the opposing party;The detection signal strength of each reference device group is matched with reference signal intensity;Wherein, each reference device group corresponds to a predetermined reference signal intensity;Match if there is the corresponding detection signal strength of reference device group with reference signal intensity, then send default control instruction to target control object.Using the disclosure, the efficiency being controlled to equipment can be improved.
Description
Technical field
The disclosure is directed to field of computer technology, especially with respect to a kind of method and apparatus being controlled to equipment.
Background technology
With the development of electronic technology, the species of electronic equipment is more and more, and application is also more and more extensive, has become
One of the most important instruments in people's routine work, life.Wherein, most of electronic equipment can all be provided with control button, use
Family can be turned on and off electronic equipment by control button.
Multiple electronic equipments can be placed in the room of user, after user enters room, the control of electronic equipment can be passed through
Button processed is turned on and off electronic equipment.For example, after user enters room, electric light can be opened, open switch, or opened
Air-conditioning etc..
During the disclosure is realized, inventor has found to have at least the following problems:
User enters behind room, it is necessary to be manually operated control button, electronic equipment could be controlled, can so caused
What electronic equipment was controlled is less efficient.
The content of the invention
In order to overcome problem present in correlation technique, present disclose provides a kind of method being controlled to equipment and dress
Put.The technical solution is as follows:
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of method being controlled to equipment, the described method includes:
Obtain the detection signal strength that default at least one reference device group detects;Wherein, the reference device group
Comprising two reference devices, the detection signal strength launches the letter of preset signal strength for a side of described two reference devices
Number when the opposing party received by signal strength;
The detection signal strength of each reference device group is matched with reference signal intensity;Wherein, Mei Gesuo
State reference device group and correspond to a predetermined reference signal intensity;
Match if there is the corresponding detection signal strength of reference device group with reference signal intensity, then to target control
Object sends default control instruction.
Optionally, it is described to send default control instruction to control object, including:
According to the correspondence of the reference device group prestored and control object, control instruction, successful match is determined
The corresponding target control object of reference device group and target control instruction, and send the target control to the target control object
System instruction.
In this way, can be to setting different control object and control instruction in different rooms, so as to improve to control
The flexibility that object processed is controlled.
It is optionally, described to match if there is the corresponding detection signal strength of reference device group with reference signal intensity,
Including:
Match if there is the corresponding detection signal strength of reference device group with reference signal intensity, and it is strong to detect signal
The number for the reference device group that degree matches with reference signal intensity is more than predetermined threshold value.
In this way, being based on above-mentioned processing, matched accuracy can be improved.
Optionally, the detection signal strength by each reference device group is matched with reference signal intensity,
Including:
According to each corresponding reference signal strength range of reference device group prestored, determine that each reference is set
It is standby to organize corresponding detection signal strength whether in corresponding reference signal strength range.
In this way, being matched by reference signal strength range, matched sensitivity can be improved.
Optionally, the detection signal strength for obtaining default at least one reference device group and detecting, including:
Obtain the detection signal strength that default at least one reference device group detects in preset duration;
The detection signal strength by each reference device group is matched with reference signal intensity, including:
Determine the corresponding minimum detection signal strength of each reference device group in the preset duration;
According to the corresponding multiple reference signal intensity of each reference device group prestored, to each reference device group pair
The minimum detection signal strength answered carries out matching detection with reference signal intensity;
It is described to match if there is the corresponding detection signal strength of reference device group with reference signal intensity, then to control
Object sends default control instruction, including:
If there is the corresponding minimum detection signal strength of reference device group with corresponding multiple reference signal intensity
First reference signal intensity matches, then according to the reference signal intensity that prestores and control object, control instruction it is corresponding
Relation, determines that target control object corresponding with the first reference signal intensity and target control instruct, and to the target
Control object sends the target control instruction.
In this way, different people or object can be identified.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of device being controlled to equipment, described device include:
Acquisition module, the detection signal strength detected for obtaining default at least one reference device group;Wherein, institute
State reference device group and include two reference devices, the detection signal strength is default for the side transmitting of described two reference devices
The signal strength during signal of signal strength received by the opposing party;
A matching module, for the detection signal strength of each reference device group and reference signal intensity to be carried out
Match somebody with somebody;Wherein, each reference device group corresponds to a predetermined reference signal intensity;
Sending module, for if there is the corresponding detection signal strength of reference device group and reference signal intensity phase
Match somebody with somebody, then send default control instruction to target control object.
Optionally, the sending module, is used for:
According to the correspondence of the reference device group prestored and control object, control instruction, successful match is determined
The corresponding target control object of reference device group and target control instruction, and send the target control to the target control object
System instruction.
In this way, can be to setting different control object and control instruction in different rooms, so as to improve to control
The flexibility that object processed is controlled.
Optionally, the sending module, is used for:
Match if there is the corresponding detection signal strength of reference device group with reference signal intensity, and it is strong to detect signal
The number for the reference device group that degree matches with reference signal intensity is more than predetermined threshold value, then is sent to target controlled device default
Control instruction.
In this way, being based on above-mentioned processing, matched accuracy can be improved.
Optionally, the matching module, is used for:
According to each corresponding reference signal strength range of reference device group prestored, determine that each reference is set
It is standby to organize corresponding detection signal strength whether in corresponding reference signal strength range.
In this way, being matched by reference signal strength range, matched sensitivity can be improved.
Optionally, the acquisition module, is used for:
Obtain the detection signal strength that default at least one reference device group detects in preset duration;
The matching module, including:
Determination sub-module, for determining that the corresponding minimum detection signal of each reference device group is strong in the preset duration
Degree;
Matched sub-block, the corresponding multiple reference signal intensity of each reference device group prestored for basis are right
Each the corresponding minimum detection signal strength of reference device group carries out matching detection with reference signal intensity;
The sending module, is used for:
If there is the corresponding minimum detection signal strength of reference device group with corresponding multiple reference signal intensity
First reference signal intensity matches, then according to the reference signal intensity that prestores and control object, control instruction it is corresponding
Relation, determines that target control object corresponding with the first reference signal intensity and target control instruct, and to the target
Control object sends the target control instruction.
In this way, different people or object can be identified.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of device being controlled to equipment, including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
Obtain the detection signal strength that default at least one reference device group detects;Wherein, the reference device group
Comprising two reference devices, the detection signal strength launches the letter of preset signal strength for a side of described two reference devices
Number when the opposing party received by signal strength;
The detection signal strength of each reference device group is matched with reference signal intensity;Wherein, Mei Gesuo
State reference device group and correspond to a predetermined reference signal intensity;
Match if there is the corresponding detection signal strength of reference device group with reference signal intensity, then to target control
Object sends default control instruction.
The technical scheme provided by this disclosed embodiment can include the following benefits:
In the embodiment of the present disclosure, the detection signal strength that default at least one reference device group detects is obtained;Wherein,
Reference device group includes two reference devices, and detection signal strength launches preset signal strength for a side of two reference devices
Signal strength during signal received by the opposing party, by the detection signal strength of each reference device group and reference signal intensity into
Row matching;Wherein, each reference device group corresponds to a predetermined reference signal intensity, corresponding if there is reference device group
Detection signal strength matches with reference signal intensity, then default control instruction is sent to target control object, in this way, being based on
Above-mentioned processing, can judge whether user enters room, if user according to the corresponding detection signal strength of each reference device group
Into room, then default control instruction can be sent to target control object, control object is controlled manually without user, so that
The efficiency being controlled to equipment can be improved.
Also,
It should be appreciated that the general description and following detailed description of the above are only exemplary and explanatory, not
The disclosure can be limited.
Brief description of the drawings
Attached drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the disclosure
Example, and be used to together with specification to explain the principle of the disclosure.In the accompanying drawings:
Fig. 1 is a kind of flow chart of method being controlled to equipment according to an exemplary embodiment;
Fig. 2 is a kind of schematic diagram of application scenarios according to an exemplary embodiment;
Fig. 3 is a kind of schematic diagram of application scenarios according to an exemplary embodiment;
Fig. 4 is a kind of schematic diagram of application scenarios according to an exemplary embodiment;
Fig. 5 is a kind of schematic diagram of device being controlled to equipment according to an exemplary embodiment;
Fig. 6 is a kind of schematic diagram of device being controlled to equipment according to an exemplary embodiment;
Fig. 7 is a kind of structure diagram of server according to an exemplary embodiment.
Pass through above-mentioned attached drawing, it has been shown that the clear and definite embodiment of the disclosure, will hereinafter be described in more detail.These attached drawings
It is not intended to limit the scope of disclosure design by any mode with word description, but is by reference to specific embodiment
Those skilled in the art illustrate the concept of the disclosure.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to
During attached drawing, unless otherwise indicated, the same numbers in different attached drawings represent the same or similar key element.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended
The example of the consistent apparatus and method of some aspects be described in detail in claims, the disclosure.
One exemplary embodiment of the disclosure provides a kind of method being controlled to equipment, as shown in Figure 1, this method
Process flow can include the steps:
In a step 101, the detection signal strength that default at least one reference device group detects is obtained;Wherein, join
Examine equipment group and include two reference devices, detection signal strength launches the letter of preset signal strength for a side of two reference devices
Number when the opposing party received by signal strength.
In a step 102, the detection signal strength of each reference device group is matched with reference signal intensity;Its
In, each reference device group corresponds to a predetermined reference signal intensity.
In step 103, match if there is the corresponding detection signal strength of reference device group with reference signal intensity,
Then default control instruction is sent to target control object.
In the embodiment of the present disclosure, the detection signal strength that default at least one reference device group detects is obtained;Wherein,
Reference device group includes two reference devices, and detection signal strength launches preset signal strength for a side of two reference devices
Signal strength during signal received by the opposing party, by the detection signal strength of each reference device group and reference signal intensity into
Row matching;Wherein, each reference device group corresponds to a predetermined reference signal intensity, corresponding if there is reference device group
Detection signal strength matches with reference signal intensity, then default control instruction is sent to target control object, in this way, being based on
Above-mentioned processing, can judge whether user enters room, if user according to the corresponding detection signal strength of each reference device group
Into room, then default control instruction can be sent to target control object, control object is controlled manually without user, so that
The efficiency being controlled to equipment can be improved.
Disclosure another exemplary embodiment provides a kind of method being controlled to equipment, and this method can be used for taking
It is engaged in device, which can be the corresponding background server of reference device.The server can include memory, for each
The corresponding reference signal intensity of reference device group;The server can include processor, for being corresponded to each reference device group
Detection signal strength and reference signal intensity carry out matching detection;The server can include transceiver, for target control
Object processed sends default control instruction.In addition, the server can also include network interface and power supply etc..
Below in conjunction with embodiment, the process flow shown in Fig. 1 is described in detail, content can be as follows:
In a step 101, the detection signal strength that default at least one reference device group detects is obtained.
Wherein, reference device group includes two reference devices, and detection signal strength is launched for a side of two reference devices
The signal strength during signal of preset signal strength received by the opposing party.
In force, as shown in Fig. 2, user can in a room install and multiple have the function of that sending wireless signal sets
Standby (i.e. reference device), such as wireless router, smart television and intelligent air condition, can also set needs device to be controlled (i.e.
Target control object), such as intelligent air condition and electric light, target control object can be one in reference device or
Equipment outside reference device.In these reference devices, any two reference device can be set to form a reference device
Group, the packet mode of Fig. 2 is only a kind of example of possible packet situation.Two references included in one reference device group are set
A side in standby when often reaching default detection cycle, can launch the signal of preset signal strength, then the opposing party can receive
The signal, and determine the signal strength (detecting signal strength) of the signal, the detection signal strength that then will can be detected,
And the mark of corresponding reference device group is sent to server.Server can then receive detection signal strength and reference device
The mark of group, then can carry out corresponding storage by the mark for detecting signal strength and reference device group.
In a step 102, the detection signal strength of each reference device group is matched with reference signal intensity.
Wherein, each reference device group corresponds to a predetermined reference signal intensity.
In force, for multiple reference device groups of user installation, the reference device in each reference device group can
When reaching default detection cycle, to detect itself signal strength between other side, then the detection detected can be believed
The mark of number intensity and reference device group is sent to server.Server receives the corresponding detection signal of each reference device group
, can detection signal strength corresponding to each reference device group and reference signal intensity progress matching detection after intensity.Benchmark
Signal strength can be used as signal strength threshold, and server can detection signal strength corresponding to each reference device group and base
Calibration signal intensity is compared, and judges that detecting signal strength is equal to or less than reference signal intensity.
Wherein, reference signal intensity can be the signal strength that each reference device group detects after people carries out room.With
Family can install the application program for setting reference signal intensity in terminal (such as computer or mobile phone), and then user can set
The corresponding reference signal intensity of each reference device group in some room is put, the position of the terminal can be beyond room.User
The reference device in the room can be opened in advance, and the application program is opened in terminal, clicks on and starts detection option, then eventually
End can send the instruction of reference signal intensity detection to server, so that server can record the signal strength detected, and
Based on the signal strength detected, the corresponding reference signal intensity of each reference device group is determined.User, which clicks on, starts detection choosing
Xiang Hou, can enter the room, each reference device group may detect that signal strength, and signal strength is sent to service
Device.During user enters room, user can interfere or block to the signal between two reference devices, in this way,
The corresponding signal strength of reference device group can be gradually reduced, and then keep certain time length, then gradually increase.Set for each reference
Standby group, server can determine the minimum value (can be referred to as minimum signal strength) of its corresponding signal strength, which is believed
Number intensity is as the corresponding reference signal intensity of the reference device group.In addition, server can also record the mark in the room, with
And the mark of reference device included in the room, and the mark of reference device group.
Optionally, reference signal intensity can on the basis of signal strength range, correspondingly, the processing procedure of step 102 can
With as follows:According to the corresponding reference signal strength range of each reference device group prestored, each reference device group is determined
Whether corresponding detection signal strength is in corresponding reference signal strength range.
In force, user can carry out multiple reference signal intensity detection in the manner described above, then server can be with every
The corresponding multiple signal strengths for storing repeated detection and obtaining of a reference device group, for any reference device group, server can
To calculate the average value of corresponding multiple signal strengths, can then proceed in default range size, determine using the average value as
The signal strength range at center, as the corresponding reference signal strength range of the reference device group.For example, reference device group 1 passes through
It is 50dB, 49dB and 51dB to cross 3 times and detect obtained signal strength, then can determine that average value is 50dB, preset range size
For 7, then it is 47dB~53dB that can determine the corresponding reference signal strength range of reference device group 1.
Optionally, the situation in room can be entered to different people or object, multiple benchmark are set for each reference device group
Signal strength, correspondingly, the processing procedure of step 102 can be as follows:Determine that each reference device group corresponds in preset duration
Minimum detection signal strength;According to the corresponding multiple reference signal intensity of each reference device group prestored, to each
The corresponding minimum detection signal strength of reference device group carries out matching detection with reference signal intensity.
In force, user can open the reference device in the room in advance, and the application program is opened in terminal,
Then the title (mark that can be referred to as target object) of the people that will enter room or object can be inputted in the application program,
Such as adult, child or pet etc., can then click on beginning detection option, then it is strong can to send reference signal to server for terminal
Degree detection instruction, can carry the mark of target object, so that server can be remembered in reference signal intensity detection instruction
The signal strength detected is recorded, and based on the signal strength detected, determines that the corresponding reference signal of each reference device group is strong
Degree, and then by mark of the reference signal intensity with target object, the corresponding storage of reference device group progress.User, which clicks on, to be started
After detection option, target object can be allowed to enter the room, each reference device group may detect that signal strength, and will letter
Number intensity is sent to server.During target object enters room, the corresponding signal strength meeting of each reference device group
It is gradually reduced, then keeps certain time length, then gradually increase.For each reference device group, server can determine its correspondence
Minimum signal strength, using the minimum signal strength as the corresponding reference signal intensity of the reference device group.When user needs
When detecting other target objects and entering room, the corresponding reference signal intensity of each reference device group, user can repeat
Aforesaid operations, so that server record is when different target object enters room, the corresponding reference signal of each reference device group
Intensity, obtains the corresponding multiple reference signal intensity of each reference device group.In addition, server can be each with corresponding record
The receiving time of signal strength is detected, and then determines the receiving time of the corresponding minimum signal strength of each reference device group, with
And the sequencing of the receiving time of the corresponding minimum signal strength of reference device group, and the sequencing can be deposited
Storage, as default change order, subsequently to use.
Server can be corresponded to the mark of the mark for storing reference device group, reference signal intensity and target object
Storage, obtain reference device group and reference signal intensity, the correspondence of the mark of target object, which can be as
Shown in table 1:
Reference device group | Reference signal intensity | The mark of target object |
1 | 50dB | Adult |
1 | 60dB | Child |
1 | 70dB | Pet |
2 | 35dB | Adult |
2 | 55dB | Child |
2 | 65dB | Pet |
In follow-up detection process, server can obtain default at least one reference device group in preset duration
In the corresponding detection signal strength of each reference device group, then can determine in the preset duration, each reference device group
Corresponding minimum detection signal strength, and then can be according to table 1, minimum detection signal strength corresponding to each reference device group
Matching detection is carried out with multiple reference signal intensity, corresponding processing mode can be that server judges that minimum detection signal is strong
Whether the difference of degree and reference signal intensity is in default difference range.
In step 103, match if there is the corresponding detection signal strength of reference device group with reference signal intensity,
Then default control instruction is sent to target control object.
In force, a reference device group is often received for multiple reference device groups in a room, server
After corresponding detection signal strength, can by detection signal strength reference signal intensity corresponding with the reference device group into
The above-mentioned matching detection of row, if in above-mentioned multiple reference device groups, there are the corresponding detection signal strength of reference device group and base
Calibration signal intensity matches, then server can send default control instruction to target control object, if it does not exist, then can
With without processing.The number for the reference device group that detection signal strength matches with reference signal intensity can be one,
Can be multiple.
Optionally, the equipment in some room can be controlled, corresponding processing procedure can be as follows:According to advance
The reference device group of storage and control object, the correspondence of control instruction, determine that the reference device group of successful match is corresponding
Target control object and target control instruction, and send target control instruction to target control object.
In force, server in advance can be stored the mark of reference device group with the mark in corresponding room,
And the corresponding control object in the room can be stored, and the control instruction of the control object.Correspondence can be such as the institute of table 2
Show:
Reference device group | Room | Control object | Control instruction |
1 | A | Electric light | Open |
2 | A | Air-conditioning | Open and adjust to preset temperature |
3 | B | Socket | Power-off |
4 | B | Micro-wave oven | Close |
Wherein, the corresponding room of reference device group can be the room or other rooms where reference device group.
For multiple reference device groups in a room, server often receives the corresponding detection of a reference device group
After signal strength, detection signal strength reference signal intensity corresponding with the reference device group can be subjected to above-mentioned matching
Detection, if in above-mentioned multiple reference device groups, there are the corresponding detection of reference device group (can be referred to as the first reference device group)
Signal strength matches with reference signal intensity, then server can inquire about the corresponding room of the first reference device group according to table 2
Between, and corresponding target control object and target control instruction, it then can send target control to target control object and refer to
Order, if the server determine that there is no the reference device group that corresponding detection signal strength and reference signal intensity match, then
Can be without handling, as shown in Figure 2.For example, server determines that the corresponding detection signal strength of reference device group 1 is believed with benchmark
Number intensity matches, then server can open the electric light in room A, as shown in Figure 3.In addition, it can also be stored in server
When user is introduced into room, the corresponding signal (can be referred to as idle reference signal) of each reference device group in room, when server is true
The corresponding signal strength that detects of fixed each reference device group matches with idle reference signal, and duration reaches preset duration
During threshold value, default control instruction can be sent to target control object, for example, out code can be sent to electric light.
Optionally, the quantity threshold of matched reference device group can be set, correspondingly, the processing procedure of step 103 can
With as follows:Match if there is the corresponding detection signal strength of reference device group with reference signal intensity, and it is strong to detect signal
The number for the reference device group that degree matches with reference signal intensity is more than predetermined threshold value, then is sent to target control object default
Control instruction.
In force, the reference that detection signal strength matches with reference signal intensity can be pre-set in server to set
The predetermined threshold value of the number of standby group.When user enters some room, multiple reference device groups in the room can all detect
Corresponding detection signal strength, and detection signal strength is sent to server.Server receives these detection signal strengths
Afterwards, except that can judge whether the corresponding detection signal strength of reference device group and reference signal intensity according to above-mentioned processing
Match, the number for the reference device group that detection signal strength and reference signal intensity match can also be recorded, then can be with
The number is contrasted with predetermined threshold value, can be to target control object if the number is greater than or equal to predetermined threshold value
Default control instruction is sent, can be without processing, so as to improve detection if the number is less than predetermined threshold value
Accuracy.
Optionally, for above-mentioned, the situation of signal strength range on the basis of reference signal intensity, correspondingly, step 103
Processing procedure can be as follows:If there is the corresponding detection signal strength of reference device group in corresponding reference signal strength range
It is interior, then send default control instruction to target control object.
In force, a reference device group is often received for multiple reference device groups in a room, server
, can be by detection signal strength reference signal intensity model corresponding with the reference device group after corresponding detection signal strength
Enclose and carry out above-mentioned matching detection, if in above-mentioned multiple reference device groups, there are the corresponding detection signal strength of reference device group
In corresponding reference signal strength range, then server can send default control instruction to target control object, if
Be not present, then can be without processing.
Optionally, in the case of above-mentioned setting multiple reference signal intensity for each reference device group, correspondingly, step
103 processing procedure can be as follows:If there is the corresponding minimum detection signal strength of reference device group and corresponding multiple bases
The first reference signal intensity in calibration signal intensity matches, then according to the reference signal intensity that prestores and control object,
The correspondence of control instruction, determines target control object corresponding with the first reference signal intensity and target control instruction, and
Target control instruction is sent to target control object.
In force, user can set the corresponding control object of target object and control to refer in above application program
Order, for example, adult can set and the corresponding control object of child be electric light, corresponding control instruction is unlatching, alternatively, can be with
It is water heater to set the corresponding control object of adult, and corresponding control instruction is heating, and the corresponding control object of child is socket,
Corresponding control instruction is power-off.In this way, server can store the mark of reference device group and control object, control instruction
Correspondence, the correspondence can be as shown in table 3:
For multiple reference device groups in a room, server determines the corresponding minimum detection of a reference device group
After signal strength, the minimum detection signal strength multiple reference signal intensity corresponding with the reference device group can be carried out
Above-mentioned matching detection, if in above-mentioned multiple reference device groups, there are the corresponding minimum detection signal strength of reference device group with
The first reference signal intensity in multiple reference signal intensity matches, then can determine corresponding first benchmark according to upper table
The corresponding target control object of signal and target control instruction, and target control instruction is sent to target control object, if not
In the presence of, then can without processing.
In addition, server can also be according to current temporal information to determine whether sending target control instruction.For example,
8:00~17:00, if the server determine that the corresponding target control object of the first reference signal intensity is electric light, target control refers to
Make to open, then can not send target control instruction, if server detects that current time is 8:00~17:Beyond 00
Time, then can to electric light send open command.
Server can also judge that user is to enter room, still walk out room.Server can be held in preset duration
It is continuous to obtain the corresponding detection signal strength of above-mentioned each reference device group, obtain the corresponding detection signal strength of each reference device group
Set, it is each to detect two ginsengs that included in signal strength set and be included in the reference device group detected in preset duration
Examine the signal strength between equipment.Server can determine in the corresponding detection signal strength set of each reference device group
Each minimum detection signal strength of the corresponding detection signal strength set of reference device group, by the minimum detection signal strength and base
Calibration signal intensity carries out matching detection.
Server can also correspond to the receiving time of each detection signal strength of record.Server can determine each to join
The corresponding minimum detection signal strength of equipment group, and the corresponding receiving time of minimum detection signal strength are examined, then can be with
Determine the sequencing of the receiving time of the corresponding minimum detection signal strength of reference device group.Server will can be determined
Sequencing is contrasted with above-mentioned default change order, if there is the minimum detection signal in detection signal strength set
Intensity matches with reference signal intensity, and the elder generation of the receiving time of the corresponding minimum detection signal strength of each reference device group
Order matches with default change order afterwards, then can be according to the change order and reference signal intensity, target prestored
The correspondence of control object, control instruction, determines corresponding target control instruction, target control is sent to target control object
Instruction.
For example, default change order can be reference device group 1- reference device group 2- reference devices group 3, the change is suitable
Ordered pair enters the situation in room using family, wherein, the corresponding reference signal intensity of reference device group 1 is 50dB, reference device group 2
Corresponding reference signal intensity is 30dB, and the corresponding reference signal intensity of reference device group 3 is 40dB, and target control object is electricity
Lamp, control instruction then detect in signal strength when each reference device group that server obtains is corresponding to open, there is detection
Minimum value in signal strength set matches with reference signal intensity, the change order determined and above-mentioned change order one
Cause, then can send open command to electric light;Default change order can be that reference device group 3- reference device groups 2- is referred to
Equipment group 1, the corresponding user of change order walk out the situation in room, wherein, the corresponding reference signal intensity of reference device group 1 is
50dB, the corresponding reference signal intensity of reference device group 2 are 30dB, and the corresponding reference signal intensity of reference device group 3 is 40dB,
Target control object is electric light, and control instruction is closes, then when the corresponding detection letter of each reference device group that server obtains
In number intensity, the minimum value existed in detection signal strength set matches with reference signal intensity, and the change determined is sequentially
With above-mentioned change sequence consensus, then out code can be sent to electric light.
In the embodiment of the present disclosure, the detection signal strength that default at least one reference device group detects is obtained;Wherein,
Reference device group includes two reference devices, and detection signal strength launches preset signal strength for a side of two reference devices
Signal strength during signal received by the opposing party, by the detection signal strength of each reference device group and reference signal intensity into
Row matching;Wherein, each reference device group corresponds to a predetermined reference signal intensity, corresponding if there is reference device group
Detection signal strength matches with reference signal intensity, then default control instruction is sent to target control object, in this way, being based on
Above-mentioned processing, can judge whether user enters room, if user according to the corresponding detection signal strength of each reference device group
Into room, then default control instruction can be sent to target control object, control object is controlled manually without user, so that
The efficiency being controlled to equipment can be improved.
Disclosure further example embodiment provides a kind of device being controlled to equipment, as shown in figure 5, the device
Including:Acquisition module 510, matching module 520 and sending module 530.
Acquisition module 510, the detection signal strength detected for obtaining default at least one reference device group;Its
In, the reference device group includes two reference devices, and the detection signal strength is sent out for a side of described two reference devices
Signal strength when penetrating the signal of preset signal strength received by the opposing party;
Matching module 520, for the detection signal strength of each reference device group and reference signal intensity to be carried out
Matching;Wherein, each reference device group corresponds to a predetermined reference signal intensity;
Sending module 530, for if there is the corresponding detection signal strength of reference device group and reference signal intensity phase
Matching, then send default control instruction to target control object.
Optionally, the sending module 530, is used for:
According to the correspondence of the reference device group prestored and control object, control instruction, successful match is determined
The corresponding target control object of reference device group and target control instruction, and send the target control to the target control object
System instruction.
Optionally, the sending module 530, is used for:
Match if there is the corresponding detection signal strength of reference device group with reference signal intensity, and it is strong to detect signal
The number for the reference device group that degree matches with reference signal intensity is more than predetermined threshold value, then is sent to target controlled device default
Control instruction.
Optionally, the matching module 520, is used for:
According to each corresponding reference signal strength range of reference device group prestored, determine that each reference is set
It is standby to organize corresponding detection signal strength whether in corresponding reference signal strength range.
Optionally, as shown in fig. 6, the acquisition module 510, is used for:
Obtain the detection signal strength that default at least one reference device group detects in preset duration;
The matching module 520, including:
Determination sub-module 521, for determining the corresponding minimum detection letter of each reference device group in the preset duration
Number intensity;
Matched sub-block, 522, for strong according to the corresponding multiple reference signals of each reference device group prestored
Degree, matching detection is carried out to the corresponding minimum detection signal strength of each reference device group and reference signal intensity;
The sending module 530, is used for:
If there is the corresponding minimum detection signal strength of reference device group with corresponding multiple reference signal intensity
First reference signal intensity matches, then according to the reference signal intensity that prestores and control object, control instruction it is corresponding
Relation, determines that target control object corresponding with the first reference signal intensity and target control instruct, and to the target
Control object sends the target control instruction.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in related this method
Embodiment in be described in detail, explanation will be not set forth in detail herein.
In the embodiment of the present disclosure, the detection signal strength that default at least one reference device group detects is obtained;Wherein,
Reference device group includes two reference devices, and detection signal strength launches preset signal strength for a side of two reference devices
Signal strength during signal received by the opposing party, by the detection signal strength of each reference device group and reference signal intensity into
Row matching;Wherein, each reference device group corresponds to a predetermined reference signal intensity, corresponding if there is reference device group
Detection signal strength matches with reference signal intensity, then default control instruction is sent to target control object, in this way, being based on
Above-mentioned processing, can judge whether user enters room, if user according to the corresponding detection signal strength of each reference device group
Into room, then default control instruction can be sent to target control object, control object is controlled manually without user, so that
The efficiency being controlled to equipment can be improved.
It should be noted that:Above-described embodiment provide the device being controlled to equipment when being controlled to equipment,
, can be as needed and by above-mentioned function distribution only with the division progress of above-mentioned each function module for example, in practical application
Completed by different function modules, i.e., the internal structure of equipment is divided into different function modules, it is described above to complete
All or part of function.In addition, the device being controlled to equipment that above-described embodiment provides and being controlled to equipment
Embodiment of the method belongs to same design, its specific implementation process refers to embodiment of the method, and which is not described herein again.
The another exemplary embodiment of the disclosure provides a kind of for the block diagram for the device 1900 being controlled to equipment.Example
Such as, device 1900 may be provided as a server.With reference to Fig. 7, device 1900 includes processing component 1922, it further comprises
One or more processors, and as the memory resource representated by memory 1932, can be by processing component 1922 for storing
Execution instruction, such as application program.The application program stored in memory 1932 can include one or more
Each corresponds to the module of one group of instruction.In addition, processing component 1922 is configured as execute instruction, it is above-mentioned to equipment to perform
The method being controlled.
Device 1900 can also include a power supply module 1926 and be configured as the power management of executive device 1900, one
Wired or wireless network interface 1950 is configured as device 1900 being connected to network, and input and output (I/O) interface
1958.Device 1900 can be operated based on the operating system for being stored in memory 1932, such as Windows ServerTM, Mac
OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
Device 1900 can include memory, and either one of them or one of more than one program
Procedure above is stored in memory, and be configured to by one either more than one processor perform it is one or one
Procedure above includes the instruction for being used for being operated below:
Obtain the detection signal strength that default at least one reference device group detects;Wherein, the reference device group
Comprising two reference devices, the detection signal strength launches the letter of preset signal strength for a side of described two reference devices
Number when the opposing party received by signal strength;
The detection signal strength of each reference device group is matched with reference signal intensity;Wherein, Mei Gesuo
State reference device group and correspond to a predetermined reference signal intensity;
Match if there is the corresponding detection signal strength of reference device group with reference signal intensity, then to target control
Object sends default control instruction.
Optionally, it is described to send default control instruction to control object, including:
According to the correspondence of the reference device group prestored and control object, control instruction, successful match is determined
The corresponding target control object of reference device group and target control instruction, and send the target control to the target control object
System instruction.
It is optionally, described to match if there is the corresponding detection signal strength of reference device group with reference signal intensity,
Including:
Match if there is the corresponding detection signal strength of reference device group with reference signal intensity, and it is strong to detect signal
The number for the reference device group that degree matches with reference signal intensity is more than predetermined threshold value.
Optionally, the detection signal strength by each reference device group is matched with reference signal intensity,
Including:
According to each corresponding reference signal strength range of reference device group prestored, determine that each reference is set
It is standby to organize corresponding detection signal strength whether in corresponding reference signal strength range.
Optionally, the detection signal strength for obtaining default at least one reference device group and detecting, including:
Obtain the detection signal strength that default at least one reference device group detects in preset duration;
The detection signal strength by each reference device group is matched with reference signal intensity, including:
Determine the corresponding minimum detection signal strength of each reference device group in the preset duration;
According to the corresponding multiple reference signal intensity of each reference device group prestored, to each reference device group pair
The minimum detection signal strength answered carries out matching detection with reference signal intensity;
It is described to match if there is the corresponding detection signal strength of reference device group with reference signal intensity, then to control
Object sends default control instruction, including:
If there is the corresponding minimum detection signal strength of reference device group with corresponding multiple reference signal intensity
First reference signal intensity matches, then according to the reference signal intensity that prestores and control object, control instruction it is corresponding
Relation, determines that target control object corresponding with the first reference signal intensity and target control instruct, and to the target
Control object sends the target control instruction.
In the embodiment of the present disclosure, the detection signal strength that default at least one reference device group detects is obtained;Wherein,
Reference device group includes two reference devices, and detection signal strength launches preset signal strength for a side of two reference devices
Signal strength during signal received by the opposing party, by the detection signal strength of each reference device group and reference signal intensity into
Row matching;Wherein, each reference device group corresponds to a predetermined reference signal intensity, corresponding if there is reference device group
Detection signal strength matches with reference signal intensity, then default control instruction is sent to target control object, in this way, being based on
Above-mentioned processing, can judge whether user enters room, if user according to the corresponding detection signal strength of each reference device group
Into room, then default control instruction can be sent to target control object, control object is controlled manually without user, so that
The efficiency being controlled to equipment can be improved.
Those skilled in the art will readily occur to the disclosure its after considering specification and putting into practice disclosure disclosed herein
Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or
Person's adaptive change follows the general principle of the disclosure and including the undocumented common knowledge in the art of the disclosure
Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope and spirit of the disclosure are by following
Claim is pointed out.
It should be appreciated that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by appended claim.
Claims (7)
- A kind of 1. method being controlled to equipment, it is characterised in that the described method includes:Obtain the detection signal strength that default at least one reference device group detects in preset duration;Wherein, the ginseng Examine equipment group and include two reference devices, the detection signal strength launches preset signals for a side of described two reference devices The signal strength during signal of intensity received by the opposing party;Determine the corresponding minimum detection signal strength of each reference device group in the preset duration;It is every according to what is prestored The corresponding multiple reference signal intensity of a reference device group, to the corresponding minimum detection signal strength of each reference device group and base Calibration signal intensity carries out matching detection;Wherein, each reference device group corresponds to a predetermined reference signal intensity;If there is the corresponding minimum detection signal strength of reference device group and first in corresponding multiple reference signal intensity Reference signal intensity matches, then the reference signal intensity and control object, the correspondence of control instruction that basis prestores, Determine that target control object corresponding with the first reference signal intensity and target control instruct, and to the target control pair As sending the target control instruction.
- It is 2. according to the method described in claim 1, it is characterized in that, described if there is the corresponding minimum detection of reference device group Signal strength matches with the first reference signal intensity in corresponding multiple reference signal intensity, including:If there is the corresponding minimum detection signal strength of reference device group and first in corresponding multiple reference signal intensity Reference signal intensity matches, and the reference device that minimum detection signal strength matches with corresponding multiple reference signal intensity The number of group is more than predetermined threshold value.
- 3. according to the method described in claim 1, it is characterized in that, each reference device group that the basis prestores corresponds to Multiple reference signal intensity, the corresponding minimum detection signal strength of each reference device group and reference signal intensity are carried out With detection, including:According to each corresponding reference signal strength range of reference device group prestored, each reference device group is determined Whether corresponding minimum detection signal strength is in corresponding reference signal strength range.
- 4. a kind of device being controlled to equipment, it is characterised in that described device includes:Acquisition module is strong for obtaining the detection signal that default at least one reference device group detects in preset duration Degree;Wherein, the reference device group includes two reference devices, and the detection signal strength is the one of described two reference devices The signal strength during signal of side's transmitting preset signal strength received by the opposing party;Matching module, for determining the corresponding minimum detection signal strength of each reference device group in the preset duration;Root According to the corresponding multiple reference signal intensity of each reference device group prestored, minimum inspection corresponding to each reference device group Survey signal strength and carry out matching detection with reference signal intensity;Wherein, each reference device group corresponds to a predetermined base Calibration signal intensity;Sending module, for if there is the corresponding minimum detection signal strength of reference device group and corresponding multiple reference signals The first reference signal intensity in intensity matches, then is referred to according to the reference signal intensity prestored and control object, control The correspondence of order, determines that target control object corresponding with the first reference signal intensity and target control instruct, and to The target control object sends the target control instruction.
- 5. device according to claim 4, it is characterised in that the sending module, is used for:If there is the corresponding minimum detection signal strength of reference device group and first in corresponding multiple reference signal intensity Reference signal intensity matches, and the reference device that minimum detection signal strength matches with corresponding multiple reference signal intensity The number of group is more than predetermined threshold value, then sends default control instruction to target controlled device.
- 6. device according to claim 4, it is characterised in that the matching module, is used for:According to each corresponding reference signal strength range of reference device group prestored, each reference device group is determined Whether corresponding minimum detection signal strength is in corresponding reference signal strength range.
- A kind of 7. device being controlled to equipment, it is characterised in that including:Processor;For storing the memory of processor-executable instruction;Wherein, the processor is configured as:Obtain the detection signal strength that default at least one reference device group detects in preset duration;Wherein, the ginseng Examine equipment group and include two reference devices, the detection signal strength launches preset signals for a side of described two reference devices The signal strength during signal of intensity received by the opposing party;Determine the corresponding minimum detection signal strength of each reference device group in the preset duration;It is every according to what is prestored The corresponding multiple reference signal intensity of a reference device group, to the corresponding minimum detection signal strength of each reference device group and base Calibration signal intensity carries out matching detection;Wherein, each reference device group corresponds to a predetermined reference signal intensity;If there is the corresponding minimum detection signal strength of reference device group and first in corresponding multiple reference signal intensity Reference signal intensity matches, then the reference signal intensity and control object, the correspondence of control instruction that basis prestores, Determine that target control object corresponding with the first reference signal intensity and target control instruct, and to the target control pair As sending the target control instruction.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510557783.8A CN105242549B (en) | 2015-09-02 | 2015-09-02 | A kind of method and apparatus being controlled to equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510557783.8A CN105242549B (en) | 2015-09-02 | 2015-09-02 | A kind of method and apparatus being controlled to equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105242549A CN105242549A (en) | 2016-01-13 |
CN105242549B true CN105242549B (en) | 2018-05-08 |
Family
ID=55040230
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510557783.8A Active CN105242549B (en) | 2015-09-02 | 2015-09-02 | A kind of method and apparatus being controlled to equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105242549B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110278291B (en) * | 2019-03-19 | 2022-02-11 | 新华三技术有限公司 | Wireless device naming method, storage medium and system |
CN114167740A (en) * | 2021-11-29 | 2022-03-11 | 珠海格力电器股份有限公司 | Equipment control method and device, remote control equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1672452A (en) * | 2002-07-31 | 2005-09-21 | 皇家飞利浦电子股份有限公司 | System for locating a mobile unit |
CN101476765A (en) * | 2009-01-22 | 2009-07-08 | 桂林电子科技大学 | Energy-saving intelligentized control system of air conditioning house |
CN102495617A (en) * | 2011-12-29 | 2012-06-13 | 深圳Tcl新技术有限公司 | Intelligent household air-conditioning system with linkage function |
CN103458413A (en) * | 2013-05-28 | 2013-12-18 | 大连理工大学 | Method for intrusion detection based on wireless signal characters |
CN104678770A (en) * | 2015-01-23 | 2015-06-03 | 小米科技有限责任公司 | Displacement accident detection method and system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7800496B2 (en) * | 2006-07-07 | 2010-09-21 | Innovalarm Corporation | Methods, devices and security systems utilizing wireless networks and detection devices |
-
2015
- 2015-09-02 CN CN201510557783.8A patent/CN105242549B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1672452A (en) * | 2002-07-31 | 2005-09-21 | 皇家飞利浦电子股份有限公司 | System for locating a mobile unit |
CN101476765A (en) * | 2009-01-22 | 2009-07-08 | 桂林电子科技大学 | Energy-saving intelligentized control system of air conditioning house |
CN102495617A (en) * | 2011-12-29 | 2012-06-13 | 深圳Tcl新技术有限公司 | Intelligent household air-conditioning system with linkage function |
CN103458413A (en) * | 2013-05-28 | 2013-12-18 | 大连理工大学 | Method for intrusion detection based on wireless signal characters |
CN104678770A (en) * | 2015-01-23 | 2015-06-03 | 小米科技有限责任公司 | Displacement accident detection method and system |
Also Published As
Publication number | Publication date |
---|---|
CN105242549A (en) | 2016-01-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109257259B (en) | Scene linkage control method and device and household electrical appliance | |
US10008092B2 (en) | Method, apparatus, and storage medium for alerting cooking state of electric cooker | |
CN105306318B (en) | intelligent scene configuration method, device and server | |
CN105929713A (en) | Control method and device of cooking electric appliance, and cooking electric appliance | |
CN107991891B (en) | Method and system for adjusting environmental parameters and user equipment | |
CN107085380B (en) | Intelligent household system user position judgment method and electronic equipment | |
CN105242549B (en) | A kind of method and apparatus being controlled to equipment | |
CN108375168B (en) | Method for adjusting air conditioning equipment | |
CN110824940A (en) | Method and device for controlling intelligent household equipment, electronic equipment and storage medium | |
CN112333057B (en) | Intelligent household equipment distribution network testing method and device, executive machine and storage medium | |
US11054794B2 (en) | Information transmitting method, cloud service platform and a smart system for analyzing user data or smart home appliance data | |
CN108390795B (en) | Household appliance and monitoring method thereof, smart home system and readable storage medium | |
CN106444567A (en) | Food cooking system, method and device | |
CN112152887A (en) | Network distribution method and device of household appliance, electronic device and storage medium | |
CN110555981B (en) | Response method and device, search method and device, remote controller, terminal and medium | |
CN112838968B (en) | Equipment control method, device, system, storage medium and electronic device | |
CN107861768A (en) | A kind of target control APP startup method and system | |
CN114266959A (en) | Food cooking method and device, storage medium and electronic device | |
CN105182761B (en) | specified operation triggering method and device | |
WO2024001196A1 (en) | Household appliance control method and apparatus, storage medium, and electronic apparatus | |
CN111722600A (en) | Remote control method and device based on equipment space relation and remote control equipment | |
CN112131901A (en) | Method and device for automatically mixing and identifying face and two-dimensional code and intelligent identification equipment | |
CN107995690B (en) | Master-slave working mode control method and device | |
CN112118591A (en) | Equipment network state analysis control method, system and computer storage medium | |
CN114167740A (en) | Equipment control method and device, remote control equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |