How does php actively send messages to terminals?

Source: Internet
Author: User
Tags php server
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...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.