WO2019153722A1 - Procédé et dispositif de communication de terminal, terminal et support de stockage - Google Patents
Procédé et dispositif de communication de terminal, terminal et support de stockage Download PDFInfo
- Publication number
- WO2019153722A1 WO2019153722A1 PCT/CN2018/102819 CN2018102819W WO2019153722A1 WO 2019153722 A1 WO2019153722 A1 WO 2019153722A1 CN 2018102819 W CN2018102819 W CN 2018102819W WO 2019153722 A1 WO2019153722 A1 WO 2019153722A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- terminal
- receiving terminal
- sending
- packet
- attribute information
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/141—Setup of application sessions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/24—Negotiation of communication capabilities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/26—Special purpose or proprietary protocols or architectures
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/16—Multipoint routing
Definitions
- Embodiments of the present disclosure relate to the field of communications technologies, and relate, for example, to a method, an apparatus, a terminal, and a storage medium for terminal communication.
- PCs personal computers
- Sharing mobile content such as photos, videos, or music
- devices such as TVs, PCs, or mobile phones
- the premise of sharing and mutual control between devices is that they can discover each other, so the discovery protocol between devices becomes a core component of the interactive technology between devices.
- the mainstream device interconnection protocol in the local area network is Zero configuration networking (Zeroconf) protocol, and the goal is to enable users to easily connect various network devices, such as computers and printers.
- Zeroconf Zero configuration networking
- the entire process of building a network is automated through program automation. Apple's products use the Zeroconf service in its entirety, so you want to be able to interoperate with Apple products and you must add the Zeroconf service to your device.
- the embodiments of the present disclosure provide a method, an apparatus, a terminal, and a storage medium for terminal communication, which improve the success rate of mutual recognition of multiple terminals in a local area network, and realize communication between multiple terminals.
- an embodiment of the present disclosure provides a method for terminal communication, which is applied to a transmitting terminal, and the method includes:
- the sending terminal is any one of the terminals connected to the local area network, and the receiving terminal is all terminals except the sending terminal in the local area network.
- an embodiment of the present disclosure further provides an apparatus for terminal communication, which is applied to a transmitting terminal, and the apparatus includes:
- the packet sending module is configured to send a packet to the receiving terminal by using a router according to the zero-configuration network service protocol, where the preset packet sending manner includes a broadcast mode;
- the attribute information storage module is configured to: when obtaining the response information to the message sent by the receiving terminal, storing the attribute information of the receiving terminal in the response information, according to the attribute information of the receiving terminal Said receiving terminal establishes a communication connection;
- the sending terminal is any one of the terminals connected to the local area network, and the receiving terminal is all terminals except the sending terminal in the local area network.
- an embodiment of the present disclosure further provides a method for terminal communication, which is applied to a receiving terminal, where the method includes:
- the receiving terminal When the receiving terminal is in the listening response state, obtaining a packet sent by the sending terminal based on the zero-configuration network service protocol, where the packet includes a broadcast packet;
- the sending terminal is any one of the terminals connected to the local area network, and the receiving terminal is all terminals except the sending terminal in the local area network.
- an embodiment of the present disclosure further provides an apparatus for terminal communication, which is applied to a receiving terminal, where the apparatus includes:
- the packet obtaining module is configured to: when the receiving terminal is in the monitoring response state, obtain the packet sent by the sending terminal according to the zero-configuration network service protocol, where the packet includes a broadcast packet;
- An attribute information storage module configured to store attribute information of the sending terminal included in the message
- the attribute information sending module is configured to send the attribute information of the receiving terminal to the sending terminal according to the attribute information of the sending terminal, so that the sending terminal and the receiving terminal according to the attribute information of the receiving terminal Establish a communication connection;
- the sending terminal is any one of the terminals connected to the local area network, and the receiving terminal is all terminals except the sending terminal in the local area network.
- an embodiment of the present disclosure further provides a terminal, where the terminal includes:
- One or more processors are One or more processors;
- a storage device configured to store one or more programs
- the one or more programs are executed by the one or more processors such that the one or more processors implement a method of terminal communication for a transmitting terminal provided by any of the embodiments of the present disclosure.
- an embodiment of the present disclosure further provides a terminal, where the terminal includes:
- One or more processors are One or more processors;
- a storage device configured to store one or more programs
- the one or more programs are executed by the one or more processors such that the one or more processors implement a method for terminal communication applied to a receiving terminal provided by any of the embodiments of the present disclosure.
- an embodiment of the present disclosure further provides a computer readable storage medium having stored thereon a computer program, when executed by a processor, implementing a terminal applied to a transmitting terminal according to any embodiment of the present disclosure.
- the method of communication is not limited to any embodiment of the present disclosure.
- an embodiment of the present disclosure further provides a computer readable storage medium having stored thereon a computer program, when executed by a processor, implementing a terminal applied to a receiving terminal provided by any embodiment of the present disclosure The method of communication.
- the embodiment of the present disclosure improves the zero-configuration network service protocol, and adds a broadcast mode as one of the preset message transmission modes on the basis that the default packet transmission mode is multicast transmission. Since all routers are compatible with the forwarding of broadcast packets, the packets are sent to the receiving terminal according to the preset packet sending manner, which solves the problem that different terminals cannot be mutually discovered due to poor compatibility of the router in the related art. problem.
- the attribute information of the receiving terminal is stored in the response information, and the transmitting terminal can identify all receiving terminals accessed in the local area network by using the attribute information of the receiving terminal, and can The attribute information establishes a communication connection with all receiving terminals, thereby laying a foundation for realizing mutual control between multiple terminals.
- FIG. 1 is a flowchart of a method for communication of a terminal according to Embodiment 1 of the present disclosure
- FIG. 2 is a flowchart of a method for communication of a terminal according to Embodiment 2 of the present disclosure
- FIG. 3 is a structural block diagram of an apparatus for terminal communication according to Embodiment 3 of the present disclosure.
- FIG. 4a is a flowchart of a method for terminal communication according to Embodiment 4 of the present disclosure
- FIG. 4b is a schematic diagram of a television set and a plurality of mobile terminals being discovered by each other according to Embodiment 4 of the present disclosure
- FIG. 5 is a structural block diagram of an apparatus for terminal communication according to Embodiment 5 of the present disclosure.
- FIG. 6 is a schematic structural diagram of a terminal according to Embodiment 6 of the present disclosure.
- FIG. 1 is a flowchart of a method for communication of a terminal according to Embodiment 1 of the present disclosure.
- the method may be implemented by a device for communication by a terminal, and the device may be implemented by software and/or hardware, and the device may be integrated in an electronic device.
- the electronic device may include a television, a smart phone, a tablet, a printer, and the like.
- the method in this embodiment can be applied to a sending terminal, and the sending terminal can be any one of the terminals accessed in the local area network. Referring to FIG. 1, the method of this embodiment includes:
- the device sends a packet to the receiving terminal by using a router according to the zero-configuration network service protocol, where the preset packet sending manner includes a broadcast mode.
- the zero-configuration network service protocol is a network technology for automatically generating an available Internet Protocol (IP) address, without requiring additional manual configuration and a dedicated configuration server.
- IP Internet Protocol
- devices connected to the local area network transmit packets in the multicast mode based on the multicast domain name system (MDNS) protocol.
- MDNS multicast domain name system
- the preset packet sending manner provided in this embodiment further includes a broadcast mode. As all the routers can forward the broadcast packets, the routers cannot forward the multicast packets because the routers cannot forward the packets based on the multicast mode of the traditional zero-configuration network service protocol. , resulting in problems that cannot be discovered by different devices.
- the technical solution provided in this embodiment is an improvement on the traditional zero-configuration network service protocol, and any terminal (including the transmitting terminal and the receiving terminal) in the access LAN does not need to install the corresponding client software, and does not need to add new broadcasts and groups.
- the transmission protocol of the broadcast message As long as any terminal accesses the local area network and the terminal is in normal working condition, the improved zero-configuration network service protocol can be started, and different terminals can discover each other, thereby establishing a communication connection with each other.
- the embodiment of the present disclosure may also apply the same to the Android system, that is, in addition to the mobile operating system (iPhone Operating System, which is installed by Apple).
- the device provided by the IOS can enjoy the service provided by the protocol, and the device installed with the Android system can also recognize and interact with each other by using the technical solutions provided by the embodiments of the present disclosure.
- the message sent by the sending terminal may include a service type of the sending terminal (such as a print service or a television service, etc.), an Internet Protocol Address (IP address), or a service port number.
- the message may be sent by using a User Datagram Protocol (UDP) packet.
- UDP User Datagram Protocol
- the receiving terminal may be all terminals except the transmitting terminal in the local area network, and any terminal newly accessing the local area network may also serve as the receiving terminal.
- the attribute information of the receiving terminal includes the service type, IP address, and service port number of the receiving terminal.
- the attribute information of the different receiving terminal may be stored in the service list.
- the service list information such as the service name and service type of different receiving terminals can be displayed.
- the user can see a plurality of receiving terminals that have accessed the local area network in the service list of the sending terminal, so that service sharing between the plurality of terminal devices can be implemented.
- the user can choose according to the actual needs. For example, if the sending terminal is a mobile phone, and the receiving terminal is a printer, a television, a tablet, and the like, there will be a printer, a television, and a service list in the mobile phone. The identity of the terminal such as a tablet.
- the mobile phone held by the user can establish a communication connection with the printer, and by performing operations on the mobile phone, the file to be printed in the mobile phone can be printed through the printer.
- the transmitting terminal can perform one-to-one access by receiving the IP address in the attribute information of the terminal when accessing or controlling the receiving terminal. Or control.
- the technical solution of the embodiment improves the zero-configuration network service protocol, and the broadcast mode is added as one of the preset message sending modes on the basis that the default packet sending mode is multicast. Since all routers are compatible with the forwarding of broadcast packets, the packets are sent to the receiving terminal according to the preset packet sending manner, which solves the problem that different terminals cannot be mutually discovered due to poor compatibility of the router in the related art. problem.
- the attribute information of the receiving terminal is stored in the response information, and the transmitting terminal can identify all receiving terminals accessed in the local area network by using the attribute information of the receiving terminal, and can The attribute information establishes a communication connection with all receiving terminals, thereby laying a foundation for realizing mutual control between multiple terminals.
- the method for providing terminal communication in this embodiment includes:
- the multicast message corresponding to the multicast mode is forwarded to the primary router level by the primary router according to the multicast mode and the broadcast mode.
- Each secondary router of the connection, and the broadcast message corresponding to the broadcast mode is forwarded by the primary router to at least one secondary router cascading with the primary router, wherein each secondary router is set to at least one of the following
- the item is sent to the receiving terminal that has a communication connection with the secondary router: a multicast message and a broadcast message.
- the preset message sending manner in the embodiment of the present disclosure includes a default multicast mode based on the zero-configuration network service protocol in addition to the broadcast mode.
- the broadcast mode is adopted, although the message can be transmitted at one time, but the message cannot be transmitted to all target nodes once.
- the message can be transmitted at one time, but the message cannot be transmitted to all target nodes once.
- the broadcast mode is adopted, although the message can be transmitted at one time, but the message cannot be transmitted to all target nodes once.
- the message can be transmitted at one time, but the message cannot be transmitted to all target nodes once.
- the primary router A if there are two secondary routers B and R below the primary router A, and only the broadcast mode is used to send the message, there can be only one router in the router B and the router C. Received a broadcast message.
- the multicast mode can be used to transmit the packets to all the destination nodes at a time.
- the multicast packets can be forwarded to the router B and the router C through the router A.
- the packet can be sent in the multicast mode or in the broadcast mode.
- the broadcast packet can be forwarded to the receiving terminal to ensure that the device discovery in the LAN is not affected.
- the multicast packets can be sent to all receiving terminals to ensure the comprehensiveness of device discovery.
- the multicast message and the broadcast message include the attribute information of the sending terminal, and the attribute information of the sending terminal includes the service type of the sending terminal and the sending.
- the Internet Protocol address of the terminal and the service port number of the sending terminal are included in the multicast mode and the broadcast mode.
- the multicast packet when the broadcast packet and the multicast packet are respectively sent according to the broadcast mode and the multicast mode, the multicast packet may be sent first, and if the receiving terminal is not received within a set time (for example, 30 seconds)
- the response message to the multicast packet indicates that the router does not support the forwarding of multicast packets or that there is no receiving terminal other than the current transmitting terminal in the local area network.
- the current transmitting terminal sends the broadcast message according to the broadcast mode.
- the response information of the other terminal to the broadcast message is received within the set time (for example, 10 seconds)
- the receiving terminal has a multicast terminal in the local area network.
- the response message was not received after the packet was sent because the router does not support the forwarding of multicast packets.
- the method of simultaneously transmitting the multicast packet and the broadcast packet in the embodiment may be sent in sequence (for example, the interval is not more than 5). second).
- the response information of the receiving terminal is acquired at a set time (for example, 10 seconds), it is explained that other terminal devices exist in the local area network in addition to the current transmitting terminal.
- the response information of the receiving terminal is not acquired within the set time (for example, 10 seconds), it means that there is no terminal device other than the current transmitting terminal in the local area network.
- the time used by the former is relatively long compared to the manner in which the multicast packet and the broadcast packet are not continuously transmitted (for example, 30 seconds). Short, you can quickly discover all the terminal devices connected to the LAN, so that it is easy to establish communication connections between different terminals, which is convenient for user control.
- the sending frequency of the message may be increased, for example, according to a set period (for example, 5 seconds), and according to a preset packet sending manner, the router may The receiving terminal sends a packet to prevent the receiving terminal from acquiring the packet when it is in the non-working mode.
- the wireless Fidelity (WiFi) network of the device is configured into a power saving mode without the user operating. .
- the device in the power saving mode does not answer the packet of the sending terminal, which may cause some mobile devices to be undetected by other devices for a long time. Therefore, in this embodiment, a packet of 5 seconds is used, and a multicast packet and a broadcast packet are simultaneously sent every 5 seconds.
- the advantage of the setting is that the device waking up from the non-working mode can immediately receive the report of the sender. The message is replied to the transmitting terminal to identify the existence of the device, which lays a foundation for realizing mutual control between the transmitting terminal and the device.
- the present embodiment increases the success rate of device discovery by using the method of cyclically transmitting packets in a set period.
- the method of transmitting multicast packets and broadcast packets simultaneously or sequentially not only solves the problem that the routers cannot communicate with multicast packets when the compatibility of the routers is poor, but also avoids the use of cascading when using broadcast packets. Only some mobile terminals in the LAN caused by multiple routers can receive packets. When the router is compatible with the forwarding of multicast packets, if there are multiple routers, all receiving terminals can receive multicast packets from the sending terminal, thus ensuring the comprehensiveness of the shared services.
- the apparatus may be implemented by software and/or hardware, and may be integrated into a transmitting terminal such as a television set, a set top box, a mobile phone, a tablet computer, or the like.
- a transmitting terminal such as a television set, a set top box, a mobile phone, a tablet computer, or the like.
- the device for terminal communication provided by this embodiment includes: a message sending module 310 and an attribute information storage module 320.
- the packet sending module 310 is configured to send a packet to the receiving terminal by using the router according to the zero-configuration network service protocol, where the preset packet sending manner includes a broadcast mode;
- the attribute information storage module 320 is configured to: when obtaining the response information to the message sent by the receiving terminal, storing the attribute information of the receiving terminal in the response information, according to the attribute information of the receiving terminal The receiving terminal establishes a communication connection;
- the sending terminal is any one of the terminals connected to the local area network, and the receiving terminal is all terminals except the sending terminal in the local area network.
- the technical solution provided in this embodiment improves the zero-configuration network service protocol, and the broadcast mode is added as one of the preset message sending modes on the basis that the default packet sending mode is multicast. Since all routers are compatible with the forwarding of broadcast packets, the packets are sent to the receiving terminal according to the preset packet sending manner, which solves the problem that different terminals cannot be mutually discovered due to poor compatibility of the router in the related art. problem.
- the attribute information of the receiving terminal is stored in the response information, and the transmitting terminal can identify all receiving terminals accessed in the local area network by using the attribute information of the receiving terminal, and can The attribute information establishes a communication connection with all receiving terminals, thereby laying a foundation for realizing mutual control between multiple terminals.
- the message sending module is configured to:
- the packet is sent to the receiving terminal by the router according to the preset period and according to the preset packet sending manner, so as to prevent the receiving terminal from being unable to obtain the packet when the receiving terminal is in the non-working mode.
- the packet sending module is further configured to:
- the primary router forwards the multicast packet corresponding to the multicast mode to the primary router according to the zero-configuration network service protocol, in the case that the primary router supports the forwarding of the multicast packet, according to the multicast mode and the broadcast mode.
- Each secondary router cascading with the primary router, and a broadcast message corresponding to the broadcast mode by the primary router is forwarded to at least one secondary router cascading with the primary router, wherein each The secondary routers are configured to send the multicast message and/or the broadcast message to a receiving terminal that is in communication connection with the secondary router.
- the multicast message and the broadcast message both include the attribute information of the sending terminal, where the attribute information of the sending terminal includes the service type and sending of the sending terminal.
- the attribute information of the receiving terminal includes a service type of the receiving terminal, an internet protocol address of the receiving terminal, and a service port number of the receiving terminal.
- the device for providing terminal communication can perform the method for terminal communication provided by any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of the execution method.
- the device for providing terminal communication can perform the method for terminal communication provided by any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of the execution method.
- a method for terminal communication applied to a transmitting terminal provided by any embodiment of the present disclosure.
- FIG. 4a is a flowchart of a method for communication of a terminal according to Embodiment 4 of the present disclosure.
- the method may be implemented by a device for communication by a terminal, and the device may be implemented by software and/or hardware, and the device may be integrated in an electronic device.
- the electronic device may include a television, a smart phone, a tablet, a printer, and the like.
- the method of this embodiment is applied to a receiving terminal, and the explanation of the same or corresponding terms as the above embodiment is not described herein again.
- the method for providing terminal communication in this embodiment includes:
- the router may not support the transmission of the multicast packet. Therefore, in order to ensure that the receiving terminal can forward the packet sent by the sending terminal, the transmitting terminal includes at least the broadcast packet.
- the attribute information of the sending terminal includes a service type of the sending terminal, an internet protocol address of the sending terminal, and a service port number of the sending terminal.
- the transmitting terminal in this embodiment is any terminal that is accessed in the local area network, and the receiving terminal is all terminals except the transmitting terminal in the local area network.
- the attribute information of the receiving terminal includes a service type of the receiving terminal, an internet protocol address of the receiving terminal, and a service port number of the receiving terminal.
- FIG. 4b is a schematic diagram of a television set and a plurality of mobile terminals that are mutually discovered according to Embodiment 4 of the present disclosure.
- the router 600 forwards the multicast packet and the broadcast packet to the broadcast packet.
- the router 600 supports the forwarding of the multicast message, the multicast message and the broadcast message are obtained. If it is not supported, only the broadcast packet is obtained.
- the attribute information of the TV 100 in the multicast packet or the broadcast packet is stored in the service list, and the attribute information of the broadcast packet is unicast (for example, The MDNS response is fed back to the television set 100 according to the IP address access in the attribute information of the television set.
- the newly entered mobile device will also record the television after receiving the message of the television set 100.
- the attribute information of the machine is replied to, so that all terminals in the LAN can discover each other.
- the receiving terminal when the receiving terminal is in the listening state, obtains the packet sent by the sending terminal based on the zero-configuration network service protocol, and the packet does not support the forwarding group because the packet includes at least the broadcast packet.
- the receiving terminal caused by the broadcast message cannot obtain the message sent by the sending terminal.
- the attribute information of the sending terminal in the message is stored, and the attribute information of the receiving terminal is also fed back to the sending terminal according to the attribute information of the sending terminal, so that the sending terminal establishes a communication connection with the receiving terminal, thereby implementing multiple terminals.
- the basis for mutual control of communication has been laid.
- FIG. 5 is a structural block diagram of an apparatus for terminal communication according to Embodiment 5 of the present disclosure.
- the apparatus may be implemented by software and/or hardware, and may be integrated into a receiving terminal such as a television, a set top box, a mobile phone, a tablet computer, or the like.
- the device for terminal communication provided by this embodiment includes: a message acquiring module 510, an attribute information storage module 520, and an attribute information sending module 520.
- the packet obtaining module 510 is configured to: when the receiving terminal is in the listening response state, obtain the packet sent by the sending terminal according to the zero-configuration network service protocol, where the packet includes a broadcast packet;
- the attribute information storage module 520 is configured to store attribute information of the sending terminal included in the message
- the attribute information sending module 520 is configured to send the attribute information of the receiving terminal to the sending terminal according to the attribute information of the sending terminal, so that the sending terminal according to the attribute information of the receiving terminal and the receiving The terminal establishes a communication connection;
- the sending terminal is any one of the terminals connected to the local area network, and the receiving terminal is all terminals except the sending terminal in the local area network.
- the receiving terminal when the receiving terminal is in the listening state, obtains the packet sent by the sending terminal based on the zero-configuration network service protocol, and the packet does not support the forwarding group because the packet includes at least the broadcast packet.
- the receiving terminal caused by the broadcast message cannot obtain the message sent by the sending terminal.
- the attribute information of the sending terminal in the message is stored, and the attribute information of the receiving terminal is also fed back to the sending terminal according to the attribute information of the sending terminal, so that the sending terminal establishes a communication connection with the receiving terminal, thereby implementing multiple terminals.
- the attribute information of the sending terminal includes a service type of the sending terminal, an internet protocol address of the sending terminal, and a service port number of the sending terminal.
- the attribute information of the receiving terminal includes a service type of the receiving terminal, an internet protocol address of the receiving terminal, and a service port number of the receiving terminal.
- the device for providing terminal communication can perform the method for terminal communication provided by any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of the execution method.
- the device for providing terminal communication can perform the method for terminal communication provided by any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of the execution method.
- a method for terminal communication applied to a receiving terminal provided by any embodiment of the present disclosure.
- FIG. 6 is a schematic structural diagram of a terminal according to Embodiment 6 of the present disclosure.
- FIG. 6 illustrates a block diagram of an exemplary terminal 12 suitable for use in implementing embodiments of the present disclosure.
- the terminal 12 shown in FIG. 6 is merely an example and should not impose any limitation on the function and scope of use of the embodiments of the present disclosure.
- terminal 12 is embodied in the form of a general purpose computing device.
- the components of terminal 12 may include, but are not limited to, one or more processors or processing units 16, system memory 28, and bus 18 that connects different system components, including system memory 28 and processing unit 16.
- Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of a variety of bus structures.
- these architectures include, but are not limited to, the Industry Standard Architecture (ISA) bus, the MicroChannel Architecture (MAC) bus, the Enhanced ISA Bus, and the Video Electronics Standards Association. , VESA) Local Bus and Peripheral Component Interconnect (PCI) bus.
- Terminal 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by terminal 12, including volatile and non-volatile media, removable and non-removable media.
- System memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and/or cache memory 32.
- Terminal 12 may further include other removable/non-removable, volatile/non-volatile computer system storage media.
- storage system 34 may be configured to read and write non-removable, non-volatile magnetic media (not shown in Figure 6, commonly referred to as "hard disk drives”).
- a disk drive configured to read and write to a removable non-volatile disk (eg, a "floppy disk"), and a removable non-volatile disk (eg, a compact disk read-only memory) may be provided.
- each drive can be coupled to bus 18 via one or more data medium interfaces.
- Memory 28 can include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of each embodiment of the present disclosure.
- a program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28, such program modules 42 including but not limited to an operating system, one or more applications, other program modules, and program data. An implementation of the network environment may be included in each or some of these examples.
- Program module 42 typically performs the functions and/or methods of the embodiments described in this disclosure.
- Terminal 12 may also be in communication with one or more external devices 14 (e.g., a keyboard, pointing device, display 24, etc.), and may also be in communication with one or more devices that enable a user to interact with the terminal 12, and/or Terminal 12 can communicate with any device (e.g., network card, modem, etc.) that is in communication with one or more other computing devices. This communication can take place via an input/output (I/O) interface 22.
- the terminal 12 can also communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN), and/or a public network, such as the Internet) through the network adapter 20. As shown, network adapter 20 communicates with other modules of terminal 12 via bus 18.
- LAN local area network
- WAN wide area network
- public network such as the Internet
- terminal 12 may be utilized in connection with terminal 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, independent redundant disk arrays ( Redundant Arrays of Independent Disks (RAID) systems, tape drives, and data backup storage systems.
- RAID Redundant Arrays of Independent Disks
- the processing unit 16 executes a plurality of functional applications and data processing by running a program stored in the system memory 28, for example, implementing a terminal communication method applied to the transmitting terminal provided by the embodiments of the present disclosure.
- Embodiments of the present disclosure also provide an apparatus comprising: one or more processors; storage means for storing one or more programs when the one or more programs are used by the one or more processors Executing, the one or more processors to implement the terminal communication method applied to the receiving terminal provided by the embodiment of the present disclosure, including:
- the receiving terminal When the receiving terminal is in the listening response state, obtaining a packet sent by the sending terminal based on the zero-configuration network service protocol, where the packet includes a broadcast packet;
- the sending terminal is any one of the terminals connected to the local area network, and the receiving terminal is all terminals except the sending terminal in the local area network.
- processor can also implement the technical solution of the terminal communication method applied to the receiving terminal provided by any embodiment of the present disclosure.
- the hardware structure and function of the device can be explained in the content of Embodiment 6.
- Embodiment 7 of the present disclosure further provides a computer readable storage medium having stored thereon a computer program, wherein the program is executed by a processor to implement a method for terminal communication applied to a transmitting terminal provided by any embodiment of the present disclosure , the method includes:
- the sending terminal is any one of the terminals connected to the local area network, and the receiving terminal is all terminals except the sending terminal in the local area network.
- the computer executable instructions are not limited to the method operations as described above, and may also be applied to the transmitting terminal provided by any embodiment of the present disclosure. Related operations in the terminal communication method.
- the computer storage medium of an embodiment of the present disclosure may employ any combination of one or more computer readable mediums.
- the computer readable medium can be a computer readable signal medium or a computer readable storage medium.
- the computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above.
- a computer readable storage medium includes: an electrical connection having one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read only memory (Read-Only Memory) , ROM), Erasable Programmable Read Only Memory (EPROM) or flash memory, optical fiber, portable compact disk read only memory (CD-ROM), optical storage device, magnetic storage device, or any of the above A suitable combination.
- a computer readable storage medium can be any tangible medium that can contain or store a program, which can be used by or in connection with an instruction execution system, apparatus or device.
- a computer readable signal medium may include a data signal that is propagated in the baseband or as part of a carrier, carrying computer readable program code. Such propagated data signals can take a variety of forms including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the foregoing.
- the computer readable signal medium can also be any computer readable medium other than a computer readable storage medium, which can transmit, propagate, or transport a program for use by or in connection with the instruction execution system, apparatus, or device. .
- Program code embodied on a computer readable medium can be transmitted by any suitable medium, including but not limited to wireless, wire, fiber optic cable, radio frequency (RF), etc., or any suitable combination of the foregoing.
- suitable medium including but not limited to wireless, wire, fiber optic cable, radio frequency (RF), etc., or any suitable combination of the foregoing.
- Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or a combination thereof, including an object oriented programming language - such as Java, Smalltalk, C++, and also conventional. Procedural programming language - such as the "C" language or a similar programming language.
- the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer, partly on the remote computer, or entirely on the remote computer or server.
- the remote computer can be connected to the user's computer via any kind of network, including a local area network (LAN) or wide area network (WAN), or can be connected to an external computer (eg, using an Internet service provider) Internet connection).
- LAN local area network
- WAN wide area network
- Internet service provider Internet service provider
- the embodiment of the present disclosure further provides another computer readable storage medium, when executed by a computer processor, for performing a terminal communication method applied to a receiving terminal, the method comprising:
- the receiving terminal When the receiving terminal is in the listening response state, obtaining a packet sent by the sending terminal based on the zero-configuration network service protocol, where the packet includes a broadcast packet;
- the sending terminal is any one of the terminals connected to the local area network, and the receiving terminal is all terminals except the sending terminal in the local area network.
- a storage medium containing computer executable instructions the computer executable instructions are not limited to the method operations as described above, and may also be applied to the receiving terminal provided by any embodiment of the present disclosure. Related operations in the terminal communication method. For an introduction to the storage medium, refer to the explanation in the content of the seventh embodiment.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- Mobile Radio Communication Systems (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
L'invention concerne un procédé de communication de terminal, comprenant : la transmission d'un message à des terminaux de réception au moyen d'un routeur sur la base d'un protocole de service de réseau de configuration zéro selon un mode de transmission de message prédéfini, le mode de transmission de message prédéfini comprenant un mode de diffusion; et lorsque des informations de réponse, transmises par les terminaux de réception, pour le message sont acquises, stocker des informations d'attribut des terminaux de réception dans les informations de réponse, et établir une connexion de communication avec les terminaux de réception selon les informations d'attribut des terminaux de réception, le terminal de transmission étant un quelconque terminal accédant à un réseau local, et les terminaux de réception étant tous les autres terminaux à l'exception du terminal de transmission dans le réseau local. L'invention concerne en outre un dispositif de communication de terminal, un terminal et un support de stockage.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810117224.9 | 2018-02-06 | ||
CN201810117224.9A CN108234518A (zh) | 2018-02-06 | 2018-02-06 | 一种终端通信的方法、装置、终端及存储介质 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2019153722A1 true WO2019153722A1 (fr) | 2019-08-15 |
Family
ID=62669806
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2018/102819 WO2019153722A1 (fr) | 2018-02-06 | 2018-08-29 | Procédé et dispositif de communication de terminal, terminal et support de stockage |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108234518A (fr) |
WO (1) | WO2019153722A1 (fr) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108234518A (zh) * | 2018-02-06 | 2018-06-29 | 深圳创维-Rgb电子有限公司 | 一种终端通信的方法、装置、终端及存储介质 |
CN109363586A (zh) * | 2018-12-26 | 2019-02-22 | 江苏美的清洁电器股份有限公司 | 扫地机器人及其通信方法、装置和系统及移动终端 |
CN109816897A (zh) * | 2019-02-27 | 2019-05-28 | 北京三快在线科技有限公司 | 一种访问数据的方法、装置、设备及存储介质 |
CN112616171B (zh) * | 2020-12-11 | 2024-03-01 | 深圳市越疆科技有限公司 | 基于无线局域网的通信方法、装置及计算机可读存储介质 |
CN113490198A (zh) * | 2021-06-25 | 2021-10-08 | 深圳Tcl新技术有限公司 | 终端的发现方法、装置、存储介质及电子设备 |
CN114338700A (zh) * | 2021-12-23 | 2022-04-12 | 杭州星布智能科技有限公司 | 局域网点对点分布式存储方法 |
CN114125031B (zh) * | 2022-01-28 | 2022-06-21 | 南湖实验室 | 一种基于互联网区域联动的广播应答方法及其系统 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105637819A (zh) * | 2013-10-28 | 2016-06-01 | 柏思科技有限公司 | 用于传输广播数据的方法和系统 |
CN106685776A (zh) * | 2017-02-14 | 2017-05-17 | 上海斐讯数据通信技术有限公司 | 一种局域网内智能设备发现方法及系统 |
CN107493213A (zh) * | 2017-09-26 | 2017-12-19 | 四川长虹电器股份有限公司 | 一种提高局域网设备发现能力的方法 |
CN108234518A (zh) * | 2018-02-06 | 2018-06-29 | 深圳创维-Rgb电子有限公司 | 一种终端通信的方法、装置、终端及存储介质 |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7281058B1 (en) * | 2002-10-09 | 2007-10-09 | Juniper Networks, Inc. | Delivering and receiving multicast content across a unicast network |
-
2018
- 2018-02-06 CN CN201810117224.9A patent/CN108234518A/zh active Pending
- 2018-08-29 WO PCT/CN2018/102819 patent/WO2019153722A1/fr active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105637819A (zh) * | 2013-10-28 | 2016-06-01 | 柏思科技有限公司 | 用于传输广播数据的方法和系统 |
CN106685776A (zh) * | 2017-02-14 | 2017-05-17 | 上海斐讯数据通信技术有限公司 | 一种局域网内智能设备发现方法及系统 |
CN107493213A (zh) * | 2017-09-26 | 2017-12-19 | 四川长虹电器股份有限公司 | 一种提高局域网设备发现能力的方法 |
CN108234518A (zh) * | 2018-02-06 | 2018-06-29 | 深圳创维-Rgb电子有限公司 | 一种终端通信的方法、装置、终端及存储介质 |
Also Published As
Publication number | Publication date |
---|---|
CN108234518A (zh) | 2018-06-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2019153722A1 (fr) | Procédé et dispositif de communication de terminal, terminal et support de stockage | |
CN111459433B (zh) | 一种传屏方法、设备及存储介质 | |
US9883376B2 (en) | Apparatus and method for providing universal plug and play service based on Wi-Fi direct connection in portable terminal | |
WO2019134306A1 (fr) | Procédé de traitement de message, dispositif, appareil terminal et support d'informations lisible | |
US10034057B2 (en) | Message processing method, device, gateway, STB and IPTV | |
US20130346591A1 (en) | Clientless Cloud Computing | |
US20180006976A1 (en) | Voice chat mode self-adapting method and apparatus | |
JP5891559B2 (ja) | インスタントメッセージングの方法、端末、サーバ及びシステム | |
US9065666B2 (en) | System and method of multi-media conferencing between universal plug and play (UPnP) enabled telephony devices and wireless area network (WAN) devices | |
CN104301373A (zh) | 经由文件共享服务同步的推送通知 | |
BR112015021786B1 (pt) | Dispositivo hospedeiro para comunicação sem fio com múltiplos dispositivos acopladores, dispositivo acoplador para comunicação sem fio com dispositivo hospedeiro e método de comunicação sem fio entre um dispositivo hospedeiro e múltiplos dispositivos acopladores | |
US20130080560A1 (en) | System and Method for Sharing Digital Data on a Presenter Device to a Plurality of Participant Devices | |
US20170171496A1 (en) | Method and Electronic Device for Screen Projection | |
US10908889B2 (en) | Method, user equipment, and application server for downloading application | |
CN102724334A (zh) | 一种dlna中地址改变的通知和获取方法、装置和系统 | |
CN112752245B (zh) | 一种配网方法、装置、电子设备及存储介质 | |
JP2011113565A (ja) | 端末装置及びそのusb機器制御方法 | |
WO2015139390A1 (fr) | Procédé, appareil et système de traitement de données de multidiffusion, dispositif émetteur, et client récepteur | |
CN107332894B (zh) | 直播方法、装置及系统、服务器、存储介质 | |
CN112187911A (zh) | 基于网络隔离的消息传输方法、装置、存储介质及系统 | |
CN109257392A (zh) | 一种命令处理方法、装置、服务器和存储介质 | |
JP6850893B2 (ja) | 拡張マルチキャストネットワーク通信 | |
WO2017092323A1 (fr) | Dispositif de commande principal, dispositif de lecture et procédé de transmission de données associé | |
CN103533054B (zh) | 多终端间实现协同处理的方法及多终端协同处理装置 | |
US20140089430A1 (en) | Data-sharing method, terminal, server, and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 18905234 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 03/12/2020) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 18905234 Country of ref document: EP Kind code of ref document: A1 |