Robots Grid Network
What Concept?
Information transmission of human work is realized by two-way conversation from person to person.
Similarly, in order for a robot to do all the work of a person, it needs to communicate bidirectionally from robot to robot.
For this reason, We thought that the communication network of human work is almost the same as the grid network.
So we designed the robot grid network.
The IA Robot (RBF Host) can be used as a server for processing instructions or as a client for directing instructions.
The control direction (arrow in the above figure) can be set freely.
It can be developed as an autonomous robot assuming that the PC is suddenly disconnected from the network.
By having multiple robot IDs(RBF License No.), you can control only among the same IDs.
All IA Robot communications have data compressed and encrypted.
Communication path between IA Robots by communication relay
A PC converted into an IA Robot by RBF can relay the communication path between IA Robots to other robots.
In addition, RBF allows you to communicate with each IA robot via reverse NAT function, even if the segments are different depending on where multiple IA robots are located, or even if they are located inside(private IP lan) a NAT device.
TCP relay connection How to specify in the program
A program can easily establish a TCP relay connection by specifying the communication relay path as a character array in the argument of the TCP relay communication open function.
An example of array specification in the above figure.
( "10.0.0.9", "10.0.0.8", "10.0.0.7", "10.0.0.3", "10.0.0.2", "10.0.0.1" )
|
Communication failure support for TCP relay communication path
If a network failure occurs in the TCP relay communication path, the target IA Robot can be reached by changing the TCP relay path.
If the TCP Relay Open function in the program encounters a connection error, the desired IA Robot can be reached by reconnecting via a different route that was reachable beforehand, depending on the conditions of the network configuration.
Array specification of normal route.
( "10.0.0.9", "10.0.0.8", "10.0.0.7", "10.0.0.3", "10.0.0.2", "10.0.0.1" )
|
Array specification of another route in the above figure.
( "10.0.0.9", "10.0.0.8", "10.0.0.4", "10.0.0.3", "10.0.0.2", "10.0.0.1" )
|
Array specification of another route.
( "10.0.0.9", "10.0.0.5", "10.0.0.4", "10.0.0.3", "10.0.0.2", "10.0.0.1" )
|
Redundant configuration of IA Robots can be easily realized by using route change of TCP relay communication.
RBF Data Flow Diagram
The RBF API runs on the Final Destination (Terminal) RBF Host to which TCP is connected.
Robowiser Framework(RBF) APIs List
IA Robot APIs List
1: API methods for TCP connection Start, End, and Last Error.
API Name |
Explain |
new() |
Robotic base API create an instance of the class. |
Open() |
Open relay TCP session. (RBF Original: Robots Grid network) |
Close() |
Close relay TCP session. (RBF Original: Robots Grid network) |
LastErrorCode() |
Get the last failed error code of the RBF API method. |
LastErrorMsg() |
Get the last failed error message of the RBF API method. |
2: API methods for getting OS and process resources.
API Name |
Explain |
GetActiveProcessNum() |
Gets the number of running processes. |
GetPID() |
Gets the PID of running processes. |
ExistPID() |
Gets whether the PID of the running process exists. |
GetCPUusageRate() |
Gets the CPU usage for the specified PID or the entire OS. |
GetPIDMemoryUsage() |
Gets the memory usage for the specified PID. |
GetOSMemorySize() |
Gets the maximum physical memory size and maximum virtual memory size installed in the OS. |
GetOSMemoryUsage() |
Gets the physical memory usage and virtual memory usage of the OS. |
GetDiskSize() |
Gets the disk capacity and disk usage. |
GetNetworkTraffic() |
Gets the send / receive volume and link speed of network devices. |
GetCmdout() |
Execute the command to get the row and column data that is output by default. |
RegEdit() |
Edit the Windows registry. |
DeleteFile() |
Delete the file. |
FileProperty() |
Get / Set the property information of the file / directory (folder). |
AddRemovePrograms() |
Get / Uninstall the list of installed Windows software. |
AccessControlEdit() |
Edit the file / folder / registry Access Control List (ACL). |
GetDriveLetterInfo() |
Gets the disk device information for the drive letter. |
GetUSBDeviceInfo() |
Get information about USB devices that have been connected to the OS so far. |
GetWindowsVersion() |
Get the version of Windows. |
3: API methods for OS or process control.
API Name |
Explain |
RBFStartupCTL() |
Change the operating mode of the RBF server. |
ExecProcess() |
Start a process or executable. |
KillProcess() |
Terminate the process or executable. |
Shutdown() |
Shut down or restart the OS. |
WindowsAutoLogon() |
Set / Cancel automatic logon when Windows starts. |
RejectDriveLetter() |
Detach the drive letter disk USB device. |
WaitForSignal() |
Receive signal from IA Robot. (RBF Original) |
SendSignal() |
Send a signal to the IA Robot. (RBF Original) |
4: API methods for communication.
API Name |
Explain |
Ping() |
Send Ping. |
MagicPacketSend() |
Send a magic packet. |
FileTransfer() |
Transfer the file to the IA Robot (PC). |
SnmpTake() |
Request OID from the SNMP agent and get OID data. |
WaitForSnmpTrap() |
Receives SNMP Trap data. |
GetMSNetComputers() |
Gets a list of computer names on the Microsoft network. |
SharedFolder() |
Create, Connect, and Disconnect shared folders. |
HostDiscovery() |
Finds the RBF host(IA Robot) with the specified host name and gets the IP address. |
GetHttpContents() |
Gets the HTML source for the specified URL. |
SaveHttpURLtoFile() |
Saves the specified web page or link destination to a file. |
5: API methods for email. (Supports SSL, TLS, OAuth2)
API Name |
Explain |
SendMail() |
Send an email. |
GetPop3MailList() |
Gets email list of mailbox. |
GetPop3MailRecv() |
Receive one mail from mailbox. |
DelPop3Mail() |
Delete one mail from mailbox. |
6: API methods for Windows UI control
API Name |
Explain |
FindWindowHnd() |
Get the window handle to be controlled. (Include Google Chrome, microsoft Edge, FireFox ...) |
SetWindowSizeAdjust() |
Change the display position, width, and height of the displayed window. |
KeyboardReset() |
Resets the key state of the keyboard. |
KeyboardTyping() |
Keyboard input (Keystroke) to the specified window handle. |
MouseClick() |
Clicks the object element of the specified window handle or object element.
Window text object or graphic patterns or OCR or etc ....
|
UIAuto() |
Perform UI operations on the window screen with UI Automation.
Operate the UI of the browser Microsoft Edge or Google Chrome or FireFox or etc. |
ClipboardText() |
Reads and writes text characters on the clipboard. |
WindowCapture() |
Captures the specified window screen. |
GetWindowPixcel() |
Gets the pixel RGB value of the window screen. |
GetWindowText() |
Gets the text character attached to the window handle. |
GetTextOCR() |
Get the screen text characters, text display coordinates and image file by OCR. |
KMILock() |
Disables or Enable mouse click / keyboard input. |
MsgWindow() |
Display a message window. |
Speech() |
Speaks the specified text character in voice synthesis. |
PlaySound() |
Play the sound file. |
VoiceCmd() |
Processed according to the voice input from the microphone. |
RBFHostStatus() |
Gets the display status of the window UI screen of the RBF host(IA Robot). |
WindowStation() |
Controls the window station. |
QuickRobo() |
Run the UID file created by RBF QuickRobo. |
7: API methods for creating and editing Excel files
API Name |
Explain |
ExcelOpen() |
Launch the Excel app and open the Excel file. |
ExcelSheet() |
Edit the Excel sheet. |
ExcelGetRange() |
Get (downloads) the property information of the cell range of the sheet from the Excel app. |
ExcelUploadRange() |
Upload (set) the property information of the get cell range to the Excel app. |
ExcelGetPtyDat() |
Gets the property value of the obtained cell. |
ExcelSetPtyDat() |
Set the property value of the obtained cell. |
ExcelSetBorder() |
Set borders for a range of cells on a sheet. |
ExcelSave() |
Save the Excel file. (You can also convert and save it as a PDF file.) |
ExcelClose() |
Close the Excel app. |
8: API methods for IE mode of Edge (Using IE components)
API Name |
Explain |
IE_NewURL() |
Display the URL in Internet Explorer (IE). |
IE_TagClick() |
Click the specified Tag displayed in IE. |
IE_InputText() |
Input or Get text characters in the IE Input Tag. |
IE_BusyWait() |
Wait for IE to finish loading the HTML content. |
IE_GetHTMLSource() |
Get the HTML source displayed in IE. |
IE_GetTableDat() |
Gets the cell value of the <table> Tag displayed in IE. |
9: API methods for Windows Sensors.
API Name |
Explain |
GetGPSLocation() |
Get the location information (GPS) of the PC. |
EarthquakeAlert() |
Processing will start with an emergency earthquake warning. |
10: Utility API methods.
API Name |
Explain |
ZipFile() |
Create/unzip the zip file. |
HiddenString() |
Encrypts / decrypts the string using the common key method. |
WaitForTime() |
Stops (blocks) the program until the specified time. |
IsMatchWildcardString() |
Wildcard search for strings. |
LogInit() |
Make initial settings to record logs in the specified file. |
Printf() |
Write a message to the log file. |
InputWindow() |
A message box or input box will appear, waiting for input. |
11: API methods for Term (Telnet / SSH) control.
API Name |
Explain |
new() |
Robotic base API create an instance of the class. |
Open() |
Open relay TCP session. (RBF Original: Robots Grid network) |
Close() |
Close relay TCP session. (RBF Original: Robots Grid network) |
LastErrorCode() |
Get the last failed error code of the RBF API method. |
LastErrorMsg() |
Get the last failed error message of the RBF API method. |
Login() |
Log in to the Telnet / SSH server. |
Print() |
Send the command to the Telnet / SSH server. |
Waitfor() |
Wait until you receive the specified match character. |
Gets() |
Gets the data stored in the receive queue. |
RecvFlush() |
Deletes all the data stored in the receive queue. |
SetCmdPrompt() |
Set the regular expression that matches the command prompt. |
SetTermTimeout() |
Set the communication timeout with the Telnet / SSH server. |
12: Edge AI camera control API method.
API Name |
Explain |
AICamOpen() |
Opens a camera device. |
AICamClose() |
Closes the camera device. |
AICamReadImg() |
Reads the camera video from the camera device. |
AICamShowImg() |
Displays an image of the MAT name on the window screen. |
AICamDestroyWindow() |
Close the window screen in which the image is displayed. |
AICamCloneCopy() |
Duplicate and copy an image from one MAT name to another MATS name. |
AICamWriteFileImg() |
Save the image with the MAT name to a file. |
AICamRecVideo() |
Save the image with the MAT name to a video file. |
AICamDrawText() |
Draw text characters on the image of the MAT name. |
AICamDrawShape() |
Draw shapes on the image of MAT name. |
AICamDrawTimestamp() |
Draw a timestamp on the image of the MAT name. |
AICamSetBrightImg() |
Change the contrast and brightness of the image named MAT. |
AICamSetFilterImg() |
Noise filtering of the image in MAT name. |
AICamSetBinImg() |
Converts the image with MAT name to binarized (black and white). |
AICamDetectEdgeImg() |
Detect edges from an image with MAT name. |
AICamDetectContours() |
Detect contours from an image with MAT name. |
AICamDetectFeatures() |
Detect feature points from an image with MAT name. |
AICamSetHSVImg() |
Converts the image with the MAT name to HSV. |
AICamDetectOnnx() |
Detect objects in images using ONNX. |
* The display of the API list above may differ from the actual one.
RBF API sample program collection site
Software that analyzes screens and application operations controlled during development using the RBF API and simulates automatic keyboard and mouse control
For RBF Application Analyzer, please refer to the User's Guide.
User's Guide
Back