Summary of the invention
The object of the invention is to address the deficiencies of the prior art, provide a kind of and can inquire about the real-time room information in hotel in online application service system and carry out the method for subscribing, the technical scheme of employing is as follows:
Utilize robot to realize a method of automatically booking rooms in real time, comprising:
S1. by the workflow of controller setting robot, and the operating right to the hotel's booking system be electrically connected with it;
S2. robot is received by operation flow Fusion Module and stores described workflow;
S3. user logs in online application service by user terminal, initiates request;
S4. online application service system sends request instruction to controller, and robot obtains request instruction by command operating and feedback module and sends to the behavior coordination control module in robot;
S5. behavior coordination control module carries out understanding analysis to the content of request instruction, and whether recognition instruction content is that hotel books rooms, and recognition result is sent to the operation flow Fusion Module of robot; Robot intercepts the output image of hotel's booking system by image/video identification module simultaneously, and identifies output image content, then recognition result is sent to operation flow Fusion Module;
S6 operation flow Fusion Module determines whether activate hotel's workflow according to the request instruction content recognition result received and hotel's booking system output image content recognition result, makes behavior coordination control module according to this flow process coordinating robot work in every;
S7. behavior coordination control module triggers keyboard and mouse signal imitation module by communication module to booking system front end, hotel transmission keyboard mouse emulation signal according to understanding the request instruction after analyzing, thus simulation hotel staff is in the input operation of hotel's booking system, the request of completing user;
S8. robot captures the output content of hotel's booking system display, by controller, the output content of hotel's booking system is returned to user terminal, carries out next step operation, return S4 for user.
Robot is electrically connected with booking system front end, hotel, be equal to the front end staff of hotel's booking system, simulate it and room information that user will inquire about or subscribe is input to hotel's booking system, and user is informed in inquiry or the result of subscribing, thus help user to complete and book rooms.For hotel, the front end of hotel's booking system is only needed to be electrically connected with robot, just can in online application service system for consumer provides the service of booking rooms on the net, when the booking system in You Duojia hotel is docked with online application service system by robot, consumer just can contrast the room in these hotels and order in this online application service system.Robot is used online application service system to be docked with hotel's booking system, development company without the need to online application service system docks respectively with the development company of Ge Jia hotel booking system, eliminate the work of a large amount of very complicated, improve the efficiency of system docking.Simultaneously because robot is just electrically connected with the front end of hotel's booking system, can not the database of direct control hotel booking system, therefore can not bring any potential safety hazard to hotel's booking system.
As preferably, described robot comprises behavior coordination control module, described behavior coordination control module has been electrically connected command operating and feedback module respectively, image/video identification module, operation flow Fusion Module, keyboard and mouse signal imitation module with for carrying out with booking system front end, hotel the communication module that communicates, described operation flow Fusion Module has also been electrically connected the controller for configuration of robotic workflow, described keyboard and mouse signal imitation module is also electrically connected with communication module, described command operating and feedback module are for the instruction that receives from user side and send to behavior coordination control module, described image/video identification module is for obtaining the interface image of booking system front end, hotel, and identify the business tine of booking system front end, hotel, operation flow Fusion Module is sent to by behavior coordination control module, the command content of described behavior coordination control module identification user also sends to operation flow Fusion Module, described operation flow Fusion Module activates corresponding workflow according to described business tine and command content, behavior coordination control module is made to follow this workflow, instruction calls keyboard and mouse signal imitation module according to user sends keyboard mouse signal to booking system front end, hotel, thus the operation of staff in booking system front end, hotel of simulation booking system front end, hotel.
In actual applications, by the workflow of controller setting robot, make it simulate to be responsible for the booking rooms request of the work flow process user of the hotel staff that user books rooms, during robot execution Client-initiated request, follow this workflow.User initiates request by the user terminal such as computer, mobile phone to online application service system, and online application service system sends request instruction to controller.The command operating of robot and feedback module obtain this instruction and send to behavior coordination control module subsequently; Behavior coordination control module is carried out understanding to instruction and is split, and whether the content of recognition instruction is that hotel books rooms instruction; Whether image/video identification module obtains the interface of hotel's booking system and identifies interface content, be the interface that hotel books rooms, by behavior coordination control module, recognition result sent to operation flow Fusion Module; If the content of request instruction and interface content Dou Wei hotel book rooms, then operation flow Fusion Module activates the workflow that hotel books rooms, and constantly carry out information interaction with behavior coordination control module, make behavior coordination control module according to the work in every of this workflow coordinating robot, the process that robot process user is asked personalizes.After the request instruction received splits by behavior coordination control module, analysis and understanding is carried out to appropriate section, keyboard and mouse signal is produced according to the call by result keyboard and mouse signal imitation module obtained, booking system front end, hotel is sent to finally by communication module, the input operation of analog operation personnel on hotel's booking system, the request of completing user.
Traditional system docking method, as connection or software interface docking, is all dock for the booking system rear end, hotel of docking, and costly, workload is large, and Hui Gei hotel booking system brings serious potential safety hazard in docking.And the present invention is electrically connected with user terminal and booking system front end, hotel respectively by robot, user initiates request in a certain online application service system, online application service system sends request instruction to controller accordingly, robot receives request instruction, after understanding and analyzing, call keyboard mouse signal analog module and produce keyboard and mouse signal, and be finally sent to booking system front end, hotel, the input operation of simulation booking system front end, hotel staff in booking system front end, hotel, make the request of hotel's booking system response user, complete the docking between two systems.Also be, the present invention is electrically connected with booking system front end, hotel by robot, robot simulation front end staff is made to receive the request of user and the process of finishing the work, complete docking between different online application service systems with target hotel booking system, so, without the need to docking booking system rear end, hotel, just the docking between two systems is completed, decrease mating operation amount, reduce docking expense, more can not bring potential safety hazard to docking system.By keyboard and mouse signal imitation module to hotel's booking system input keyboard mouse emulation signal, allow hotel's booking system identification keyboard mouse emulation signal especially as the real keyboard and mouse of access, realize the input operation of booking system front end, robot simulation hotel staff on booking system front end, hotel.Use robot to replace the change of people's monitor data and write data, avoid manually-operated error, and can long time continuous working.
As preferably, described communication module is wire communication module or wireless communication module.
Configurable various communication interface in robot, now robot is electrically connected with booking system front end, hotel by order wires such as USB line, VGA line, Serial Port Line and parallel port lines, is also electrically connected with booking system front end, hotel by the wireless communication module such as bluetooth, WiFi.
As preferably, described controller is that the cloud framework that can simultaneously be electrically connected with several robots controls service platform.
As preferably, information corpus is stored in described behavior coordination control module, described behavior coordination control module is called keyboard mouse signal analog module according to request instruction and is specially to booking system front end, hotel transmission keyboard mouse signal: mated with the information in information corpus by request instruction, call keyboard mouse signal analog module send keyboard mouse signal to booking system front end, hotel according to matching result.
After behavior coordination control module carries out understanding analysis to the request instruction received, it mated with the information in information corpus, information corpus is just equivalent to dictionary, stores a large amount of words or the semantic information of picture.If the match is successful, call keyboard mouse signal analog module and produce keyboard and mouse signal according to corresponding semanteme and be finally sent to booking system front end, hotel, the operation of front end staff on booking system front end, hotel thus simulation hotel books rooms.
As preferably, described keyboard and mouse signal imitation module sends keyboard mouse emulation signal during to booking system front end, hotel, the coding rule of the input method used according to hotel's booking system sends keyboard mouse emulation signal to booking system front end, hotel, thus the input operation on simulation booking system front end, Ren hotel, realize docking of online application service system and hotel's booking system.
The input method that different hotel's booking systems uses is likely different, the coding rule of the input method that robot therefore must be made to use according to booking system front end, hotel sends keyboard mouse emulation signal to booking system front end, hotel, otherwise hotel's booking system can not identify this signal, thus the service request of user can not be responded.
As preferably, described robot also comprises the infomation detection comparison module be electrically connected with behavior coordination control module and operation flow Fusion Module respectively, described infomation detection comparison module compares for the semanteme stored by the information corpus of the flow process set by the output image of booking system front end, hotel and operation flow Fusion Module and behavior coordination control module, and comparative result is sent to behavior coordination control module, determine next step operation of robot for behavior coordination control module.
The picture material that booking system front end, infomation detection comparison module Hui Jiang hotel exports and the operation flow of operation flow Fusion Module and the semanteme of information corpus compare, and comparative result is sent to behavior coordination control module, according to comparative result, behavior coordination control module determines that robot works on according to the operation flow set or carries out other operation.
As preferably, described behavior coordination control module has also been electrically connected alarm module, when infomation detection comparison module detects that the semanteme of the workflow that the output image content of booking system front end, hotel and operation flow Fusion Module set and information corpus is all inconsistent, behavior coordination control module trigger alarm module is reported to the police.
If the output image content when booking system front end, hotel is not within the scope set by operation flow, and when also cannot match with the semanteme of information corpus, behavior coordination control module just trigger alarm module is reported to the police.
As preferably, described robot also comprises the peripheral device signals be electrically connected with behavior coordination control module and gathers sending module, described peripheral device signals gathers sending module and gathers peripheral device signals, and Reality simulation peripherals sends peripheral device signals by behavior coordination control module to booking system front end, hotel, make the function needing access peripherals to use in hotel's booking system, also normally can use when reconfiguration robot, realize the docking between different hotels booking system.
Some steps are had to need access peripherals just can complete in the booking system in some hotel, the present invention is provided with peripheral device signals and gathers sending module, gathering sending module and booking system front end, hotel by peripheral device signals, constantly to carry out signal mutual, make peripheral device signals gather sending module dynamic enumeration and become real peripherals, make hotel's booking system peripheral device signals be gathered sending module and be identified as true peripherals, by sending peripheral device signals to this module, this module sends to booking system front end, hotel peripheral device signals again, hotel's booking system front end receiver peripheral device signals as receive true peripherals produce signal the same, make to need in hotel's booking system to access the function that true peripherals could use also can normally use when reconfiguration robot, also namely have employed that the mode of simulating signal is virtual dissolves input-output device and function thereof, thoroughly solve all on hardware of robot and docking system and dock problem.
As preferably, described robot also comprises the peripheral device signals memory module be electrically connected with behavior coordination control module, and described peripheral device signals gathers sending module and has been electrically connected true peripherals.
As preferably, described peripheral device signals gather sending module comprise that camera signals gathers sending module, snap instrument signals collecting sending module, scanner signals gathers sending module, printer signal gathers sending module and IC-card reader-signal gathers in sending module one or more; Described peripheral device signals memory module comprise in camera signals memory module, snap instrument signal storage module, scanner signals memory module, printer signal memory module and IC-card reader-signal memory module one or more; Described true peripherals comprise in camera, snap instrument, scanner, printer and IC-card card reader one or more.
For printer, when a certain step hotel booking system requires that starting printer prints, now printer signal gathers transmitter module and receives this signal by behavior coordination control module, according to the final drive of docking hotel's booking system, recall acknowledgement mechanism identical with it, synchronously return printer real-time status signal, through test for a long time, set up logical relation accurately, dynamic enumeration becomes the different printers corresponding from different hotels booking system, booking system identification printer signal in hotel's is made to gather sending module the same as identifying real printer, print signal is sent to printer signal and gathers sending module, originally the function needing access printer to use still can normally be used when reconfiguration robot.By the virtual printer of the mode of simulating signal and function thereof, solve robot and hotel's booking system and dock problem on hardware.Meanwhile, printer signal gathers sending module and print signal can be saved in printer signal memory module, and print signal can print by user time in need, realizes the function that time delay prints.
When printer signal gathers sending module image data, printer emulation is according to the agreement with hotel's booking system, match and synchronously return printer real-time status, thus the signal that collection hotel booking system sends to printer, and when launching print signal to real printer, simulation hotel booking system uses multithreading asynchronous transmission to send print signal to real printer, to solve obstructing problem, raises the efficiency.
Robot gathers sending module by loading IC-card reader-signal, when when operating a certain step, hotel's booking system requires to start IC-card card reader, IC-card reader-signal gathers sending module and receives this signal, and it is mutual constantly to carry out signal with booking system front end, hotel by behavior coordination control module, dynamic enumeration becomes real IC-card card reader, and by behavior coordination control module to booking system front end, hotel sending card command signal, booking system identification this signal in hotel's is the same as accessing real IC-card read write line, originally the systemic-function needing access IC-card read write line to use still can normally be used when cancelling IC-card read write line reconfiguration and entering robot.
Compared with prior art, beneficial effect of the present invention:
1, by robot, online application service system is docked with hotel's booking system, when the data of hotel's booking system change, robot captures the data of change and is written to online application service system, so, user just can view the real-time room information in Duo Jia hotel and subscribe in online application service system.Use robot to replace the change of people's monitor data and write data, avoid manually-operated error, and can long time continuous working.
2, robot docking is equal to physical isolation, the database of robot not direct control hotel booking system, also on the main frame of hotel's booking system of docking and server, any software and hardware can not be installed, therefore dock with the interface of non-physical isolation and compare with connection, robot docking be prevent virus and hacker attack or data prevent divulge a secret in all there is unrivaled superiority, any potential safety hazard can not be brought to docking system.
3, hotel's booking system and residing network environment thereof are without the need to doing any change or expansion, remain its original security system, effectively guarantee security and the confidentiality of data.
4, traditional docking requires that the Liang Jia development company of docking system sits down and understands the demand of docking, carry out a series of analysis to inquire into, analyze Liang Jia development company after inquiring into develop separately again, developed and carried out uniting and adjustment test and amendment afterwards again, required a great deal of time.And utilize robot to carry out system docking, only according to the flow process of the demand of docking and business operation, robot simply need be configured, generally can complete docking in several hours.
5, adopt robot docking, eliminate cooperation and communication work loaded down with trivial details between the development company of two systems and both sides' repeatedly round travel expenses produced, the docking enforcement time also shortens dramatically, and therefore implementation cost is more much lower than traditional docking mode.
6, traditional connection and software interface docking, the development company that must rely on docking system realizes, data interaction between two systems is limited by development company, and the docking utilizing robot to carry out between system, do not need to carry out linking up and coordinating with the development company of hotel's booking system, as long as hotel's booking system works well, docking service just can run well, not by the impact of other factors, whole process is independently controlled.
7, traditional docking is very high to the requirement of technician, and General Requirements skillfully grasps the professional knowledges such as computer development, must possess certain project experiences simultaneously, and adopt robot to dock, then generally understand that the personnel of computation can implement.
8, employing robot carries out the docking between system, and not by the restriction of docking system itself, be not also subject to the restriction of docking system development company and developer thereof, any system can use robot to dock.
9, use robot carries out the docking between different system, makes the docking content between system have good extendability, to the content of amendment docking, is undertaken setting by controller.
Embodiment
Below in conjunction with drawings and Examples, the present invention is described in further detail.
Embodiment:
As depicted in figs. 1 and 2, a kind of robot that utilizes realizes the method for automatically booking rooms in real time, comprising:
S1. by the workflow of controller setting robot, and the operating right to the hotel's booking system be electrically connected with it;
S2. robot is received by operation flow Fusion Module and stores described workflow;
S3. user logs in online application service by user terminal, initiates request;
S4. online application service system sends request instruction to controller, and robot obtains request instruction by command operating and feedback module and sends to the behavior coordination control module in robot;
S5. behavior coordination control module carries out understanding analysis to the content of request instruction, and whether recognition instruction content is that hotel books rooms, and recognition result is sent to the operation flow Fusion Module of robot; Robot intercepts the output image of hotel's booking system by image/video identification module simultaneously, and identifies output image content, then recognition result is sent to operation flow Fusion Module;
S6 operation flow Fusion Module determines whether activate hotel's workflow according to the request instruction content recognition result received and hotel's booking system output image content recognition result, makes behavior coordination control module according to this flow process coordinating robot work in every;
S7. behavior coordination control module triggers keyboard and mouse signal imitation module by communication module to hotel's booking system transmission keyboard mouse emulation signal according to understanding the request instruction after analyzing, thus simulation hotel staff is in the input operation of hotel's booking system, the request of completing user;
S8. robot captures the output content of hotel's booking system display, by controller, the output content of hotel's booking system is returned to user terminal, carries out next step operation, return S4 for user.
As shown in Figure 3, described robot comprises behavior coordination control module, described behavior coordination control module has been electrically connected command operating and feedback module respectively, image/video identification module, operation flow Fusion Module, keyboard and mouse signal imitation module with for carrying out with booking system front end, hotel the communication module that communicates, described operation flow Fusion Module has also been electrically connected the controller for configuration of robotic workflow, described keyboard and mouse signal imitation module is also electrically connected with communication module, described command operating and feedback module are for the instruction that receives from user side and send to behavior coordination control module, described image/video identification module is for obtaining the interface image of booking system front end, hotel, and identify the business tine of booking system front end, hotel, operation flow Fusion Module is sent to by behavior coordination control module, the command content of described behavior coordination control module identification user also sends to operation flow Fusion Module, described operation flow Fusion Module activates corresponding workflow according to described business tine and command content, behavior coordination control module is made to follow this workflow, instruction calls keyboard and mouse signal imitation module according to user sends keyboard mouse signal to booking system front end, hotel, thus the operation of staff in booking system front end, hotel of simulation booking system front end, hotel.
Described communication module is wire communication module.Described wire communication module comprises display interface device, network interface, keyboard interface etc., and robot is electrically connected with booking system front end, hotel by order wires such as USB line, VGA line, Serial Port Line and parallel port lines.
Described hotel booking system has several, and is deployed on different main frame, and described controller is that the cloud framework that can simultaneously be electrically connected with several robots controls service platform.
Information corpus is stored in described behavior coordination control module, described behavior coordination control module is called keyboard mouse signal analog module according to request instruction and is specially to booking system front end, hotel transmission keyboard mouse signal: mated with the information in information corpus by request instruction, call keyboard mouse signal analog module send keyboard mouse signal to booking system front end, hotel according to matching result.
When described keyboard and mouse signal imitation module sends keyboard mouse emulation signal to hotel's booking system, the coding rule of the input method used according to hotel's booking system sends keyboard mouse emulation signal to hotel's booking system, thus the input operation on simulation Ren hotel booking system.
Described robot also comprises the infomation detection comparison module be electrically connected with behavior coordination control module and operation flow Fusion Module respectively, described infomation detection comparison module compares for the semanteme stored by the information corpus of the flow process set by the output image of booking system front end, hotel and operation flow Fusion Module and behavior coordination control module, and comparative result is sent to behavior coordination control module, determine next step operation of robot for behavior coordination control module.
Described behavior coordination control module has also been electrically connected alarm module, when infomation detection comparison module detects that the semanteme of the workflow that the output image content of booking system front end, hotel and operation flow Fusion Module set and information corpus is all inconsistent, behavior coordination control module trigger alarm module is reported to the police.
Described robot also comprises the peripheral device signals be electrically connected with behavior coordination control module and gathers sending module, described peripheral device signals gathers sending module and gathers peripheral device signals, and Reality simulation peripherals sends peripheral device signals by behavior coordination control module to booking system front end, hotel, make the function needing access peripherals to use in hotel's booking system, also normally can use when reconfiguration robot, realize the docking between different hotels booking system.
Described robot also comprises the peripheral device signals memory module be electrically connected with behavior coordination control module, and described peripheral device signals gathers sending module and has been electrically connected true peripherals.
As shown in Figure 4, described keyboard and mouse signal imitation module comprises arm processor, and described arm processor has been electrically connected mu balanced circuit, crystal oscillating circuit respectively, has restarted circuit and level shifting circuit, and described level shifting circuit has also been electrically connected RS232 serial ports.
As shown in Figure 5, described peripheral device signals gathers sending module and comprises arm processor, and described arm processor has been electrically connected crystal oscillating circuit, mu balanced circuit respectively, restarts circuit, SPI
-flash and level shifting circuit, described level shifting circuit has also been electrically connected RS232 serial ports.