Background technology
Along with digital information technology more and more breaks through conventional commercial limitation, and the common numbersization of consumption electronic product itself, make that to occur in the family be the digital device at center with the amusement more and more, and digitized household appliances.These equipment are connected into the household internal local area network (LAN) in wired or wireless mode, with in realizing perhaps the Internet insert to share, or realize easily function such as control mutually, become the digital home network notion that industry is being conceived and made great efforts at present.
In order to realize the intercommunication and the control of various dissimilar household equipments, increasing household equipment is realized the intercommunication and the control of household equipment by supporting UPnP (Universal Plug and Play, UPnP) technology.On the control mode to household equipment, the user wishes to control equipment in the home network in flexible mode.
In the UPnP equipment system, the user by with home network in the mutual realization at control point to the control of household equipment, calling related application programs is passed through at the control point, adopt the UPnP agreement to read the state and the control information of the inner various UPnP equipment of home network by certain medium, the processing of being correlated with, produce user interface data, present to the user in the mode of figure or text.
The user submits to the control point by the user interface of figure or text with control command, after being called the relevant treatment program and handled by the control point, sends relevant UPnP control command, and the corresponding UPnP equipment of control is carried out corresponding operation.
Also there is following shortcoming in above-mentioned technology:
At first, control point and user's is to be undertaken by figure or text interface alternately, then needs to exist the display device that is used for display interface, and this causes controlling cost of user higher;
In addition, the user carries out mutual more single with the mode of controlling to the UPnP equipment in the home network, and autgmentability is poor.
Summary of the invention
The object of the present invention is to provide a kind of method and system of controlling home network plug-play devices, by this method, control point in the home network can provide the function of voice messaging output, the user finishes mutual with the control point according to information of voice prompt, realizes the control to UPnP equipment in the home network.
The objective of the invention is to be achieved through the following technical solutions:
A kind of method of controlling home network plug-play devices comprises:
A, PnP device report the device description that comprises device description voice document uniform resource locator URL to the control point, and the corresponding relation of described device description and homepage and equipment is preserved at the control point;
B, control point be according to the correspondence relationship information output information of voice prompt of preserving, and receive the control information of user's input, finishes control to equipment according to described control information.
Comprise the URL that points to the homepage file in the described device description, by the displayed page of homepage as PnP device.
Described device description voice document is positioned at home network inside or home network outside.
Described step B comprises:
B1, user's request enter the control interface, and the control point provides each equipment voice suggestion in the home network;
B2, user select controlled device according to voice suggestion;
B3, to the controlled device executive control operation.
Described step B3 specifically comprises:
B31, control point load the homepage with voice prompts of controlled device, the voice suggestion that carries of playing described equipment, and the user sends control information to the control point according to voice suggestion;
B32, control point are accepted the control information of user input and are translated into operation to homepage;
B33, described homepage convert the control point to equipment control command to the operation of homepage;
B34, homepage return corresponding voice suggestion according to execution result.
The mode of described user's input control information comprises:
By the input of the button on the control point, by the remote controller input or by phonetic entry.
A kind of system that controls home network plug-play devices comprises control point and a plurality of PnP devices that link to each other with the control point, and each PnP device comprises the device description template, comprises in the described device description template:
The URL of device description voice document is used for obtaining the index that PnP device is described voice document as the control point;
Point to the URL of homepage, be used for loading the index of described PnP device displayed page, and the operation of homepage is converted the control point to equipment control command as the control point;
Comprise modular converter in the described control point, be used to receive the control information of user's input, and with the operation of the paired homepage of described information translation.
Described control point is a home gateway.
As seen from the above technical solution provided by the invention, the present invention has realized that by increase the device description voice document in the UPnP device description user is by voice control UPnP equipment in the home network, and easy to use, cost is low.
Embodiment
Core concept of the present invention provides a kind of method and system of controlling home network plug-play devices, by increase URL (Uniform Resource Locator at the UPnP template instruction that is used for device description about the voice document of UPnP device description, uniform resource locator) element, make the control point that the function of voice messaging output can be provided, make the user finish mutual with the control point, realize control the UPnP equipment in the home network according to information of voice prompt.
The invention provides a kind of system that controls home network plug-play devices, a kind of example structure of described system as shown in Figure 1, each UPnP equipment links to each other with the control point in the home network, comprise the device description template in the described UPnP equipment, the URL that in described device description template, comprises the device description voice document, the control point can obtain the device description voice document according to this URL; Also comprise the URL that points to the WEB page in the described device description template, the control point can load the displayed page of described UPnP equipment according to this URL, this WEB page is used to play the voice suggestion of UPnP equipment, and receive the operational order at control point, convert described operational order to control command to equipment; Comprise modular converter in the control point of described system, be used to receive the control information of user's input, and with the operation of the paired WEB page of described information translation.
The invention provides a kind of method of controlling home network plug-play devices, a kind of embodiment operating process of this method as shown in Figure 2, wherein, if based on the home network device of Long-distance Control, then by the control point of home gateway as UPnP equipment, this method comprises the steps:
Step 1: the inner UPnP equipment of home network adds home network, reports the device description that comprises device description voice document URL.In the device description that UPnP equipment sends, the value of " modelVioceURL " element is pointed to the URL of this UPnP device description voice document; The value of " presentationURL " element is pointed to the URL of WEB homepage with voice prompts;
In the UPnP equipment system, the device description about self that the control point sends by UPnP equipment is understood the details of this UPnP equipment, the UPnP device description adopts XML (ExtensionMarkup Language, extend markup language) sentence structure, and follow standard UPnP equipment masterplate, in existing UPnP device description, the descriptor of relevant devices leaves in UPnP device description " modelDescription " element, this element is the definition of UPnP equipment template instruction, the content of this element is the textual description of one section relevant devices, for realizing the function of voice suggestion, increase an element at the UPnP template instruction that is used for device description, for example title is " modelVioceURL ", the content of this element is a URL who points to UPnP device description voice document, this device description voice document can be obtained by this URL in the control point, and the effect of this device description voice document is that equipment is simply introduced.The value of " presentationURL " element of UPnP device description is pointed to the URL of homepage file with voice prompts wherein, and the control point can load homepage by this URL.
For example the air-conditioning of home network inside need add home network, then need at first to send the device description that comprises device description voice document URL, the value of its " modelVioceURL " element can be " http: // 192.168.0.2/air_conditioning.wav ", and corresponding equipment to describe the content of voice document air_conditioning.wav may be " I am heroic board air-conditioning ";
Described voice document can be positioned at home network inside, also can be positioned at the home network outside, if leave the home network outside in, the control point need obtain voice by Internet and describe.
For example home network inside has air-conditioning to report the device description of oneself, then in this device description, the value of " modelVioceURL " element may be http: // 192.168.0.3/air_conditioning.wav, and the value of " presentationURL " element may be http: // 192.168.0.3/index.html;
Step 2: the device description that described UPnP equipment reports is write down at the control point, and the corresponding relation of WEB homepage and equipment;
After the control point receives the device description that UPnP equipment reports, preserve described device description, write down the corresponding relation of described UPnP equipment and WEB homepage, for example, home network inside has air-conditioning, television set to report device description, and then the information of described two equipment of control point record can be in the following way:
Equipment 1, IP192.168.0.3, (URL of the description voice document of equipment 1), (URL of the WEB homepage with voice prompts of equipment 1);
Equipment 2, IP192.168.0.4, (URL of the description voice document of equipment 2), (URL of the WEB homepage with voice prompts of equipment 2);
Step 3: when user's request entered the control interface, the description voice document of all devices was play at the control point successively, and the user selects the equipment of needs control according to voice suggestion;
User's request enters the control interface, the value of " presentationURL " element in the device description that the control point reports according to UPnP equipment, obtain the voice suggestion of summary, this voice suggestion can be the voice recording of prerecording, when user request enters the control interface UPnP equipment in the home network is controlled, the voice suggestion of all reporting equipments is play at the control point to the user, in order to point out the user to select the device numbering that to control, as " welcoming to be suitable for; please select device numbering; press # bond bundle ", play the description voice document of all devices then successively, the user can select the numbering of the equipment of needs control according to described voice suggestion;
Step 4: the user selects controlled device according to voice suggestion, the value of " presentationURL " element in the device description that the control point reports according to user's selection and UPnP equipment, load the WEB homepage with voice prompts of relevant device, play the voice suggestion that described equipment carries, the user sends control information to the control point according to voice suggestion;
For example when the user selects air-conditioning, the control point loads the WEB homepage of air-conditioning according to the information of the equipment of above-mentioned record, the voice suggestion that broadcast carries, as the voice suggestion input control information of " design temperature is please by 1; the pattern setting is please by 2; press the input of # bond bundle, return upper level by the * key " user according to equipment;
User's input mode can be diversified, and for example the user can also can import by remote controller by the input of the button on the control point, or by phonetic entry;
Step 5: the control point converts user's input to WEB page the corresponding button or link operation;
The step 6:WEB page converts the control point to equipment control command to the operation of the WEB page, and provides corresponding voice suggestion according to operating result;
The WEB page that equipment provides converts the control point to equipment control command to the operation of the WEB page, for example a series of Equipment Control orders of the corresponding elevated temperature of the control button of " elevated temperature " possibility, after control command is finished, the WEB page provides corresponding voice suggestion according to the result who carries out, for example: " temperature is set successfully, returns upper level by the * key ";
After if the user executes a control operation, need to carry out other control operations, then turn back to step 4, carry out the operation of other control commands.
In sum, the present invention has realized that by increase the device description voice document in the UPnP device description user is by voice control UPnP equipment in the home network, and easy to use, cost is low.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.