CN103888327B - The control method of PnP device - Google Patents

The control method of PnP device Download PDF

Info

Publication number
CN103888327B
CN103888327B CN201410132238.XA CN201410132238A CN103888327B CN 103888327 B CN103888327 B CN 103888327B CN 201410132238 A CN201410132238 A CN 201410132238A CN 103888327 B CN103888327 B CN 103888327B
Authority
CN
China
Prior art keywords
pnp device
control point
pnp
control
command information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410132238.XA
Other languages
Chinese (zh)
Other versions
CN103888327A (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.)
Zhengzhou Xinrand Network Technology Co ltd
Institute of Acoustics CAS
Original Assignee
Institute of Acoustics CAS
Beijing Intellix Technologies 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 Institute of Acoustics CAS, Beijing Intellix Technologies Co Ltd filed Critical Institute of Acoustics CAS
Priority to CN201410132238.XA priority Critical patent/CN103888327B/en
Publication of CN103888327A publication Critical patent/CN103888327A/en
Priority to PCT/CN2014/093488 priority patent/WO2015149535A1/en
Application granted granted Critical
Publication of CN103888327B publication Critical patent/CN103888327B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • H04L12/2809Exchanging configuration information on appliance services in a home automation network indicating that an appliance service is present in a home automation network

Landscapes

  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Selective Calling Equipment (AREA)
  • Stored Programmes (AREA)

Abstract

The present invention relates to a kind of control method of PnP device, this method includes:The command information at the first control point is received when the first PnP device is in running order;First PnP device inquires about record sheet, when second control point with first PnP device with corresponding relation is identical with first control point or first PnP device has the control point of corresponding relation, first PnP device performs the processing operation of the command information;When first PnP device is exited or first control point detects that first PnP device is improper to be exited, the second PnP device is chosen at first control point from service list;When second PnP device is in idle condition, first control point sends the command information to second PnP device.The service disruption that same PnP device is caused is operated present invention, avoiding multiple plug and play control points.

Description

The control method of PnP device
Technical field
The present invention relates to digital communication technology field, more particularly to a kind of control method of PnP device.
Background technology
With the popularization of the development of digital home and home network, and consumer digital electronic product, in family gradually There are increasing digitlization amusement equipment and household appliances.Pass through the wired or wireless network of household internal, these equipment It can interconnect, and further realize the functions such as content is shared and mutually controls.Home network device is generally using general Plug and play technique realizes the intercommunication and control between equipment.
In plug and play architecture, user can realize inserting i.e. to other networkings by plug and play control point With the control of household equipment.Plug and play control point meets the command operation PnP device of plug and play protocol by sending The service provided, obtains the state and control information of PnP device.
With being on the increase in home network with plug-and-play feature home appliance, plug and play control point and insert I.e. can be with more than one with equipment.Multiple plug and play control points can control same PnP device service, multiple to be Plug-and-play equipment can provide same service.When multiple plug and play control points operate same PnP device service, It is possible that competitive relation, causes current PnP device service disruption, influence user uses.Therefore need to it is multiple i.e. Plug-and-play control point operates same PnP device service to carry out protection control so that user during service use not It can be interrupted accidentally.Multiple PnP devices are there may be in home network same type of service is provided, user is using clothes During business, if the PnP device of current service leaves, plug and play control point should be found other i.e. slotting as early as possible User service is continued as with equipment.
The content of the invention
When operating same PnP device the invention aims to solve multiple plug and play control points, cause The problem of interruption of current service.
To achieve the above object, the invention provides a kind of control method of PnP device, it is characterised in that described Method includes:
The command information at the first control point is received when the first PnP device is in running order;
First PnP device inquires about record sheet, when having corresponding relation with first PnP device Second control point is identical with first control point, or first PnP device does not have the control of corresponding relation During point, first PnP device performs the corresponding processing operation of the command information;
When first PnP device is exited, or first control point detects first plug and play and set During for improper exiting, the second PnP device is chosen at first control point from service list;
When second PnP device is in idle condition, first control point is to second plug and play Equipment sends the command information.
Further, methods described also includes:When second control with first PnP device with corresponding relation When system point is different from first control point, first PnP device returns to error message to first control point.
Further, it is described when first PnP device is exited, or first control point detect it is described First PnP device is improper also to be included when exiting, and first control point is by first PnP device from described Deleted in service list.
Further, methods described also includes:When first PnP device from working condition is changed into idle condition, Or when from idle condition being changed into working condition, first control point is changed described first in the service list and inserted i.e. With the state of equipment.
Further, methods described also includes:When second PnP device is in running order, described first The 3rd PnP device is chosen from the service list in control point.
Advantages of the present invention is:
(1)When the same PnP device of multiple plug and play control point contention operations, it is to avoid current service is interrupted.
(2)When PnP device is exited or the first control point detects that the first PnP device is improper to be exited, Plug and play control point can choose an alternative PnP device and continue offer service, so as to improve the reliability of service Property.
Brief description of the drawings
Fig. 1 is the control method flow chart of PnP device provided in an embodiment of the present invention;
Fig. 2 is the control method corresponding relation state transition diagram of PnP device provided in an embodiment of the present invention;
Fig. 3 is that PnP device provided in an embodiment of the present invention handles plug and play control point command operation flow chart;
Fig. 4 is that plug and play control point provided in an embodiment of the present invention handles PnP device flow chart.
Embodiment
Below by drawings and Examples, technical scheme is described in further detail.
Fig. 1 is the control method flow chart of PnP device provided in an embodiment of the present invention.As shown in figure 1, this method Comprise the following steps:
Step 101, the command information at the first control point is received when the first PnP device is in running order;
Step 102, the first PnP device inquiry record sheet, when there is corresponding relation with the first PnP device Second control point is identical with the first control point, or during control point of first PnP device with corresponding relation, the The corresponding processing operation of one PnP device execute instruction information;
Further, when different with the first control point from the first PnP device second control point with corresponding relation When, the first PnP device returns to error message to the first control point.
Step 103, when the first PnP device is exited, or to detect the first PnP device non-at the first control point When normally exiting, the second PnP device is chosen at the first control point from service list;
Step 104, when the second PnP device is in idle condition, the first control point is to the second PnP device Send command information.
Fig. 2 is the control method corresponding relation state transition diagram of PnP device provided in an embodiment of the present invention.Such as Fig. 2 It is shown, when PnP device starts, the service state of PnP device is set to idle condition, now plug and play Corresponding relation is not present with control point in equipment;When the service state of PnP device is working condition, PnP device Record and the corresponding relation at control point;When control point is left, PnP device removes whole corresponding relations with control point, At the same time, PnP device can receive the command information at any one control point;When PnP device is to control point Service at the end of, service state is set to idle condition by PnP device, and removes the corresponding relation with control point.
Fig. 3 is that PnP device provided in an embodiment of the present invention handles plug and play control point command operation flow chart. As shown in figure 3, the operating process comprises the following steps:
Step 301, when PnP device is in running order, control point sends instruction letter to PnP device Breath.
Step 302, if PnP device is not recorded with the corresponding relation at control point or the control point with inserting i.e. With the control point recorded in equipment it is identical when, PnP device performs the command information.
Step 303, if the corresponding relation of PnP device record is different from the control point, PnP device is not The command information is performed, and returns to error code information.
Fig. 4 is that plug and play control point provided in an embodiment of the present invention handles PnP device flow chart.Such as Fig. 4 institutes Show, the processing procedure comprises the following steps:
Step 401, when PnP device leaves, control point deletes the PnP device from service list.
Step 402, control point selects the PnP device in idle condition from service list, and is set to plug and play Preparation send command information.
Step 403, if the PnP device of selection is in running order, control point selection is next in the free time PnP device under state.Until operating successfully or untill there is no alternative PnP device in service list.
Further, the relation of the service list of control point offer required service, control point and service list is as follows:
(1)When the PnP device newly added provides service, control point is added into service list.
(2)When the PnP device in service list leaves, the record in service list is deleted.
(3)When the service state of PnP device changes, the service state in modification service list.
Above-described embodiment, has been carried out further to the purpose of the present invention, technical scheme and beneficial effect Describe in detail, should be understood that the embodiment that the foregoing is only the present invention, be not intended to limit the present invention Protection domain, within the spirit and principles of the invention, any modifications, equivalent substitutions and improvements done etc. all should be included Within protection scope of the present invention.

Claims (2)

1. a kind of control method of PnP device, it is characterised in that methods described includes:
The command information at the first control point is received when the first PnP device is in running order;
First PnP device inquires about record sheet, when having the second of corresponding relation with first PnP device Control point is identical with first control point, or first PnP device does not have the control point of corresponding relation When, first PnP device performs the corresponding processing operation of the command information;
When first PnP device is exited, or to detect first PnP device non-at first control point When normally exiting, the second PnP device is chosen at first control point from service list;
When second PnP device is in idle condition, first control point is to second PnP device Send the command information;
When second PnP device is in running order, first control point chooses from the service list Three PnP devices;Wherein, it is described when first PnP device is exited, or first control point detects institute State also includes when the first PnP device is improper to be exited, and first control point is by first PnP device from institute State in service list and delete;
Methods described also includes:When first PnP device from working condition is changed into idle condition, or by idle shape When state is changed into working condition, the shape of first PnP device is changed at first control point in the service list State.
2. the control method of PnP device according to claim 1, it is characterised in that methods described also includes:When When different with first control point from first PnP device, second control point with corresponding relation, described first PnP device returns to error message to first control point.
CN201410132238.XA 2014-04-02 2014-04-02 The control method of PnP device Active CN103888327B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410132238.XA CN103888327B (en) 2014-04-02 2014-04-02 The control method of PnP device
PCT/CN2014/093488 WO2015149535A1 (en) 2014-04-02 2014-12-10 Control method for plug-and-play device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410132238.XA CN103888327B (en) 2014-04-02 2014-04-02 The control method of PnP device

Publications (2)

Publication Number Publication Date
CN103888327A CN103888327A (en) 2014-06-25
CN103888327B true CN103888327B (en) 2017-07-14

Family

ID=50957053

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410132238.XA Active CN103888327B (en) 2014-04-02 2014-04-02 The control method of PnP device

Country Status (2)

Country Link
CN (1) CN103888327B (en)
WO (1) WO2015149535A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103888327B (en) * 2014-04-02 2017-07-14 中国科学院声学研究所 The control method of PnP device
JP6981138B2 (en) * 2017-09-25 2021-12-15 セイコーエプソン株式会社 Electronic devices and control methods for electronic devices

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1649352A (en) * 2004-01-30 2005-08-03 佳能株式会社 Electronic device and its control method
CN1780382A (en) * 2004-11-21 2006-05-31 秦燕 Reliable digit video recording system
CN101166131A (en) * 2006-10-17 2008-04-23 三星电子株式会社 Universal plug and play based network system and method of controlling the same
CN101778020A (en) * 2009-01-13 2010-07-14 华为终端有限公司 Methods, devices and systems for discovering data module of universal plug and play equipment and notifying control point of data module
CN101827069A (en) * 2009-03-04 2010-09-08 华为终端有限公司 Information acquisition method, system, device and control point for universal plug and play device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100595524B1 (en) * 2004-10-28 2006-07-03 엘지전자 주식회사 Device discovery system and method on network
KR20090060924A (en) * 2007-12-10 2009-06-15 삼성전자주식회사 Method for providing internet gateway service using plurality of universal plug and play internet gateway devices and apparatus therefor
CN102025524B (en) * 2009-09-16 2014-07-09 华为终端有限公司 Method and system for equipment control, control point and equipment
KR101066451B1 (en) * 2009-10-06 2011-09-23 한국과학기술연구원 UPnP CONTROL POINT AND UPnP DEVICE BASED ON THE UPnP NETWORK AND CONNECTING METHOD USING THE SAME
KR101814600B1 (en) * 2010-08-26 2018-01-30 삼성전자주식회사 Method and apparatus for connecting communication
CN103888327B (en) * 2014-04-02 2017-07-14 中国科学院声学研究所 The control method of PnP device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1649352A (en) * 2004-01-30 2005-08-03 佳能株式会社 Electronic device and its control method
CN1780382A (en) * 2004-11-21 2006-05-31 秦燕 Reliable digit video recording system
CN101166131A (en) * 2006-10-17 2008-04-23 三星电子株式会社 Universal plug and play based network system and method of controlling the same
CN101778020A (en) * 2009-01-13 2010-07-14 华为终端有限公司 Methods, devices and systems for discovering data module of universal plug and play equipment and notifying control point of data module
CN101827069A (en) * 2009-03-04 2010-09-08 华为终端有限公司 Information acquisition method, system, device and control point for universal plug and play device

Also Published As

Publication number Publication date
CN103888327A (en) 2014-06-25
WO2015149535A1 (en) 2015-10-08

Similar Documents

Publication Publication Date Title
CN103384367B (en) Equipment searching method
TWI486084B (en) Wireless connection point and wireless mobile device connection control method
CN105159079B (en) Method and device for solving household appliance concurrency control conflict
CN102541455A (en) Method and device for rapidly switching operations
CN110365704B (en) Equipment binding method and device and electronic equipment
CN105807618A (en) Control method and first central control device
CN105791454B (en) A kind of binding method and device of intelligent terminal
CN104540091A (en) Automatic pairing system and automatic pairing method based on bluetooth equipment
CN101883355A (en) Collocation method and system of terminal parameter and terminal management device
CN103856374A (en) Data transmission method, terminal and home interconnected system
CN103731562B (en) For the method and apparatus of smart machine Adaptive matching bluetooth equipment
CN105022297B (en) A kind of sound box parameter collocation method, mobile terminal
CN106797370A (en) The traversal method of a kind of SAS system and SAS system, device
CN103888327B (en) The control method of PnP device
WO2021103619A1 (en) Network configuration terminal, network configuration method for household appliance, and computer-readable storage medium
JP6310910B2 (en) COMMUNICATION PROCESSING METHOD, DEVICE, PROGRAM, AND RECORDING MEDIUM
CN107846715A (en) Access point switching method and device of the Internet of Things based on transmission rate
CN103546352A (en) Remote control method and device based on wireless login
EP3046371B1 (en) Method for exchanging information between a group of emitter receiver devices
CN105960817A (en) Device and method for configuring communication device
CN104243469B (en) A kind of method for controlling to play, apparatus and system
CN105491419A (en) Combined TV and data sharing method
CN108257377A (en) A kind of method and system that remote controler is configured
CN108234052A (en) The method, apparatus and system that a kind of clock synchronizes
CN104394125B (en) A kind of mobile device shares the method and mobile device of multimedia file

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20210812

Address after: Room 1601, 16th floor, East Tower, Ximei building, No. 6, Changchun Road, high tech Industrial Development Zone, Zhengzhou, Henan 450001

Patentee after: Zhengzhou xinrand Network Technology Co.,Ltd.

Address before: 100190, No. 21 West Fourth Ring Road, Beijing, Haidian District

Patentee before: INSTITUTE OF ACOUSTICS, CHINESE ACADEMY OF SCIENCES

Effective date of registration: 20210812

Address after: 100190, No. 21 West Fourth Ring Road, Beijing, Haidian District

Patentee after: INSTITUTE OF ACOUSTICS, CHINESE ACADEMY OF SCIENCES

Address before: 100190, No. 21 West Fourth Ring Road, Beijing, Haidian District

Patentee before: INSTITUTE OF ACOUSTICS, CHINESE ACADEMY OF SCIENCES

Patentee before: BEIJING INTELLIX TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right