CN115334595A - Method, device, wireless terminal and storage medium for acquiring network service - Google Patents

Method, device, wireless terminal and storage medium for acquiring network service Download PDF

Info

Publication number
CN115334595A
CN115334595A CN202110504910.3A CN202110504910A CN115334595A CN 115334595 A CN115334595 A CN 115334595A CN 202110504910 A CN202110504910 A CN 202110504910A CN 115334595 A CN115334595 A CN 115334595A
Authority
CN
China
Prior art keywords
wireless terminal
network
direct
cellular
switching information
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202110504910.3A
Other languages
Chinese (zh)
Inventor
许超杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202110504910.3A priority Critical patent/CN115334595A/en
Priority to PCT/CN2022/080904 priority patent/WO2022237302A1/en
Publication of CN115334595A publication Critical patent/CN115334595A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/14Reselecting a network or an air interface
    • H04W36/144Reselecting a network or an air interface over a different radio air interface technology
    • H04W36/1446Reselecting a network or an air interface over a different radio air interface technology wherein at least one of the networks is unlicensed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0055Transmission or use of information for re-establishing the radio link
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/04Terminal devices adapted for relaying to or from another terminal or user
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

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

Abstract

The embodiment of the application discloses a method, a device, a wireless terminal and a storage medium for acquiring network service, wherein the method for acquiring the network service in a first wireless terminal comprises the following steps: receiving first network switching information from the second wireless terminal over the bluetooth link, the first network switching information indicating that the second wireless terminal switches from the Wi-Fi network mode to the cellular network mode; when a first preset condition is met, establishing Wi-Fi direct connection with a second wireless terminal; and sharing the cellular network of the second wireless terminal over Wi-Fi direct.

Description

Method, device, wireless terminal and storage medium for acquiring network service
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and an apparatus for acquiring a network service, a wireless terminal, and a storage medium.
Background
At present, more and more wearing equipment and intelligent house equipment not only have short distance wireless communication ability such as Bluetooth (BT), still possess Wi-Fi connection ability simultaneously. With Wi-Fi transmission, large data volume transmissions can be accomplished in a shorter time by the data transmission rate.
When the wearable device with the Wi-Fi/BT capability is in an indoor scene, BT connection can be established between the wearable device and a mobile phone to transmit a small amount of local information, meanwhile, wi-Fi connection is established between the wearable device and a router, and the wearable device can directly acquire high-speed network services, such as large data volume services of transmitting large file data, network videos and the like.
However, in an outdoor open scene, there is no wearable device with cellular access capability, and in an environment without a Wi-Fi access point for direct internet access, a local BT connection can only be established with a master device for transmitting a small amount of data. Because BT transmission rate is low and must be transmitted through the main device, BT can not be used for large flow such as video call, large file transmission and the like, and can not obtain high-speed network service. As shown in fig. 1, the slave device 1 cannot obtain high-speed network services in an outdoor scene, and the slave device 2 has cellular access capability and can obtain high-speed network services such as video calls at any time in the outdoor scene, but the slave device is expensive, has high power consumption and has short standby time.
Disclosure of Invention
The embodiment of the application provides a method and a device for acquiring network service, a wireless terminal and a storage medium, wherein the wireless terminal needing to acquire the high-speed network service establishes Wi-Fi direct connection with the wireless terminal accessing a high-speed network for network sharing, so that the high-speed network service can be acquired, and the power consumption is low.
The technical scheme of the embodiment of the application is realized as follows:
the embodiment of the application provides a method for acquiring network service in a first wireless terminal, which comprises the following steps:
receiving first network switching information from a second wireless terminal over a Bluetooth link, the first network switching information indicating that the second wireless terminal switches from a Wi-Fi network mode to a cellular network mode;
when a first preset condition is met, establishing Wi-Fi direct connection with the second wireless terminal; and
sharing the cellular network of the second wireless terminal over the Wi-Fi direct.
In the above method, before the establishing Wi-Fi direct with the second wireless terminal, the method further includes:
receiving information associated with establishing the Wi-Fi direct from the second wireless terminal over the Bluetooth link;
the establishing Wi-Fi direct connection with the second wireless terminal comprises:
establishing the Wi-Fi direct with the second wireless terminal based on the information associated with establishing the Wi-Fi direct.
In the above method, the information associated with establishing the Wi-Fi direct includes any combination of: a Wi-Fi channel of a direct connection, a wireless local area network identification, and a password.
In the above method, further comprising:
receiving second network switching information from the second wireless terminal over the Bluetooth link or the Wi-Fi direct, the second network switching information indicating that the second wireless terminal switches from the cellular network mode to the Wi-Fi network mode.
In the above method, further comprising:
and judging whether to stop the Wi-Fi direct connection or not according to a second preset condition.
In the above method, the first predetermined condition and the second predetermined condition comprise one or more of:
connection rate for Wi-Fi direct;
a work scenario of the first wireless terminal;
whether the first wireless terminal is currently connected with a Wi-Fi access point;
the connection rate of the first wireless terminal and the Wi-Fi access point; and
and the first wireless terminal waits to execute the service.
In the above method, after the determining whether to stop the Wi-Fi direct according to a second predetermined condition, the method further includes:
and under the condition that the Wi-Fi direct connection is judged to stop, the Wi-Fi direct connection is disconnected, and a Wi-Fi access point with the signal quality meeting the preset signal quality condition is accessed.
The embodiment of the application provides a method for assisting in acquiring network service in a second wireless terminal, which comprises the following steps:
sending first network switching information to a first wireless terminal over a bluetooth link, the first network switching information indicating that the second wireless terminal switches from a Wi-Fi network mode to a cellular network mode;
sharing a cellular network for the first wireless terminal over Wi-Fi direct, if Wi-Fi direct is established with the first wireless terminal.
In the above method, the method further comprises:
sending second network switching information to the first wireless terminal through the Bluetooth link or the Wi-Fi direct, the second network switching information indicating that the second wireless terminal switches from the cellular network mode to the Wi-Fi network mode.
In the above method, the sharing a cellular network for the first wireless terminal through the Wi-Fi direct includes:
receiving first Wi-Fi data from the first wireless terminal over the Wi-Fi direct;
performing protocol address conversion on the first Wi-Fi data to obtain first cellular data;
uploading the first cellular data to a cellular base station;
and/or the presence of a gas in the atmosphere,
receiving second cellular data from the cellular base station;
performing protocol address conversion on the second cellular data to obtain second Wi-Fi data;
and sending the second Wi-Fi data to the first wireless terminal through the Wi-Fi direct connection.
In the above method, further comprising:
binding the protocol address of the cellular network with the protocol address of the second wireless terminal.
The embodiment of the application provides a device for acquiring network service in a first wireless terminal, which comprises:
a first communication module to receive first network handover information from a second wireless terminal over a bluetooth link, the first network handover information indicating that the second wireless terminal switches from a Wi-Fi network mode to a cellular network mode;
the connection module is used for establishing Wi-Fi direct connection with the second wireless terminal when a first preset condition is met;
a first sharing module configured to share the cellular network of the second wireless terminal through the Wi-Fi direct.
An embodiment of the present application provides an apparatus for assisting in acquiring a network service in a second wireless terminal, including:
a second communication module for sending first network switching information to a first wireless terminal over a bluetooth link, the first network switching information indicating that the second wireless terminal switches from a Wi-Fi network mode to a cellular network mode;
a second sharing module, configured to share a cellular network with the first wireless terminal through Wi-Fi direct when the Wi-Fi direct is established with the first wireless terminal.
An embodiment of the present application provides a first wireless terminal, including: a first processor, a first memory, and a first communication bus;
the first communication bus is used for realizing communication connection between the first processor and the first memory;
the first processor is configured to execute one or more programs stored in the first memory to implement the method for acquiring network services in the first wireless terminal.
An embodiment of the present application provides a second wireless terminal, including: a second processor, a second memory, and a second communication bus;
the second communication bus is used for realizing communication connection between the second processor and the second memory;
the second processor is configured to execute one or more programs stored in the second memory to implement the above-mentioned method for assisting in acquiring network services in the second wireless terminal.
An embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the method for acquiring a network service in a first wireless terminal.
An embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the above method for assisting in acquiring a network service in a second wireless terminal.
The embodiment of the application provides a method, a device, a wireless terminal and a storage medium for acquiring network service, wherein the method for acquiring the network service in a first wireless terminal comprises the following steps: receiving first network switching information from the second wireless terminal over the bluetooth link, the first network switching information indicating that the second wireless terminal switches from the Wi-Fi network mode to the cellular network mode; when a first preset condition is met, establishing Wi-Fi direct connection with a second wireless terminal; sharing the cellular network of the second wireless terminal over Wi-Fi direct. According to the technical scheme provided by the embodiment of the application, the wireless terminal needing to acquire the high-speed network service establishes Wi-Fi direct connection with the wireless terminal accessing the high-speed network for network sharing, so that not only can the high-speed network service be acquired, but also the power consumption is low.
Drawings
Fig. 1 is a schematic diagram of an exemplary network structure provided in an embodiment of the present application;
fig. 2 is a flowchart illustrating a method for acquiring network services in a first wireless terminal according to an embodiment of the present disclosure;
fig. 3 is a first flowchart of an exemplary Wi-Fi direct control provided in an embodiment of the present application;
fig. 4 is an exemplary terminal interaction diagram provided in an embodiment of the present application;
fig. 5 is a schematic flowchart illustration of an exemplary Wi-Fi direct control provided in an embodiment of the present application;
fig. 6 is a flowchart illustrating a method for assisting in acquiring network services in a second wireless terminal according to an embodiment of the present disclosure;
fig. 7 is a schematic diagram illustrating software and hardware modules of a second wireless terminal according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of an apparatus for acquiring a network service in a first wireless terminal according to an embodiment of the present application;
fig. 9 is a second schematic structural diagram illustrating an apparatus for assisting in acquiring a network service in a second wireless terminal according to an embodiment of the present disclosure;
fig. 10 is a schematic structural diagram of a first wireless terminal according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of a second wireless terminal according to an embodiment of the present disclosure.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of and not restrictive on the broad application.
The embodiment of the application provides a method for acquiring network service in a first wireless terminal and a method for assisting in acquiring network service in a second wireless terminal. The first wireless terminal is a slave device, and the second wireless terminal is a master device. It should be noted that, in the embodiment of the present application, the first wireless terminal and the second wireless terminal may be wearable devices or smart home devices, and not only have short-range wireless communication capabilities, such as bluetooth and near field communication, but also have Wi-Fi connection capabilities. The embodiments of the present application are not limited to the first wireless terminal and the second wireless terminal.
It should be noted that, with the method provided in the embodiment of the present application, an application scenario may be an outdoor scenario in which the first wireless terminal is not located in a Wi-Fi access point, and therefore, a scenario in which a high-speed network service cannot be implemented using a Wi-Fi network may not be provided.
Fig. 2 is a flowchart illustrating a method for acquiring a network service in a first wireless terminal according to an embodiment of the present disclosure. As shown in fig. 2, in the embodiment of the present application, the method for acquiring a network service in a first wireless terminal mainly includes the following steps:
s101, first network switching information is received from a second wireless terminal through a Bluetooth link, and the first network switching information indicates that the second wireless device is switched from a Wi-Fi network mode to a cellular network mode.
In an embodiment of the application, a first wireless terminal receives first network switching information from a second wireless terminal over a bluetooth link, the first network switching information instructing the second wireless terminal to switch from a Wi-Fi network mode to a cellular network mode.
In the embodiment of the present application, the first wireless terminal and the second wireless terminal may be any devices such as a mobile phone and a tablet computer, and the embodiment of the present application is not limited.
It should be noted that, in the embodiment of the present application, the first wireless terminal may establish a bluetooth connection with the second wireless terminal, so as to receive the first network switching information provided by the second wireless terminal through a bluetooth link. In addition, the first wireless terminal and the second wireless terminal may also establish a connection based on any one of other wireless communication technologies such as a near field communication technology, an ultra wideband communication technology, and the like, so that the transmission of the network switching information can be realized through the established link, which is not limited in the embodiment of the present application.
And S102, establishing Wi-Fi direct connection with a second wireless terminal when a first preset condition is met.
In the embodiment of the application, the first wireless terminal establishes Wi-Fi direct connection with the second wireless terminal when a first predetermined condition is met under the condition that the first network switching information is received.
It should be noted that, in the embodiment of the present disclosure, when it is determined that the first predetermined condition is met, the first wireless terminal may establish Wi-Fi direct connection with the second wireless terminal, and the specific first predetermined condition may be set according to an actual application scenario and a requirement, which is not limited in the embodiment of the present disclosure.
It is noted that, in the embodiments of the present application, the first predetermined condition includes one or more of the following: the service management system comprises the connection rate of the Wi-Fi direct connection, a working scene, whether the connection with the Wi-Fi access point is currently performed or not, the connection rate with the Wi-Fi access point, and a service to be executed.
Illustratively, in an embodiment of the application, the first wireless terminal is a smart watch, and when the smart watch needs to execute a video call service and is not currently connected to a Wi-Fi Access Point (AP), it may be determined that the first predetermined condition is satisfied, and when the smart watch only needs to execute pushing of a small amount of or low-speed information to the second wireless terminal, it may actually directly transmit the information through a bluetooth link, that is, it may be determined that the first predetermined condition is not satisfied.
It should be noted that, in the embodiment of the present application, the first wireless terminal may also support the cellular network mode, that is, the first wireless terminal may also access the cellular network, and the first predetermined condition may further include: the signal quality of the cellular network of the first wireless terminal, the signal quality of the cellular network of the second wireless terminal, etc., and the embodiments of the present application are not limited. The second wireless terminal may not only transmit the first network handover information through a bluetooth link established with the first wireless terminal, but also transmit network information such as signal quality of its own cellular network.
Illustratively, in the embodiment of the present application, in the case where the first wireless terminal supports the cellular network, however, it may be poor in signal quality and cannot implement the high-speed network service, and at this time, it may be determined that the first predetermined condition is satisfied. Furthermore, if the signal quality of the cellular network of the second wireless terminal is poor, it is also difficult to actually support the network service acquisition means to realize a high-speed network service, and the first wireless terminal may determine that the first predetermined condition is not satisfied.
It should be noted that, in an embodiment of the present application, before the first wireless terminal establishes Wi-Fi direct connection with the second wireless terminal, the following steps may also be performed: receiving information associated with establishing Wi-Fi direct from a second wireless terminal over a Bluetooth link; correspondingly, the establishing of Wi-Fi direct between the first wireless terminal and the second wireless terminal includes: establishing Wi-Fi direct with a second wireless terminal based on information associated with establishing Wi-Fi direct.
It should be noted that, in the embodiments of the present application, the information associated with establishing the Wi-Fi direct may include any combination of the following: the Wi-Fi direct connection method comprises the information of a Wi-Fi channel, a wireless local area network identifier (Ssid), a password and the like, so that the first wireless terminal can quickly establish the Wi-Fi direct connection with the second wireless terminal. Specific information associated with establishing Wi-Fi direct is not limited in the embodiments of the present application.
And S103, sharing the cellular network of the second wireless terminal through Wi-Fi direct connection.
In the embodiment of the application, the first wireless terminal can share the cellular network of the target device through Wi-Fi direct connection under the condition that the Wi-Fi direct connection is established with the second wireless terminal, so that high-speed network service is obtained.
It should be noted that, in the embodiment of the present application, the first wireless terminal may send the first Wi-Fi data to the second wireless terminal through Wi-Fi direct connection, and the second wireless terminal thereby converts the first Wi-Fi data into the first cellular data and uploads the first cellular data to the cellular base station, and may also receive the second Wi-Fi data sent by the second wireless terminal through Wi-Fi direct connection, in which the cellular network shares the second wireless terminal.
Fig. 3 is a first flowchart of an exemplary Wi-Fi direct control provided in an embodiment of the present application. As shown in fig. 3, the first wireless terminal may establish a bluetooth connection with the second wireless terminal in advance, so as to receive the first network handover information and the information associated with establishing the Wi-Fi direct from the second wireless terminal through the bluetooth link, and then, when it is determined that the first predetermined condition is satisfied, the first wireless terminal establishes the Wi-Fi direct with the second wireless terminal based on the information associated with establishing the Wi-Fi direct, shares the cellular network of the second wireless terminal, so as to obtain the high-speed network service.
In an embodiment of the present application, after the first wireless terminal establishes Wi-Fi direct connection with the second wireless terminal, the following steps may be further performed: and judging whether to stop the Wi-Fi direct connection or not according to a second preset condition.
It is noted that, in the embodiments of the present application, the second predetermined condition includes one or more of the following: the service execution method comprises the connection rate of Wi-Fi direct connection, the working scene of a first wireless terminal, whether the first wireless terminal is currently connected with a Wi-Fi access point, the connection rate of the first wireless terminal and the Wi-Fi access point, and a service to be executed by the first wireless terminal.
It should be noted that, in this embodiment of the present application, the first wireless terminal may further receive second network handover information from the second wireless terminal through a bluetooth link or Wi-Fi direct, where the second network handover information indicates that the second wireless terminal switches from the cellular network mode to the Wi-Fi network mode.
It should be noted that, in the embodiment of the present application, the first wireless terminal may determine whether to stop the Wi-Fi direct connection according to a second predetermined condition when receiving the second network switching information from the second wireless terminal through the bluetooth link or the Wi-Fi link.
Fig. 4 is an exemplary terminal interaction diagram provided in an embodiment of the present application. As shown in fig. 4, in an embodiment of the present application, a first wireless terminal may first receive first network handover information sent by a second wireless terminal, so that when a first predetermined condition is satisfied, wi-Fi direct connection is established with the second wireless terminal, and then, the first wireless terminal disconnects Wi-Fi direct connection with the second wireless terminal when receiving second network handover information sent by the second wireless terminal and determining that Wi-Fi direct connection with the second wireless terminal is stopped.
It can be understood that, in the embodiment of the present application, after the first wireless terminal establishes Wi-Fi direct connection with the second wireless terminal, that is, obtains a high-speed network service, it may be determined whether to stop the Wi-Fi direct connection according to an actual scene and an application requirement. For example, a first wireless terminal may stop Wi-Fi direct connection with a second wireless terminal after completing a service requiring high speed network service support.
It should be noted that, in the embodiment of the present application, after the first wireless terminal determines whether to stop Wi-Fi direct connection according to the second predetermined condition, the following steps may be further performed: and under the condition of judging to stop the Wi-Fi direct connection, disconnecting the Wi-Fi direct connection and accessing the Wi-Fi access point of which the signal quality meets the preset signal quality condition.
For example, in an embodiment of the present application, the determining, by the first wireless terminal, whether to stop Wi-Fi direct connection according to a second predetermined condition may include: acquiring the signal quality of the Wi-Fi access point under the condition that the connectable Wi-Fi access point is scanned; and under the condition that the signal quality meets the preset signal quality condition, judging to stop the Wi-Fi direct connection. And after judging to stop the Wi-Fi direct connection, the first wireless terminal can disconnect the Wi-Fi direct connection and access the Wi-Fi access point.
Fig. 5 is a schematic flowchart of an exemplary Wi-Fi direct control provided in an embodiment of the present application. As shown in fig. 5, in the embodiment of the present application, after receiving the second network switching information, if the first wireless terminal needs to execute a high-speed network service such as a video call, the first wireless terminal may further search for a Wi-Fi access point, so that under the condition that the signal quality of the Wi-Fi access point is good, that is, under the condition that a preset signal quality condition is met, it is determined to stop Wi-Fi direct connection, thereby disconnecting the Wi-Fi direct connection, and then access the Wi-Fi access point, and certainly, if the signal quality of the Wi-Fi access point is poor, it is determined to not stop Wi-Fi direct connection, and continue to maintain the Wi-Fi direct connection. If the first wireless terminal does not need to execute high-speed network services such as video call, the Wi-Fi direct connection can be directly judged to be stopped.
The embodiment of the application provides a method for acquiring network service in a first wireless terminal, which comprises the following steps: receiving first network switching information from the second wireless terminal over the bluetooth link, the first network switching information indicating that the second wireless terminal switches from the Wi-Fi network mode to the cellular network mode; when a first preset condition is met, establishing Wi-Fi direct connection with a second wireless terminal; and sharing the cellular network of the second wireless terminal over Wi-Fi direct. According to the method for acquiring the network service in the first wireless terminal, the first wireless terminal establishes Wi-Fi direct connection with the second wireless terminal accessed to the cellular network, and the cellular network is shared, so that not only can a high-speed network service be acquired, but also the power consumption is low.
Fig. 6 is a flowchart illustrating a method for assisting in acquiring network services in a second wireless terminal according to an embodiment of the present disclosure. As shown in fig. 6, in the embodiment of the present application, the method for acquiring a network service applied to a second wireless terminal mainly includes the following steps:
s201, first network switching information is sent to the first wireless terminal through the Bluetooth link, and the first network switching information indicates that the second wireless terminal is switched from a Wi-Fi network mode to a cellular network mode.
In an embodiment of the application, the second wireless terminal sends first network switching information to the first wireless terminal over the bluetooth link, the first network switching information instructing the second wireless terminal to switch from the Wi-Fi network mode to the cellular network mode.
In the embodiment of the present application, the first wireless terminal and the second wireless terminal may be any devices such as a mobile phone and a tablet computer, and the embodiment of the present application is not limited.
It should be noted that in the embodiments of the present application, the second wireless terminal may support a Wi-Fi network mode and a cellular network mode. After the second wireless terminal is switched from the Wi-Fi network mode to the cellular network mode, first network switching information can be sent to the first wireless terminal through a Bluetooth link established between the second wireless terminal and the first wireless terminal, and after the first wireless terminal receives the first network switching information, the second wireless terminal can be informed that the second wireless terminal is switched from the Wi-Fi network mode to the cellular network mode.
It should be noted that, in the embodiment of the present application, the second wireless terminal may not only provide the first network handover information to the first wireless terminal through the bluetooth link. In addition, the first wireless terminal and the second wireless terminal support any one of other wireless communication technologies such as a near field communication technology, an ultra wideband communication technology, and the like, and may also establish a corresponding link based on the corresponding technology for implementing information transmission, which is not limited in the embodiment of the present application.
S202, under the condition that Wi-Fi direct connection is established with the first wireless terminal, the first wireless terminal is shared with a cellular network through the Wi-Fi direct connection.
In the embodiment of the application, the first wireless terminal can actively initiate the establishment of Wi-Fi direct connection with the second wireless terminal when the second wireless terminal sends the first network switching information to the first wireless terminal, so that the second wireless terminal can share the cellular network with the first wireless terminal through Wi-Fi direct connection under the condition that the Wi-Fi direct connection is established with the first wireless terminal.
It should be noted that, in this embodiment of the present application, when the second wireless terminal switches from the Wi-Fi network mode to the cellular network mode, information associated with establishing Wi-Fi direct connection, for example, any combination of a Wi-Fi channel of direct connection, a wireless local area network identifier, and a password, may be sent to the first wireless terminal through the bluetooth link, so that the first wireless terminal initiates establishment of Wi-Fi direct connection with the second wireless terminal.
Specifically, in an embodiment of the present application, the sharing, by the second wireless terminal, the cellular network with the first wireless terminal through Wi-Fi direct connection includes: receiving first Wi-Fi data from a first wireless terminal over Wi-Fi direct; carrying out protocol address conversion on the first Wi-Fi data to obtain first cellular data; uploading the first cellular data to a cellular base station; and/or receiving second cellular data from a cellular base station; performing protocol address conversion on the second cellular data to obtain second Wi-Fi data; and sending the second Wi-Fi data to the first wireless terminal through Wi-Fi direct connection.
It should be noted that, in the embodiment of the present application, the second wireless terminal needs to bind the protocol address of the cellular network with the protocol address of the second wireless terminal, and thus the second wireless terminal can implement protocol address conversion between cellular data and Wi-Fi data.
It should be noted that Wi-Fi direct is a direct connection method supporting point-to-point of Wi-Fi devices, which is introduced by the Wi-Fi alliance. In an embodiment of the present application, when a first wireless terminal and a second wireless terminal establish Wi-Fi direct connection, the second wireless terminal becomes an owner of a Wi-Fi direct connection group, and the first wireless terminal becomes a client of the Wi-Fi direct connection group, and has respective local Internet Protocol (IP) addresses to perform IP communication. Specifically, as shown in fig. 7, the IP layer software module of the second wireless terminal may be modified appropriately to bind the IP address of the cellular network with the IP address of the second wireless terminal, and the data sent from the first wireless terminal to the second wireless terminal may be subjected to IP address conversion in the second wireless terminal, and finally converted into cellular data and uploaded to the base station and the core network.
It should be noted that, in the embodiment of the present application, when the second wireless terminal switches from the cellular network mode to the Wi-Fi network mode, the following steps may also be performed: and sending second network switching information to the first wireless terminal through the Bluetooth link or the Wi-Fi direct connection, wherein the second network switching information indicates that the second wireless terminal is switched from the cellular network mode to the Wi-Fi network mode.
The embodiment of the application provides a method for assisting in acquiring network service in a second wireless terminal, which comprises the following steps: sending first network switching information to the first wireless terminal through the Bluetooth link, wherein the first network switching information indicates that the second wireless terminal is switched from a Wi-Fi network mode to a cellular network mode; the cellular network is shared with the first wireless terminal through Wi-Fi direct, in the event that Wi-Fi direct is established with the first wireless terminal. According to the method for assisting in acquiring the network service in the second wireless terminal, the second wireless terminal accessing the cellular network can establish Wi-Fi direct connection with the first wireless terminal, the first wireless terminal can share the cellular network, and the first wireless terminal can obtain the high-speed network service and is low in power consumption.
The embodiment of the application provides a device for acquiring network service in a first wireless terminal. Fig. 8 is a schematic structural diagram of an apparatus for acquiring a network service in a first wireless terminal according to an embodiment of the present application, as shown in fig. 8, in an embodiment of the present application, the apparatus includes:
a first communication module 301, configured to receive first network switching information from a second wireless terminal through a bluetooth link, where the first network switching information indicates that the second wireless terminal switches from a Wi-Fi network mode to a cellular network mode;
a connection module 302, configured to establish Wi-Fi direct connection with the second wireless terminal when a first predetermined condition is satisfied;
a first sharing module 303, configured to share the cellular network of the second wireless terminal through the Wi-Fi direct.
In an embodiment of the present application, the first communication module 301 is further configured to receive, from the second wireless terminal through the bluetooth link, information associated with establishing the Wi-Fi direct;
the connection module 302 is specifically configured to establish the Wi-Fi direct with the second wireless terminal based on the information associated with establishing the Wi-Fi direct.
In an embodiment of the present application, the information associated with establishing the Wi-Fi direct includes any combination of: a Wi-Fi channel directly connected, a wireless local area network identification, and a password.
In an embodiment of the present application, the first communication module 301 is further configured to receive second network handover information from the second wireless terminal through the bluetooth link or the Wi-Fi direct, where the second network handover information indicates that the second wireless terminal is to be switched from the cellular network mode to the Wi-Fi network mode.
In an embodiment of the present application, the connection module 302 is further configured to determine whether to stop the Wi-Fi direct connection according to a second predetermined condition.
In an embodiment of the application, the first predetermined condition and the second predetermined condition comprise one or more of:
connection rate for Wi-Fi direct;
a work scenario of the first wireless terminal;
whether the first wireless terminal is currently connected with a Wi-Fi access point;
a connection rate of the first wireless terminal to a Wi-Fi access point; and
and the first wireless terminal waits to execute the service.
In an embodiment of the present application, the connection module 302 is further configured to disconnect the Wi-Fi direct connection and access a Wi-Fi access point whose signal quality meets a preset signal quality condition, when it is determined that the Wi-Fi direct connection is stopped.
The embodiment of the application provides a device for assisting in acquiring network service in a second wireless terminal. Fig. 9 is a schematic structural diagram of an apparatus for assisting in acquiring a network service in a second wireless terminal according to an embodiment of the present application, as shown in fig. 9, in an embodiment of the present application, including:
a second communication module 401, configured to send first network switching information to a first wireless terminal through a bluetooth link, where the first network switching information indicates that the second wireless terminal switches from a Wi-Fi network mode to a cellular network mode;
a second sharing module 402, configured to share a cellular network with the first wireless terminal through Wi-Fi direct when the Wi-Fi direct is established with the first wireless terminal.
In an embodiment of the present application, the second communication module 401 is further configured to send second network switching information to the first wireless terminal through the bluetooth link or the Wi-Fi direct, where the second network switching information indicates that the second wireless terminal is switched from the cellular network mode to the Wi-Fi network mode.
In an embodiment of the present application, the second sharing module 402 is specifically configured to receive first Wi-Fi data from the first wireless terminal through the Wi-Fi direct connection; performing protocol address conversion on the first Wi-Fi data to obtain first cellular data; uploading the first cellular data to a cellular base station; and/or receiving second cellular data from a cellular base station, and performing protocol address conversion on the second cellular data to obtain second Wi-Fi data; and sending the second Wi-Fi data to the first wireless terminal through the Wi-Fi direct connection.
In an embodiment of the present application, the apparatus for assisting in acquiring a network service in a second wireless terminal further includes: a binding module (not shown in the figures);
the binding module is configured to bind a protocol address of the cellular network with a protocol address of the second wireless terminal.
The embodiment of the application provides a first wireless terminal. Fig. 10 is a schematic structural diagram of a first wireless terminal according to an embodiment of the present disclosure. As shown in fig. 10, the first wireless terminal includes: a first processor 501, a first memory 502, and a first communication bus 503;
the first communication bus 503 is used for realizing communication connection between the first processor 501 and the first memory 502;
the first processor 501 is configured to execute one or more programs stored in the first memory 502 to implement the above method for acquiring network services in the first wireless terminal.
The embodiment of the application provides a second wireless terminal. Fig. 11 is a schematic structural diagram of a second wireless terminal according to an embodiment of the present disclosure. As shown in fig. 11, the second wireless terminal includes: a second processor 601, a second memory 602, and a second communication bus 603;
the second communication bus 603 is configured to implement a communication connection between the second processor 601 and the second memory 602;
the second processor 601 is configured to execute one or more programs stored in the second memory 602 to implement the above-mentioned method for assisting in acquiring network service in the second wireless terminal.
An embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the method for acquiring a network service in a first wireless terminal.
An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the above method for assisting in acquiring a network service in a second wireless terminal.
It should be noted that, in the embodiment of the present application, the computer-readable storage medium may be a volatile Memory (volatile Memory), such as a Random-Access Memory (RAM); or a non-volatile Memory (non-volatile Memory), such as a Read-Only Memory (ROM), a flash Memory (flash Memory), a Hard Disk (Hard Disk Drive, HDD) or a Solid-State Drive (SSD); or a respective device, such as a mobile phone, computer, tablet device, personal digital assistant, etc., that includes one or any combination of the above memories.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of implementations of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart block or blocks and/or flowchart block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart block or blocks in the flowchart and/or block diagram block or blocks.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present application are included in the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (17)

1. A method of acquiring network services in a first wireless terminal, comprising:
receiving first network switching information from a second wireless terminal over a bluetooth link, the first network switching information indicating that the second wireless terminal switches from a Wi-Fi network mode to a cellular network mode;
when a first preset condition is met, establishing Wi-Fi direct connection with the second wireless terminal; and
sharing the cellular network of the second wireless terminal over the Wi-Fi direct.
2. The method of claim 1, wherein prior to the establishing Wi-Fi direct with the second wireless terminal, the method further comprises:
receiving information associated with establishing the Wi-Fi direct from the second wireless terminal over the Bluetooth link;
the establishing Wi-Fi direct connection with the second wireless terminal comprises:
establishing the Wi-Fi direct with the second wireless terminal based on the information associated with establishing the Wi-Fi direct.
3. The method of claim 2, wherein the information associated with establishing the Wi-Fi direct comprises any combination of: a Wi-Fi channel directly connected, a wireless local area network identification, and a password.
4. The method of claim 1, further comprising:
receiving second network switching information from the second wireless terminal over the Bluetooth link or the Wi-Fi direct, the second network switching information indicating that the second wireless terminal switches from the cellular network mode to the Wi-Fi network mode.
5. The method of claim 4, further comprising:
and judging whether to stop the Wi-Fi direct connection or not according to a second preset condition.
6. The method of claim 5, wherein the first predetermined condition and the second predetermined condition comprise one or more of:
connection rate for Wi-Fi direct;
a work scenario of the first wireless terminal;
whether the first wireless terminal is currently connected with a Wi-Fi access point;
a connection rate of the first wireless terminal to a Wi-Fi access point; and
and the service to be executed of the first wireless terminal.
7. The method according to claim 5, wherein after determining whether to stop the Wi-Fi direct according to a second predetermined condition, the method further comprises:
and under the condition that the Wi-Fi direct connection is judged to stop, the Wi-Fi direct connection is disconnected, and a Wi-Fi access point with the signal quality meeting the preset signal quality condition is accessed.
8. A method of assisting in acquiring network services in a second wireless terminal, comprising:
sending first network switching information to a first wireless terminal over a bluetooth link, the first network switching information indicating that the second wireless terminal switches from a Wi-Fi network mode to a cellular network mode;
sharing a cellular network to the first wireless terminal over Wi-Fi direct, if Wi-Fi direct is established with the first wireless terminal.
9. The method of claim 8, further comprising:
sending second network switching information to the first wireless terminal through the Bluetooth link or the Wi-Fi direct, the second network switching information indicating that the second wireless terminal switches from the cellular network mode to the Wi-Fi network mode.
10. The method of claim 8, wherein the sharing a cellular network to the first wireless terminal over the Wi-Fi direct comprises:
receiving first Wi-Fi data from the first wireless terminal over the Wi-Fi direct;
performing protocol address conversion on the first Wi-Fi data to obtain first cellular data;
uploading the first cellular data to a cellular base station;
and/or the presence of a gas in the gas,
receiving second cellular data from the cellular base station;
performing protocol address conversion on the second cellular data to obtain second Wi-Fi data;
and sending the second Wi-Fi data to the first wireless terminal through the Wi-Fi direct connection.
11. The method of claim 10, further comprising:
binding the protocol address of the cellular network with the protocol address of the second wireless terminal.
12. An apparatus for acquiring network services in a first wireless terminal, comprising:
a receiving module, configured to receive first network switching information from a second wireless terminal through a bluetooth link, where the first network switching information indicates that the second wireless terminal switches from a Wi-Fi network mode to a cellular network mode;
the connection module is used for establishing Wi-Fi direct connection with the second wireless terminal when a first preset condition is met;
a first sharing module configured to share the cellular network of the second wireless terminal through the Wi-Fi direct.
13. An apparatus that facilitates obtaining network services in a second wireless terminal, comprising:
a sending module for sending first network switching information to a first wireless terminal over a bluetooth link, the first network switching information indicating that the second wireless terminal switches from a Wi-Fi network mode to a cellular network mode;
a second sharing module, configured to share a cellular network with the first wireless terminal through Wi-Fi direct when the Wi-Fi direct is established with the first wireless terminal.
14. A first wireless terminal, comprising: a first processor, a first memory, and a first communication bus;
the first communication bus is used for realizing communication connection between the first processor and the first memory;
the first processor, configured to execute one or more programs stored in the first memory to implement the method for acquiring network services in the first wireless terminal according to any of claims 1 to 7.
15. A second wireless terminal, comprising: a second processor, a second memory, and a second communication bus;
the second communication bus is used for realizing communication connection between the second processor and the second memory;
the second processor, configured to execute one or more programs stored in the second memory to implement the method for assisting in acquiring network service in the second wireless terminal of any of claims 8-11.
16. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method of acquiring network services in a first wireless terminal according to any one of claims 1 to 7.
17. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method of assisting in acquiring network services in a second wireless terminal according to any of claims 8-11.
CN202110504910.3A 2021-05-10 2021-05-10 Method, device, wireless terminal and storage medium for acquiring network service Pending CN115334595A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110504910.3A CN115334595A (en) 2021-05-10 2021-05-10 Method, device, wireless terminal and storage medium for acquiring network service
PCT/CN2022/080904 WO2022237302A1 (en) 2021-05-10 2022-03-15 Method and apparatus for acquiring network service, wireless terminal, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110504910.3A CN115334595A (en) 2021-05-10 2021-05-10 Method, device, wireless terminal and storage medium for acquiring network service

Publications (1)

Publication Number Publication Date
CN115334595A true CN115334595A (en) 2022-11-11

Family

ID=83912467

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110504910.3A Pending CN115334595A (en) 2021-05-10 2021-05-10 Method, device, wireless terminal and storage medium for acquiring network service

Country Status (2)

Country Link
CN (1) CN115334595A (en)
WO (1) WO2022237302A1 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9648652B2 (en) * 2014-04-08 2017-05-09 Paypal, Inc. Facilitating wireless connections using a BLE beacon
JP6529186B2 (en) * 2014-04-29 2019-06-12 ▲華▼▲為▼▲終▼端(深セン)有限公司 Data transmission method and terminal
CN106658372A (en) * 2016-12-13 2017-05-10 上海斐讯数据通信技术有限公司 Low-power-consumption data transmission method and system, transmitting equipment, and receiving equipment
CN107343325A (en) * 2017-06-26 2017-11-10 广东欧珀移动通信有限公司 A kind of data transmission method, device and terminal

Also Published As

Publication number Publication date
WO2022237302A1 (en) 2022-11-17

Similar Documents

Publication Publication Date Title
CN109640310B (en) Data transmission control method and related product
CN113098726B (en) Network slicing method, device and storage medium
CN109743783B (en) Data transmission control method and related product
CN102308662B (en) Method of establishing X2 between stations, station and communication system
CN104333888A (en) Self-organized instant messaging method based on Wi-Fi direct connection
CN104469660A (en) Bluetooth-based networking method
CN105188099A (en) Relay device reselection method based on D2D communication
CN101772976A (en) Methods and apparatuses and computer program products for inter-system handoff implementing tunneling between source and target access systems
US9781579B2 (en) Method and device for realizing terminal WIFI talkback
KR101688556B1 (en) Service establishment method, apparatus, and system of multimode user equipment
CN102438277A (en) Terminal access method and system
CN105850218A (en) D2D communication detection method, device and system
JP2015534404A (en) Channel switching method, apparatus, and device
JP2015527841A (en) Aggregation of relay nodes for data transfer in wireless communication systems
CN111800768A (en) Method, apparatus and computer-readable storage medium for connection
CN105636041A (en) Networking method and apparatus for intelligent device
KR20220163411A (en) Information transmission methods, devices, communication devices and storage media
RU2676471C1 (en) Method and device for establishing transit channel
US8583085B2 (en) Mobile equipment, base station apparatus and communication control method
US10390278B2 (en) Method for automatic switching between access points, and wireless routing device
US20230224690A1 (en) Communication apparatus, control method, and computer-readable storage medium
CN105451367A (en) Wireless network connection method, device and system
CN108174434B (en) Method, terminal and intelligent device for automatically switching communication modes
CN115334595A (en) Method, device, wireless terminal and storage medium for acquiring network service
CN114731566A (en) Path switching method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination