Summary of the invention
The invention provides a kind of method, wireless network, controlling party terminal, wireless access gateway and prosecution terminal with the wireless network control terminal device, can only pass through the Internet control terminal in order to solve at present, can't be by the problem of wireless network control terminal device.
The inventive method comprises:
A, controlling party terminal by wireless network to the prosecution terminal sending controling instruction of registering;
B, described prosecution terminal are carried out corresponding operation according to steering order.
Also comprise step before the described steps A: the prosecution terminal sends the log-on message that carries this prosecution terminal number to the controlling party terminal.Perhaps, preset the log-on message of the numbering that comprises the prosecution terminal in the described controlling party terminal.
Also comprise step before the described steps A: the controlling party terminal sends query statement according to the numbering of prosecution terminal to the prosecution terminal; The prosecution terminal is carried the function information of local terminal in the inquiry feedback message, and sends to the controlling party terminal; The controlling party terminal is preserved the function information of prosecution terminal.
After the prosecution terminal is received query statement, send at least one inquiry feedback message, and every inquiry feedback message only carries a function information to the controlling party terminal.
Perhaps, also comprise in the described log-on message: the quantity of the function that the prosecution terminal is supported.The controlling party terminal sends the query statement of respective numbers according to the quantity of the function of prosecution terminal support to the prosecution terminal; The prosecution terminal is carried a function information in every inquiry feedback message.
Carry in the described steering order and whether require feedack; If require to feed back, after the then described step B, also comprise step: after the prosecution terminal was carried out corresponding operation, to controlling party terminal feedback execution result, and/or the prosecution terminal was fed back oneself state to the controlling party terminal when satisfying certain condition.
Described wireless network comprises: GSM, CDMA, PHS synergic system, PHS dedicated system or bluetooth.
Wireless network of the present invention comprises:
The controlling party terminal is used for sending instruction;
The prosecution terminal is used for the instruction of sending according to described controlling party terminal, carries out operation accordingly;
Wireless access gateway is used for instruction or message that described controlling party terminal of wireless forwarding and prosecution terminal are sent.
Comprise in the described controlling party terminal: information memory cell, be used to store the log-on message and the function information of described prosecution terminal, select in order to the user; The steering order generation unit is used for the selection according to the user, the corresponding steering order that generates.
Also comprise in the described controlling party terminal: query unit is used for sending query statement to the prosecution terminal, to inquire about the function information of this prosecution terminal.
The described wireless access network Central Shanxi Plain comprises: recognition unit, and be used for the instruction that identification control side's terminal sends and whether carry special identifier, if, then discern the prosecution terminal number in the described instruction, and the output recognition result; Retransmission unit after being used for the special identifier of described instruction and prosecution terminal number removed, is packaged into new instruction, and according to the recognition result of described recognition unit output, described new instruction is forwarded to the prosecution terminal; And feedback message from the prosecution terminal to described controlling party terminal that transmit.
Comprise in the described prosecution terminal: performance element, be used for transmitting the instruction of coming according to described wireless access gateway, carry out operation accordingly.
Also comprise in the described prosecution terminal: feedback unit, be used for transmitting the instruction of coming according to described wireless access gateway, correspondence generates feedback message, and sends to the controlling party terminal by wireless access gateway.
Controlling party terminal of the present invention comprises:
Information memory cell is used to store the log-on message and the function information of described prosecution terminal, selects in order to the user; The steering order generation unit is used for the selection according to the user, the corresponding steering order that generates.
Described terminal also comprises: query unit is used to send query statement, with the function information of inquiry prosecution terminal.
Wireless access gateway of the present invention comprises: recognition unit, and be used for the instruction that identification control side's terminal sends and whether carry special identifier, if, then discern the prosecution terminal number in the described instruction, and the output recognition result; Retransmission unit after being used for the special identifier of described instruction and prosecution terminal number removed, is packaged into new instruction, and according to the recognition result of described recognition unit output, described new instruction is forwarded to the prosecution terminal; And feedback message from the prosecution terminal to described controlling party terminal that transmit.
Prosecution terminal of the present invention comprises: performance element, be used for according to the instruction of receiving, and carry out operation accordingly.
Described terminal also comprises: feedback unit is used for according to the instruction of receiving the corresponding feedback message that generates, and output.
Beneficial effect of the present invention is as follows:
Controlling party terminal of the present invention and prosecution terminal all have wireless module, can finish mutual between controlling party terminal and the prosecution terminal by wireless access gateway.
The prosecution terminal at first sends the log-on message that carries this prosecution terminal number to the controlling party terminal, and the controlling party terminal writes down the numbering of this prosecution terminal; Perhaps the controlling party terminal has preset the numbering of prosecution terminal.Secondly, the controlling party terminal is inquired about the function information of each prosecution terminal according to the numbering of described prosecution terminal successively by wireless access gateway, and described function information is stored, so that controlling party terminal user sending controling instruction in view of the above; If the controlling party terminal has preset the conventional func information of prosecution terminal, then can not carry out query manipulation.Afterwards, the controlling party terminal is according to user's indication, and structure also sends the prosecution terminal number that carries special identifier, desire control to wireless access gateway, and the steering order of relevant control strategy.Wireless access gateway determines whether transmitting according to whether there being special identifier in the described steering order, if exist, then according to the prosecution terminal number in the described steering order, sends described steering order to the prosecution terminal of correspondence.At last, the prosecution terminal is carried out operation accordingly, and can be required feedack according to whether existing in the described steering order according to the control strategy information in the described steering order, and whether decision feeds back execution result and/or status information.
By enforcement of the present invention, make the controlling party terminal to finish control, thereby solved the conversion from wireless to wired in the prior art by wireless network to the prosecution terminal, make route than complicated problems; Be example with handheld device control household electrical appliances further, it is relatively more expensive to have solved the handheld device expenses of surfing Internet, causes handheld device to remain on line states between can not be often, with the problem of the feedback information that receives household electrical appliances.Also solved with physical circuit and carried out tame electric control, needed a large amount of cables come networking, and on the network layout structure complicated problems comparatively.
In order to support the inventive method, the present invention also provides a kind of wireless network, controlling party terminal, wireless access gateway and prosecution terminal.
Embodiment
In order to realize coming control terminal by wireless network, the invention provides a kind of wireless network, described wireless network based on wireless protocols include but not limited to GSM, CDMA, PHS synergic system, PHS dedicated system or bluetooth.Referring to shown in Figure 1, it comprises: wireless access gateway, and controlling party terminal that links to each other with described wireless access gateway respectively and prosecution terminal.Described controlling party terminal includes but not limited to handheld device (mobile phone, PDA), and described wireless access gateway includes but not limited to the comprehensive wireless access gateway HOME-BOX among the personal handyphone system PHS, and described prosecution terminal includes but not limited to household electrical appliance.
Described controlling party terminal is used for sending instruction.
Described prosecution terminal is used for the instruction of sending according to described controlling party terminal, carries out operation accordingly.
Described wireless access gateway is used for instruction or message that described controlling party terminal of wireless forwarding and prosecution terminal are sent.
Referring to shown in Figure 2, in described controlling party terminal (being controlling party terminal of the present invention), comprise: interconnective information memory cell and steering order generation unit; Further also can comprise: the query unit that links to each other with described information memory cell.
Described query unit is used for sending query statement to the prosecution terminal, inquiring about the function information of this prosecution terminal, and outputs to information memory cell.
Described information memory cell is used to store the log-on message and the function information of described prosecution terminal, selects in order to the user.
Described steering order generation unit is used for the selection according to the user, the corresponding steering order that generates.
Referring to shown in Figure 3, in described wireless access gateway (being wireless access gateway of the present invention), comprise: interconnective recognition unit and retransmission unit.
Described recognition unit is used for the instruction that identification control side's terminal sends and whether carries special identifier, if, then discern the prosecution terminal number in the described instruction, and the output recognition result.
Described retransmission unit after being used for the special identifier of described instruction and prosecution terminal number removed, is packaged into new instruction, and according to the recognition result of described recognition unit output, described new instruction is forwarded to the prosecution terminal; And feedback message from the prosecution terminal to described controlling party terminal that transmit.
Referring to shown in Figure 4, in described prosecution terminal (being prosecution terminal of the present invention), comprise: performance element; Further also can comprise: feedback unit.
Described performance element is used for transmitting the instruction of coming according to described wireless access gateway, carries out operation accordingly.
Described feedback unit is used for transmitting the instruction of coming according to described wireless access gateway, and correspondence generates feedback message, and sends to the controlling party terminal by wireless access gateway.
Use above-mentioned wireless network and device, the invention provides a kind of method,, comprise the following steps: referring to shown in Figure 5 with the wireless network control terminal device
S1, prosecution endpoint registration.
S2, controlling party terminal are to the wireless access gateway sending controling instruction.
S3, wireless access gateway are transmitted steering order to the prosecution terminal.
S4, prosecution terminal are carried out corresponding operation according to steering order.
Below specifically describe the inventive method by three examples.
Method example one: controlling party terminal preparatory function information, and prosecution terminal feedback information not.
S101, prosecution endpoint registration.
Be the prosecution terminal number at first by the user.Afterwards, after described wireless access gateway, controlling party terminal and prosecution terminal were formed private network, the user triggered the prosecution terminal one by one, initiated register requirement with the form of note to the controlling party terminal.The relevant information that in described register requirement, comprises this prosecution terminal, for example: comprise the type of message sign of 2 bytes, self address of 12 bytes, the numbering of 3 bytes, the appliance name of 20 bytes, the available function quantity of 2 bytes, the end-of-message character of 1 byte.
After the controlling party terminal is received register requirement by wireless access gateway, the relevant information of this prosecution terminal is stored in the information memory cell, to finish registration.
Perhaps, after the user is the prosecution terminal number, the log-on message that comprises the prosecution terminal number can be preset in the controlling party terminal, to finish registration.
S102, controlling party terminal are to the wireless access gateway sending controling instruction.
Preset the function information of prosecution terminal routine in this routine controlling party terminal information storage unit, the user can with the function information that presets and the relevant information in the register requirement direct corresponding on.
When the user need control the prosecution terminal with wireless mode, the corresponding steering order (note) that generates of steering order generation unit in the then function information that from information memory cell, presets in selection prosecution terminal and the controlling party terminal, and the indication controlling party terminal.Comprise successively in the described steering order: the special identifier of preceding 3 bytes, the prosecution terminal number of 2 bytes, the type of message sign of 2 bytes, the Function Identification of 20 bytes (function information of selecting with the user is corresponding), 1 byte message end mark; Whether what further also can comprise 1 byte requires feedback bit (not requiring feedback in this example).
After generating described steering order, the controlling party terminal sends to wireless access gateway with this instruction.
S103, wireless access gateway are transmitted steering order to the prosecution terminal.
In the PHS system, wireless access gateway itself also can be used as a prosecution terminal, after so wireless access gateway is received described steering order, discern whether carry special identifier in this instruction by its built-in recognition unit, carry special identifier in this example, represent that promptly this instruction need be forwarded to other prosecution terminal; Described recognition unit is further discerned the prosecution terminal number in the described steering order, and the output recognition result.
Afterwards, the retransmission unit in the wireless access network Central Shanxi Plain is removed special identifier in the described steering order and prosecution terminal number, and it is packaged into new steering order (note), according to the recognition result of described recognition unit output, described new steering order is forwarded to corresponding prosecution terminal again.
S104, prosecution terminal are carried out corresponding operation according to steering order.
After the prosecution terminal is received steering order, therefrom obtain the Function Identification (function information of selecting with the user is corresponding) of 20 bytes by performance element, and carry out corresponding operation in view of the above.(if be applied to the PHS system, then the function of HOME-BOX need be made amendment, and the authorizing procedure in the flow process of prosecution terminal login HOME-BOX is removed, and makes the prosecution terminal not need the public network number can login HOME-BOX).
Method example two: the controlling party terminal sends a query statement, inquires about all function informations, and prosecution terminal feedback execution result.
S201, prosecution endpoint registration.(identical) with S101
S202, controlling party terminal are to the wireless access gateway sending controling instruction.
The controlling party terminal is according to the function information of the prosecution terminal of user's desire inquiry, by the corresponding generated query instruction of query unit.Comprise successively in the described query statement: the special identifier of preceding 3 bytes, the prosecution terminal number of the desire inquiry of 2 bytes, the type of message sign of 2 bytes, 1 byte information end mark.
After the query unit generated query instruction (note), send it to wireless access gateway.
Wireless access gateway discerns whether carry special identifier in this instruction by its built-in recognition unit, carries special identifier in this example, represents that promptly this instruction need be forwarded to other prosecution terminal; Described recognition unit is further discerned the prosecution terminal number in the described query statement, and the output recognition result.
Afterwards, the retransmission unit in the wireless access network Central Shanxi Plain is removed special identifier in the described query statement and prosecution terminal number, and it is packaged into new query statement (note), according to the recognition result of described recognition unit output, described new query statement is forwarded to corresponding prosecution terminal again.
After the prosecution terminal was received query statement, by performance element generated query feedback message (note), and every inquiry feedback message only carried a function information (promptly what functions are this prosecution terminal have just generate how many bar inquiry feedback messages).For example: described inquiry feedback message comprises, the type of message sign of 2 bytes, the function numbering of 2 bytes, the function title of 20 bytes, the Function Identification of 20 bytes, the end-of-message character of 1 byte.
But the prosecution terminal one by one sends inquiry feedback message by wireless access gateway to the controlling party terminal according to the identification information of number, address information or this controlling party terminal of other unique identification of controlling party terminal.
The controlling party terminal is obtained the function information of this prosecution terminal from the inquiry feedback message, and is stored in the information memory cell.
When the user need control the prosecution terminal with wireless mode, then from information memory cell, select prosecution terminal and function information thereof, and the corresponding steering order (note) that generates of the steering order generation unit in the indication controlling party terminal.Comprise successively in the described steering order: the special identifier of preceding 3 bytes, the prosecution terminal number of 2 bytes, the type of message sign of 2 bytes, the Function Identification of 20 bytes (function information of selecting with the user is corresponding), 1 byte message end mark; Whether what further also can comprise 1 byte requires feedback bit (in this example require feedback).
After generating described steering order, the controlling party terminal sends to wireless access gateway with this instruction.
S203, wireless access gateway are transmitted steering order to the prosecution terminal.(identical) with S103
S204, prosecution terminal are carried out corresponding operation according to steering order.
After the prosecution terminal is received steering order, therefrom obtain the Function Identification (function information of selecting with the user is corresponding) of 20 bytes by performance element, and carry out corresponding operation in view of the above.
Owing to require feedback information (for example: the feedback bit that whether requires in the described steering order is set to 1) in this example, after so the prosecution terminal is carried out corresponding operation, utilize feedback unit to generate feedback message (note), and send to the controlling party terminal by wireless access gateway.Described feedback message can be an execution result and/or according to predetermined feedback policy feedback oneself state.Described feedback policy is for example: feedback regularly, feedback when prosecution terminal oneself state changes.
Method example three: the function quantity that the controlling party terminal is supported according to the prosecution terminal, send the query statement of respective numbers, inquiring about all function informations, and prosecution terminal feedback execution result.
S301, prosecution endpoint registration.(identical) with S101
S302, controlling party terminal are to the wireless access gateway sending controling instruction.
The controlling party terminal is according to the function information of the prosecution terminal of user's desire inquiry, and the function quantity of this prosecution terminal support, generates the query statement of respective numbers by query unit.Comprise successively in the described query statement: the special identifier of preceding 3 bytes, the prosecution terminal number of the desire inquiry of 2 bytes, the type of message sign of 2 bytes, 1 byte information end mark.
After the query unit generated query instruction (note), send it to wireless access gateway one by one.
Wireless access gateway discerns whether carry special identifier in the query statement of receiving one by one by its built-in recognition unit, carries special identifier in this example, represents that promptly this instruction need be forwarded to other prosecution terminal; Described recognition unit is further discerned the prosecution terminal number in each query statement, and exports recognition result one by one.
Afterwards, the retransmission unit in the wireless access network Central Shanxi Plain is removed special identifier in each query statement and prosecution terminal number, and it is packaged into new query statement (note) one by one, according to the recognition result of described recognition unit output, described new query statement is forwarded to corresponding prosecution terminal again.
After the prosecution terminal is whenever received a query statement, generate an inquiry feedback message (note), and according to functional sequence, every inquiry feedback message only carries a function information by performance element.For example: described inquiry feedback message comprises, the type of message sign of 2 bytes, the function numbering of 2 bytes, the function title of 20 bytes, the Function Identification of 20 bytes, the end-of-message character of 1 byte.
This step subsequent content is identical with S202.
S303, wireless access gateway are transmitted steering order to the prosecution terminal.(identical) with S103
S304, prosecution terminal are carried out corresponding operation according to steering order.(identical) with S204
In above-mentioned three method examples, the controlling party terminal also can send instruction to the prosecution terminal by voice suggestion or dual tone multi-frequency dtmf, and the prosecution terminal is with note form or DTMF feedback information.So still, can realize two-way communication.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.