Hotspot sharing method, terminal, server and storage medium

By obtaining and pushing hotspot information, effective management of hotspot resources in the wireless Internet is achieved, and the problem of difficulty for end users to connect to available hotspots is solved, and the convenience of hotspot sharing is improved.

CN112911679BActive Publication Date: 2025-03-04ZTE CORP
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN201911230037.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-12-04
Publication Date
2025-03-04
Estimated Expiration
2039-12-04

AI Technical Summary

Technical Problem

In wireless Internet, end users often encounter the problem of unavailability of data services, especially in the case of insufficient signal coverage of high-frequency bands, hot spot resource management is inconvenient, making it difficult for users to connect to available WiFi hot spots.

Method used

By obtaining the terminal's hot spot information, including hot spot identification information, location information and RCS user identification code, and sending this information to the server, the server generates and pushes the hot spot information to the target terminal, effectively managing and sharing the hot spots.

Benefits of technology

This method realizes effective management of hotspot resources, improves the convenience of hotspot sharing, helps users to find and connect available WiFi hotspots more easily, and solves the problem of unavailability of data services.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112911679B_ABST
    Figure CN112911679B_ABST
Patent Text Reader

Abstract

The present application relates to a hotspot sharing method, terminal, server and storage medium. An embodiment of the present application includes: obtaining the hotspot information of the first terminal; sending the hotspot information to the server. The server receives and records the hotspot information from the first terminal. The second terminal receives the hotspot push information from the server. According to the solution provided in the embodiment of the present application, it is possible to effectively manage hotspot resources, thereby improving the convenience of hotspot sharing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to but are not limited to the field of communication technology, and in particular to a hotspot sharing method, a terminal, a server, and a storage medium. Background Art

[0002] In wireless Internet (such as 3G / 4G / 5G networks), wireless data services may be unavailable at certain times and places due to various reasons, such as noise interference in wireless signals, multipath attenuation, base stations exceeding the maximum service capacity, and users’ arrears. This is especially true for wireless Internet using high-frequency bands, because the physical defects of high-frequency band signals are poor wall penetration and faster multipath attenuation. If the signal coverage is not comprehensive in the early stages of network construction, end users may more frequently encounter data service unavailability.

[0003] Currently, end users can access the Internet by connecting to nearby WiFi hotspots. However, due to the lack of effective management of hotspot resources, it is not convenient for end users to connect to a nearby WiFi hotspot. Common problems include: (1) not being able to search for hotspots; (2) not knowing the password of the searched hotspots; (3) being unable to access the Internet after connecting to public hotspots; (4) requiring other end users to temporarily open the shared hotspot and enter the password of the shared hotspot. Summary of the invention

[0004] The embodiments of the present application provide a hotspot sharing method, terminal, server and storage medium, which can facilitate hotspot management and thus facilitate hotspot sharing.

[0005] In a first aspect, an embodiment of the present application provides a hotspot sharing method for a first terminal, wherein the first terminal is communicatively connected to a server, and the method comprises: obtaining hotspot information of the first terminal, wherein the hotspot information comprises hotspot identification information, hotspot location information and an RCS user identification code; and sending the hotspot information to the server, so that the server generates hotspot push information based on the hotspot information and sends it to a second terminal.

[0006] In the second aspect, an embodiment of the present application provides a hotspot sharing method, which is used for a server end that is respectively connected to a first terminal and a second terminal for communication, and the method includes: receiving and recording hotspot information from the first terminal, the hotspot information including hotspot identification information, hotspot location information and an RCS user identification code; generating hotspot push information based on the hotspot information, and sending the hotspot push information to the second terminal.

[0007] In the third aspect, an embodiment of the present application provides a hotspot sharing method for a second terminal having an RCS application client, wherein the second terminal is communicatively connected to a server, the method comprising: using the RCS application client to send hotspot request information to the server, the hotspot request information comprising the location information of the second terminal; using the RCS application client to receive hotspot push information from the server, and connecting to the hotspot corresponding to the first terminal according to the hotspot push information; the hotspot push information is generated by the server according to the hotspot request information.

[0008] In a fourth aspect, an embodiment of the present application provides a terminal, comprising: a first memory, a first processor, and a computer program stored in the first memory and executable on the first processor, wherein when the first processor executes the program, it implements: the hotspot sharing method as described in the first aspect; or the hotspot sharing method as described in the third aspect.

[0009] In the fifth aspect, an embodiment of the present application provides a server, comprising: a second memory, a second processor, and a computer program stored in the second memory and executable on the second processor, wherein when the second processor executes the program, it implements: the hotspot sharing method as described in the second aspect.

[0010] In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to: execute the hotspot sharing method described in the first aspect; or, execute the hotspot sharing method described in the second aspect; or, execute the hotspot sharing method described in the third aspect.

[0011] The embodiment of the present application includes: obtaining the hotspot information of the first terminal; sending the hotspot information to the server. The server receives and records the hotspot information from the first terminal. The second terminal receives the hotspot push information from the server. According to the solution provided in the embodiment of the present application, it is possible to effectively manage hotspot resources, thereby improving the convenience of hotspot sharing.

[0012] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or understood by practicing the present application. The purpose and other advantages of the present application can be realized and obtained by the structures specifically pointed out in the description, claims and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] The accompanying drawings are used to provide further understanding of the technical solution of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the technical solution of the present application and do not constitute a limitation on the technical solution of the present application.

[0014] Figure 1This is a flowchart of a hotspot sharing method provided by an embodiment of the present application;

[0015] Figure 2 It is a schematic diagram of a visualized operation interface in a hotspot sharing method provided in an embodiment of the present application;

[0016] Figure 3 is a flowchart of a hotspot sharing method provided by another embodiment of the present application;

[0017] Figure 4 is a flowchart of a hotspot sharing method provided by another embodiment of the present application;

[0018] Figure 5 is a flowchart of a hotspot sharing method provided by another embodiment of the present application;

[0019] Figure 6 is a flowchart of a hotspot sharing method provided by another embodiment of the present application;

[0020] Figure 7 is a flowchart of a hotspot sharing method provided by another embodiment of the present application;

[0021] Figure 8 is a schematic diagram of a visualized operation interface in a hotspot sharing method provided in another embodiment of the present application;

[0022] Fig. 9 is a flowchart of a hotspot sharing method provided by another embodiment of the present application;

[0023] Fig.10 It is a flowchart of a hotspot sharing method provided in another embodiment of the present application. DETAILED DESCRIPTION

[0024] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. In the absence of conflict, the embodiments in the present application and the features in the embodiments can be combined arbitrarily with each other.

[0025] It should be noted that, although the functional modules are divided in the device schematic diagram and the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flowchart. The terms "first", "second", etc. in the specification, claims and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0026] The embodiments of the present application provide a hotspot sharing method, terminal, server and storage medium based on RCS (Rich Communication Suite) technology, which can facilitate hotspot management and thus facilitate hotspot sharing.

[0027] It should be noted that in the following multiple embodiments, the first terminal or the second terminal may be a mobile terminal device or a non-mobile terminal device. The mobile terminal device may be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted terminal device, a wearable device, a super mobile personal computer, a netbook, a personal digital assistant, etc.; the non-mobile terminal device may be a personal computer, a television, a teller machine or a self-service machine, etc.; the implementation scheme of this application does not specifically limit it.

[0028] The first terminal or the second terminal may include a processor, a memory, a mobile communication module, a WiFi communication module, etc. In some embodiments, the first terminal or the second terminal is installed with an RCS application client. The RCS application client may be an application, program, command or script that provides RCS services.

[0029] The server, RCS server, and hotspot control server can all be independent physical entities or logical entities. The implementation scheme of this application is not specifically limited. The server can be used to provide RCS services.

[0030] The first terminal and the server can be connected through a mobile communication network (such as 3G / 4G / 5G, etc.), or through other wireless or wired network communication connections; the second terminal and the server can be connected through a mobile communication network (such as 3G / 4G / 5G, etc.), or through other wireless or wired network communication connections.

[0031] On the one hand, the embodiment of the present application provides a hotspot sharing method for a first terminal, wherein the first terminal is connected to a server for communication, referring to Figure 1 , the method comprises the steps of:

[0032] S1100, obtaining hotspot information of the first terminal, where the hotspot information includes hotspot identification information, hotspot location information, and an RCS user identification code;

[0033] S1200: Send the hotspot information to a server, so that the server generates hotspot push information according to the hotspot information and sends it to a second terminal.

[0034] In some embodiments, the first terminal, as a hotspot sharing terminal, can use the RCS application client to send the hotspot information to the server to register the initial status data of the hotspot; or after the hotspot information changes, use the RCS application client to send the updated hotspot information to the server. The server can record or update the hotspot information corresponding to the first terminal, thereby facilitating hotspot management. The server can save and manage the received hotspot information, establish a queryable database, and conveniently push the hotspot information to the second terminal that has a hotspot connection requirement, thereby conveniently realizing the hotspot connection between the second terminal and the first terminal.

[0035] In some embodiments, the hotspot information may be acquired by a control module of the first terminal and then transmitted to the RCS application client; the hotspot information may also be acquired directly by the RCS application client.

[0036] In some embodiments, the first terminal can obtain hotspot location information through a positioning module (such as a GPS positioning module, a Beidou positioning module); it can also query the GPS-assisted positioning server for the location information of the current wireless network cell through wireless cell information, and then obtain the hotspot location information of the first terminal.

[0037] In some embodiments, the hotspot identification information may be a SSID (Service Set Identifier); the RCS user identification code may be an IMPI (Private User ID) or an IMPU (IMS Public User Identity).

[0038] In some embodiments, the hotspot information also includes one or more of the following information: the switch status of the hotspot, the hotspot key, the network rate, the traffic price, the network type information, whether the hotspot is allowed to be opened in the background, etc.

[0039] In some embodiments, reference Figure 2 , the RCS application client can provide a visual operation interface for the user to set the network speed, traffic price and other hotspot information for the first terminal user. The first terminal reports the network speed and traffic price of its hotspot to the server through the RCS application client, so that the second terminal can quickly obtain the available paid shared hotspots in the surrounding area through the server, select the hotspot with the network speed and traffic price suitable for itself, and complete the access to the hotspot.

[0040] In some embodiments, when one or more information in the hotspot information changes, steps S1100 and S1200 are triggered to allow the server to update the hotspot information corresponding to the first terminal. For example, when the hotspot location information or the network rate or the traffic price changes, steps S1100 and S1200 are triggered.

[0041] In some examples, to prevent frequent updates, the condition for location information to change is that the element is considered to have changed only when the moved position (current location information) is more than D1 meters away from the origin (the last location information uploaded to the RCS server). D1 is a preset constant value and is smaller than the coverage radius of the WiFi signal.

[0042] In some examples, the network rate is the current network allocation rate of the first terminal, and the definition condition for the change in the network rate is: when the network allocation rate decreases by more than x%, the network rate is deemed to have changed, and x% is a preset constant value.

[0043] The network allocation rate can be calculated by the following method:

[0044] S1110, read network resource allocation information, where the network resource allocation information includes the number of physical resource blocks (PRBs) in each subframe and the modulation and coding scheme (MCS) adopted by the network for the subframe.

[0045] S1120, calculating the transfer resource block size per millisecond according to the physical resource block PRB of each subframe and the modulation and coding level MCS adopted by the network for the subframe.

[0046] In some embodiments, for example, in some LTE (Long Term Evolution) frame structures, a frame includes 10 subframes, a subframe includes two time slots, a time slot is 0.5ms, a subframe includes a number of physical resource blocks PRB, a physical resource block PRB has 12 subcarriers, a subcarrier has 7 OFDM (Orthogonal Frequency Division Multiplexing) symbols, and the number of bits carried by an OFDM symbol is affected by the modulation and coding level MCS. Therefore, the transfer resource block size (TransferBlock Size) per millisecond can be calculated based on the physical resource block PRB of each subframe and the modulation and coding level MCS (Modulation and Coding Scheme) adopted by the network for the subframe, in bytes.

[0047] S1120: Calculate a network allocation rate of the first terminal according to the size of a transmission resource block per millisecond.

[0048] In some embodiments, the network allocation rate Phy layerThroughput can be calculated according to the following relationship:

[0049] Phy layer Throughput=(Transfer Block Size*8bit / byte*1000ms / sec)bits / sec;

[0050] S1140, multiplying the maximum network transmission rate by a preset shareable bandwidth percentage to obtain a shareable network rate. The shareable bandwidth percentage may be a fixed value set by a user through an interactive interface of an RCS application client, for example, referring to Figure 2 , the maximum network transmission rate Throughput is 100Mbps, and the shareable bandwidth percentage is set to 30%, then the shareable network rate is Throughput*30%=30Mbps.

[0051] In some embodiments, the traffic price may be a price set by the user through the interactive interface of the RCS application client, for example, referring to Figure 2 The traffic price is set at 0.01CNY / M (0.01 yuan per megabyte of traffic). Users can adjust the traffic price to encourage other second terminal users to use the hotspot.

[0052] In some embodiments, the network type information can be used to identify the network type to which the first terminal is connected, such as 3G / 4G / 5G / WiFi, etc.

[0053] In some embodiments, the hotspot information identifies the control authority of the WiFi hotspot of the first terminal by whether the hotspot is allowed to be opened in the background. When the hotspot is allowed to be opened in the background, the server can remotely open the WiFi hotspot of the first terminal through the RCS application client of the first terminal to further improve the convenience of hotspot sharing. The use of this solution can realize automatic sharing of traffic, and users who agree to this contract (allowing hotspots to be opened in the background) can form an alliance, making WiFi hotspots a beneficial supplement to mobile wireless data: each hotspot is both a mobile terminal and a mobile small base station, which can provide traffic for other mobile terminals and balance the traffic bandwidth of each terminal, which is conducive to each terminal obtaining stable traffic anytime and anywhere. When the hotspot is not allowed to be opened in the background, the server cannot remotely open the WiFi hotspot of the first terminal, which can avoid the problem of power consumption and performance degradation of the first terminal due to the control behavior of opening the hotspot in the background.

[0054] Exemplarily, in step S1100, the first terminal may utilize the control module to collect location information, network rate, traffic price, hotspot identification information and other hotspot information and transmit it to the RCS application client.

[0055] Exemplarily, in step S1200, the RCS application client may generate a SIP EventNotification (SIP: Session Initiation Protocol, Session Initiation Protocol; SIP EventNotification: SIP event notification) message based on the hotspot information, that is, add a hotspot capability description information block in the SIP Event Notification message, and fill in the hotspot information of the first terminal. The RCS client sends a SIP Event Notification message to the RCS server that has subscribed to the hotspot capability of the first terminal. When the first terminal registers for the RCS service, the server will send a SIP Subscribe message to the RCS client of the terminal to subscribe to the hotspot capability notification of the first terminal. When the hotspot information of the first terminal changes, steps S1100 and S1200 are triggered; alternatively, steps S1100 and S1200 may be periodically triggered according to a preset duration.

[0056] In some embodiments, reference Figure 3 , the hotspot sharing method also includes the steps of:

[0057] S1300, performing hotspot usage fee settlement based on the RCS service.

[0058] In some embodiments, step S1300 includes sub-steps:

[0059] S1310, using the RCS application client to receive an RCS payment message from the server;

[0060] S1320, using the RCS application client to confirm the consumption payment status, and send an RCS message with payment completion confirmation information to the server.

[0061] Step S1310, in some embodiments, when the hotspot connection between the first terminal and the second terminal ends, the server executes the following step S2330 to transfer money or pay the hotspot usage fee to the RCS application client of the first terminal through an RCS message or a red envelope.

[0062] S1320, in some embodiments, the first terminal uses the RCS application client to confirm the consumption payment status, and sends an RCS message with payment completion confirmation information to the server to complete the hotspot usage fee settlement.

[0063] In some embodiments, the first terminal reports and registers its own hotspot location, speed, and price through RCS technology, and updates them in real time, so that the server can generate hotspot push information based on the hotspot information and send it to the second terminal. According to the solution provided in the embodiment of the present application, it is possible to conveniently implement effective management of hotspot resources, thereby facilitating the convenience of hotspot sharing.

[0064] On the other hand, an embodiment of the present application provides a hotspot sharing method, which is used for a server end that is respectively connected to a first terminal and a second terminal for communication.

[0065] In some embodiments, reference Figure 4 , the server 200 includes an RCS server 202 and a hotspot control server 201. The RCS server 202 is a server system that provides RCS-related services in the RCS core network. The RCS server 202 is respectively connected to at least one first terminal 110 (only one is shown in the figure) and at least one second terminal 120 (only one is shown in the figure). The hotspot control server 201 is a server system in the RCS core network, with a built-in database for recording, managing and maintaining the hotspot information of the first terminal 110. The hotspot control server 201 is connected to the RCS server 202. In some examples, the first terminal 110 has an RCS application client 112 and a control module 111, the control module 111 is connected to the RCS application client 112, and the RCS application client 112 is connected to the RCS server 202. The second terminal 220 has an RCS application client 122 and a control module 121, the control module 121 is connected to the RCS application client 122, and the RCS application client 122 is connected to the RCS server 202.

[0066] In some embodiments, reference Figure 5 , a hotspot sharing method includes:

[0067] S2100, receiving and recording hotspot information from a first terminal; the hotspot information includes hotspot identification information, hotspot location information, and an RCS user identification code;

[0068] S2200: Generate hotspot push information according to the hotspot information, and send the hotspot push information to the second terminal.

[0069] Step S2100, receiving and recording hotspot information from the first terminal.

[0070] In some embodiments, the hotspot information also includes one or more of the following information: the hotspot switch status, hotspot key, network rate, traffic price, network type information, and whether the hotspot is allowed to be opened in the background. For example, the hotspot information may include hotspot identification information, hotspot location information, RCS user identification code, hotspot switch status, hotspot key, network rate, traffic price, network type information, and whether the hotspot is allowed to be opened in the background.

[0071] In some embodiments, the server receives the hotspot information sent in the above step S1200 through the RCS server, and then forwards it to the hotspot control server. The RCS server receives the SIP Event Notification message sent from the first terminal, extracts the hotspot information and forwards it to the hotspot control server. When the first terminal registers the RCS service with the server, the server will send a SIP Subscribe message to the RCS client of the terminal to subscribe to the hotspot information notification of the first terminal. The function of subscribing to messages using RCS technology is used to collect and update the hotspot information of each first terminal.

[0072] After receiving the hotspot information, the hotspot control server extracts the RCS user identification code (such as IMPU or IMPI) of the sender (i.e., the first terminal) as one of the elements of the database, saves the hotspot data of the user (i.e., the first terminal) to the database, and establishes element indexes such as location information, network speed, traffic price, and network type for easy query. In subsequent steps, the hotspot-using terminal (i.e., the second terminal) can query the IMPI of each hotspot-sharing terminal (i.e., the first terminal), establish an RCS session with the hotspot-sharing terminal through the server, implement the fee settlement function, add RCS friends, etc. In some examples, the first terminal can also reversely query the hotspot information of RCS friends (other first terminals) through the RCS user identification code, and automatically connect to the shared hotspot of the RCS friend.

[0073] In some embodiments, the server is also connected to the second terminal in communication, and the server is used to respond to the query request of the second terminal. The hotspot control server is also used to calculate the traffic usage fee, control the function usage rights of the second terminal user, and send control instructions to the RCS application client of the first terminal or the second terminal through RCS messages. For example, for the first terminal that allows the background to open the hotspot, the hotspot control server can send a control instruction to remotely control the first terminal to open the WiFi hotspot.

[0074] Step S2200: Generate hotspot push information according to the hotspot information, and send the hotspot push information to the second terminal.

[0075] In some embodiments, step S2200 includes sub-steps:

[0076] S2210, receiving hotspot request information from a second terminal, where the hotspot request information includes location information of the second terminal.

[0077] In some embodiments, the RCS server receives a SIP Invite message sent by the second terminal in step S3110.

[0078] S2220, querying the hotspot information of the first terminal that meets a first constraint condition according to the hotspot request information, wherein the first constraint condition includes a location condition that a distance between the first terminal and the second terminal satisfies a distance less than a preset distance threshold.

[0079] In some embodiments, step S2210 includes sub-steps:

[0080] S2211, querying and obtaining the hotspot use authority of the second terminal according to the hotspot request information;

[0081] S2212: Determine whether to send hotspot push information to the second terminal according to the hotspot usage permission.

[0082] In some embodiments, the hotspot control server may decide whether to respond to the SIP Invite message according to the hotspot usage rights of the second terminal: if the second terminal has the hotspot usage rights, it replies with SIP 200OK, agrees to establish the RCS session, and executes the following steps S2300 and S2400 to send hotspot push information to the second terminal; if the second terminal does not have the hotspot usage rights, it replies with a corresponding SIP rejection message. The hotspot usage rights can be set according to preset rules. For example, if the second terminal has not settled the last traffic sharing usage fee, it is determined that the second terminal does not have the hotspot usage rights.

[0083] S2220, querying the hotspot information of the first terminal that meets a first constraint condition according to the hotspot request information, wherein the first constraint condition includes a location condition that a distance between the first terminal and the second terminal satisfies a distance less than a preset distance threshold.

[0084] In some embodiments, the preset distance threshold D2 is a preset constant value, and D2 is less than or equal to the coverage radius of the WiFi signal.

[0085] In some other embodiments, the first constraint condition further includes a switch condition: the switch state of the hotspot of the first terminal is on, that is, the server preferentially pushes hotspot information of the hotspots whose switch state is on to the second terminal.

[0086] S2230, generating hotspot push information according to the hotspot information, and sending the hotspot push information to the second terminal, so that the second terminal can connect to the hotspot of the corresponding first terminal according to the hotspot push information.

[0087] In some embodiments, the hotspot information of multiple first terminals that meet the first constraint condition can be used to generate a second hotspot table, which is sent to the second terminal as hotspot push information. The hotspot push information includes the RCS user identification code, hotspot identification information, hotspot key, network rate, traffic price, network type information, etc. of the corresponding hotspot sharing terminal (first terminal). The server can send the second hotspot table as reply data to the hotspot using terminal, that is, send the second hotspot table as message content to the second terminal through MSRP (Message Session Relay Protocol).

[0088] In some embodiments, when the number of first terminals that meet the first constraint condition is less than a preset threshold, a hotspot opening instruction is sent to the first terminal that meets the location condition and whose hotspot switch state is off. If the hotspot control server finds that the number of hotspot sharing terminals in the second hotspot table is small, it can send a hotspot opening instruction to the first terminal that meets the location condition and is in a closed state, and then re-query to generate a new second hotspot table as hotspot push information and send it to the second terminal.

[0089] In some embodiments, reference Figure 6 , a hotspot sharing method also includes the steps of:

[0090] S2300, performs hotspot usage fee settlement based on RCS service.

[0091] In some embodiments, step S2300 includes sub-steps:

[0092] S2310: Receive a consumption record from the second terminal. Before payment is made, the hotspot control server marks the status of the consumption record as "unpaid".

[0093] S2320, receiving an RCS payment message from the second terminal;

[0094] S2330, transferring money or making a red envelope payment to the corresponding first terminal through an RCS message;

[0095] S2340, receiving an RCS message with payment completion confirmation information from the first terminal, and updating the corresponding consumption record status to paid, thereby completing the hotspot usage fee settlement.

[0096] In some embodiments, the server receives hotspot information reported by each first terminal through RCS technology, records and manages the hotspot information, and establishes a queryable database; the hotspot information is pushed to the second terminal through RCS technology, so that the second terminal can establish a hotspot connection with the first terminal according to the hotspot information. According to the solution provided in the embodiment of the present application, effective management of hotspot resources can be easily achieved, which is conducive to improving the convenience of hotspot sharing.

[0097] On the other hand, an embodiment of the present application provides a hotspot sharing method for a second terminal having an RCS application client, wherein the second terminal is communicatively connected to a server.

[0098] In some embodiments, the second terminal needs to register the RCS service with the server to facilitate the establishment of an RCS session with the server. The second terminal and the first terminal can be the same terminal. That is, the role of a terminal can be switched. When the terminal is used as a hotspot sharing terminal, it is the first terminal; when the terminal is used as a hotspot using terminal, it is the second terminal.

[0099] In some embodiments, reference Figure 7 , the hotspot sharing method includes:

[0100] S3100: Utilize the RCS application client to send hotspot request information to the server, where the hotspot request information includes the location information of the second terminal.

[0101] S3200, using the RCS application client to receive hotspot push information from the server, and connecting to the hotspot corresponding to the first terminal according to the hotspot push information; the hotspot push information is generated by the server according to the hotspot request information.

[0102] In some embodiments, the second terminal queries the server for information such as the hotspot key, network rate, traffic price, network type information, etc. of each WiFi hotspot through RCS technology, and automatically establishes a hotspot connection with the corresponding first terminal according to the hotspot information replied by the RCS application client. This facilitates effective management of hotspot resources, thereby facilitating the convenience of hotspot sharing.

[0103] In some embodiments, step S3100 includes sub-steps:

[0104] S3110, the control module of the second terminal transmits the location information and the query request for nearby available hot spots to the RCS application client of the terminal, and the RCS application client sends a SIP Invite message to the server to establish an RCS session channel with it. Since the server has subscribed to hot spot information notifications from the corresponding second terminal when the second terminal registers for the RCS service with the server, the RCS application client of the second terminal knows the RCS user identification code and address of the server and can establish an RCS session with it.

[0105] In some embodiments, the RCS application client of the second terminal can send the location information and the query request as a data information block to the server. Since the location information is small, the location information and the query request can be embedded in the SDP (Session Description Protocol) data block of the SIP Invite message, or can be transmitted separately using the MSRP (Message Session Relay Protocol) data transmission protocol.

[0106] In some embodiments, step S3200 includes sub-steps:

[0107] S3210: Search for nearby hot spots, and generate a first hot spot table based on the searched hot spot information.

[0108] In some embodiments, when the user of the second terminal wants to connect to a nearby hotspot, the control module can be used to turn on the WiFi communication module of the second terminal to search for hotspots. The hotspot identification information of the searched hotspots and the WiFi signal strength data of the corresponding hotspots are used to generate a first hotspot table. The hotspots in the first hotspot table may be the first terminal that has an RCS application client and is registered on the server, or other hotspots.

[0109] In some embodiments, the second terminal may obtain the current location information of the second terminal through the control module, and then execute step S3110.

[0110] S3220, using the RCS application client to receive hotspot push information from the server.

[0111] S3230: Extract hotspot information from the hotspot push information to form a second hotspot table.

[0112] In some embodiments, the hotspot push information may be the hotspot push information sent by the server to the second terminal by executing the above step S2200. The hotspot push information includes a second hotspot table, which includes the RCS user identification code, hotspot identification information, hotspot key, network rate, traffic price, network type information, etc. of the corresponding hotspot sharing terminal (first terminal).

[0113] S3240, selecting the same hot spots in the first hot spot table and the second hot spot table to form a third hot spot table;

[0114] In some embodiments, the hotspot using terminal receives the second hotspot table, compares it with the first hotspot table in step S3210, selects the WiFi hotspots that appear in both tables, and generates a third hotspot table.

[0115] S3250: Display the third hot spot table.

[0116] In some embodiments, reference Figure 8 , the RCS application client of the second terminal presents part of the content of the third hotspot table to the user through a visual operation interface. For example, the hotspot identification information (such as SSID), network speed, and traffic price corresponding to the hotspot in the third hotspot table can be displayed. Users can filter hotspots or perform priority sorting operations through a visual operation interface, such as speed from high to low, traffic price from low to high, signal strength from high to low, and priority for hotspots with a network type of 5G.

[0117] S3260, receiving a first user selection instruction, and connecting to the hotspot of the selected first terminal according to the first user selection instruction.

[0118] In some embodiments, the user can click and select a hotspot (first terminal) through a visual operation interface to connect. The control module of the second terminal sends the corresponding hotspot identification information and the corresponding hotspot secret key to the WiFi communication module for automatic connection.

[0119] In some embodiments, step S3200 includes sub-steps:

[0120] S3270, using the RCS application client to receive hotspot push information from the server;

[0121] S3280: Connect to the hotspot corresponding to the first terminal according to the hotspot push information and a preset priority selection strategy.

[0122] In some embodiments, the preset priority selection strategy includes one or more of the following strategies: signal strength priority strategy, network type priority strategy, network rate priority strategy, price priority strategy, and distance priority strategy.

[0123] In some embodiments, the hotspot terminal can record the latest policy selection of the second terminal user. For example, if the user selects the signal strength priority policy, the hotspot terminal can directly establish a hotspot connection with the first terminal with the largest signal strength in the third hotspot table; or the hotspot terminal can present the hotspots in the third list to the user in order of signal strength from high to low, so that the user can manually select a connection.

[0124] In other embodiments, the hotspot-using terminal can record the latest selection of the second terminal user, such as a specific network rate or traffic price, so as to automatically find the WiFi hotspot with the closest performance or price when switching WiFi hotspots in the future, and automatically or manually select the connection.

[0125] In some embodiments, reference Fig. 9 , the hotspot sharing method also includes the steps of:

[0126] S3300, monitor the current hotspot rate, and when the hotspot rate drops by more than a preset threshold, switch the connection to the hotspot of the first terminal that meets the second constraint condition.

[0127] In some embodiments, the control module of the hotspot terminal monitors the current hotspot rate, and the preset threshold value can be a percentage of the initial hotspot rate selected by the user. For example, the user sets the preset threshold value to 50%, then when the hotspot rate drops by more than half, switch the connection to the hotspot of the first terminal that meets the second constraint. In a specific example, the second constraint can be that the rate and price are closest to the initial hotspot rate and price of the previously connected hotspot. The control module can be used to automatically select a first terminal hotspot in the third hotspot table whose rate and price are closest to the initial hotspot rate and price of the previously connected hotspot to reconnect. By executing step S3300, the stability and reliability of the second terminal user's hotspot connection experience can be improved.

[0128] In some embodiments, reference Fig.10 , the hotspot sharing method also includes the steps of:

[0129] S3400: After the hotspot connection between the second terminal and the first terminal is completed, the hotspot usage fee is settled based on the RCS service.

[0130] In some embodiments, step S3400 includes sub-steps:

[0131] S3410, after each hotspot is used, the control module of the second terminal generates a usage time record of the hotspot as a consumption record, and synchronously updates the consumption record to the hotspot control server of the server. In some embodiments, the server receives the consumption record by executing the above step S2310, and before the consumption record is not paid, uses the hotspot control server to mark the status of the consumption record as "unpaid".

[0132] In some embodiments, when the user of the hotspot terminal turns off the use of WiFi, the control module of the hotspot terminal will summarize the records of connected hotspots to form a payment bill. The payment bill includes the RCS user identification code corresponding to each hotspot, and presents the hotspot name, usage time, and incurred fees to the user on the user interaction interface, and the user confirms the settlement.

[0133] S3420, after the user selects to confirm the settlement, the control module generates an RCS payment message according to the user identification code and price in the payment bill, and transfers or red envelopes to the hotspot sharing terminals one by one through the server. In some embodiments, the server receives the RCS payment message by executing the above step S2320, and pays the corresponding settlement fee to the corresponding first terminal through the RCS message.

[0134] S3430, after the hotspot sharing terminal receives the settlement fee, the hotspot sharing terminal sends an RCS message with payment completion confirmation information to the hotspot control server of the server. In some embodiments, the server receives the RCS message with payment completion confirmation information by executing the above step S2340, and uses the hotspot control server to update the consumption record status to paid, thereby completing the hotspot usage fee settlement. The hotspot control server can control the hotspot usage authority of the corresponding second terminal according to the bill settlement status.

[0135] In some embodiments, the second terminal connects to the server through RCS technology, requests and obtains the hotspot information of the corresponding first terminal, and thus establishes a hotspot connection with the first terminal. According to the solution provided in the embodiment of the present application, it is possible to conveniently implement effective management of hotspot resources, thereby facilitating the convenience of hotspot sharing.

[0136] In another aspect, an embodiment of the present application provides a hotspot sharing method for an RCS service system. The RCS service system includes the first terminal, the service end, and the second terminal as described above.

[0137] The hotspot sharing method comprises the steps of:

[0138] The first terminal executes the hotspot sharing method for the first terminal as described above; correspondingly, the server executes the hotspot sharing method for the server as described above; correspondingly, the second terminal executes the hotspot sharing method for the second terminal as described above.

[0139] For example, in some embodiments, the first terminal executes the above steps S1100, S1200 and S1300; the server executes the above steps S2100, S2200 and S2300; and the second terminal executes the above steps S3100, S3200, S3300 and S3400.

[0140] In some embodiments, when the quality of the wireless data connection decreases, the second terminal user obtains the available mobile terminal WiFi hotspot in the surrounding area, can automatically connect to the WiFi hotspot, and automatically settle the fee. The user can choose a specific network rate to obtain a relatively stable and reliable WiFi connection with a relatively stable rate and bandwidth; the first terminal user, as a user with redundant traffic, can share resources with other users for free or for a fee, thereby increasing revenue; the service end can provide users with a variety of services, and the service end provider can also increase service fees to realize revenue. According to the solution provided in the embodiment of the present application, it is possible to conveniently implement effective management of hotspot resources, thereby facilitating the convenience of hotspot sharing. At the same time, it is conducive to solving the problem of insufficient mobile network coverage.

[0141] On the other hand, an embodiment of the present application provides a terminal, including: a first memory, a first processor, and a computer program stored in the first memory and executable on the first processor.

[0142] When the first processor executes the program, the hotspot sharing method for the first terminal as described above is implemented. For example, when the first processor executes the program, the above steps S1100, S1200 and S1300 are implemented.

[0143] Alternatively, when the first processor executes the program, the hotspot sharing method for the second terminal as described above is implemented. For example, when the first processor executes the program, the above steps S3100, S3200, S3300 and S3400 are implemented.

[0144] The terminal may be a mobile terminal device or a non-mobile terminal device. The mobile terminal device may be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted terminal device, a wearable device, a super mobile personal computer, a netbook, a personal digital assistant, etc.; the non-mobile terminal device may be a personal computer, a television, a teller machine or a self-service machine, etc.; the implementation scheme of this application does not specifically limit it.

[0145] In some embodiments, the terminal further includes a mobile communication module, a WiFi communication module, etc. The terminal is installed with an RCS application client and a control module.

[0146] On the other hand, an embodiment of the present application provides a server, including: a second memory, a second processor, and a computer program stored in the second memory and executable on the second processor, wherein the second processor implements the hotspot sharing method of the server as described above when executing the program. For example, the second processor implements the above steps S2100, S2200, and S2300 when executing the program.

[0147] In some embodiments, the server is a server group that implements the server-side function, including an RCS server and a hotspot control server. Among them, the RCS server is a server system that provides RCS-related services in the RCS core network, and the RCS server is respectively connected to the first terminal and the second terminal. The hotspot control server is a server system in the RCS core network, with a built-in database for recording, managing and maintaining the hotspot information of the first terminal, and the hotspot control server is connected to the RCS server.

[0148] The server, RCS server, and hotspot control server can all be independent physical entities or logical entities. The implementation scheme of this application is not specifically limited.

[0149] In another aspect, an embodiment of the present application provides an RCS service system. The RCS service system includes the first terminal, the service end, and the second terminal as described above.

[0150] In some embodiments, the first terminal and the server can be connected via a mobile communication network (such as 3G / 4G / 5G, etc.), or via other wireless or wired network communications; the second terminal and the server can be connected via a mobile communication network (such as 3G / 4G / 5G, etc.), or via other wireless or wired network communications.

[0151] In some embodiments, the first terminal executes the hotspot sharing method for the first terminal as described above; correspondingly, the server executes the hotspot sharing method for the server as described above; correspondingly, the second terminal executes the hotspot sharing method for the second terminal as described above.

[0152] For example, in some embodiments, the first terminal executes the above steps S1100, S1200 and S1300; the server executes the above steps S2100, S2200 and S2300; and the second terminal executes the above steps S3100, S3200, S3300 and S3400.

[0153] On the other hand, an embodiment of the present application provides a computer-readable storage medium storing computer-executable instructions.

[0154] The computer executable instructions are used to execute the hotspot sharing method for the first terminal as described above. For example, the computer executable instructions are used in the above steps S1100, S1200 and S1300.

[0155] Alternatively, the computer executable instructions are used to execute the hotspot sharing method for the server as described above. For example, when the second processor executes the program, the above steps S2100, S2200 and S2300 are implemented.

[0156] Alternatively, the computer executable instructions are used to execute the hotspot sharing method for the second terminal as described above. For example, the computer executable instructions are used in the above steps S3100, S3200, S3300 and S3400.

[0157] The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0158] It will be appreciated by those skilled in the art that all or some of the steps and systems in the disclosed method above may be implemented as software, firmware, hardware and appropriate combinations thereof. Some physical components or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor or a microprocessor, or may be implemented as hardware, or may be implemented as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or a non-transitory medium) and a communication medium (or a temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, disk storage or other magnetic storage devices, or any other medium that may be used to store desired information and may be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

[0159] The above is a specific description of the preferred implementation of the present application, but the present application is not limited to the above-mentioned implementation mode. Technical personnel familiar with the field can also make various equivalent deformations or substitutions without violating the spirit of the present application. These equivalent deformations or substitutions are all included in the scope defined by the claims of the present application.

Claims

1. A hotspot sharing method, for a first terminal having an RCS application client, wherein the first terminal is in communication connection with a server, the method comprising: Obtaining hotspot information of the first terminal, wherein the hotspot information includes hotspot identification information, hotspot location information, hotspot switch status, whether to allow background hotspot opening and RCS user identification code, and one or more of the following information: hotspot key, network rate, traffic price, network type information; Using the RCS application client to send the hotspot information to a server, so that the server registers or updates the hotspot information of the corresponding first terminal based on the RCS user identification code, and generates hotspot push information according to the hotspot information and sends it to at least one second terminal; Among them, the server registers or updates the hotspot information of the corresponding first terminal based on the RCS user identification code, including: when the number of the first terminals contained in the hotspot push information is less than a preset threshold, the server will send a hotspot opening instruction to the first terminal that meets the location conditions, the switch state of the hotspot is off and the hotspot is allowed to be opened in the background.

2. The method according to claim 1, characterized in that Also includes: When the hotspot information includes one or more of the following: hotspot location information, network rate, and traffic price, and at least one of the hotspot location information, network rate, and traffic price changes, obtaining the hotspot information of the first terminal; The hotspot information is sent to the server.

3. The method according to claim 1 or 2, characterized in that: The hotspot information includes a network rate, which is calculated by the following method: Reading network resource allocation information, wherein the network resource allocation information includes the number of physical resource blocks (PRBs) allocated to each subframe and the modulation and coding level (MCS) adopted by the network for the subframe; The size of the transmission resource block per millisecond is calculated based on the physical resource block PRB of each subframe and the modulation and coding level MCS adopted by the network for the subframe; Calculate the network allocation rate of the first terminal according to the size of the resource block transmitted per millisecond; The network allocation rate is multiplied by the preset shareable bandwidth percentage to obtain the shareable network rate.

4. A hotspot sharing method, for a server connected to a first terminal and a second terminal for communication, the method comprising: Receive and record hotspot information from the first terminal, wherein the hotspot information includes hotspot identification information, hotspot location information, hotspot switch status, whether to allow background hotspot opening and RCS user identification code, and one or more of the following information: hotspot key, network rate, traffic price, network type information; Register or update the hotspot information of the corresponding first terminal based on the RCS user identification code; Generate hotspot push information according to the hotspot information, and send the hotspot push information to the second terminal; Among them, the hotspot information of the corresponding first terminal is registered or updated based on the RCS user identification code, including: when the number of the first terminals contained in the hotspot push information is less than a preset threshold, a hotspot opening instruction will be sent to the first terminal that meets the location conditions, the switch state of the hotspot is off and the hotspot is allowed to be opened in the background.

5. The method according to claim 4, characterized in that The generating hotspot push information according to the hotspot information, and sending the hotspot push information to the second terminal includes: Receiving hotspot request information from a second terminal, wherein the hotspot request information includes location information of the second terminal; Obtaining hotspot information of the first terminal that meets a first constraint condition according to the hotspot request information, where the first constraint condition includes a location condition that a distance between the first terminal and the second terminal satisfies a distance less than a preset distance threshold; Generate hotspot push information according to the hotspot information, and send the hotspot push information to the second terminal, so that the second terminal can connect to the hotspot of the corresponding first terminal according to the hotspot push information.

6. The method according to claim 5, characterized in that The first constraint condition also includes: Switch condition: The switch status of the hotspot of the first terminal is on.

7. The method according to any one of claims 5 to 6, characterized in that: Also includes: querying and obtaining the hotspot use authority of the second terminal according to the hotspot request information; Determine whether to send hotspot push information to the second terminal according to the hotspot usage authority.

8. A hotspot sharing method, for a second terminal having an RCS application client, wherein the second terminal is in communication connection with a server, the method comprising: Using the RCS application client to send hotspot request information to the server, the hotspot request information including the second terminal location information; Utilize the RCS application client to receive hotspot push information from the server, and connect to the hotspot of the corresponding first terminal according to the hotspot push information; the hotspot push information is generated by the server selecting hotspot information of at least one first terminal according to the hotspot request information, wherein the hotspot information includes hotspot identification information, hotspot location information, RCS user identification code, hotspot switch status, whether to allow background hotspot opening, and one or more of the following information: hotspot key, network rate, traffic price, network type information; Among them, the server selects the hotspot information of at least one first terminal according to the hotspot request information, including: when the number of the selected first terminals is less than a preset threshold, the server will send a hotspot opening instruction to the first terminal that meets the location conditions, the switch state of the hotspot is off and the hotspot is allowed to be opened in the background.

9. The method according to claim 8, characterized in that The using the RCS application client to receive the hotspot push information from the server, and connecting with the hotspot corresponding to the first terminal according to the hotspot push information, includes: Searching for nearby hot spots, and generating a first hot spot table with the searched hot spot information; Using the RCS application client to receive hotspot push information from the server; Extracting hotspot information from the hotspot push information to form a second hotspot table; Select the hot spots that are the same in the first hot spot table and the second hot spot table to form a third hot spot table; Displaying the third hot spot table; A first user selection instruction is received, and a connection is established with a hotspot of a selected first terminal according to the first user selection instruction.

10. The method according to claim 8, characterized in that The using the RCS application client to receive the hotspot push information from the server, and connecting with the hotspot corresponding to the first terminal according to the hotspot push information, includes: Using the RCS application client to receive hotspot push information from the server; According to the hotspot push information and a preset priority selection strategy, a connection is made to the hotspot corresponding to the first terminal.

11. The method according to claim 8, characterized in that The preset priority selection strategy includes one or more of the following strategies: signal strength priority strategy, network type priority strategy, network rate priority strategy, price priority strategy, and distance priority strategy.

12. The method according to any one of claims 8 to 11, characterized in that Also includes: The current hotspot rate is monitored, and when the hotspot rate drops by more than a preset threshold, the hotspot connected to the first terminal that meets the second constraint condition is switched.

13. A terminal, comprising: A first memory, a first processor, and a computer program stored in the first memory and executable on the first processor, wherein when the first processor executes the program, the following is achieved: The hotspot sharing method according to any one of claims 1 to 3; or, A hotspot sharing method as described in any one of claims 8 to 12.

14. A server, comprising: A second memory, a second processor, and a computer program stored in the second memory and executable on the second processor, wherein when the second processor executes the program, the following is achieved: A hotspot sharing method as described in any one of claims 4 to 7.

15. A computer-readable storage medium storing computer-executable instructions for: Execute the hotspot sharing method according to any one of claims 1 to 3; or, Execute the hotspot sharing method according to any one of claims 4 to 7; or, Execute the hotspot sharing method described in any one of claims 8 to 12.

Citation Information

Patent Citations

  • Network hotspot sharing method, client side, sharing side and management server

    CN103889029A

  • Network traffic resource sharing method, device, system and storage medium

    CN108307393A