A kind of long distance service system and method based on instantaneous communication system
Technical field
Patent of the present invention relates to a kind of long distance service system and method, particularly a kind of long distance service system and method based on instantaneous communication system.
Background technology
Remote service is advanced manufacturing and automatic technology and emphasis, core and the key technology of calculating the field of cooperating.
Existing remote service comprise based on the Internet remote procedure call (RPC) and based on the Web Service of Web, they all need IP fixing or that dynamically know address or Web network address, thereby cost is higher.
Instant messaging (Instant Message, IM) system is one of main interpersonal communication instrument in the Internet, and the remote service by IM is used, and the little i robot as famous MSN belongs to special I M remote service and uses.
The present inventor finds that RPC and Web service are not suitable for the ptp services operation, and the special purpose robot of IM realizes complexity, and their maintenance cost is all higher.
Summary of the invention
The purpose of this invention is to provide a kind of point-to-point simple and easy to do general long distance service system and method, make the netizen obtain better online service and experience.
For realizing purpose of the present invention, the invention provides a kind of long distance service system and method based on instantaneous communication system.Its step is as follows:
(1), is described machines configurations instantaneous communication system number in service-delivery machine deploy instantaneous communication system client;
(2) in the natural language change of webserver deploy service-delivery machine the storage system of functional interface description document;
(3) the instantaneous communication system user can send the natural language request to described service-delivery machine, so that its execution;
(4) after described service-delivery machine receives described natural language request, inquire about the interface description document of oneself, know the pairing functional software interface of described natural language, finish corresponding function.
The described webserver is the server of described instantaneous communication system.Described natural language change the interface description document corresponding with described service-delivery machine, can be by described machine access to write down its running status and execution result.Described natural language change the functional interface description document in the functional interface description document for functional interface has added corresponding natural language, described natural language is accepted than the easier user of allowing of interface.The functional interface description document that described user checks described service-delivery machine in the instantaneous communication system client, inquiry and study natural language request standard are by request of chat window editor natural language and transmission.During described machine run time version, can be written to executing state and result at any time in the described interface description document, return to the requestor carrying out done state message by the instant messaging pipeline again; After described request person received that machine is carried out end, the interface description document of consulting described machine was obtained this execution result.
A kind of long distance service system based on instantaneous communication system, comprise instantaneous communication system server, network and user client computer, it is characterized in that: also comprise service-delivery machine, in described service-delivery machine deploy instantaneous communication system client, be described machines configurations instantaneous communication system number; Also comprise the webserver, in the natural language change of webserver deploy service-delivery machine the storage system of functional software interface description document; The instantaneous communication system user can send the natural language request to described service-delivery machine, so that its execution; After described service-delivery machine receives described natural language request, inquire about the interface description document of oneself, know the pairing functional interface of described natural language, finish corresponding function.
The described webserver is the server of described instantaneous communication system.Described natural language change the interface description document corresponding with described service-delivery machine, can be by described machine access to write down its running status and execution result.Described natural language change the functional interface description document in the functional interface description document for functional interface has added corresponding natural language, described natural language is accepted than the easier user of allowing of interface.The functional interface description document that described user checks described service-delivery machine in the instantaneous communication system client, inquiry and study natural language request standard are by request of chat window editor natural language and transmission.During described machine run time version, can be written to executing state and result at any time in the described interface description document, return to the requestor carrying out done state message by the instant messaging pipeline again; After described request person received that machine is carried out end, the interface description document of consulting described machine was obtained this execution result.
In the present invention, the computer system that any software is realized can be transformed into point-to-point instant long distance service system, thereby provides special service by instantaneous communication system on the internet.
In the present invention, the computer system that software is realized is as long as the functional software interface description document of issue oneself just can provide own function service to the user by instantaneous communication system.
In long distance service system of the present invention, can the service object be set by editor's instantaneous communication system linkman set, can provide own function service to the instantaneous communication system specific user.
The invention enables the user can adopt natural language to follow long distance service system mutual, thereby have more compatibility.
The present invention has realized the remote service universal method based on instantaneous communication system, has expanded the application of instantaneous communication system, the interpersonal cooperation relation of the present invention complete simulating reality society, thereby prototype is more direct, realizes more simple effective.
Description of drawings
Fig. 1 is a system configuration schematic diagram of the present invention;
Fig. 2 is that the interface of the intelligent remote control gate under the present invention is described schematic diagram.
Embodiment
With reference to Fig. 1, a kind of long distance service system based on instantaneous communication system, comprise instantaneous communication system server 105, network 104, remote service computer 101 and user end computer 102,103, also comprise the webserver 106, the storage system of the functional software interface description document of remote service in the webserver 106 deploy instantaneous communication systems, described interface description document is corresponding with the instantaneous communication system number of remote service computer 101, and described interface description document can be viewed on user end computer 102,103 by the instantaneous communication system user; In remote service computer 101 deploy instant communication client systems, be instantaneous communication system number of remote service computer 101 configurations, described number is the unique identification of instantaneous communication system user at the described remote service computer 101 of user end computer 102,103 visits; The instantaneous communication system user can find the interface description document of described remote service computer 101 on user end computer 102,103, learn the natural language request command standard editor natural language request command of described interface description document, send to described server 101; After remote service person 101 receives described natural language request command, check the interface description document of oneself, obtain the pairing software module of described natural language request command, carry out described software module, finish the corresponding software function; Remote service person 101 writes oneself interface description document, the executing state that whether returns success to execution result; After requestor 102,103 request of receiving runs succeeded, can check 101 described interface document once more, obtain execution result.
Referring to Fig. 2, the interface of the intelligent remote control gate under the present invention is described signal, described door can the self closing state scope that turns clockwise be spent to 90 degree from 0 and is opened gradually, has a member variable angle to represent angle state when the place, Qianmen, and function getAngle () obtains current state; 3 member function: turnDeasil () turn clockwise and represent to open the door 45 degree in addition, and turnDeasil (integer n) turns clockwise and represents to open the door n angle, turn
Widdershins() is rotated counterclockwise and represents to close the door 0 degree.The requestor sends or the intelligence door receives " getting " or " get ", and intelligence door then call function getAngle () returns the present located angle to the requestor; The requestor sends or intelligence door receive " opening n " or " open n " wherein " n " be number, intelligence door then call function turnDeasil (n) is carried out and is turned clockwise, if carry out correctly then the residing angle of door this moment has increased n; The requestor sends or the intelligence door receives " pass " or " close ", and the intelligence door is call function turn then
Widdershins() carried out and to be rotated counterclockwise, if carry out correctly then the residing angle of door this moment is 0.
Here " getting ", " opening ", " opening n ", " pass " and " get ", " open ", " open n ", " close " are that the designer is the instant messaging language of this intelligence door design, therefore can predict, the designer prepares this door is promoted to the Chinese and english area.The designer can expand the use speech range of this intelligence door, so that support more user scope by for this intelligence door adds how different instant messaging language.
Embodiment 1: the remote service single open-door based on instantaneous communication system of the present invention, 1) in intelligence door deploy instant communication client system, configuration instantaneous communication system number, described number is the unique identification of this door of instantaneous communication system user capture; 2) the functional software interface description document of intelligence door is deposited in the functional software interface description document storage system of service-delivery machine in the instantaneous communication system of the webserver; 3) post sales, the owner of intelligent door edits the instantaneous communication system linkman set of intelligence door, and an intelligence requestor's that can accept and handle instant communication contacts set is set; 4) the instantaneous communication system user as the requestor follows intelligence door good friend's relation each other, can find the interface description document of described intelligent air condition device immediately, check the present situation of intelligence door, also can generate the natural language request according to the natural language standard editor in the described interface description document, such as, " open 30 ", send to described intelligence door; 5) after described intelligence door receives described request, consult the interface description document of oneself, know that current request is turnDeasil (30), then carry out it, finish the action of 30 degree that open the door; 6) described intelligence door can return the situation that its request of requestor is performed by the instant messaging pipeline, such as " opening 30 runs succeeded "; 7) the current angle condition information of described intelligent door knob writes in its interface description document at any time; 8) as requestor's instantaneous communication system user after receiving that request that described intelligence door returns is by the instant message of successful execution, the interface description document that can consult described intelligence door at any time is so that instant the grasp by the new state information of described intelligence door.
In this example, the user of intelligence door is by the instantaneous communication system on the Internet and its remote interaction, therefore be far from current plug-in type key with contact and non-contact IC card comparable.
In the same way, such as owner can be before getting home half an hour just send and regulate the temperature instruction to intelligent bathing water's device and intelligent air condition device, just have hot water to have a bath after getting home like this, indoor temperature also is adjusted to suitable state.Therefore owner can check and control the intelligence machine state of family whenever and wherever possible, whether closes the misgivings of household electrical appliances etc. after not worrying going out hastily.Intelligent appliance can no longer need to dispose special Infrared remote controller, the user is the smart machine by the instantaneous communication system client functionality of can surfing the Net only, as mobile phone, just can handle the intelligent service-delivery machine in all the present invention, thereby reduced the complexity that the user uses and learns, more removed the worries of the numerous appliance remote controls of Modern Family's keeping.
The present invention can be present device fabrication merchant, be converted into equipment operation service provider, and by the running status of monitor full time smart machine, it is qualified that the service performance of guaranteeing the smart machine produced is stablized.