CN108289116A - A kind of control management method and apparatus of equipment room - Google Patents

A kind of control management method and apparatus of equipment room Download PDF

Info

Publication number
CN108289116A
CN108289116A CN201710820962.5A CN201710820962A CN108289116A CN 108289116 A CN108289116 A CN 108289116A CN 201710820962 A CN201710820962 A CN 201710820962A CN 108289116 A CN108289116 A CN 108289116A
Authority
CN
China
Prior art keywords
equipment
instruction
peer
commander
control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710820962.5A
Other languages
Chinese (zh)
Inventor
唐林杰
刘雍琪
张永朝
朱志信
陈健虞
侯刚
王素云
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Silver Peng Cloud Computing Co Ltd
Original Assignee
Shenzhen Silver Peng Cloud Computing 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 Shenzhen Silver Peng Cloud Computing Co Ltd filed Critical Shenzhen Silver Peng Cloud Computing Co Ltd
Priority to CN201710820962.5A priority Critical patent/CN108289116A/en
Publication of CN108289116A publication Critical patent/CN108289116A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • 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
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C23/00Non-electrical signal transmission systems, e.g. optical systems
    • G08C23/04Non-electrical signal transmission systems, e.g. optical systems using light waves, e.g. infrared
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks

Abstract

The present invention is suitable for technical field of electronic communication, provides a kind of control management method and device of equipment room, including:The solicited message that acquisition instruction equipment is sent out;Solicited message is that commander equipment is detected by the broadcast message for enabling equipment send out backward by the echo message for enabling equipment send out;According to solicited message, peer to peer connection is established with commander equipment;Receive the control instruction that commander equipment is sent out;Response control instructs, and executes the corresponding predetermined registration operation of control instruction.Ensure that equipment in the case where not needing Wi Fi access points, is kept in communication with other network equipments, cannot not reach exclusively communication hardware and Internet resources, promotes the working efficiency of communication module, realize the control and management of equipment.

Description

A kind of control management method and apparatus of equipment room
Technical field
The invention belongs to the controls of technical field of electronic communication more particularly to a kind of equipment room to manage method and apparatus.
Background technology
In currently used equipment wireless near field communication and control means, generally use infrared signal, Bluetooth signal or Electromagnetic signal etc. realizes the operation to the equipment within certain distance.Such as family is controlled by infrared signal using remote controler Electrical appliance unlocks control of bluetooth access etc. by Bluetooth signal.During this wireless near field communication is with control, commander equipment must The hardware device supported the short distance receptions such as infrared or bluetooth and send message must be installed, higher cost is needed.
Wi-Fi access points (Access Point, AP) technology is used to carry out short-distance wireless to equipment in the prior art logical Letter, but signal source or " hot spot " must be used as under the pattern by a Wi-Fi access point, between ability each equipment of unicom, or Communication network between person's equipment and internet significantly limits the communication function and working efficiency of equipment.
Invention content
In view of this, an embodiment of the present invention provides a kind of controls of equipment room to manage method and apparatus, it is existing to solve In technology during carrying out wireless communication certain equipment with controlling, communication module is monopolized, and can not access other networks, limit The problem of having made the function and working efficiency of equipment.
The first aspect of the embodiment of the present invention provides a kind of control management method of equipment room, including:
The solicited message that acquisition instruction equipment is sent out;The solicited message detects for described instruction equipment is enabled equipment send out The broadcast message gone out it is backward described by the response for enabling equipment send out, the solicited message includes the identity letter of described instruction equipment Breath;
According to the solicited message, peer to peer connection is established with described instruction equipment;
Receive the control instruction that described instruction equipment is sent out;
The control instruction is responded, the corresponding predetermined registration operation of the control instruction is executed.
The second aspect of the embodiment of the present invention provides a kind of control managing device of equipment room, including:
Signal acquiring unit, the solicited message sent out for acquisition instruction equipment;The solicited message is visited for commander equipment The backward described by the response for enabling equipment send out of the broadcast message is measured, the solicited message includes the body of described instruction equipment Part information, the solicited message are enabled equipment establish peer to peer connection for asking with described;
Target determination unit, for according to commander equipment and by enabling default correspondence between equipment, described instruction set Standby identity information determines whether described instruction equipment is the corresponding target instruction target word equipment of local terminal;
Connection establishment unit, if being the corresponding target instruction target word equipment of local terminal for described instruction equipment, using equity connection FidonetFido establishes peer to peer connection with the target instruction target word equipment, and carries out P2P communications with the target instruction target word equipment.
The third aspect of the embodiment of the present invention provides a kind of control managing device/terminal device of equipment room, including place Device, input equipment, output equipment and memory are managed, the processor, input equipment, output equipment and memory are connected with each other, Wherein, the memory is used to store the computer program for supporting that terminal executes the above method, and the computer program includes journey Sequence instructs, and the processor is configured for calling described program instruction, the method for executing above-mentioned first aspect.
The fourth aspect of the embodiment of the present invention provides a kind of computer readable storage medium, the computer storage media It is stored with computer program, the computer program includes program instruction, and described program instruction makes institute when being executed by a processor State the method that processor executes above-mentioned first aspect.
Existing advantageous effect is the embodiment of the present invention compared with prior art:Ensure that equipment is not needing Wi-Fi accesses It in the case of point, keeps in communication with other network equipments, cannot not reach exclusively communication hardware and Internet resources, promotes communication module Working efficiency, realize the control and management of equipment.
Description of the drawings
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description be only the present invention some Embodiment for those of ordinary skill in the art without having to pay creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is the flow chart of the control management method of equipment room provided in an embodiment of the present invention;
Fig. 2 is the flow chart of the control management method for the equipment room that another embodiment of the present invention provides;
Fig. 3 is the schematic diagram of the control managing device of equipment room provided in an embodiment of the present invention;
Fig. 4 is the schematic diagram of the control managing device for the equipment room that another embodiment of the present invention provides;
Fig. 5 is the schematic diagram of the control managing device for the equipment room that yet another embodiment of the invention provides.
Specific implementation mode
In being described below, for illustration and not for limitation, it is proposed that such as tool of particular system structure, technology etc Body details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific The present invention can also be realized in the other embodiments of details.In other situations, it omits to well-known system, device, electricity The detailed description of road and method, in case unnecessary details interferes description of the invention.
In order to illustrate technical solutions according to the invention, illustrated below by specific embodiment.
It is the flow chart of the control management method of equipment room provided in an embodiment of the present invention referring to Fig. 1, Fig. 1.The present embodiment The executive agent of the method for the peer-to-peer communications of middle equipment room be terminal, terminal be enabled equipment, enabled equipment can be with pair The equipment such as the equipment, such as mobile phone, television set of equal communication functions, are not limited herein.The equity of equipment room as shown in Figure 1 is logical The method of letter may comprise steps of:
S101:The solicited message that acquisition instruction equipment is sent out;The solicited message is that commander equipment detects the broadcast Information it is backward described by the echo message for enabling equipment send out.
Peer-to-peer network technology (Peer-to-Peer, P2P) relies on the computing capability and bandwidth of participant in network, rather than It is all gathered on several less servers relying on.The participant of network shares a part of hardware resource that they are possessed, Such as processing capacity, storage capacity, network-connectivity, printer etc., these shared resources pass through network offering services and interior Hold, can directly be accessed without being subjected to intermediate entities by other peer nodes.Participant in this network is both resource, service And it is that resource, service and content obtain taker with the supplier of content.
In P2P network environments, set all in the status of equity, each station terminal between the more station terminal equipment being connected to each other Identical function, no master-slave are had, a station terminal equipment can not only be used for server, and setting shared resource is for other in network Computer is used, and can be used as work station, and in general whole network does not depend on dedicated centralized servers, without special yet Work station.Each station terminal equipment in network can serve as the requestor of network service and asking for other computers It asks and responds, resource, service and content are provided.These usual resources and service include:The shared and exchange of information calculates money Source (such as CPU computing capabilitys are shared), storage shared (such as the use of caching and disk space), network share, sharing printer.
Even if in the environment of not traditional Wi-Fi network or Wi-Fi access points, remain able in such as smart mobile phone Point-to-point Wi-Fi connection is realized with equipment rooms such as digital cameras.Peer-to-peer network technology makes multiple Wi-Fi equipments not AP's In the case of can also constitute a P2P group and be in communication with each other.
Before setting up P2P groups, each terminal device is the equal of a P2P equipment, it is angle in P2P frameworks The entity of color.P2P transport protocols requirement P2P equipment must support the specification of 802.11g or more.Wherein, security is necessary Support WPA2.Since one main application scenarios of P2P technologies are exactly to share media data between equipment, so P2P equipment is also It must support radio multimedium (Wi-Fi Multimedia, WMM), it is a kind of QoS service from 802.11e, main needle Transmission to real-time video/audio.
It is enabled equipment send broadcast message, for making the commander equipment of surrounding search the information, and carries out peer-to-peer network Network connects.
Commander equipment emission detection signal sends detectable signal frame respectively in 1,6,11 frequency ranges of 2.4GHz.These Frequency range is referred to as social channel (Social Channels, SC).The request letter that node in order to distinguish the non-P2P groups is sent Frame is ceased, the identity information of the commander equipment must be included in the solicited message frame that commander equipment is sent out, which can be The model or coding of the commander equipment.
When commander equipment emits solicited message, by a frequency range in the 1 of 2.4GHz frequency ranges, 6,11 frequency ranges, send Signal, for being enabled equipment in active region of search.This frequency range is search frequency range, for searching for by enabling the broadcast of equipment believe Number frame.Some is being searched by after enabling the broadcast message of equipment, commander equipment replys solicited message.It is worth noting that returning The frequency range of multiple solicited message cannot be changed once chosen in the discovery phase of entire peer-to-peer network.In addition, in this rank Duan Zhong, should by enable equipment in this stage in will not handle the solicited message frame from other commander equipments, and only handle that The solicited message frame of a little identity informations for containing commander equipment, which includes the identity information of commander equipment, Solicited message is for asking and equipment being enabled to establish peer to peer connection
By enable equipment listen to some commander equipment transmitting solicited message after, obtain the detectable signal, only when When two equipment are in same frequency range, the frame that a side sends could be received by other side.Detectable signal establishes equity for asking Networking, which includes the identity information of commander equipment.With default corresponding between equipment with by enabling according to commander equipment Whether the identity information of relationship, commander equipment, determine instruction equipment are the corresponding target instruction target word equipment of local terminal.
S102:According to the solicited message, peer to peer connection is established with described instruction equipment.
If according to commander equipment and by the identity information for enabling default correspondence between equipment, commander equipment, determine Commander equipment is the corresponding target instruction target word equipment of local terminal, then Peer-To-Peer agreement is used to establish equity even with target instruction target word equipment It connects, and P2P communications is carried out with target instruction target word equipment.
Further, it if equipment is enabled to receive at least two solicited messages, according to default correspondence and presets Commander equipment priority, establish peer to peer connection with the higher commander equipment of priority.
Further, it is enabled equipment before establishing peer to peer connection with commander equipment, needs to first pass through Wi-Fi easy configurations (Wi-Fi Simple Configuration, WSC) negotiates security information.Illustratively, include WSC in detectable signal frame, And it is sent to commander equipment by detectable signal.When configuring peer to peer environment, need to be that terminal device is arranged first Service set (Service Set Identifier, SSID), security attribute (such as identity identifying method, encryption method). Next also needs to the user that the information such as SSID, security attribute are sent to the peer-to-peer network.And these security set informations pair It is more complicated for ordinary populace.But after having WSC, user only needs input code identification code (Personal Identification Number, PIN), as long as click WSC in button in addition user hold support near radio It is brushed by the mobile phone of mechanics of communication (Near Field Communication, NFC) to target terminal equipment, these safety are set Setting can be automatically configured.There are these information, peer-to-peer network can be established between terminal to carry out peer-to-peer communications, passes through this Kind mode can simplify configuration and use of the terminal device in interactive process in peer-to-peer network.
In this way, commander equipment and enabled equipment can be in the case of no AP, two equipment can be direct Establish peer to peer connection.So as to by the control instruction for enabling equipment be sent out by reception commander equipment and respond the control instruction, finally Execute the corresponding predetermined registration operation of control instruction.
S103:Receive the control instruction that described instruction equipment is sent out.
Before formally transmission video/audio, equipment and commander equipment is enabled to need to exchange some parameter informations, such as double The data format etc. that side is supported.After the two is negotiated successfully, subsequent flow could be continued.After the completion of previous step work, enabled Equipment and commander equipment establish a session channel.It can then start to transmit control instruction.The control at commander equipment end refers to It enables and passes through real-time transport protocol (Real-time Transport after being encoded via transport stream (Transport Stream, TS) Protocol, RTP) it is transmitted to and is enabled equipment.By the control instruction for enabling equipment receive decoding, and operated accordingly.
Illustratively, anti-channel is inputted by user and (User Input back channel setup, UIBCS) is set, This control instruction is transmitted between equipment and commander equipment by TCP being enabled, so as to which equipment process instruction equipment is enabled to initiate Some control operation.
Optionally, by enabling equipment and commander equipment that can be moved according to the battery condition of the power of wireless signal or even equipment State adjusts transmission data and format.Adjustable content includes compression ratio, video and audio format, the contents such as resolution ratio.
Further, after being enabled and establishing peer to peer connection by peer-to-peer network between equipment and commander equipment.According to right Etc. procotols, the two equipment will establish a TCP connection.A real time streaming transport protocol (Real Time is created simultaneously Streaming Protocol, RTSP) port, for subsequent data communications management and control work.When using RTSP, visitor Family machine and server can send out request, i.e. RTSP can be two-way.RTSP is the streaming protocol for controlling data, and Allow multiple crossfire demand controls simultaneously, the network communication used of when transmission is reached an agreement on not in the range of its definition, server End can voluntarily select to transmit streamed content using TCP or UDP.RTSP is not specifically addressed by time synchronization, so comparing energy Tolerant network postpones.
Further, in the present embodiment, by enable equipment can obtain in P2P groups the second commander equipment forwarding control The control instruction of system instruction, the forwarding of the second commander equipment is sent from the first commander equipment in P2P groups to the second commander equipment. In this case it is suitable for when the first commander equipment catastrophic failure, the first commander equipment and by enabling pair between equipment Equal connections disconnect, or by the control instruction for enabling equipment that can not complete the first commander equipment.By determining the in the P2P groups Two commander equipments, so that the second commander equipment forwards the control instruction of the first commander equipment, then by being enabled equipment execute the control Instruction.
Illustratively, in some P2P group, if the first commander equipment is controlled to after being enabled equipment transmission control instruction System instruction is no to be responded accordingly, or is not carried out the control content of the control instruction.Then reason for that may be This is broken down by the peer to peer connection between equipment and the first commander equipment is enabled, it is also possible to equipment should be enabled to have occurred and that event Barrier.In this case, the first commander equipment to the and commander equipment sends the control instruction, the second commander equipment forwards this to control System instruction is enabled equipment, then by being enabled equipment execute the control instruction.
In this way, it is ensured that the control instruction of commander equipment can reliably be sent to and be set by order in P2P groups It is standby, by the control instruction for enabling equipment that can completely, efficiently execute all instructions equipment in P2P groups, have reached control or management The purpose of commander equipment.
S104:The control instruction is responded, the corresponding predetermined registration operation of the control instruction is executed.
By after enabling equipment receive the control instruction that commander equipment is sent out, being enabled equipment response control instruct, execute The corresponding predetermined registration operation of control instruction.Wherein, control instruction can be commander equipment send out for controlling by enabling equipment be referred to It enables, control instruction can be that control is enabled device power-up, shutdown, initialization or executes a certain task.
Illustratively, when controlling television set by mobile phone, mobile phone is commander equipment, and television set is to be enabled equipment, mobile phone After establishing peer to peer connection success with television set, the control instruction of booting is sent to television set, television set receives the control After instruction, the action of booting is executed.Later, mobile phone can also send zapping to television set, tune up volume, display resolution be turned up The control instructions such as rate, television set, according to the particular content of these control instructions, execute corresponding operation after receiving.Pass through This mode makes to be enabled equipment and commander equipment after establishment of the network connection, by receiving the control instruction of commander equipment, and Progress executes operation accordingly, to achieve the purpose that control or management are enabled equipment.
Further, equipment is enabled to return to the corresponding execution result information of control instruction to commander equipment.Implementing result is believed Breath includes the execution result information by the status information and control instruction that enable equipment current.By being directed to commander equipment feedback The executive condition of Mr. Yu control instruction enables commander equipment to obtain in real time and is referred to by the state for enabling equipment current and the control The executive condition of order, executive condition can be run succeeded or fail, if executing failure, execution information may include being enabled The control instruction is gone to which step stops by equipment, or is enabled equipment either with or without receiving the control instruction.By real-time It obtains by executive condition of the equipment to the control instruction is enabled, so that commander equipment can be directed to is carried out pipe by the situation for enabling equipment current Reason or control, especially in peer to peer connection or under by the pretty condition for enabling equipment break down, commander equipment can accurately more obtain To fault message, and the fault message can be based on and targetedly investigate or repair, reach the management and control to equipment Purpose.
Above as can be seen that the control management method the present embodiment provides a kind of equipment room is sent out by acquisition instruction equipment Solicited message, which is that commander equipment detects and enabled equipment send out backward by the broadcast message for enabling equipment send out Echo message receive the control that the commander equipment is sent out after being enabled equipment and the commander equipment establish peer to peer connection and refer to It enables, and response control instructs, executes the corresponding predetermined registration operation of control instruction.Ensure equipment in the feelings for not needing Wi-Fi access points It under condition, keeps in communication with other network equipments, cannot not reach exclusively communication hardware and Internet resources, promotes the work of communication module Efficiency.
It is the flow chart of the control management method for the equipment room that another embodiment of the present invention provides referring to Fig. 2, Fig. 2.Fig. 2 with It is in place of the difference of Fig. 1, step S204-S205 is also added after the step S103 of Fig. 2 in Fig. 1.It is set in the present embodiment The executive agent of the method for peer-to-peer communications between standby is terminal, and terminal is to be enabled equipment, and it can be logical with equity to be enabled equipment The equipment such as the equipment of telecommunication function, such as mobile phone, television set, are not limited herein.The peer-to-peer communications of equipment room as shown in Figure 2 Method may comprise steps of:
S201:The solicited message that acquisition instruction equipment is sent out;The solicited message is that commander equipment detects the broadcast Information it is backward described by the echo message for enabling equipment send out.
Step S201 in the present embodiment is identical as the step S101 in a upper embodiment, referring specifically to a upper embodiment In step S101 associated description, do not repeat herein.
S202:According to the solicited message, peer to peer connection is established with described instruction equipment.
By enable equipment according to commander equipment and by the identity information for enabling default correspondence between equipment, commander equipment, Whether determine instruction equipment is the corresponding target instruction target word equipment of local terminal.
Further, if equipment is enabled to search at least two probe signals, according to default correspondence and instruction The identity information of equipment determines whether each commander equipment is the corresponding target instruction target word equipment of local terminal.If have in these equipment to Few corresponding commander equipment of two probe signals is all target instruction target word equipment, then is set with the instruction for sending out at least two probe signals Standby peer to peer connection, to establish P2P groups.
S2021:If described instruction equipment be the corresponding target instruction target word equipment of local terminal, using Peer-To-Peer agreement with it is described Target instruction target word equipment establishes peer to peer connection, and carries out P2P communications with the target instruction target word equipment.
After being enabled equipment find and determine instruction equipment is corresponding target instruction target word equipment, using Peer-To-Peer agreement Peer to peer connection is established with target instruction target word equipment, and P2P communications are carried out with target instruction target word equipment.
In this way, make that there is the terminal device of Wi-Fi P2P functions can search neighbouring support Wi-Fi P2P Equipment.To enable multiple P2P equipment to find mutually and build a P2P group, more comprehensively, in real time to being set by order It is standby to be controlled or managed.
S2022:According to commander equipment and by enabling the identity of default correspondence between equipment, described instruction equipment believe Breath, determines whether described instruction equipment is the corresponding target instruction target word equipment of local terminal.
In the present embodiment, commander equipment and to be enabled in equipment all including networking plug-in unit, networking plug-in unit includes that matching arranges Table, list of matches include:Commander equipment and by the identity information for enabling correspondence between equipment, commander equipment.
Wherein, commander equipment and included the matching relationship between two class equipment by the correspondence between equipment is enabled, for example, Some is by enable that equipment can connect one the either device identification of at least two commander equipments or device type, for another example, certain The distance, bandwidth or frequency range of the either commander equipment of at least two commander equipments of a head's equipment can connect one are wanted It asks.
Wherein, the identity information of commander equipment includes the system type of the commander equipment, type of hardware, networking plug-in version Or the information such as identification code of commander equipment.
By enable equipment according to commander equipment and by the identity information for enabling default correspondence between equipment, commander equipment, Whether it is the corresponding target instruction target word equipment of local terminal with determine instruction equipment.
S203:Receive the control instruction that described instruction equipment is sent out.
Before formally transmission video/audio, equipment and commander equipment is enabled to need to exchange some parameter informations, such as double The data format etc. that side is supported.After the two is negotiated successfully, subsequent flow could be continued.After the completion of previous step work, enabled Equipment and commander equipment establish a session channel.It can then start to transmit control instruction.The control at commander equipment end refers to It enables and passes through real-time transport protocol (Real-time Transport after being encoded via transport stream (Transport Stream, TS) Protocol, RTP) it is transmitted to and is enabled equipment.By the control instruction for enabling equipment receive decoding, and operated accordingly.
Illustratively, anti-channel is inputted by user and (User Input back channel setup, UIBCS) is set, This control instruction is transmitted between equipment and commander equipment by TCP being enabled, so as to which equipment process instruction equipment is enabled to initiate Some control operation.
Optionally, by enabling equipment and commander equipment that can be moved according to the battery condition of the power of wireless signal or even equipment State adjusts transmission data and format.Adjustable content includes compression ratio, video and audio format, the contents such as resolution ratio.
S204:The control instruction is responded, the corresponding predetermined registration operation of the control instruction is executed.
By after enabling equipment receive the control instruction that commander equipment is sent out, being enabled equipment response control instruct, execute The corresponding predetermined registration operation of control instruction.Wherein, control instruction can be commander equipment send out for controlling by enabling equipment be referred to It enables, control instruction can be that control is enabled device power-up, shutdown, initialization or executes a certain task.
Further, it receives the control instruction that commander equipment is sent out and responds the control instruction, secondly execute control instruction The mode of corresponding predetermined registration operation can be realized by half-duplex WI-FI modules or full duplex WI-FI modules.
Above as can be seen that the control management method the present embodiment provides a kind of equipment room is sent out by acquisition instruction equipment Solicited message;Solicited message is that commander equipment is detected by the broadcast message for enabling equipment send out backward by enabling equipment send out Echo message, solicited message include the identity information of commander equipment;It is default corresponding between equipment with by enabling according to commander equipment Whether the identity information of relationship, commander equipment, determine instruction equipment are the corresponding target instruction target word equipment of local terminal;If commander equipment is The corresponding target instruction target word equipment of local terminal then uses Peer-To-Peer agreement to establish peer to peer connection, and and target with target instruction target word equipment Commander equipment carries out P2P communications.Receive the control instruction that commander equipment is sent out;Response control instructs, and executes control instruction and corresponds to Predetermined registration operation.Ensure that equipment in the case where not needing Wi-Fi access points, is kept in communication with other network equipments, to reach Not exclusive communication hardware and Internet resources, promote the working efficiency of communication module, realize the control and management of equipment.
It is a kind of structure chart of the control managing device of equipment room provided in an embodiment of the present invention referring to Fig. 3, Fig. 3.This reality The control managing device for applying the equipment room in example is terminal, and terminal is to be enabled equipment, and it can be with peer-to-peer communications to be enabled equipment The equipment such as the equipment of function, such as mobile phone, television set, are not limited herein..The each unit that terminal device 300 includes is for holding Each step in the corresponding embodiments of row Fig. 1, referring specifically to the associated description in the corresponding embodiments of Fig. 1 and Fig. 1, herein not It repeats.The control managing device 400 of the equipment room of the present embodiment includes signal acquiring unit 301, connection establishment unit 302, refers to Enable receiving unit 303 and instruction execution unit 304.
Signal acquiring unit 301 is used for the solicited message that acquisition instruction equipment is sent out;The solicited message is commander equipment The backward described by the echo message for enabling equipment send out of the broadcast message is detected, the solicited message includes that described instruction is set Standby identity information, the solicited message are enabled equipment establish peer to peer connection for asking with described;
Connection establishment unit 302 is used to, according to the solicited message, peer to peer connection is established with described instruction equipment;
Instruction reception unit 303 is for receiving the control instruction that described instruction equipment is sent out;
Instruction execution unit 304 executes the corresponding predetermined registration operation of the control instruction for responding the control instruction.
Above as can be seen that the present embodiment provides a kind of control management methods of equipment room by passing through acquisition instruction equipment The solicited message sent out, the solicited message detect for commander equipment and are enabled equipment backward by the broadcast message for enabling equipment send out The echo message sent out receives the control that the commander equipment is sent out after being enabled equipment establish peer to peer connection with the commander equipment System instruction, and response control instructs, and executes the corresponding predetermined registration operation of control instruction.Ensure that equipment is not needing Wi-Fi access points In the case of, it keeps in communication with other network equipments, cannot not reach exclusively communication hardware and Internet resources, promotes communication module Working efficiency.Ensure that equipment in the case where not needing Wi-Fi access points, is kept in communication with other network equipments, to reach not Exclusive communication hardware and Internet resources, promote the working efficiency of communication module.
Referring to Fig. 4, Fig. 4 be another embodiment of the present invention provide a kind of equipment room peer communications devices between control pipe Manage the structure chart of device.The control managing device of equipment room in the present embodiment is terminal, and terminal is to be enabled equipment, is enabled equipment It can be the equipment such as the equipment with peer-to-peer communications function, such as mobile phone, television set, not be limited herein.Terminal device 400 wraps The each unit included is used to execute each step in the corresponding embodiments of Fig. 2, referring specifically in the corresponding embodiments of Fig. 1 and Fig. 1 Associated description, do not repeat herein.The control managing device 400 of the equipment room of the present embodiment includes signal acquiring unit 401, mesh Mark determination unit 402, peer to peer connection unit 403, instruction reception unit 404 and instruction execution unit 405.
Signal acquiring unit 401 is used for the solicited message that acquisition instruction equipment is sent out;The solicited message is commander equipment The backward described by the echo message for enabling equipment send out of the broadcast message is detected, the solicited message includes that described instruction is set Standby identity information, the solicited message are enabled equipment establish peer to peer connection for asking with described.
Target determination unit 402 is used for according to commander equipment and by enabling default correspondence between equipment, described instruction The identity information of equipment determines whether described instruction equipment is the corresponding target instruction target word equipment of local terminal.
If connection establishment unit 403 is the corresponding target instruction target word equipment of local terminal for described instruction equipment, using equity Networking protocol establishes peer to peer connection with the target instruction target word equipment, and carries out P2P communications with the target instruction target word equipment.
Instruction reception unit 404 is for receiving the control instruction that described instruction equipment is sent out.
Instruction response unit 405 executes the corresponding predetermined registration operation of the control instruction for responding the control instruction.
Optionally, by receiving the control instruction that sends out of commander equipment simultaneously between instruction reception unit and instruction response unit The control instruction is responded, the mode of the corresponding predetermined registration operation of the control instruction is secondly executed, half-duplex WI-FI moulds can be passed through Block or full duplex WI-FI modules are realized.
Above as can be seen that the present embodiment provides a kind of control management methods of equipment room by being enabled terminal acquisition instruction The solicited message that equipment is sent out;According to commander equipment and by the body for enabling default correspondence between equipment, described instruction equipment Part information, determines whether described instruction equipment is the corresponding target instruction target word equipment of local terminal;If described instruction equipment corresponds to for local terminal Target instruction target word equipment, then use Peer-To-Peer agreement and the target instruction target word equipment to establish peer to peer connection, and with the target Commander equipment carries out P2P communications.Receive the control instruction that commander equipment is sent out;Response control instructs, and executes control instruction and corresponds to Predetermined registration operation.Ensure that equipment in the case where not needing Wi-Fi access points, is kept in communication with other network equipments, to reach Not exclusive communication hardware and Internet resources, promote the working efficiency of communication module, realize the control and management of equipment.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit It is fixed.
It is a kind of schematic diagram of the control managing device for equipment room that yet another embodiment of the invention provides referring to Fig. 5, Fig. 5. The control managing device 500 of equipment room in the present embodiment as shown in Figure 5 may include:Processor 501, memory 502 with And it is stored in the computer program 503 that can be run in memory 502 and on processor 501, such as establish the journey of peer to peer connection Sequence.Processor 501 realizes the step in the control management embodiment of the method for above-mentioned each equipment room when executing computer program 503 Suddenly.Such as S101 shown in FIG. 1 to S104.Alternatively, processor 501 realizes that above-mentioned each device is real when executing computer program 503 Apply the function of each unit in example, such as the unit 301 to 304 described in Fig. 3.
Illustratively, computer program 503 can be divided into one or more units, one or more of units It is stored in the memory 502, and is executed by the processor 501, to complete the present invention.One or more of units Can be the series of computation machine program instruction section that can complete specific function, the instruction segment is for describing the computer program 503 implementation procedure in the peer-to-peer communications 500 of equipment room.For example, the computer program 503 can be divided into:Signal Acquiring unit, target determination unit, connection establishment unit, instruction reception unit and instruction response unit, the specific work(of each unit It can be as follows:
Signal acquiring unit is used for the solicited message that acquisition instruction equipment is sent out;The solicited message detects for commander equipment To the backward described by the echo message for enabling equipment send out of the broadcast message, the solicited message includes described instruction equipment Identity information, the solicited message are enabled equipment establish peer to peer connection for asking with described.
Target determination unit is used for according to commander equipment and by enabling default correspondence between equipment, described instruction equipment Identity information, determine whether described instruction equipment is the corresponding target instruction target word equipment of local terminal.
If connection establishment unit is the corresponding target instruction target word equipment of local terminal for described instruction equipment, Peer-To-Peer is used Agreement establishes peer to peer connection with the target instruction target word equipment, and carries out P2P communications with the target instruction target word equipment.
Instruction reception unit is for receiving the control instruction that described instruction equipment is sent out.
Instruction response unit executes the corresponding predetermined registration operation of the control instruction for responding the control instruction.
The control managing device of the equipment room can be the terminal for having peer-to-peer communications function, for example, mobile phone, computer, Tablet computer etc. is not limited herein.The peer-to-peer communications of the equipment room may include, but be not limited only to, processor 501, memory 502.It will be understood by those skilled in the art that Fig. 5 is only the example of the peer-to-peer communications 500 of equipment room, do not constitute to equipment Between peer-to-peer communications 500 restriction, may include either combining certain components or not than illustrating more or fewer components Same component, such as the device for obtaining original document can also include input-output equipment, network access equipment, bus Deng.
Alleged processor 501 can be central processing unit (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor Deng.
The memory 502 can be the internal storage unit of the peer-to-peer communications 500 of the equipment room, such as equipment room The hard disk or memory of peer-to-peer communications 500.The memory 502 can also be that the outside of the peer-to-peer communications 500 of the equipment room is deposited The plug-in type hard disk being equipped in storage equipment, such as the peer-to-peer communications 500 of the equipment room, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc..Further, described to deposit Reservoir 502 can also both include the equipment room peer-to-peer communications 500 internal storage unit and also including External memory equipment.Institute Memory 502 is stated for storing other programs needed for the computer program and the device for adjusting closing working environment And data.The memory 502 can be also used for temporarily storing the data that has exported or will export.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each work( Can unit, module division progress for example, in practical application, can be as needed and by above-mentioned function distribution by different Functional unit, module are completed, i.e., the internal structure of described device are divided into different functional units or module, more than completion The all or part of function of description.Each functional unit, module in embodiment can be integrated in a processing unit, also may be used It, can also be above-mentioned integrated during two or more units are integrated in one unit to be that each unit physically exists alone The form that hardware had both may be used in unit is realized, can also be realized in the form of SFU software functional unit.In addition, each function list Member, the specific name of module are also only to facilitate mutually distinguish, the protection domain being not intended to limit this application.Above-mentioned apparatus The specific work process of middle unit, module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may realize that lists described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, depends on the specific application and design constraint of technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed device/terminal device and method, it can be with It realizes by another way.For example, device described above/terminal device embodiment is only schematical, for example, institute The division of module or unit is stated, only a kind of division of logic function, formula that in actual implementation, there may be another division manner, such as Multiple units or component may be combined or can be integrated into another device, or some features can be ignored or not executed.Separately A bit, shown or discussed mutual coupling or direct-coupling or communication connection can be by some interfaces, device Or INDIRECT COUPLING or the communication connection of unit, can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
If the integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or In use, can be stored in a computer read/write memory medium.Based on this understanding, the present invention realizes above-mentioned implementation All or part of flow in example method, can also instruct relevant hardware to complete, the meter by computer program Calculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that on The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program generation Code can be source code form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium May include:Any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic of the computer program code can be carried Dish, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that described The content that computer-readable medium includes can carry out increasing appropriate according to legislation in jurisdiction and the requirement of patent practice Subtract, such as in certain jurisdictions, according to legislation and patent practice, computer-readable medium does not include electric carrier signal and electricity Believe signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although with reference to aforementioned reality Applying example, invention is explained in detail, it will be understood by those of ordinary skill in the art that:It still can be to aforementioned each Technical solution recorded in embodiment is modified or equivalent replacement of some of the technical features;And these are changed Or replace, the spirit and scope for various embodiments of the present invention technical solution that it does not separate the essence of the corresponding technical solution should all It is included within protection scope of the present invention.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit It is fixed.

Claims (10)

1. a kind of control management method of equipment room, which is characterized in that including:
The solicited message that acquisition instruction equipment is sent out;The solicited message is that described instruction equipment is detected by enabling equipment send out Broadcast message it is backward described by the echo message for enabling equipment send out;
According to the solicited message, peer to peer connection is established with described instruction equipment;
Receive the control instruction that described instruction equipment is sent out;
The control instruction is responded, the corresponding predetermined registration operation of the control instruction is executed.
2. the control management method of equipment room as described in claim 1, which is characterized in that the solicited message includes the finger The identity information of equipment is enabled, it is described according to the solicited message, peer to peer connection is established with described instruction equipment, including;
According to commander equipment and by the identity information for enabling default correspondence between equipment, described instruction equipment, determine described in Whether commander equipment is the corresponding target instruction target word equipment of local terminal;
If described instruction equipment is the corresponding target instruction target word equipment of local terminal, set with the target instruction target word using Peer-To-Peer agreement It is standby to establish peer to peer connection, and carry out P2P communications with the target instruction target word equipment.
3. the control management method of equipment room as described in claim 1, which is characterized in that the identity information of described instruction equipment It is stored in and is enabled in the corresponding commander equipment list of equipment with described;It is described default between equipment according to commander equipment and by enabling The identity information of correspondence, described instruction equipment determines whether described instruction equipment is the corresponding target instruction target word equipment of local terminal, Further include:
Described instruction list of devices is encapsulated, described instruction list of devices includes:Commander equipment and default between equipment by enabling One kind in the peer to peer connection IP of correspondence, the identity information of commander equipment and commander equipment or at least two information;
Described instruction list of devices is stored to described and is enabled equipment.
4. the control management method of equipment room as described in claim 1, which is characterized in that the reception described instruction equipment hair The control instruction gone out;The control instruction is responded, the corresponding predetermined registration operation of the control instruction is executed, including:
The confirmation message of the control instruction is received by enabling the identity information of equipment encapsulate by described, and by the confirmation message It is sent to described instruction equipment;
The control instruction is received by the time sequencing for sending out the control instruction, and according to the time for receiving control instruction Sequence executes the predetermined registration operation of the control instruction.
5. the control management method of equipment room as claimed in claim 2, which is characterized in that it is described using Peer-To-Peer agreement with The target instruction target word equipment establishes peer to peer connection, and carries out P2P communications with the target instruction target word equipment, further includes:
The control instruction of the second commander equipment forwarding is obtained, the control instruction of the second commander equipment forwarding is set by the first instruction It is standby to be sent to second commander equipment;
The control instruction for responding the second commander equipment forwarding, the control instruction for executing the second commander equipment forwarding correspond to Predetermined registration operation.
6. a kind of control managing device of equipment room, which is characterized in that including:
Signal acquiring unit, the solicited message sent out for acquisition instruction equipment;The solicited message detects for commander equipment The broadcast message it is backward described by the echo message for enabling equipment send out;
Connection establishment unit, for according to the solicited message, peer to peer connection to be established with described instruction equipment;
Instruction reception unit, the control instruction sent out for receiving described instruction equipment;
Instruction execution unit executes the corresponding predetermined registration operation of the control instruction for responding the control instruction.
7. the control managing device of equipment room as claimed in claim 6, which is characterized in that the solicited message includes the finger The identity information of equipment, described device is enabled to further include:
Target determination unit, for according to commander equipment and by enabling default correspondence between equipment, described instruction equipment Identity information determines whether described instruction equipment is the corresponding target instruction target word equipment of local terminal;
Peer to peer connection unit is assisted if being the corresponding target instruction target word equipment of local terminal for described instruction equipment using Peer-To-Peer View establishes peer to peer connection with the target instruction target word equipment, and carries out P2P communications with the target instruction target word equipment.
8. the control managing device of equipment room as claimed in claim 6, which is characterized in that the identity information of described instruction equipment It is stored in and is enabled in the corresponding commander equipment list of equipment with described;The target determination unit further includes:
Commander equipment list encapsulation unit, for encapsulating described instruction list of devices, described instruction list of devices includes:Instruction Equipment and by enabling default correspondence, the identity information of commander equipment and the peer to peer connection IP of commander equipment between equipment In one kind or at least two information;
Commander equipment list storage unit is enabled equipment for storing described instruction list of devices to described.
9. a kind of control managing device of equipment room, including memory, processor and it is stored in the memory and can be The computer program run on the processor, which is characterized in that the processor is realized such as when executing the computer program The step of any one of claim 1 to 5 the method.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, feature to exist In when the computer program is executed by processor the step of any one of such as claim 1 to 5 of realization the method.
CN201710820962.5A 2017-09-13 2017-09-13 A kind of control management method and apparatus of equipment room Pending CN108289116A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710820962.5A CN108289116A (en) 2017-09-13 2017-09-13 A kind of control management method and apparatus of equipment room

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710820962.5A CN108289116A (en) 2017-09-13 2017-09-13 A kind of control management method and apparatus of equipment room

Publications (1)

Publication Number Publication Date
CN108289116A true CN108289116A (en) 2018-07-17

Family

ID=62831675

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710820962.5A Pending CN108289116A (en) 2017-09-13 2017-09-13 A kind of control management method and apparatus of equipment room

Country Status (1)

Country Link
CN (1) CN108289116A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104221345A (en) * 2011-12-22 2014-12-17 高通股份有限公司 Apparatus, systems, and methods of ip address discovery for tunneled direct link setup
CN104219551A (en) * 2014-09-29 2014-12-17 武汉诚迈科技有限公司 Method for screen sharing and remote control of intelligent device
US20160021688A1 (en) * 2014-07-15 2016-01-21 Facebook, Inc. Local area network meshing
US20160128113A1 (en) * 2014-10-30 2016-05-05 Intel Corporation Apparatus, system and method of peer to peer communication
CN105578227A (en) * 2015-12-07 2016-05-11 努比亚技术有限公司 Multi-screen projection control method and system and terminal device
CN105722037A (en) * 2014-12-03 2016-06-29 中国移动通信集团公司 Method and apparatus for interaction of WLAN device with WFD device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104221345A (en) * 2011-12-22 2014-12-17 高通股份有限公司 Apparatus, systems, and methods of ip address discovery for tunneled direct link setup
US20160021688A1 (en) * 2014-07-15 2016-01-21 Facebook, Inc. Local area network meshing
CN104219551A (en) * 2014-09-29 2014-12-17 武汉诚迈科技有限公司 Method for screen sharing and remote control of intelligent device
US20160128113A1 (en) * 2014-10-30 2016-05-05 Intel Corporation Apparatus, system and method of peer to peer communication
CN105722037A (en) * 2014-12-03 2016-06-29 中国移动通信集团公司 Method and apparatus for interaction of WLAN device with WFD device
CN105578227A (en) * 2015-12-07 2016-05-11 努比亚技术有限公司 Multi-screen projection control method and system and terminal device

Similar Documents

Publication Publication Date Title
US11765150B2 (en) End-to-end M2M service layer sessions
US11832102B2 (en) User-authorized onboarding using a public authorization service
US9596603B2 (en) Distributed bulk onboarding process
CN105230029B (en) Establish and control Wi-Fi shows the audio connected and voice backward channel
KR102492203B1 (en) Automated service registration in machine-to-machine communication networks
US11601436B2 (en) Internet of things (IoT) network domain resource model
US10425454B2 (en) Device and method for transferring the rendering of multimedia content
JP5945880B2 (en) Seamless transition of cellular telephone from cellular communication to Wi-Fi communication
CN110636483A (en) Network distribution method and system
CN109150568A (en) A kind of network management, device, system, equipment and storage medium
JP2015508273A (en) Shared network access via peer-to-peer link
US10805781B2 (en) Method and apparatus for establishing a connection between devices
WO2019134595A1 (en) Configuration system, client device, embedded device configuration method, and storage medium
WO2017075410A1 (en) System and methods for achieving end-to-end security for hop-by-hop services
CN107005797A (en) It was found that and management be directed to wireless display system in multiple places isochronous audio or video streaming services
CN112566113B (en) Key generation and terminal network distribution method, device and equipment
CN103634657A (en) Television and mobile terminal synchronous WIFI connection setup method and device
CN105681225A (en) Network resource acquisition method and device
KR102602073B1 (en) Service registration based on service capability requirements and preferences
US11916970B2 (en) Security information exchange between a client and a server
CN108289116A (en) A kind of control management method and apparatus of equipment room
Chen et al. A resource-aware pairing device framework for ubiquitous cloud applications
CN112261706A (en) Wireless network connection method, device, equipment and storage medium

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180717

RJ01 Rejection of invention patent application after publication