CN110196671A - A kind of device management method, apparatus and system - Google Patents

A kind of device management method, apparatus and system Download PDF

Info

Publication number
CN110196671A
CN110196671A CN201810164402.3A CN201810164402A CN110196671A CN 110196671 A CN110196671 A CN 110196671A CN 201810164402 A CN201810164402 A CN 201810164402A CN 110196671 A CN110196671 A CN 110196671A
Authority
CN
China
Prior art keywords
equipment
device identification
signal
type
command code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810164402.3A
Other languages
Chinese (zh)
Other versions
CN110196671B (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.)
Hangzhou Hikvision Digital Technology Co Ltd
Original Assignee
Hangzhou Hikvision Digital Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Hikvision Digital Technology Co Ltd filed Critical Hangzhou Hikvision Digital Technology Co Ltd
Priority to CN201810164402.3A priority Critical patent/CN110196671B/en
Publication of CN110196671A publication Critical patent/CN110196671A/en
Application granted granted Critical
Publication of CN110196671B publication Critical patent/CN110196671B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • 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
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Automation & Control Theory (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The embodiment of the present application provides a kind of device management method, apparatus and system.Method applied to main equipment includes: acquisition button operation, and determines the type of the button operation;According to the corresponding relationship of the type of preset button operation and management mode, the corresponding objective management mode of the type of the button operation is determined;Receive the first signal from device identification described in the carrying emitted from equipment from equipment;According to the objective management mode and described from device identification, management is described from equipment.Using scheme provided by the embodiments of the present application, main equipment can be realized to the different management modes from equipment in the case where no screen, on-keyboard.

Description

A kind of device management method, apparatus and system
Technical field
This application involves device management techniques fields, more particularly to a kind of device management method, apparatus and system.
Background technique
In smart home and safety-security area, more and more equipment use wireless technology, by wireless transmission method into Communication between row equipment.Carrying out communication in this way has many advantages, such as without wiring, easy for installation, beautiful.It is above-mentioned to set Standby can be used as is communicated from equipment with main equipment, by main equipment management.For example, can be smoke sensor, be displaced from equipment The detectors such as sensor, infrared sensor, main equipment can be carried out wireless communication with these detectors, what pick-up probe was sent Wireless signal is alarmed.
Main equipment to from the management of equipment may include to registered from equipment, delete registration or inquiry with from equipment it Between signal strength, to facilitate the installation site etc. manually adjusted from equipment.
Main equipment can be by keyboard or display screen that it has, by specified command code is manually entered, into difference Management mode, to being registered from equipment, delete registration or the inquiry management such as signal strength.With the development of technology, master sets It is standby to develop towards summary direction.It goes screenization, remove the main equipment of keyboard to be following development trend, but do not shield Curtain, the main equipment of keyboard can not realized intuitively, easily to the different management modes from equipment.
Summary of the invention
The embodiment of the present application has been designed to provide a kind of device management method, apparatus and system, in no screen, nothing Realize main equipment to the different management modes from equipment in the case where keyboard.
In order to achieve the above object, the embodiment of the present application provides a kind of device management method, and this method is applied to master and sets It is standby, this method comprises:
Button operation is obtained, and determines the type of the button operation;
According to the corresponding relationship of the type of preset button operation and management mode, the type pair of the button operation is determined The objective management mode answered;
Receive the first signal from device identification described in the carrying emitted from equipment from equipment;
According to the objective management mode and described from device identification, management is described from equipment.
Optionally, described according to the objective management mode and institute when the type of the button operation is the first kind State from device identification, management it is described from equipment the step of, comprising:
It is added to described in register list from device identification, the register list is for storing in the main equipment The device identification of the slave equipment of registration;
Using the master control of main equipment mark, it is described emit from device identification, log-in command code as second signal, So that described store the master from device identification and log-in command code according to described when receiving the second signal from equipment Control mark;The log-in command code is used to indicate described in having and stores the master control mark from the slave equipment of device identification.
Optionally, master control mark is also carried in first signal;Register list is being added to from device identification by described In before, further includes:
Judge that the master control carried in first signal identifies whether as indicating described unregistered specified from equipment Mark, if it is, executing the step being added to described from device identification in register list.
Optionally, described according to the objective management mode and institute when the type of the button operation is Second Type State from device identification, management it is described from equipment the step of, comprising:
It is deleted described from register list from device identification, the register list is for storing in the main equipment The device identification of the slave equipment of registration;
Using the master control of main equipment mark, it is described emit from device identification, delete command code as third signal, So that it is described from equipment when receiving the third signal, according to it is described from device identification and delete command code delete it is described from The stored master control mark of equipment;The delete command code is used to indicate described in having and deletes from the slave equipment of device identification Except the stored master control identifies.
Optionally, will it is described from device identification before being deleted in register list, further includes:
Judge in the register list with the presence or absence of described from device identification, if it is present execute it is described will it is described from The step of device identification is deleted from register list.
Optionally, described according to the objective management mode and institute when the type of the button operation is third type State from device identification, management it is described from equipment the step of, comprising:
Determine the signal strength indication of received first signal;
Using the signal strength indication, it is described emit from device identification, querying command code as fourth signal so that institute It states from equipment when receiving the fourth signal, is controlled according to described from device identification, querying command code and signal strength indication The indicator light from the device;The querying command code is used to indicate with the slave equipment from device identification according to institute State the signal strength indication control indicator light from equipment.
Optionally, before the signal strength indication for determining received first signal, further includes:
Judge in register list with the presence or absence of described from device identification, if it is present executing the received institute of the determination The step of stating the signal strength indication of the first signal;The register list is for storing the slave equipment registered on the main equipment Device identification.
Optionally, first signal are as follows: the signal emitted under triggering from equipment.
Optionally, the type of the button operation is with one of Types Below: single-click operation type, double click operation class Type, three double hit action types, long press operation type.
The embodiment of the present application also provides a kind of equipment management device, which is applied to main equipment, which includes:
Determination type module for obtaining button operation, and determines the type of the button operation;
Mode decision module, for determining institute according to the type of preset button operation and the corresponding relationship of management mode State the corresponding objective management mode of type of button operation;
Signal receiving module, for receiving the first letter from device identification described in the carrying emitted from equipment from equipment Number;
Device management module, for according to the objective management mode and described from device identification, management to be described from equipment.
Optionally, when the type of the button operation is the first kind, the device management module is specifically used for:
It is added to described in register list from device identification, the register list is for storing in the main equipment The device identification of the slave equipment of registration;
Using the master control of main equipment mark, it is described emit from device identification, log-in command code as second signal, So that described store the master from device identification and log-in command code according to described when receiving the second signal from equipment Control mark;The log-in command code is used to indicate described in having and stores the master control mark from the slave equipment of device identification.
Optionally, when the type of the button operation is Second Type, the device management module is specifically used for:
It is deleted described from register list from device identification, the register list is for storing in the main equipment The device identification of the slave equipment of registration;
Using the master control of main equipment mark, it is described emit from device identification, delete command code as third signal, So that it is described from equipment when receiving the third signal, according to it is described from device identification and delete command code delete it is described from The stored master control mark of equipment;The delete command code is used to indicate described in having and deletes from the slave equipment of device identification Except the stored master control identifies.
Optionally, the device management module, is specifically used for:
When the type of the button operation is third type, the signal strength indication of received first signal is determined;
Using the signal strength indication, it is described emit from device identification, querying command code as fourth signal so that institute It states from equipment and controls institute from device identification, querying command code and signal strength indication according to described when receiving the fourth signal State indicator light from the device;The querying command code is used to indicate with the slave equipment from device identification according to The signal strength indication control indicator light from equipment.
The embodiment of the present application provides a kind of equipment management system, which includes: main equipment and from equipment;
The main equipment for obtaining button operation, and determines the type of the button operation;It is grasped according to preset key The type of work and the corresponding relationship of management mode determine the corresponding objective management mode of the type of the button operation;Receive institute State the first signal from the carrying that equipment emits from device identification;According to the objective management mode and described from device identification, Management is described from equipment;
It is described from equipment, carry first signal from device identification from equipment for emitting, and respond the master The management of equipment.
Optionally, the main equipment, is specifically used for:
When the type of the button operation is the first kind, it is added to described in register list from device identification, it will The master control mark of the main equipment described is emitted from device identification, log-in command code as second signal;The registration column Table is used to store the device identification for the slave equipment registered on the main equipment, and the log-in command code, being used to indicate has It is described to store the master control mark from the slave equipment of device identification;
It is described from equipment, be specifically used for:
The master control mark is stored from device identification and log-in command code according to described when receiving the second signal.
Optionally, master control mark is also carried in first signal;The main equipment, is also used to:
By it is described be added in register list from device identification before, judge the master control mark carried in first signal Whether know is for indicating described from the unregistered designated identification of equipment, if it is, being added to note from device identification for described In volume list.
Optionally, the main equipment, is specifically used for:
When the type of the button operation is Second Type, deleted described from register list from device identification, it will The master control mark of the main equipment described is emitted from device identification, delete command code as third signal;The registration column Table is used to store the device identification for the slave equipment registered on the main equipment, and the delete command code, being used to indicate has It is described to delete the stored master control mark from the slave equipment of device identification;
It is described from equipment, be specifically used for:
When receiving the third signal, according to it is described from device identification and delete command code delete it is described from equipment The master control mark of storage.
Optionally, the main equipment, is also used to:
Will it is described from device identification before being deleted in register list, judge in the register list with the presence or absence of described From device identification, if it is present being deleted described from register list from device identification.
Optionally, the main equipment, is specifically used for:
When the type of the button operation is third type, the signal strength indication of received first signal is determined; Using the signal strength indication, described emit from device identification, querying command code as fourth signal;The querying command Code is used to indicate with the slave equipment from device identification according to the signal strength indication control instruction from equipment Lamp;
It is described from equipment, be specifically used for:
When receiving the fourth signal, controlled according to described from device identification, querying command code and signal strength indication The indicator light from the device.
Optionally, the main equipment, is also used to:
Before the signal strength indication for determining received first signal, judge in register list with the presence or absence of it is described from Device identification, if it is present determining the signal strength indication of received first signal;The register list, for storing The device identification for the slave equipment registered on the main equipment.
Optionally, described from equipment, it is specifically used for:
According to described from device identification and querying command code, according to pair of preset signal strength indication and signal light control mode It should be related to, determine the corresponding target lamp light control mode of the signal strength indication, be controlled using the target lamp light control mode The indicator light from the device.
Optionally, first signal are as follows: the signal sent under triggering from equipment.
Optionally, the type of the button operation is with one of Types Below: single-click operation type, double click operation class Type, three double hit action types, long press operation type.
The embodiment of the present application also provides a kind of electronic equipment, which includes processor, communication interface, memory And communication bus, wherein processor, communication interface, memory complete mutual communication by communication bus;
Memory, for storing computer program;
Processor when for executing the program stored on memory, realizes a kind of equipment provided by the embodiments of the present application Management method.This method comprises:
Button operation is obtained, and determines the type of the button operation;
According to the corresponding relationship of the type of preset button operation and management mode, the type pair of the button operation is determined The objective management mode answered;
Receive the first signal from device identification described in the carrying emitted from equipment from equipment;
According to the objective management mode and described from device identification, management is described from equipment.
The embodiment of the present application also provides a kind of computer readable storage medium, stored in the computer readable storage medium There is computer program, the computer program realizes a kind of equipment management side provided by the embodiments of the present application when being executed by processor Method.This method comprises:
Button operation is obtained, and determines the type of the button operation;
According to the corresponding relationship of the type of preset button operation and management mode, the type pair of the button operation is determined The objective management mode answered;
Receive the first signal from device identification described in the carrying emitted from equipment from equipment;
According to the objective management mode and described from device identification, management is described from equipment.
Device management method provided by the embodiments of the present application, apparatus and system, available button operation, and determine key The type of operation determines the corresponding mesh of the type of button operation according to the corresponding relationship of preset button operation and management mode Mark management mode.Main equipment can only have very small amount of key or even a key in the embodiment of the present application, pass through difference The types such as the button operation of type, including long-pressing, short-press can make main equipment enter different management modes, realize to from setting Standby different management.Therefore, the embodiment of the present application can realize main equipment to from equipment in the case where no screen, on-keyboard Different management modes.Certainly, implement the application any product or method it is not absolutely required to and meanwhile reach above-described institute There is advantage.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described.It should be evident that the accompanying drawings in the following description is only this Some embodiments of application for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of flow diagram of device management method provided by the embodiments of the present application;
Several idiographic flow schematic diagrams that Fig. 2 a, Fig. 2 b and Fig. 2 c are step S104 in Fig. 1;
Fig. 3 is a kind of structural schematic diagram of equipment management device provided by the embodiments of the present application;
Fig. 4 is a kind of structural schematic diagram of equipment management system provided by the embodiments of the present application;
Fig. 5 is a kind of structural schematic diagram of electronic equipment provided by the embodiments of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Whole description.Obviously, described embodiment is only a part of the embodiment of the application, instead of all the embodiments.Base Embodiment in the application, those of ordinary skill in the art are obtained all without making creative work Other embodiments shall fall in the protection scope of this application.
In order to realize main equipment in the case where no screen, on-keyboard to the different management modes from equipment, the application is real It applies example and provides a kind of device management method, apparatus and system.Below by specific embodiment, the application is carried out specifically It is bright.
Fig. 1 is a kind of flow diagram of device management method provided by the embodiments of the present application.This method is applied to master and sets It is standby.The main equipment can be the equipment with calculation processing function, such as alarm host machine.The main equipment can not have screen, Keyboard etc. inputs device.The main equipment can have a key, and as input device, which can be called function key.From Equipment can be the detectors such as smoke sensor, displacement sensor, infrared sensor, or other can emit wireless signal Equipment or device.
In the present embodiment, this approach includes the following steps S101~step S104:
Step S101: button operation is obtained, and determines the type of the button operation.
In the present embodiment, when needing main equipment management from equipment, button operation can be triggered by user.Obtain key behaviour Make, can be the button operation of acquisition user's input.The working condition of main equipment may include deployment state and disarming state, Function key is unavailable under deployment state, and function key is available under disarming state.The method of the present embodiment be under disarming state into Capable.
The type of button operation may include: single-click operation type, double click operation type, three double hit action types and long-pressing Action type.Wherein, three double hit action types can be equal to long press operation type.It for convenience, can be by single-click operation Type makees three double hit action types or long press operation type using double click operation type as Second Type as the first kind For third type.
In the type for determining button operation, can according to the quantity and low and high level of low and high level in button operation it Between time difference determine the type of button operation.For example, if including a high level in one-touch operation, it may be considered that This button operation is single-click operation type;If including two high level in one-touch operation, and between two high level Time difference be less than preset threshold, it may be considered that this button operation be double click operation type;If in one-touch operation Comprising three high level, and the time difference between two neighboring high level is less than preset threshold, it may be considered that this key is grasped Action type is hit as three;If in one-touch operation including a high level, and the duration of the high level is more than pre- If duration, preset duration such as 2 seconds, it may be considered that this button operation is long press operation type.
Step S102: according to the corresponding relationship of the type of preset button operation and management mode, the button operation is determined The corresponding objective management mode of type.
Wherein, management mode may include: registration from equipment, delete registered from equipment, signal of the inquiry from equipment Intensity etc..
In the present embodiment, the type of button operation and the corresponding relationship of management mode can be pre-set.For example, clicking For the corresponding registration of action type from equipment, the corresponding deletion of double click operation type is registered from equipment, three double hit action types and length By the corresponding signal strength inquired from equipment of action type.
It, can be by the type of above-mentioned button operation and above-mentioned corresponding relationship when determining objective management mode in this step It is matched, using the management mode in the corresponding relationship matched as objective management mode.For example, working as the type of button operation When for single-click operation type, it can determine that objective management mode is registration from equipment.
Step S103: carrying first signal from device identification from equipment emitted from equipment is received.
It wherein, can be sequence number or other identifier the class number of equipment from device identification.
In the present embodiment, the first signal can be with are as follows: the signal emitted under triggering from equipment.For example, when being cigarette from equipment When sensor, smog can be made to trigger the smoke sensor, the smoke sensor is made to emit wireless signal.When from equipment be displacement sensing When device, it can shake and trigger the displacement sensor, the displacement sensor is made to emit wireless signal.When from equipment be infrared sensor When, human body can be made to shake before the infrared sensor, displacement sensor is made to emit wireless signal.
The first signal emitted under triggering from equipment can also carry it in addition to that can carry other than device identification His information, such as should be from the device type of equipment, master control mark for the main equipment that should be registered from equipment etc..Wherein, equipment Type may include main equipment type and from device type, or may include displacement sensor type, smoke sensor type and Displacement sensor type etc..When in the first signal including the master control mark of main equipment, if master control is identified as 0, it can be said that It is bright should be unregistered from equipment.The master control mark of main equipment can be sequence number or other identifier the class number of main equipment.
The first signal emitted from equipment can make which equipment to be managed from equipment main equipment determines.
In the present embodiment, signal that the signal emitted from equipment and main equipment all can be broadcast.
Step S104: according to objective management mode and from device identification, management should be from equipment.
In this step, main equipment can be corresponding to carrying out from equipment according to objective management mode and from device identification Management operation.
As shown in the above, the available button operation of the present embodiment, and determine the type of button operation, according to default Button operation and management mode corresponding relationship, determine the corresponding objective management mode of the type of button operation.The present embodiment Middle main equipment can only have very small amount of key or even a key, pass through different types of button operation, including length It presses, the types such as short-press, main equipment can be made to enter different management modes, realize and manage from the difference of equipment.Therefore, this reality Applying example can realize main equipment to the different management modes from equipment in the case where no screen, on-keyboard.
In another embodiment of the application, in embodiment illustrated in fig. 1, when the type of button operation is the first kind, Step S104 can be carried out according to flow diagram shown in Fig. 2 a, specifically include step S104-1a and step S104-2a:
Step S104-1a: it will be added in register list from device identification.Wherein, which exists for storing The device identification for the slave equipment registered on main equipment.
By from the register list that device identification is added to main equipment, this means that main equipment side is realized to the note from equipment Volume addition.In order to make also to realize the registration to main equipment from equipment side, the master control of main equipment can be identified and is sent to by main equipment From equipment, master control mark is stored from equipment, to complete registration process.
In another embodiment, when also carrying master control mark in the first signal, main equipment can be will be from equipment mark Before knowledge is added in register list, judge that the master control carried in the first signal identifies whether as indicating unregistered from equipment Designated identification, if it is, executing the step that will be added in register list from device identification.
Wherein, designated identification can be preset value, such as can be equivalent for 000.
Since main equipment can receive multiple signals from device broadcasts, when judge to carry in the first signal When master control is identified as designated identification, it is believed that should be unregistered from equipment, it can register at this time.When judging in the first signal Master control mark is not designated identification, it is believed that should register from equipment, and can not register at this time to it.Therefore, to from Before equipment is registered, the master control mark carried in the first signal is judged, can be improved from the accurate of facility registration Property is avoided to from equipment repeated registration.
Step S104-2a: it is carried out using the master control of main equipment mark, from device identification, log-in command code as second signal Transmitting, so as to be identified from equipment when receiving second signal according to from device identification and the storage master control of log-in command code.Wherein, Log-in command code, which is used to indicate to have from the slave equipment of device identification, stores master control mark.
In this step, the log-in command code of the available preservation of main equipment and master control mark, by master control mark, from equipment mark Know, log-in command code is emitted as second signal.Sending second signal can be carried out by the way of broadcast.
It can receive second signal from equipment, and parse from second signal master control mark, from device identification and registration Command code.When judging from equipment from device identification of the device identification for itself, it is believed that the second signal is to be sent to certainly Body, and can determine that second signal is registration information according to log-in command code, it can store master control mark at this time, complete from setting The standby registration to main equipment.
To sum up, the present embodiment can not have screen and key in main equipment according to objective management mode and from device identification It is realized in the case where disk to the registration from equipment, it is easy to operate.
In another embodiment of the application, in embodiment illustrated in fig. 1, when the type of button operation is Second Type, Step S104 can be carried out according to flow diagram shown in Fig. 2 b, specifically include step S104-1b and step S104-2b:
Step S104-1b: it will be deleted from register list from device identification.
Device identification is deleted from register list, this means that main equipment side, which is realized, deletes registration to from equipment.In order to Register the deletion completed between main equipment from equipment side, the master control of main equipment can be identified and is sent to from setting by main equipment It is standby, so as to delete stored master control mark from equipment, complete to delete registration process.
In another embodiment, in order to more accurately delete from device identification, will be from device identification from register list Before middle deletion, can with the following steps are included:
Judge to whether there is in register list from device identification, if it is present executing will arrange from device identification from registration The step of being deleted in table.
Due to being to send according to the form of broadcast when sending signal from equipment, main equipment can receive each from setting The signal of standby broadcast, wherein may include the slave equipment that do not register to main equipment.Note is first judged before device identification deleting It can be improved the accuracy for the treatment of process from device identification with the presence or absence of this in volume list.
Step S104-2b: it is carried out using the master control of main equipment mark, from device identification, delete command code as third signal Transmitting, so as to stored from equipment when receiving third signal according to deleting from device identification and delete command code from equipment Master control mark.
Wherein, delete command code is used to indicate to have from the slave equipment of device identification and deletes stored master control mark.
In this step, the delete command code of the available preservation of main equipment and master control mark, by master control mark, from equipment Mark, delete command code are emitted as third signal.Sending third signal can be carried out by the way of broadcast.
It can receive third signal from equipment, and parse master control mark from third signal, ordered from device identification, deletion Enable code.When judging from equipment from device identification of the device identification for itself, it is believed that the third signal is to be sent to itself , and the master control of storage can be identified and be deleted according to the determination of delete command code, to release the registration with main equipment Relationship.
To sum up, the present embodiment can not have screen and key in main equipment according to objective management mode and from device identification It realizes in the case where disk and is deleted from equipment registered, it is easy to operate.
In another embodiment of the application, in embodiment illustrated in fig. 1, when the type of button operation is third type, Step S104 can be carried out according to flow diagram shown in Fig. 2 c, specifically include step S104-1c and step S104-2c:
Step S104-1c: the signal strength indication of received first signal is determined.
When main equipment is received from the first signal that equipment is sent, the letter of the first signal can be determined using the relevant technologies Number intensity value.The signal strength indication is used to indicate signal strength or weakness of the first signal sent from equipment when reaching main equipment.
In the present embodiment, which can reflect the distance from equipment apart from main equipment and sets from equipment and master Have between standby unobstructed.When signal strength indication is larger, it is believed that relatively close apart from main equipment from equipment and set from equipment with leading It is unobstructed that is, appropriate from the installation site of equipment between standby;When signal strength indication is smaller, it is believed that from equipment away from Farther out from main equipment, or exist between equipment and main equipment and block, that is, is not suitable enough from the installation site of equipment.
In another embodiment, in order to which the signal strength indication more accurately using determination is adjusted from the installation position of equipment Set, before the signal strength indication for determining received first signal, can with the following steps are included:
Judge to determine received first signal if it is present executing with the presence or absence of being somebody's turn to do from device identification in register list Signal strength indication the step of.The register list is used to store the device identification for the slave equipment registered on the master.
When determining in register list in the presence of being somebody's turn to do from device identification, it is believed that should be corresponding from equipment in master from device identification It is registered in equipment, at this moment main equipment can manage this from equipment.When in register list there is no being somebody's turn to do from device identification, it is believed that should It is not registered on the main equipment from device identification is corresponding from equipment, at this moment main equipment cannot manage this from equipment.It is infusing There is no that should first can be registered from when device identification to this from equipment in volume list, then determining again should emit from equipment Signal signal strength indication.
Step S104-2c: emitting using signal strength indication, from device identification, querying command code as fourth signal, with Make to control from the device when receiving fourth signal according to from device identification, querying command code and signal strength indication from equipment Indicator light.
Wherein, querying command code, be used to indicate with from the slave equipment of device identification according to signal strength indication control from setting Standby indicator light.
In this step, the querying command code of the available preservation of main equipment, by signal strength indication, from device identification, inquiry Command code is emitted as fourth signal.As another embodiment, main equipment can also obtain the master control mark of preservation, Master control mark is also emitted as fourth signal.Sending fourth signal can be carried out in the form of broadcast.
Can receive from equipment to fourth signal, and parse from fourth signal signal strength indication, from device identification and Querying command code.When judging this from device identification of the device identification for itself from equipment, it is believed that the fourth signal is hair Send to itself, and can be according to from device identification, querying command code and signal strength indication control indicator light from the device.
From equipment when according to indicator light from the device is controlled from device identification, querying command code and signal strength indication, It can specifically be closed according to from device identification and querying command code according to preset signal strength indication is corresponding with signal light control mode System, determines the corresponding target lamp light control mode of above-mentioned signal strength indication, is controlled using the target lamp light control mode from equipment In indicator light.
Wherein, signal light control mode may include: according to the default mode one for lighting the bright indicator light of Frequency point, according to default Light the mode two that duration lights indicator light.The corresponding relationship of preset signal strength indication and signal light control mode can be with are as follows: place Signal strength indication in range [a, b] corresponds to above-mentioned mode one, and the signal strength indication being in range [c, d] corresponds to above-mentioned mould Formula two;Alternatively, the signal strength indication being in range [a, b] corresponds to above-mentioned mode two, the signal strength being in range [c, d] The corresponding above-mentioned mode one of value.Wherein, a <b < c < d.
Signal light control mode also may include: that the mode of the bright indicator light of Frequency point is lighted according to difference.Preset signal is strong The corresponding relationship of angle value and signal light control mode can be with are as follows: and the signal strength indication being in range [a, b] corresponds to ignition frequency one, The signal strength indication being in range [c, d] corresponds to ignition frequency two;Alternatively, being in the signal strength indication pair in range [a, b] Ignition frequency two is answered, the signal strength indication being in range [c, d] corresponds to ignition frequency one.Wherein, ignition frequency one is less than point Bright frequency two, a <b < c < d.
Signal light control mode also may include: to light the mode that color lights indicator light according to difference.For example, being in range The corresponding mode that indicator light is lighted according to green of signal strength indication in [c, d], the signal strength indication pair being in range [a, b] The mode of indicator light should be lighted according to red, wherein a <b < c < d.
Since main equipment does not have the devices such as screen, keyboard, indicator light, the signal strength from equipment can not be shown, therefore, Main equipment shows signal strength indication by indicator light from the device, and such user can be according to from the instruction in equipment Whether lamp is suitable from the installation site of equipment to determine.When the installation site from equipment is improper, the installation from equipment is adjusted Position, until the installation site from equipment is suitable.
To sum up, the present embodiment can not have screen and key in main equipment according to objective management mode and from device identification Inquiry to the signal strength from equipment is realized in the case where disk etc., and then is able to use family and is learnt from the installation site of equipment and be It is no suitable.
When main equipment and when from equipment being the warning device in intelligent security guard, in order to determine the safety of alarm system, When main equipment is in the working condition of deployment, main equipment can carry out latching operation to key, when key is in locking-in state, Key case can not be operated, and then guarantee the normal alarm work of main equipment.
Fig. 3 is a kind of structural schematic diagram of equipment management device provided by the embodiments of the present application.The Installation practice and Fig. 1 Shown embodiment of the method is corresponding, which is applied to main equipment.The device includes:
Determination type module 301 for obtaining button operation, and determines the type of the button operation.
Mode decision module 302, for determining according to the type of preset button operation and the corresponding relationship of management mode The corresponding objective management mode of the type of the button operation.
Signal receiving module 303, for receiving described in the carrying emitted from equipment from equipment from the first of device identification Signal.
Device management module 304, for according to the objective management mode and described from device identification, management is described from setting It is standby.
In another embodiment of the application, in the embodiment shown in fig. 3, when the type of button operation is the first kind When, the device management module 304 is specifically used for:
It is added to described in register list from device identification, the register list is for storing in the main equipment The device identification of the slave equipment of registration;
Using the master control of main equipment mark, it is described emit from device identification, log-in command code as second signal, So that described store the master from device identification and log-in command code according to described when receiving the second signal from equipment Control mark;The log-in command code is used to indicate described in having and stores the master control mark from the slave equipment of device identification.
In another embodiment of the application, master control mark is also carried in the embodiment shown in fig. 3, in the first signal;If Standby management module 304, is also used to:
By it is described be added in register list from device identification before, judge the master control mark carried in first signal Know whether be for indicating described from the unregistered designated identification of equipment, if it is, execute it is described will be described from device identification The step being added in register list.
In another embodiment of the application, in the embodiment shown in fig. 3, when the type of the button operation is the second class When type, the device management module 304 is specifically used for:
It is deleted described from register list from device identification, the register list is for storing in the main equipment The device identification of the slave equipment of registration;
Using the master control of main equipment mark, it is described emit from device identification, delete command code as third signal, So that it is described from equipment when receiving the third signal, according to it is described from device identification and delete command code delete it is described from The stored master control mark of equipment;The delete command code is used to indicate described in having and deletes from the slave equipment of device identification Except the stored master control identifies.
In another embodiment of the application, in the embodiment shown in fig. 3, device management module 304 is also used to:
Will it is described from device identification before being deleted in register list, judge in the register list with the presence or absence of described From device identification, if it is present executing described by described the step of being deleted from register list from device identification.
In another embodiment of the application, in the embodiment shown in fig. 3, when the type of the button operation is third class When type, the device management module 304 is specifically used for:
Determine the signal strength indication of received first signal;
Using the signal strength indication, it is described emit from device identification, querying command code as fourth signal so that institute It states from equipment when receiving the fourth signal, is controlled according to described from device identification, querying command code and signal strength indication The indicator light from the device;The querying command code is used to indicate with the slave equipment from device identification according to institute State the signal strength indication control indicator light from equipment.
In another embodiment of the application, in the embodiment shown in fig. 3, device management module 304 is also used to:
Before the signal strength indication for determining received first signal, judge in register list with the presence or absence of it is described from Device identification, if it is present the step of executing the signal strength indication of received first signal of the determination;The registration List is used to store the device identification for the slave equipment registered on the main equipment.
Since above-mentioned apparatus embodiment is obtained based on embodiment of the method, and this method technical effect having the same, Therefore details are not described herein for the technical effect of Installation practice.For device embodiment, since it is substantially similar to method Embodiment, so describing fairly simple, the relevent part can refer to the partial explaination of embodiments of method.
Fig. 4 is a kind of structural schematic diagram of equipment management system provided by the embodiments of the present application.The system includes: main equipment 401 and from equipment 402.It wherein, can be one or more from the quantity of equipment 402.
Main equipment 401 for obtaining button operation, and determines the type of the button operation;It is grasped according to preset key The type of work and the corresponding relationship of management mode determine the corresponding objective management mode of the type of the button operation;It receives from setting First signal of the carrying that preparation is penetrated from device identification;According to objective management mode and from device identification, manage from equipment;
From equipment 402, for emitting the first signal from device identification carried from equipment, and the pipe of main equipment is responded Reason.
In the present embodiment, which can be the equipment with calculation processing function, such as alarm host machine.The main equipment Can not have screen, keyboard etc. and input device.The main equipment can have a key, as input device.The key can To be called function key.It can be the detectors such as smoke sensor, displacement sensor, infrared sensor from equipment, or other The equipment or device of wireless signal can be emitted.
In the present embodiment, when needing main equipment management from equipment, button operation can be triggered by user.Obtain key behaviour Make, can be the button operation of acquisition user's input.The working condition of main equipment may include deployment state and disarming state, Function key is unavailable under deployment state, and function key is available under disarming state.The method of the present embodiment be under disarming state into Capable.
The type of button operation may include: single-click operation type, double click operation type, three double hit action types and long-pressing Action type.Wherein, three double hit action types can be equal to long press operation type.It for convenience, can be by single-click operation Type makees three double hit action types or long press operation type using double click operation type as Second Type as the first kind For third type.
Main equipment, can be according to the quantity and height of low and high level in button operation in the type for determining button operation Time difference between level determines the type of button operation.For example, if including a high level in one-touch operation, it can To think this button operation as single-click operation type;If in one-touch operation including two high level, and two high electricity Time difference between flat is less than preset threshold, it may be considered that this button operation is double click operation type;If in one-touch It include three high level in operation, and the time difference between two neighboring high level is less than preset threshold, it may be considered that this Button operation hits action type for three;If in one-touch operation including a high level, and the duration of the high level More than preset duration, preset duration such as 2 seconds, it may be considered that this button operation is long press operation type.
In the present embodiment, management mode may include: registration from equipment, and deletion is registered from equipment, inquires from equipment Signal strength etc..
In the present embodiment, the type pass corresponding with management mode of button operation can be pre-set in the host System.For example, the corresponding registration of single-click operation type, from equipment, the corresponding deletion of double click operation type is registered from equipment, three double hits Action type and the corresponding signal strength inquired from equipment of long press operation type.
It, can be by the type of above-mentioned button operation and above-mentioned corresponding relationship when determining objective management mode in this step It is matched, using the management mode in the corresponding relationship matched as objective management mode.For example, working as the type of button operation When for single-click operation type, it can determine that objective management mode is registration from equipment.
It can be sequence number or other identifier the class number of equipment from device identification.
In the present embodiment, the first signal can be with are as follows: the signal emitted under triggering from equipment.For example, when being cigarette from equipment When sensor, smog can be made to trigger the smoke sensor, the smoke sensor is made to emit wireless signal.When from equipment be displacement sensing When device, it can shake and trigger the displacement sensor, the displacement sensor is made to emit wireless signal.When from equipment be infrared sensor When, human body can be made to shake before the infrared sensor, displacement sensor is made to emit wireless signal.
The first signal emitted under triggering from equipment can also carry it in addition to that can carry other than device identification His information, such as should be from the device type of equipment, master control mark for the main equipment that should be registered from equipment etc..Wherein, equipment Type may include main equipment type and from device type, or may include displacement sensor type, smoke sensor type and Displacement sensor type etc..When in the first signal including the master control mark of main equipment, if master control is identified as 0, it can be said that It is bright should be unregistered from equipment.The master control mark of main equipment can be sequence number or other identifier the class number of main equipment.
The first signal emitted from equipment can make which equipment to be managed from equipment main equipment determines.
In the present embodiment, signal that the signal emitted from equipment and main equipment all can be broadcast.Main equipment can be according to Objective management mode and from device identification, carries out corresponding management operation to from equipment.
As shown in the above, in the present embodiment, the available button operation of main equipment, and determine the class of button operation Type determines the corresponding objective management mould of the type of button operation according to the corresponding relationship of preset button operation and management mode Formula.Main equipment can only have very small amount of key or even a key in the present embodiment, be grasped by different types of key Make, including the types such as long-pressing, short-press, main equipment can be made to enter different management modes, realizes and manage from the difference of equipment. Therefore, the present embodiment can realize main equipment to the different management modes from equipment in the case where no screen, on-keyboard.
In another embodiment of the application, in the embodiment shown in fig. 4, when the type of the button operation is the first kind When type, main equipment 401 is specifically used for:
It will be added in register list from device identification, by the master control of main equipment mark, from device identification, log-in command code Emitted as second signal.
Wherein, register list is used to store the device identification for the slave equipment registered on the master.It should be in log-in command Code is used to indicate the slave equipment storage master control mark with this from device identification.
From equipment 402, it is specifically used for: is led when receiving second signal according to from device identification and the storage of log-in command code Control mark.
By from the register list that device identification is added to main equipment, this means that main equipment side is realized to the note from equipment Volume addition.In order to make also to realize the registration to main equipment from equipment side, the master control of main equipment can be identified and is sent to by main equipment From equipment, master control mark is stored from equipment, to complete registration process.
In another embodiment, when also carrying master control mark in the first signal, main equipment can be will be from equipment mark Before knowledge is added in register list, judge that the master control carried in the first signal identifies whether as indicating unregistered from equipment Designated identification, if it is, will be added in register list from device identification.
Wherein, designated identification can be preset value, such as can be equivalent for 000.
Since main equipment can receive multiple signals from device broadcasts, when judge to carry in the first signal When master control is identified as designated identification, it is believed that should be unregistered from equipment, it can register at this time.When judging in the first signal Master control mark is not designated identification, it is believed that should register from equipment, and can not register at this time to it.Therefore, to from Before equipment is registered, the master control mark carried in the first signal is judged, can be improved from the accurate of facility registration Property is avoided to from equipment repeated registration.
In this step, the log-in command code of the available preservation of main equipment and master control mark, by master control mark, from equipment mark Know, log-in command code is emitted as second signal.Sending second signal can be carried out by the way of broadcast.
It can receive second signal from equipment, and parse from second signal master control mark, from device identification and registration Command code.When judging from equipment from device identification of the device identification for itself, it is believed that the second signal is to be sent to certainly Body, and can determine that second signal is registration information according to log-in command code, it can store master control mark at this time, complete from setting The standby registration to main equipment.
To sum up, the present embodiment can not have screen and key in main equipment according to objective management mode and from device identification It is realized in the case where disk to the registration from equipment, it is easy to operate.
In another embodiment of the application, in embodiment illustrated in fig. 4, when the type of button operation is Second Type, Main equipment 401 is specifically used for:
It will be deleted from register list from device identification, by the master control of main equipment mark, from device identification, delete command code Emitted as third signal.Wherein, delete command code, be used to indicate have from the slave equipment of device identification deletion stored Master control mark.
Be specifically used for from equipment 402: when receiving third signal, according to from device identification and delete command code delete from The stored master control mark of equipment.
Device identification is deleted from register list, this means that main equipment side, which is realized, deletes registration to from equipment.In order to Register the deletion completed between main equipment from equipment side, the master control of main equipment can be identified and is sent to from setting by main equipment It is standby, so as to delete stored master control mark from equipment, complete to delete registration process.
In another embodiment, in order to more accurately delete from device identification, main equipment is will be from device identification from note Before deleting in volume list, it can also judge to whether there is in register list from device identification, if it is present will be from equipment mark Knowledge is deleted from register list.
Due to being to send according to the form of broadcast when sending signal from equipment, main equipment can receive each from setting The signal of standby broadcast, wherein may include the slave equipment that do not register to main equipment.Note is first judged before device identification deleting It can be improved the accuracy for the treatment of process from device identification with the presence or absence of this in volume list.
The delete command code of the available preservation of main equipment and master control mark are ordered by master control mark, from device identification, deletion Code is enabled to be emitted as third signal.Sending third signal can be carried out by the way of broadcast.
It can receive third signal from equipment, and parse master control mark from third signal, ordered from device identification, deletion Enable code.When judging from equipment from device identification of the device identification for itself, it is believed that the third signal is to be sent to itself , and the master control of storage can be identified and be deleted according to the determination of delete command code, to release the registration with main equipment Relationship.
To sum up, the present embodiment can not have screen and key in main equipment according to objective management mode and from device identification It realizes in the case where disk and is registered to from the deletion of equipment, it is easy to operate.
In another embodiment of the application, in embodiment illustrated in fig. 4, when the type of button operation is third type, Main equipment 401 is specifically used for:
Determine the signal strength indication of received first signal;By signal strength indication, from device identification, querying command code Emitted as fourth signal.Wherein, querying command code is used to indicate strong according to signal with the slave equipment from device identification Angle value controls the indicator light from equipment.
It is specifically used for from equipment 402: when receiving fourth signal, according to from device identification, querying command code and signal The indicator light of intensity value control from the device.
When main equipment is received from the first signal that equipment is sent, the letter of the first signal can be determined using the relevant technologies Number intensity value.The signal strength indication is used to indicate signal strength or weakness of the first signal sent from equipment when reaching main equipment.
In the present embodiment, which can reflect the distance from equipment apart from main equipment and sets from equipment and master Have between standby unobstructed.When signal strength indication is larger, it is believed that relatively close apart from main equipment from equipment and set from equipment with leading It is unobstructed that is, appropriate from the installation site of equipment between standby;When signal strength indication is smaller, it is believed that from equipment away from Farther out from main equipment, or exist between equipment and main equipment and block, that is, is not suitable enough from the installation site of equipment.
In another embodiment, in order to which the signal strength indication more accurately using determination is adjusted from the installation position of equipment It sets, main equipment can also judge whether deposit in register list before the signal strength indication for determining received first signal This from device identification, if it is present determining the signal strength indication of received first signal.
When main equipment determines in register list in the presence of being somebody's turn to do from device identification, it is believed that should be corresponding from equipment from device identification It registers on the master, at this moment main equipment can manage this from equipment.When in register list there is no being somebody's turn to do from device identification, Think that this is not registered on the main equipment from device identification is corresponding from equipment, at this moment main equipment cannot manage this from setting It is standby.There is no that should first can register to this from equipment from when device identification in register list, then determining again should be from setting The signal strength indication for the signal that preparation is penetrated.
The querying command code of the available preservation of main equipment, using signal strength indication, from device identification, querying command code as Fourth signal is emitted.As another embodiment, main equipment can also obtain the master control mark of preservation, and master control is identified Also emitted as fourth signal.Sending fourth signal can be carried out in the form of broadcast.
Can receive from equipment to fourth signal, and parse from fourth signal signal strength indication, from device identification and Querying command code.When judging this from device identification of the device identification for itself from equipment, it is believed that the fourth signal is hair Send to itself, and can be according to from device identification, querying command code and signal strength indication control indicator light from the device.
From equipment when according to indicator light from the device is controlled from device identification, querying command code and signal strength indication, It can specifically be closed according to from device identification and querying command code according to preset signal strength indication is corresponding with signal light control mode System, determines the corresponding target lamp light control mode of above-mentioned signal strength indication, is controlled using the target lamp light control mode from equipment In indicator light.
Wherein, signal light control mode may include: according to the default mode one for lighting the bright indicator light of Frequency point, according to default Light the mode two that duration lights indicator light.The corresponding relationship of preset signal strength indication and signal light control mode can be with are as follows: place Signal strength indication in range [a, b] corresponds to above-mentioned mode one, and the signal strength indication being in range [c, d] corresponds to above-mentioned mould Formula two;Alternatively, the signal strength indication being in range [a, b] corresponds to above-mentioned mode two, the signal strength being in range [c, d] The corresponding above-mentioned mode one of value.Wherein, a <b < c < d.
Signal light control mode also may include: that the mode of the bright indicator light of Frequency point is lighted according to difference.Preset signal is strong The corresponding relationship of angle value and signal light control mode can be with are as follows: and the signal strength indication being in range [a, b] corresponds to ignition frequency one, The signal strength indication being in range [c, d] corresponds to ignition frequency two;Alternatively, being in the signal strength indication pair in range [a, b] Ignition frequency two is answered, the signal strength indication being in range [c, d] corresponds to ignition frequency one.Wherein, ignition frequency one is less than point Bright frequency two, a <b < c < d.
Signal light control mode also may include: to light the mode that color lights indicator light according to difference.For example, being in range The corresponding mode that indicator light is lighted according to green of signal strength indication in [c, d], the signal strength indication pair being in range [a, b] The mode of indicator light should be lighted according to red, wherein a <b < c < d.
Since main equipment does not have the devices such as screen, keyboard, indicator light, the signal strength from equipment can not be shown, therefore, Main equipment shows signal strength indication by indicator light from the device, and such user can be according to from the instruction in equipment Whether lamp is suitable from the installation site of equipment to determine.When the installation site from equipment is improper, the installation from equipment is adjusted Position, until the installation site from equipment is suitable.
To sum up, the present embodiment can not have screen and key in main equipment according to objective management mode and from device identification Inquiry to the signal strength from equipment is realized in the case where disk etc., and then is able to use family and is learnt from the installation site of equipment and be It is no suitable.
System shown in Figure 4 embodiment with embodiment of the method shown in 1 be it is mutual corresponding, related place can be cross-referenced.
Fig. 5 is a kind of structural schematic diagram of electronic equipment provided by the embodiments of the present application.The electronic equipment includes processor 501, communication interface 502, memory 503 and communication bus 504, wherein processor 501, communication interface 502, memory 503 are logical It crosses communication bus 504 and completes mutual communication;
Memory 503, for storing computer program;
Processor 501 when for executing the program stored on memory 503, realizes provided by the embodiments of the present application set Standby management method.This method comprises:
Button operation is obtained, and determines the type of the button operation;
According to the corresponding relationship of the type of preset button operation and management mode, determine that the type of the button operation is corresponding Objective management mode;
Receive the first signal from device identification from the carrying that equipment emits from equipment;
According to objective management mode and from device identification, manage from equipment.
The communication bus that above-mentioned electronic equipment is mentioned can be Peripheral Component Interconnect standard (Peripheral Component Interconnect, PCI) bus or expanding the industrial standard structure (Extended Industry Standard Architecture, EISA) bus etc..The communication bus can be divided into address bus, data/address bus, control bus etc..For just It is only indicated with a thick line in expression, figure, it is not intended that an only bus or a type of bus.
Communication interface is for the communication between above-mentioned electronic equipment and other equipment.
Memory may include random access memory (Random Access Memory, RAM), also may include non-easy The property lost memory (Non-Volatile Memory, NVM), for example, at least a magnetic disk storage.Optionally, memory may be used also To be storage device that at least one is located remotely from aforementioned processor.
Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital Signal Processing, DSP), it is specific integrated circuit (Application Specific Integrated Circuit, ASIC), existing It is field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, discrete Door or transistor logic, discrete hardware components.
As shown in the above, the available button operation of the present embodiment, and determine the type of button operation, according to default Button operation and management mode corresponding relationship, determine the corresponding objective management mode of the type of button operation.The present embodiment Middle main equipment can only have very small amount of key or even a key, pass through different types of button operation, including length It presses, the types such as short-press, main equipment can be made to enter different management modes, realize and manage from the difference of equipment.Therefore, this reality Applying example can realize main equipment to the different management modes from equipment in the case where no screen, on-keyboard.
The embodiment of the present application also provides a kind of computer readable storage mediums.Storage in the computer readable storage medium There is computer program, the computer program realizes device management method provided by the embodiments of the present application when being executed by processor. This method comprises:
Button operation is obtained, and determines the type of the button operation;
According to the corresponding relationship of the type of preset button operation and management mode, determine that the type of the button operation is corresponding Objective management mode;
Receive the first signal from device identification from the carrying that equipment emits from equipment;
According to objective management mode and from device identification, manage from equipment.
As shown in the above, the available button operation of the present embodiment, and determine the type of button operation, according to default Button operation and management mode corresponding relationship, determine the corresponding objective management mode of the type of button operation.The present embodiment Middle main equipment can only have very small amount of key or even a key, pass through different types of button operation, including length It presses, the types such as short-press, main equipment can be made to enter different management modes, realize and manage from the difference of equipment.Therefore, this reality Applying example can realize main equipment to the different management modes from equipment in the case where no screen, on-keyboard.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or any other variant be intended to it is non- It is exclusive to include, so that the process, method, article or equipment for including a series of elements not only includes those elements, It but also including other elements that are not explicitly listed, or further include solid by this process, method, article or equipment Some elements.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including There is also other identical elements in the process, method, article or equipment of the element.
Each embodiment in this specification is all made of relevant mode and describes, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for system reality For applying example, since it is substantially similar to the method embodiment, so describing fairly simple, related place is referring to embodiment of the method Part explanation.
The foregoing is merely the preferred embodiments of the application, are not intended to limit the protection scope of the application.It is all Any modification, equivalent substitution, improvement and etc. done within spirit herein and principle are all contained in the protection scope of the application It is interior.

Claims (25)

1. a kind of device management method, which is characterized in that be applied to main equipment, which comprises
Button operation is obtained, and determines the type of the button operation;
According to the corresponding relationship of the type of preset button operation and management mode, determine that the type of the button operation is corresponding Objective management mode;
Receive the first signal from device identification described in the carrying emitted from equipment from equipment;
According to the objective management mode and described from device identification, management is described from equipment.
2. the method according to claim 1, wherein when the type of the button operation be the first kind when, institute State according to the objective management mode and described from device identification, management it is described from equipment the step of, comprising:
It is added to described in register list from device identification, the register list is registered on the main equipment for storing Slave equipment device identification;
Using the master control of main equipment mark, it is described emit from device identification, log-in command code as second signal so that It is described to store the master control mark from device identification and log-in command code according to described when receiving the second signal from equipment Know;The log-in command code is used to indicate described in having and stores the master control mark from the slave equipment of device identification.
3. according to the method described in claim 2, it is characterized in that, also carrying master control mark in first signal;By institute It states before being added in register list from device identification, further includes:
Judge that the master control carried in first signal identifies whether as indicating described from the unregistered designated identification of equipment, If it is, executing the step being added to described from device identification in register list.
4. the method according to claim 1, wherein when the type of the button operation be Second Type when, institute State according to the objective management mode and described from device identification, management it is described from equipment the step of, comprising:
It is deleted described from register list from device identification, the register list is registered on the main equipment for storing Slave equipment device identification;
Using the master control of main equipment mark, it is described emit from device identification, delete command code as third signal so that It is described from equipment when receiving the third signal, according to it is described delete from device identification and delete command code it is described from equipment The stored master control mark;The delete command code is used to indicate described in having and deletes from the slave equipment of device identification The master control mark of storage.
5. according to the method described in claim 4, it is characterized in that, deleting it from register list from device identification for described Before, further includes:
Judge in the register list with the presence or absence of described from device identification, it will be described from equipment if it is present execution is described The step of mark is deleted from register list.
6. the method according to claim 1, wherein when the type of the button operation be third type when, institute State according to the objective management mode and described from device identification, management it is described from equipment the step of, comprising:
Determine the signal strength indication of received first signal;
Using the signal strength indication, it is described emit from device identification, querying command code as fourth signal so that it is described from Equipment when receiving the fourth signal, according to it is described from device identification, querying command code and signal strength indication control described in Indicator light from the device;The querying command code is used to indicate with the slave equipment from device identification according to the letter Number intensity value control indicator light from equipment.
7. according to the method described in claim 6, it is characterized in that, in the signal strength indication for determining received first signal Before, further includes:
Judge in register list with the presence or absence of described from device identification, if it is present executing the determination received described the The step of signal strength indication of one signal;The register list is for storing setting for the slave equipment registered on the main equipment Standby mark.
8. described in any item methods according to claim 1~7, which is characterized in that first signal are as follows: described to exist from equipment The lower signal emitted of triggering.
9. described in any item methods according to claim 1~7, which is characterized in that the type of the button operation is with lower class One of type: single-click operation type, double click operation type, three double hit action types, long press operation type.
10. a kind of equipment management device, which is characterized in that be applied to main equipment, described device includes:
Determination type module for obtaining button operation, and determines the type of the button operation;
Mode decision module, for pressing described according to the type of preset button operation and the corresponding relationship of management mode, determining The corresponding objective management mode of the type of key operation;
Signal receiving module, for receiving the first signal from device identification described in the carrying emitted from equipment from equipment;
Device management module, for according to the objective management mode and described from device identification, management to be described from equipment.
11. device according to claim 10, which is characterized in that when the type of the button operation is the first kind, The device management module, is specifically used for:
It is added to described in register list from device identification, the register list is registered on the main equipment for storing Slave equipment device identification;
Using the master control of main equipment mark, it is described emit from device identification, log-in command code as second signal so that It is described to store the master control mark from device identification and log-in command code according to described when receiving the second signal from equipment Know;The log-in command code is used to indicate described in having and stores the master control mark from the slave equipment of device identification.
12. device according to claim 10, which is characterized in that when the type of the button operation is Second Type, The device management module, is specifically used for:
It is deleted described from register list from device identification, the register list is registered on the main equipment for storing Slave equipment device identification;
Using the master control of main equipment mark, it is described emit from device identification, delete command code as third signal so that It is described from equipment when receiving the third signal, according to it is described delete from device identification and delete command code it is described from equipment The stored master control mark;The delete command code is used to indicate described in having and deletes from the slave equipment of device identification The master control mark of storage.
13. device according to claim 10, which is characterized in that the device management module is specifically used for:
When the type of the button operation is third type, the signal strength indication of received first signal is determined;
Using the signal strength indication, it is described emit from device identification, querying command code as fourth signal so that it is described from Equipment when receiving the fourth signal according to it is described from the control of device identification, querying command code and signal strength indication it is described from Indicator light in equipment;The querying command code is used to indicate with the slave equipment from device identification according to the signal The intensity value control indicator light from equipment.
14. a kind of equipment management system characterized by comprising main equipment and from equipment;
The main equipment for obtaining button operation, and determines the type of the button operation;According to preset button operation The corresponding relationship of type and management mode determines the corresponding objective management mode of the type of the button operation;Receive it is described from First signal of the carrying of equipment transmitting from device identification;According to the objective management mode and described from device identification, management It is described from equipment;
It is described from equipment, carry first signal from device identification from equipment for emitting, and respond the main equipment Management.
15. system according to claim 14, which is characterized in that the main equipment is specifically used for:
When the type of the button operation is the first kind, it is added to described in register list from device identification, it will be described The master control mark of main equipment described is emitted from device identification, log-in command code as second signal;The register list is used In the device identification for the slave equipment that storage has been registered on the main equipment, the log-in command code is used to indicate described in having The master control mark is stored from the slave equipment of device identification;
It is described from equipment, be specifically used for:
The master control mark is stored from device identification and log-in command code according to described when receiving the second signal.
16. system according to claim 15, which is characterized in that also carry master control mark in first signal;It is described Main equipment is also used to:
By it is described be added in register list from device identification before, judge the master control carried in first signal mark be No is for indicating described from the unregistered designated identification of equipment, if it is, being added to registration column from device identification for described In table.
17. system according to claim 14, which is characterized in that the main equipment is specifically used for:
When the type of the button operation is Second Type, deleted described from register list from device identification, it will be described The master control mark of main equipment described is emitted from device identification, delete command code as third signal;The register list is used In the device identification for the slave equipment that storage has been registered on the main equipment, the delete command code is used to indicate described in having The stored master control mark is deleted from the slave equipment of device identification;
It is described from equipment, be specifically used for:
When receiving the third signal, stored from described in device identification and the deletion of delete command code from equipment according to described The master control mark.
18. system according to claim 17, which is characterized in that the main equipment is also used to:
Will it is described from device identification before being deleted in register list, judge in the register list with the presence or absence of described from setting Standby mark, if it is present being deleted described from register list from device identification.
19. system according to claim 14, which is characterized in that the main equipment is specifically used for:
When the type of the button operation is third type, the signal strength indication of received first signal is determined;By institute It states signal strength indication, described emitted from device identification, querying command code as fourth signal;The querying command code is used Have the slave equipment from device identification according to the signal strength indication control indicator light from equipment in instruction;
It is described from equipment, be specifically used for:
When receiving the fourth signal, according to it is described from device identification, querying command code and signal strength indication control described in Indicator light from the device.
20. system according to claim 19, which is characterized in that the main equipment is also used to:
Before the signal strength indication for determining received first signal, judge in register list with the presence or absence of described from equipment Mark, if it is present determining the signal strength indication of received first signal;The register list exists for storing The device identification for the slave equipment registered on the main equipment.
21. system according to claim 19, which is characterized in that it is described from equipment, it is specifically used for:
According to described from device identification and querying command code, closed according to preset signal strength indication is corresponding with signal light control mode System, determines the corresponding target lamp light control mode of the signal strength indication, using described in target lamp light control mode control Indicator light from the device.
22. 4~21 described in any item systems according to claim 1, which is characterized in that first signal are as follows: described from setting The standby signal sent under triggering.
23. 4~21 described in any item systems according to claim 1, which is characterized in that the type of the button operation is following One of type: single-click operation type, double click operation type, three double hit action types, long press operation type.
24. a kind of electronic equipment, which is characterized in that including processor, communication interface, memory and communication bus, wherein processing Device, communication interface, memory complete mutual communication by communication bus;
Memory, for storing computer program;
Processor when for executing the program stored on memory, realizes any method and step of claim 1-9.
25. a kind of computer readable storage medium, which is characterized in that be stored with computer in the computer readable storage medium Program realizes claim 1-9 any method and step when the computer program is executed by processor.
CN201810164402.3A 2018-02-27 2018-02-27 Equipment management method, device and system Active CN110196671B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810164402.3A CN110196671B (en) 2018-02-27 2018-02-27 Equipment management method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810164402.3A CN110196671B (en) 2018-02-27 2018-02-27 Equipment management method, device and system

Publications (2)

Publication Number Publication Date
CN110196671A true CN110196671A (en) 2019-09-03
CN110196671B CN110196671B (en) 2021-05-25

Family

ID=67750969

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810164402.3A Active CN110196671B (en) 2018-02-27 2018-02-27 Equipment management method, device and system

Country Status (1)

Country Link
CN (1) CN110196671B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113645714A (en) * 2021-05-11 2021-11-12 建信金融科技有限责任公司 Equipment connection method, device, system, equipment and storage medium
CN115079744A (en) * 2022-06-14 2022-09-20 顾家家居股份有限公司 Temperature control method and system of intelligent household equipment and storage medium
CN113645714B (en) * 2021-05-11 2024-04-26 中国建设银行股份有限公司 Device connection method, device, system, device and storage medium

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009098746A (en) * 2007-10-12 2009-05-07 Sharp Corp Wireless telemeter system and connection terminal selection method
CN101662868A (en) * 2009-09-24 2010-03-03 北京诺和远东科技有限公司 Wireless intelligent light control system
CN102298560A (en) * 2010-06-25 2011-12-28 株式会社理光 Equipment managing apparatus, equipment managing method, and equipment managing system
CN103065406A (en) * 2012-12-28 2013-04-24 洪小莹 Wireless method and device of exhibit management
CN103152488A (en) * 2013-03-25 2013-06-12 成都西可科技有限公司 Method for realizing voice communication of feature phone by one key
CN103309834A (en) * 2012-03-15 2013-09-18 中兴通讯股份有限公司 Control method, control device and electronic device
CN104424036A (en) * 2013-08-28 2015-03-18 中兴通讯股份有限公司 Synchronous operation method and device of smart terminal
CN104683195A (en) * 2015-02-28 2015-06-03 大连鼎创科技开发有限公司 Configuration method of equipment to be configured in intelligent household system
CN104793499A (en) * 2014-01-21 2015-07-22 上海科斗电子科技有限公司 Intelligent interactive system and software system thereof
CN105022362A (en) * 2014-04-29 2015-11-04 深圳市君鹏物联科技有限公司 Coordinated control system and coordinated control method of smart home equipment
CN105182774A (en) * 2015-09-15 2015-12-23 烽火通信科技股份有限公司 G.hn-based intelligent home gateway control system and method
CN105487423A (en) * 2014-09-15 2016-04-13 阿尔卡特朗讯 Method, device and system for operating application in mobile equipment
CN106227053A (en) * 2016-08-31 2016-12-14 上海斐讯数据通信技术有限公司 A kind of intelligent domestic system based on mobile terminal
CN106933111A (en) * 2017-02-28 2017-07-07 北京小米移动软件有限公司 A kind of method and device of control device
CN107155123A (en) * 2017-06-14 2017-09-12 深圳Tcl新技术有限公司 Matching method, television set and the readable storage medium storing program for executing of bluetooth equipment and television set

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009098746A (en) * 2007-10-12 2009-05-07 Sharp Corp Wireless telemeter system and connection terminal selection method
CN101662868A (en) * 2009-09-24 2010-03-03 北京诺和远东科技有限公司 Wireless intelligent light control system
CN102298560A (en) * 2010-06-25 2011-12-28 株式会社理光 Equipment managing apparatus, equipment managing method, and equipment managing system
CN103309834A (en) * 2012-03-15 2013-09-18 中兴通讯股份有限公司 Control method, control device and electronic device
CN103065406A (en) * 2012-12-28 2013-04-24 洪小莹 Wireless method and device of exhibit management
CN103152488A (en) * 2013-03-25 2013-06-12 成都西可科技有限公司 Method for realizing voice communication of feature phone by one key
CN104424036A (en) * 2013-08-28 2015-03-18 中兴通讯股份有限公司 Synchronous operation method and device of smart terminal
CN104793499A (en) * 2014-01-21 2015-07-22 上海科斗电子科技有限公司 Intelligent interactive system and software system thereof
CN105022362A (en) * 2014-04-29 2015-11-04 深圳市君鹏物联科技有限公司 Coordinated control system and coordinated control method of smart home equipment
CN105487423A (en) * 2014-09-15 2016-04-13 阿尔卡特朗讯 Method, device and system for operating application in mobile equipment
CN104683195A (en) * 2015-02-28 2015-06-03 大连鼎创科技开发有限公司 Configuration method of equipment to be configured in intelligent household system
CN105182774A (en) * 2015-09-15 2015-12-23 烽火通信科技股份有限公司 G.hn-based intelligent home gateway control system and method
CN106227053A (en) * 2016-08-31 2016-12-14 上海斐讯数据通信技术有限公司 A kind of intelligent domestic system based on mobile terminal
CN106933111A (en) * 2017-02-28 2017-07-07 北京小米移动软件有限公司 A kind of method and device of control device
CN107155123A (en) * 2017-06-14 2017-09-12 深圳Tcl新技术有限公司 Matching method, television set and the readable storage medium storing program for executing of bluetooth equipment and television set

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
RACHELCRC: "linux主设备号和从设备号", 《HTTPS://BLOG.CSDN.NET/HELLOWORLDSISI/ARTICLE/DETAILS/39401345》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113645714A (en) * 2021-05-11 2021-11-12 建信金融科技有限责任公司 Equipment connection method, device, system, equipment and storage medium
CN113645714B (en) * 2021-05-11 2024-04-26 中国建设银行股份有限公司 Device connection method, device, system, device and storage medium
CN115079744A (en) * 2022-06-14 2022-09-20 顾家家居股份有限公司 Temperature control method and system of intelligent household equipment and storage medium

Also Published As

Publication number Publication date
CN110196671B (en) 2021-05-25

Similar Documents

Publication Publication Date Title
US10290191B2 (en) Alarm arming with open entry point
KR102386024B1 (en) A User Terminal Device And Method For Recognizing User Location
US8929739B2 (en) Remote control apparatus
CN109413515B (en) Equipment control method and device, mobile terminal and server
CN107110965A (en) For method, digital tool, equipment and the system of the movement that object and/or biology are detected in the a-n radio range a-n of a-n radio range a-n, especially room area
CN107085380B (en) Intelligent household system user position judgment method and electronic equipment
CN106063376A (en) Proximity based lighting control
CN103081571B (en) Automatically configuring of a lighting
US9865157B2 (en) Device interface for alarm monitoring systems
KR20190085168A (en) Non-line-of-sight radar-based gesture recognition
CN105516321B (en) A kind of collecting method and device
CN110278135B (en) Equipment position searching method, device, gateway and storage medium
EP3146517A1 (en) Wide-area chamberless point smoke detector
CN107862853A (en) Infrared transmitter control method, terminal and computer-readable recording medium
CN106803844B (en) A kind of lamp light control method and mobile terminal
CN114019807A (en) Data processing method, device, system, equipment and readable storage medium
CN110196671A (en) A kind of device management method, apparatus and system
DE102017109935A1 (en) Method for operating a household appliance
CN108594928A (en) Remove recognizable magnetic rotation button
CN112716117A (en) Intelligent bracelet and control method thereof
CN107103746A (en) A kind of air conditioning control device and method
CN208000516U (en) Remove recognizable magnetic rotation button
CN106851008B (en) A kind of lamp light control method and mobile terminal
US20180172505A1 (en) Lens for pet rejecting passive infrared sensor
CN111934905B (en) Management method, client and system of network equipment in level protection

Legal Events

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