How php actively sends messages to the terminal now has such an application scenario, there is a php background information publishing system control terminal, used to control the outdoor information publishing Terminal (advertising machine, outdoor Display, etc.), when the customer clicks restart on the browser page, switches off the machine or performs other operations, how can I send this information to the terminal? I have read some push methods, or the cloud is in the fog. many of them need to be sent by the terminal first. can someone tell me? ------ Solution ------ how php actively sends messages to the terminal
Now there is an application scenario where php is used as the background information publishing system control terminal to control outdoor information publishing terminals (advertising machines, outdoor display screens, etc ), when a customer clicks restart on the browser page, switches the host, or performs other operations, how can I send this information to the terminal?
I have read some push methods, or the cloud is in the fog. many of them need to be sent by the terminal first. can someone tell me?
------ Solution --------------------
Reference:
Terminals are advertising machines and external screens.
If http cannot be used, you can use socket. in php, you can use socket to actively send information. how can this problem be solved?
Reference:
On the browser page, the customer clicks restart, switches the host, or performs other operations. how can I send this information to the terminal?
This depends on the display type. if you can use SOCKET to connect, use SOCKET to connect.
Yes, it depends on how your "advertising machine, external screen" contacts your php server.
Php has a socket library, but there are many other methods, not necessarily required
------ Solution --------------------
I will certainly not use php if I want to use it. if I want to use php, I can use it as a front-end and write another server to receive php input data for control. Or directly develop the server and client, and leave php behind.
Maybe php is fixed. you can also set up php on both the front end and your backend (on the advertising machine) to transmit data. the advertising machine is actually a win operating system. it's much easier to directly post get and process it... process the event into a bat file to call it...
Reference:
Do you have any suggestions on the 7th floor?
Reference:
The key to the problem is that this project only has half-tone php...