A kind of long distance service system and method
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 emphasis, core and the key technology of advanced manufacturing and technical field of automation.
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, thereby the cost height.
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.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 storage system of the functional interface description document of the described service-delivery machine of webserver deploy, described interface description document is corresponding with described machine;
(3) the instantaneous communication system user can find the interface description document of described machine, generates request according to the standard editor of described file, sends to described machine;
(4) after described machine receives described request, just finish corresponding function.
The described webserver is the server of described instantaneous communication system.Described software interface description document can be by described machine access to write down its running status and execution result.Described user checks the interface description document of described machine in the instantaneous communication system client.After described machine executes request, 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 instantaneous communication system 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, comprise instantaneous communication system server, network and user client computer, it is characterized in that: also comprise service-delivery machine,, be described machines configurations instantaneous communication system number in described service-delivery machine deploy instantaneous communication system client; Also comprise the webserver, in the storage system of the functional interface description document of the described service-delivery machine of webserver deploy, described interface description document is corresponding with described machine; The user can find the interface description document of described machine at client computer, generates request according to the standard editor of described file, sends to described machine; After described machine receives described request, just finish corresponding function.
The described webserver is the server of described instantaneous communication system.Described software interface description document can be by described machine access to write down its running status and execution result.Described user checks the interface description document of described machine in the instantaneous communication system client.After described machine executes request, 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 instantaneous communication system 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 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;
Embodiment
With reference to Fig. 1, a kind of long distance service 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 interface description document of long distance service system 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, generate request according to the standard editor of described interface description document, sends to described remote service person 101; After described remote service person 101 receives described request, just handle this request, 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 requestors 102,103 request of receiving runs succeeded, can check 101 described interface document once more, obtain execution result.
Embodiment 1: based on the intelligent air condition device of instantaneous communication system, 1) in intelligent air condition device deploy instant communication client system, configuration instantaneous communication system number, described number is the unique identification of this intelligent air condition device of instantaneous communication system user capture; 2) the functional interface description document of intelligent air condition device is deposited in the functional interface description document storage system of service-delivery machine in the instantaneous communication system of the webserver; 3) post sales, the owner of intelligent air condition device edits the instantaneous communication system linkman set of intelligent air condition device, and the requestor's that the intelligent air condition device can accept and handle instant communication contacts set is set; 4) described intelligent air condition device can be visited its interface description document at any time and be write down its operating state and operation result, can find the interface description document of described intelligent air condition device immediately as requestor's instantaneous communication system user, check the present situation of intelligent air condition device, also can generate request according to the standard editor of described interface description document, such as, freeze to 26 degree, send to described intelligent air condition device; 5) after described intelligent air condition device receives described request, judge whether the requestor belongs to the requestor's set that can accept and handle, if belong to, just handles this request, finishes the action of freezing to 26 degree; 6) described intelligent air condition device can be told the requestor situation that its request is performed by the instant messaging pipeline; 7) described intelligent air condition device as indoor temperature etc., writes current adjusting condition information in its interface description document at any time; 8) as requestor's instantaneous communication system user after receiving that request that described intelligent air condition device returns is by the instant message of successful execution, can consult the interface description document of described intelligent air condition device at any time, so that the instant information such as indoor temperature of being regulated of grasping by described intelligent air condition device.
In this example, the owner of intelligent air condition device is mutual with it by the instantaneous communication system on the Internet, therefore it is comparable to be far from current indoor Infrared remote controller, such as owner can be before getting home half an hour just send regulating command, the indoor temperature after getting home so just is adjusted to suitable state.Therefore in this example, owner can check and control the intelligent air condition device state of family whenever and wherever possible, whether closes the misgivings of air conditioner etc. after not worrying going out hastily.In this example, the intelligent air condition device can no longer need to dispose special 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.
Embodiment 2: remote service single open-door of the present invention, described door can the self closing state scope that turns clockwise be spent to 90 degree from 0 and are opened its interface descriptor: " { integer angle gradually; Int turnLeft (integer angle); IntturnRight (integer angle) } ", this object has a member variable angle to represent the opening angle that door is current, and member function turnLeft represents to open the door, and member function TrunRight represents to close the door.
The requestor controls the door operation of far-end by consulting the current state angle that this interface descriptor can be known described door by transmission interface instruction turnLeft, turnRight; After door receives described service request, promptly carry out action and change current state angle, and can return to the requestor to the result who whether runs succeeded; The requestor receive carry out return after, the interface descriptor that can consult described door is once more known new state.
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.