WO2020216231A1 - Method of sharing wireless access point by means of instant messaging software - Google Patents

Method of sharing wireless access point by means of instant messaging software Download PDF

Info

Publication number
WO2020216231A1
WO2020216231A1 PCT/CN2020/086033 CN2020086033W WO2020216231A1 WO 2020216231 A1 WO2020216231 A1 WO 2020216231A1 CN 2020086033 W CN2020086033 W CN 2020086033W WO 2020216231 A1 WO2020216231 A1 WO 2020216231A1
Authority
WO
WIPO (PCT)
Prior art keywords
access point
wireless access
user
information
target wireless
Prior art date
Application number
PCT/CN2020/086033
Other languages
French (fr)
Chinese (zh)
Inventor
欧少虎
Original Assignee
上海连尚网络科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 上海连尚网络科技有限公司 filed Critical 上海连尚网络科技有限公司
Publication of WO2020216231A1 publication Critical patent/WO2020216231A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/18Commands or executable codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers

Definitions

  • This application relates to the field of Internet applications, and in particular to a method for sharing wireless access points through instant messaging software.
  • user equipment To access the wireless network, user equipment generally needs to search for nearby wireless access points first, and then access the target wireless access point based on the connection password of the target wireless access point manually entered by the user. If the user does not know or forget the target wireless access point The password of the entry point cannot be accessed.
  • Various aspects of this application provide a method for sharing wireless access points through instant messaging software, which is used to quickly and safely share wireless access points with users.
  • One aspect of the present application provides a method for sharing wireless access points through instant messaging software, which is applied to a first user equipment and includes receiving a wireless access point triggered by a first user on a message interface of an instant messaging session of a second user Sharing instruction; obtain at least one wireless access point, determine the target wireless access point to share; generate target wireless access point sharing information, and send the target wireless access point sharing information session to the second user's instant messaging session message interface Message, so that the second user equipment where the second user is located establishes a wireless connection with the target wireless access point shared by the first user according to the wireless access point sharing information.
  • One aspect of the present application provides a method for sharing wireless access points through instant messaging software, which is applied to a second user equipment, and includes receiving the target wireless access point sharing information shared by the first user sent by the first user equipment Session message; establish a wireless connection with the target wireless access point shared by the first user according to the shared information of the target wireless access point.
  • Another aspect of the present application provides a device, wherein the device includes:
  • One or more processors are One or more processors;
  • Storage device for storing one or more programs
  • the one or more processors When the one or more programs are executed by the one or more processors, the one or more processors implement any of the aforementioned methods.
  • a computer-readable storage medium on which a computer program is stored, characterized in that, when the program is executed by a processor, any of the above methods is implemented.
  • the embodiments of the present application are used to conveniently and safely share wireless access points with users, so that users can conveniently access the shared wireless access points.
  • FIG. 1 is a schematic diagram of generating a QR code in the WiFi list of a mobile phone in the background art
  • FIG. 2 is a schematic diagram of information obtained after the connection information shared in the background art is identified through a QR code
  • FIG. 3 is a schematic flowchart of a method for sharing a wireless access point through instant messaging software applied to a first client according to Embodiment 1 of the application;
  • FIG. 4 is a schematic flowchart of a method for sharing a wireless access point through instant messaging software applied to a second client according to Embodiment 2 of the application;
  • FIG. 5 is a schematic diagram of the second client receiving the session message sent by the first client and displaying it to the second user in the second embodiment of the application;
  • Figure 6 is the second embodiment of the application
  • Figure 7 is a block diagram of an exemplary computer system/server suitable for implementing embodiments of the present invention.
  • Fig. 3 is a schematic flowchart of a method for sharing a wireless access point through instant messaging software applied to a first client according to the first embodiment of the application. As shown in Fig. 3, the method includes the following steps:
  • Step S11 Receive a wireless access point sharing instruction triggered by the first user on the instant messaging session message interface of the second user; obtain at least one wireless access point, and determine the target wireless access point to be shared;
  • Step S12 Generate target wireless access point sharing information, and send the target wireless access point sharing information session message to the instant messaging session message interface of the second user, so that the second user equipment where the second user is located is based on the wireless access
  • the point sharing information establishes a wireless connection with the target wireless access point shared by the first user.
  • the execution subject of the method shown in FIG. 3 may be the first user equipment.
  • the user equipment includes, but is not limited to, any intelligent terminal device that can perform human-computer interaction with the user and can implement wireless communication functions, such as a smart phone, a tablet computer, a notebook computer, and the like.
  • a client capable of realizing the instant messaging session function is installed on the user equipment.
  • the first client installed on the first user equipment can communicate with the second client installed on the second user equipment.
  • the wireless access point may be an AP that provides wireless network access services, terminal equipment hotspots, and the like.
  • the wireless network includes, but is not limited to, a wireless local area network based on the IEEE 802.11 series standard protocols, for example, a wireless local area network based on the IEEE 802.11n protocol and the IEEE 802.11ac protocol, which is commonly referred to as a WiFi network.
  • the wireless access point accesses the corresponding wireless network.
  • a wireless access point that accesses a WiFi network is taken as an example for description.
  • step S11 In a preferred implementation of step S11;
  • the first client installed on the first user equipment receives the wireless access point sharing instruction triggered by the first user on the instant messaging session message interface of the second user.
  • the first user logs in to the first client installed on the first user equipment; and conducts a conversation with the second user who logs in to the second client installed on the second user equipment through the session window.
  • the triggered wireless access point sharing instruction may be the first user's click on the "Share WiFi" button provided in the session window.
  • the target wireless access point shared by the first user is the wireless access point to which the first user equipment is currently connected.
  • the first client invokes a preset service port to obtain the wireless access point currently connected to the first user equipment; and uses the currently connected wireless access point as the target wireless access point shared by the first user.
  • the first user equipment is connected to the wireless access point through the access information of the wireless access point manually input by the first user.
  • the first client calls a preset service port, and uploads the access information of the wireless access point to the access server.
  • the first user equipment sends an access request for a wireless access point to an access server; obtains the access information of the wireless access point returned by the access server, and then accesses the wireless access point through the wireless access point. Information connected to the wireless access point.
  • the target wireless access point shared by the first user is not limited to the wireless access point to which the first user equipment is currently connected.
  • the first client shows the sharable wireless access point to the first user; receives a further instruction from the first user to determine the target wireless access point shared by the first user.
  • the first client invokes a preset service port, obtains a list of currently available wireless access points, and displays the list of currently available wireless access points to the first user so that the first user can download
  • the target wireless access point to be shared is determined in the list of currently available wireless access points.
  • the currently available wireless access point list is obtained after the first client obtains the access information of the wireless access point returned by the access server by sending the access request of the wireless access point to the access server Generated.
  • the access request includes a scan list.
  • the access request requests the server to return the access information corresponding to the wireless access points in the scan list stored in the server, such as the password corresponding to the wireless access point.
  • the WiFi module of the first user equipment scans wireless access points near the first user equipment, and obtains identification information of the one or more wireless access points based on the scanned one or more wireless access points .
  • the identification information is an SSID (Service Set Identifier, service set identifier) of the wireless access point, and the SSID is used to identify the wireless network corresponding to the wireless access point.
  • the wireless access point encapsulates its SSID in the unencrypted part of the data packet, and broadcasts it through broadcast. Further, the SSID can also be refined into a BSSID (Basic Service Set Identifier) and an ESSID (Extended Service Set Identifier), where the BSSID is used to identify a smaller BSS (Basic Service Set Identifier). Service Set (base station system) area is identified. Each host communicates in this smaller area, and the ESSID is used in larger and more complex wireless networks.
  • BSSID Basic Service Set Identifier
  • ESSID Extended Service Set Identifier
  • the MAC Media Access Control, Media Access Control
  • the BSSID of the wireless access point.
  • the identification information is the SSID and BSSID of the wireless access point.
  • the first client installed by the first user equipment obtains the SSID and BSSID of the one or more wireless access points from the system wireless access point list of the first user equipment.
  • the first client installed by the first user equipment obtains a scan list including the SSID and BSSID of the one or more wireless access points from a list of system wireless access points of the first user equipment.
  • the first client installed by the first user equipment obtains the SSID and BSSID of the one or more wireless access points from the WiFi module of the first user equipment; according to the obtained one or more wireless access points
  • the SSID and BSSID of the point create a scan list.
  • the first client installed by the first user equipment sends an access request for the wireless access point to the access server, where the access request includes the acquired identification information of the wireless access point.
  • the access request includes the scan list.
  • the access request requests the server to return the access information corresponding to the wireless access points in the scan list stored in the server, such as the password corresponding to the wireless access point.
  • the first user equipment completes the sending of the access information acquisition request based on the currently existing data communication method, for example, completes the access request based on the activated mobile communication network, such as 3G network, 4G network, etc.
  • the activated mobile communication network such as 3G network, 4G network, etc.
  • the wireless local area network that has been turned on such as a WiFi network
  • wireless access points wireless hotspots
  • WiFi hotspots can be used interchangeably.
  • the access information corresponding to the wireless access point is obtained by the access server by querying its access information database.
  • the access server searches and determines the access information of the corresponding wireless access point in the access information database based on the identification information of the wireless access point.
  • a large number of wireless access points and their corresponding access information are stored in the access information database.
  • Each wireless access point stored in the access information database is uniquely determined by its corresponding SSID and BSSID.
  • the access information corresponding to the wireless access point stored in the access information database includes the access information provided by the public wireless network operator, or the access information of the wireless access point provided by the user sharing, or the personal mobile device Provide access information of mobile wireless access points, etc.
  • the access information corresponding to the wireless access point exists in the access information database, based on the identification information, the access information corresponding to the wireless access point can be queried.
  • the access server returns the access information corresponding to the wireless access point obtained by the query to the first user equipment.
  • the access server returns to the first user equipment a feedback message that the access information corresponding to the wireless access point has not been queried.
  • the first client installed by the first user equipment generates a list of currently available wireless access points according to the acquired access information of the wireless access points returned by the access server.
  • the currently available wireless access point list includes wireless access points that have obtained access information from the access server.
  • the wireless access points included in the currently available wireless access point list are the same as the wireless access points included in the wireless access point list of the operating system. That is, the access prompt information of the wireless access point that has obtained the access information from the server can be displayed in the wireless access point list.
  • a certain graphic identification such as an identification related to the client, is used to indicate the access prompt information, prompting the user to have obtained the access information of the corresponding wireless access point, so as to facilitate the first user to further select wireless Access point to share.
  • the wireless access points included in the currently available wireless access point list are wireless access points that have obtained access information from the server. That is, only the wireless access points that can be accessed are displayed to facilitate the first user to select a wireless access point to share.
  • the first user can select the shared wireless access point from the list of currently available wireless access points. For example, click to select the shared wireless access point, and click Next to generate wireless access point sharing information and send it to the second client.
  • step S12 In a preferred implementation of step S12,
  • the first client generates the target wireless access point sharing information, and sends a session message of the target wireless access point sharing information to the instant messaging session message interface of the second user, so that the second user equipment where the second user is located is based on the
  • the wireless access point sharing information establishes a wireless connection with the target wireless access point shared by the first user.
  • the wireless access point sharing information is used to call a preset interface on the second user equipment to obtain the access information of the target wireless access point shared by the first user, so as to access the information shared by the first user Wireless access point.
  • the wireless access point sharing information includes identification information of the wireless access point shared by the first user.
  • the first client generates wireless access point sharing information according to the identification information of the wireless access point shared by the first user.
  • the first client sends the wireless access point sharing information to the second client in the form of a session message.
  • the form of the conversation message is "'XX' share WiFi with you, click one-click connection", as shown in Figure 5.
  • the wireless access point sharing information is encapsulated in the session message in an encrypted form.
  • the identification information of the wireless access point shared by the first user included in the wireless access point sharing information is encrypted, and the wireless access point sharing information is encapsulated in the session message.
  • the encryption form is preset by the social software, so that each client of the social software can encrypt and package and decrypt the encrypted information.
  • the wireless access point sharing information further includes the access information of the target wireless access point shared by the first user.
  • the establishing a wireless connection between the second user equipment where the second user is located and the target wireless access point shared by the first user according to the wireless access point sharing information includes:
  • a wireless connection is automatically established to the target wireless access point shared by the first user.
  • the wireless access point sharing information does not include the access information of the wireless access point shared by the first user, but only includes the wireless access point shared by the first user.
  • the identification information of the access point, and the access information is stored in the access server.
  • the establishing a wireless connection between the second user equipment where the second user is located and the target wireless access point shared by the first user according to the wireless access point sharing information includes:
  • the second client receives the session message and displays it to a second user; receives a click instruction of the second user on the session message; obtains the target wireless access point sharing information encapsulated in the session message, According to the identification information of the target wireless access point shared by the first user included in the wireless access point sharing information, call a preset interface to obtain corresponding access information; according to the corresponding access information, Establishing a connection with the target wireless access point shared by the first user.
  • the wireless access point can be quickly and conveniently shared with instant messaging friends, so that social software friends can automatically access the wireless access point; at the same time, the information security of the wireless access point is also ensured.
  • FIG. 4 is a schematic flowchart of a method for sharing a wireless access point through instant messaging software applied to a second client according to Embodiment 1 of the application. As shown in FIG. 4, the method includes the following steps:
  • Step S21 Receive a session message of the target wireless access point shared information shared by the first user and sent by the first user equipment;
  • Step S22 Establish a wireless connection with the target wireless access point shared by the first user according to the target wireless access point sharing information.
  • the execution subject of the method shown in FIG. 4 may be the second user equipment.
  • the user equipment includes, but is not limited to, any intelligent terminal device that can perform human-computer interaction with the user and can implement wireless communication functions, such as a smart phone, a tablet computer, a notebook computer, and the like.
  • the user equipment is installed with a client terminal capable of realizing an instant messaging session function.
  • the first client installed on the first user equipment can communicate with the second client installed on the second user equipment.
  • the wireless access point may be an AP that provides wireless network access services, terminal equipment hotspots, and the like.
  • the wireless network includes, but is not limited to, a wireless local area network based on the IEEE 802.11 series standard protocols, for example, a wireless local area network based on the IEEE 802.11n protocol and the IEEE 802.11ac protocol, which is commonly referred to as a WiFi network.
  • the wireless access point accesses the corresponding wireless network.
  • a wireless access point that accesses a WiFi network is taken as an example for description.
  • step S21 In a preferred implementation of step S21,
  • the second client receives the session message sent by the first client and displays it to the second user.
  • the form of the conversation message is "‘XX’ to share WiFi with you, click a key to connect”.
  • the second client detects the click instruction of the second user on the conversation message.
  • the session message is generated by the first client according to the identification information of the target wireless access point shared by the first user.
  • the target wireless access point sharing information is encapsulated in the session message in an encrypted form.
  • the identification information of the target wireless access point shared by the first user included in the target wireless access point shared information is encrypted, and the target wireless access point shared information is encapsulated in the session message in.
  • the encryption form is preset by the social software, so that each client of the social software can encrypt and package and decrypt the encrypted information.
  • step S22 In a preferred implementation of step S22,
  • the second client terminal shares information with the target wireless access point encapsulated in the session message in an encrypted form in a preset decryption manner.
  • the target wireless access point sharing information is generated according to the identification information and access information of the target wireless access point;
  • Establishing a wireless connection with the target wireless access point shared by the first user according to the shared information of the target wireless access point includes that the second client automatically performs automatic connection based on the identification information and access information of the target wireless access point Establishing a wireless connection to the target wireless access point to be shared by the first user.
  • the target wireless access point sharing information is generated according to the identification information of the target wireless access point
  • Establishing a wireless connection with the target wireless access point shared by the first user according to the target wireless access point sharing information includes sending an access request of the target wireless access point to an access server, where the access request includes The identification information of the target wireless access point; based on the access information of the target wireless access point obtained from the access server, a wireless connection is automatically established to the target wireless access point to be shared by the first user, as shown in the figure 6 shown.
  • the second client invokes a preset interface according to the identification information of the target wireless access point shared by the first user included in the wireless access point shared information, and sends the wireless access point to the access server.
  • the access request of the in-point includes the identification information of the target wireless access point shared by the first user included in the wireless access point sharing information.
  • the access request requests the access server to return the access information corresponding to the target wireless access point shared by the first user stored in the access server, such as the password corresponding to the target wireless access point, etc. .
  • the identification information is the SSID and BSSID of the wireless access point.
  • the access information corresponding to the wireless access point is obtained by the access server by querying its access information database.
  • the access server searches and determines the access information of the corresponding wireless access point in the access information database based on the identification information of the wireless access point.
  • a large number of wireless access points and their corresponding access information are stored in the access information database.
  • Each wireless access point stored in the access information database is uniquely determined by its corresponding SSID and BSSID.
  • the access information corresponding to the wireless access point stored in the access information database includes the access information provided by the public wireless network operator, or the access information of the wireless access point provided by the user sharing, or the personal mobile device Provide access information of mobile wireless access points, etc.
  • the access information corresponding to the wireless access point to which the first user equipment is connected is uploaded by the first user.
  • the access information corresponding to the wireless access point exists in the access information database, based on the identification information, the access information corresponding to the wireless access point can be queried.
  • the access server returns the access information corresponding to the wireless access point obtained by the query.
  • the access server If the access information corresponding to the wireless access point does not exist in the access information database, the access server returns feedback information that the query fails.
  • the establishment of a wireless connection may be that the second client automatically initiates a connection request to the target wireless access point shared by the first user based on the corresponding access information, and the entire connection process automatically runs in the background
  • the second client may push a prompt message to the second user, for example, "Connected to'XX' and you Shared WiFi".
  • the second client may send a feedback message to the first client, for example, "'XX' is connected to you Shared WiFi".
  • the second user equipment when the second user equipment fails to establish a wireless connection with the target wireless access point shared by the first user, for example, the access information is wrong, and the target wireless access shared by the first user is not scanned. Point; the second client can send a feedback message to the first client, such as "'XX' is not connected to the WiFi you shared".
  • the feedback message may also include a reason for failing to establish a wireless connection with the target wireless access point shared by the first user.
  • the wireless access point shared by instant messaging friends can be quickly and conveniently accessed; at the same time, the information security of the wireless access point is also ensured.
  • Figure 7 shows a block diagram of an exemplary computer system/server 012 suitable for implementing embodiments of the present invention.
  • the computer system/server 012 shown in FIG. 7 is only an example, and should not bring any limitation to the function and application scope of the embodiment of the present invention.
  • the computer system/server 012 is represented in the form of a general-purpose computing device.
  • the components of the computer system/server 012 may include, but are not limited to: one or more processors or processing units 016, a system memory 028, and a bus 018 connecting different system components (including the system memory 028 and the processing unit 016).
  • the bus 018 represents one or more of several types of bus structures, including a memory bus or a memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of the multiple bus structures.
  • these architectures include but are not limited to industry standard architecture (ISA) bus, microchannel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and peripheral component interconnection ( PCI) bus.
  • ISA industry standard architecture
  • MAC microchannel architecture
  • VESA Video Electronics Standards Association
  • PCI peripheral component interconnection
  • the computer system/server 012 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the computer system/server 012, including volatile and nonvolatile media, removable and non-removable media.
  • the system memory 028 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 030 and/or cache memory 032.
  • the computer system/server 012 may further include other removable/non-removable, volatile/nonvolatile computer system storage media.
  • the storage system 034 can be used to read and write non-removable, non-volatile magnetic media (not shown in FIG. 7, and is generally referred to as a "hard drive").
  • a disk drive for reading and writing to a removable non-volatile disk such as a "floppy disk”
  • a removable non-volatile disk such as CD-ROM, DVD-ROM
  • other optical media read and write optical disc drives.
  • each drive can be connected to the bus 018 through one or more data media interfaces.
  • the memory 028 may include at least one program product, and the program product has a set (for example, at least one) program modules, which are configured to perform the functions of the embodiments of the present invention.
  • a program/utility tool 040 with a set of (at least one) program module 042 can be stored in, for example, the memory 028.
  • Such program module 042 includes, but is not limited to, an operating system, one or more application programs, and other programs Modules and program data, each of these examples or some combination may include the realization of a network environment.
  • the program module 042 generally executes the functions and/or methods in the described embodiments of the present invention.
  • the computer system/server 012 can also communicate with one or more external devices 014 (such as a keyboard, pointing device, display 024, etc.).
  • the computer system/server 012 communicates with an external radar device, and can also communicate with one or Multiple devices that enable users to interact with the computer system/server 012, and/or communicate with any devices that enable the computer system/server 012 to communicate with one or more other computing devices (such as network cards, modems, etc.) Communication. This communication can be performed through an input/output (I/O) interface 022.
  • I/O input/output
  • the computer system/server 012 can also communicate with one or more networks (for example, a local area network (LAN), a wide area network (WAN), and/or a public network, such as the Internet) through the network adapter 020.
  • networks for example, a local area network (LAN), a wide area network (WAN), and/or a public network, such as the Internet
  • the network adapter 020 communicates with other modules of the computer system/server 012 through the bus 018.
  • other hardware and/or software modules can be used in conjunction with the computer system/server 012, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems , Tape drives and data backup storage systems.
  • the processing unit 016 executes the functions and/or methods in the described embodiments of the present invention by running a program stored in the system memory 028.
  • the above-mentioned computer program may be set in a computer storage medium, that is, the computer storage medium is encoded with a computer program.
  • the program is executed by one or more computers, one or more computers can execute the above-mentioned embodiments of the present invention.
  • the method flow and/or device operation.
  • the computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium.
  • the computer-readable storage medium may be, for example, but not limited to, an electric, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above.
  • computer-readable storage media include: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), Erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
  • RAM random access memory
  • ROM read-only memory
  • EPROM or flash memory Erasable programmable read-only memory
  • CD-ROM compact disk read-only memory
  • the computer-readable storage medium can be any tangible medium that contains or stores a program, and the program can be used by or in combination with an instruction execution system, apparatus, or device.
  • the computer-readable signal medium may include a data signal propagated in baseband or as a part of a carrier wave, and computer-readable program code is carried therein. This propagated data signal can take many forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • the computer-readable signal medium may also be any computer-readable medium other than the computer-readable storage medium.
  • the computer-readable medium may send, propagate, or transmit the program for use by or in combination with the instruction execution system, apparatus, or device .
  • the program code contained on the computer-readable medium can be transmitted by any suitable medium, including, but not limited to, wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
  • the computer program code used to perform the operations of the present invention can be written in one or more programming languages or a combination thereof.
  • the programming languages include object-oriented programming languages-such as Java, Smalltalk, C++, and also conventional Procedural programming language-such as "C" language or similar programming language.
  • the program code can be executed entirely on the user's computer, partly on the user's computer, executed as an independent software package, partly on the user's computer and partly executed on a remote computer, or entirely executed on the remote computer or server.
  • the remote computer can be connected to the user's computer through any kind of network-including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (for example, using an Internet service provider to connect to the user's computer) connection).
  • LAN local area network
  • WAN wide area network

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Provided in the present application are a method of sharing a wireless access point by means of an instant messaging software, the method comprising: receiving a wireless access point sharing command triggered by a first user on an instant messaging conversation interface of a second user; acquiring at least one wireless access point, determining a target wireless access point to be shared; generating target wireless access point sharing information, sending a conversation message of the target wireless access point sharing information to the instant messaging conversation interface of the second user, such that a second user device used by the second user can establish, according to the target wireless access point sharing information, a wireless connection with the target wireless access point shared by the first user. The method of the present application can enable friends to quickly and conveniently have access to a wireless access point by sharing the wireless access point to them by means of an instant messaging software.

Description

一种通过即时通讯软件分享无线接入点的方法Method for sharing wireless access point through instant messaging software 【技术领域】【Technical Field】
本申请涉及互联网应用领域,尤其涉及一种通过即时通讯软件分享无线接入点的方法。This application relates to the field of Internet applications, and in particular to a method for sharing wireless access points through instant messaging software.
【背景技术】【Background technique】
用户设备要接入无线网络,一般需要先搜索附近的无线接入点,再基于用户手动输入的目标无线接入点的连接密码接入目标无线接入点,如果用户不知道或忘记目标无线接入点的密码则无法接入。To access the wireless network, user equipment generally needs to search for nearby wireless access points first, and then access the target wireless access point based on the connection password of the target wireless access point manually entered by the user. If the user does not know or forget the target wireless access point The password of the entry point cannot be accessed.
很多场景下需要向用户提供无线接入点的连接信息;业界的普遍做法是,在手机WiFi列表里生成二维码,如图1所示,通过用户扫码实现分享无线接入点连接信息,也可以将所述二维码打印出来供用户扫码。In many scenarios, it is necessary to provide users with wireless access point connection information; the common practice in the industry is to generate a QR code in the mobile WiFi list, as shown in Figure 1, to share wireless access point connection information by scanning the code. The two-dimensional code can also be printed out for the user to scan the code.
但是,上述方案存在以下问题:However, the above scheme has the following problems:
(1)分享连接信息操作稍微繁琐,从找到WiFi列表,展示二维码步骤较多;(1) The operation of sharing connection information is a little cumbersome. There are many steps from finding the WiFi list to displaying the QR code;
(2)所分享的连接信息通过二维码识别后,如图2所示,是明文信息,涉及无线接入点提供者的信息泄露;(2) After the shared connection information is identified by the QR code, as shown in Figure 2, it is information in plain text, involving information leakage of the wireless access point provider;
(3)用户对所展示的二维码进行扫码得到连接信息,还需要进入己方手机的WiFi列表找到对应的无线接入点并输入密码才能接入。(3) The user scans the displayed QR code to get the connection information, and also needs to enter the WiFi list of his mobile phone to find the corresponding wireless access point and enter the password to access.
【发明内容】[Content of the invention]
本申请的多个方面提供一种通过即时通讯软件分享无线接入点的方法,用于快捷、安全的向用户分享无线接入点。Various aspects of this application provide a method for sharing wireless access points through instant messaging software, which is used to quickly and safely share wireless access points with users.
本申请的一方面,提供一种通过即时通讯软件分享无线接入点的方法,应用于第一用户设备,包括接收第一用户在第二用户的即时通讯会话消息界面上触发的无线接入点分享指令;获取至少一个无线接入点,确定所分享的目标无线接入点;生成目标无线接入点分享信息,向第二用户的即时通讯会话消息界 面发送目标无线接入点分享信息的会话消息,以便第二用户所在的第二用户设备根据所述无线接入点分享信息与所述第一用户所分享的目标无线接入点建立无线连接。One aspect of the present application provides a method for sharing wireless access points through instant messaging software, which is applied to a first user equipment and includes receiving a wireless access point triggered by a first user on a message interface of an instant messaging session of a second user Sharing instruction; obtain at least one wireless access point, determine the target wireless access point to share; generate target wireless access point sharing information, and send the target wireless access point sharing information session to the second user's instant messaging session message interface Message, so that the second user equipment where the second user is located establishes a wireless connection with the target wireless access point shared by the first user according to the wireless access point sharing information.
本申请的一方面,提供一种通过即时通讯软件分享无线接入点的方法,应用于第二用户设备,包括接收第一用户设备发送的第一用户所分享的目标无线接入点分享信息的会话消息;根据所述目标无线接入点分享信息与第一用户所分享的目标无线接入点建立无线连接。One aspect of the present application provides a method for sharing wireless access points through instant messaging software, which is applied to a second user equipment, and includes receiving the target wireless access point sharing information shared by the first user sent by the first user equipment Session message; establish a wireless connection with the target wireless access point shared by the first user according to the shared information of the target wireless access point.
本申请的另一方面,提供一种设备,其特征在于,所述设备包括:Another aspect of the present application provides a device, wherein the device includes:
一个或多个处理器;One or more processors;
存储装置,用于存储一个或多个程序,Storage device for storing one or more programs,
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现任一上述的方法。When the one or more programs are executed by the one or more processors, the one or more processors implement any of the aforementioned methods.
本申请的另一方面,提供一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现任一上述的方法。In another aspect of the present application, there is provided a computer-readable storage medium on which a computer program is stored, characterized in that, when the program is executed by a processor, any of the above methods is implemented.
由所述技术方案可知,本申请实施例,用于便捷、安全地向用户分享无线接入点,使用户可以便捷地接入所分享的无线接入点。It can be seen from the technical solution that the embodiments of the present application are used to conveniently and safely share wireless access points with users, so that users can conveniently access the shared wireless access points.
【附图说明】【Explanation of drawings】
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly describe the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are of the present application. For some embodiments, for those of ordinary skill in the art, other drawings can be obtained from these drawings without creative labor.
图1为背景技术中在手机WiFi列表里生成二维码的示意图;FIG. 1 is a schematic diagram of generating a QR code in the WiFi list of a mobile phone in the background art;
图2为背景技术中所分享的连接信息通过二维码识别后得到信息的示意图;FIG. 2 is a schematic diagram of information obtained after the connection information shared in the background art is identified through a QR code;
图3为本申请实施例一提供的一种应用于第一客户端的通过即时通讯软件分享无线接入点的方法的流程示意图;3 is a schematic flowchart of a method for sharing a wireless access point through instant messaging software applied to a first client according to Embodiment 1 of the application;
图4为本申请实施例二提供的一种应用于第二客户端的通过即时通讯软件分享无线接入点的方法的流程示意图;FIG. 4 is a schematic flowchart of a method for sharing a wireless access point through instant messaging software applied to a second client according to Embodiment 2 of the application;
图5为本申请实施例二中第二客户端接收第一客户端发送的会话消息并展 示给第二用户的示意图;5 is a schematic diagram of the second client receiving the session message sent by the first client and displaying it to the second user in the second embodiment of the application;
图6为本申请实施例二中Figure 6 is the second embodiment of the application
图7为适于用来实现本发明实施例的示例性计算机系统/服务器的框图。Figure 7 is a block diagram of an exemplary computer system/server suitable for implementing embodiments of the present invention.
【具体实施方式】【Detailed ways】
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的全部其他实施例,都属于本申请保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by a person of ordinary skill in the art without creative work shall fall within the protection scope of this application.
另外,本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。In addition, the term "and/or" in this article is only an association relationship describing associated objects, which means that there can be three types of relationships, for example, A and/or B, which can mean: A alone exists, and both A and B exist. There are three cases of B alone. In addition, the character "/" in this text generally indicates that the associated objects before and after are in an "or" relationship.
图3为本申请实施例一提供的应用于第一客户端的通过即时通讯软件分享无线接入点的方法的流程示意图,如图3所示,包括以下步骤:Fig. 3 is a schematic flowchart of a method for sharing a wireless access point through instant messaging software applied to a first client according to the first embodiment of the application. As shown in Fig. 3, the method includes the following steps:
步骤S11、接收第一用户在第二用户的即时通讯会话消息界面上触发的无线接入点分享指令;获取至少一个无线接入点,确定所分享的目标无线接入点;Step S11: Receive a wireless access point sharing instruction triggered by the first user on the instant messaging session message interface of the second user; obtain at least one wireless access point, and determine the target wireless access point to be shared;
步骤S12、生成目标无线接入点分享信息,向第二用户的即时通讯会话消息界面发送目标无线接入点分享信息的会话消息,以便第二用户所在的第二用户设备根据所述无线接入点分享信息与所述第一用户所分享的目标无线接入点建立无线连接。Step S12: Generate target wireless access point sharing information, and send the target wireless access point sharing information session message to the instant messaging session message interface of the second user, so that the second user equipment where the second user is located is based on the wireless access The point sharing information establishes a wireless connection with the target wireless access point shared by the first user.
图3所示方法的执行主体可以为第一用户设备。The execution subject of the method shown in FIG. 3 may be the first user equipment.
其中,所述用户设备包括但不限于任何一种可与用户进行人机交互并能够实现无线通信功能的智能终端设备,如智能手机、平板电脑、笔记本电脑等。Wherein, the user equipment includes, but is not limited to, any intelligent terminal device that can perform human-computer interaction with the user and can implement wireless communication functions, such as a smart phone, a tablet computer, a notebook computer, and the like.
所述用户设备上安装有能够实现即时通讯会话功能的客户端。所述第一用户设备安装的第一客户端可以与第二用户设备安装的第二客户端进行即时通讯。A client capable of realizing the instant messaging session function is installed on the user equipment. The first client installed on the first user equipment can communicate with the second client installed on the second user equipment.
所述无线接入点可以是提供无线网络接入服务的AP、终端设备热点等。所 述无线网络包括但不限于基于IEEE802.11系列标准协议的无线局域网络,例如,基于IEEE802.11n协议、IEEE802.11ac协议的无线局域网络,即通常所说的WiFi网络,用户设备可以通过所述无线接入点接入对应的无线网络。在本发明的后续实施例中,以接入WiFi网络的无线接入点为例进行描述。The wireless access point may be an AP that provides wireless network access services, terminal equipment hotspots, and the like. The wireless network includes, but is not limited to, a wireless local area network based on the IEEE 802.11 series standard protocols, for example, a wireless local area network based on the IEEE 802.11n protocol and the IEEE 802.11ac protocol, which is commonly referred to as a WiFi network. The wireless access point accesses the corresponding wireless network. In the subsequent embodiments of the present invention, a wireless access point that accesses a WiFi network is taken as an example for description.
在步骤S11的一种优选实现方式中;In a preferred implementation of step S11;
优选地,安装在第一用户设备的第一客户端接收第一用户在第二用户的即时通讯会话消息界面上触发的无线接入点分享指令。Preferably, the first client installed on the first user equipment receives the wireless access point sharing instruction triggered by the first user on the instant messaging session message interface of the second user.
第一用户登录安装在第一用户设备的第一客户端;通过会话窗口与登录安装在第二用户设备的第二客户端的第二用户进行会话。The first user logs in to the first client installed on the first user equipment; and conducts a conversation with the second user who logs in to the second client installed on the second user equipment through the session window.
所触发的无线接入点分享指令可以是第一用户对会话窗口中提供的“分享WiFi”按钮的点击。The triggered wireless access point sharing instruction may be the first user's click on the "Share WiFi" button provided in the session window.
优选地,用户点击会话窗口中提供的“+”按钮,对进一步展示的“分享WiFi”按钮进行点击;或者,用户直接点击会话窗口中提供的“分享WiFi”按钮。Preferably, the user clicks the "+" button provided in the session window to click the "Share WiFi" button further displayed; or the user directly clicks the "Share WiFi" button provided in the session window.
在本申请的一种优选实现方式中,第一用户所分享的目标无线接入点为第一用户设备当前连接的无线接入点。In a preferred implementation manner of the present application, the target wireless access point shared by the first user is the wireless access point to which the first user equipment is currently connected.
所述第一客户端调用预设的服务端口,获取第一用户设备当前连接的无线接入点;将所述当前连接的无线接入点作为第一用户所分享的目标无线接入点。The first client invokes a preset service port to obtain the wireless access point currently connected to the first user equipment; and uses the currently connected wireless access point as the target wireless access point shared by the first user.
优选地,所述第一用户设备是通过所述第一用户手动输入的无线接入点的接入信息连接到所述无线接入点的。优选地,所述第一客户端调用预设的服务端口,将所述无线接入点的接入信息上传到接入服务器中。Preferably, the first user equipment is connected to the wireless access point through the access information of the wireless access point manually input by the first user. Preferably, the first client calls a preset service port, and uploads the access information of the wireless access point to the access server.
优选地,所述第一用户设备是通过向接入服务器发送无线接入点的接入请求;获取接入服务器返回的无线接入点的接入信息,通过所述无线接入点的接入信息连接到所述无线接入点的。Preferably, the first user equipment sends an access request for a wireless access point to an access server; obtains the access information of the wireless access point returned by the access server, and then accesses the wireless access point through the wireless access point. Information connected to the wireless access point.
在本申请的一种优选实现方式中,第一用户所分享的目标无线接入点不限于第一用户设备当前连接的无线接入点。In a preferred implementation manner of the present application, the target wireless access point shared by the first user is not limited to the wireless access point to which the first user equipment is currently connected.
优选地,第一客户端向所述第一用户展示可共享的无线接入点;接收所述第一用户的进一步指令,确定所述第一用户所分享的目标无线接入点。Preferably, the first client shows the sharable wireless access point to the first user; receives a further instruction from the first user to determine the target wireless access point shared by the first user.
优选地,所述第一客户端调用预设的服务端口,获取当前可用的无线接入 点列表,将所述当前可用的无线接入点列表展示给第一用户,以便第一用户从所述当前可用的无线接入点列表中确定所分享的目标无线接入点。Preferably, the first client invokes a preset service port, obtains a list of currently available wireless access points, and displays the list of currently available wireless access points to the first user so that the first user can download The target wireless access point to be shared is determined in the list of currently available wireless access points.
优选地,所述当前可用的无线接入点列表是所述第一客户端通过向接入服务器发送无线接入点的接入请求,获取接入服务器返回的无线接入点的接入信息后生成的。Preferably, the currently available wireless access point list is obtained after the first client obtains the access information of the wireless access point returned by the access server by sending the access request of the wireless access point to the access server Generated.
优选地,所述接入请求包括扫描列表。所述接入请求,请求服务器返回存储在所述服务器中的与所述扫描列表中的无线接入点对应的接入信息,例如无线接入点对应的密码等。Preferably, the access request includes a scan list. The access request requests the server to return the access information corresponding to the wireless access points in the scan list stored in the server, such as the password corresponding to the wireless access point.
优选地,第一用户设备的WiFi模块扫描第一用户设备附近的无线接入点,基于所扫描出的一个或多个无线接入点,获取所述一个或多个无线接入点的标识信息。Preferably, the WiFi module of the first user equipment scans wireless access points near the first user equipment, and obtains identification information of the one or more wireless access points based on the scanned one or more wireless access points .
其中,所述标识信息为无线接入点的SSID(Service Set Identifier,服务集标识),所述SSID用于辨识所述无线接入点对应的无线网络。无线接入点将其SSID封装在数据包中的非加密部分,并通过广播方式进行广播。进一步地,所述SSID还可以细化为BSSID(Basic Service Set Identifier,基本服务集标识)和ESSID(Extended Service Set Identifier,服务区别号),其中,所述BSSID是用来对较小BSS(Basic Service Set,基站系统)区域进行标识,每个主机在这个较小的区域里进行通讯,而所述ESSID则应用在规模较大、较复杂的无线网络中,在此,不同的BSS可以拓展至对应的ESS(Extended Service Set,多个基站系统)。在本发明的后续实施例中,将无线接入点的MAC(Media Access Control,媒体访问控制)作为无线接入点的BSSID。The identification information is an SSID (Service Set Identifier, service set identifier) of the wireless access point, and the SSID is used to identify the wireless network corresponding to the wireless access point. The wireless access point encapsulates its SSID in the unencrypted part of the data packet, and broadcasts it through broadcast. Further, the SSID can also be refined into a BSSID (Basic Service Set Identifier) and an ESSID (Extended Service Set Identifier), where the BSSID is used to identify a smaller BSS (Basic Service Set Identifier). Service Set (base station system) area is identified. Each host communicates in this smaller area, and the ESSID is used in larger and more complex wireless networks. Here, different BSSs can be extended to Corresponding ESS (Extended Service Set, multiple base station systems). In subsequent embodiments of the present invention, the MAC (Media Access Control, Media Access Control) of the wireless access point is used as the BSSID of the wireless access point.
优选地,所述标识信息为无线接入点的SSID和BSSID。Preferably, the identification information is the SSID and BSSID of the wireless access point.
优选地,第一用户设备安装的第一客户端从第一用户设备的系统无线接入点列表中获取所述一个或多个无线接入点的SSID和BSSID。优选地,第一用户设备安装的第一客户端从第一用户设备的系统无线接入点列表中获取包括根据所述一个或多个无线接入点的SSID和BSSID的扫描列表。Preferably, the first client installed by the first user equipment obtains the SSID and BSSID of the one or more wireless access points from the system wireless access point list of the first user equipment. Preferably, the first client installed by the first user equipment obtains a scan list including the SSID and BSSID of the one or more wireless access points from a list of system wireless access points of the first user equipment.
优选地,第一用户设备安装的第一客户端从第一用户设备的WiFi模块获取所述一个或多个无线接入点的SSID和BSSID;根据所获取的所述一个或多个无线接入点的SSID和BSSID建立扫描列表。Preferably, the first client installed by the first user equipment obtains the SSID and BSSID of the one or more wireless access points from the WiFi module of the first user equipment; according to the obtained one or more wireless access points The SSID and BSSID of the point create a scan list.
第一用户设备安装的第一客户端向接入服务器发送无线接入点的接入请求,其中,所述接入请求包括所获取到的无线接入点的标识信息。The first client installed by the first user equipment sends an access request for the wireless access point to the access server, where the access request includes the acquired identification information of the wireless access point.
优选地,所述接入请求包括所述扫描列表。所述接入请求,请求服务器返回存储在所述服务器中的与所述扫描列表中的无线接入点对应的接入信息,例如无线接入点对应的密码等。Preferably, the access request includes the scan list. The access request requests the server to return the access information corresponding to the wireless access points in the scan list stored in the server, such as the password corresponding to the wireless access point.
优选地,所述第一用户设备基于当前已有的数据通信方式完成接入信息获取请求的发送,例如,基于已开启的移动通信网络,如3G网络、4G网络等,完成所述接入请求的发送;又如,基于已开启的无线局域网,如WiFi网络等,完成所述接入请求的发送。Preferably, the first user equipment completes the sending of the access information acquisition request based on the currently existing data communication method, for example, completes the access request based on the activated mobile communication network, such as 3G network, 4G network, etc. For example, based on the wireless local area network that has been turned on, such as a WiFi network, the sending of the access request is completed.
在本申请以下的实施例中,无线接入点与无线热点、WiFi热点可分别进行互换使用。In the following embodiments of the present application, wireless access points, wireless hotspots, and WiFi hotspots can be used interchangeably.
优选地,无线接入点对应的接入信息为接入服务器在其接入信息数据库中查询得到。接入服务器基于无线接入点的标识信息在接入信息数据库中查找并确定相应无线接入点的接入信息。具体地,接入信息数据库中存储有海量的无线接入点及其对应的接入信息。接入信息数据库中存储的每个无线接入点以其对应的SSID和BSSID唯一确定。接入信息数据库中所存储的无线接入点对应的接入信息包括公共无线网络运营商提供的接入信息,或是由用户分享提供的无线接入点的接入信息,或是个人移动设备所提供的移动无线接入点的接入信息等。Preferably, the access information corresponding to the wireless access point is obtained by the access server by querying its access information database. The access server searches and determines the access information of the corresponding wireless access point in the access information database based on the identification information of the wireless access point. Specifically, a large number of wireless access points and their corresponding access information are stored in the access information database. Each wireless access point stored in the access information database is uniquely determined by its corresponding SSID and BSSID. The access information corresponding to the wireless access point stored in the access information database includes the access information provided by the public wireless network operator, or the access information of the wireless access point provided by the user sharing, or the personal mobile device Provide access information of mobile wireless access points, etc.
若接入信息数据库中存在无线接入点对应的接入信息,基于其标识信息,则可以查询得到无线接入点对应的接入信息。接入服务器向第一用户设备返回查询得到的所述无线接入点对应的接入信息。If the access information corresponding to the wireless access point exists in the access information database, based on the identification information, the access information corresponding to the wireless access point can be queried. The access server returns the access information corresponding to the wireless access point obtained by the query to the first user equipment.
若接入信息数据库中不存在无线接入点对应的接入信息,基于其标识信息,没有查询得到无线接入点对应的接入信息。接入服务器向第一用户设备返回没有查询得到无线接入点对应的接入信息的反馈消息。If the access information corresponding to the wireless access point does not exist in the access information database, based on the identification information, the access information corresponding to the wireless access point is not obtained by query. The access server returns to the first user equipment a feedback message that the access information corresponding to the wireless access point has not been queried.
第一用户设备安装的第一客户端根据所获取的接入服务器返回的无线接入点的接入信息,生成当前可用的无线接入点列表。所述当前可用的无线接入点列表中包括从接入服务器获取到接入信息的无线接入点。The first client installed by the first user equipment generates a list of currently available wireless access points according to the acquired access information of the wireless access points returned by the access server. The currently available wireless access point list includes wireless access points that have obtained access information from the access server.
优选地,所述当前可用的无线接入点列表所包括的无线接入点与操作系统 的无线接入入点列表包括的无线接入点相同。即,可以在无线接入点列表中显示从服务器获取到接入信息的无线接入点的可接入提示信息。例如,以一定的图形标识,例如与客户端有关的标识,来表示所述可接入提示信息,提示用户已经获取了对应的无线接入点的接入信息,从而方便第一用户进一步选择无线接入点进行分享。Preferably, the wireless access points included in the currently available wireless access point list are the same as the wireless access points included in the wireless access point list of the operating system. That is, the access prompt information of the wireless access point that has obtained the access information from the server can be displayed in the wireless access point list. For example, a certain graphic identification, such as an identification related to the client, is used to indicate the access prompt information, prompting the user to have obtained the access information of the corresponding wireless access point, so as to facilitate the first user to further select wireless Access point to share.
优选地,所述当前可用的无线接入点列表所包括的无线接入点为从服务器获取到接入信息的无线接入点。即,仅显示可以接入的无线接入点,以方便第一用户选择无线接入点进行分享。Preferably, the wireless access points included in the currently available wireless access point list are wireless access points that have obtained access information from the server. That is, only the wireless access points that can be accessed are displayed to facilitate the first user to select a wireless access point to share.
优选地,第一用户可以在所述当前可用的无线接入点列表中选择所分享的无线接入点。例如,点击选中所述分享的无线接入点,点击下一步,以生成无线接入点分享信息并发送给第二客户端。Preferably, the first user can select the shared wireless access point from the list of currently available wireless access points. For example, click to select the shared wireless access point, and click Next to generate wireless access point sharing information and send it to the second client.
在步骤S12的一种优选实现方式中,In a preferred implementation of step S12,
所述第一客户端生成目标无线接入点分享信息,向第二用户的即时通讯会话消息界面发送目标无线接入点分享信息的会话消息,以便第二用户所在的第二用户设备根据所述无线接入点分享信息与所述第一用户所分享的目标无线接入点建立无线连接。The first client generates the target wireless access point sharing information, and sends a session message of the target wireless access point sharing information to the instant messaging session message interface of the second user, so that the second user equipment where the second user is located is based on the The wireless access point sharing information establishes a wireless connection with the target wireless access point shared by the first user.
所述无线接入点分享信息用于调用第二用户设备上的预设接口获取所述第一用户所分享的目标无线接入点的接入信息,以便接入所述第一用户所分享的无线接入点。优选地,所述无线接入点分享信息包括所述第一用户所分享的无线接入点的标识信息。The wireless access point sharing information is used to call a preset interface on the second user equipment to obtain the access information of the target wireless access point shared by the first user, so as to access the information shared by the first user Wireless access point. Preferably, the wireless access point sharing information includes identification information of the wireless access point shared by the first user.
优选地,所述第一客户端根据所述第一用户所分享的无线接入点的标识信息,生成无线接入点分享信息。Preferably, the first client generates wireless access point sharing information according to the identification information of the wireless access point shared by the first user.
优选地,所述第一客户端将所述无线接入点分享信息以会话消息的形式发送给所述第二客户端。所述会话消息的形式为“‘XX’与你分享WiFi,点击一键连接”,如图5所示。Preferably, the first client sends the wireless access point sharing information to the second client in the form of a session message. The form of the conversation message is "'XX' share WiFi with you, click one-click connection", as shown in Figure 5.
优选地,所述无线接入点分享信息被以加密形式封装在所述会话消息中。Preferably, the wireless access point sharing information is encapsulated in the session message in an encrypted form.
优选地,仅对所述无线接入点分享信息中包括的第一用户所分享的无线接入点的标识信息进行加密,将所述无线接入点分享信息封装在所述会话消息中。Preferably, only the identification information of the wireless access point shared by the first user included in the wireless access point sharing information is encrypted, and the wireless access point sharing information is encapsulated in the session message.
优选地,所述加密形式是由社交软件预先设定的,以便社交软件的各客户 端进行加密封装和加密信息的解密。Preferably, the encryption form is preset by the social software, so that each client of the social software can encrypt and package and decrypt the encrypted information.
在本申请的一种优选实现方式中,所述无线接入点分享信息还包括所述第一用户所分享的目标无线接入点的接入信息。In a preferred implementation of the present application, the wireless access point sharing information further includes the access information of the target wireless access point shared by the first user.
所述第二用户所在的第二用户设备根据所述无线接入点分享信息与所述第一用户所分享的目标无线接入点建立无线连接包括:The establishing a wireless connection between the second user equipment where the second user is located and the target wireless access point shared by the first user according to the wireless access point sharing information includes:
基于所述目标无线接入点的标识信息及接入信息,自动向所述第一用户所分享的目标无线接入点建立无线连接。Based on the identification information and access information of the target wireless access point, a wireless connection is automatically established to the target wireless access point shared by the first user.
在本申请的一种优选实现方式中,所述无线接入点分享信息不包括所述第一用户所分享的无线接入点的接入信息,仅包括所述第一用户所分享的无线接入点的标识信息,所述接入信息存储于接入服务器中。In a preferred implementation of the present application, the wireless access point sharing information does not include the access information of the wireless access point shared by the first user, but only includes the wireless access point shared by the first user. The identification information of the access point, and the access information is stored in the access server.
所述第二用户所在的第二用户设备根据所述无线接入点分享信息与所述第一用户所分享的目标无线接入点建立无线连接包括:The establishing a wireless connection between the second user equipment where the second user is located and the target wireless access point shared by the first user according to the wireless access point sharing information includes:
向接入服务器发送目标无线接入点的接入请求,其中,所述接入请求包括所述目标无线接入点的标识信息;基于从接入服务器所获取的目标无线接入点的接入信息,自动向所述第一用户所分享的目标无线接入点建立无线连接。Sending an access request of the target wireless access point to the access server, where the access request includes the identification information of the target wireless access point; based on the access of the target wireless access point obtained from the access server Information, a wireless connection is automatically established to the target wireless access point shared by the first user.
优选地,所述第二客户端接收所述会话消息,展示给第二用户;接收第二用户对所述会话消息的点击指令;获取所述会话消息中封装的目标无线接入点分享信息,根据所述无线接入点分享信息中包括的所述第一用户所分享的目标无线接入点的标识信息,调用预设接口,获取对应的接入信息;根据所述对应的接入信息,与所述第一用户所分享的目标无线接入点建立连接。Preferably, the second client receives the session message and displays it to a second user; receives a click instruction of the second user on the session message; obtains the target wireless access point sharing information encapsulated in the session message, According to the identification information of the target wireless access point shared by the first user included in the wireless access point sharing information, call a preset interface to obtain corresponding access information; according to the corresponding access information, Establishing a connection with the target wireless access point shared by the first user.
通过本实施例所述方法,可以快速便捷地向即时通讯好友分享无线接入点,使社交软件好友自动接入所述无线接入点;同时,还保证了无线接入点的信息安全性。With the method described in this embodiment, the wireless access point can be quickly and conveniently shared with instant messaging friends, so that social software friends can automatically access the wireless access point; at the same time, the information security of the wireless access point is also ensured.
图4为本申请实施例一提供的应用于第二客户端的通过即时通讯软件分享无线接入点的方法的流程示意图,如图4所示,包括以下步骤:FIG. 4 is a schematic flowchart of a method for sharing a wireless access point through instant messaging software applied to a second client according to Embodiment 1 of the application. As shown in FIG. 4, the method includes the following steps:
步骤S21、接收第一用户设备发送的第一用户所分享的目标无线接入点分享信息的会话消息;Step S21: Receive a session message of the target wireless access point shared information shared by the first user and sent by the first user equipment;
步骤S22、根据所述目标无线接入点分享信息与第一用户所分享的目标无线接入点建立无线连接。Step S22: Establish a wireless connection with the target wireless access point shared by the first user according to the target wireless access point sharing information.
图4所示方法的执行主体可以为第二用户设备。The execution subject of the method shown in FIG. 4 may be the second user equipment.
其中,所述用户设备包括但不限于任何一种可与用户进行人机交互并能够实现无线通信功能的智能终端设备,如智能手机、平板电脑、笔记本电脑等。Wherein, the user equipment includes, but is not limited to, any intelligent terminal device that can perform human-computer interaction with the user and can implement wireless communication functions, such as a smart phone, a tablet computer, a notebook computer, and the like.
所述用户设备安装有能够实现即时通讯会话功能的客户端。所述第一用户设备安装的第一客户端可以与第二用户设备安装的第二客户端进行即时通讯。The user equipment is installed with a client terminal capable of realizing an instant messaging session function. The first client installed on the first user equipment can communicate with the second client installed on the second user equipment.
所述无线接入点可以是提供无线网络接入服务的AP、终端设备热点等。所述无线网络包括但不限于基于IEEE802.11系列标准协议的无线局域网络,例如,基于IEEE802.11n协议、IEEE802.11ac协议的无线局域网络,即通常所说的WiFi网络,用户设备可以通过所述无线接入点接入对应的无线网络。在本发明的后续实施例中,以接入WiFi网络的无线接入点为例进行描述。The wireless access point may be an AP that provides wireless network access services, terminal equipment hotspots, and the like. The wireless network includes, but is not limited to, a wireless local area network based on the IEEE 802.11 series standard protocols, for example, a wireless local area network based on the IEEE 802.11n protocol and the IEEE 802.11ac protocol, which is commonly referred to as a WiFi network. The wireless access point accesses the corresponding wireless network. In the subsequent embodiments of the present invention, a wireless access point that accesses a WiFi network is taken as an example for description.
在步骤S21的一种优选实现方式中,In a preferred implementation of step S21,
第二客户端接收第一客户端发送的会话消息并展示给第二用户。如图5所示,所述会话消息的形式为“‘XX’与你分享WiFi,点击一键连接”。The second client receives the session message sent by the first client and displays it to the second user. As shown in Figure 5, the form of the conversation message is "‘XX’ to share WiFi with you, click a key to connect".
所述第二客户端检测第二用户对所述会话消息的点击指令。The second client detects the click instruction of the second user on the conversation message.
优选地,所述会话消息是由所述第一客户端根据所述第一用户所分享的目标无线接入点的标识信息生成的。Preferably, the session message is generated by the first client according to the identification information of the target wireless access point shared by the first user.
优选地,所述目标无线接入点分享信息被以加密形式封装在所述会话消息中。Preferably, the target wireless access point sharing information is encapsulated in the session message in an encrypted form.
优选地,仅对所述目标无线接入点分享信息中包括的第一用户所分享的目标无线接入点的标识信息进行加密,将所述目标无线接入点分享信息封装在所述会话消息中。Preferably, only the identification information of the target wireless access point shared by the first user included in the target wireless access point shared information is encrypted, and the target wireless access point shared information is encapsulated in the session message in.
优选地,所述加密形式是由社交软件预先设定的,以便社交软件的各客户端进行加密封装和加密信息的解密。Preferably, the encryption form is preset by the social software, so that each client of the social software can encrypt and package and decrypt the encrypted information.
具体步骤参见实施例一,在此不再赘述。For specific steps, refer to Embodiment 1, which will not be repeated here.
在步骤S22的一种优选实现方式中,In a preferred implementation of step S22,
优选地,所述第二客户端以预设的解密方式对以加密形式封装在所述会话消息中的所述目标无线接入点分享信息。Preferably, the second client terminal shares information with the target wireless access point encapsulated in the session message in an encrypted form in a preset decryption manner.
在本申请的一个优选实施例中,In a preferred embodiment of this application,
所述目标无线接入点分享信息根据所述目标无线接入点的标识信息及接 入信息生成;The target wireless access point sharing information is generated according to the identification information and access information of the target wireless access point;
根据所述目标无线接入点分享信息与第一用户所分享的目标无线接入点建立无线连接包括,所述第二客户端基于所述目标无线接入点的标识信息及接入信息,自动向所述第一用户所要分享的目标无线接入点建立无线连接。Establishing a wireless connection with the target wireless access point shared by the first user according to the shared information of the target wireless access point includes that the second client automatically performs automatic connection based on the identification information and access information of the target wireless access point Establishing a wireless connection to the target wireless access point to be shared by the first user.
在本申请的另一个优选实施例中,In another preferred embodiment of this application,
所述目标无线接入点分享信息根据所述目标无线接入点的标识信息生成;The target wireless access point sharing information is generated according to the identification information of the target wireless access point;
根据所述目标无线接入点分享信息与第一用户所分享的目标无线接入点建立无线连接包括,向接入服务器发送目标无线接入点的接入请求,其中,所述接入请求包括所述目标无线接入点的标识信息;基于从接入服务器所获取的目标无线接入点的接入信息,自动向所述第一用户所要分享的目标无线接入点建立无线连接,如图6所示。Establishing a wireless connection with the target wireless access point shared by the first user according to the target wireless access point sharing information includes sending an access request of the target wireless access point to an access server, where the access request includes The identification information of the target wireless access point; based on the access information of the target wireless access point obtained from the access server, a wireless connection is automatically established to the target wireless access point to be shared by the first user, as shown in the figure 6 shown.
优选地,所述第二客户端根据所述无线接入点分享信息中包括的所述第一用户所分享的目标无线接入点的标识信息,调用预设接口,向接入服务器发送无线接入点的接入请求。其中,所述接入请求包括所述无线接入点分享信息中包括的所述第一用户所分享的目标无线接入点的标识信息。Preferably, the second client invokes a preset interface according to the identification information of the target wireless access point shared by the first user included in the wireless access point shared information, and sends the wireless access point to the access server. The access request of the in-point. Wherein, the access request includes the identification information of the target wireless access point shared by the first user included in the wireless access point sharing information.
所述接入请求,请求接入服务器返回存储在所述接入服务器中的与所述第一用户所分享的目标无线接入点对应的接入信息,例如目标无线接入点对应的密码等。The access request requests the access server to return the access information corresponding to the target wireless access point shared by the first user stored in the access server, such as the password corresponding to the target wireless access point, etc. .
优选地,所述标识信息为无线接入点的SSID和BSSID。Preferably, the identification information is the SSID and BSSID of the wireless access point.
优选地,无线接入点对应的接入信息为接入服务器在其接入信息数据库中查询得到。接入服务器基于无线接入点的标识信息在接入信息数据库中查找并确定相应无线接入点的接入信息。具体地,接入信息数据库中存储有海量的无线接入点及其对应的接入信息。接入信息数据库中存储的每个无线接入点以其对应的SSID和BSSID唯一确定。接入信息数据库中所存储的无线接入点对应的接入信息包括公共无线网络运营商提供的接入信息,或是由用户分享提供的无线接入点的接入信息,或是个人移动设备所提供的移动无线接入点的接入信息等。例如,由第一用户上传的第一用户设备所连接的无线接入点对应的接入信息。Preferably, the access information corresponding to the wireless access point is obtained by the access server by querying its access information database. The access server searches and determines the access information of the corresponding wireless access point in the access information database based on the identification information of the wireless access point. Specifically, a large number of wireless access points and their corresponding access information are stored in the access information database. Each wireless access point stored in the access information database is uniquely determined by its corresponding SSID and BSSID. The access information corresponding to the wireless access point stored in the access information database includes the access information provided by the public wireless network operator, or the access information of the wireless access point provided by the user sharing, or the personal mobile device Provide access information of mobile wireless access points, etc. For example, the access information corresponding to the wireless access point to which the first user equipment is connected is uploaded by the first user.
若接入信息数据库中存在无线接入点对应的接入信息,基于其标识信息, 则可以查询得到无线接入点对应的接入信息。接入服务器返回查询得到的所述无线接入点对应的接入信息。If the access information corresponding to the wireless access point exists in the access information database, based on the identification information, the access information corresponding to the wireless access point can be queried. The access server returns the access information corresponding to the wireless access point obtained by the query.
若接入信息数据库中不存在无线接入点对应的接入信息,接入服务器返回查询失败的反馈信息。If the access information corresponding to the wireless access point does not exist in the access information database, the access server returns feedback information that the query fails.
无线连接的建立可以是第二客户端基于所述对应的接入信息,自动向所述第一用户所分享的目标无线接入点发起连接请求,整个连接过程自动在后台运行The establishment of a wireless connection may be that the second client automatically initiates a connection request to the target wireless access point shared by the first user based on the corresponding access information, and the entire connection process automatically runs in the background
优选地,当第二用户设备与所述第一用户所分享的目标无线接入点建立无线连接后,第二客户端可以向第二用户推送提示消息,例如“已连接到‘XX’与你分享的WiFi”。Preferably, after the second user equipment establishes a wireless connection with the target wireless access point shared by the first user, the second client may push a prompt message to the second user, for example, "Connected to'XX' and you Shared WiFi".
优选地,当第二用户设备与所述第一用户所分享的目标无线接入点建立无线连接后,第二客户端可以向第一客户端发送反馈消息,例如“‘XX’已连接到你分享的WiFi”。Preferably, after the second user equipment establishes a wireless connection with the target wireless access point shared by the first user, the second client may send a feedback message to the first client, for example, "'XX' is connected to you Shared WiFi".
优选地,当第二用户设备未能与所述第一用户所分享的目标无线接入点建立无线连接,例如,接入信息错误、未扫描到所述第一用户所分享的目标无线接入点;第二客户端可以向第一客户端发送反馈消息,例如“‘XX’未连接到你分享的WiFi”。优选地,所述反馈消息还可以包括未能与所述第一用户所分享的目标无线接入点建立无线连接的原因。Preferably, when the second user equipment fails to establish a wireless connection with the target wireless access point shared by the first user, for example, the access information is wrong, and the target wireless access shared by the first user is not scanned. Point; the second client can send a feedback message to the first client, such as "'XX' is not connected to the WiFi you shared". Preferably, the feedback message may also include a reason for failing to establish a wireless connection with the target wireless access point shared by the first user.
通过本实施例所述方法,可以快速便捷地接入即时通讯好友分享的无线接入点;同时,还保证了无线接入点的信息安全性。Through the method described in this embodiment, the wireless access point shared by instant messaging friends can be quickly and conveniently accessed; at the same time, the information security of the wireless access point is also ensured.
图7示出了适于用来实现本发明实施方式的示例性计算机系统/服务器012的框图。图7显示的计算机系统/服务器012仅仅是一个示例,不应对本发明实施例的功能和使用范围带来任何限制。Figure 7 shows a block diagram of an exemplary computer system/server 012 suitable for implementing embodiments of the present invention. The computer system/server 012 shown in FIG. 7 is only an example, and should not bring any limitation to the function and application scope of the embodiment of the present invention.
如图7所示,计算机系统/服务器012以通用计算设备的形式表现。计算机系统/服务器012的组件可以包括但不限于:一个或者多个处理器或者处理单元016,系统存储器028,连接不同系统组件(包括系统存储器028和处理单元016)的总线018。As shown in Figure 7, the computer system/server 012 is represented in the form of a general-purpose computing device. The components of the computer system/server 012 may include, but are not limited to: one or more processors or processing units 016, a system memory 028, and a bus 018 connecting different system components (including the system memory 028 and the processing unit 016).
总线018表示几类总线结构中的一种或多种,包括存储器总线或者存储器控制器,外围总线,图形加速端口,处理器或者使用多种总线结构中的任意总 线结构的局域总线。举例来说,这些体系结构包括但不限于工业标准体系结构(ISA)总线,微通道体系结构(MAC)总线,增强型ISA总线、视频电子标准协会(VESA)局域总线以及外围组件互连(PCI)总线。The bus 018 represents one or more of several types of bus structures, including a memory bus or a memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of the multiple bus structures. For example, these architectures include but are not limited to industry standard architecture (ISA) bus, microchannel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and peripheral component interconnection ( PCI) bus.
计算机系统/服务器012典型地包括多种计算机系统可读介质。这些介质可以是任何能够被计算机系统/服务器012访问的可用介质,包括易失性和非易失性介质,可移动的和不可移动的介质。The computer system/server 012 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the computer system/server 012, including volatile and nonvolatile media, removable and non-removable media.
系统存储器028可以包括易失性存储器形式的计算机系统可读介质,例如随机存取存储器(RAM)030和/或高速缓存存储器032。计算机系统/服务器012可以进一步包括其它可移动/不可移动的、易失性/非易失性计算机系统存储介质。仅作为举例,存储系统034可以用于读写不可移动的、非易失性磁介质(图7未显示,通常称为“硬盘驱动器”)。尽管图7中未示出,可以提供用于对可移动非易失性磁盘(例如“软盘”)读写的磁盘驱动器,以及对可移动非易失性光盘(例如CD-ROM,DVD-ROM或者其它光介质)读写的光盘驱动器。在这些情况下,每个驱动器可以通过一个或者多个数据介质接口与总线018相连。存储器028可以包括至少一个程序产品,该程序产品具有一组(例如至少一个)程序模块,这些程序模块被配置以执行本发明各实施例的功能。The system memory 028 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 030 and/or cache memory 032. The computer system/server 012 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. For example only, the storage system 034 can be used to read and write non-removable, non-volatile magnetic media (not shown in FIG. 7, and is generally referred to as a "hard drive"). Although not shown in FIG. 7, a disk drive for reading and writing to a removable non-volatile disk (such as a "floppy disk") and a removable non-volatile disk (such as CD-ROM, DVD-ROM) can be provided. Or other optical media) read and write optical disc drives. In these cases, each drive can be connected to the bus 018 through one or more data media interfaces. The memory 028 may include at least one program product, and the program product has a set (for example, at least one) program modules, which are configured to perform the functions of the embodiments of the present invention.
具有一组(至少一个)程序模块042的程序/实用工具040,可以存储在例如存储器028中,这样的程序模块042包括——但不限于——操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。程序模块042通常执行本发明所描述的实施例中的功能和/或方法。A program/utility tool 040 with a set of (at least one) program module 042 can be stored in, for example, the memory 028. Such program module 042 includes, but is not limited to, an operating system, one or more application programs, and other programs Modules and program data, each of these examples or some combination may include the realization of a network environment. The program module 042 generally executes the functions and/or methods in the described embodiments of the present invention.
计算机系统/服务器012也可以与一个或多个外部设备014(例如键盘、指向设备、显示器024等)通信,在本发明中,计算机系统/服务器012与外部雷达设备进行通信,还可与一个或者多个使得用户能与该计算机系统/服务器012交互的设备通信,和/或与使得该计算机系统/服务器012能与一个或多个其它计算设备进行通信的任何设备(例如网卡,调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口022进行。并且,计算机系统/服务器012还可以通过网络适配器020与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。如图7所示,网络适配器020通过总线 018与计算机系统/服务器012的其它模块通信。应当明白,尽管图7中未示出,可以结合计算机系统/服务器012使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储系统等。The computer system/server 012 can also communicate with one or more external devices 014 (such as a keyboard, pointing device, display 024, etc.). In the present invention, the computer system/server 012 communicates with an external radar device, and can also communicate with one or Multiple devices that enable users to interact with the computer system/server 012, and/or communicate with any devices that enable the computer system/server 012 to communicate with one or more other computing devices (such as network cards, modems, etc.) Communication. This communication can be performed through an input/output (I/O) interface 022. In addition, the computer system/server 012 can also communicate with one or more networks (for example, a local area network (LAN), a wide area network (WAN), and/or a public network, such as the Internet) through the network adapter 020. As shown in Fig. 7, the network adapter 020 communicates with other modules of the computer system/server 012 through the bus 018. It should be understood that although not shown in FIG. 7, other hardware and/or software modules can be used in conjunction with the computer system/server 012, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems , Tape drives and data backup storage systems.
处理单元016通过运行存储在系统存储器028中的程序,从而执行本发明所描述的实施例中的功能和/或方法。The processing unit 016 executes the functions and/or methods in the described embodiments of the present invention by running a program stored in the system memory 028.
上述的计算机程序可以设置于计算机存储介质中,即该计算机存储介质被编码有计算机程序,该程序在被一个或多个计算机执行时,使得一个或多个计算机执行本发明上述实施例中所示的方法流程和/或装置操作。The above-mentioned computer program may be set in a computer storage medium, that is, the computer storage medium is encoded with a computer program. When the program is executed by one or more computers, one or more computers can execute the above-mentioned embodiments of the present invention. The method flow and/or device operation.
随着时间、技术的发展,介质含义越来越广泛,计算机程序的传播途径不再受限于有形介质,还可以直接从网络下载等。可以采用一个或多个计算机可读的介质的任意组合。计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本文件中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。With the development of time and technology, the meaning of media has become more and more extensive, and the dissemination of computer programs is no longer limited to tangible media, and can also be downloaded directly from the Internet. Any combination of one or more computer-readable media may be used. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium may be, for example, but not limited to, an electric, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), Erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above. In this document, the computer-readable storage medium can be any tangible medium that contains or stores a program, and the program can be used by or in combination with an instruction execution system, apparatus, or device.
计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括——但不限于——电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。The computer-readable signal medium may include a data signal propagated in baseband or as a part of a carrier wave, and computer-readable program code is carried therein. This propagated data signal can take many forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the foregoing. The computer-readable signal medium may also be any computer-readable medium other than the computer-readable storage medium. The computer-readable medium may send, propagate, or transmit the program for use by or in combination with the instruction execution system, apparatus, or device .
计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括——但不限于——无线、电线、光缆、RF等等,或者上述的任意合适的组合。The program code contained on the computer-readable medium can be transmitted by any suitable medium, including, but not limited to, wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
可以以一种或多种程序设计语言或其组合来编写用于执行本发明操作的 计算机程序代码,所述程序设计语言包括面向对象的程序设计语言-诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言-诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。The computer program code used to perform the operations of the present invention can be written in one or more programming languages or a combination thereof. The programming languages include object-oriented programming languages-such as Java, Smalltalk, C++, and also conventional Procedural programming language-such as "C" language or similar programming language. The program code can be executed entirely on the user's computer, partly on the user's computer, executed as an independent software package, partly on the user's computer and partly executed on a remote computer, or entirely executed on the remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any kind of network-including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (for example, using an Internet service provider to connect to the user's computer) connection).
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the application, not to limit them; although the application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: The technical solutions recorded in the foregoing embodiments are modified, or some of the technical features are equivalently replaced; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (14)

  1. 一种通过即时通讯软件分享无线接入点的方法,应用于第一用户设备,包括:A method for sharing wireless access points through instant messaging software, applied to a first user equipment, includes:
    接收第一用户在第二用户的即时通讯会话消息界面上触发的无线接入点分享指令;Receiving a wireless access point sharing instruction triggered by the first user on the instant messaging session message interface of the second user;
    获取至少一个无线接入点,确定所分享的目标无线接入点;Obtain at least one wireless access point, and determine the target wireless access point to be shared;
    生成目标无线接入点分享信息,向第二用户的即时通讯会话消息界面发送目标无线接入点分享信息的会话消息,以便第二用户所在的第二用户设备根据所述无线接入点分享信息与所述第一用户所分享的目标无线接入点建立无线连接。Generate target wireless access point sharing information, and send the target wireless access point sharing information session message to the instant messaging session message interface of the second user, so that the second user equipment where the second user is located can share information according to the wireless access point Establishing a wireless connection with the target wireless access point shared by the first user.
  2. 根据权利要求1所述的方法,其特征在于,所述获取至少一个无线接入点,确定所分享的目标无线接入点包括:The method according to claim 1, wherein the obtaining at least one wireless access point and determining the target wireless access point to be shared comprises:
    获取至少一个无线接入点,所述无线接入点中包括至少一个有接入信息的无线接入点;Acquiring at least one wireless access point, where the wireless access point includes at least one wireless access point with access information;
    将有接入信息的无线接入点确定为目标无线接入点,其中目标无线接入点包括第一用户设备当前连接的无线接入点。The wireless access point with the access information is determined as the target wireless access point, where the target wireless access point includes the wireless access point to which the first user equipment is currently connected.
  3. 根据权利要求1所述的方法,其特征在于,所述生成目标无线接入点分享信息包括:The method according to claim 1, wherein the generating target wireless access point sharing information comprises:
    根据所述目标无线接入点的标识信息及接入信息,生成目标无线接入点分享信息。According to the identification information and access information of the target wireless access point, the target wireless access point sharing information is generated.
  4. 根据权利要求3所述的方法,其特征在于,所述方法还包括:The method according to claim 3, wherein the method further comprises:
    对所述目标无线接入点分享信息进行加密封装,生成目标无线接入点分享信息的会话消息。Encrypt and encapsulate the shared information of the target wireless access point to generate a session message of the shared information of the target wireless access point.
  5. 根据权利要求3所述的方法,其特征在于,所述第二用户所在的第二用户设备根据所述无线接入点分享信息与所述第一用户所分享的目标无线接入点建立无线连接包括:The method according to claim 3, wherein the second user equipment where the second user is located establishes a wireless connection with the target wireless access point shared by the first user according to the wireless access point sharing information include:
    基于所述目标无线接入点的标识信息及接入信息,自动向所述第一用户所分享的目标无线接入点建立无线连接。Based on the identification information and access information of the target wireless access point, a wireless connection is automatically established to the target wireless access point shared by the first user.
  6. 根据权利要求1所述的方法,其特征在于,The method according to claim 1, wherein:
    根据所述目标无线接入点的标识信息,生成目标无线接入点分享信息;将所述目标无线接入点的接入信息存储于接入服务器中。According to the identification information of the target wireless access point, generating target wireless access point sharing information; storing the access information of the target wireless access point in an access server.
  7. 根据权利要求6所述的方法,其特征在于,所述第二用户所在的第二用户设备根据所述无线接入点分享信息与所述第一用户所分享的目标无线接入点建立无线连接包括:The method according to claim 6, wherein the second user equipment where the second user is located establishes a wireless connection with the target wireless access point shared by the first user according to the wireless access point shared information include:
    向接入服务器发送目标无线接入点的接入请求,其中,所述接入请求包括所述目标无线接入点的标识信息;Sending an access request of a target wireless access point to an access server, where the access request includes identification information of the target wireless access point;
    基于从接入服务器所获取的目标无线接入点的接入信息,自动向所述第一用户所分享的目标无线接入点建立无线连接。Based on the access information of the target wireless access point obtained from the access server, a wireless connection is automatically established to the target wireless access point shared by the first user.
  8. 一种通过即时通讯软件分享无线接入点的方法,其特征在于,应用于第二用户设备,包括:A method for sharing wireless access points through instant messaging software, which is characterized in that it is applied to a second user equipment and includes:
    接收第一用户设备发送的第一用户所分享的目标无线接入点分享信息的会话消息;Receiving a session message of the target wireless access point shared information shared by the first user and sent by the first user equipment;
    根据所述目标无线接入点分享信息与第一用户所分享的目标无线接入点建立无线连接。Establish a wireless connection with the target wireless access point shared by the first user according to the shared information of the target wireless access point.
  9. 根据权利要求8所述的方法,其特征在于,The method according to claim 8, wherein:
    所述目标无线接入点分享信息根据所述目标无线接入点的标识信息及接入信息生成;The target wireless access point sharing information is generated according to the identification information and access information of the target wireless access point;
    根据所述目标无线接入点分享信息与第一用户所分享的目标无线接入点建立无线连接包括,Establishing a wireless connection with the target wireless access point shared by the first user according to the target wireless access point shared information includes:
    基于所述目标无线接入点的标识信息及接入信息,自动向所述第一用户所分享的目标无线接入点建立无线连接。Based on the identification information and access information of the target wireless access point, a wireless connection is automatically established to the target wireless access point shared by the first user.
  10. 根据权利要求8所述的方法,其特征在于,The method according to claim 8, wherein:
    所述目标无线接入点分享信息根据所述目标无线接入点的标识信息生成;The target wireless access point sharing information is generated according to the identification information of the target wireless access point;
    根据所述目标无线接入点分享信息与第一用户所分享的目标无线接入点建立无线连接包括,Establishing a wireless connection with the target wireless access point shared by the first user according to the target wireless access point shared information includes:
    向接入服务器发送目标无线接入点的接入请求,其中,所述接入请求包括所述目标无线接入点的标识信息;Sending an access request of a target wireless access point to an access server, where the access request includes identification information of the target wireless access point;
    基于从接入服务器所获取的目标无线接入点的接入信息,自动向所述第一用 户所分享的目标无线接入点建立无线连接。Based on the access information of the target wireless access point obtained from the access server, a wireless connection is automatically established to the target wireless access point shared by the first user.
  11. 根据权利要求8所述的方法,其特征在于,所述方法还包括:向第一用户设备发送是否连接到所述第一用户所分享的无线接入点的反馈消息。The method according to claim 8, wherein the method further comprises: sending a feedback message to the first user equipment whether it is connected to the wireless access point shared by the first user.
  12. 根据权利要求11所述的方法,其特征在于,所述反馈消息包括未能与所述第一用户所分享的无线接入点建立无线连接的原因。The method according to claim 11, wherein the feedback message includes a reason for failing to establish a wireless connection with the wireless access point shared by the first user.
  13. 一种设备,其特征在于,所述设备包括:A device, characterized in that the device includes:
    一个或多个处理器;One or more processors;
    存储装置,用于存储一个或多个程序,Storage device for storing one or more programs,
    当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-12中任一所述的方法。When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1-12.
  14. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现如权利要求1-12中任一所述的方法。A computer-readable storage medium having a computer program stored thereon, wherein the program is executed by a processor to implement the method according to any one of claims 1-12.
PCT/CN2020/086033 2019-04-24 2020-04-22 Method of sharing wireless access point by means of instant messaging software WO2020216231A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910334578.3A CN110113250B (en) 2019-04-24 2019-04-24 Method for sharing wireless access point through instant messaging software
CN201910334578.3 2019-04-24

Publications (1)

Publication Number Publication Date
WO2020216231A1 true WO2020216231A1 (en) 2020-10-29

Family

ID=67486525

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/086033 WO2020216231A1 (en) 2019-04-24 2020-04-22 Method of sharing wireless access point by means of instant messaging software

Country Status (2)

Country Link
CN (1) CN110113250B (en)
WO (1) WO2020216231A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022233210A1 (en) * 2021-05-06 2022-11-10 Oppo广东移动通信有限公司 Network connection method and device, and storage medium

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110113250B (en) * 2019-04-24 2022-04-22 上海尚往网络科技有限公司 Method for sharing wireless access point through instant messaging software
CN111356090B (en) * 2020-03-12 2021-11-19 深圳市信锐网科技术有限公司 Networking method of network, device thereof, terminal and computer readable storage medium
CN111682951A (en) * 2020-04-17 2020-09-18 深圳传音控股股份有限公司 Cluster activity session sharing device and method and computer readable storage medium
CN114828003B (en) * 2021-04-01 2024-02-13 云南飞信科技有限公司 Wireless network access system based on big data

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103415013A (en) * 2013-08-26 2013-11-27 南京市海聚信息科技有限公司 Method and system for enabling WiFi terminal to have rapid access to WiFi AP
CN105828454A (en) * 2015-07-28 2016-08-03 维沃移动通信有限公司 Method for connecting network, device and WiFi routing equipment
CN105898841A (en) * 2016-06-30 2016-08-24 北京奇虎科技有限公司 Smart terminal and method for sharing WLAN (Wireless Local Area Network) resources by terminal
KR20190012736A (en) * 2017-07-28 2019-02-11 전자부품연구원 Internet of Things and a control setting method of the Internet of Things
CN110113250A (en) * 2019-04-24 2019-08-09 上海连尚网络科技有限公司 A method of wireless access point is shared by instant message applications

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7660904B2 (en) * 2004-05-11 2010-02-09 Microsoft Corporation Providing keys to share data within an instant messaging session
CN106302106A (en) * 2016-07-22 2017-01-04 深圳市三体科技有限公司 A kind of exectorial system and method for message trigger APP
CN108024308B (en) * 2016-11-03 2022-02-25 上海掌门科技有限公司 Method and equipment for sharing and connecting wireless access points
US20180234381A1 (en) * 2017-02-14 2018-08-16 Facepay, Inc. Network-based calendaring
CN109286931B (en) * 2017-07-20 2021-08-10 腾讯科技(深圳)有限公司 Wireless local area network access method and device
CN108093461B (en) * 2017-12-14 2020-07-28 上海连尚网络科技有限公司 Method for connecting wireless access point
CN108616883B (en) * 2018-04-10 2022-01-28 上海尚往网络科技有限公司 Wireless access point connection method and device thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103415013A (en) * 2013-08-26 2013-11-27 南京市海聚信息科技有限公司 Method and system for enabling WiFi terminal to have rapid access to WiFi AP
CN105828454A (en) * 2015-07-28 2016-08-03 维沃移动通信有限公司 Method for connecting network, device and WiFi routing equipment
CN105898841A (en) * 2016-06-30 2016-08-24 北京奇虎科技有限公司 Smart terminal and method for sharing WLAN (Wireless Local Area Network) resources by terminal
KR20190012736A (en) * 2017-07-28 2019-02-11 전자부품연구원 Internet of Things and a control setting method of the Internet of Things
CN110113250A (en) * 2019-04-24 2019-08-09 上海连尚网络科技有限公司 A method of wireless access point is shared by instant message applications

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022233210A1 (en) * 2021-05-06 2022-11-10 Oppo广东移动通信有限公司 Network connection method and device, and storage medium

Also Published As

Publication number Publication date
CN110113250A (en) 2019-08-09
CN110113250B (en) 2022-04-22

Similar Documents

Publication Publication Date Title
WO2020216231A1 (en) Method of sharing wireless access point by means of instant messaging software
US20220303276A1 (en) Network connection method, hotspot terminal and management terminal
US10366214B2 (en) Method and device for establishing wireless connection
US10070377B2 (en) Method, system and apparatus for automatically connecting to WLAN
CN111459433B (en) Screen transmission method, device and storage medium
WO2019114831A1 (en) Method for connecting to wireless access point
WO2023280194A1 (en) Network connection management method and apparatus, readable medium, program product, and electronic device
WO2019134595A1 (en) Configuration system, client device, embedded device configuration method, and storage medium
CN111221484B (en) Screen projection method and device
WO2019072214A1 (en) Method and device for sharing wifi hotspot and storage medium
CN109309967B (en) Method, device and computer readable storage medium for transmitting file
WO2019056897A1 (en) Method for obtaining and providing hotspot story information of wireless access point
CN112752245A (en) Network distribution method and device, electronic equipment and storage medium
CN107770835B (en) Method, equipment and computer storage medium for connecting wireless access point
CN111479263A (en) Communication connection method, terminal and computer storage medium
CN110113802A (en) A kind of method of the configuration information of shared wireless access point
CN113038192A (en) Video processing method and device, electronic equipment and storage medium
WO2019179476A1 (en) Wireless access point related information providing and acquisition method
CN109104774B (en) Data transmission method and system
US20190037612A1 (en) Connecting method to an information capture device
CN109587720B (en) Method for prompting wireless access point information at wireless equipment end
US9324054B2 (en) Cross-platform document exchange using mobile devices
CN112398718A (en) Network transmission method and device, electronic equipment and storage medium
CN114979235B (en) Cloud desktop data sharing-based method and server
WO2023184890A1 (en) Short message transmission method supporting service-based interface, and network element, device and medium

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: 20795824

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: 20795824

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 24/01/2022)

122 Ep: pct application non-entry in european phase

Ref document number: 20795824

Country of ref document: EP

Kind code of ref document: A1