Communication method, device and system, terminal, equipment and medium
A communication method and equipment technology, applied in the field of communication, can solve the problems of cumbersome information interaction and poor real-time performance, and achieve the effect of overcoming cumbersome information interaction
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0102] Because in the prior art, in the process of controlling some intelligent electronic devices through the terminal APP or Bluetooth, there are problems of cumbersome information exchange and poor real-time performance.
[0103] Therefore, in order to overcome the above technical problems, an embodiment of the present invention provides a communication method, image 3 It is a process schematic diagram of a communication method provided in an embodiment of the present invention, and the process includes the following steps:
[0104] Step S301: The terminal sends a first connection request for establishing a connection with the remote-controlled device to the P2P server, so that the P2P server establishes a UDP channel for the terminal and the remote-controlled device.
[0105] Wherein, the first connection request carries identification information of the remote controlled device.
[0106] Step S302: the P2P server receives the first connection request sent by the termina...
Embodiment 2
[0121] In order to ensure network security and communication security in the communication process, on the basis of the above-mentioned embodiments, in the embodiment of the present invention, before sending the first connection request to the P2P server to establish a connection with the remote-controlled device, as Figure 4 As shown, the communication method also includes:
[0122] Step S401: the terminal sends a first registration request to the P2P server, the first registration request carries the identification information of the terminal, so that the P2P server sends the identification information of the terminal to the service server, and the The service server verifies whether the terminal is legal.
[0123] Step S402: The remote-controlled device sends a second registration request to the P2P server, the second registration request carries the identification information of the remote-controlled device, so that the P2P server sends the identification information of t...
Embodiment 3
[0132] Since the router connected to the terminal and the remote-controlled device can convert the private network IP address corresponding to the terminal or the remote-controlled device into a public network IP through NAT technology, so that the terminal and the remote-controlled device can penetrate and access the network where the P2P server is located. Public network, but due to router NAT restrictions, for example, the NAT of a router is IP-restricted NAT, port-restricted NAT, or symmetric NAT, which may cause the terminal or remote control device to fail to access. Or due to firewall factors, for example, some firewalls will analyze the application layer protocol and reject certain keyword packets to pass through, which means that the firewall discards P2P-related signaling packets, or some firewalls will analyze the declaration period of the link, Rejecting the link that he thinks is unreasonable will cause the router to behave as a symmetric NAT, and may also cause th...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


