WO2017113976A1 - 一种无线局域网通信方法、终端及*** - Google Patents
一种无线局域网通信方法、终端及*** Download PDFInfo
- Publication number
- WO2017113976A1 WO2017113976A1 PCT/CN2016/104023 CN2016104023W WO2017113976A1 WO 2017113976 A1 WO2017113976 A1 WO 2017113976A1 CN 2016104023 W CN2016104023 W CN 2016104023W WO 2017113976 A1 WO2017113976 A1 WO 2017113976A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- access terminal
- target
- address
- access
- mapping table
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/26—Network addressing or numbering for mobility support
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/02—Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
- H04W84/10—Small scale networks; Flat hierarchical networks
- H04W84/12—WLAN [Wireless Local Area Networks]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/02—Terminal devices
Definitions
- the present invention relates to the field of electronic technologies, and in particular, to a wireless local area network communication method, terminal, and system.
- the internal communication method of the enterprise or the unit is mainly through the internal landline telephone, and the internal landline machine can make a free call to the enterprise or the colleagues inside the unit.
- This method seems to be very low cost, but since the internal landline is realized through the internal switch Therefore, enterprises need to purchase switches and perform maintenance, which also increases the communication cost to a certain extent; more importantly, the landline has problems such as occupying space, inconvenient installation, and being unable to move and make calls, which affects the convenience of communication, for example, if someone has something to leave, so they can't get a landline call, which reduces communication efficiency.
- the technical problem to be solved by the embodiments of the present invention is to provide a wireless local area network communication method, terminal, and system, which can enable communication between all mobile terminals accessing the same wireless local area network access point, thereby improving the convenience of internal communication. And communication efficiency.
- the embodiment of the invention provides a wireless local area network communication method, and the method includes:
- IP mapping table includes the access terminal identifier and an IP address corresponding to the access terminal identifier
- IP mapping table Transmitting the IP mapping table to an access terminal that accesses the WLAN access point, so that when the access terminal receives a communication instruction input by the user for the target access terminal identifier, according to the IP mapping
- the table obtains a target IP address corresponding to the target access terminal identifier, and establishes a communication connection with the target access terminal corresponding to the target IP address.
- the method further includes:
- the method further includes:
- the access terminal identifier corresponding to the IP address of the access terminal in the IP mapping table is updated to the received access terminal identifier in the received access information
- the embodiment of the invention further provides a wireless local area network communication method, the method comprising:
- IP mapping table includes an access terminal identifier and an IP address corresponding to the access terminal identifier
- the establishing, according to the target IP address, establishing a connection with the target access terminal corresponding to the target IP address includes:
- the target access terminal corresponding to the target IP address When receiving the acknowledgement character sent by the target access terminal, the target access terminal corresponding to the target IP address establishes a communication connection.
- the method further includes:
- the access information includes an IP address of the local end and an access terminal identifier, so that the network terminal detects the IP address of the access terminal in the IP mapping table.
- the access terminal identifier is inconsistent with the access terminal identifier in the access information, the access terminal identifier corresponding to the IP address of the access terminal in the IP mapping table is updated to the access information.
- an embodiment of the present invention provides a network terminal, where the terminal includes:
- An obtaining module configured to obtain an access terminal identifier that accesses the wireless local area network access point
- a table building module configured to allocate an IP address to the access terminal identifier, and establish an IP mapping table, where the IP mapping table includes the access terminal identifier and an IP address corresponding to the access terminal identifier;
- a first sending module configured to send the IP mapping table to an access terminal that accesses the wireless local area network access point, so that the access terminal receives a communication instruction that is input by the user for the target access terminal identifier And acquiring, by the IP mapping table, a target IP address corresponding to the target access terminal identifier, and establishing a communication connection with the target access terminal corresponding to the target IP address.
- the terminal further includes:
- the first update module is configured to update the IP mapping table when detecting that the newly added access terminal accesses the wireless local area network access point;
- the second sending module is configured to send the updated IP mapping table to the access terminal of the wireless local area network access point.
- the terminal further includes:
- a receiving module configured to receive access information sent by the access terminal, where the access information includes an IP address of the access terminal and an access terminal identifier;
- a detecting module configured to detect whether an access terminal identifier corresponding to an IP address of the access terminal in the IP mapping table is consistent with an received access terminal identifier in the received access information
- a second update module configured to: when the access terminal identifier is inconsistent, update the access terminal identifier corresponding to the IP address of the access terminal in the IP mapping table to the received access information Enter the terminal identifier;
- the third sending module is configured to send the updated IP mapping table to the access terminal of the WLAN access point.
- the embodiment of the present invention further provides an access terminal, where the terminal includes:
- a receiving module configured to receive an IP mapping table sent by the network terminal, where the IP mapping table includes an access terminal identifier and an IP address corresponding to the access terminal identifier;
- An instruction module configured to receive a communication instruction input by the user for the target access terminal identifier
- a locating module configured to search for a target IP address corresponding to the target access terminal identifier according to the IP mapping table
- a communication module configured to establish a communication connection with the target access terminal corresponding to the target IP address according to the target IP address.
- the communication module includes:
- a requesting unit configured to send a connection request to the target access terminal corresponding to the target IP address according to the target IP address
- the communication unit is configured to establish a communication connection with the target access terminal corresponding to the target IP address when receiving the acknowledgement character sent by the target access terminal.
- the terminal further includes:
- a sending module configured to send the access information to the network terminal, where the access information includes an IP address of the local end and an access terminal identifier, so that the network terminal detects the connection in the IP mapping table
- the access terminal identifier corresponding to the IP address of the inbound terminal is inconsistent with the access terminal identifier in the access information, update the access terminal identifier corresponding to the IP address of the access terminal in the IP mapping table to An access terminal identifier in the access information
- an update receiving module configured to receive the updated IP mapping table sent by the network terminal.
- the present invention also provides a wireless local area network communication system, the system comprising a network terminal and an access terminal, wherein:
- a network terminal configured to obtain an access terminal identifier that accesses the WLAN access point, allocate an IP address to the access terminal identifier, and establish an IP mapping table, where the IP mapping table includes the access terminal identifier and The access terminal identifies a corresponding IP address, and sends the IP mapping table to an access terminal that accesses the wireless local area network access point, so that the access terminal receives the user input for the target access terminal. And obtaining, by the IP mapping table, a target IP address corresponding to the target access terminal identifier, and establishing a communication connection with the target access terminal corresponding to the target IP address;
- the access terminal is configured to receive an IP mapping table sent by the network terminal, where the IP mapping table includes an access terminal identifier and an IP address corresponding to the access terminal identifier, and receives a communication instruction input by the user for the target access terminal identifier;
- the IP mapping table is configured to search for a target IP address corresponding to the target access terminal identifier, and establish a communication connection with the target access terminal corresponding to the target IP address according to the target IP address.
- the embodiment of the present invention obtains an IP address by assigning an IP address to the access terminal identifier by acquiring an access terminal identifier of the access point of the wireless local area network, where the IP mapping table includes the access terminal identifier and the And the access terminal identifier is sent to the access terminal that accesses the wireless local area network access point, so that the access terminal receives the identifier input by the user for the target access terminal identifier.
- FIG. 1 is a schematic flow chart of a wireless local area network communication method according to an embodiment of the present invention
- FIG. 2 is a schematic flow chart of a wireless local area network communication method according to another embodiment of the present invention.
- FIG. 3 is a schematic diagram of an interaction process of a wireless local area network communication method according to an embodiment of the present invention.
- FIG. 4 is a schematic structural diagram of a network terminal according to an embodiment of the present invention.
- FIG. 5 is a schematic structural diagram of a structure of an access terminal according to an embodiment of the present invention.
- FIG. 6 is a structural diagram of a communication module of FIG. 5 according to an embodiment of the present invention.
- FIG. 7 is a schematic structural diagram of a wireless local area network communication system according to an embodiment of the present invention.
- FIG. 8 is a schematic structural diagram of another network terminal according to an embodiment of the present invention.
- FIG. 9 is a schematic structural diagram of another access terminal in an embodiment of the present invention.
- FIG. 1 is a schematic flowchart of a wireless local area network communication method according to an embodiment of the present invention.
- the method may be implemented by a network terminal, where the network terminal may be a terminal having a wireless local area network hotspot establishing function or a software program running on the terminal.
- the terminal may include a wireless router, a mobile phone, a notebook computer, a car computer, and the like.
- the method as shown in the figure includes at least:
- Step S101 Acquire an access terminal identifier that accesses the wireless local area network access point.
- the access terminal identifier is an identifier that identifies the access terminal, and may be a name, a number, an identity code, and the like of the access terminal, such as an IMEI (International Mobile Equipment Identity), a phone number, and a self.
- the terminal name and the like are defined, and are not specifically limited herein.
- the access terminal identifier of each access terminal is unique in the wireless local area network.
- the access terminal may be a mobile terminal having a wireless access function and a communication function, such as a mobile phone.
- the network terminal can obtain the access terminal identifier of all accessing the wireless local area network due to the connection relationship between the access terminal and the wireless local area network access point. For example, if the access terminal is identified as the internal number of the access terminal, the internal number of the first access terminal is 6001, and the internal number of the second access terminal is 6002, the network terminal can obtain the first access terminal.
- Step S102 Assign an IP address to the access terminal identifier, and establish an IP mapping table, where the IP mapping table includes the access terminal identifier and an IP address corresponding to the access terminal identifier.
- the IP mapping table is a mapping table that reflects the correspondence between the access terminal identifier and the IP address.
- the network terminal may assign an IP address to each access terminal identifier, that is, assign an IP address to each access terminal.
- the address according to the correspondence between the access terminal identifier and the assigned IP address, the network terminal may establish an IP mapping table, where the IP mapping table includes the access terminal identifiers obtained by the network terminal and the corresponding access terminal identifiers. IP address. That is to say, the mapping relationship between the access terminal identifier and its corresponding IP address is established through the IP mapping table, and the corresponding access terminal identifier can be found through the IP address, and the corresponding IP address can also be found through the access terminal identifier. .
- the terminal may assign a corresponding IP address 183.33.33.1 to the 6001, and assign a corresponding IP address 183.33.33.2 to the 6002, so that the terminal can be established.
- An IP mapping table containing 6001 and 6002 and their corresponding IP addresses.
- Step S103 Send the IP mapping table to an access terminal that accesses the wireless local area network access point, so that the access terminal receives a communication instruction input by the user for the target access terminal identifier, according to the The IP mapping table obtains a target IP address corresponding to the target access terminal identifier, and establishes a communication connection with the target access terminal corresponding to the target IP address.
- the IP mapping table may be sent to all access terminals that access the wireless local area network access point.
- the access terminal may query the target IP address corresponding to the target access terminal identifier in the received IP mapping table, and reach the target access terminal by using the target IP address.
- a connection request is sent, and after the target access terminal accepts the request, a communication connection is established with the target access terminal.
- the target access terminal identifier may be any access terminal identifier that accesses the wireless local area network access point, that is, the access terminals of the wireless local area network access point may communicate with each other.
- the communication command for the target access terminal identifier may be a double click, a long press, or a press of a button for the target access terminal identifier, and is not specifically limited herein.
- the access terminal receives the communication command for 6001, and the access terminal can query the 6001 corresponding to the IP mapping table.
- the IP address is 183.33.33.1
- the access terminal can send a Socket connection request based on the 183.33.33.1 IP address.
- the target access terminal can return an ACK confirmation character, and the access terminal can receive the confirmation character.
- the target access terminal corresponding to the IP address establishes a communication connection, that is, performs a call.
- the method may further include:
- the IP mapping table is updated.
- the network terminal when the network terminal detects that a new access terminal accesses the WLAN access point, the network terminal can obtain the access terminal identifier of the newly added access terminal, and assign an IP address to the access terminal identifier of the newly added access terminal.
- the access terminal in the WLAN is added, and the network terminal adds the access terminal identifier and the corresponding IP address of the newly added access terminal to the original IP mapping table to form an updated IP mapping table.
- the access terminal identifier of the newly added access terminal is 6003, and the network terminal assigns a corresponding IP address 183.33 to the newly added 6003. 33.3.
- the new IP mapping table is sent to the access terminal of the WLAN access point, so that the access terminal can communicate with the newly added access terminal.
- the method may further include:
- the access terminal Receiving access information sent by the access terminal, where the access information includes an IP address of the access terminal and an access terminal identifier.
- the access information may be sent by the access terminal to the network terminal after the network terminal periodically or when receiving the user request, and the access terminal sends the access request to the access terminal; or the access terminal may be received or received.
- the access terminal automatically detects that the user has modified the content in the access information and then sends the access information to the network terminal, which is not specifically limited.
- the network terminal may look up the access terminal identifier corresponding to the IP address of the access terminal in the access information in the IP mapping table, and compare the corresponding in the IP mapping table. The access terminal identifier and the access terminal identifier in the access information determine whether the two are consistent.
- the access terminal identifier corresponding to the IP address of the access terminal in the IP mapping table is updated to the received access terminal identifier in the received access information.
- the network terminal detects that the corresponding access terminal identifier in the IP mapping table is inconsistent with the access terminal identifier in the access information, the corresponding access terminal identifier in the IP mapping table is replaced with the access information. Enter the terminal ID.
- the access terminal identity of the original “6001” to "6004" in the access terminal is "6004-183.33.33.1", and the network terminal receives the access.
- the access terminal identifier corresponding to 183.33.33.1 is 6001 through the IP mapping table, and the access terminal identifier 6001 and the access information of the access terminal with the IP address 183.33.33.1 in the IP mapping table can be determined. If the incoming terminal identifier 6004 is inconsistent, the access terminal identifier corresponding to 183.33.33.1 in the IP mapping table is replaced from 6001 to 6004.
- the new IP mapping table is sent to the access terminal of the WLAN access point, so that the access terminal can communicate with the access terminal that changes the identity of the access terminal.
- the embodiment of the present invention obtains an IP address by assigning an IP address to the access terminal identifier by acquiring an access terminal identifier of the access point of the wireless local area network, where the IP mapping table includes the access terminal identifier and the And the access terminal identifier is sent to the access terminal that accesses the wireless local area network access point, so that the access terminal receives the identifier input by the user for the target access terminal identifier.
- the optional embodiment of the present invention further increases the bidirectional update of the IP mapping table between the network terminal and the access terminal, and improves the accuracy of the communication.
- FIG. 2 is a schematic flowchart of a wireless local area network communication method according to another embodiment of the present invention, where the method includes:
- Step S201 Receive an IP mapping table sent by the network terminal, where the IP mapping table includes an access terminal identifier and an IP address corresponding to the access terminal identifier.
- the IP mapping table is a mapping table that reflects the correspondence between the access terminal identifier and the IP address, and includes all access terminal identifiers and corresponding IP addresses that access the wireless local area network access point.
- the access terminal may obtain the IP address assigned by the network terminal to the access terminal itself, and may also acquire other other accessing the same wireless local area network access point with the access terminal.
- the IP address corresponding to the access terminal identifier may include “6001-183.33.33.1” and “6002-183.33.33.2”, respectively representing the first access terminal identifier and the corresponding IP address and the second access terminal and the corresponding IP address.
- Step S202 receiving a communication instruction input by the user for the target access terminal identifier.
- the target access terminal identifier may be any access terminal identifier that accesses the wireless local area network access point, and the communication instruction may be a double click, long press, and press of a button light operation performed by the user for the target access terminal identifier. This is not specifically limited. For example, if the user inputs the target terminal identifier of 6001 in the access terminal and presses the dial key, the access terminal receives the communication command for the target access terminal identifier 6001.
- Step S203 searching for a target IP address corresponding to the target access terminal identifier according to the IP mapping table.
- the access terminal can find the target IP address corresponding to the target terminal identifier through the IP mapping table.
- the target access terminal identifier entered by the user is 6001.
- the access terminal can query the IP address corresponding to 6001 in the IP mapping table to be 183.33.33.1.
- Step S204 establishing a communication connection with the target access terminal corresponding to the target IP address according to the target IP address.
- the access terminal may send a connection request to the target IP address by using the queried target IP address, and if the target access terminal corresponding to the target IP address accepts the request, the access terminal may establish a communication connection with the target joining terminal.
- the two accesses within the WLAN access point can communicate with each other.
- the target access terminal may listen to the network before the access terminal sends the connection request. After listening to the connection request sent by the access terminal, different feedback may be performed according to different situations. Only when the access terminal receives the acknowledgment feedback of the target access terminal can the communication connection be established and communicated with the target access terminal.
- the target access terminal may send an acknowledgement message to the access terminal to establish communication. If the user detects that the user has not triggered the accepting command for a long time or has refused to accept the call, the target access terminal may not feed back the connection request or feed back the reject message; if the target access terminal is currently in communication, the target The access terminal may also not feed back the connection request or feed back a busy message.
- step S204 may include:
- the access terminal may send an IP address-based Socket connection request to the target access terminal, where the Socket connection request may include an access terminal identifier and an IP address of the access terminal.
- the target access terminal can obtain the source of the connection request, and then can be displayed to the user in the target access terminal. Further, if the target access terminal user also stores the user name of the access terminal identifier, the target access terminal may further display the user name corresponding to the access terminal.
- the target access terminal corresponding to the target IP address When receiving the acknowledgement character sent by the target access terminal, the target access terminal corresponding to the target IP address establishes a communication connection.
- the confirmation character may be an ACK confirmation character sent by the target access terminal after receiving the received communication instruction input by the user, indicating that the target access terminal has received the connection request, and agrees to the connection request.
- the IP address-based communication connection can be established with the target access terminal corresponding to the target IP address, and the voice can be transmitted in both directions between the access terminal and the target access terminal. Or video information, the two sides can decode the received voice or video information to obtain the information content.
- the method further includes:
- the access information includes an IP address of the local end and an access terminal identifier, so that the network terminal detects the IP address of the access terminal in the IP mapping table.
- the access terminal identifier corresponding to the IP address of the access terminal in the IP mapping table is updated to the access information. Access terminal identity.
- the access information may be sent by the access terminal to the network terminal after the network terminal periodically or when receiving the user request, and the access terminal sends the access request to the access terminal; or the access terminal may be received or received.
- the access terminal automatically detects that the user has modified the content in the access information and then sends the access information to the network terminal, which is not specifically limited.
- the network terminal may look up the access terminal identifier corresponding to the IP address of the access terminal in the access information in the IP mapping table, and compare the IP address.
- the corresponding access terminal identifier in the mapping table and the access terminal identifier in the access information are used to determine whether the two are consistent. If the network terminal detects that the corresponding access terminal identifier in the IP mapping table is inconsistent with the access terminal identifier in the access information, replace the corresponding access terminal identifier in the IP mapping table with the access terminal identifier in the access information. .
- the access terminal identity of the original “6001” to "6004" in the access terminal is "6004-183.33.33.1", and the network terminal receives the access.
- the access terminal identifier corresponding to 183.33.33.1 is 6001 through the IP mapping table, and the access terminal identifier 6001 and the access information of the access terminal with the IP address 183.33.33.1 in the IP mapping table can be determined. If the incoming terminal identifier 6004 is inconsistent, the access terminal identifier corresponding to 183.33.33.1 in the IP mapping table is replaced from 6001 to 6004.
- the new IP mapping table is sent to the access terminal of the WLAN access point, and after the access terminal receives the updated IP mapping table, the other access terminals It is possible to communicate with an access terminal that has changed the access terminal identity.
- the embodiment of the present invention obtains an IP address by assigning an IP address to the access terminal identifier by acquiring an access terminal identifier of the access point of the wireless local area network, where the IP mapping table includes the access terminal identifier and the And the access terminal identifier is sent to the access terminal that accesses the wireless local area network access point, so that the access terminal receives the identifier input by the user for the target access terminal identifier.
- the optional embodiment of the present invention further increases the bidirectional update of the IP mapping table between the network terminal and the access terminal, and improves the accuracy of the communication.
- FIG. 3 is a schematic diagram of an interaction process of a wireless local area network communication method according to an embodiment of the present invention, where the process includes:
- Step S301 the network terminal acquires an access terminal identifier for accessing the wireless local area network access point.
- the network terminal can obtain the access terminal identifier of all accessing the wireless local area network due to the connection relationship between the access terminal and the wireless local area network access point. For example, if the access terminal is identified as the internal number of the access terminal, the internal number of the first access terminal is 6001, and the internal number of the second access terminal is 6002, the network terminal can obtain the first access terminal.
- Step S302 The network terminal allocates an IP address to the access terminal identifier, and establishes an IP mapping table, where the IP mapping table includes an access terminal identifier and an IP address corresponding to the access terminal identifier.
- the network terminal may assign an IP address to each access terminal identifier, that is, assign an IP address to each access terminal.
- the address according to the correspondence between the access terminal identifier and the assigned IP address, the network terminal may establish an IP mapping table, where the IP mapping table includes the access terminal identifiers obtained by the network terminal and the corresponding access terminal identifiers. IP address. That is to say, the mapping relationship between the access terminal identifier and its corresponding IP address is established through the IP mapping table, and the corresponding access terminal identifier can be found through the IP address, and the corresponding IP address can also be found through the access terminal identifier. .
- the terminal may assign a corresponding IP address 183.33.33.1 to the 6001, and assign a corresponding IP address 183.33.33.2 to the 6002, so that the terminal can be established.
- An IP mapping table containing 6001 and 6002 and their corresponding IP addresses.
- Step S303 the network terminal sends the IP mapping table to the access terminal accessing the wireless local area network access point.
- the IP mapping table may be sent to all access terminals that access the wireless local area network access point.
- the access terminal may obtain the IP address assigned by the network terminal to the access terminal itself, and may also acquire other other accessing the same wireless local area network access point with the access terminal.
- the IP address corresponding to the access terminal identifier may include “6001-183.33.33.1” and “6002-183.33.33.2”, respectively representing the first access terminal identifier and the corresponding IP address and the second access terminal and the corresponding IP address.
- Step S304 the access terminal receives a communication instruction input by the user for the target access terminal identifier.
- the target access terminal identifier may be any access terminal identifier that accesses the wireless local area network access point, and the communication instruction may be a double click, long press, and press of a button light operation performed by the user for the target access terminal identifier. This is not specifically limited. For example, if the user inputs the target terminal identifier of 6001 in the access terminal and presses the dial key, the access terminal receives the communication command for the target access terminal identifier 6001.
- Step S305 the access terminal searches for a target IP address corresponding to the target access terminal identifier according to the IP mapping table.
- the access terminal can find the target IP address corresponding to the target terminal identifier through the IP mapping table.
- the target access terminal identifier entered by the user is 6001.
- the access terminal can query the IP address corresponding to 6001 in the IP mapping table to be 183.33.33.1.
- Step S306 the access terminal sends a connection request to the target access terminal corresponding to the target IP address according to the target IP address.
- the access terminal may send an IP address-based Socket connection request to the target access terminal, where the Socket connection request may include an access terminal identifier and an IP address of the access terminal.
- the target access terminal can obtain the source of the connection request, and then can be displayed to the user in the target access terminal. Further, if the target access terminal user also stores the user name of the access terminal identifier, the target access terminal may further display the user name corresponding to the access terminal.
- Step S307 the access terminal receives the confirmation character sent by the target access terminal.
- the confirmation character may be an ACK confirmation character sent by the target access terminal after receiving the received communication instruction input by the user, indicating that the target access terminal has received the connection request, and agrees to the connection request.
- Step S308 the access terminal establishes a communication connection with the target access terminal corresponding to the target IP address.
- the IP access-based communication connection can be established with the target access terminal corresponding to the target IP address, and the voice can be transmitted in both directions between the access terminal and the target access terminal.
- Video information both parties can obtain the information content by decoding the received voice or video information.
- the embodiment of the present invention obtains an IP address by assigning an IP address to the access terminal identifier by acquiring an access terminal identifier of the access point of the wireless local area network, where the IP mapping table includes the access terminal identifier and the And the access terminal identifier is sent to the access terminal that accesses the wireless local area network access point, so that the access terminal receives the identifier input by the user for the target access terminal identifier.
- FIG. 4 is a schematic structural diagram of a network terminal according to an embodiment of the present invention.
- the terminal as shown in the figure includes:
- the obtaining module 410 is configured to obtain an access terminal identifier that accesses the WLAN access point.
- the access terminal identifier is an identifier that identifies the access terminal, and may be a name, a number, an identity code, and the like of the access terminal, such as an IMEI (International Mobile Equipment Identity), a phone number, and a self.
- the terminal name and the like are defined, and are not specifically limited herein.
- the access terminal identifier of each access terminal is unique in the wireless local area network.
- the access terminal may be a mobile terminal having a wireless access function and a communication function, such as a mobile phone.
- the obtaining module 410 can obtain the access terminal identifier of all accessing the wireless local area network, because the access terminal maintains the connection relationship with the wireless local area network access point. For example, if the access terminal identifier is the internal number of the access terminal, the internal number of the first access terminal is 6001, and the internal number of the second access terminal is 6002, the acquiring module 410 can obtain the first access.
- the table construction module 420 is configured to allocate an IP address to the access terminal identifier, and establish an IP mapping table, where the IP mapping table includes the access terminal identifier and an IP address corresponding to the access terminal identifier.
- the IP mapping table is a mapping table that reflects the correspondence between the access terminal identifier and the IP address.
- the building form module 420 may assign an IP address to each access terminal identifier, that is, assign each access terminal.
- An IP address according to the correspondence between the access terminal identifier and the assigned IP address, the table construction module 420 can establish an IP mapping table, where the IP mapping table includes the access terminal identifiers obtained by the obtaining module 410 and the connections. Enter the IP address corresponding to the terminal ID. That is to say, the mapping relationship between the access terminal identifier and its corresponding IP address is established through the IP mapping table, and the corresponding access terminal identifier can be found through the IP address, and the corresponding IP address can also be found through the access terminal identifier. .
- the obtaining module 410 obtains the first access terminal identifier 6001 and the second access terminal identifier 6002, and the table building module 420 can allocate a corresponding IP address 183.33.33.1 to the 6001 and assign a corresponding IP address to the 6002. .33.2, so that an IP mapping table containing 6001 and 6002 and their corresponding IP addresses can be established.
- the first sending module 430 is configured to send the IP mapping table to an access terminal that accesses the wireless local area network access point, so that the access terminal receives the communication input by the user for the target access terminal identifier. And acquiring, according to the IP mapping table, a target IP address corresponding to the target access terminal identifier, and establishing a communication connection with the target access terminal corresponding to the target IP address.
- the first sending module 430 may send the IP mapping table to all access terminals accessing the WLAN access point.
- the access terminal may query the target IP address corresponding to the target access terminal identifier in the received IP mapping table, and reach the target access terminal by using the target IP address.
- a connection request is sent, and after the target access terminal accepts the request, a communication connection is established with the target access terminal.
- the target access terminal identifier may be any access terminal identifier that accesses the wireless local area network access point, that is, the access terminals of the wireless local area network access point may communicate with each other.
- the communication command for the target access terminal identifier may be a double click, a long press, or a press of a button for the target access terminal identifier, and is not specifically limited herein.
- the access terminal receives the communication instruction for 6001, and the access terminal can query the IP mapping table.
- the IP address corresponding to 6001 is 183.33.33.1
- the access terminal can send a Socket connection request based on the 183.33.33.1 IP address.
- the target access terminal can return an ACK confirmation character, and the access terminal receives the confirmation character.
- a communication connection can be established with the target access terminal corresponding to the target IP address, that is, the call is made.
- the first update module 440 is configured to update the IP mapping table when detecting that the newly added access terminal accesses the wireless local area network access point.
- the first update module 440 may obtain the access terminal identifier of the newly added access terminal, and identify the access terminal of the newly added access terminal. The IP address is allocated. At this time, the access terminal in the WLAN is added, and the first update module 440 adds the access terminal identifier and the corresponding IP address of the newly added access terminal to the original IP mapping table to form an update. IP mapping table.
- the first update module 440 when detecting that the new access terminal accesses the WLAN access point, the first update module 440 obtains the access terminal identifier of the newly added access terminal as 6003, and the network terminal allocates a corresponding IP to the newly added 6003.
- the address 183.33.33.3 adds the IP address 183.33.33.3 corresponding to 6003 and 6003 to the IP mapping table that originally only contains 6001 and 6002 and their corresponding IP addresses, and completes the operation of updating the IP mapping table.
- the second sending module 450 is configured to send the updated IP mapping table to the access terminal of the WLAN access point.
- the second sending module 450 sends the new IP mapping table to the access terminal of the WLAN access point, so that the access terminal can communicate with the newly added access terminal.
- the receiving module 460 is configured to receive the access information sent by the access terminal, where the access information includes an IP address of the access terminal and an access terminal identifier.
- the access information may be sent by the receiving terminal to the receiving module 460 after the receiving module 460 sends the access information to the access terminal when receiving the user command, or the access terminal may be the timed or The operation is sent to the receiving module 460 when the user command is received; the access terminal may automatically detect the operation of sending the access information to the receiving module 460 triggered by the user after modifying the content in the access information, which is not specifically limited herein.
- the detecting module 470 is configured to detect whether the access terminal identifier corresponding to the IP address of the access terminal in the IP mapping table is consistent with the received access terminal identifier in the received access information.
- the detecting module 470 may look up the access terminal identifier corresponding to the IP address of the access terminal in the access information in the IP mapping table, and compare the IP mapping table. Corresponding access terminal identifiers and access terminal identifiers in the access information determine whether the two are consistent.
- the second update module 480 is configured to: when the access terminal identifier is inconsistent, update the access terminal identifier corresponding to the IP address of the access terminal in the IP mapping table to the received access information. Access terminal identity.
- the second update module 480 replaces the corresponding access terminal identifier in the IP mapping table with the access information.
- Access terminal identity in .
- the access information received by the receiving module 460 is "6004-183.33.33.1", and the access information is received.
- the detection module 470 queries the access terminal identifier corresponding to 183.33.33.1 to be 6001 through the IP mapping table, and compares the access terminal identifier 6001 of the access terminal with the IP address 183.33.33.1 in the IP mapping table.
- the incoming terminal identifier 6004 in the incoming information is inconsistent, and the second update module 480 replaces the access terminal identifier corresponding to 183.33.33.1 in the IP mapping table from 6001 to 6004.
- the third sending module 490 is configured to send the updated IP mapping table to the access terminal of the wireless local area network access point.
- the third sending module 490 sends the new IP mapping table to the access terminal of the WLAN access point, so that the access terminal can change the access of the access terminal identifier.
- the terminal communicates.
- the embodiment of the present invention obtains an IP address by assigning an IP address to the access terminal identifier by acquiring an access terminal identifier of the access point of the wireless local area network, where the IP mapping table includes the access terminal identifier and the And the access terminal identifier is sent to the access terminal that accesses the wireless local area network access point, so that the access terminal receives the identifier input by the user for the target access terminal identifier.
- the optional embodiment of the present invention further increases the bidirectional update of the IP mapping table between the network terminal and the access terminal, and improves the accuracy of the communication.
- FIG. 5 is a schematic structural diagram of a structure of an access terminal according to an embodiment of the present invention.
- the terminal as shown in the figure includes:
- the receiving module 510 is configured to receive an IP mapping table sent by the network terminal, where the IP mapping table includes an access terminal identifier and an IP address corresponding to the access terminal identifier.
- the IP mapping table is a mapping table that reflects the correspondence between the access terminal identifier and the IP address, and includes all access terminal identifiers and corresponding IP addresses that access the wireless local area network access point.
- the receiving module 510 can obtain the IP address assigned by the network terminal to the access terminal itself, and can also acquire other other accessing the same wireless local area network access point with the access terminal.
- the IP address corresponding to the access terminal identifier may include “6001-183.33.33.1” and “6002-183.33.33.2”, respectively representing the first access terminal identifier and the corresponding IP address and the second access terminal and the corresponding IP address.
- the instruction module 520 is configured to receive a communication instruction entered by the user for the target access terminal identification.
- the target access terminal identifier may be any access terminal identifier that accesses the wireless local area network access point, and the communication instruction may be a double click, long press, and press of a button light operation performed by the user for the target access terminal identifier. This is not specifically limited. For example, if the user inputs the target terminal identifier of 6001 in the access terminal and presses the dial key, the command module 520 receives the communication instruction for the target access terminal identifier 6001.
- the searching module 530 is configured to search for a target IP address corresponding to the target access terminal identifier according to the IP mapping table.
- the searching module 530 can find the target IP address corresponding to the target terminal identifier through the IP mapping table.
- the target access terminal identifier entered by the user is 6001.
- the search module 530 can query the IP address corresponding to the 6001 in the IP mapping table to be 183.33.33.1.
- the communication module 540 is configured to establish a communication connection with the target access terminal corresponding to the target IP address according to the target IP address.
- the communication module 540 can send a connection request to the target IP address by using the queried target IP address, and if the target access terminal corresponding to the target IP address accepts the request, the communication module 540 can establish a communication connection with the target joining terminal.
- the two accesses within the WLAN access point can communicate with each other.
- the target access terminal may listen to the network before the access terminal sends the connection request, and after listening to the connection request sent by the communication module 540, different feedback may be performed according to different situations. Only when the communication module 540 receives the acknowledgment feedback of the target access terminal, can the communication connection be established and communicated with the target access terminal.
- the target access terminal may send an acknowledgement message to the communication module 540 to establish communication. If the user detects that the user has not triggered the accepting command for a long time or has refused to accept the call, the target access terminal may not feed back the connection request or feed back the reject message; if the target access terminal is currently in communication, the target The access terminal may also not feed back the connection request or feed back a busy message.
- the communication module 540 includes: a requesting unit 541 and a communication unit 542, as shown in FIG. 6, wherein:
- the requesting unit 541 is configured to send a connection request to the target access terminal corresponding to the target IP address according to the target IP address.
- the requesting unit 541 may send an IP address-based Socket connection request to the target access terminal, where the Socket connection request may include an access terminal identifier and an IP address of the access terminal.
- the target access terminal can obtain the source of the connection request, and then can be displayed to the user in the target access terminal. Further, if the target access terminal user also stores the user name of the access terminal identifier, the target access terminal may further display the user name corresponding to the access terminal.
- the communication unit 542 is configured to establish a communication connection with the target access terminal corresponding to the target IP address when receiving the acknowledgement character sent by the target access terminal.
- the confirmation character may be an ACK confirmation character sent by the target access terminal after receiving the received communication instruction input by the user, indicating that the target access terminal has received the connection request, and agrees to the connection request.
- the IP-based communication connection can be established with the target access terminal corresponding to the target IP address, and the communication unit 542 and the target access terminal can transmit the voice in both directions. Or video information, the two sides can decode the received voice or video information to obtain the information content.
- the sending module 550 is configured to send the access information to the network terminal, where the access information includes an IP address of the local end and an access terminal identifier, so that the network terminal detects the IP mapping table.
- the access terminal identifier corresponding to the IP address of the access terminal is different from the access terminal identifier in the access information, the access terminal identifier corresponding to the IP address of the access terminal in the IP mapping table is updated to An access terminal identifier in the access information.
- the access information may be sent by the sending module 550 to the network terminal after the network terminal is scheduled to send the access information to the access terminal, and the sending module 550 may be received or received.
- the sending module 550 may automatically detect the operation of sending the access information to the network terminal triggered by the user after modifying the content in the access information, which is not specifically limited herein.
- the network terminal may look up the access terminal identifier corresponding to the IP address of the access terminal in the access information in the IP mapping table, and compare the IP.
- the corresponding access terminal identifier in the mapping table and the access terminal identifier in the access information are used to determine whether the two are consistent. If the network terminal detects that the corresponding access terminal identifier in the IP mapping table is inconsistent with the access terminal identifier in the access information, replace the corresponding access terminal identifier in the IP mapping table with the access terminal identifier in the access information. .
- the access terminal identity of the original “6001” to "6004" in the access terminal is "6004-183.33.33.1", and the network terminal receives the access.
- the access terminal identifier corresponding to 183.33.33.1 is 6001 through the IP mapping table, and the access terminal identifier 6001 and the access information of the access terminal with the IP address 183.33.33.1 in the IP mapping table can be determined. If the incoming terminal identifier 6004 is inconsistent, the access terminal identifier corresponding to 183.33.33.1 in the IP mapping table is replaced from 6001 to 6004.
- the update receiving module 560 is configured to receive the updated IP mapping table sent by the network terminal.
- the new IP mapping table is sent to the update receiving module 560 of the WLAN access point, and the update receiving module 560 receives the updated IP mapping table, and other accesses are received.
- the terminal can communicate with the access terminal that has changed the access terminal identity.
- the embodiment of the present invention obtains an IP address by assigning an IP address to the access terminal identifier by acquiring an access terminal identifier of the access point of the wireless local area network, where the IP mapping table includes the access terminal identifier and the And the access terminal identifier is sent to the access terminal that accesses the wireless local area network access point, so that the access terminal receives the identifier input by the user for the target access terminal identifier.
- the optional embodiment of the present invention further increases the bidirectional update of the IP mapping table between the network terminal and the access terminal, and improves the accuracy of the communication.
- FIG. 7 is a schematic structural diagram of a wireless local area network communication system according to an embodiment of the present invention.
- the system as shown includes a network terminal 10 and an access terminal 20, wherein:
- the network terminal 10 is configured to obtain an access terminal identifier that accesses the WLAN access point, allocate an IP address to the access terminal identifier, and establish an IP mapping table, where the IP mapping table includes the access terminal identifier And the IP address corresponding to the access terminal identifier; sending the IP mapping table to an access terminal that accesses the WLAN access point, so that the access terminal receives the target access input by the user And obtaining, by the IP mapping table, a target IP address corresponding to the target access terminal identifier, and establishing a communication connection with the target access terminal corresponding to the target IP address.
- the access terminal 20 is configured to receive an IP mapping table sent by the network terminal, where the IP mapping table includes an access terminal identifier and an IP address corresponding to the access terminal identifier, and receives a communication instruction that is input by the user for the target access terminal identifier. And searching, according to the IP mapping table, a target IP address corresponding to the target access terminal identifier, and establishing, according to the target IP address, a communication connection with the target access terminal corresponding to the target IP address.
- FIG. 8 is a schematic structural diagram of another network terminal according to an embodiment of the present invention.
- the network terminal 10 in the embodiment of the present invention may be different types of electronic devices, such as: smart phones, tablet computers, handheld computers, and mobile Internet devices, personal digital assistants, media players, smart TVs, smart watches. , smart glasses, smart bracelets, etc.
- the terminal 10 in the embodiment of the present invention includes: at least one processor 101, such as a CPU, at least one transceiver 103, and at least one memory 102.
- the processor 101, the transceiver 103, and the memory 102 are connected and communicated through a bus system.
- the memory 102 may be a high speed RAM memory or a non-volatile memory such as at least one disk memory.
- Program code is stored in the memory 102, and the processor 101 can call the program code stored in the memory 102 to perform related functions through a bus system.
- each module described in FIG. 4 for example, the obtaining module 410, the metering module 420, the first sending module 430, the first updating module 440, the second sending module 450, The receiving module 460, the detecting module 470, the second updating module 480, the third sending module 490, and the like) are program codes stored in the memory 102, and are executed by the processor 101. Thereby implementing the functions of the respective units to implement a communication method of the wireless local area network.
- the processor 101 acquires an access terminal identifier of an access WLAN access point; assigns an IP address to the access terminal identifier, and establishes an IP mapping table, where the IP mapping table includes the access a terminal identifier and an IP address corresponding to the access terminal identifier; sending the IP mapping table to an access terminal that accesses the WLAN access point, so that the access terminal receives a target input by a user
- the target IP address corresponding to the target access terminal identifier is obtained according to the IP mapping table, and the target access terminal corresponding to the target IP address establishes a communication connection.
- the processor when detecting that the newly added access terminal accesses the wireless local area network access point, updating the IP mapping table; sending the updated IP mapping table to the An access terminal of a wireless local area network access point.
- the processor receiving access information sent by the access terminal, where the access information includes an IP address of the access terminal and an access terminal identifier; detecting the IP mapping Whether the access terminal identifier corresponding to the IP address of the access terminal in the table is consistent with the received access terminal identifier in the received access information; if not, the access terminal in the IP mapping table is used.
- the access terminal identifier corresponding to the IP address is updated to the received access terminal identifier in the received access information; and the updated IP mapping table is sent to the access terminal of the wireless local area network access point.
- FIG. 9 is a schematic structural diagram of another access terminal in an embodiment of the present invention.
- the access terminal 20 in the embodiment of the present invention may be different types of electronic devices, such as: smart phones, tablet computers, handheld computers, and mobile Internet devices, personal digital assistants, media players, smart televisions, and smart phones. Watches, smart glasses, smart bracelets, etc.
- the terminal 20 in the embodiment of the present invention includes: at least one processor 201, such as a CPU, at least one transceiver 203, and at least one memory 202.
- the processor 201, the transceiver 203, and the memory 202 are connected and communicated through a bus system.
- the memory 202 may be a high speed RAM memory or a non-volatile memory such as at least one disk memory.
- Program code is stored in the memory 202, and the processor 201 can call the program code stored in the memory 202 to perform related functions through a bus system.
- the various modules described in FIG. 5 and FIG. 6 eg, the receiving module 510, the instruction module 520, the lookup module 530, the communication module 540, the update receiving module 560, the sending Module 550, etc.
- the processor 201 is program code stored in said memory 202 and executed by said processor 201 to implement the functions of said various modules to implement a wireless local area network communication method.
- the processor 201 receiving an IP mapping table sent by the network terminal, where the IP mapping table includes an access terminal identifier and an IP address corresponding to the access terminal identifier; and receiving, by the user, the target access terminal identifier a communication command; searching for a target IP address corresponding to the target access terminal identifier according to the IP mapping table; and establishing a communication connection with the target access terminal corresponding to the target IP address according to the target IP address.
- the processor 201 sends a connection request to the target access terminal corresponding to the target IP address according to the target IP address; when receiving the confirmation character sent by the target access terminal Establishing a communication connection with the target access terminal corresponding to the target IP address.
- the access information is sent to the network terminal, and the access information includes an IP address of the local end and an access terminal identifier, so that the network terminal detects the IP mapping table.
- the access terminal identifier corresponding to the IP address of the access terminal is inconsistent with the access terminal identifier in the access information, update the access terminal identifier corresponding to the IP address of the access terminal in the IP mapping table. And identifying, by the access terminal in the access information, the updated IP mapping table sent by the network terminal.
- the embodiment of the present invention obtains an IP address by assigning an IP address to the access terminal identifier by acquiring an access terminal identifier of the access point of the wireless local area network, where the IP mapping table includes the access terminal identifier and the And the access terminal identifier is sent to the access terminal that accesses the wireless local area network access point, so that the access terminal receives the identifier input by the user for the target access terminal identifier.
- the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Databases & Information Systems (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本发明实施例提供了一种无线局域网通信方法,该方法包括:获取接入无线局域网接入点的接入终端标识;向所述接入终端标识分配IP地址,建立IP映射表,所述IP映射表包含所述接入终端标识以及所述接入终端标识对应的IP地址;将所述IP映射表发送给接入所述无线局域网接入点的接入终端,以使所述接入终端接收到用户输入的针对目标接入终端标识的通信指令时,根据所述IP映射表获取目标接入终端标识对应的目标IP地址,与所述目标IP地址对应的目标接入终端建立通信连接。本发明还提供了一种网络终端及无线局域网通信***。采用本发明,可以使接入同一无线局域网接入点的所有移动终端之间实现通信,提高了内部通信的便捷性以及通信效率。
Description
本申请要求于2015年12月31日提交中国专利局,申请号为201511032524.X、发明名称为“一种无线局域网通信方法、终端及***”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本发明涉及电子技术领域,尤其涉及一种无线局域网通信方法、终端及***。
现阶段,企业或单位内部通信的方式主要是通过内线座机电话,通过内线座机可以免费向企业或单位内部的同事拨打电话,这种方法看起来费用很低,但是由于内线座机是通过内部交换机实现的,因此企业需要购买交换机且进行维护,也一定程度的增加了通信费用;更重要的是,座机存在占用空间、安装不便、不能移动接打电话等问题,影响了通信的便捷性,例如如果有人有事离开座位,那么就无法接到座机电话,降低了通信效率。
本发明实施例所要解决的技术问题在于,提供一种无线局域网通信方法、终端及***,可以使接入同一无线局域网接入点的所有移动终端之间实现通信,从而提高了内部通信的便捷性以及通信效率。
本发明实施例提供了一种无线局域网通信方法,所述方法包括:
获取接入无线局域网接入点的接入终端标识;
向所述接入终端标识分配IP地址,建立IP映射表,所述IP映射表包含所述接入终端标识以及所述接入终端标识对应的IP地址;
将所述IP映射表发送给接入所述无线局域网接入点的接入终端,以使所述接入终端接收到用户输入的针对目标接入终端标识的通信指令时,根据所述IP映射表获取目标接入终端标识对应的目标IP地址,与所述目标IP地址对应的目标接入终端建立通信连接。
可选的,所述方法还包括:
当检测到新增接入终端接入所述无线局域网接入点时,更新所述IP映射表;
将更新后的所述IP映射表发送给所述无线局域网接入点的接入终端。
可选的,所述方法还包括:
接收所述接入终端发送的接入信息,所述接入信息包括所述接入终端的IP地址以及接入终端标识;
检测在所述IP映射表中所述接入终端的IP地址对应的接入终端标识与接收到的所述接入信息中的接入终端标识是否一致;
若不一致,则将所述IP映射表中所述接入终端的IP地址对应的接入终端标识更新为接收到的所述接入信息中的接入终端标识;
将更新后的所述IP映射表发送给所述无线局域网接入点的接入终端。
本发明实施例还提供了一种无线局域网通信方法,所述方法包括:
接收网络终端发送的IP映射表,所述IP映射表包含接入终端标识以及接入终端标识对应的IP地址;
接收用户输入的针对目标接入终端标识的通信指令;
根据所述IP映射表,查找所述目标接入终端标识对应的目标IP地址;
根据所述目标IP地址,与所述目标IP地址对应的目标接入终端建立通信连接。
可选的,所述根据所述目标IP地址,与所述目标IP地址对应的目标接入终端建立连接包括:
根据所述目标IP地址,向所述目标IP地址对应的目标接入终端发送连接请求;
当接收到所述目标接入终端发送的确认字符时,与所述目标IP地址对应的目标接入终端建立通信连接。
可选的,所述方法还包括:
将接入信息发送给所述网络终端,所述接入信息包括本端的IP地址以及接入终端标识,以使所述网络终端在检测到所述IP映射表中所述接入终端的IP地址对应的接入终端标识与所述接入信息中的接入终端标识不一致时,将所述IP映射表中所述接入终端的IP地址对应的接入终端标识更新为所述接入信息中的接入终端标识;
接收所述网络终端发送的更新后的所述IP映射表。
相应的,本发明实施例提供了一种网络终端,所述终端包括:
获取模块,设置为获取接入所述无线局域网接入点的接入终端标识;
建表模块,设置为向所述接入终端标识分配IP地址,建立IP映射表,所述IP映射表包含所述接入终端标识以及所述接入终端标识对应的IP地址;
第一发送模块,设置为将所述IP映射表发送给接入所述无线局域网接入点的接入终端,以使所述接入终端接收到用户输入的针对目标接入终端标识的通信指令时,根据所述IP映射表获取目标接入终端标识对应的目标IP地址,与所述目标IP地址对应的目标接入终端建立通信连接。
可选的,所述终端还包括:
第一更新模块,设置为当检测到新增接入终端接入所述无线局域网接入点时,更新所述IP映射表;
第二发送模块,设置为将更新后的所述IP映射表发送给所述无线局域网接入点的接入终端。
可选的,所述终端还包括:
接收模块,设置为接收所述接入终端发送的接入信息,所述接入信息包括所述接入终端的IP地址以及接入终端标识;
检测模块,设置为检测在所述IP映射表中所述接入终端的IP地址对应的接入终端标识与接收到的所述接入信息中的接入终端标识是否一致;
第二更新模块,设置为检测到接入终端标识不一致时,将所述IP映射表中所述接入终端的IP地址对应的接入终端标识更新为接收到的所述接入信息中的接入终端标识;
第三发送模块,设置为将更新后的所述IP映射表发送给所述无线局域网接入点的接入终端。
相应的,本发明实施例还提供了一种接入终端,所述终端包括:
接收模块,设置为接收网络终端发送的IP映射表,所述IP映射表包含接入终端标识以及接入终端标识对应的IP地址;
指令模块,设置为接收用户输入的针对目标接入终端标识的通信指令;
查找模块,设置为根据所述IP映射表,查找所述目标接入终端标识对应的目标IP地址;
通信模块,设置为根据所述目标IP地址,与所述目标IP地址对应的目标接入终端建立通信连接。
可选的,所述通信模块包括:
请求单元,设置为根据所述目标IP地址,向所述目标IP地址对应的目标接入终端发送连接请求;
通信单元,设置为当接收到所述目标接入终端发送的确认字符时,与所述目标IP地址对应的目标接入终端建立通信连接。
可选的,所述终端还包括:
发送模块,设置为将接入信息发送给所述网络终端,所述接入信息包括本端的IP地址以及接入终端标识,以使所述网络终端在检测到所述IP映射表中所述接入终端的IP地址对应的接入终端标识与所述接入信息中的接入终端标识不一致时,将所述IP映射表中所述接入终端的IP地址对应的接入终端标识更新为所述接入信息中的接入终端标识;
更新接收模块,设置为接收所述网络终端发送的更新后的所述IP映射表。
相应的,本发明还提供了一种无线局域网通信***,所述***包括网络终端和接入终端,其中:
网络终端,用于获取接入所述无线局域网接入点的接入终端标识;向所述接入终端标识分配IP地址,建立IP映射表,所述IP映射表包含所述接入终端标识以及所述接入终端标识对应的IP地址;将所述IP映射表发送给接入所述无线局域网接入点的接入终端,以使所述接入终端接收到用户输入的针对目标接入终端标识的通信指令时,根据所述IP映射表获取目标接入终端标识对应的目标IP地址,与所述目标IP地址对应的目标接入终端建立通信连接;
接入终端,用于接收网络终端发送的IP映射表,所述IP映射表包含接入终端标识以及接入终端标识对应的IP地址;接收用户输入的针对目标接入终端标识的通信指令;根据所述IP映射表,查找所述目标接入终端标识对应的目标IP地址;根据所述目标IP地址,与所述目标IP地址对应的目标接入终端建立通信连接。
本发明实施例通过获取接入无线局域网接入点的接入终端标识,向所述接入终端标识分配IP地址,建立IP映射表,所述IP映射表包含所述接入终端标识以及所述接入终端标识对应的IP地址,将所述IP映射表发送给接入所述无线局域网接入点的接入终端,以使所述接入终端接收到用户输入的针对目标接入终端标识的通信指令时,根据所述IP映射表获取目标接入终端标识对应的目标IP地址,与所述目标IP地址对应的目标接入终端建立通信连接,可以使接入同一无线局域网接入点的所有移动终端之间实现通信,从而提高了内部通信的便捷性以及通信效率。
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本发明实施例中一种无线局域网通信方法的流程示意图;
图2是本发明另一实施例中无线局域网通信方法的流程示意图;
图3是本发明实施例中一种无线局域网通信方法的交互流程示意图;
图4是本发明实施例中一种网络终端的组成结构示意图;
图5是本发明实施例中一种接入终端的组成结构示意图;
图6是本发明实施例中图5的通信模块的组成结构图;
图7是本发明实施例中一种无线局域网通信***的组成结构示意图;
图8是本发明实施例中另一种网络终端的组成结构示意图;
图9是本发明实施例中另一种接入终端的组成结构示意图。
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
图1是本发明实施例中一种无线局域网通信方法的流程示意图,本方法流程可以由网络终端实施,所述网络终端可以为具有无线局域网热点建立功能的终端或运行在终端的软件程序,所述终端可以包括无线路由器、手机、笔记本电脑、车载电脑等。如图所示所述方法至少包括:
步骤S101,获取接入所述无线局域网接入点的接入终端标识。
具体的,接入终端标识是识别接入终端的一种标识,可以是接入终端的名称、号码、身份码等,例如IMEI(International Mobile Equipment Identity,国际移动设备身份码)、电话号码、自定义终端名称等等,这里不作具体限定。需要说明的是,每个接入终端的接入终端标识是在该无线局域网中唯一的。这里,接入终端可以是具备无线接入功能和通信功能的移动终端,例如手机。
在本实施例中,由于接入终端与无线局域网接入点保持的连接关系,网络终端可以获取接入所有接入无线局域网的接入终端标识。例如,设定接入终端标识为接入终端的内部号码,设第一接入终端的内部号码为6001,第二接入终端的内部号码为6002,则网络终端可以获取到第一接入终端标识6001以及第二接入终端标识6002。
步骤S102,向所述接入终端标识分配IP地址,建立IP映射表,所述IP映射表包含所述接入终端标识以及所述接入终端标识对应的IP地址。
具体的,IP映射表是反映接入终端标识与IP地址之间对应关系的映射表。
在本实施例中,网络终端在获取到接入无线局域网接入点的所有接入终端标识后,可以向每个接入终端标识分配一个IP地址,也即向每个接入终端分配一个IP地址,根据接入终端标识与分配的IP地址之间的对应关系,网络终端可以建立IP映射表,IP映射表中包含了网络终端获取到的各接入终端标识以及各接入终端标识对应的IP地址。也就是说,通过IP映射表,建立了接入终端标识与其对应的IP地址的对应关系,通过IP地址可以查找到对应的接入终端标识,通过接入终端标识也可以查找到对应的IP地址。
例如,终端获取到第一接入终端标识6001以及第二接入终端标识6002,则可以向6001分配一个对应的IP地址183.33.33.1,向6002分配一个对应的IP地址183.33.33.2,从而可以建立包含6001和6002及其对应的IP地址的IP映射表。
步骤S103,将所述IP映射表发送给接入所述无线局域网接入点的接入终端,以使所述接入终端接收到用户输入的针对目标接入终端标识的通信指令时,根据所述IP映射表获取目标接入终端标识对应的目标IP地址,与所述目标IP地址对应的目标接入终端建立通信连接。
具体的,网络终端建立了IP映射表之后,就可以将该IP映射表发送给接入无线局域网接入点的所有接入终端。当接入终端接收到用户输入的针对目标接入终端标识的通信指令时,可以查询接收到的IP映射表中目标接入终端标识对应的目标IP地址,通过目标IP地址,向目标接入终端发送连接请求,在目标接入终端接受请求之后,与目标接入终端建立通信连接。
需要说明的是,目标接入终端标识可以是接入无线局域网接入点的任一接入终端标识,即无线局域网接入点的接入终端之间可以互相通信。针对目标接入终端标识的通信指令可以是用户对目标接入终端标识进行的双击、长按、按下拨打按键等操作,这里不作具体限定。
例如,网络终端将IP映射表发送给接入无线局域网接入点的所有接入终端后,接入终端接收到针对6001的通信指令,此时接入终端可以查询到IP映射表中6001所对应的IP地址为183.33.33.1,则接入终端可以发送基于183.33.33.1IP地址的Socket连接请求,目标接入终端接受请求之后可以返回ACK确认字符,接入终端接收到确认字符后就可以与目标IP地址对应的目标接入终端建立通信连接,即进行通话。
可选的,该方法还可以包括:
当检测到新增接入终端接入所述无线局域网接入点时,更新所述IP映射表。
具体的,网络终端检测到有新增接入终端接入无线局域网接入点时,可以获取新增接入终端的接入终端标识,并向新增接入终端的接入终端标识分配IP地址,此时无线局域网中的接入终端增加了,则网络终端将新增接入终端的接入终端标识和对应的IP地址增加到原有的IP映射表中形成更新后的IP映射表。
例如,网络终端检测到新增接入终端接入无线局域网接入点时,获取到新增接入终端的接入终端标识为6003,网络终端给新增的6003分配一个对应的IP地址183.33.33.3,将6003以及6003对应的IP地址183.33.33.3加入原来仅包含6001和6002及其对应的IP地址的IP映射表中,完成更新IP映射表的操作。
将更新后的所述IP映射表发送给所述无线局域网接入点的接入终端。
具体的,网络终端将IP映射表更新完毕后,将新的IP映射表发送给无线局域网接入点的接入终端,以使接入终端可以与新增的接入终端进行通信。
可选的,该方法还可以包括:
接收所述接入终端发送的接入信息,所述接入信息包括所述接入终端的IP地址以及接入终端标识。
具体的,接入信息可以是网络终端定时或者接收到用户指令时向各个接入终端发出接入信息的获取请求后,接入终端发送给网络终端的;也可以是接入终端定时或者接收到用户指令时向网络终端发送的;还可以是接入终端自动检测到用户修改了接入信息中的内容后触发的向网络终端发送接入信息的操作,这里不作具体限定。
检测在所述IP映射表中所述接入终端的IP地址对应的接入终端标识与接收到的所述接入信息中的接入终端标识是否一致。
具体的,网络终端在接收到接入终端发送的接入信息后,可以在IP映射表中查找接入信息中的接入终端的IP地址所对应的接入终端标识,对比IP映射表中对应的接入终端标识与接入信息中的接入终端标识,判断两者是否是一致的。
若不一致,则将所述IP映射表中所述接入终端的IP地址对应的接入终端标识更新为接收到的所述接入信息中的接入终端标识。
具体的,若网络终端检测到IP映射表中对应的接入终端标识与接入信息中的接入终端标识不一致,则将IP映射表中对应的接入终端标识替换为接入信息中的接入终端标识。
例如,用户在接入终端中将原本为“6001”的接入终端标识更改为了“6004”,则网络终端接收到的接入信息即为“6004-183.33.33.1”,网络终端接收到接入信息后,通过IP映射表查询到183.33.33.1对应的接入终端标识为6001,对比后可以确定IP地址为183.33.33.1的接入终端在IP映射表中的接入终端标识6001与接入信息中的入终端标识6004不一致,则将IP映射表中的183.33.33.1对应的接入终端标识从6001替换为6004。
将更新后的所述IP映射表发送给所述无线局域网接入点的接入终端。
具体的,网络终端将IP映射表更新完毕后,将新的IP映射表发送给无线局域网接入点的接入终端,以使接入终端可以与更改了接入终端标识的接入终端进行通信。
本发明实施例通过获取接入无线局域网接入点的接入终端标识,向所述接入终端标识分配IP地址,建立IP映射表,所述IP映射表包含所述接入终端标识以及所述接入终端标识对应的IP地址,将所述IP映射表发送给接入所述无线局域网接入点的接入终端,以使所述接入终端接收到用户输入的针对目标接入终端标识的通信指令时,根据所述IP映射表获取目标接入终端标识对应的目标IP地址,与所述目标IP地址对应的目标接入终端建立通信连接,可以使接入同一无线局域网接入点的所有移动终端之间实现通信,从而提高了内部通信的便捷性以及通信效率。另外,本发明可选实施例还增加了网络终端与接入终端对IP映射表的双向更新,提高了通信的准确性。
图2是本发明另一实施例中无线局域网通信方法的流程示意图,该方法包括:
步骤S201,接收网络终端发送的IP映射表,所述IP映射表包含接入终端标识以及接入终端标识对应的IP地址。
具体的,IP映射表是反映接入终端标识与IP地址之间对应关系的映射表,包含了接入无线局域网接入点的所有接入终端标识以及对应的IP地址。接入终端接收到网络终端发送的IP映射表后,就可以获取到网络终端给接入终端自身分配的IP地址,同时也可以获取到其他与接入终端接入同一无线局域网接入点的其他接入终端标识对应的IP地址。例如IP映射表中可以包括“6001-183.33.33.1”以及“6002-183.33.33.2”,分别代表第一接入终端标识以及对应的IP地址和第二接入终端以及对应的IP地址。
步骤S202,接收用户输入的针对目标接入终端标识的通信指令。
具体的,目标接入终端标识可以是接入无线局域网接入点的任一接入终端标识,通信指令可以是用户针对目标接入终端标识进行的双击、长按、按下拨打按键灯操作,这里不作具体限定。例如,用户在接入终端中输入为6001的目标终端标识,并且按下拨号键,则接入终端则接收到了针对目标接入终端标识为6001的通信指令。
步骤S203,根据所述IP映射表,查找所述目标接入终端标识对应的目标IP地址。
具体的,接入终端通过IP映射表可以查找到与目标终端标识对应的目标IP地址。例如,用户输入的目标接入终端标识为6001,此时接入终端可以查询到IP映射表中6001所对应的IP地址为183.33.33.1。
步骤S204,根据所述目标IP地址,与所述目标IP地址对应的目标接入终端建立通信连接。
具体的,接入终端通过查询到的目标IP地址,可以向目标IP地址发送连接请求,目标IP地址对应的目标接入终端若接受该请求,则接入终端可以与目标加入终端建立通信连接,则无线局域网接入点内的两个接入中就可以实现相互通信。
在本实施例中,目标接入终端在接入终端发送连接请求之前,可以对网络进行监听,当监听到接入终端发送的连接请求后,可以根据不同情况进行不同的反馈。只有当接入终端接收到目标接入终端的确认反馈后,才可以与目标接入终端建立通信连接并进行通信。
例如,若目标接入终端当前处于通信空闲状态,则检测用户是否触发应答、接听或者通话等接受指令,若触发接受指令,则目标接入终端则可以向接入终端发送确认消息,进而建立通信连接;若检测到用户长时间未触发接受指令或者出发了拒绝接听的拒绝指令,则目标接入终端可以不对连接请求进行反馈,或者反馈拒绝消息;若目标接入终端当前处于通信状态,则目标接入终端也可以不对连接请求进行反馈,或者反馈繁忙消息。
可选的,步骤S204可以包括:
根据所述目标IP地址,向所述目标IP地址对应的目标接入终端发送连接请求。
具体的,接入终端可以向目标接入终端发送基于IP地址的Socket连接请求,其中,Socket连接请求中可以包括接入终端的接入终端标识以及IP地址。目标接入终端接收到连接请求后,则可以获取到连接请求的来源,进而可以在目标接入终端中显示给用户。进一步地,如果目标接入终端用户还相应的存储了接入终端标识的用户姓名,则目标接入终端还可以进一步显示接入终端对应的用户姓名。
当接收到所述目标接入终端发送的确认字符时,与所述目标IP地址对应的目标接入终端建立通信连接。
具体的,确认字符可以是目标接入终端接收到用户输入的接收通信指令之后发送的ACK确认字符,代表目标接入终端已经接收到连接请求,并且同意该连接请求。
在可选实施例中,当接入终端接收到确认字符后,就可以与目标IP地址对应的目标接入终端建立基于IP的通信连接,接入终端与目标接入终端之间可以双向传输语音或视频信息,双方对接收到的语音或视频信息进行解码即可获取信息内容。
可选的,该方法还包括:
将接入信息发送给所述网络终端,所述接入信息包括本端的IP地址以及接入终端标识,以使所述网络终端在检测到所述IP映射表中所述接入终端的IP地址对应的接入终端标识与所述接入信息中的接入终端标识不一致时,将所述IP映射表中所述接入终端的IP地址对应的接入终端标识更新为所述接入信息中的接入终端标识。
具体的,接入信息可以是网络终端定时或者接收到用户指令时向各个接入终端发出接入信息的获取请求后,接入终端发送给网络终端的;也可以是接入终端定时或者接收到用户指令时向网络终端发送的;还可以是接入终端自动检测到用户修改了接入信息中的内容后触发的向网络终端发送接入信息的操作,这里不作具体限定。
在可选实施例中,网络终端在接收到接入终端发送的接入信息后,可以在IP映射表中查找接入信息中的接入终端的IP地址所对应的接入终端标识,对比IP映射表中对应的接入终端标识与接入信息中的接入终端标识,判断两者是否是一致的。若网络终端检测到IP映射表中对应的接入终端标识与接入信息中的接入终端标识不一致,则将IP映射表中对应的接入终端标识替换为接入信息中的接入终端标识。
例如,用户在接入终端中将原本为“6001”的接入终端标识更改为了“6004”,则网络终端接收到的接入信息即为“6004-183.33.33.1”,网络终端接收到接入信息后,通过IP映射表查询到183.33.33.1对应的接入终端标识为6001,对比后可以确定IP地址为183.33.33.1的接入终端在IP映射表中的接入终端标识6001与接入信息中的入终端标识6004不一致,则将IP映射表中的183.33.33.1对应的接入终端标识从6001替换为6004。
接收所述网络终端发送的更新后的所述IP映射表。
具体的,网络终端将IP映射表更新完毕后,会将新的IP映射表发送给无线局域网接入点的接入终端,接入终端接收到更新后的IP映射表后,其他接入终端就可以与更改了接入终端标识的接入终端进行通信。
本发明实施例通过获取接入无线局域网接入点的接入终端标识,向所述接入终端标识分配IP地址,建立IP映射表,所述IP映射表包含所述接入终端标识以及所述接入终端标识对应的IP地址,将所述IP映射表发送给接入所述无线局域网接入点的接入终端,以使所述接入终端接收到用户输入的针对目标接入终端标识的通信指令时,根据所述IP映射表获取目标接入终端标识对应的目标IP地址,与所述目标IP地址对应的目标接入终端建立通信连接,可以使接入同一无线局域网接入点的所有移动终端之间实现通信,从而提高了内部通信的便捷性以及通信效率。另外,本发明可选实施例还增加了网络终端与接入终端对IP映射表的双向更新,提高了通信的准确性。
图3是本发明实施例中一种无线局域网通信方法的交互流程示意图,如图所示所述流程包括:
步骤S301,网络终端获取接入无线局域网接入点的接入终端标识。
在本实施例中,由于接入终端与无线局域网接入点保持的连接关系,网络终端可以获取接入所有接入无线局域网的接入终端标识。例如,设定接入终端标识为接入终端的内部号码,设第一接入终端的内部号码为6001,第二接入终端的内部号码为6002,则网络终端可以获取到第一接入终端标识6001以及第二接入终端标识6002。
步骤S302,网络终端向接入终端标识分配IP地址,建立IP映射表, IP映射表包含接入终端标识以及接入终端标识对应的IP地址。
在本实施例中,网络终端在获取到接入无线局域网接入点的所有接入终端标识后,可以向每个接入终端标识分配一个IP地址,也即向每个接入终端分配一个IP地址,根据接入终端标识与分配的IP地址之间的对应关系,网络终端可以建立IP映射表,IP映射表中包含了网络终端获取到的各接入终端标识以及各接入终端标识对应的IP地址。也就是说,通过IP映射表,建立了接入终端标识与其对应的IP地址的对应关系,通过IP地址可以查找到对应的接入终端标识,通过接入终端标识也可以查找到对应的IP地址。
例如,终端获取到第一接入终端标识6001以及第二接入终端标识6002,则可以向6001分配一个对应的IP地址183.33.33.1,向6002分配一个对应的IP地址183.33.33.2,从而可以建立包含6001和6002及其对应的IP地址的IP映射表。
步骤S303,网络终端将IP映射表发送给接入无线局域网接入点的接入终端。
具体的,网络终端建立了IP映射表之后,就可以将该IP映射表发送给接入无线局域网接入点的所有接入终端。接入终端接收到网络终端发送的IP映射表后,就可以获取到网络终端给接入终端自身分配的IP地址,同时也可以获取到其他与接入终端接入同一无线局域网接入点的其他接入终端标识对应的IP地址。例如IP映射表中可以包括“6001-183.33.33.1”以及“6002-183.33.33.2”,分别代表第一接入终端标识以及对应的IP地址和第二接入终端以及对应的IP地址。
步骤S304,接入终端接收用户输入的针对目标接入终端标识的通信指令。
具体的,目标接入终端标识可以是接入无线局域网接入点的任一接入终端标识,通信指令可以是用户针对目标接入终端标识进行的双击、长按、按下拨打按键灯操作,这里不作具体限定。例如,用户在接入终端中输入为6001的目标终端标识,并且按下拨号键,则接入终端则接收到了针对目标接入终端标识为6001的通信指令。
步骤S305,接入终端根据IP映射表,查找目标接入终端标识对应的目标IP地址。
具体的,接入终端通过IP映射表可以查找到与目标终端标识对应的目标IP地址。例如,用户输入的目标接入终端标识为6001,此时接入终端可以查询到IP映射表中6001所对应的IP地址为183.33.33.1。
步骤S306,接入终端根据目标IP地址,向目标IP地址对应的目标接入终端发送连接请求。
具体的,接入终端可以向目标接入终端发送基于IP地址的Socket连接请求,其中,Socket连接请求中可以包括接入终端的接入终端标识以及IP地址。目标接入终端接收到连接请求后,则可以获取到连接请求的来源,进而可以在目标接入终端中显示给用户。进一步地,如果目标接入终端用户还相应的存储了接入终端标识的用户姓名,则目标接入终端还可以进一步显示接入终端对应的用户姓名。
步骤S307,接入终端接收目标接入终端发送的确认字符。
具体的,确认字符可以是目标接入终端接收到用户输入的接收通信指令之后发送的ACK确认字符,代表目标接入终端已经接收到连接请求,并且同意该连接请求。
步骤S308,接入终端与目标IP地址对应的目标接入终端建立通信连接。
在本实施例中,当接入终端接收到确认字符后,就可以与目标IP地址对应的目标接入终端建立基于IP的通信连接,接入终端与目标接入终端之间可以双向传输语音或视频信息,双方对接收到的语音或视频信息进行解码即可获取信息内容。
本发明实施例通过获取接入无线局域网接入点的接入终端标识,向所述接入终端标识分配IP地址,建立IP映射表,所述IP映射表包含所述接入终端标识以及所述接入终端标识对应的IP地址,将所述IP映射表发送给接入所述无线局域网接入点的接入终端,以使所述接入终端接收到用户输入的针对目标接入终端标识的通信指令时,根据所述IP映射表获取目标接入终端标识对应的目标IP地址,与所述目标IP地址对应的目标接入终端建立通信连接,可以使接入同一无线局域网接入点的所有移动终端之间实现通信,从而提高了内部通信的便捷性以及通信效率。
图4是本发明实施例中一种网络终端的组成结构示意图。如图所示所述终端包括:
获取模块410,设置为获取接入所述无线局域网接入点的接入终端标识。
具体的,接入终端标识是识别接入终端的一种标识,可以是接入终端的名称、号码、身份码等,例如IMEI(International Mobile Equipment Identity,国际移动设备身份码)、电话号码、自定义终端名称等等,这里不作具体限定。需要说明的是,每个接入终端的接入终端标识是在该无线局域网中唯一的。这里,接入终端可以是具备无线接入功能和通信功能的移动终端,例如手机。
在本实施例中,由于接入终端与无线局域网接入点保持的连接关系,获取模块410可以获取接入所有接入无线局域网的接入终端标识。例如,设定接入终端标识为接入终端的内部号码,设第一接入终端的内部号码为6001,第二接入终端的内部号码为6002,则获取模块410可以获取到第一接入终端标识6001以及第二接入终端标识6002。
建表模块420,设置为向所述接入终端标识分配IP地址,建立IP映射表,所述IP映射表包含所述接入终端标识以及所述接入终端标识对应的IP地址。
具体的,IP映射表是反映接入终端标识与IP地址之间对应关系的映射表。
在本实施例中,在获取到接入无线局域网接入点的所有接入终端标识后,建表模块420可以向每个接入终端标识分配一个IP地址,也即向每个接入终端分配一个IP地址,根据接入终端标识与分配的IP地址之间的对应关系,建表模块420可以建立IP映射表,IP映射表中包含了获取模块410获取到的各接入终端标识以及各接入终端标识对应的IP地址。也就是说,通过IP映射表,建立了接入终端标识与其对应的IP地址的对应关系,通过IP地址可以查找到对应的接入终端标识,通过接入终端标识也可以查找到对应的IP地址。
例如,获取模块410获取到第一接入终端标识6001以及第二接入终端标识6002,则建表模块420可以向6001分配一个对应的IP地址183.33.33.1,向6002分配一个对应的IP地址183.33.33.2,从而可以建立包含6001和6002及其对应的IP地址的IP映射表。
第一发送模块430,设置为将所述IP映射表发送给接入所述无线局域网接入点的接入终端,以使所述接入终端接收到用户输入的针对目标接入终端标识的通信指令时,根据所述IP映射表获取目标接入终端标识对应的目标IP地址,与所述目标IP地址对应的目标接入终端建立通信连接。
具体的,建立了IP映射表之后,第一发送模块430就可以将该IP映射表发送给接入无线局域网接入点的所有接入终端。当接入终端接收到用户输入的针对目标接入终端标识的通信指令时,可以查询接收到的IP映射表中目标接入终端标识对应的目标IP地址,通过目标IP地址,向目标接入终端发送连接请求,在目标接入终端接受请求之后,与目标接入终端建立通信连接。
需要说明的是,目标接入终端标识可以是接入无线局域网接入点的任一接入终端标识,即无线局域网接入点的接入终端之间可以互相通信。针对目标接入终端标识的通信指令可以是用户对目标接入终端标识进行的双击、长按、按下拨打按键等操作,这里不作具体限定。
例如,第一发送模块430将IP映射表发送给接入无线局域网接入点的所有接入终端后,接入终端接收到针对6001的通信指令,此时接入终端可以查询到IP映射表中6001所对应的IP地址为183.33.33.1,则接入终端可以发送基于183.33.33.1IP地址的Socket连接请求,目标接入终端接受请求之后可以返回ACK确认字符,接入终端接收到确认字符后就可以与目标IP地址对应的目标接入终端建立通信连接,即进行通话。
第一更新模块440,设置为当检测到新增接入终端接入所述无线局域网接入点时,更新所述IP映射表。
具体的,检测到有新增接入终端接入无线局域网接入点时,第一更新模块440可以获取新增接入终端的接入终端标识,并向新增接入终端的接入终端标识分配IP地址,此时无线局域网中的接入终端增加了,则第一更新模块440将新增接入终端的接入终端标识和对应的IP地址增加到原有的IP映射表中形成更新后的IP映射表。
例如,检测到新增接入终端接入无线局域网接入点时,第一更新模块440获取到新增接入终端的接入终端标识为6003,网络终端给新增的6003分配一个对应的IP地址183.33.33.3,将6003以及6003对应的IP地址183.33.33.3加入原来仅包含6001和6002及其对应的IP地址的IP映射表中,完成更新IP映射表的操作。
第二发送模块450,设置为将更新后的所述IP映射表发送给所述无线局域网接入点的接入终端。
具体的,将IP映射表更新完毕后,第二发送模块450将新的IP映射表发送给无线局域网接入点的接入终端,以使接入终端可以与新增的接入终端进行通信。
接收模块460,设置为接收所述接入终端发送的接入信息,所述接入信息包括所述接入终端的IP地址以及接入终端标识。
具体的,接入信息可以是接收模块460定时或者接收到用户指令时向各个接入终端发出接入信息的获取请求后,接入终端发送给接收模块460的;也可以是接入终端定时或者接收到用户指令时向接收模块460发送的;还可以是接入终端自动检测到用户修改了接入信息中的内容后触发的向接收模块460发送接入信息的操作,这里不作具体限定。
检测模块470,设置为检测在所述IP映射表中所述接入终端的IP地址对应的接入终端标识与接收到的所述接入信息中的接入终端标识是否一致。
具体的,在接收到接入终端发送的接入信息后,检测模块470可以在IP映射表中查找接入信息中的接入终端的IP地址所对应的接入终端标识,对比IP映射表中对应的接入终端标识与接入信息中的接入终端标识,判断两者是否是一致的。
第二更新模块480,设置为检测到接入终端标识不一致时,将所述IP映射表中所述接入终端的IP地址对应的接入终端标识更新为接收到的所述接入信息中的接入终端标识。
具体的,若检测到IP映射表中对应的接入终端标识与接入信息中的接入终端标识不一致,第二更新模块480则将IP映射表中对应的接入终端标识替换为接入信息中的接入终端标识。
例如,用户在接入终端中将原本为“6001”的接入终端标识更改为了“6004”,则接收模块460接收到的接入信息即为“6004-183.33.33.1”,接收到接入信息后,检测模块470通过IP映射表查询到183.33.33.1对应的接入终端标识为6001,对比后可以确定IP地址为183.33.33.1的接入终端在IP映射表中的接入终端标识6001与接入信息中的入终端标识6004不一致,第二更新模块480则将IP映射表中的183.33.33.1对应的接入终端标识从6001替换为6004。
第三发送模块490,设置为将更新后的所述IP映射表发送给所述无线局域网接入点的接入终端。
具体的,将IP映射表更新完毕后,第三发送模块490将新的IP映射表发送给无线局域网接入点的接入终端,以使接入终端可以与更改了接入终端标识的接入终端进行通信。
本发明实施例通过获取接入无线局域网接入点的接入终端标识,向所述接入终端标识分配IP地址,建立IP映射表,所述IP映射表包含所述接入终端标识以及所述接入终端标识对应的IP地址,将所述IP映射表发送给接入所述无线局域网接入点的接入终端,以使所述接入终端接收到用户输入的针对目标接入终端标识的通信指令时,根据所述IP映射表获取目标接入终端标识对应的目标IP地址,与所述目标IP地址对应的目标接入终端建立通信连接,可以使接入同一无线局域网接入点的所有移动终端之间实现通信,从而提高了内部通信的便捷性以及通信效率。另外,本发明可选实施例还增加了网络终端与接入终端对IP映射表的双向更新,提高了通信的准确性。
图5是本发明实施例中一种接入终端的组成结构示意图。如图所示所述终端包括:
接收模块510,设置为接收网络终端发送的IP映射表,所述IP映射表包含接入终端标识以及接入终端标识对应的IP地址。
具体的,IP映射表是反映接入终端标识与IP地址之间对应关系的映射表,包含了接入无线局域网接入点的所有接入终端标识以及对应的IP地址。接收模块510接收到网络终端发送的IP映射表后,就可以获取到网络终端给接入终端自身分配的IP地址,同时也可以获取到其他与接入终端接入同一无线局域网接入点的其他接入终端标识对应的IP地址。例如IP映射表中可以包括“6001-183.33.33.1”以及“6002-183.33.33.2”,分别代表第一接入终端标识以及对应的IP地址和第二接入终端以及对应的IP地址。
指令模块520,设置为接收用户输入的针对目标接入终端标识的通信指令。
具体的,目标接入终端标识可以是接入无线局域网接入点的任一接入终端标识,通信指令可以是用户针对目标接入终端标识进行的双击、长按、按下拨打按键灯操作,这里不作具体限定。例如,用户在接入终端中输入为6001的目标终端标识,并且按下拨号键,则指令模块520则接收到了针对目标接入终端标识为6001的通信指令。
查找模块530,设置为根据所述IP映射表,查找所述目标接入终端标识对应的目标IP地址。
具体的,查找模块530通过IP映射表可以查找到与目标终端标识对应的目标IP地址。例如,用户输入的目标接入终端标识为6001,此时查找模块530可以查询到IP映射表中6001所对应的IP地址为183.33.33.1。
通信模块540,设置为根据所述目标IP地址,与所述目标IP地址对应的目标接入终端建立通信连接。
具体的,通过查询到的目标IP地址,通信模块540可以向目标IP地址发送连接请求,目标IP地址对应的目标接入终端若接受该请求,则通信模块540可以与目标加入终端建立通信连接,则无线局域网接入点内的两个接入中就可以实现相互通信。
在本实施例中,目标接入终端在接入终端发送连接请求之前,可以对网络进行监听,当监听到通信模块540发送的连接请求后,可以根据不同情况进行不同的反馈。只有当通信模块540接收到目标接入终端的确认反馈后,才可以与目标接入终端建立通信连接并进行通信。
例如,若目标接入终端当前处于通信空闲状态,则检测用户是否触发应答、接听或者通话等接受指令,若触发接受指令,则目标接入终端则可以向通信模块540发送确认消息,进而建立通信连接;若检测到用户长时间未触发接受指令或者出发了拒绝接听的拒绝指令,则目标接入终端可以不对连接请求进行反馈,或者反馈拒绝消息;若目标接入终端当前处于通信状态,则目标接入终端也可以不对连接请求进行反馈,或者反馈繁忙消息。
所述通信模块540包括:请求单元541和通信单元542,如图6所示,其中:
请求单元541,设置为根据所述目标IP地址,向所述目标IP地址对应的目标接入终端发送连接请求。
具体的,请求单元541可以向目标接入终端发送基于IP地址的Socket连接请求,其中,Socket连接请求中可以包括接入终端的接入终端标识以及IP地址。目标接入终端接收到连接请求后,则可以获取到连接请求的来源,进而可以在目标接入终端中显示给用户。进一步地,如果目标接入终端用户还相应的存储了接入终端标识的用户姓名,则目标接入终端还可以进一步显示接入终端对应的用户姓名。
通信单元542,设置为当接收到所述目标接入终端发送的确认字符时,与所述目标IP地址对应的目标接入终端建立通信连接。
具体的,确认字符可以是目标接入终端接收到用户输入的接收通信指令之后发送的ACK确认字符,代表目标接入终端已经接收到连接请求,并且同意该连接请求。
在可选实施例中,当通信单元542接收到确认字符后,就可以与目标IP地址对应的目标接入终端建立基于IP的通信连接,通信单元542与目标接入终端之间可以双向传输语音或视频信息,双方对接收到的语音或视频信息进行解码即可获取信息内容。
发送模块550,设置为将接入信息发送给所述网络终端,所述接入信息包括本端的IP地址以及接入终端标识,以使所述网络终端在检测到所述IP映射表中所述接入终端的IP地址对应的接入终端标识与所述接入信息中的接入终端标识不一致时,将所述IP映射表中所述接入终端的IP地址对应的接入终端标识更新为所述接入信息中的接入终端标识。
具体的,接入信息可以是网络终端定时或者接收到用户指令时向各个接入终端发出接入信息的获取请求后,发送模块550发送给网络终端的;也可以是发送模块550定时或者接收到用户指令时向网络终端发送的;还可以是发送模块550自动检测到用户修改了接入信息中的内容后触发的向网络终端发送接入信息的操作,这里不作具体限定。
在可选实施例中,网络终端在接收到发送模块550发送的接入信息后,可以在IP映射表中查找接入信息中的接入终端的IP地址所对应的接入终端标识,对比IP映射表中对应的接入终端标识与接入信息中的接入终端标识,判断两者是否是一致的。若网络终端检测到IP映射表中对应的接入终端标识与接入信息中的接入终端标识不一致,则将IP映射表中对应的接入终端标识替换为接入信息中的接入终端标识。
例如,用户在接入终端中将原本为“6001”的接入终端标识更改为了“6004”,则网络终端接收到的接入信息即为“6004-183.33.33.1”,网络终端接收到接入信息后,通过IP映射表查询到183.33.33.1对应的接入终端标识为6001,对比后可以确定IP地址为183.33.33.1的接入终端在IP映射表中的接入终端标识6001与接入信息中的入终端标识6004不一致,则将IP映射表中的183.33.33.1对应的接入终端标识从6001替换为6004。
更新接收模块560,设置为接收所述网络终端发送的更新后的所述IP映射表。
具体的,网络终端将IP映射表更新完毕后,会将新的IP映射表发送给无线局域网接入点的更新接收模块560,更新接收模块560接收到更新后的IP映射表后,其他接入终端就可以与更改了接入终端标识的接入终端进行通信。
本发明实施例通过获取接入无线局域网接入点的接入终端标识,向所述接入终端标识分配IP地址,建立IP映射表,所述IP映射表包含所述接入终端标识以及所述接入终端标识对应的IP地址,将所述IP映射表发送给接入所述无线局域网接入点的接入终端,以使所述接入终端接收到用户输入的针对目标接入终端标识的通信指令时,根据所述IP映射表获取目标接入终端标识对应的目标IP地址,与所述目标IP地址对应的目标接入终端建立通信连接,可以使接入同一无线局域网接入点的所有移动终端之间实现通信,从而提高了内部通信的便捷性以及通信效率。另外,本发明可选实施例还增加了网络终端与接入终端对IP映射表的双向更新,提高了通信的准确性。
图7是本发明实施例中一种无线局域网通信***的组成结构示意图。如图所示所述***包括网络终端10以及接入终端20,其中:
网络终端10,用于获取接入所述无线局域网接入点的接入终端标识;向所述接入终端标识分配IP地址,建立IP映射表,所述IP映射表包含所述接入终端标识以及所述接入终端标识对应的IP地址;将所述IP映射表发送给接入所述无线局域网接入点的接入终端,以使所述接入终端接收到用户输入的针对目标接入终端标识的通信指令时,根据所述IP映射表获取目标接入终端标识对应的目标IP地址,与所述目标IP地址对应的目标接入终端建立通信连接。
接入终端20,用于接收网络终端发送的IP映射表,所述IP映射表包含接入终端标识以及接入终端标识对应的IP地址;接收用户输入的针对目标接入终端标识的通信指令;根据所述IP映射表,查找所述目标接入终端标识对应的目标IP地址;根据所述目标IP地址,与所述目标IP地址对应的目标接入终端建立通信连接。
图8是本发明实施例中另一种网络终端的组成结构示意图。如图所示,本发明实施例中的网络终端10可以是不同类型的电子设备,例如:智能手机、平板电脑、掌上电脑以及移动互联网设备、个人数字助理、媒体播放器、智能电视、智能手表、智能眼镜、智能手环等。如图8所示,本发明实施例中的终端10包括:至少一个处理器101,例如CPU,至少一个收发器103,至少一个存储器102。其中,所述处理器101、收发器103、存储器102通过总线***连接通信。所述存储器102可以是高速RAM存储器,也可以是非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。
所述存储器102中存储有程序代码,且所述处理器101可通过总线***,调用所述存储器102中存储的程序代码以执行相关的功能。例如,图4中所述的各个模块(例如,所述获取模块410、所述建表模块420、所述第一发送模块430、所述第一更新模块440、所述第二发送模块450、所述接收模块460、所述检测模块470、所述第二更新模块480、所述第三发送模块490等)是存储在所述存储器102中的程序代码,并由所述处理器101所执行,从而实现所述各个单元的功能以实现无线局域网的通信方法。
具体而言,所述处理器101:获取接入无线局域网接入点的接入终端标识;向所述接入终端标识分配IP地址,建立IP映射表,所述IP映射表包含所述接入终端标识以及所述接入终端标识对应的IP地址;将所述IP映射表发送给接入所述无线局域网接入点的接入终端,以使所述接入终端接收到用户输入的针对目标接入终端标识的通信指令时,根据所述IP映射表获取目标接入终端标识对应的目标IP地址,与所述目标IP地址对应的目标接入终端建立通信连接。
在进一步的实施例中,所述处理器:当检测到新增接入终端接入所述无线局域网接入点时,更新所述IP映射表;将更新后的所述IP映射表发送给所述无线局域网接入点的接入终端。
在进一步的实施例中,所述处理器:接收所述接入终端发送的接入信息,所述接入信息包括所述接入终端的IP地址以及接入终端标识;检测在所述IP映射表中所述接入终端的IP地址对应的接入终端标识与接收到的所述接入信息中的接入终端标识是否一致;若不一致,则将所述IP映射表中所述接入终端的IP地址对应的接入终端标识更新为接收到的所述接入信息中的接入终端标识;将更新后的所述IP映射表发送给所述无线局域网接入点的接入终端。
图9是本发明实施例中另一种接入终端的组成结构示意图。如图所示,本发明实施例中的接入终端20可以是不同类型的电子设备,例如:智能手机、平板电脑、掌上电脑以及移动互联网设备、个人数字助理、媒体播放器、智能电视、智能手表、智能眼镜、智能手环等。如图9所示,本发明实施例中的终端20包括:至少一个处理器201,例如CPU,至少一个收发器203,至少一个存储器202。其中,所述处理器201、收发器203、存储器202通过总线***连接通信。所述存储器202可以是高速RAM存储器,也可以是非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。
所述存储器202中存储有程序代码,且所述处理器201可通过总线***,调用所述存储器202中存储的程序代码以执行相关的功能。例如,图5、图6中所述的各个模块(例如,所述接收模块510、所述指令模块520、所述查找模块530、所述通信模块540、所述更新接收模块560、所述发送模块550等)是存储在所述存储器202中的程序代码,并由所述处理器201所执行,从而实现所述各个模块的功能以实现无线局域网的通信方法。
具体而言,所述处理器201:接收网络终端发送的IP映射表,所述IP映射表包含接入终端标识以及接入终端标识对应的IP地址;接收用户输入的针对目标接入终端标识的通信指令;根据所述IP映射表,查找所述目标接入终端标识对应的目标IP地址;根据所述目标IP地址,与所述目标IP地址对应的目标接入终端建立通信连接。
在进一步的实施例中,所述处理器201:根据所述目标IP地址,向所述目标IP地址对应的目标接入终端发送连接请求;当接收到所述目标接入终端发送的确认字符时,与所述目标IP地址对应的目标接入终端建立通信连接。
在进一步的实施例中,将接入信息发送给所述网络终端,所述接入信息包括本端的IP地址以及接入终端标识,以使所述网络终端在检测到所述IP映射表中所述接入终端的IP地址对应的接入终端标识与所述接入信息中的接入终端标识不一致时,将所述IP映射表中所述接入终端的IP地址对应的接入终端标识更新为所述接入信息中的接入终端标识;接收所述网络终端发送的更新后的所述IP映射表。
本发明实施例通过获取接入无线局域网接入点的接入终端标识,向所述接入终端标识分配IP地址,建立IP映射表,所述IP映射表包含所述接入终端标识以及所述接入终端标识对应的IP地址,将所述IP映射表发送给接入所述无线局域网接入点的接入终端,以使所述接入终端接收到用户输入的针对目标接入终端标识的通信指令时,根据所述IP映射表获取目标接入终端标识对应的目标IP地址,与所述目标IP地址对应的目标接入终端建立通信连接,可以使接入同一无线局域网接入点的所有移动终端之间实现通信,从而提高了内部通信的便捷性以及通信效率。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。
以上所揭露的仅为本发明较佳实施例而已,当然不能以此来限定本发明之权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。
Claims (13)
- 一种无线局域网通信方法,其特征在于,所述方法包括:获取接入无线局域网接入点的接入终端标识;向所述接入终端标识分配IP地址,建立IP映射表,所述IP映射表包含所述接入终端标识以及所述接入终端标识对应的IP地址;将所述IP映射表发送给接入所述无线局域网接入点的接入终端,以使所述接入终端接收到用户输入的针对目标接入终端标识的通信指令时,根据所述IP映射表获取目标接入终端标识对应的目标IP地址,与所述目标IP地址对应的目标接入终端建立通信连接。
- 如权利要求1所述的无线局域网通信方法,其特征在于,所述方法还包括:当检测到新增接入终端接入所述无线局域网接入点时,更新所述IP映射表;将更新后的所述IP映射表发送给所述无线局域网接入点的接入终端。
- 如权利要求1所述的无线局域网通信方法,其特征在于,所述方法还包括:接收所述接入终端发送的接入信息,所述接入信息包括所述接入终端的IP地址以及接入终端标识;检测在所述IP映射表中所述接入终端的IP地址对应的接入终端标识与接收到的所述接入信息中的接入终端标识是否一致;若不一致,则将所述IP映射表中所述接入终端的IP地址对应的接入终端标识更新为接收到的所述接入信息中的接入终端标识;将更新后的所述IP映射表发送给所述无线局域网接入点的接入终端。
- 一种无线局域网通信方法,其特征在于,所述方法包括:接收网络终端发送的IP映射表,所述IP映射表包含接入终端标识以及接入终端标识对应的IP地址;接收用户输入的针对目标接入终端标识的通信指令;根据所述IP映射表,查找所述目标接入终端标识对应的目标IP地址;根据所述目标IP地址,与所述目标IP地址对应的目标接入终端建立通信连接。
- 如权利要求4所述的无线局域网通信方法,其特征在于,所述根据所述目标IP地址,与所述目标IP地址对应的目标接入终端建立连接包括:根据所述目标IP地址,向所述目标IP地址对应的目标接入终端发送连接请求;当接收到所述目标接入终端发送的确认字符时,与所述目标IP地址对应的目标接入终端建立通信连接。
- 如权利要求4所述的无线局域网通信方法,其特征在于,所述方法还包括:将接入信息发送给所述网络终端,所述接入信息包括本端的IP地址以及接入终端标识,以使所述网络终端在检测到所述IP映射表中所述接入终端的IP地址对应的接入终端标识与所述接入信息中的接入终端标识不一致时,将所述IP映射表中所述接入终端的IP地址对应的接入终端标识更新为所述接入信息中的接入终端标识;接收所述网络终端发送的更新后的所述IP映射表。
- 一种网络终端,其特征在于,所述终端包括:获取模块,设置为获取接入无线局域网接入点的接入终端标识;建表模块,设置为向所述接入终端标识分配IP地址,建立IP映射表,所述IP映射表包含所述接入终端标识以及所述接入终端标识对应的IP地址;第一发送模块,设置为将所述IP映射表发送给接入所述无线局域网接入点的接入终端,以使所述接入终端接收到用户输入的针对目标接入终端标识的通信指令时,根据所述IP映射表获取目标接入终端标识对应的目标IP地址,与所述目标IP地址对应的目标接入终端建立通信连接。
- 如权利要求7所述的网络终端,其特征在于,所述终端还包括:第一更新模块,设置为当检测到新增接入终端接入所述无线局域网接入点时,更新所述IP映射表;第二发送模块,设置为将更新后的所述IP映射表发送给所述无线局域网接入点的接入终端。
- 如权利要求7所述的网络终端,其特征在于,所述终端还包括:接收模块,设置为接收所述接入终端发送的接入信息,所述接入信息包括所述接入终端的IP地址以及接入终端标识;检测模块,设置为检测在所述IP映射表中所述接入终端的IP地址对应的接入终端标识与接收到的所述接入信息中的接入终端标识是否一致;第二更新模块,设置为检测到接入终端标识不一致时,将所述IP映射表中所述接入终端的IP地址对应的接入终端标识更新为接收到的所述接入信息中的接入终端标识;第三发送模块,设置为将更新后的所述IP映射表发送给所述无线局域网接入点的接入终端。
- 一种接入终端,其特征在于,所述终端包括:接收模块,设置为接收网络终端发送的IP映射表,所述IP映射表包含接入终端标识以及接入终端标识对应的IP地址;指令模块,设置为接收用户输入的针对目标接入终端标识的通信指令;查找模块,设置为根据所述IP映射表,查找所述目标接入终端标识对应的目标IP地址;通信模块,设置为根据所述目标IP地址,与所述目标IP地址对应的目标接入终端建立通信连接。
- 如权利要求10所述的接入终端,其特征在于,所述通信模块包括:请求单元,设置为根据所述目标IP地址,向所述目标IP地址对应的目标接入终端发送连接请求;通信单元,设置为当接收到所述目标接入终端发送的确认字符时,与所述目标IP地址对应的目标接入终端建立通信连接。
- 如权利要求10所述的接入终端,其特征在于,所述终端还包括:发送模块,设置为将接入信息发送给所述网络终端,所述接入信息包括本端的IP地址以及接入终端标识,以使所述网络终端在检测到所述IP映射表中所述接入终端的IP地址对应的接入终端标识与所述接入信息中的接入终端标识不一致时,将所述IP映射表中所述接入终端的IP地址对应的接入终端标识更新为所述接入信息中的接入终端标识;更新接收模块,设置为接收所述网络终端发送的更新后的所述IP映射表。
- 一种无线局域网通信***,其特征在于,所述***包括网络终端和接入终端,其中:网络终端,用于获取接入无线局域网接入点的接入终端标识;向所述接入终端标识分配IP地址,建立IP映射表,所述IP映射表包含所述接入终端标识以及所述接入终端标识对应的IP地址;将所述IP映射表发送给接入所述无线局域网接入点的接入终端,以使所述接入终端接收到用户输入的针对目标接入终端标识的通信指令时,根据所述IP映射表获取目标接入终端标识对应的目标IP地址,与所述目标IP地址对应的目标接入终端建立通信连接;接入终端,用于接收网络终端发送的IP映射表,所述IP映射表包含接入终端标识以及接入终端标识对应的IP地址;接收用户输入的针对目标接入终端标识的通信指令;根据所述IP映射表,查找所述目标接入终端标识对应的目标IP地址;根据所述目标IP地址,与所述目标IP地址对应的目标接入终端建立通信连接。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511032524.X | 2015-12-31 | ||
CN201511032524.XA CN105611608A (zh) | 2015-12-31 | 2015-12-31 | 一种无线局域网通信方法、终端及*** |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2017113976A1 true WO2017113976A1 (zh) | 2017-07-06 |
Family
ID=55991069
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2016/104023 WO2017113976A1 (zh) | 2015-12-31 | 2016-10-31 | 一种无线局域网通信方法、终端及*** |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105611608A (zh) |
WO (1) | WO2017113976A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111065141A (zh) * | 2019-12-30 | 2020-04-24 | 海信集团有限公司 | 智能家电设备的无线网络连接方法、智能家电设备及*** |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105611608A (zh) * | 2015-12-31 | 2016-05-25 | 宇龙计算机通信科技(深圳)有限公司 | 一种无线局域网通信方法、终端及*** |
CN112584202B (zh) * | 2020-11-10 | 2024-07-23 | 视联动力信息技术股份有限公司 | 一种数据传输方法、装置、终端设备和存储介质 |
CN112566094B (zh) * | 2020-12-04 | 2022-11-04 | 展讯通信(上海)有限公司 | 终端设备及其随机接入方法、计算机可读存储介质 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080293448A1 (en) * | 2007-05-24 | 2008-11-27 | Sony Ericsson Mobile Communications Ab | Assisted lookup of contacting identifiers |
CN101827311A (zh) * | 2010-02-10 | 2010-09-08 | 北京播思软件技术有限公司 | 一种实现移动通信终端在ad-hoc网络中互联的方法 |
CN102752748A (zh) * | 2012-06-26 | 2012-10-24 | 中国联合网络通信集团有限公司 | 基于移动终端的数据传输方法和***以及移动终端 |
CN103179229A (zh) * | 2013-04-17 | 2013-06-26 | 华为技术有限公司 | 一种数据业务通信方法、设备及*** |
CN105611608A (zh) * | 2015-12-31 | 2016-05-25 | 宇龙计算机通信科技(深圳)有限公司 | 一种无线局域网通信方法、终端及*** |
-
2015
- 2015-12-31 CN CN201511032524.XA patent/CN105611608A/zh active Pending
-
2016
- 2016-10-31 WO PCT/CN2016/104023 patent/WO2017113976A1/zh active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080293448A1 (en) * | 2007-05-24 | 2008-11-27 | Sony Ericsson Mobile Communications Ab | Assisted lookup of contacting identifiers |
CN101827311A (zh) * | 2010-02-10 | 2010-09-08 | 北京播思软件技术有限公司 | 一种实现移动通信终端在ad-hoc网络中互联的方法 |
CN102752748A (zh) * | 2012-06-26 | 2012-10-24 | 中国联合网络通信集团有限公司 | 基于移动终端的数据传输方法和***以及移动终端 |
CN103179229A (zh) * | 2013-04-17 | 2013-06-26 | 华为技术有限公司 | 一种数据业务通信方法、设备及*** |
CN105611608A (zh) * | 2015-12-31 | 2016-05-25 | 宇龙计算机通信科技(深圳)有限公司 | 一种无线局域网通信方法、终端及*** |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111065141A (zh) * | 2019-12-30 | 2020-04-24 | 海信集团有限公司 | 智能家电设备的无线网络连接方法、智能家电设备及*** |
Also Published As
Publication number | Publication date |
---|---|
CN105611608A (zh) | 2016-05-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2016047983A1 (ko) | 통신 단말들간 무선 통신을 위한 방법 및 장치 | |
WO2017113976A1 (zh) | 一种无线局域网通信方法、终端及*** | |
WO2015016604A1 (en) | Home appliance and control method thereof | |
WO2011062404A2 (ko) | Wifi direct 네트워크에서의 wifi 디스플레이 서비스 탐색 방법 및 장치 | |
WO2014010992A1 (ko) | 컨텐츠 이름 기반의 컨텐츠 중심 네트워크에서 컨텐츠 및 실시간 스트리밍 컨텐츠 제공을 위한 컨텐츠 요청자 및 컨텐츠 제공자의 통신 방법 | |
WO2017030399A1 (en) | Ue access method and apparatus | |
WO2015016627A1 (ko) | 동일한 네트워크 상의 복수개의 ap 장치 중 하나의 ap 장치와 단말기를 연결하는 방법 및 장치 | |
WO2013189193A1 (zh) | Android***的移动终端参数自动配置方法及*** | |
WO2012124985A2 (en) | Method and apparatus for synchronizing personal inforamtion | |
WO2011155733A2 (ko) | 장치가 다른 장치와 통신 하는 방법 | |
WO2019156506A1 (en) | System and method for providing conversational contents | |
WO2015037909A1 (ko) | 통신 시스템에서 푸쉬 서비스 제공을 위한 방법 및 장치 | |
WO2015157942A1 (zh) | 接入无线网络的装置及方法 | |
WO2011155762A2 (ko) | 다른 장치와 통신 하는 방법 및 통신 기기 | |
WO2014104656A1 (en) | Method and system for communication between devices | |
WO2018076812A1 (zh) | 数据请求的响应方法、装置、存储介质、服务器及*** | |
WO2013151298A1 (en) | System, terminal, and method for operating a communication service function | |
WO2019107707A1 (en) | Remote control, electronic apparatus and pairing method thereof | |
WO2018076873A1 (zh) | 数据分享方法、装置、介质、电子设备及*** | |
WO2017067375A1 (zh) | 一种视频背景设置方法及终端设备 | |
WO2012091528A2 (ko) | 신뢰도 있는 ap를 선택할 수 있는 단말기 및 방법 | |
WO2017185647A1 (zh) | 基于SoftSIM的IMSI号码管理及呼叫方法、服务器及网络侧设备 | |
WO2019223600A1 (zh) | 蓝牙音频传输方法、装置及计算机可读存储介质 | |
WO2017219636A1 (zh) | 数据交互方法、云端服务器以及智能终端 | |
WO2018058832A1 (zh) | 小区接入的控制方法及装置 |
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: 16880767 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 16880767 Country of ref document: EP Kind code of ref document: A1 |