Since I didn't receive any passive income, I decided to abandon the traditional open source plan and lost the domain name.
However, I will develop it for the public blockchain ETHEREUM. If there is subsequent development of this project, it will fully couple the value of the blockchain field!
I think it is a mistake to focus mainly on traditional automation, AI and intelligence.
-------------At 21/05/2022
Official website: WWW.OHSCE.ORG WWW.OHSCE.COM latest version V0.2.0.2 2017-05-10
Developer QQ group: 374756165 (new 2016-09) Donation: http://www.ohsce.com/index.php/company/
Official source code source address (get the latest official version released):
GITHUB: https://github.com/OpenIBC/Ohsce
GIT@OSC: https://git.oschina.net/SFXH/Ohsce #Open HI-REL Signal Communication Engine
PHP Ethernet (TCP/UDP/ICMP), RS232, RS485 communication can be widely used to directly or bridge various network engineering communications.
It is especially suitable for scenarios with high reliability requirements and where the host computer and terminal work together. Such as Internet of Things device communication, intelligent systems, industrial and automation systems, reliable network servers, central control & edge control & drivers.
Can run on Windows, Linux, OS X. It provides full functional support for Windows and is compatible with the automation ecosystem.
It does not pursue high performance too much and fully balances reliability and high performance.
It is inherently distributed and can be deployed on a large scale.
It can run powerful performance while ensuring the reliability of your network.
The procedural functional style framework has efficient features.
The writing style is especially familiar to industrial automation engineers, hardware engineers, Internet of Things engineers, and PHP engineers who pursue efficiency.
OHSCE open source code, you can use it for free under the framework of the OHSCE licensing agreement!
-------------------------------------------------- ----------------------------------
PHP Ethernet (TCP/UDP/ICMP), RS232, RS485 communications, can be directly or directly bridged a variety of network engineering communications.
It is especially suitable for the scene with high reliability, the upper computer and the end work together. Things such as equipment communications, intelligent systems, industrial and automation systems, reliable network server, central control & edge control & drive.
Can run on Windows, Linux, OS X. Windows provides a full range of functional support, and automated ecological affinity. Not too much pursuit of high performance, fully balanced reliability and high performance.
Natural support for distributed, large-scale deployment.
In the premise of ensuring the reliability of your network can run out of strong performance.
The framework of the process function style has the characteristics of high efficiency.
Special kind in industrial automation engineers, hardware engineers, network engineers, the pursuit of efficiency PHP engineer writing style.
OHSCE open source code, under the OHSCE license agreement framework you can use free! #quickstart
http://www.ohsce.com/index.php/page/qstar.html
1. Check whether the environment supports OHSCE
System: Windows/Linux/OSX
Recommendation: WINDOWSSERVER2008 and above UbuntuServer14.04LTS and above
PHP:5.4 and above recommended PHP5.4.9 and above
PHP extension:
Socket,Shmop,Curl
2. Modify the configuration file
/config/oibc_sce_config.php
3. Run the test program
3.1 A TCP server test program working on Ethernet:
<?php
ini_set('memory_limit',"88M");//Reset the memory size that php can use to 64M
set_time_limit(0);
ob_implicit_flush(1);
include('loadohsce.php');
$trya='ohsce_server_Example ';
function example(&$socket,$buf,$len,$zv){ //Callback function when data is received
global $trya;
echo $buf;
Ohsce_socketwrite($socket,$trya.'hi '.$buf);
return true;
}
function exampleaccept(&$socket,$ip,$port,$zv){ //Callback function when a new client arrives
global $trya;
Ohsce_socketwrite($socket,$trya.'Welcome'.$ip.':'.$port);
return true;
}
Ohsce_eng_socket_server($ohsceserver,'tcp',7626,'127.0.0.1','example','exampleaccept');//Create a TCP server resource binding 127.0.0.1:7626 and pass in the callback function
Ohsce_eng_socket_server_runtcp($ohsceserver); //Start running the corresponding client test program: