WO2021175268A1 - 移动网络热点的共享方法、装置和热点共享设备 - Google Patents

移动网络热点的共享方法、装置和热点共享设备 Download PDF

Info

Publication number
WO2021175268A1
WO2021175268A1 PCT/CN2021/078954 CN2021078954W WO2021175268A1 WO 2021175268 A1 WO2021175268 A1 WO 2021175268A1 CN 2021078954 W CN2021078954 W CN 2021078954W WO 2021175268 A1 WO2021175268 A1 WO 2021175268A1
Authority
WO
WIPO (PCT)
Prior art keywords
hotspot
card
shared
data service
default data
Prior art date
Application number
PCT/CN2021/078954
Other languages
English (en)
French (fr)
Inventor
毛宇锋
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP21763787.5A priority Critical patent/EP4099741A4/en
Priority to US17/909,192 priority patent/US20230118286A1/en
Publication of WO2021175268A1 publication Critical patent/WO2021175268A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • H04W12/069Authentication using certificates or pre-shared keys
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/40Security arrangements using identity modules
    • H04W12/45Security arrangements using identity modules using multiple identity modules
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/12Wireless traffic scheduling
    • H04W72/1263Mapping of traffic onto schedule, e.g. scheduled allocation or multiplexing of flows
    • H04W72/1273Mapping of traffic onto schedule, e.g. scheduled allocation or multiplexing of flows of downlink data flows
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/183Processing at user equipment or user record carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]
    • 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
    • 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/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals

Definitions

  • the embodiments of the present application relate to the technical field of smart terminals, and in particular to a method and device for sharing a mobile network hotspot, and a hotspot sharing device.
  • terminal products are generally divided into dual SIM Dual Standby (Dual Sim Dual Standby; hereinafter referred to as DSDS) and Dual SIM Dual Active (Dual Sim Dual Active; hereinafter referred to as DSDA).
  • dual SIM Dual Standby Communication relies on two modems (modem) to handle the communication requests of the main card and the auxiliary card separately, which will cause higher costs at the hardware level. Therefore, in the current smart terminal chip market, dual-card dual-pass chip solutions are generally not provided. plan.
  • different communication antennas can be used for the main card and the auxiliary card to achieve the effect that the mobile data services of the main card and the auxiliary card are activated online at the same time, that is, the dual-card dual-pass DSDA technology is realized at the logical level.
  • Mobile network sharing technology refers to the cellular network or Wireless Fidelity (Wireless Fidelity; hereinafter referred to as WIFI) network connected to the mobile device is shared with other devices in a wireless or wired manner.
  • WIFI Wireless Fidelity
  • Mobile Hotspot Mobile Hotspot
  • the embodiment of the application provides a method and device for sharing a mobile network hotspot, and a hotspot sharing device.
  • the embodiment of the application also provides a computer-readable storage medium to realize the selection of a default data service card and/or a non-default data service card As an uplink network card for shared hotspots, it provides users with more mobile hotspot sharing methods and reduces the impact of shared hotspots on users' Internet experience.
  • an embodiment of the present application provides a method for sharing a mobile network hotspot, which includes: after the hotspot sharing device starts hotspot sharing, receiving a connection request for the shared hotspot sent by the hotspot access device, the connection request includes the above The name of the shared hotspot device and the authentication information of the above-mentioned shared hotspot; among them, the above-mentioned hotspot sharing device can be a smart phone, a tablet, a smart watch, a wearable device, a smart screen, a drone, and an intelligent connected vehicle (Intelligent Connected Vehicle).
  • the above hotspot access devices can also be smart phones, tablets, smart watches, wearable devices, smart Smart electronic devices such as screens, drones, ICVs, smart/intelligent cars (smart/intelligent cars) or in-vehicle devices; this embodiment does not limit the specific forms of the above-mentioned hotspot sharing device and the above-mentioned hotspot access device; the above-mentioned shared hotspot
  • the authentication information can be information such as passwords, keys, certificates, and/or biometrics.
  • This embodiment does not limit the specific form of the above authentication information; the above connection request is authenticated according to the above authentication information; in the above connection After the request is authenticated, the hotspot access device is allowed to access the shared hotspot; the downlink network card of the shared hotspot receives the data sent by the hotspot access device, and the uplink network card of the shared hotspot sends the above data.
  • the uplink network card includes a user identification card that has activated mobile network data in the hotspot sharing device, and the user identification card that has activated mobile network data in the hotspot sharing device includes a non-default data service card in the hotspot sharing device.
  • the aforementioned subscriber identity card may be a subscriber identity module (Subscriber Identity Module; hereinafter referred to as SIM) card, user identity module (User Identity Model; hereinafter referred to as UIM) card, or a universal subscriber identity module (Universal Subscriber Identity Module; hereinafter referred to as : USIM) card.
  • SIM Subscriber Identity Module
  • UIM User Identity Model
  • USIM Universal Subscriber Identity Module
  • the hotspot sharing device receives a connection request for the shared hotspot sent by the hotspot access device, and authenticates the connection request according to the authentication information in the connection request. After the connection request is authenticated, the hotspot sharing device allows the hotspot access device to access the shared hotspot.
  • the hotspot sharing device receives the data sent by the hotspot access device through the downlink network card of the shared hotspot, and sends the data through the uplink network card of the shared hotspot, where the uplink of the shared hotspot
  • the network card includes the user identification card that has activated mobile network data in the hotspot sharing device, and the user identification card that has activated mobile network data in the hotspot sharing device includes the non-default data service card in the hotspot sharing device, that is, the hotspot
  • the shared device can use a non-default data service card as the uplink network card of the shared hotspot, which can provide users with more mobile hotspot sharing methods and reduce the impact of the shared hotspot on the user's online experience.
  • the hotspot sharing device initiating hotspot sharing includes: after receiving the hotspot on command, querying whether the hotspot sharing device includes at least two user identification cards, and querying whether the hotspot sharing device supports dual card dual communication Technology; Among them, the above-mentioned at least two user identification cards include a default data service card and a non-default data service card; if the hotspot sharing device includes at least two user identification cards and supports dual-card dual-pass technology, then choose to share the mobile network Data user identification card; if the selected user identification card is a non-default data service card in the above-mentioned hotspot sharing device, initiate a network establishment request, and specify the use of the above-mentioned non-default data service card as a shared hotspot in the above-mentioned network establishment request The uplink network card; according to the network establishment request, activate the mobile network data of the non-default data service card; after the mobile network data of the non-default data service card is successfully activated, obtain the link of
  • the above non-default data service card is used as the upstream network card of the shared hotspot, and the physical WIFI network card is used as the downstream network card; that is, the non-default data service card is used as the actual network card connected to the Internet, so that it can be Realize the user's own use of the default data service card's traffic, and share the non-default data service card's traffic with other hotspot access devices, so that after the hotspot access device is connected to the shared hotspot, it will not affect the user's own Internet bandwidth and traffic. Reduce the impact of shared hotspots on the user's online experience.
  • selecting the user identification card for sharing mobile network data includes: obtaining the setting information of the user using the hotspot sharing device from the hotspot on instruction, and the setting information includes the shared mobile network selected by the user.
  • the user identification card of the data according to the above-mentioned user's setting information, the user identification card for sharing the mobile network data is selected.
  • selecting the user identification card for sharing mobile network data includes: obtaining the setting information of the user who uses the hotspot sharing device from the hotspot on instruction, and the setting information includes the intelligent use of the at least two users.
  • Indication information for the identification card to share mobile network data includes: according to the user’s setting information, when the used bandwidth of the default data service card is greater than or equal to the predetermined bandwidth threshold, or the uplink queue of the default data service card is congested, or the default data
  • the used bandwidth of the service card is less than the predetermined bandwidth threshold, but when the upstream queue of the default data service card is congested, if the used traffic of the non-default data service card is less than the predetermined flow threshold, the non-default data service card is selected for movement Sharing of network data.
  • the foregoing predetermined bandwidth threshold can be set according to system performance and/or implementation requirements during specific implementation. This embodiment does not limit the size of the foregoing predetermined bandwidth threshold.
  • the foregoing predetermined bandwidth threshold may be It is 50% of the total bandwidth of the default data service card.
  • the foregoing predetermined flow threshold may also be set according to system performance and/or implementation requirements during specific implementation. This embodiment does not limit the size of the foregoing predetermined flow threshold. Among them, the foregoing non-default data service card has been used.
  • the flow rate being less than the predetermined flow threshold may include: the used flow of the non-default data service card has not reached the flow threshold set by the user, and the used flow of the non-default data service card that day is less than the predetermined flow threshold.
  • the shared hotspots activated by the hotspot sharing device include a first shared hotspot and a second shared hotspot, where the uplink network card of the first shared hotspot is the default data service card in the hotspot sharing device, and the second shared hotspot
  • the uplink network card of the hotspot is a non-default data service card in the above-mentioned hotspot sharing device; the device name of the first shared hotspot is different from the device name of the second shared hotspot.
  • authenticating the connection request according to the authentication information includes: judging whether the device name in the connection request matches the device name of the first shared hotspot or the second shared hotspot; And judging whether the authentication information in the connection request matches the authentication information corresponding to the matching device name; after the connection request is authenticated, allowing the hotspot access device to access the shared hotspot includes: obtaining the device name and The shared hotspot whose authentication information matches the device name and authentication information in the connection request; the shared hotspot is allowed to be accessed by the hotspot access device.
  • the hotspot sharing device initiating hotspot sharing includes: after receiving the hotspot on command, querying whether the hotspot sharing device includes at least two user identification cards, and querying whether the hotspot sharing device supports dual card dual communication Technology; Among them, the above-mentioned at least two user identification cards include a default data service card and a non-default data service card; if the above-mentioned hotspot sharing device includes at least two user identification cards, and supports dual card dual-pass technology, then open the hotspot from the above In the instruction, the setting information of the user who uses the hotspot sharing device is obtained.
  • the setting information includes the instruction information of the user choosing to use the default data service card and the non-default data service card to share mobile network data; initiate the first network establishment request, in the above
  • the first network establishment request specifies the use of the default data service card as the uplink network card of the first shared hotspot; and sends a request for creating a first downlink network card to the Wi-Fi WIFI driver, and the first downlink network card is the same as the first downlink network card.
  • the default data service card is set as the uplink network card of the first shared hotspot
  • the first downlink network card is set as the downlink network card of the first shared hotspot.
  • the method further includes: initiating a second network establishment request, and specifying the use of the non-information in the second network establishment request.
  • the default data service card is used as the uplink network card of the second shared hotspot; and a request for creating a second downlink network card is sent to the WIFI driver, and the second downlink network card corresponds to the uplink network card of the second shared hotspot; in the second downlink network card
  • the mobile network data of the non-default data service card is activated; after the mobile network data of the non-default data service card is successfully activated, the mobile network data of the non-default data service card is obtained
  • the link information according to the link information of the mobile network data of the non-default data service card, the non-default data service card is set as the uplink network card of the second shared hotspot, and the second downlink network card is set as the second Downlink network card that shares the hotspot.
  • the hotspot access device after allowing the hotspot access device to access the acquired shared hotspot, it further includes: obtaining the user's setting information for the hotspot access device, and the setting information is used to instruct the hotspot access device Use the above-mentioned first shared hotspot or the above-mentioned second shared hotspot; store the above-mentioned setting information.
  • the above method further includes: if the connection request of the hotspot access device for the shared hotspot is received again, determining to set the hotspot The access device accesses the above-mentioned first shared hotspot or the above-mentioned second shared hotspot.
  • the information of the hotspot access device may be the name or identifier of the hotspot access device, and the identifier of the hotspot access device may be the International Mobile Equipment Identity (International Mobile Equipment Identity) of the hotspot access device; hereinafter referred to as: IMEI).
  • International Mobile Equipment Identity International Mobile Equipment Identity
  • the user can set in the management interface of the connected device to connect a certain hotspot access device to the first shared hotspot or the second shared hotspot.
  • the user's setting information can be stored, so that when the hotspot access device is connected next time, it can be based on the information of the hotspot access device (for example: the hotspot access Enter the name or identification of the device) and the stored setting information to automatically assign the first shared hotspot or the second shared hotspot to it.
  • an embodiment of the present application also provides a mobile network hotspot sharing device, which is set in a hotspot sharing device.
  • the above mobile network hotspot sharing device includes: an activation module for starting hotspot sharing; a receiving module for After the hotspot sharing is started by the above activation module, it receives a connection request for the shared hotspot sent by the hotspot access device.
  • the above connection request includes the device name of the shared hotspot and the authentication information of the shared hotspot; the authentication module is used to The authentication information authenticates the connection request; the access module is used to allow the hotspot access device to access the shared hotspot after the connection request passes the authentication; the receiving module is also used for downlink through the shared hotspot
  • the network card receives the data sent by the hotspot access device; the sending module is configured to send the data through the uplink network card of the shared hotspot.
  • the uplink network card of the shared hotspot includes the user identification card that has activated mobile network data in the hotspot sharing device.
  • the user identification card that has activated mobile network data in the hotspot sharing device includes the non-default data service card in the hotspot sharing device.
  • the startup module includes: a query sub-module, which is used to query whether the hotspot sharing device includes at least two user identification cards, and whether the hotspot sharing device supports dual Card dual-pass technology; wherein, the above-mentioned at least two user identification cards include a default data service card and a non-default data service card; the selection sub-module is used when the hotspot sharing device includes at least two user identification cards and supports dual cards In the dual-pass technology, the user identification card for sharing mobile network data is selected; the establishment sub-module is used to initiate a network establishment request when the user identification card selected by the selection sub-module is a non-default data service card in the hotspot sharing device, And specify the use of the above non-default data service card as the uplink network card of the shared hotspot in the above network establishment request; the activation sub-module is used to activate the mobile network data of the above non-default data service card according to the network establishment request initiated by the above establishment sub-module
  • the acquisition sub-module is
  • the selection sub-module is specifically used to obtain the setting information of the user who uses the hotspot sharing device from the hotspot on instruction, and the setting information includes the user identification of the shared mobile network data selected by the user. Card; According to the above-mentioned user's setting information, select a user identification card for sharing mobile network data.
  • the selection sub-module is specifically used to obtain the setting information of the user who uses the hotspot sharing device from the hotspot on instruction, and the setting information includes the smart use of the at least two user identification cards to share mobile Network data indication information; according to the user’s setting information, when the used bandwidth of the default data service card is greater than or equal to the predetermined bandwidth threshold, or the uplink queue of the default data service card is congested, or the default data service card is used When the bandwidth is less than the predetermined bandwidth threshold, but the uplink queue of the default data service card is congested, if the used traffic of the non-default data service card is less than the predetermined flow threshold, the non-default data service card is selected for mobile network data sharing .
  • the shared hotspots activated by the hotspot sharing device include a first shared hotspot and a second shared hotspot, where the uplink network card of the first shared hotspot is the default data service card in the hotspot sharing device, and the second shared hotspot
  • the uplink network card of the hotspot is a non-default data service card in the above-mentioned hotspot sharing device; the device name of the first shared hotspot is different from the device name of the second shared hotspot.
  • the authentication module is specifically configured to determine whether the device name in the connection request matches the device name of the first shared hot spot or the second shared hot spot; and determine whether the device name in the connection request Whether the authentication information matches the authentication information corresponding to the matching device name; the access module is specifically used to obtain the shared hotspot whose device name and authentication information match the device name and authentication information in the connection request, allowing The above-mentioned hotspot access device accesses the obtained shared hotspot.
  • the startup module includes: a query sub-module, which is used to query whether the hotspot sharing device includes at least two user identification cards, and whether the hotspot sharing device supports dual Card dual-pass technology; wherein the above-mentioned at least two user identification cards include a default data service card and a non-default data service card; the acquisition sub-module is used when the hotspot sharing device includes at least two user identification cards and supports dual cards In the case of dual-pass technology, the setting information of the user who uses the hotspot sharing device is obtained from the hotspot on instruction, and the setting information includes the instruction information for the user to choose to use the default data service card and the non-default data service card to share mobile network data; The establishment sub-module is used to initiate a first network establishment request, specify in the first network establishment request to use the default data service card as the uplink network card of the first shared hotspot; and send to the WIFI driver to create the first downlink network card Request that the first downlink network card corresponds to the uplink network card
  • the establishment sub-module is also used to initiate a second network establishment request after the obtaining sub-module obtains the setting information of the user who uses the hotspot sharing device from the hotspot-on instruction.
  • the network establishment request specifies the use of the non-default data service card as the uplink network card of the second shared hotspot; and sends a request to the WIFI driver to create a second downlink network card, the second downlink network card and the uplink network card of the second shared hotspot Corresponding;
  • the activation module further includes: an activation sub-module, which is used to activate the mobile network data of the non-default data service card according to the second network establishment request after the creation of the second downlink network card is completed; obtain the sub-module, and use After the mobile network data of the non-default data service card is successfully activated, the link information of the mobile network data of the non-default data service card is obtained; the setting sub-module is also used to according to the mobile network data of the non-default data service card Set
  • the above-mentioned apparatus further includes: an information obtaining module, configured to obtain the setting information of the above-mentioned user for the above-mentioned hot-spot access device after the access module allows the above-mentioned hot-spot access device to access the obtained shared hotspot
  • the above-mentioned setting information is used to instruct the above-mentioned hotspot access device to use the above-mentioned first shared hotspot or the above-mentioned second shared hotspot
  • the storage module is used to store the above-mentioned setting information.
  • the access module is also used to, when the receiving module receives the connection request of the hotspot access device for the shared hotspot again, according to the information of the hotspot access device and the stored setting information, It is determined to connect the hotspot access device to the first shared hotspot or the second shared hotspot.
  • an embodiment of the present application provides a hotspot sharing device, including: one or more processors; a memory; a plurality of application programs; and one or more computer programs, wherein the above-mentioned one or more computer programs are stored in
  • the above-mentioned one or more computer programs include instructions, and when the above-mentioned instructions are executed by the above-mentioned device, the above-mentioned device executes the following steps: after the above-mentioned hot-spot sharing device starts hot-spot sharing, receiving the hot-spot access device for the shared hotspot
  • the connection request includes the device name of the shared hotspot and the authentication information of the shared hotspot; the connection request is authenticated according to the authentication information; after the connection request is authenticated, the hotspot is allowed to access
  • the incoming device accesses the above-mentioned shared hotspot; the downlink network card of the above-mentioned shared hotspot receives the data sent by
  • the step of causing the device to perform hotspot sharing activation includes: after receiving the hotspot activation instruction, query whether the hotspot sharing device includes at least two user identification cards, and Inquire whether the above hotspot sharing device supports dual-card dual-pass technology; where the above at least two user identification cards include a default data service card and a non-default data service card; if the above hotspot sharing device includes at least two user identification cards and supports With dual-card dual-pass technology, select the user identification card that shares mobile network data; if the selected user identification card is a non-default data service card in the above-mentioned hotspot sharing device, initiate a network establishment request, and in the above-mentioned network establishment request Designate the use of the above non-default data service card as the uplink network card of the shared hotspot; activate the mobile network data of the above non-default data service card according to the above network establishment request; after the mobile network data of the above non-default data
  • the step of causing the above device to execute the selection of a user identification card for sharing mobile network data includes: obtaining the settings of the user who uses the above hotspot sharing device from the above hotspot-on instruction Information, the above setting information includes the user identification card for sharing mobile network data selected by the user; and the user identification card for sharing mobile network data is selected according to the above user setting information.
  • the step of causing the above device to execute the selection of a user identification card for sharing mobile network data includes: obtaining the settings of the user who uses the above hotspot sharing device from the above hotspot-on instruction Information, the above setting information includes instruction information for intelligently using the above at least two user identification cards to share mobile network data; according to the above user setting information, when the default data service card has used bandwidth greater than or equal to a predetermined bandwidth threshold, or the above When the upstream queue of the default data service card is congested, or the used bandwidth of the default data service card is less than the predetermined bandwidth threshold, but the upstream queue of the default data service card is congested, if the used traffic of the non-default data service card is less than For a predetermined flow threshold, a non-default data service card is selected for mobile network data sharing.
  • the shared hotspots activated by the hotspot sharing device include a first shared hotspot and a second shared hotspot, wherein the uplink network card of the first shared hotspot is the default data service card in the hotspot sharing device, and the second The uplink network card of the shared hotspot is the non-default data service card in the above-mentioned hotspot sharing device; the device name of the first shared hotspot is different from the device name of the second shared hotspot.
  • the step of causing the device to execute the authentication of the connection request according to the authentication information includes: judging whether the device name in the connection request is the same as the first The device name of the shared hotspot or the second shared hotspot matches; and determine whether the authentication information in the connection request matches the authentication information corresponding to the matched device name; after the connection request is authenticated, the hotspot is allowed Accessing the aforementioned shared hotspot by an access device includes: obtaining a shared hotspot whose device name and authentication information match the device name and authentication information in the connection request; allowing the aforementioned hotspot access device to access the obtained shared hotspot.
  • the step of causing the device to perform hotspot sharing activation includes: after receiving the hotspot activation instruction, query whether the hotspot sharing device includes at least two user identification cards, and Inquire whether the above hotspot sharing device supports dual-card dual-pass technology; where the above at least two user identification cards include a default data service card and a non-default data service card; if the above hotspot sharing device includes at least two user identification cards and supports The dual-card dual-pass technology obtains the setting information of the user who uses the above-mentioned hotspot sharing device from the above-mentioned hotspot-on instruction, and the above-mentioned setting information includes an instruction for the above-mentioned user to choose to use the default data service card and the non-default data service card to share mobile network data Information; initiate a first network establishment request, specify in the first network establishment request to use the default data service card as the uplink network card of the first shared hotspot; and send
  • the non-default data service card is specified as the uplink network card of the second shared hotspot; and a request for creating a second downlink network card is sent to the WIFI driver, the second downlink network card Corresponding to the uplink network card of the second shared hotspot; after the creation of the second downlink network card is completed, according to the second network establishment request, the mobile network data of the non-default data service card is activated; in the mobile network of the non-default data service card After the network data is successfully activated, the link information of the mobile network data of the non-default data service card is obtained; according to the link information of the mobile network data of the non-default data service card, the non-default data service card is set to the second For the uplink network card of the shared hotspot, the second downlink network card is set as the downlink network card of the second shared hotspot.
  • the following step is also performed: acquiring the above user’s access to the above hotspot
  • the setting information of the device is used to instruct the hotspot access device to use the first shared hotspot or the second shared hotspot; and the setting information is stored.
  • the above device when the above instruction is executed by the above device, the above device further executes the following steps: if a connection request from the above hot spot access device for the shared hot spot is received again, then according to the above hot spot access device information And the stored setting information, it is determined to connect the hotspot access device to the first shared hotspot or the second shared hotspot.
  • an embodiment of the present application provides a computer-readable storage medium in which a computer program is stored, and when it runs on a computer, the computer executes the method described in the first aspect.
  • an embodiment of the present application provides a computer program, which is used to execute the method described in the first aspect when the computer program is executed by a computer.
  • the program in the fifth aspect may be stored in whole or in part on a storage medium that is packaged with the processor, and may also be stored in part or in a memory that is not packaged with the processor.
  • Fig. 1 is a flowchart of an embodiment of a mobile network hotspot sharing method according to this application;
  • FIG. 2 is a flowchart of another embodiment of a mobile network hotspot sharing method according to this application.
  • FIG. 3 is a flowchart of another embodiment of the mobile network hotspot sharing method according to the application.
  • FIG. 4 is a flowchart of another embodiment of the mobile network hotspot sharing method according to the application.
  • FIG. 5 is a schematic diagram of an embodiment of the system architecture of the mobile network hotspot sharing method according to the application.
  • FIG. 6 is a schematic diagram of an embodiment of a user interaction interface in the mobile network hotspot sharing method of this application.
  • Figures 7(a) to 7(b) are schematic diagrams of an embodiment of the system notification bar in the mobile network hotspot sharing method of this application;
  • FIG. 8 is a schematic diagram of an embodiment of the status bar in the mobile network hotspot sharing method of this application.
  • FIG. 9 is a flowchart of an embodiment of starting hotspot sharing in the mobile network hotspot sharing method according to the application.
  • FIG. 10 is a schematic diagram of another embodiment of a user interaction interface in the mobile network hotspot sharing method of this application.
  • FIG. 11 is a schematic diagram of still another embodiment of the user interaction interface in the mobile network hotspot sharing method of this application.
  • FIG. 12 is a flowchart of another embodiment of starting hotspot sharing in the mobile network hotspot sharing method according to the application.
  • FIG. 13 is a schematic structural diagram of an embodiment of a mobile network hotspot sharing device according to this application.
  • FIG. 14 is a schematic structural diagram of another embodiment of a mobile network hotspot sharing device according to this application.
  • FIG. 15 is a schematic structural diagram of an embodiment of a hotspot sharing device according to this application.
  • Mobile network sharing technology refers to sharing a cellular network or WIFI network connected to a mobile device to other devices in a wireless or wired manner. Mobile network sharing is usually called a mobile hotspot (Mobile Hotspot).
  • the Android framework layer (Framework) will actively select the upstream network card (that is, the actual network card connected to the Internet) and the downstream network card (that is, the connection hotspot is connected).
  • the actual network card of the input device The actual network card of the input device.
  • Framework will select the network card where the current mobile data network is located as the upstream network card, and use the physical network card of WIFI as the downstream network card.
  • the prior art has a single strategy for selecting an uplink network card when sharing mobile hotspots, and can only select the network card where the system default data service (Default Data Sub; DDS) is located as the uplink network card.
  • DDS Default Data Sub
  • the user is using the mobile data network at the same time This part of the bandwidth must also be shared with other devices. After other devices are connected, they will occupy the user's uplink bandwidth, which will affect the user's Internet experience.
  • the embodiment of the application proposes a mobile network hotspot sharing method, which can select the default data service card and/or non-default data service card as the uplink network card of the shared hotspot, thereby providing users with more mobile hotspot sharing methods , Which reduces the impact of shared hotspots on users’ online experience.
  • Fig. 1 is a flowchart of an embodiment of a mobile network hotspot sharing method according to this application. As shown in Fig. 1, the above-mentioned mobile network hotspot sharing method may include:
  • Step 101 After the hotspot sharing device starts hotspot sharing, it receives a connection request for the shared hotspot sent by the hotspot access device.
  • the connection request includes the device name of the shared hotspot and the authentication information of the shared hotspot.
  • the aforementioned hotspot sharing devices can be smart phones, tablets, smart watches, wearable devices, smart screens, drones, intelligent connected vehicles (Intelligent Connected Vehicle; hereinafter referred to as: ICV), smart (auto) vehicles (smart) /intelligent car) or in-vehicle devices; similarly, the above hotspot access devices can also be smart phones, tablets, smart watches, wearable devices, smart screens, drones, ICVs, smart (automobile) vehicles ( Smart electronic devices such as smart/intelligent car) or in-vehicle devices; this embodiment does not limit the specific forms of the above-mentioned hotspot sharing device and the above-mentioned hotspot access device.
  • ICV Intelligent connected vehicles
  • smart (auto) vehicles smart (auto) /intelligent car) or in-vehicle devices
  • the above hotspot access devices can also be smart phones, tablets, smart watches, wearable devices, smart screens, drones, ICVs, smart (automobile) vehicles ( Smart
  • the authentication information of the aforementioned shared hotspot may be information such as passwords, keys, certificates, and/or biometrics, and this embodiment does not limit the specific form of the aforementioned authentication information.
  • Step 102 The connection request is authenticated according to the authentication information.
  • Step 103 After the connection request is authenticated, the hotspot access device is allowed to access the shared hotspot.
  • Step 104 Receive the data sent by the hotspot access device through the downlink network card of the shared hotspot, and send the data through the uplink network card of the shared hotspot.
  • the uplink network card of the shared hotspot includes users who have activated mobile network data in the hotspot sharing device.
  • Identification card, the user identification card that has activated mobile network data in the hotspot sharing device includes a non-default data service card in the hotspot sharing device.
  • the aforementioned subscriber identity card may be a subscriber identity module (Subscriber Identity Module; hereinafter referred to as SIM) card, user identity module (User Identity Model; hereinafter referred to as UIM) card, or a universal subscriber identity module (Universal Subscriber Identity Module; hereinafter referred to as : USIM) card.
  • SIM Subscriber Identity Module
  • UIM User Identity Model
  • USIM Universal Subscriber Identity Module
  • the hotspot sharing device receives a connection request for the shared hotspot sent by the hotspot access device, and authenticates the connection request according to the authentication information in the connection request. After the connection request is authenticated, the hotspot sharing device allows the hotspot access device to access the shared hotspot.
  • the hotspot sharing device receives the data sent by the hotspot access device through the downlink network card of the shared hotspot, and sends the data through the uplink network card of the shared hotspot, where the uplink of the shared hotspot
  • the network card includes the user identification card that has activated mobile network data in the hotspot sharing device, and the user identification card that has activated mobile network data in the hotspot sharing device includes the non-default data service card in the hotspot sharing device, that is, the hotspot
  • the shared device can use a non-default data service card as the uplink network card of the shared hotspot, which can provide users with more mobile hotspot sharing methods and reduce the impact of the shared hotspot on the user's online experience.
  • Fig. 2 is a flowchart of another embodiment of a mobile network hotspot sharing method according to this application.
  • step 101 may include:
  • Step 201 After receiving the hotspot-on instruction, the hotspot sharing device queries whether the hotspot sharing device includes at least two user identification cards, and whether the hotspot sharing device supports DSDA technology; wherein the at least two user identification cards include default data Business cards and non-default data business cards.
  • Step 202 If the hotspot sharing device includes at least two user identification cards and supports DSDA technology, select a user identification card for sharing mobile network data.
  • the user identification card selected to share mobile network data may be:
  • the setting information includes the user identification card selected by the user to share mobile network data; then, the hotspot sharing device selects sharing based on the user’s setting information.
  • User identification card for mobile network data is the user identification card selected by the user to share mobile network data; then, the hotspot sharing device selects sharing based on the user’s setting information.
  • selecting the user identification card for sharing mobile network data may be: obtaining the setting information of the user who uses the hotspot sharing device from the hotspot on instruction, and the setting information includes the intelligent use of the at least two user identifications.
  • Information indicating that the card shares mobile network data may be: according to the user’s setting information, when the used bandwidth of the default data service card is greater than or equal to the predetermined bandwidth threshold, or the uplink queue of the default data service card is congested, or the default data service The used bandwidth of the card is less than the predetermined bandwidth threshold, but when the upstream queue of the default data service card is congested, if the used traffic of the non-default data service card is less than the predetermined flow threshold, the non-default data service card is selected for mobile network Sharing of data.
  • the foregoing predetermined bandwidth threshold can be set according to system performance and/or implementation requirements during specific implementation. This embodiment does not limit the size of the foregoing predetermined bandwidth threshold.
  • the foregoing predetermined bandwidth threshold may be It is 50% of the total bandwidth of the default data service card.
  • the foregoing predetermined flow threshold may also be set according to system performance and/or implementation requirements during specific implementation. This embodiment does not limit the size of the foregoing predetermined flow threshold. Among them, the foregoing non-default data service card has been used.
  • the flow rate being less than the predetermined flow threshold may include: the used flow of the non-default data service card has not reached the flow threshold set by the user, and the used flow of the non-default data service card that day is less than the predetermined flow threshold.
  • Step 203 If the selected user identification card is the non-default data service card in the hotspot sharing device, initiate a network establishment request, and specify in the network establishment request to use the non-default data service card as the uplink network card of the shared hotspot .
  • Step 204 Activate the mobile network data of the aforementioned non-default data service card according to the aforementioned network establishment request.
  • Step 205 After the mobile network data of the non-default data service card is successfully activated, obtain the link information of the mobile network data of the non-default data service card.
  • Step 206 According to the link information of the mobile network data of the non-default data service card, the non-default data service card is set as the uplink network card of the shared hotspot.
  • the above-mentioned non-default data service card is used as the upstream network card of the above shared hotspot, and the physical network card of WIFI is used as the downstream network card; that is, the non-default data service card is used as the actual network card connected to the Internet.
  • Step 207 Receive a connection request for the shared hotspot sent by the hotspot access device, where the connection request includes the device name of the shared hotspot and the authentication information of the shared hotspot.
  • FIG. 3 is a flowchart of another embodiment of the mobile network hotspot sharing method of this application.
  • the second shared hotspot wherein the uplink network card of the first shared hotspot is the default data service card in the hotspot sharing device, and the uplink network card of the second shared hotspot is the non-default data service card in the hotspot sharing device;
  • the device name of the first shared hotspot is different from the device name of the second shared hotspot; the authentication information of the first shared hotspot and the authentication information of the second shared hotspot may be the same or different.
  • step 102 can be:
  • Step 301 Determine whether the device name in the connection request matches the device name of the first shared hotspot or the second shared hotspot; and determine whether the authentication information in the connection request corresponds to the matching device name. Match the information;
  • Step 103 may include:
  • Step 302 Obtain a shared hotspot whose device name and authentication information match the device name and authentication information in the connection request.
  • Step 303 Allow the above-mentioned hotspot access device to access the acquired shared hotspot.
  • the user's setting information for the hotspot access device can also be obtained.
  • the setting information is used to instruct the hotspot access device to use the first shared hotspot or the second shared hotspot; and store the setting information.
  • the connection request of the hotspot access device for the shared hotspot is received again, it is determined to connect the hotspot access device to the first shared hotspot or the second shared hotspot according to the information of the hotspot access device and the stored setting information.
  • Shared hotspot the information of the hotspot access device may be the name or identifier of the hotspot access device, and the identifier of the hotspot access device may be the International Mobile Equipment Identity (International Mobile Equipment Identity) of the hotspot access device; hereinafter referred to as: IMEI), this embodiment does not limit this.
  • the user can set in the management interface of the connected device to connect a certain hotspot access device to the first shared hotspot or the second shared hotspot.
  • the user's setting information can be stored, so that when the hotspot access device is connected next time, it can be based on the information of the hotspot access device (for example: the hotspot access Enter the name or identification of the device) and the stored setting information to automatically assign the first shared hotspot or the second shared hotspot to it.
  • Fig. 4 is a flowchart of another embodiment of the mobile network hotspot sharing method according to this application.
  • step 101 may include:
  • Step 401 After receiving the hotspot-on instruction, the hotspot sharing device queries whether the hotspot sharing device includes at least two user identification cards, and whether the hotspot sharing device supports DSDA technology; wherein the at least two user identification cards include default data Business cards and non-default data business cards.
  • Step 402 If the hotspot sharing device includes at least two user identification cards and supports DSDA technology, obtain the setting information of the user who uses the hotspot sharing device from the hotspot on instruction, and the setting information includes the user's choice to use
  • the default data service card and the non-default data service card share the indication information of the mobile network data.
  • Step 403 Initiate a first network establishment request, specify in the first network establishment request to use the default data service card as the uplink network card of the first shared hotspot; and send a request to create the first downlink network card to the WIFI driver.
  • the first downlink network card corresponds to the above-mentioned uplink network card of the first shared hotspot.
  • Step 404 After the creation of the first downlink network card is completed, according to the link information of the mobile network data of the default data service card, the default data service card is set as the uplink network card of the first shared hotspot, and the first The downlink network card is set as the downlink network card of the above-mentioned first shared hotspot. Then step 409 is executed.
  • step 402 it may further include:
  • Step 405 Initiate a second network establishment request, specify in the second network establishment request that the non-default data service card is used as the uplink network card of the second shared hotspot; and send a request to create a second downlink network card to the WIFI driver,
  • the second downlink network card corresponds to the uplink network card of the second shared hotspot.
  • Step 406 After the creation of the second downlink network card is completed, according to the second network establishment request, the mobile network data of the non-default data service card is activated.
  • Step 407 After the mobile network data of the non-default data service card is successfully activated, obtain the link information of the mobile network data of the non-default data service card.
  • Step 408 According to the link information of the mobile network data of the non-default data service card, the non-default data service card is set as the uplink network card of the second shared hotspot, and the second downlink network card is set as the downlink of the second shared hotspot. Network card. Then step 409 is executed.
  • step 403 to step 404 and step 405 to step 408 can be executed sequentially or in parallel. This embodiment does not limit the execution order of step 403 to step 404 and step 405 to step 408.
  • Step 409 Receive a connection request for the shared hotspot sent by the hotspot access device, where the connection request includes the device name of the shared hotspot and the authentication information of the shared hotspot.
  • the hotspot sharing device is a smart phone and the user identification card is a SIM card as an example, and in the following introduction, The default data service card is called the main card, and the non-default data service card is called the secondary card.
  • the mobile network hotspot sharing method provided by the embodiments of the present application does not limit the format of the secondary card.
  • the primary card is 5G
  • the secondary card can be 5G, 4G, or other standards.
  • FIG. 5 is a schematic diagram of an embodiment of the system architecture of the mobile network hotspot sharing method according to this application. As shown in FIG. 5, the foregoing system architecture may include:
  • Android applications provide users with interactive opening and/or closing hotspot functions
  • Android framework layer Provides an interface for opening and closing hotspots upwards for applications, and is responsible for managing the basic configuration of hotspots, including controlling the hotspot’s upstream and downstream network ports, dynamic IP address allocation services, etc.
  • Framework It also transmits network parameter commands to the kernel driver through the network daemon and framework (Network Daemon; hereinafter referred to as NetD) in the Android system;
  • Network daemon and framework responsible for the realization of functions related to physical interface operations, including domain name system (Domain Name System; hereinafter referred to as: DNS) resolution, Socket establishment and release, bandwidth control, and network address Conversion and/or dynamic IP address allocation, etc.;
  • DNS Domain Name System
  • Kernal The Linux kernel of the Android system has the same architecture and functions as the Linux kernel of other platforms, and is responsible for providing hardware and software interfaces for each physical drive.
  • FIG 6 is a schematic diagram of an embodiment of the user interaction interface in the mobile network hotspot sharing method of this application.
  • a switch to share the secondary card traffic can be added in the "personal hotspot" setting interface.
  • the secondary card is "Card 2" in Figure 6.
  • FIG. 7 (a) Figure 7 (b)
  • Figures 7(a) to 7(b) are schematic diagrams of an embodiment of the system notification bar in the mobile network hotspot sharing method of this application.
  • the system notification bar in addition to the "hotspot” option, it can also include the "hotspot 2" option, which is used to prompt the user to activate the traffic of the secondary card as a hotspot.
  • the status bar of the mobile phone interface displays a prompt arrow indicating that the mobile network data of the primary and secondary cards are activated, and an icon of hotspot activation appears, as shown in Figure 8, which is the application A schematic diagram of an embodiment of the status bar in the mobile network hotspot sharing method.
  • the icon indicated by 81 has an upward and downward prompt arrow, indicating that the mobile network data of the primary and secondary cards are activated; the icon indicated by 82 is The icon turned on for the hotspot.
  • the main card is used for the user to surf the Internet
  • the secondary card is used for other hotspot access devices to surf the Internet.
  • FIG. 9 is a flowchart of an embodiment of starting hotspot sharing in the mobile network hotspot sharing method of this application, as shown in FIG. 9, which may include:
  • Step 901 The setting module calls the hotspot-on interface, and sends a hotspot-on instruction to the connection management service.
  • the setting module is a setting module (Settings) in the Android application.
  • Step 902 The connection management service sends a hotspot activation instruction to the mobile network sharing service.
  • step 903 the mobile network sharing service sends a hotspot on command to the network daemon, so that the kernel driver turns on the hotspot.
  • Step 904 The mobile network sharing service sends a query request to the setting module.
  • the query request is used to query whether the hotspot sharing device includes at least two SIM cards, and whether the hotspot sharing device supports DSDA technology;
  • the hotspot sharing device includes at least two SIM cards and supports the DSDA technology, the user is inquired about whether the mobile network data needs to be shared by the user is the primary card or the secondary card.
  • Step 905 The setting module sends the query result corresponding to the query request to the mobile network sharing service, and the query result includes the determination to use the primary card or the secondary card to share mobile network data.
  • the setting module stores the user's setting items for the shared hotspot, and provides query capabilities for the system and other applications.
  • Step 906 When it is determined that the secondary card is used to share mobile network data, the mobile network sharing service initiates a network establishment request to the connection management service, and specifies the secondary card as the uplink network card for the shared hotspot in the network establishment request.
  • Step 907 The connection management service sends a request for activating the mobile network data of the secondary card to the communication framework service.
  • Step 908 The communication framework service sends a response to the connection management service that the mobile network data of the secondary card is successfully activated.
  • the response carries link information of the mobile network data of the secondary card, and the link information includes the mobile network data of the secondary card. Interface address, IP address and/or DNS server, etc.
  • connection management service sends a network establishment successful response to the mobile network sharing service, and sends the link information of the mobile network data of the secondary card to the mobile network sharing service.
  • Step 910 The mobile network sharing service sets an uplink network card to the network daemon according to the link information of the mobile network data of the secondary card, and sets the secondary card as the uplink network card of the shared hotspot.
  • step 911 the network daemon notifies the kernel driver to set the secondary card as the uplink network card of the aforementioned shared hotspot.
  • step 906 when it is determined that the main card is used to share mobile network data, the mobile network sharing service initiates a network establishment request to the connection management service, and specifies the use of the main card as the uplink network card of the shared hotspot in the network establishment request. . Then, directly execute step 909, the connection management service sends a response of successful network establishment to the mobile network sharing service, and sends the link information of the mobile network data of the above-mentioned main card to the mobile network sharing service.
  • the mobile network sharing service sets an uplink network card to the network daemon according to the link information of the mobile network data of the above-mentioned main card, and sets the main card as the uplink network card of the above-mentioned shared hotspot.
  • step 911 the network daemon notifies the kernel driver to set the main card as the uplink network card of the aforementioned shared hotspot.
  • the user can independently choose to share the traffic of the primary card or the secondary card as the traffic of the shared hotspot to other hotspot access devices, so that the user can use the traffic of the primary card and share the traffic of the secondary card with other hotspots.
  • Access equipment so that after the hotspot access equipment accesses the shared hotspot, it will not affect the user’s own Internet bandwidth and traffic, reducing the impact of the shared hotspot on the user’s Internet experience.
  • FIG 10 is a schematic diagram of another embodiment of the user interaction interface in the mobile network hotspot sharing method of this application.
  • the switch of "card sharing hotspot” can automatically select the main card or the auxiliary card to share the hotspot according to the bandwidth of the main card and/or the traffic usage of the main and auxiliary cards as a decision point.
  • the switch of "Smart Use of Primary Card/Secondary Card Sharing Hotspot" is turned on.
  • this embodiment simplifies the process of manually selecting the primary card or secondary card sharing hotspot by the user into intelligent decision-making, which is based on the main Factors such as the bandwidth of the card and/or the traffic usage of the primary and secondary cards determine the uplink network card that shares the hotspot.
  • Step 1 Determine whether the used bandwidth of the main card divided by the total bandwidth of the main card is greater than or equal to 50%; if yes, go to step 3; if the used bandwidth of the main card divided by the total bandwidth of the main card is less than 50%, go to step 2 .
  • Step 2 Determine whether the upstream queue of the main card is congested; if yes, go to step 3; if the upstream queue of the main card is not congested, then end this process.
  • Step 3 Determine whether the traffic used by the secondary card reaches the upper limit of traffic set by the user, or whether the traffic used by the secondary card that day is greater than or equal to a predetermined flow threshold. If it is, the process ends. If the traffic used by the secondary card does not reach the upper limit of the traffic set by the user, and the traffic used by the secondary card that day is less than the predetermined traffic threshold, a non-default data service card is selected for mobile network data sharing.
  • step 904 when the above-mentioned hotspot sharing device includes at least two SIM cards and supports DSDA technology, the query request is also used To query whether the switch of "Smart Use of Primary Card/Secondary Card Sharing Hotspot" is turned on; if it is turned on, then in step 905, you can perform the above steps 1 to 3, and then set the module to change steps 1 to 3
  • the decision result is sent to the mobile network sharing service.
  • the following process can be used to decide whether to switch back to the primary card:
  • Step 1 Whether the traffic used by the secondary card reaches the upper limit set by the user or whether the traffic used by the secondary card on the day exceeds the predetermined traffic threshold. If it is, the user will be prompted that the traffic exceeds the threshold for the user to choose to switch back to the primary card or turn off the shared hotspot; if the traffic used by the secondary card does not reach the upper limit set by the user, and the used traffic of the secondary card for the day is less than the predetermined traffic threshold, execute Step 2;
  • Step 2 Determine whether the used bandwidth of the secondary card divided by the total bandwidth of the primary card is less than 25%. If yes, switch back to the main card; if the bandwidth used by the secondary card divided by the total bandwidth of the main card is greater than or equal to 25%, the process ends.
  • the switching of the upstream traffic of the primary and secondary cards can be implemented by re-issuing the configuration of the upstream network card to the network daemon.
  • the specific process refer to the embodiment shown in FIG. 9.
  • This embodiment can intelligently select the uplink network card of the shared hotspot for the user. After the user turns on "Smart use of the main card/secondary card to share hotspot", there is no need to worry about the bandwidth and traffic of the main card being heavily occupied by other devices, and there is no need to worry about the generation of the secondary card. Excessive traffic, and intelligently select the main card or the secondary card as the uplink network card of the shared hotspot, which simplifies the user's operation.
  • FIG 11 is a schematic diagram of another embodiment of the user interaction interface in the mobile network hotspot sharing method of this application.
  • the primary card and the secondary card can be used as the uplink network cards of the shared hotspot at the same time, and the primary card and the secondary card have different access Hotspot access equipment.
  • the main card hotspot source and the secondary card hotspot source are separated in the setting interface.
  • the user can separately target the shared hotspots of the primary card and the secondary card.
  • Configure different authentication information for example: different passwords
  • device names for example: different passwords
  • hotspot access devices that have been connected to a shared hotspot
  • the user can set up a hotspot access device to connect to the main card of the current mobile phone. Or the shared hotspot of the secondary card.
  • the user for the device that the user has set up, the user’s setting information is stored in the system.
  • the hotspot access device When the hotspot access device is connected next time, it will be based on the information of the hotspot access device (for example: the name or the name of the hotspot access device). ID) and the stored setting information are automatically assigned to the shared hotspot of the primary card or secondary card.
  • the user can set A, B to access the Internet through the primary card of the current device, and set C to access the Internet through the secondary card of the current device.
  • the system automatically selects the secondary card traffic as C's hotspot source.
  • Fig. 12 is a flowchart of another embodiment of starting hotspot sharing in the mobile network hotspot sharing method of this application. As shown in Fig. 12, it may include:
  • Step 1201 the setting module calls the hotspot-on interface, and sends a hotspot-on command to the connection management service.
  • the setting module is a setting module (Settings) in the Android application.
  • Step 1202 The connection management service sends a hotspot activation instruction to the mobile network sharing service.
  • Step 1203 The mobile network sharing service sends a message to the network daemon to notify the kernel to enable the hotspot service.
  • Step 1204 the network daemon notifies the kernel driver to turn on the hotspot.
  • Step 1205 The mobile network sharing service sends a query request to the setting module.
  • the query request is used to query whether the hotspot sharing device includes at least two SIM cards, and whether the hotspot sharing device supports DSDA technology;
  • the hotspot sharing device includes at least two SIM cards and supports the DSDA technology
  • the user's setting information is queried.
  • the setting information includes the indication information that the user chooses to use the primary card and the secondary card to share mobile network data.
  • Step 1206 The setting module sends the query result corresponding to the above query request to the mobile network sharing service.
  • the above query result includes determining to use the primary card and the secondary card to share mobile network data.
  • the setting module stores the user's setting items for the shared hotspot, and provides query capabilities for the system and other applications.
  • the user's setting items for the shared hotspot may be as shown in FIG. 11.
  • Step 1207 The mobile network sharing service sends a first network establishment request to the connection management service.
  • the primary card is specified as the uplink network card of the first shared hotspot.
  • Step 1208 The connection management service sends a network establishment successful response to the mobile network sharing service, and sends the link information of the mobile network data of the main card to the mobile network sharing service.
  • Step 1209 The mobile network sharing service sends a request for creating a first downlink network card to the WIFI driver, where the first downlink network card is a downlink network card of the first shared hotspot.
  • Step 1210 The WIFI driver creates a first downlink network card, and sends the information of the created first downlink network card to the mobile network sharing service.
  • the information of the first downlink network card may include information such as the IP, authentication method, and/or forwarding rule of the first downlink network card.
  • step 1207 to step 1208 and step 1209 to step 1210 can be executed in parallel or sequentially. This embodiment does not limit the execution order of step 1207 to step 1208 and step 1209 to step 1210.
  • Step 1211 The mobile network sharing service sets the uplink network card and downlink network card of the first shared hotspot to the network daemon according to the link information of the mobile network data of the main card, sets the main card as the uplink network card of the first shared hotspot, and sets the above A downlink network card is set as the downlink network card of the above-mentioned first shared hotspot.
  • Step 1212 The network daemon notifies the kernel driver to set the main card as the uplink network card of the first shared hotspot, and set the first downlink network card as the downlink network card of the first shared hotspot.
  • step 1206 it may further include:
  • Step 1213 The mobile network sharing service sends a second network establishment request to the connection management service.
  • the secondary card is specified as the uplink network card of the second shared hotspot.
  • Step 1214 The mobile network sharing service sends a request for creating a second downlink network card to the WIFI driver, where the second downlink network card corresponds to the uplink network card of the second shared hotspot.
  • Step 1215 The WIFI driver creates a second downlink network card, and sends the information of the created second downlink network card to the mobile network sharing service.
  • the information of the second downlink network card may include information such as the IP, authentication method, and/or forwarding rule of the second downlink network card.
  • the WIFI chip of the current mobile phone supports two frequency bands of 2.4GHz/5GHz, and the two frequency bands realize wireless transmission through two or more physical antennas. Therefore, two different downlink network cards can be virtualized in the WIFI driver layer.
  • the network cards are independent from each other at the software level, and information such as IP, authentication methods and/or forwarding rules are set independently for each access to different hotspot access devices.
  • step 1214 to step 1215 and step 1213 can be executed in parallel or sequentially. This embodiment does not limit the execution order of step 1214 to step 1215 and step 1213.
  • Step 1216 The connection management service sends a request for activating the mobile network data of the secondary card to the communication framework service.
  • Step 1217 The communication framework service sends a response to the connection management service that the mobile network data of the secondary card is successfully activated.
  • the response carries link information of the mobile network data of the secondary card, and the link information includes the mobile network data of the secondary card. Interface address, IP address and/or DNS server, etc.
  • Step 1218 The connection management service sends a response of successful network establishment to the mobile network sharing service, and sends the link information of the mobile network data of the secondary card to the mobile network sharing service.
  • Step 1219 The mobile network sharing service sets the uplink network card and downlink network card of the second shared hotspot to the network daemon according to the link information of the mobile network data of the above secondary card, sets the secondary card as the uplink network card of the second shared hotspot, and sets the above The second downlink network card is set as the downlink network card of the above-mentioned second shared hotspot.
  • step 1220 the network daemon notifies the kernel driver to set the secondary card as the uplink network card of the second shared hotspot, and set the second downlink network card as the downlink network card of the second shared hotspot.
  • This embodiment provides users with richer capabilities for managing and configuring mobile network sharing.
  • the hotspot sharing device can independently control each hotspot access device to use the main
  • the mobile network data shared by the card or secondary card goes online, and the user can configure different access networks for different hotspot access devices.
  • FIG. 13 is a schematic structural diagram of an embodiment of a mobile network hotspot sharing device according to this application.
  • the above-mentioned mobile network hotspot sharing device may be set in a hotspot sharing device.
  • the above-mentioned mobile network hotspot sharing device 130 may include: Starting module 1301, receiving module 1302, authentication module 1303, access module 1304, and sending module 1305;
  • the receiving module 1302 is configured to receive a connection request for the shared hotspot sent by the hotspot access device after the hotspot sharing is started by the initiating module 1301, the connection request includes the device name of the shared hotspot and the authentication information of the shared hotspot;
  • the authentication module 1303 is configured to authenticate the connection request according to the authentication information
  • the access module 1304 is configured to allow the hotspot access device to access the shared hotspot after the connection request is authenticated;
  • the receiving module 1302 is further configured to receive the data sent by the hotspot access device through the downlink network card of the shared hotspot;
  • the sending module 1305 is configured to send the above data through the uplink network card of the shared hotspot.
  • the uplink network card of the shared hotspot includes the user identification card of the mobile network data activated in the hotspot sharing device, and the mobile network data of the hotspot sharing device has been activated.
  • the user identification card includes the non-default data service card in the above-mentioned hotspot sharing device.
  • the mobile network hotspot sharing device 130 may correspond to the hotspot sharing device 100 shown in FIG. 15.
  • the functions of the activation module 1301, the authentication module 1303, and the access module 1304 can be implemented by the processor 110 in the hotspot sharing device 100 shown in FIG. 15, and the functions of the receiving module 1302 can be implemented by the hotspot sharing device shown in FIG.
  • the wireless communication module 160 in 110 is implemented, and the function of the sending module 1305 can be implemented by the mobile communication module 150 in the hotspot sharing device 110 shown in FIG. 15.
  • the mobile network hotspot sharing device 130 provided in the embodiment shown in FIG. 13 can be used to implement the technical solution of the method embodiment shown in FIG. 1 of the present application. For its implementation principles and technical effects, reference may be made to the relevant description in the method embodiment.
  • FIG. 14 is a schematic structural diagram of another embodiment of a mobile network hotspot sharing device according to this application. Compared with the mobile network hotspot sharing device 130 shown in FIG. 13, the difference is that the mobile network hotspot sharing shown in FIG. 14
  • the activation module 1301 may include: a query submodule 13011, a selection submodule 13012, a creation submodule 13013, an activation submodule 13014, an acquisition submodule 13015, and a setting submodule 13016;
  • the query sub-module 13011 is used to query whether the hotspot sharing device includes at least two user identification cards and whether the hotspot sharing device supports DSDA technology after receiving the hotspot activation instruction; wherein, the at least two user identification cards include Default data service card and non-default data service card;
  • the selection sub-module 13012 is used to select a user identification card for sharing mobile network data when the hotspot sharing device includes at least two user identification cards and supports DSDA technology;
  • the establishment sub-module 13013 is used to initiate a network establishment request when the user identification card selected by the selection sub-module 13012 is a non-default data service card in the above-mentioned hotspot sharing device, and specify the use of the above-mentioned non-default data service in the above-mentioned network establishment request
  • the card is used as an uplink network card for shared hotspots
  • the activation sub-module 13014 is configured to activate the mobile network data of the non-default data service card according to the network establishment request initiated by the establishment sub-module 13013;
  • the obtaining sub-module 13015 is configured to obtain the link information of the mobile network data of the non-default data service card after the activation of the mobile network data of the non-default data service card is successful;
  • the setting submodule 13016 is configured to set the non-default data service card as the uplink network card of the shared hotspot according to the link information of the mobile network data of the non-default data service card.
  • the selection submodule 13012 is specifically used to obtain the setting information of the user who uses the hotspot sharing device from the hotspot on instruction, and the setting information includes the user selected by the user to share mobile network data Identification card: According to the above-mentioned user's setting information, select a user identification card for sharing mobile network data.
  • the selection sub-module 13012 is specifically used to obtain the setting information of the user who uses the hotspot sharing device from the hotspot on instruction, and the setting information includes the smart use of the at least two user identification card sharing Indication information of mobile network data; according to the user’s setting information, when the used bandwidth of the default data service card is greater than or equal to the predetermined bandwidth threshold, or the uplink queue of the default data service card is congested, or the default data service card is When the used bandwidth is less than the predetermined bandwidth threshold, but the uplink queue of the default data service card is congested, if the used traffic of the non-default data service card is less than the predetermined flow threshold, the non-default data service card is selected for mobile network data shared.
  • the shared hotspots activated by the hotspot sharing device include a first shared hotspot and a second shared hotspot, where the uplink network card of the first shared hotspot is the default data service card in the hotspot sharing device, and the second shared hotspot The uplink network card of the hotspot is the non-default data service card in the above-mentioned hotspot sharing device;
  • the device name of the first shared hotspot is different from the device name of the second shared hotspot.
  • the authentication module 1303 is specifically configured to determine whether the device name in the connection request matches the device name of the first shared hotspot or the second shared hotspot; and determine whether the device name in the connection request Whether the authentication information of is matched with the authentication information corresponding to the matched device name;
  • the access module 1304 is specifically configured to obtain a shared hotspot whose device name and authentication information match the device name and authentication information in the connection request, and allow the hotspot access device to access the obtained shared hotspot.
  • the query sub-module 13011 is used to query whether the hotspot sharing device includes at least two user identification cards and whether the hotspot sharing device supports DSDA technology after receiving the hotspot activation instruction; wherein, the at least two user identification cards include Default data service card and non-default data service card;
  • the obtaining submodule 13015 is used to obtain the setting information of the user who uses the hotspot sharing device from the hotspot on instruction when the hotspot sharing device includes at least two user identification cards and supports dual card dual pass technology.
  • the information includes instructions for the user to choose to use the default data service card and non-default data service card to share mobile network data;
  • the establishment sub-module 13013 is configured to initiate a first network establishment request, and specify in the first network establishment request to use the default data service card as the uplink network card of the first shared hotspot; and send the creation of the first downlink network card to the WIFI driver
  • the first downlink network card corresponds to the uplink network card of the first shared hotspot
  • the setting submodule 13016 is configured to set the default data service card as the uplink network card of the first shared hotspot according to the link information of the mobile network data of the default data service card after the creation of the first downlink network card is completed, The first downlink network card is set as the downlink network card of the first shared hotspot.
  • the establishment sub-module 13013 is also used to initiate a second network establishment request after the obtaining sub-module 13015 obtains the setting information of the user who uses the hotspot sharing device from the hotspot-on instruction described above.
  • the second network establishment request specifies the use of the non-default data service card as the uplink network card of the second shared hotspot; and sends a request for creating a second downlink network card to the WIFI driver.
  • the second downlink network card is connected to the second shared hotspot. Uplink network card correspondence;
  • the startup module 1301 may also include:
  • the activation submodule 13014 is configured to activate the mobile network data of the non-default data service card according to the second network establishment request after the creation of the second downlink network card is completed;
  • the obtaining sub-module 13015 is further configured to obtain the link information of the mobile network data of the non-default data service card after the activation of the mobile network data of the non-default data service card is successful;
  • the setting submodule 13016 is further configured to set the non-default data service card as the uplink network card of the second shared hotspot according to the link information of the mobile network data of the non-default data service card, and set the second downlink network card as The downlink network card of the above-mentioned second shared hotspot.
  • the foregoing apparatus may further include: an information acquisition module 1306 and a storage module 1307;
  • the information obtaining module 1306 is configured to obtain the setting information of the user for the hotspot access device after the access module 1304 allows the hotspot access device to access the acquired shared hotspot, and the setting information is used to instruct the hotspot access device Use the above-mentioned first shared hotspot or the above-mentioned second shared hotspot;
  • the storage module 1307 is used to store the above setting information.
  • the access module 1304 is also used to, when the receiving module 1302 receives the connection request of the hotspot access device for the shared hotspot again, according to the information of the hotspot access device and the stored settings Information, it is determined to connect the hotspot access device to the first shared hotspot or the second shared hotspot.
  • the mobile network hotspot sharing device 140 may correspond to the hotspot sharing device 100 shown in FIG. 15.
  • the functions of the activation module 1301, the authentication module 1303, the access module 1304, the information acquisition module 1306, and the storage module 1307, as well as the functions of the sub-modules included in the activation module 1301, can be determined by the functions of the hotspot sharing device 100 shown in FIG. 15
  • the processor 110 implements the function of the receiving module 1302 can be implemented by the wireless communication module 160 in the hotspot sharing device 110 shown in FIG. 15, and the function of the sending module 1305 can be implemented by the mobile communication module in the hotspot sharing device 110 shown in FIG. 15 150 realized.
  • the mobile network hotspot sharing device 140 provided by the embodiment shown in FIG. 14 can be used to implement the technical solutions of the method embodiments shown in FIGS. 2 to 4 of this application. For its implementation principles and technical effects, please refer to the related descriptions in the method embodiments. .
  • each step of the above method or each of the above modules can be completed by an integrated logic circuit of hardware in the processor element or instructions in the form of software.
  • the above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more specific integrated circuits (Application Specific Integrated Circuit; hereinafter referred to as ASIC), or, one or more micro-processing Digital Processor (Digital Singnal Processor; hereinafter referred to as DSP), or, one or more Field Programmable Gate Array (Field Programmable Gate Array; hereinafter referred to as FPGA), etc.
  • ASIC Application Specific Integrated Circuit
  • DSP Digital Singnal Processor
  • FPGA Field Programmable Gate Array
  • these modules can be integrated together and implemented in the form of a System-On-a-Chip (hereinafter referred to as SOC).
  • SOC System-On-a-Chip
  • FIG. 15 is a schematic structural diagram of an embodiment of a hotspot sharing device according to this application.
  • the hotspot sharing device may include: one or more processors; memories; multiple application programs; and one or more computer programs.
  • the above-mentioned hotspot sharing device may be a smart electronic device such as a smart phone, a tablet computer, a smart watch, a wearable device, a smart screen, a drone, an ICV, a smart/intelligent car, or an in-vehicle device.
  • a smart electronic device such as a smart phone, a tablet computer, a smart watch, a wearable device, a smart screen, a drone, an ICV, a smart/intelligent car, or an in-vehicle device.
  • the above-mentioned one or more computer programs are stored in the above-mentioned memory, and the above-mentioned one or more computer programs include instructions.
  • the above-mentioned instructions are executed by the above-mentioned device, the above-mentioned device is caused to perform the following steps: , Receiving a connection request for the shared hotspot sent by the hotspot access device, where the connection request includes the device name of the shared hotspot and the authentication information of the shared hotspot;
  • the uplink network card of the shared hotspot includes the user identification card that has activated mobile network data in the hotspot sharing device
  • the user identification card that has activated mobile network data in the hotspot sharing device includes the non-default data service card in the hotspot sharing device.
  • the step of causing the above device to execute and start hotspot sharing includes:
  • the hotspot sharing device After receiving the hotspot-on command, query whether the hotspot sharing device includes at least two user identification cards, and query whether the hotspot sharing device supports dual-card dual-pass technology; wherein, the above-mentioned at least two user identification cards include default data service cards and Non-default data service card;
  • hotspot sharing device includes at least two user identification cards and supports dual-card dual-pass technology, select the user identification card for sharing mobile network data;
  • the selected user identification card is a non-default data service card in the above-mentioned hotspot sharing device, initiate a network establishment request, and specify the use of the above-mentioned non-default data service card as the uplink network card of the shared hotspot in the above-mentioned network establishment request;
  • the non-default data service card is set as the uplink network card of the shared hotspot.
  • the step of causing the above device to execute the selection of a user identification card for sharing mobile network data includes:
  • the setting information of the user who uses the hotspot sharing device includes the user identification card selected by the user to share mobile network data
  • the user identification card for sharing mobile network data is selected.
  • the step of causing the above device to execute the selection of a user identification card for sharing mobile network data includes:
  • the non-default data service card is selected for mobile network data sharing.
  • the shared hotspots activated by the hotspot sharing device include a first shared hotspot and a second shared hotspot, wherein the uplink network card of the first shared hotspot is the default data service card in the hotspot sharing device, and the second shared hotspot The uplink network card of the shared hotspot is the non-default data service card in the above-mentioned hotspot sharing device;
  • the device name of the first shared hotspot is different from the device name of the second shared hotspot.
  • the step of causing the above device to perform authentication on the connection request according to the authentication information includes:
  • allowing the hotspot access device to access the shared hotspot includes:
  • the step of causing the above device to execute and start hotspot sharing includes:
  • the hotspot sharing device After receiving the hotspot-on command, query whether the hotspot sharing device includes at least two user identification cards, and query whether the hotspot sharing device supports dual-card dual-pass technology; wherein, the above-mentioned at least two user identification cards include default data service cards and Non-default data service card;
  • the hotspot sharing device includes at least two user identification cards and supports dual-card dual-pass technology, obtain the setting information of the user who uses the hotspot sharing device from the hotspot-on instruction, and the setting information includes the user's choice to use The default data service card and the non-default data service card share instructions for mobile network data;
  • the first downlink network card corresponds to the above-mentioned uplink network card of the first shared hotspot;
  • the default data service card is set as the uplink network card of the first shared hotspot
  • the first downlink network card is set to Set as the downlink network card of the above-mentioned first shared hotspot.
  • Initiate a second network establishment request specify in the second network establishment request that the non-default data service card is used as the uplink network card of the second shared hotspot; and send a request to the WIFI driver to create a second downlink network card, the second The downlink network card corresponds to the uplink network card of the above-mentioned second shared hotspot;
  • the mobile network data of the non-default data service card is activated
  • the non-default data service card is set as the uplink network card of the second shared hotspot
  • the second downlink network card is set as the downlink network card of the second shared hotspot.
  • the above device when the above instruction is executed by the above device, the above device further executes the following steps:
  • connection request of the hotspot access device for the shared hotspot is received again, it is determined to connect the hotspot access device to the first shared hotspot or the second shared hotspot according to the information of the hotspot access device and the stored setting information. Hotspot.
  • the hotspot sharing device shown in FIG. 15 may be an electronic device or a circuit device built in the above-mentioned electronic device.
  • the device can be used to execute the functions/steps in the methods provided in the embodiments shown in FIGS. 1 to 4 of this application.
  • FIG. 15 shows a schematic diagram of the structure of the hotspot sharing device 100.
  • the hotspot sharing device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (Universal Serial Bus; hereinafter referred to as USB) interface 130, a charging management module 140, a power management module 141, a battery 142, and an antenna 1.
  • Antenna 2 mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone jack 170D, sensor module 180, buttons 190, motor 191, indicator 192, camera 193, display Screen 194, and SIM card interface 195, etc.
  • the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and ambient light Sensor 180L, bone conduction sensor 180M, etc.
  • the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the hotspot sharing device 100.
  • the hotspot sharing device 100 may include more or fewer components than shown, or combine certain components, or split certain components, or arrange different components.
  • the illustrated components can be implemented in hardware, software, or a combination of software and hardware.
  • the processor 110 may include one or more processing units.
  • the processor 110 may include an application processor (Application Processor; hereinafter referred to as AP), a modem processor, and a graphics processor (Graphics Processing Unit; hereinafter referred to as GPU). ), image signal processor (Image Signal Processor; hereinafter referred to as ISP), controller, video codec, digital signal processor (Digital Signal Processor; hereinafter referred to as DSP), baseband processor, and/or neural network processing Neural-network Processing Unit (hereinafter referred to as: NPU), etc.
  • the different processing units may be independent devices or integrated in one or more processors.
  • the controller can generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching instructions and executing instructions.
  • a memory may also be provided in the processor 110 to store instructions and data.
  • the memory in the processor 110 is a cache memory.
  • the memory can store instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. Repeated accesses are avoided, the waiting time of the processor 110 is reduced, and the efficiency of the system is improved.
  • the processor 110 may include one or more interfaces.
  • Interfaces can include integrated circuit (Inter-integrated Circuit; hereinafter referred to as: I2C) interface, integrated circuit built-in audio (Inter-integrated Circuit Sound; hereinafter referred to as: I2S) interface, Pulse Code Modulation (Pulse Code Modulation; hereinafter referred to as: PCM) interface , Universal Asynchronous Receiver/Transmitter (hereinafter referred to as UART) interface, Mobile Industry Processor Interface (hereinafter referred to as MIPI), General-Purpose Input/Output; hereinafter referred to as : GPIO) interface, subscriber identity module (Subscriber Identity Module; hereinafter referred to as SIM) interface, and/or Universal Serial Bus (Universal Serial Bus; hereinafter referred to as USB) interface, etc.
  • I2C integrated circuit
  • I2S integrated circuit built-in audio
  • PCM Pulse Code Modulation
  • UART Universal Asynchronous Receiver/Transmitter
  • MIPI
  • the I2C interface is a two-way synchronous serial bus, including a serial data line (Serial Data Line; hereinafter referred to as SDA) and a serial clock line (Derail Clock Line; hereinafter referred to as SCL).
  • the processor 110 may include multiple sets of I2C buses.
  • the processor 110 may be coupled to the touch sensor 180K, charger, flash, camera 193, etc., respectively through different I2C bus interfaces.
  • the processor 110 may couple the touch sensor 180K through an I2C interface, so that the processor 110 and the touch sensor 180K communicate through an I2C bus interface to implement the touch function of the hotspot sharing device 100.
  • the I2S interface can be used for audio communication.
  • the processor 110 may include multiple sets of I2S buses.
  • the processor 110 may be coupled with the audio module 170 through an I2S bus to implement communication between the processor 110 and the audio module 170.
  • the audio module 170 may transmit audio signals to the wireless communication module 160 through an I2S interface, so as to realize the function of answering calls through a Bluetooth headset.
  • the PCM interface can also be used for audio communication to sample, quantize and encode analog signals.
  • the audio module 170 and the wireless communication module 160 may be coupled through a PCM bus interface.
  • the audio module 170 may also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to realize the function of answering calls through the Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
  • the UART interface is a universal serial data bus used for asynchronous communication.
  • the bus can be a two-way communication bus. It converts the data to be transmitted between serial communication and parallel communication.
  • the UART interface is generally used to connect the processor 110 and the wireless communication module 160.
  • the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to realize the Bluetooth function.
  • the audio module 170 may transmit audio signals to the wireless communication module 160 through a UART interface, so as to realize the function of playing music through a Bluetooth headset.
  • the MIPI interface can be used to connect the processor 110 with the display screen 194, the camera 193 and other peripheral devices.
  • MIPI interfaces include camera serial interface (Camera Serial Interface; hereinafter referred to as CSI), display serial interface (Display Serial Interface; hereinafter referred to as DSI), etc.
  • the processor 110 and the camera 193 communicate through a CSI interface to implement the shooting function of the hotspot sharing device 100.
  • the processor 110 and the display screen 194 communicate through a DSI interface to realize the display function of the hotspot sharing device 100.
  • the GPIO interface can be configured through software.
  • the GPIO interface can be configured as a control signal or as a data signal.
  • the GPIO interface can be used to connect the processor 110 with the camera 193, the display screen 194, the wireless communication module 160, the audio module 170, the sensor module 180, and so on.
  • the GPIO interface can also be configured as an I2C interface, I2S interface, UART interface, MIPI interface, etc.
  • the USB interface 130 is an interface that complies with the USB standard specification, and specifically may be a Mini USB interface, a Micro USB interface, a USB Type C interface, and so on.
  • the USB interface 130 can be used to connect a charger to charge the hotspot sharing device 100, and can also be used to transfer data between the hotspot sharing device 100 and peripheral devices. It can also be used to connect earphones and play audio through earphones. This interface can also be used to connect other electronic devices, such as AR devices.
  • the interface connection relationship between the modules illustrated in the embodiment of the present application is merely a schematic description, and does not constitute a structural limitation of the hotspot sharing device 100.
  • the hotspot sharing device 100 may also adopt different interface connection modes or a combination of multiple interface connection modes in the foregoing embodiments.
  • the charging management module 140 is used to receive charging input from the charger.
  • the charger can be a wireless charger or a wired charger.
  • the charging management module 140 may receive the charging input of the wired charger through the USB interface 130.
  • the charging management module 140 may receive the wireless charging input through the wireless charging coil of the hotspot sharing device 100. While the charging management module 140 charges the battery 142, it can also supply power to the electronic device through the power management module 141.
  • the power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110.
  • the power management module 141 receives input from the battery 142 and/or the charge management module 140, and supplies power to the processor 110, the internal memory 121, the display screen 194, the camera 193, and the wireless communication module 160.
  • the power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, and battery health status (leakage, impedance).
  • the power management module 141 may also be provided in the processor 110.
  • the power management module 141 and the charging management module 140 may also be provided in the same device.
  • the wireless communication function of the hotspot sharing device 100 can be realized by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, and the baseband processor.
  • the antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in the hotspot sharing device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • Antenna 1 can be multiplexed as a diversity antenna of a wireless local area network.
  • the antenna can be used in combination with a tuning switch.
  • the mobile communication module 150 may provide a wireless communication solution including 2G/3G/4G/5G and the like applied to the hotspot sharing device 100.
  • the mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (Low Noise Amplifier; hereinafter referred to as LNA), etc.
  • LNA Low Noise Amplifier
  • the mobile communication module 150 can receive electromagnetic waves by the antenna 1, and perform processing such as filtering, amplifying and transmitting the received electromagnetic waves to the modem processor for demodulation.
  • the mobile communication module 150 can also amplify the signal modulated by the modem processor, and convert it into electromagnetic waves for radiation via the antenna 1.
  • at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110.
  • at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be provided in the same device.
  • the modem processor may include a modulator and a demodulator.
  • the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal.
  • the demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing.
  • the application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays an image or video through the display screen 194.
  • the modem processor may be an independent device.
  • the modem processor may be independent of the processor 110 and be provided in the same device as the mobile communication module 150 or other functional modules.
  • the wireless communication module 160 can provide wireless local area networks (Wireless Local Area Networks; hereinafter referred to as WLAN) (such as wireless fidelity (Wireless Fidelity; hereinafter referred to as: Wi-Fi network), Bluetooth (Bluetooth; Hereinafter referred to as: BT), Global Navigation Satellite System (Global Navigation Satellite System; hereinafter referred to as: GNSS), Frequency Modulation (Frequency Modulation; hereinafter referred to as: FM), Near Field Communication (Near Field Communication; hereinafter referred to as: NFC), infrared Technology (Infrared; hereinafter referred to as: IR) and other wireless communication solutions.
  • the wireless communication module 160 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signals, and Filtering processing, sending the processed signal to the processor 110.
  • the wireless communication module 160 can also receive the signal to be sent from the processor 110, perform frequency modulation, amplify it, and convert it to electromagnetic wave radiation via the antenna 2.
  • the antenna 1 of the hotspot sharing device 100 is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the hotspot sharing device 100 can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technology may include the Global System for Mobile Communications (Global System for Mobile Communications; hereinafter referred to as GSM), General Packet Radio Service (hereinafter referred to as GPRS), and Code Division Multiple Access (Code Division Multiple Access).
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • TD-SCDMA time division code division multiple access
  • LTE Long-term evolution
  • the GNSS may include Global Positioning System (Global Positioning System; hereinafter referred to as GPS), Global Navigation Satellite System (Global Navigation Satellite System; hereinafter referred to as GLONASS), Beidou Navigation Satellite System (hereinafter referred to as BDS) ), Quasi-Zenith Satellite System (Quasi-Zenith Satellite System; hereinafter referred to as QZSS) and/or Satellite Based Augmentation Systems (hereinafter referred to as SBAS).
  • GPS Global Positioning System
  • GLONASS Global Navigation Satellite System
  • BDS Beidou Navigation Satellite System
  • QZSS Quasi-Zenith Satellite System
  • SBAS Satellite Based Augmentation Systems
  • the hotspot sharing device 100 implements a display function through a GPU, a display screen 194, an application processor, and the like.
  • the GPU is an image processing microprocessor, which is connected to the display screen 194 and the application processor.
  • the GPU is used to perform mathematical and geometric calculations and is used for graphics rendering.
  • the processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
  • the display screen 194 is used to display images, videos, and the like.
  • the display screen 194 includes a display panel.
  • the display panel can be a liquid crystal display (Liquid Crystal Display; hereinafter referred to as LCD), organic light-emitting diode (Organic Light-Emitting Diode; hereinafter referred to as OLED), active matrix organic light emitting diode or active matrix organic light emitting diode (Active-Matrix Organic Light Emitting Diode; hereinafter referred to as AMOLED), Flexible Light-Emitting Diode (Flex Light-Emitting Diode; hereinafter referred to as: FLED), Miniled, MicroLed, Micro-oLed, Quantum Dot Light Emitting Diodes; Hereinafter referred to as: QLED) and so on.
  • the hotspot sharing device 100 may include one or N display screens 194, and N is a positive integer greater than one.
  • the hotspot sharing device 100 can realize a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.
  • the ISP is used to process the data fed back from the camera 193. For example, when taking a picture, the shutter is opened, the light is transmitted to the photosensitive element of the camera through the lens, the light signal is converted into an electrical signal, and the photosensitive element of the camera transmits the electrical signal to the ISP for processing and is converted into an image visible to the naked eye.
  • ISP can also optimize the image noise, brightness, and skin color. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene.
  • the ISP may be provided in the camera 193.
  • the camera 193 is used to capture still images or videos.
  • the object generates an optical image through the lens and is projected to the photosensitive element.
  • the photosensitive element may be a Charge Coupled Device (hereinafter referred to as CCD) or a Complementary Metal-Oxide-Semiconductor (hereinafter referred to as CMOS) phototransistor.
  • CCD Charge Coupled Device
  • CMOS Complementary Metal-Oxide-Semiconductor
  • the photosensitive element converts the optical signal into an electrical signal, and then transfers the electrical signal to the ISP to convert it into a digital image signal.
  • ISP outputs digital image signals to DSP for processing.
  • DSP converts digital image signals into standard RGB, YUV and other formats of image signals.
  • the hotspot sharing device 100 may include 1 or N cameras 193, and N is a positive integer greater than 1.
  • Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals. For example, when the hotspot sharing device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the energy of the frequency point.
  • Video codecs are used to compress or decompress digital video.
  • the hotspot sharing device 100 may support one or more video codecs. In this way, the hotspot sharing device 100 can play or record videos in multiple encoding formats, for example: Moving Picture Experts Group (hereinafter referred to as MPEG)1, MPEG2, MPEG3, MPEG4, etc.
  • MPEG Moving Picture Experts Group
  • MPEG2 MPEG2, MPEG3, MPEG4, etc.
  • NPU is a neural network (Neural-Network; hereinafter referred to as: NN) computing processor.
  • NN neural network
  • applications such as intelligent cognition of the hotspot sharing device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, and so on.
  • the external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, so as to expand the storage capacity of the hotspot sharing device 100.
  • the external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example, save music, video and other files in an external memory card.
  • the internal memory 121 may be used to store computer executable program code, where the executable program code includes instructions.
  • the internal memory 121 may include a storage program area and a storage data area.
  • the storage program area can store an operating system and at least one application program required by a function (such as a sound playback function, an image playback function, etc.).
  • the storage data area can store data (such as audio data, phone book, etc.) created during the use of the hotspot sharing device 100.
  • the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash storage (Universal Flash Storage; UFS), etc.
  • the processor 110 executes various functional applications and data processing of the hotspot sharing device 100 by running instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
  • the hotspot sharing device 100 can implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone interface 170D, and an application processor. For example, music playback, recording, etc.
  • the audio module 170 is used to convert digital audio information into an analog audio signal for output, and is also used to convert an analog audio input into a digital audio signal.
  • the audio module 170 can also be used to encode and decode audio signals.
  • the audio module 170 may be provided in the processor 110, or part of the functional modules of the audio module 170 may be provided in the processor 110.
  • the speaker 170A also called “speaker” is used to convert audio electrical signals into sound signals.
  • the hotspot sharing device 100 can listen to music through the speaker 170A, or listen to a hands-free call.
  • the receiver 170B also called “earpiece” is used to convert audio electrical signals into sound signals.
  • the hotspot sharing device 100 answers a call or voice message, it can receive the voice by bringing the receiver 170B close to the human ear.
  • the microphone 170C also called “microphone”, “microphone”, is used to convert sound signals into electrical signals.
  • the user can make a sound by approaching the microphone 170C through the human mouth, and input the sound signal into the microphone 170C.
  • the hotspot sharing device 100 may be provided with at least one microphone 170C. In other embodiments, the hotspot sharing device 100 can be provided with two microphones 170C, which can implement noise reduction functions in addition to collecting sound signals. In other embodiments, the hotspot sharing device 100 may also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and realize directional recording functions.
  • the earphone interface 170D is used to connect wired earphones.
  • the earphone interface 170D can be a USB interface 130 or a 3.5mm Open Mobile Terminal Platform (Open Mobile Terminal Platform; hereinafter referred to as OMTP) standard interface, Cellular Telecommunications Industry Association of the USA; hereinafter referred to as : CTIA) standard interface.
  • OMTP Open Mobile Terminal Platform
  • CTIA Cellular Telecommunications Industry Association of the USA
  • the pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal.
  • the pressure sensor 180A may be provided on the display screen 194.
  • the capacitive pressure sensor may include at least two parallel plates with conductive materials. When a force is applied to the pressure sensor 180A, the capacitance between the electrodes changes.
  • the hotspot sharing device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the hotspot sharing device 100 detects the intensity of the touch operation according to the pressure sensor 180A.
  • the hotspot sharing device 100 may also calculate the touched position based on the detection signal of the pressure sensor 180A.
  • touch operations that act on the same touch position but have different touch operation strengths may correspond to different operation instructions. For example: when a touch operation whose intensity of the touch operation is less than the first pressure threshold is applied to the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.
  • the gyroscope sensor 180B may be used to determine the motion posture of the hotspot sharing device 100.
  • the angular velocity of the hotspot sharing device 100 around three axes ie, x, y, and z axes
  • the gyro sensor 180B can be used for image stabilization.
  • the gyro sensor 180B detects the jitter angle of the hotspot sharing device 100, and calculates the distance that the lens module needs to compensate based on the angle, so that the lens can counteract the jitter of the hotspot sharing device 100 through reverse motion, so as to prevent the jitter of the hotspot sharing device 100. shake.
  • the gyro sensor 180B can also be used for navigation and somatosensory game scenes.
  • the air pressure sensor 180C is used to measure air pressure.
  • the hotspot sharing device 100 calculates the altitude based on the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.
  • the magnetic sensor 180D includes a Hall sensor.
  • the hotspot sharing device 100 may use the magnetic sensor 180D to detect the opening and closing of the flip holster.
  • the hotspot sharing device 100 can detect the opening and closing of the flip according to the magnetic sensor 180D.
  • features such as automatic unlocking of the flip cover are set.
  • the acceleration sensor 180E can detect the magnitude of the acceleration of the hotspot sharing device 100 in various directions (generally three axes). When the hotspot sharing device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of electronic devices, and apply to applications such as horizontal and vertical screen switching, pedometers, and so on.
  • the hotspot sharing device 100 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the hotspot sharing device 100 may use the distance sensor 180F to measure the distance to achieve fast focusing.
  • the proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector such as a photodiode.
  • the light emitting diode may be an infrared light emitting diode.
  • the hotspot sharing device 100 emits infrared light to the outside through the light emitting diode.
  • the hotspot sharing device 100 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the hotspot sharing device 100. When insufficient reflected light is detected, the hotspot sharing device 100 can determine that there is no object near the hotspot sharing device 100.
  • the hotspot sharing device 100 can use the proximity light sensor 180G to detect that the user holds the hotspot sharing device 100 close to the ear to talk, so as to automatically turn off the screen to save power.
  • the proximity light sensor 180G can also be used in leather case mode, and the pocket mode will automatically unlock and lock the screen.
  • the ambient light sensor 180L is used to sense the brightness of the ambient light.
  • the hotspot sharing device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived brightness of the ambient light.
  • the ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures.
  • the ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the hotspot sharing device 100 is in a pocket to prevent accidental touch.
  • the fingerprint sensor 180H is used to collect fingerprints.
  • the hotspot sharing device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locks, fingerprint photos, fingerprint answering calls, and so on.
  • the temperature sensor 180J is used to detect temperature.
  • the hotspot sharing device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold value, the hotspot sharing device 100 performs performance reduction of the processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection.
  • the hotspot sharing device 100 heats the battery 142 to prevent the hotspot sharing device 100 from shutting down abnormally due to low temperature.
  • the hotspot sharing device 100 boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
  • Touch sensor 180K also called “touch device”.
  • the touch sensor 180K may be disposed on the display screen 194, and the touch screen is composed of the touch sensor 180K and the display screen 194, which is also called a “touch screen”.
  • the touch sensor 180K is used to detect touch operations acting on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • the display screen 194 may provide visual output related to touch operations.
  • the touch sensor 180K may also be disposed on the surface of the hotspot sharing device 100, which is different from the display screen 194.
  • the bone conduction sensor 180M can acquire vibration signals.
  • the bone conduction sensor 180M can obtain the vibration signal of the vibrating bone mass of the human voice.
  • the bone conduction sensor 180M can also contact the human pulse and receive the blood pressure pulse signal.
  • the bone conduction sensor 180M may also be provided in the earphone, combined with the bone conduction earphone.
  • the audio module 170 can parse the voice signal based on the vibration signal of the vibrating bone block of the voice obtained by the bone conduction sensor 180M, and realize the voice function.
  • the application processor can analyze the heart rate information based on the blood pressure beating signal obtained by the bone conduction sensor 180M, and realize the heart rate detection function.
  • the button 190 includes a power-on button, a volume button, and so on.
  • the button 190 may be a mechanical button. It can also be a touch button.
  • the hotspot sharing device 100 may receive key input, and generate key signal inputs related to user settings and function control of the hotspot sharing device 100.
  • the motor 191 can generate vibration prompts.
  • the motor 191 can be used for incoming call vibration notification, and can also be used for touch vibration feedback.
  • touch operations applied to different applications can correspond to different vibration feedback effects.
  • Acting on touch operations in different areas of the display screen 194, the motor 191 can also correspond to different vibration feedback effects.
  • Different application scenarios for example: time reminding, receiving information, alarm clock, games, etc.
  • the touch vibration feedback effect can also support customization.
  • the indicator 192 may be an indicator light, which may be used to indicate the charging status, power change, or to indicate messages, missed calls, notifications, and so on.
  • the SIM card interface 195 is used to connect to the SIM card.
  • the SIM card can be inserted into the SIM card interface 195 or pulled out from the SIM card interface 195 to achieve contact and separation with the hotspot sharing device 100.
  • the hotspot sharing device 100 may support 1 or N SIM card interfaces, and N is a positive integer greater than 1.
  • the SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, etc.
  • the same SIM card interface 195 can insert multiple cards at the same time. The types of the multiple cards can be the same or different.
  • the SIM card interface 195 can also be compatible with different types of SIM cards.
  • the SIM card interface 195 may also be compatible with external memory cards.
  • the hotspot sharing device 100 interacts with the network through a SIM card to implement functions such as call and data communication.
  • the hotspot sharing device 100 uses an eSIM, that is, an embedded SIM card.
  • the eSIM card can be embedded in the hotspot sharing device 100 and cannot be separated from the hotspot sharing device 100.
  • This application also provides a hotspot sharing device.
  • the device includes a storage medium and a central processing unit.
  • the storage medium may be a non-volatile storage medium.
  • the storage medium stores a computer executable program.
  • the central processing unit It is connected to the non-volatile storage medium and executes the computer executable program to implement the methods provided by the embodiments shown in FIGS. 1 to 4 of this application.
  • the embodiment of the present application also provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when it runs on a computer, the computer executes the functions provided by the embodiments shown in Figs. 1 to 4 of the present application. method.
  • the embodiments of the present application also provide a computer program product.
  • the computer program product includes a computer program that, when running on a computer, causes the computer to execute the method provided in the embodiments shown in FIGS. 1 to 4 of the present application.
  • At least one refers to one or more
  • multiple refers to two or more.
  • And/or describes the association relationship of the associated objects, indicating that there can be three types of relationships, for example, A and/or B, which can mean the situation where A exists alone, A and B exist at the same time, and B exists alone. Among them, A and B can be singular or plural.
  • the character “/” generally indicates that the associated objects before and after are in an “or” relationship.
  • the following at least one item” and similar expressions refer to any combination of these items, including any combination of single items or plural items.
  • At least one of a, b, and c can mean: a, b, c, a and b, a and c, b and c, or a and b and c, where a, b, and c can be single, or There can be more than one.
  • any function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium.
  • the technical solution of the present application essentially or the part that contributes to the existing technology or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory; hereinafter referred to as ROM), random access memory (Random Access Memory; hereinafter referred to as RAM), magnetic disks or optical disks, etc.
  • ROM read-only memory
  • RAM random access memory
  • magnetic disks or optical disks etc.

Landscapes

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

Abstract

本申请实施例提供一种移动网络热点的共享方法、装置和热点共享设备,上述移动网络热点的共享方法中,在启动热点共享之后,接收热点接入设备发送的针对共享热点的连接请求,对上述连接请求进行鉴权,在连接请求通过鉴权之后,允许热点接入设备接入共享热点。然后,热点共享设备接收热点接入设备发送的数据,通过共享热点的上行网卡发送上述数据,其中,上述共享热点的上行网卡包括热点共享设备中已激活移动网络数据的用户识别卡,而已激活移动网络数据的用户识别卡包括非默认数据业务卡,也就是说,热点共享设备可以使用非默认数据业务卡作为共享热点的上行网卡,从而可以为用户提供更多的移动热点共享方式,减小了共享热点对用户上网体验的影响。

Description

移动网络热点的共享方法、装置和热点共享设备
本申请要求于2020年3月3日提交中国专利局、申请号为202010139029.3、发明名称为“移动网络热点的共享方法、装置和热点共享设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请实施例涉及智能终端技术领域,特别涉及一种移动网络热点的共享方法、装置和热点共享设备。
背景技术
通信技术中,终端产品一般分为双卡双待(Dual Sim Dual Standby;以下简称:DSDS)与双卡双通(Dual Sim Dual Active;以下简称:DSDA)两类,通常来讲,双卡双通依赖于两个调制解调器(modem)分别处理主卡与副卡的通信请求,在硬件层面会造成更高的成本,因此,当前的智能终端芯片市场中,一般不提供双卡双通的芯片解决方案。
基于5G芯片平台,可以实现主卡与副卡使用不同的通信天线,达到主卡和副卡的移动数据业务同时激活在线的效果,即在逻辑层面实现双卡双通DSDA技术。
移动网络共享技术(Tethering)是指将移动设备所连接的蜂窝网络或者无线保真(Wireless Fidelity;以下简称:WIFI)网络通过无线或者有线的方式分享给其他设备使用,通常将移动网络共享称为移动热点(Mobile Hotspot)。
目前各主流移动平台均支持移动热点技术,但是现有技术在移动热点共享时选择上行网卡的策略单一,只能选择系统默认数据业务(Default Data Sub;以下简称:DDS)所在的网卡作为上行网卡,用户在自己使用移动数据网络的同时还要将这部分带宽共享给其他设备,其他设备接入后会占用用户的上行带宽,从而影响用户的上网体验。
发明内容
本申请实施例提供了一种移动网络热点的共享方法、装置和热点共享设备,本申请实施例还提供一种计算机可读存储介质,以实现选择默认数据业务卡和/或非默认数据业务卡作为共享热点的上行网卡,从而为用户提供更多的移动热点共享方式,减小了共享热点对用户上网体验的影响。
第一方面,本申请实施例提供了一种移动网络热点的共享方法,包括:在热点共享设备启动热点共享之后,接收热点接入设备发送的针对共享热点的连接请求,上述连接请求中包括上述共享热点的设备名称和上述共享热点的鉴权信息;其中,上述热点共享设备可以为智能手机、平板电脑、智能手表、可穿戴设备、智慧屏、无人机、智能网联车(Intelligent Connected Vehicle;以下简称:ICV)、智能(汽) 车(smart/intelligent car)或车载设备等智能电子设备;同样,上述热点接入设备也可以为智能手机、平板电脑、智能手表、可穿戴设备、智慧屏、无人机、ICV、智能(汽)车(smart/intelligent car)或车载设备等智能电子设备;本实施例对上述热点共享设备和上述热点接入设备的具体形式不作限定;上述共享热点的鉴权信息可以为密码、密钥、证书和/或生物特征等信息,本实施例对上述鉴权信息的具体形式不作限定;根据上述鉴权信息对上述连接请求进行鉴权;在上述连接请求通过鉴权之后,允许上述热点接入设备接入上述共享热点;通过上述共享热点的下行网卡接收上述热点接入设备发送的数据,通过上述共享热点的上行网卡发送上述数据,上述共享热点的上行网卡包括上述热点共享设备中已激活移动网络数据的用户识别卡,上述热点共享设备中已激活移动网络数据的用户识别卡包括上述热点共享设备中的非默认数据业务卡。
其中,上述用户识别卡可以为用户识别模块(Subscriber Identity Module;以下简称:SIM)卡、用户标识模块(User Identity Model;以下简称:UIM)卡或全球用户识别模块(Universal Subscriber Identity Module;以下简称:USIM)卡,本实施例对上述用户识别卡的具体形式不作限定。
上述移动网络热点的共享方法中,在热点共享设备启动热点共享之后,热点共享设备接收热点接入设备发送的针对共享热点的连接请求,根据上述连接请求中的鉴权信息对上述连接请求进行鉴权,在上述连接请求通过鉴权之后,热点共享设备允许上述热点接入设备接入上述共享热点。在热点接入设备接入上述共享热点之后,热点共享设备通过上述共享热点的下行网卡接收上述热点接入设备发送的数据,通过上述共享热点的上行网卡发送上述数据,其中,上述共享热点的上行网卡包括上述热点共享设备中已激活移动网络数据的用户识别卡,而上述热点共享设备中已激活移动网络数据的用户识别卡包括上述热点共享设备中的非默认数据业务卡,也就是说,热点共享设备可以使用非默认数据业务卡作为共享热点的上行网卡,从而可以为用户提供更多的移动热点共享方式,减小了共享热点对用户上网体验的影响。
其中一种可能的实现方式中,热点共享设备启动热点共享包括:接收开启热点指令之后,查询上述热点共享设备中是否包括至少两张用户识别卡,以及查询上述热点共享设备是否支持双卡双通技术;其中,上述至少两张用户识别卡包括默认数据业务卡和非默认数据业务卡;如果上述热点共享设备中包括至少两张用户识别卡,并且支持双卡双通技术,则选择共享移动网络数据的用户识别卡;如果所选择的用户识别卡为上述热点共享设备中的非默认数据业务卡,则发起网络建立请求,并在上述网络建立请求中指定使用上述非默认数据业务卡作为共享热点的上行网卡;根据上述网络建立请求,激活上述非默认数据业务卡的移动网络数据;在上述非默认数据业务卡的移动网络数据激活成功之后,获取上述非默认数据业务卡的移动网络数据的链路信息;根据上述非默认数据业务卡的移动网络数据的链路信息,将上述非默认数据业务卡设置为上述共享热点的上行网卡。
本实现方式中,使用上述非默认数据业务卡作为上述共享热点的上行网卡,使用WIFI的物理网卡作为下行网卡;也就是说,使用非默认数据业务卡作为连接到Internet的实际网卡,这样就可以实现用户自己使用默认数据业务卡的流量,将非默 认数据业务卡的流量共享给其他热点接入设备,这样热点接入设备接入共享热点之后,也不会影响用户自身的上网带宽和流量,减小了共享热点对用户上网体验的影响。
其中一种可能的实现方式中,选择共享移动网络数据的用户识别卡包括:从上述开启热点指令中获取使用上述热点共享设备的用户的设置信息,上述设置信息中包括上述用户选择的共享移动网络数据的用户识别卡;根据上述用户的设置信息,选择共享移动网络数据的用户识别卡。
其中一种可能的实现方式中,选择共享移动网络数据的用户识别卡包括:从上述开启热点指令中获取使用上述热点共享设备的用户的设置信息,上述设置信息中包括智能使用上述至少两张用户识别卡共享移动网络数据的指示信息;根据上述用户的设置信息,当上述默认数据业务卡已使用带宽大于或等于预定的带宽阈值,或者上述默认数据业务卡的上行队列发生拥塞,或者上述默认数据业务卡已使用带宽小于预定的带宽阈值,但上述默认数据业务卡的上行队列发生拥塞时,如果上述非默认数据业务卡已使用的流量小于预定的流量阈值,则选择非默认数据业务卡进行移动网络数据的共享。
其中,上述预定的带宽阈值可以在具体实现时,根据系统性能和/或实现需求等自行设定,本实施例对上述预定的带宽阈值的大小不作限定,举例来说,上述预定的带宽阈值可以为默认数据业务卡总带宽的50%。
上述预定的流量阈值也可以在具体实现时,根据系统性能和/或实现需求等自行设定,本实施例对上述预定的流量阈值的大小不作限定,其中,上述非默认数据业务卡已使用的流量小于预定的流量阈值可以包括:上述非默认数据业务卡已使用的流量未达到用户设置的流量阈值,并且上述非默认数据业务卡当天已使用的流量小于预定的流量阈值。
其中一种可能的实现方式中,热点共享设备启动的共享热点包括第一共享热点和第二共享热点,其中第一共享热点的上行网卡为上述热点共享设备中的默认数据业务卡,第二共享热点的上行网卡为上述热点共享设备中的非默认数据业务卡;第一共享热点的设备名称与第二共享热点的设备名称不同。
其中一种可能的实现方式中,根据上述鉴权信息对上述连接请求进行鉴权包括:判断上述连接请求中的设备名称是否与上述第一共享热点或上述第二共享热点的设备名称相匹配;以及判断上述连接请求中的鉴权信息是否与匹配的设备名称对应的鉴权信息相匹配;在上述连接请求通过鉴权之后,允许上述热点接入设备接入上述共享热点包括:获取设备名称和鉴权信息与上述连接请求中的设备名称和鉴权信息相匹配的共享热点;允许上述热点接入设备接入获取的共享热点。
其中一种可能的实现方式中,热点共享设备启动热点共享包括:接收开启热点指令之后,查询上述热点共享设备中是否包括至少两张用户识别卡,以及查询上述热点共享设备是否支持双卡双通技术;其中,上述至少两张用户识别卡包括默认数据业务卡和非默认数据业务卡;如果上述热点共享设备中包括至少两张用户识别卡,并且支持双卡双通技术,则从上述开启热点指令中获取使用上述热点共享设备的用户的设置信息,上述设置信息中包括上述用户选择使用默认数据业务卡和非默认数 据业务卡共享移动网络数据的指示信息;发起第一网络建立请求,在上述第一网络建立请求中指定使用上述默认数据业务卡作为上述第一共享热点的上行网卡;以及向无线保真WIFI驱动发送创建第一下行网卡的请求,上述第一下行网卡与上述第一共享热点的上行网卡对应;在上述第一下行网卡创建完成之后,根据上述默认数据业务卡的移动网络数据的链路信息,将上述默认数据业务卡设置为上述第一共享热点的上行网卡,将上述第一下行网卡设置为上述第一共享热点的下行网卡。
其中一种可能的实现方式中,从上述开启热点指令中获取使用上述热点共享设备的用户的设置信息之后,还包括:发起第二网络建立请求,在上述第二网络建立请求中指定使用上述非默认数据业务卡作为上述第二共享热点的上行网卡;以及向上述WIFI驱动发送创建第二下行网卡的请求,上述第二下行网卡与上述第二共享热点的上行网卡对应;在上述第二下行网卡创建完成之后,根据上述第二网络建立请求,激活上述非默认数据业务卡的移动网络数据;在上述非默认数据业务卡的移动网络数据激活成功之后,获取上述非默认数据业务卡的移动网络数据的链路信息;根据上述非默认数据业务卡的移动网络数据的链路信息,将上述非默认数据业务卡设置为上述第二共享热点的上行网卡,将上述第二下行网卡设置为上述第二共享热点的下行网卡。
其中一种可能的实现方式中,允许上述热点接入设备接入获取的共享热点之后,还包括:获取上述用户针对上述热点接入设备的设置信息,上述设置信息用于指示上述热点接入设备使用上述第一共享热点或上述第二共享热点;存储上述设置信息。
其中一种可能的实现方式中,上述方法还包括:如果再次接收到上述热点接入设备针对共享热点的连接请求,则根据上述热点接入设备的信息和存储的上述设置信息,确定将上述热点接入设备接入上述第一共享热点或上述第二共享热点。
其中,上述热点接入设备的信息可以为上述热点接入设备的名称或标识,上述热点接入设备的标识可以为上述热点接入设备的国际移动设备识别码(International Mobile Equipment Identity;以下简称:IMEI)。
也就是说,对于已经接入共享热点的热点接入设备,用户可以在已连接设备的管理界面中自行设置将某个热点接入设备接入第一共享热点或第二共享热点。另外,对用户已经进行设置过的热点接入设备,可以存储用户的设置信息,这样,在该热点接入设备下次连接时,就可以根据上述热点接入设备的信息(例如:上述热点接入设备的名称或标识)和已存储的设置信息自动为其分配第一共享热点或第二共享热点。
第二方面,本申请实施例还提供一种移动网络热点的共享装置,设置在热点共享设备中,上述移动网络热点的共享装置包括:启动模块,用于启动热点共享;接收模块,用于在上述启动模块启动热点共享之后,接收热点接入设备发送的针对共享热点的连接请求,上述连接请求中包括上述共享热点的设备名称和上述共享热点的鉴权信息;鉴权模块,用于根据上述鉴权信息对上述连接请求进行鉴权;接入模块,用于在上述连接请求通过鉴权之后,允许上述热点接入设备接入上述共享热点;接收模块,还用于通过上述共享热点的下行网卡接收上述热点接入设备发送的数据;发送模块,用于通过上述共享热点的上行网卡发送上述数据,上述共享热点的上行 网卡包括上述热点共享设备中已激活移动网络数据的用户识别卡,上述热点共享设备中已激活移动网络数据的用户识别卡包括上述热点共享设备中的非默认数据业务卡。
其中一种可能的实现方式中,启动模块包括:查询子模块,用于在接收开启热点指令之后,查询上述热点共享设备中是否包括至少两张用户识别卡,以及查询上述热点共享设备是否支持双卡双通技术;其中,上述至少两张用户识别卡包括默认数据业务卡和非默认数据业务卡;选择子模块,用于当上述热点共享设备中包括至少两张用户识别卡,并且支持双卡双通技术时,选择共享移动网络数据的用户识别卡;建立子模块,用于当上述选择子模块选择的用户识别卡为上述热点共享设备中的非默认数据业务卡时,发起网络建立请求,并在上述网络建立请求中指定使用上述非默认数据业务卡作为共享热点的上行网卡;激活子模块,用于根据上述建立子模块发起的网络建立请求,激活上述非默认数据业务卡的移动网络数据;获取子模块,用于在上述非默认数据业务卡的移动网络数据激活成功之后,获取上述非默认数据业务卡的移动网络数据的链路信息;设置子模块,用于根据上述非默认数据业务卡的移动网络数据的链路信息,将上述非默认数据业务卡设置为上述共享热点的上行网卡。
其中一种可能的实现方式中,选择子模块,具体用于从上述开启热点指令中获取使用上述热点共享设备的用户的设置信息,上述设置信息中包括上述用户选择的共享移动网络数据的用户识别卡;根据上述用户的设置信息,选择共享移动网络数据的用户识别卡。
其中一种可能的实现方式中,选择子模块,具体用于从上述开启热点指令中获取使用上述热点共享设备的用户的设置信息,上述设置信息中包括智能使用上述至少两张用户识别卡共享移动网络数据的指示信息;根据上述用户的设置信息,当上述默认数据业务卡已使用带宽大于或等于预定的带宽阈值,或者上述默认数据业务卡的上行队列发生拥塞,或者上述默认数据业务卡已使用带宽小于预定的带宽阈值,但上述默认数据业务卡的上行队列发生拥塞时,如果上述非默认数据业务卡已使用的流量小于预定的流量阈值,则选择非默认数据业务卡进行移动网络数据的共享。
其中一种可能的实现方式中,热点共享设备启动的共享热点包括第一共享热点和第二共享热点,其中第一共享热点的上行网卡为上述热点共享设备中的默认数据业务卡,第二共享热点的上行网卡为上述热点共享设备中的非默认数据业务卡;第一共享热点的设备名称与第二共享热点的设备名称不同。
其中一种可能的实现方式中,鉴权模块,具体用于判断上述连接请求中的设备名称是否与上述第一共享热点或上述第二共享热点的设备名称相匹配;以及判断上述连接请求中的鉴权信息是否与匹配的设备名称对应的鉴权信息相匹配;接入模块,具体用于获取设备名称和鉴权信息与上述连接请求中的设备名称和鉴权信息相匹配的共享热点,允许上述热点接入设备接入获取的共享热点。
其中一种可能的实现方式中,启动模块包括:查询子模块,用于在接收开启热点指令之后,查询上述热点共享设备中是否包括至少两张用户识别卡,以及查询上述热点共享设备是否支持双卡双通技术;其中,上述至少两张用户识别卡包括默认 数据业务卡和非默认数据业务卡;获取子模块,用于当上述热点共享设备中包括至少两张用户识别卡,并且支持双卡双通技术时,从上述开启热点指令中获取使用上述热点共享设备的用户的设置信息,上述设置信息中包括上述用户选择使用默认数据业务卡和非默认数据业务卡共享移动网络数据的指示信息;建立子模块,用于发起第一网络建立请求,在上述第一网络建立请求中指定使用上述默认数据业务卡作为上述第一共享热点的上行网卡;以及向WIFI驱动发送创建第一下行网卡的请求,上述第一下行网卡与上述第一共享热点的上行网卡对应;设置子模块,用于在上述第一下行网卡创建完成之后,根据上述默认数据业务卡的移动网络数据的链路信息,将上述默认数据业务卡设置为上述第一共享热点的上行网卡,将上述第一下行网卡设置为上述第一共享热点的下行网卡。
其中一种可能的实现方式中,建立子模块,还用于在获取子模块从上述开启热点指令中获取使用上述热点共享设备的用户的设置信息之后,发起第二网络建立请求,在上述第二网络建立请求中指定使用上述非默认数据业务卡作为上述第二共享热点的上行网卡;以及向上述WIFI驱动发送创建第二下行网卡的请求,上述第二下行网卡与上述第二共享热点的上行网卡对应;启动模块,还包括:激活子模块,用于在上述第二下行网卡创建完成之后,根据上述第二网络建立请求,激活上述非默认数据业务卡的移动网络数据;获取子模块,还用于在上述非默认数据业务卡的移动网络数据激活成功之后,获取上述非默认数据业务卡的移动网络数据的链路信息;设置子模块,还用于根据上述非默认数据业务卡的移动网络数据的链路信息,将上述非默认数据业务卡设置为上述第二共享热点的上行网卡,将上述第二下行网卡设置为上述第二共享热点的下行网卡。
其中一种可能的实现方式中,上述装置还包括:信息获取模块,用于在接入模块允许上述热点接入设备接入获取的共享热点之后,获取上述用户针对上述热点接入设备的设置信息,上述设置信息用于指示上述热点接入设备使用上述第一共享热点或上述第二共享热点;存储模块,用于存储上述设置信息。
其中一种可能的实现方式中,接入模块,还用于当接收模块再次接收到上述热点接入设备针对共享热点的连接请求时,根据上述热点接入设备的信息和存储的上述设置信息,确定将上述热点接入设备接入上述第一共享热点或上述第二共享热点。
第三方面,本申请实施例提供一种热点共享设备,包括:一个或多个处理器;存储器;多个应用程序;以及一个或多个计算机程序,其中上述一个或多个计算机程序被存储在上述存储器中,上述一个或多个计算机程序包括指令,当上述指令被上述设备执行时,使得上述设备执行以下步骤:在上述热点共享设备启动热点共享之后,接收热点接入设备发送的针对共享热点的连接请求,上述连接请求中包括上述共享热点的设备名称和上述共享热点的鉴权信息;根据上述鉴权信息对上述连接请求进行鉴权;在上述连接请求通过鉴权之后,允许上述热点接入设备接入上述共享热点;通过上述共享热点的下行网卡接收上述热点接入设备发送的数据,通过上述共享热点的上行网卡发送上述数据,上述共享热点的上行网卡包括上述热点共享设备中已激活移动网络数据的用户识别卡,上述热点共享设备中已激活移动网络数据的用户识别卡包括上述热点共享设备中的非默认数据业务卡。
其中一种可能的实现方式中,上述指令被上述设备执行时,使得上述设备执行启动热点共享的步骤包括:接收开启热点指令之后,查询上述热点共享设备中是否包括至少两张用户识别卡,以及查询上述热点共享设备是否支持双卡双通技术;其中,上述至少两张用户识别卡包括默认数据业务卡和非默认数据业务卡;如果上述热点共享设备中包括至少两张用户识别卡,并且支持双卡双通技术,则选择共享移动网络数据的用户识别卡;如果所选择的用户识别卡为上述热点共享设备中的非默认数据业务卡,则发起网络建立请求,并在上述网络建立请求中指定使用上述非默认数据业务卡作为共享热点的上行网卡;根据上述网络建立请求,激活上述非默认数据业务卡的移动网络数据;在上述非默认数据业务卡的移动网络数据激活成功之后,获取上述非默认数据业务卡的移动网络数据的链路信息;根据上述非默认数据业务卡的移动网络数据的链路信息,将上述非默认数据业务卡设置为上述共享热点的上行网卡。
其中一种可能的实现方式中,上述指令被上述设备执行时,使得上述设备执行选择共享移动网络数据的用户识别卡的步骤包括:从上述开启热点指令中获取使用上述热点共享设备的用户的设置信息,上述设置信息中包括上述用户选择的共享移动网络数据的用户识别卡;根据上述用户的设置信息,选择共享移动网络数据的用户识别卡。
其中一种可能的实现方式中,上述指令被上述设备执行时,使得上述设备执行选择共享移动网络数据的用户识别卡的步骤包括:从上述开启热点指令中获取使用上述热点共享设备的用户的设置信息,上述设置信息中包括智能使用上述至少两张用户识别卡共享移动网络数据的指示信息;根据上述用户的设置信息,当上述默认数据业务卡已使用带宽大于或等于预定的带宽阈值,或者上述默认数据业务卡的上行队列发生拥塞,或者上述默认数据业务卡已使用带宽小于预定的带宽阈值,但上述默认数据业务卡的上行队列发生拥塞时,如果上述非默认数据业务卡已使用的流量小于预定的流量阈值,则选择非默认数据业务卡进行移动网络数据的共享。
其中一种可能的实现方式中,上述热点共享设备启动的共享热点包括第一共享热点和第二共享热点,其中第一共享热点的上行网卡为上述热点共享设备中的默认数据业务卡,第二共享热点的上行网卡为上述热点共享设备中的非默认数据业务卡;第一共享热点的设备名称与第二共享热点的设备名称不同。
其中一种可能的实现方式中,上述指令被上述设备执行时,使得上述设备执行根据上述鉴权信息对上述连接请求进行鉴权的步骤包括:判断上述连接请求中的设备名称是否与上述第一共享热点或上述第二共享热点的设备名称相匹配;以及判断上述连接请求中的鉴权信息是否与匹配的设备名称对应的鉴权信息相匹配;在上述连接请求通过鉴权之后,允许上述热点接入设备接入上述共享热点包括:获取设备名称和鉴权信息与上述连接请求中的设备名称和鉴权信息相匹配的共享热点;允许上述热点接入设备接入获取的共享热点。
其中一种可能的实现方式中,上述指令被上述设备执行时,使得上述设备执行启动热点共享的步骤包括:接收开启热点指令之后,查询上述热点共享设备中是否包括至少两张用户识别卡,以及查询上述热点共享设备是否支持双卡双通技术;其 中,上述至少两张用户识别卡包括默认数据业务卡和非默认数据业务卡;如果上述热点共享设备中包括至少两张用户识别卡,并且支持双卡双通技术,则从上述开启热点指令中获取使用上述热点共享设备的用户的设置信息,上述设置信息中包括上述用户选择使用默认数据业务卡和非默认数据业务卡共享移动网络数据的指示信息;发起第一网络建立请求,在上述第一网络建立请求中指定使用上述默认数据业务卡作为上述第一共享热点的上行网卡;以及向无线保真WIFI驱动发送创建第一下行网卡的请求,上述第一下行网卡与上述第一共享热点的上行网卡对应;在上述第一下行网卡创建完成之后,根据上述默认数据业务卡的移动网络数据的链路信息,将上述默认数据业务卡设置为上述第一共享热点的上行网卡,将上述第一下行网卡设置为上述第一共享热点的下行网卡。
其中一种可能的实现方式中,上述指令被上述设备执行时,使得上述设备执行上述从上述开启热点指令中获取使用上述热点共享设备的用户的设置信息的步骤之后,还执行以下步骤:发起第二网络建立请求,在上述第二网络建立请求中指定使用上述非默认数据业务卡作为上述第二共享热点的上行网卡;以及向上述WIFI驱动发送创建第二下行网卡的请求,上述第二下行网卡与上述第二共享热点的上行网卡对应;在上述第二下行网卡创建完成之后,根据上述第二网络建立请求,激活上述非默认数据业务卡的移动网络数据;在上述非默认数据业务卡的移动网络数据激活成功之后,获取上述非默认数据业务卡的移动网络数据的链路信息;根据上述非默认数据业务卡的移动网络数据的链路信息,将上述非默认数据业务卡设置为上述第二共享热点的上行网卡,将上述第二下行网卡设置为上述第二共享热点的下行网卡。
其中一种可能的实现方式中,上述指令被上述设备执行时,使得上述设备执行允许上述热点接入设备接入获取的共享热点的步骤之后,还执行以下步骤:获取上述用户针对上述热点接入设备的设置信息,上述设置信息用于指示上述热点接入设备使用上述第一共享热点或上述第二共享热点;存储上述设置信息。
其中一种可能的实现方式中,上述指令被上述设备执行时,使得上述设备还执行以下步骤:如果再次接收到上述热点接入设备针对共享热点的连接请求,则根据上述热点接入设备的信息和存储的上述设置信息,确定将上述热点接入设备接入上述第一共享热点或第二共享热点。
应当理解的是,本申请实施例的第二至三方面与本申请实施例的第一方面的技术方案一致,各方面及对应的可行实施方式所取得的有益效果相似,不再赘述。
第四方面,本申请实施例提供一种计算机可读存储介质,该计算机可读存储介质中存储有计算机程序,当其在计算机上运行时,使得计算机执行如第一方面所述的方法。
第五方面,本申请实施例提供一种计算机程序,当所述计算机程序被计算机执行时,用于执行第一方面所述的方法。
在一种可能的设计中,第五方面中的程序可以全部或者部分存储在与处理器封装在一起的存储介质上,也可以部分或者全部存储在不与处理器封装在一起的存储器上。
附图说明
图1为本申请移动网络热点的共享方法一个实施例的流程图;
图2为本申请移动网络热点的共享方法另一个实施例的流程图;
图3为本申请移动网络热点的共享方法再一个实施例的流程图;
图4为本申请移动网络热点的共享方法再一个实施例的流程图;
图5为本申请移动网络热点的共享方法的系统架构一个实施例的示意图;
图6为本申请移动网络热点的共享方法中用户交互界面一个实施例的示意图;
图7(a)~图7(b)为本申请移动网络热点的共享方法中系统通知栏一个实施例的示意图;
图8为本申请移动网络热点的共享方法中状态栏一个实施例的示意图;
图9为本申请移动网络热点的共享方法中启动热点共享一个实施例的流程图;
图10为本申请移动网络热点的共享方法中用户交互界面另一个实施例的示意图;
图11为本申请移动网络热点的共享方法中用户交互界面再一个实施例的示意图;
图12为本申请移动网络热点的共享方法中启动热点共享另一个实施例的流程图;
图13为本申请移动网络热点的共享装置一个实施例的结构示意图;
图14为本申请移动网络热点的共享装置另一个实施例的结构示意图;
图15为本申请热点共享设备一个实施例的结构示意图。
具体实施方式
本申请的实施方式部分使用的术语仅用于对本申请的具体实施例进行解释,而非旨在限定本申请。
移动网络共享技术(Tethering)是指将移动设备所连接的蜂窝网络或者WIFI网络通过无线或者有线的方式分享给其他设备使用,通常将移动网络共享称为移动热点(Mobile Hotspot)。
目前各主流移动平台均支持移动热点技术,其中,Android平台热点开启与共享框架中,Android框架层(Framework)会主动选择上行网卡(即连接到Internet的实际网卡)与下行网卡(即连接热点接入设备的实际网卡),通常来说,Framework会选择当前移动数据网络所在的网卡作为上行网卡,使用WIFI的物理网卡作为下行网卡。
因此,现有技术在移动热点共享时选择上行网卡的策略单一,只能选择系统默认数据业务(Default Data Sub;以下简称:DDS)所在的网卡作为上行网卡,用户在自己使用移动数据网络的同时还要将这部分带宽共享给其他设备,其他设备接入后会占用用户的上行带宽,从而影响用户的上网体验。
为此,本申请实施例提出一种移动网络热点的共享方法,可以实现选择默认数据业务卡和/或非默认数据业务卡作为共享热点的上行网卡,从而为用户提供更多的移动热点共享方式,减小了共享热点对用户上网体验的影响。
图1为本申请移动网络热点的共享方法一个实施例的流程图,如图1所示,上述移动网络热点的共享方法可以包括:
步骤101,在热点共享设备启动热点共享之后,接收热点接入设备发送的针对共 享热点的连接请求,上述连接请求中包括上述共享热点的设备名称和上述共享热点的鉴权信息。
其中,上述热点共享设备可以为智能手机、平板电脑、智能手表、可穿戴设备、智慧屏、无人机、智能网联车(Intelligent Connected Vehicle;以下简称:ICV)、智能(汽)车(smart/intelligent car)或车载设备等智能电子设备;同样,上述热点接入设备也可以为智能手机、平板电脑、智能手表、可穿戴设备、智慧屏、无人机、ICV、智能(汽)车(smart/intelligent car)或车载设备等智能电子设备;本实施例对上述热点共享设备和上述热点接入设备的具体形式不作限定。
上述共享热点的鉴权信息可以为密码、密钥、证书和/或生物特征等信息,本实施例对上述鉴权信息的具体形式不作限定。
步骤102,根据上述鉴权信息对上述连接请求进行鉴权。
步骤103,在上述连接请求通过鉴权之后,允许上述热点接入设备接入上述共享热点。
步骤104,通过上述共享热点的下行网卡接收上述热点接入设备发送的数据,通过上述共享热点的上行网卡发送上述数据,上述共享热点的上行网卡包括上述热点共享设备中已激活移动网络数据的用户识别卡,上述热点共享设备中已激活移动网络数据的用户识别卡包括上述热点共享设备中的非默认数据业务卡。
其中,上述用户识别卡可以为用户识别模块(Subscriber Identity Module;以下简称:SIM)卡、用户标识模块(User Identity Model;以下简称:UIM)卡或全球用户识别模块(Universal Subscriber Identity Module;以下简称:USIM)卡,本实施例对上述用户识别卡的具体形式不作限定。
上述移动网络热点的共享方法中,在热点共享设备启动热点共享之后,热点共享设备接收热点接入设备发送的针对共享热点的连接请求,根据上述连接请求中的鉴权信息对上述连接请求进行鉴权,在上述连接请求通过鉴权之后,热点共享设备允许上述热点接入设备接入上述共享热点。在热点接入设备接入上述共享热点之后,热点共享设备通过上述共享热点的下行网卡接收上述热点接入设备发送的数据,通过上述共享热点的上行网卡发送上述数据,其中,上述共享热点的上行网卡包括上述热点共享设备中已激活移动网络数据的用户识别卡,而上述热点共享设备中已激活移动网络数据的用户识别卡包括上述热点共享设备中的非默认数据业务卡,也就是说,热点共享设备可以使用非默认数据业务卡作为共享热点的上行网卡,从而可以为用户提供更多的移动热点共享方式,减小了共享热点对用户上网体验的影响。
图2为本申请移动网络热点的共享方法另一个实施例的流程图,如图2所示,本申请图1所示实施例中,步骤101可以包括:
步骤201,接收开启热点指令之后,热点共享设备查询上述热点共享设备中是否包括至少两张用户识别卡,以及查询上述热点共享设备是否支持DSDA技术;其中,上述至少两张用户识别卡包括默认数据业务卡和非默认数据业务卡。
步骤202,如果上述热点共享设备中包括至少两张用户识别卡,并且支持DSDA技术,则选择共享移动网络数据的用户识别卡。
具体地,一种实现方式中,选择共享移动网络数据的用户识别卡可以为:
从上述开启热点指令中获取使用上述热点共享设备的用户的设置信息,上述设置信息中包括上述用户选择的共享移动网络数据的用户识别卡;然后,热点共享设备根据上述用户的设置信息,选择共享移动网络数据的用户识别卡。
另一种实现方式中,选择共享移动网络数据的用户识别卡可以为:从上述开启热点指令中获取使用上述热点共享设备的用户的设置信息,上述设置信息中包括智能使用上述至少两张用户识别卡共享移动网络数据的指示信息;根据上述用户的设置信息,当上述默认数据业务卡已使用带宽大于或等于预定的带宽阈值,或者上述默认数据业务卡的上行队列发生拥塞,或者上述默认数据业务卡已使用带宽小于预定的带宽阈值,但上述默认数据业务卡的上行队列发生拥塞时,如果上述非默认数据业务卡已使用的流量小于预定的流量阈值,则选择非默认数据业务卡进行移动网络数据的共享。
其中,上述预定的带宽阈值可以在具体实现时,根据系统性能和/或实现需求等自行设定,本实施例对上述预定的带宽阈值的大小不作限定,举例来说,上述预定的带宽阈值可以为默认数据业务卡总带宽的50%。
上述预定的流量阈值也可以在具体实现时,根据系统性能和/或实现需求等自行设定,本实施例对上述预定的流量阈值的大小不作限定,其中,上述非默认数据业务卡已使用的流量小于预定的流量阈值可以包括:上述非默认数据业务卡已使用的流量未达到用户设置的流量阈值,并且上述非默认数据业务卡当天已使用的流量小于预定的流量阈值。
步骤203,如果所选择的用户识别卡为上述热点共享设备中的非默认数据业务卡,则发起网络建立请求,并在上述网络建立请求中指定使用上述非默认数据业务卡作为共享热点的上行网卡。
步骤204,根据上述网络建立请求,激活上述非默认数据业务卡的移动网络数据。
步骤205,在上述非默认数据业务卡的移动网络数据激活成功之后,获取上述非默认数据业务卡的移动网络数据的链路信息。
步骤206,根据上述非默认数据业务卡的移动网络数据的链路信息,将上述非默认数据业务卡设置为上述共享热点的上行网卡。
本实施例中,使用上述非默认数据业务卡作为上述共享热点的上行网卡,使用WIFI的物理网卡作为下行网卡;也就是说,使用非默认数据业务卡作为连接到Internet的实际网卡,这样就可以实现用户自己使用默认数据业务卡的流量,将非默认数据业务卡的流量共享给其他热点接入设备,这样热点接入设备接入共享热点之后,也不会影响用户自身的上网带宽和流量,减小了共享热点对用户上网体验的影响。
步骤207,接收热点接入设备发送的针对共享热点的连接请求,上述连接请求中包括上述共享热点的设备名称和上述共享热点的鉴权信息。
图3为本申请移动网络热点的共享方法再一个实施例的流程图,如图3所示,本申请图1所示实施例中,上述热点共享设备启动的共享热点可以包括第一共享热 点和第二共享热点,其中第一共享热点的上行网卡为上述热点共享设备中的默认数据业务卡,上述第二共享热点的上行网卡为上述热点共享设备中的非默认数据业务卡;
上述第一共享热点的设备名称与上述第二共享热点的设备名称不同;上述第一共享热点的鉴权信息与上述第二共享热点的鉴权信息可以相同或不同。
这样,步骤102可以为:
步骤301,判断上述连接请求中的设备名称是否与上述第一共享热点或上述第二共享热点的设备名称相匹配;以及判断上述连接请求中的鉴权信息是否与匹配的设备名称对应的鉴权信息相匹配;
步骤103可以包括:
步骤302,获取设备名称和鉴权信息与上述连接请求中的设备名称和鉴权信息相匹配的共享热点。
步骤303,允许上述热点接入设备接入获取的共享热点。
进一步地,步骤303之后,还可以获取上述用户针对上述热点接入设备的设置信息,上述设置信息用于指示上述热点接入设备使用第一共享热点或第二共享热点;存储上述设置信息。
这样,如果再次接收到上述热点接入设备针对共享热点的连接请求,则根据上述热点接入设备的信息和存储的上述设置信息,确定将上述热点接入设备接入第一共享热点或第二共享热点。其中,上述热点接入设备的信息可以为上述热点接入设备的名称或标识,上述热点接入设备的标识可以为上述热点接入设备的国际移动设备识别码(International Mobile Equipment Identity;以下简称:IMEI),本实施例对此不作限定。
也就是说,对于已经接入共享热点的热点接入设备,用户可以在已连接设备的管理界面中自行设置将某个热点接入设备接入第一共享热点或第二共享热点。另外,对用户已经进行设置过的热点接入设备,可以存储用户的设置信息,这样,在该热点接入设备下次连接时,就可以根据上述热点接入设备的信息(例如:上述热点接入设备的名称或标识)和已存储的设置信息自动为其分配第一共享热点或第二共享热点。
图4为本申请移动网络热点的共享方法再一个实施例的流程图,如图4所示,本申请图3所示实施例中,步骤101可以包括:
步骤401,接收开启热点指令之后,热点共享设备查询上述热点共享设备中是否包括至少两张用户识别卡,以及查询上述热点共享设备是否支持DSDA技术;其中,上述至少两张用户识别卡包括默认数据业务卡和非默认数据业务卡。
步骤402,如果上述热点共享设备中包括至少两张用户识别卡,并且支持DSDA技术,则从上述开启热点指令中获取使用上述热点共享设备的用户的设置信息,上述设置信息中包括上述用户选择使用默认数据业务卡和非默认数据业务卡共享移动网络数据的指示信息。
步骤403,发起第一网络建立请求,在上述第一网络建立请求中指定使用上述默 认数据业务卡作为上述第一共享热点的上行网卡;以及向WIFI驱动发送创建第一下行网卡的请求,上述第一下行网卡与上述第一共享热点的上行网卡对应。
步骤404,在上述第一下行网卡创建完成之后,根据上述默认数据业务卡的移动网络数据的链路信息,将上述默认数据业务卡设置为上述第一共享热点的上行网卡,将上述第一下行网卡设置为上述第一共享热点的下行网卡。然后执行步骤409。
进一步地,步骤402之后,还可以包括:
步骤405,发起第二网络建立请求,在上述第二网络建立请求中指定使用上述非默认数据业务卡作为上述第二共享热点的上行网卡;以及向上述WIFI驱动发送创建第二下行网卡的请求,上述第二下行网卡与上述第二共享热点的上行网卡对应。
步骤406,在上述第二下行网卡创建完成之后,根据上述第二网络建立请求,激活上述非默认数据业务卡的移动网络数据。
步骤407,在上述非默认数据业务卡的移动网络数据激活成功之后,获取上述非默认数据业务卡的移动网络数据的链路信息。
步骤408,根据上述非默认数据业务卡的移动网络数据的链路信息,将上述非默认数据业务卡设置为第二共享热点的上行网卡,将上述第二下行网卡设置为第二共享热点的下行网卡。然后执行步骤409。
其中,步骤403~步骤404与步骤405~步骤408可以先后执行,也可以并行执行,本实施例对步骤403~步骤404与步骤405~步骤408的执行顺序不作限定。
步骤409,接收热点接入设备发送的针对共享热点的连接请求,上述连接请求中包括上述共享热点的设备名称和上述共享热点的鉴权信息。
下面基于Android平台的框架对本申请实施例提供的移动网络热点的共享方法进行介绍,在以下介绍中,以热点共享设备为智能手机,用户识别卡为SIM卡为例进行说明,并且以下介绍中,将默认数据业务卡称为主卡,将非默认数据业务卡称为副卡。本申请实施例提供的移动网络热点的共享方法对副卡的制式不作限定,在主卡为5G时,副卡可以为5G、4G或其他制式。
图5为本申请移动网络热点的共享方法的系统架构一个实施例的示意图,如图5所示,上述系统架构可以包括:
(1)Android应用(Applications):对用户提供可交互的开启和/或关闭热点功能;
(2)Android框架层(Framework):向上对应用提供开、关热点的接口,自身负责管理热点的基本配置,包括控制热点的上行网口和下行网口,动态IP地址分配服务等,同时Framework还通过Android系统中的网络守护进程及框架(Network Daemon;以下简称:NetD)向内核驱动传递网络参数命令;
(3)通信框架服务(Telephony):负责移动数据业务的激活;
(4)Android系统中的网络守护进程及框架(NetD):负责跟物理接口操作相关功能的实现,包括域名系统(Domain Name System;以下简称:DNS)解析、Socket建立释放、带宽控制、网络地址转换和/或动态IP地址分配等;
(5)内核驱动(Kernal):Android系统的Linux内核,与其他平台Linux内核 具有相同的架构与功能,负责为各个物理驱动提供软硬件接口。
图6为本申请移动网络热点的共享方法中用户交互界面一个实施例的示意图,如图6所示,本实施例中,可以在“个人热点”设置界面中增加共享副卡流量的开关,这里的副卡即为图6中的“卡2”。
如果“个人热点”设置界面中,共享卡2流量的开关处于打开状态,那么可以在系统通知栏中增加副卡开启热点的快捷开关,如图7(a)~图7(b)所示,图7(a)~图7(b)为本申请移动网络热点的共享方法中系统通知栏一个实施例的示意图。
如图7(a)所示,可以在系统用户界面下拉快捷菜单中原热点按钮增加下拉选项或通过其他形式,提示用户可以通过此方式主动激活卡2(副卡)的流量作为热点。
如图7(b)所示,在系统通知栏中,除“热点”选项外,还可包括“热点2”选项,用于提示用户激活副卡的流量作为热点。
在用户激活副卡的流量作为热点之后,手机界面的状态栏中显示主副卡的移动网络数据均被激活的提示箭头,同时出现热点开启的图标,如图8所示,图8为本申请移动网络热点的共享方法中状态栏一个实施例的示意图,图8中,81所指的图标均有上行下行的提示箭头,表示主副卡的移动网络数据均被激活;82所指的图标即为热点开启的图标。
此时主卡用于用户自己上网,副卡用于其他热点接入设备上网。
本申请图6~图8所示实施例支持用户手动选择共享主卡或副卡的流量,下面结合图5所示的系统架构,对该场景下热点共享设备启动热点共享的流程进行介绍,图9为本申请移动网络热点的共享方法中启动热点共享一个实施例的流程图,如图9所示,可以包括:
步骤901,设置模块调用开启热点接口,向连接管理服务发送开启热点指令。其中,设置模块为Android应用程序中的设置模块(Settings)。
步骤902,连接管理服务向移动网络共享服务发送开启热点指令。
步骤903,移动网络共享服务向网络守护进程发送开启热点指令,从而使得内核驱动开启热点。
步骤904,移动网络共享服务向设置模块发送查询请求,上述查询请求用于查询热点共享设备中是否包括至少两张SIM卡,以及查询上述热点共享设备是否支持DSDA技术;上述查询请求还用于当上述热点共享设备中包括至少两张SIM卡,并且支持DSDA技术时,查询用户设置的需要共享移动网络数据的是主卡还是副卡。
步骤905,设置模块将上述查询请求对应的查询结果发送给移动网络共享服务,上述查询结果中包括确定使用主卡或副卡共享移动网络数据。
本实施例中,设置模块存储用户对共享热点的设置项,并对系统及其他应用提供查询能力。
步骤906,当确定使用副卡共享移动网络数据时,移动网络共享服务向连接管理服务发起网络建立请求,并在上述网络建立请求中指定使用副卡作为共享热点的上行网卡。
步骤907,连接管理服务向通信框架服务发送激活副卡的移动网络数据的请求。
步骤908,通信框架服务向连接管理服务发送副卡的移动网络数据激活成功的响应,上述响应中携带上述副卡的移动网络数据的链路信息,上述链路信息包括上述副卡的移动网络数据的接口地址、IP地址和/或DNS服务器等。
步骤909,连接管理服务向移动网络共享服务发送网络建立成功的响应,将上述副卡的移动网络数据的链路信息发送给移动网络共享服务。
步骤910,移动网络共享服务根据上述副卡的移动网络数据的链路信息向网络守护进程设置上行网卡,将副卡设置为上述共享热点的上行网卡。
步骤911,网络守护进程通知内核驱动,将副卡设置为上述共享热点的上行网卡。
需要说明的是,步骤906中,当确定使用主卡共享移动网络数据时,移动网络共享服务向连接管理服务发起网络建立请求,并在上述网络建立请求中指定使用主卡作为共享热点的上行网卡。然后,直接执行步骤909,连接管理服务向移动网络共享服务发送网络建立成功的响应,将上述主卡的移动网络数据的链路信息发送给移动网络共享服务。
这样,在步骤910中,移动网络共享服务根据上述主卡的移动网络数据的链路信息向网络守护进程设置上行网卡,将主卡设置为上述共享热点的上行网卡。
进而在步骤911中,网络守护进程通知内核驱动,将主卡设置为上述共享热点的上行网卡。
本实施例中,用户可以自主选择将主卡或副卡的流量作为共享热点的流量共享给其他热点接入设备,从而可以实现用户自己使用主卡的流量,将副卡的流量共享给其他热点接入设备,这样热点接入设备接入共享热点之后,也不会影响用户自身的上网带宽和流量,减小了共享热点对用户上网体验的影响。
图10为本申请移动网络热点的共享方法中用户交互界面另一个实施例的示意图,如图10所示,本实施例中,可以在“个人热点”设置界面中增加“智能使用主卡/副卡共享热点”的开关,从而可以根据主卡带宽和/或主副卡的流量使用情况等作为决策点,自动选择主卡或副卡来共享热点。图10所示界面中,“智能使用主卡/副卡共享热点”的开关处于打开状态,因此本实施例将用户手动选择主卡或副卡共享热点的过程简化为智能决策,智能决策基于主卡的带宽和/或主副卡的流量使用情况等因素决策共享热点的上行网卡。
下面给出一个智能决策是否需要将主卡热点切换到副卡的判断流程:
步骤1,判断主卡已使用带宽除以主卡总带宽是否大于或等于50%;如果是,则执行步骤3;如果主卡已使用带宽除以主卡总带宽小于50%,则执行步骤2。
步骤2,判断主卡上行队列是否发生拥塞;如果是,则执行步骤3;如果主卡上行队列未发生拥塞,则结束本次流程。
步骤3,判断副卡使用的流量是否达到用户设置的流量上限,或副卡当天已使用的流量是否大于或等于预定的流量阈值。如果是,则结束本次流程。如果副卡使用的流量未达到用户设置的流量上限,并且副卡当天已使用的流量小于预定的流量阈值,则选择非默认数据业务卡进行移动网络数据的共享。
如果采用智能决策主卡或副卡共享热点的方法,那么在图9所示实施例,步骤904中,当上述热点共享设备中包括至少两张SIM卡,并且支持DSDA技术时,查询请求还用于查询“智能使用主卡/副卡共享热点”的开关是否处于打开状态;如果处于打开状态,那么步骤905中,就可以执行上述步骤1~步骤3,然后设置模块将步骤1~步骤3的决策结果发送给移动网络共享服务。
进一步地,当已经使用副卡在共享移动热点时,可以通过如下流程决策是否需要切换回主卡:
步骤1,副卡使用的流量是否达到用户设置的上限或副卡当天已使用流量超过预定的流量阈值。如果是,则提示用户流量超过阈值,供用户选择切换回主卡或关闭共享热点;如果副卡使用的流量未达到用户设置的上限,并且副卡当天已使用流量小于预定的流量阈值,则执行步骤2;
步骤2,判断副卡已使用带宽除以主卡总带宽是否小于25%。如果是,则切换回主卡;如果副卡已使用带宽除以主卡总带宽大于或等于25%,则结束本次流程。
主副卡上行流量的切换可以通过重新向网络守护进程下发上行网卡的配置来实施,具体流程可以参考图9所示实施例。
本实施例可以智能为用户进行共享热点的上行网卡的选择,用户开启“智能使用主卡/副卡共享热点”后,无需担心主卡带宽和流量被其他设备大量占用,也无需担心副卡产生过多的流量,并且智能选择主卡或副卡作为共享热点的上行网卡,简化了用户操作。
图11为本申请移动网络热点的共享方法中用户交互界面再一个实施例的示意图,本实施例中,主卡和副卡可以同时作为共享热点的上行网卡,主卡和副卡分别接入不同热点接入设备。
图11所示的“个人热点”设置界面中,将主卡热点源和副卡热点源在设置界面分离,作为两个各自独立的热点源,用户可以针对主卡和副卡的共享热点,分别配置不同的鉴权信息(例如:不同的密码)和设备名称,根据热点接入设备输入的密码不同,自动为其分配主卡或副卡流量作为热点接入设备的热点源。
对于已经连接上共享热点的热点接入设备,可以在已连接设备的管理界面增加更丰富的控制选项,在上述管理界面中用户可以自行设置将某个热点接入设备接入当前手机的主卡或副卡的共享热点。另外,对用户已经进行设置过的设备,在系统中存储用户的设置信息,在该热点接入设备下次连接时,根据上述热点接入设备的信息(例如:上述热点接入设备的名称或标识)和已存储的设置信息自动为其分配主卡或副卡的共享热点。
举例来说,同时连接3个热点接入设备A、B和C,用户可以设置A,B通过当前设备的主卡上网,设置C通过当前设备的副卡上网。当C断开再次连接后,系统自动选择副卡流量作为C的热点源。
本申请图11所示实施例中,将主卡热点源和副卡热点源在设置界面分离,作为两个各自独立的热点源,下面结合图5所示的系统架构,对该场景下热点共享设备启动热点共享的流程进行介绍,图12为本申请移动网络热点的共享方法中启动热点 共享另一个实施例的流程图,如图12所示,可以包括:
步骤1201,设置模块调用开启热点接口,向连接管理服务发送开启热点指令。其中,设置模块为Android应用程序中的设置模块(Settings)。
步骤1202,连接管理服务向移动网络共享服务发送开启热点指令。
步骤1203,移动网络共享服务向网络守护进程发送通知内核开启热点服务的消息。
步骤1204,网络守护进程通知内核驱动开启热点。
步骤1205,移动网络共享服务向设置模块发送查询请求,上述查询请求用于查询热点共享设备中是否包括至少两张SIM卡,以及查询上述热点共享设备是否支持DSDA技术;上述查询请求还用于当上述热点共享设备中包括至少两张SIM卡,并且支持DSDA技术时,查询用户的设置信息,上述设置信息中包括上述用户选择使用主卡和副卡共享移动网络数据的指示信息。
步骤1206,设置模块将上述查询请求对应的查询结果发送给移动网络共享服务,上述查询结果中包括确定使用主卡和副卡共享移动网络数据。
本实施例中,设置模块存储用户对共享热点的设置项,并对系统及其他应用提供查询能力。
本实施例中,用户对共享热点的设置项可以如图11所示。
步骤1207,移动网络共享服务向连接管理服务发送第一网络建立请求,在上述第一网络建立请求中指定使用主卡作为第一共享热点的上行网卡。
步骤1208,连接管理服务向移动网络共享服务发送网络建立成功的响应,将主卡的移动网络数据的链路信息发送给移动网络共享服务。
步骤1209,移动网络共享服务向WIFI驱动发送创建第一下行网卡的请求,上述第一下行网卡为第一共享热点的下行网卡。
步骤1210,WIFI驱动创建第一下行网卡,将创建的第一下行网卡的信息发送给移动网络共享服务。
其中,上述第一下行网卡的信息可以包括第一下行网卡的IP、认证方式和/或转发规则等信息。
其中,步骤1207~步骤1208与步骤1209~步骤1210可以并行执行,也可以先后执行,本实施例对步骤1207~步骤1208与步骤1209~步骤1210的执行顺序不作限定。
步骤1211,移动网络共享服务根据主卡的移动网络数据的链路信息向网络守护进程设置第一共享热点的上行网卡和下行网卡,将主卡设置为第一共享热点的上行网卡,将上述第一下行网卡设置为上述第一共享热点的下行网卡。
步骤1212,网络守护进程通知内核驱动,将主卡设置为第一共享热点的上行网卡,将上述第一下行网卡设置为上述第一共享热点的下行网卡。
另外,步骤1206之后,还可以包括:
步骤1213,移动网络共享服务向连接管理服务发送第二网络建立请求,在上述第二网络建立请求中指定使用副卡作为第二共享热点的上行网卡。
步骤1214,移动网络共享服务向WIFI驱动发送创建第二下行网卡的请求,上述第二下行网卡与上述第二共享热点的上行网卡对应。
步骤1215,WIFI驱动创建第二下行网卡,将创建的第二下行网卡的信息发送给移动网络共享服务。
其中,上述第二下行网卡的信息可以包括第二下行网卡的IP、认证方式和/或转发规则等信息。
具体地,当前手机的WIFI芯片支持2.4GHz/5GHz两个频段,两个频段通过两个至多个物理天线实现无线传输,因此,可以在WIFI驱动层虚拟出两个不同的下行网卡,这两张网卡从软件层面相互独立,IP、认证方式和/或转发规则等信息均各自独立设置,用于分别接入不同的热点接入设备。
其中,步骤1214~步骤1215与步骤1213可以并行执行,也可以先后执行,本实施例对步骤1214~步骤1215与步骤1213的执行顺序不作限定。
步骤1216,连接管理服务向通信框架服务发送激活副卡的移动网络数据的请求。
步骤1217,通信框架服务向连接管理服务发送副卡的移动网络数据激活成功的响应,上述响应中携带上述副卡的移动网络数据的链路信息,上述链路信息包括上述副卡的移动网络数据的接口地址、IP地址和/或DNS服务器等。
步骤1218,连接管理服务向移动网络共享服务发送网络建立成功的响应,将上述副卡的移动网络数据的链路信息发送给移动网络共享服务。
步骤1219,移动网络共享服务根据上述副卡的移动网络数据的链路信息向网络守护进程设置第二共享热点的上行网卡和下行网卡,将副卡设置为第二共享热点的上行网卡,将上述第二下行网卡设置为上述第二共享热点的下行网卡。
步骤1220,网络守护进程通知内核驱动,将副卡设置为第二共享热点的上行网卡,将上述第二下行网卡设置为上述第二共享热点的下行网卡。
本实施例为用户提供了更丰富的管理与配置移动网络共享的能力,当多个热点接入设备连接热点共享设备提供的共享热点时,热点共享设备可以独立控制每个热点接入设备使用主卡或副卡共享出来的移动网络数据上网,用户可以为不同热点接入设备配置不同的接入网络。
可以理解的是,上述实施例中的部分或全部步骤骤或操作仅是示例,本申请实施例还可以执行其它操作或者各种操作的变形。此外,各个步骤可以按照上述实施例呈现的不同的顺序来执行,并且有可能并非要执行上述实施例中的全部操作。
图13为本申请移动网络热点的共享装置一个实施例的结构示意图,上述移动网络热点的共享装置可以设置在热点共享设备中,如图13所示,上述移动网络热点的共享装置130可以包括:启动模块1301、接收模块1302、鉴权模块1303、接入模块1304和发送模块1305;
启动模块1301,用于启动热点共享;
接收模块1302,用于在启动模块1301启动热点共享之后,接收热点接入设备发送的针对共享热点的连接请求,上述连接请求中包括上述共享热点的设备名称和上述共享热点的鉴权信息;
鉴权模块1303,用于根据上述鉴权信息对上述连接请求进行鉴权;
接入模块1304,用于在上述连接请求通过鉴权之后,允许上述热点接入设备接 入上述共享热点;
接收模块1302,还用于通过上述共享热点的下行网卡接收上述热点接入设备发送的数据;
发送模块1305,用于通过上述共享热点的上行网卡发送上述数据,上述共享热点的上行网卡包括上述热点共享设备中已激活移动网络数据的用户识别卡,上述热点共享设备中已激活移动网络数据的用户识别卡包括上述热点共享设备中的非默认数据业务卡。
应当理解的是,移动网络热点的共享装置130可以对应于图15所示的热点共享设备100。其中,启动模块1301、鉴权模块1303和接入模块1304的功能可以由图15所示的热点共享设备100中的处理器110实现,接收模块1302的功能可以由图15所示的热点共享设备110中的无线通信模块160实现,发送模块1305的功能可以由图15所示的热点共享设备110中的移动通信模块150实现。
图13所示实施例提供的移动网络热点的共享装置130可用于执行本申请图1所示方法实施例的技术方案,其实现原理和技术效果可以进一步参考方法实施例中的相关描述。
图14为本申请移动网络热点的共享装置另一个实施例的结构示意图,与图13所示的移动网络热点的共享装置130相比,不同之处在于,图14所示的移动网络热点的共享装置140中,启动模块1301可以包括:查询子模块13011、选择子模块13012、建立子模块13013、激活子模块13014、获取子模块13015和设置子模块13016;
查询子模块13011,用于在接收开启热点指令之后,查询上述热点共享设备中是否包括至少两张用户识别卡,以及查询上述热点共享设备是否支持DSDA技术;其中,上述至少两张用户识别卡包括默认数据业务卡和非默认数据业务卡;
选择子模块13012,用于当上述热点共享设备中包括至少两张用户识别卡,并且支持DSDA技术时,选择共享移动网络数据的用户识别卡;
建立子模块13013,用于当选择子模块13012选择的用户识别卡为上述热点共享设备中的非默认数据业务卡时,发起网络建立请求,并在上述网络建立请求中指定使用上述非默认数据业务卡作为共享热点的上行网卡;
激活子模块13014,用于根据建立子模块13013发起的网络建立请求,激活上述非默认数据业务卡的移动网络数据;
获取子模块13015,用于在上述非默认数据业务卡的移动网络数据激活成功之后,获取上述非默认数据业务卡的移动网络数据的链路信息;
设置子模块13016,用于根据上述非默认数据业务卡的移动网络数据的链路信息,将上述非默认数据业务卡设置为上述共享热点的上行网卡。
其中一种可能的实现方式中,选择子模块13012,具体用于从上述开启热点指令中获取使用上述热点共享设备的用户的设置信息,上述设置信息中包括上述用户选择的共享移动网络数据的用户识别卡;根据上述用户的设置信息,选择共享移动网络数据的用户识别卡。
其中一种可能的实现方式中,选择子模块13012,具体用于从上述开启热点指令 中获取使用上述热点共享设备的用户的设置信息,上述设置信息中包括智能使用上述至少两张用户识别卡共享移动网络数据的指示信息;根据上述用户的设置信息,当上述默认数据业务卡已使用带宽大于或等于预定的带宽阈值,或者上述默认数据业务卡的上行队列发生拥塞,或者上述默认数据业务卡已使用带宽小于预定的带宽阈值,但上述默认数据业务卡的上行队列发生拥塞时,如果上述非默认数据业务卡已使用的流量小于预定的流量阈值,则选择非默认数据业务卡进行移动网络数据的共享。
其中一种可能的实现方式中,热点共享设备启动的共享热点包括第一共享热点和第二共享热点,其中第一共享热点的上行网卡为上述热点共享设备中的默认数据业务卡,第二共享热点的上行网卡为上述热点共享设备中的非默认数据业务卡;
第一共享热点的设备名称与第二共享热点的设备名称不同。
其中一种可能的实现方式中,鉴权模块1303,具体用于判断上述连接请求中的设备名称是否与上述第一共享热点或上述第二共享热点的设备名称相匹配;以及判断上述连接请求中的鉴权信息是否与匹配的设备名称对应的鉴权信息相匹配;
接入模块1304,具体用于获取设备名称和鉴权信息与上述连接请求中的设备名称和鉴权信息相匹配的共享热点,允许上述热点接入设备接入获取的共享热点。
其中一种可能的实现方式中,
查询子模块13011,用于在接收开启热点指令之后,查询上述热点共享设备中是否包括至少两张用户识别卡,以及查询上述热点共享设备是否支持DSDA技术;其中,上述至少两张用户识别卡包括默认数据业务卡和非默认数据业务卡;
获取子模块13015,用于当上述热点共享设备中包括至少两张用户识别卡,并且支持双卡双通技术时,从上述开启热点指令中获取使用上述热点共享设备的用户的设置信息,上述设置信息中包括上述用户选择使用默认数据业务卡和非默认数据业务卡共享移动网络数据的指示信息;
建立子模块13013,用于发起第一网络建立请求,在上述第一网络建立请求中指定使用上述默认数据业务卡作为上述第一共享热点的上行网卡;以及向WIFI驱动发送创建第一下行网卡的请求,上述第一下行网卡与上述第一共享热点的上行网卡对应;
设置子模块13016,用于在上述第一下行网卡创建完成之后,根据上述默认数据业务卡的移动网络数据的链路信息,将上述默认数据业务卡设置为上述第一共享热点的上行网卡,将上述第一下行网卡设置为上述第一共享热点的下行网卡。
其中一种可能的实现方式中,建立子模块13013,还用于在获取子模块13015从上述开启热点指令中获取使用上述热点共享设备的用户的设置信息之后,发起第二网络建立请求,在上述第二网络建立请求中指定使用上述非默认数据业务卡作为上述第二共享热点的上行网卡;以及向上述WIFI驱动发送创建第二下行网卡的请求,上述第二下行网卡与上述第二共享热点的上行网卡对应;
启动模块1301还可以包括:
激活子模块13014,用于在上述第二下行网卡创建完成之后,根据上述第二网络建立请求,激活上述非默认数据业务卡的移动网络数据;
获取子模块13015,还用于在上述非默认数据业务卡的移动网络数据激活成功之后,获取上述非默认数据业务卡的移动网络数据的链路信息;
设置子模块13016,还用于根据上述非默认数据业务卡的移动网络数据的链路信息,将上述非默认数据业务卡设置为上述第二共享热点的上行网卡,将上述第二下行网卡设置为上述第二共享热点的下行网卡。
其中一种可能的实现方式中,上述装置还可以包括:信息获取模块1306和存储模块1307;
信息获取模块1306,用于在接入模块1304允许上述热点接入设备接入获取的共享热点之后,获取上述用户针对上述热点接入设备的设置信息,上述设置信息用于指示上述热点接入设备使用上述第一共享热点或上述第二共享热点;
存储模块1307,用于存储上述设置信息。
其中一种可能的实现方式中,接入模块1304,还用于当接收模块1302再次接收到上述热点接入设备针对共享热点的连接请求时,根据上述热点接入设备的信息和存储的上述设置信息,确定将上述热点接入设备接入上述第一共享热点或上述第二共享热点。
应当理解的是,移动网络热点的共享装置140可以对应于图15所示的热点共享设备100。其中,启动模块1301、鉴权模块1303、接入模块1304、信息获取模块1306和存储模块1307的功能,以及启动模块1301包括的子模块的功能可以由图15所示的热点共享设备100中的处理器110实现,接收模块1302的功能可以由图15所示的热点共享设备110中的无线通信模块160实现,发送模块1305的功能可以由图15所示的热点共享设备110中的移动通信模块150实现。
图14所示实施例提供的移动网络热点的共享装置140可用于执行本申请图2~图4所示方法实施例的技术方案,其实现原理和技术效果可以进一步参考方法实施例中的相关描述。
应理解以上图13~图14所示的移动网络热点的共享装置的各个模块的划分仅仅是一种逻辑功能的划分,实际实现时可以全部或部分集成到一个物理实体上,也可以物理上分开。且这些模块可以全部以软件通过处理元件调用的形式实现;也可以全部以硬件的形式实现;还可以部分模块以软件通过处理元件调用的形式实现,部分模块通过硬件的形式实现。例如,接入模块可以为单独设立的处理元件,也可以集成在热点共享设备的某一个芯片中实现。其它模块的实现与之类似。此外这些模块全部或部分可以集成在一起,也可以独立实现。在实现过程中,上述方法的各步骤或以上各个模块可以通过处理器元件中的硬件的集成逻辑电路或者软件形式的指令完成。
例如,以上这些模块可以是被配置成实施以上方法的一个或多个集成电路,例如:一个或多个特定集成电路(Application Specific Integrated Circuit;以下简称:ASIC),或,一个或多个微处理器(Digital Singnal Processor;以下简称:DSP),或,一个或者多个现场可编程门阵列(Field Programmable Gate Array;以下简称:FPGA)等。再如,这些模块可以集成在一起,以片上系统(System-On-a-Chip;以下简称:SOC)的形式实现。
图15为本申请热点共享设备一个实施例的结构示意图,如图15所示,上述热点共享设备可以包括:一个或多个处理器;存储器;多个应用程序;以及一个或多个计算机程序。
其中,上述热点共享设备可以为智能手机、平板电脑、智能手表、可穿戴设备、智慧屏、无人机、ICV、智能(汽)车(smart/intelligent car)或车载设备等智能电子设备。
其中上述一个或多个计算机程序被存储在上述存储器中,上述一个或多个计算机程序包括指令,当上述指令被上述设备执行时,使得上述设备执行以下步骤:在上述热点共享设备启动热点共享之后,接收热点接入设备发送的针对共享热点的连接请求,上述连接请求中包括上述共享热点的设备名称和上述共享热点的鉴权信息;
根据上述鉴权信息对上述连接请求进行鉴权;
在上述连接请求通过鉴权之后,允许上述热点接入设备接入上述共享热点;
通过上述共享热点的下行网卡接收上述热点接入设备发送的数据,通过上述共享热点的上行网卡发送上述数据,上述共享热点的上行网卡包括上述热点共享设备中已激活移动网络数据的用户识别卡,上述热点共享设备中已激活移动网络数据的用户识别卡包括上述热点共享设备中的非默认数据业务卡。
其中一种可能的实现方式中,上述指令被上述设备执行时,使得上述设备执行启动热点共享的步骤包括:
接收开启热点指令之后,查询上述热点共享设备中是否包括至少两张用户识别卡,以及查询上述热点共享设备是否支持双卡双通技术;其中,上述至少两张用户识别卡包括默认数据业务卡和非默认数据业务卡;
如果上述热点共享设备中包括至少两张用户识别卡,并且支持双卡双通技术,则选择共享移动网络数据的用户识别卡;
如果所选择的用户识别卡为上述热点共享设备中的非默认数据业务卡,则发起网络建立请求,并在上述网络建立请求中指定使用上述非默认数据业务卡作为共享热点的上行网卡;
根据上述网络建立请求,激活上述非默认数据业务卡的移动网络数据;
在上述非默认数据业务卡的移动网络数据激活成功之后,获取上述非默认数据业务卡的移动网络数据的链路信息;
根据上述非默认数据业务卡的移动网络数据的链路信息,将上述非默认数据业务卡设置为上述共享热点的上行网卡。
其中一种可能的实现方式中,上述指令被上述设备执行时,使得上述设备执行选择共享移动网络数据的用户识别卡的步骤包括:
从上述开启热点指令中获取使用上述热点共享设备的用户的设置信息,上述设置信息中包括上述用户选择的共享移动网络数据的用户识别卡;
根据上述用户的设置信息,选择共享移动网络数据的用户识别卡。
其中一种可能的实现方式中,上述指令被上述设备执行时,使得上述设备执行选择共享移动网络数据的用户识别卡的步骤包括:
从上述开启热点指令中获取使用上述热点共享设备的用户的设置信息,上述设置信息中包括智能使用上述至少两张用户识别卡共享移动网络数据的指示信息;
根据上述用户的设置信息,当上述默认数据业务卡已使用带宽大于或等于预定的带宽阈值,或者上述默认数据业务卡的上行队列发生拥塞,或者上述默认数据业务卡已使用带宽小于预定的带宽阈值,但上述默认数据业务卡的上行队列发生拥塞时,如果上述非默认数据业务卡已使用的流量小于预定的流量阈值,则选择非默认数据业务卡进行移动网络数据的共享。
其中一种可能的实现方式中,上述热点共享设备启动的共享热点包括第一共享热点和第二共享热点,其中第一共享热点的上行网卡为上述热点共享设备中的默认数据业务卡,第二共享热点的上行网卡为上述热点共享设备中的非默认数据业务卡;
第一共享热点的设备名称与第二共享热点的设备名称不同。
其中一种可能的实现方式中,上述指令被上述设备执行时,使得上述设备执行根据上述鉴权信息对上述连接请求进行鉴权的步骤包括:
判断上述连接请求中的设备名称是否与上述第一共享热点或上述第二共享热点的设备名称相匹配;以及判断上述连接请求中的鉴权信息是否与匹配的设备名称对应的鉴权信息相匹配;
在上述连接请求通过鉴权之后,允许上述热点接入设备接入上述共享热点包括:
获取设备名称和鉴权信息与上述连接请求中的设备名称和鉴权信息相匹配的共享热点;
允许上述热点接入设备接入获取的共享热点。
其中一种可能的实现方式中,上述指令被上述设备执行时,使得上述设备执行启动热点共享的步骤包括:
接收开启热点指令之后,查询上述热点共享设备中是否包括至少两张用户识别卡,以及查询上述热点共享设备是否支持双卡双通技术;其中,上述至少两张用户识别卡包括默认数据业务卡和非默认数据业务卡;
如果上述热点共享设备中包括至少两张用户识别卡,并且支持双卡双通技术,则从上述开启热点指令中获取使用上述热点共享设备的用户的设置信息,上述设置信息中包括上述用户选择使用默认数据业务卡和非默认数据业务卡共享移动网络数据的指示信息;
发起第一网络建立请求,在上述第一网络建立请求中指定使用上述默认数据业务卡作为上述第一共享热点的上行网卡;以及向无线保真WIFI驱动发送创建第一下行网卡的请求,上述第一下行网卡与上述第一共享热点的上行网卡对应;
在上述第一下行网卡创建完成之后,根据上述默认数据业务卡的移动网络数据的链路信息,将上述默认数据业务卡设置为上述第一共享热点的上行网卡,将上述第一下行网卡设置为上述第一共享热点的下行网卡。
其中一种可能的实现方式中,上述指令被上述设备执行时,使得上述设备执行上述从上述开启热点指令中获取使用上述热点共享设备的用户的设置信息的步骤之后,还执行以下步骤:
发起第二网络建立请求,在上述第二网络建立请求中指定使用上述非默认数据 业务卡作为上述第二共享热点的上行网卡;以及向上述WIFI驱动发送创建第二下行网卡的请求,上述第二下行网卡与上述第二共享热点的上行网卡对应;
在上述第二下行网卡创建完成之后,根据上述第二网络建立请求,激活上述非默认数据业务卡的移动网络数据;
在上述非默认数据业务卡的移动网络数据激活成功之后,获取上述非默认数据业务卡的移动网络数据的链路信息;
根据上述非默认数据业务卡的移动网络数据的链路信息,将上述非默认数据业务卡设置为上述第二共享热点的上行网卡,将上述第二下行网卡设置为上述第二共享热点的下行网卡。
其中一种可能的实现方式中,上述指令被上述设备执行时,使得上述设备执行允许上述热点接入设备接入获取的共享热点的步骤之后,还执行以下步骤:
获取上述用户针对上述热点接入设备的设置信息,上述设置信息用于指示上述热点接入设备使用上述第一共享热点或上述第二共享热点;
存储上述设置信息。
其中一种可能的实现方式中,上述指令被上述设备执行时,使得上述设备还执行以下步骤:
如果再次接收到上述热点接入设备针对共享热点的连接请求,则根据上述热点接入设备的信息和存储的上述设置信息,确定将上述热点接入设备接入上述第一共享热点或第二共享热点。
图15所示的热点共享设备可以是电子设备也可以是内置于上述电子设备的电路设备。该设备可以用于执行本申请图1~图4所示实施例提供的方法中的功能/步骤。
图15示出了热点共享设备100的结构示意图。
热点共享设备100可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(Universal Serial Bus;以下简称:USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及SIM卡接口195等。其中传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。
可以理解的是,本申请实施例示意的结构并不构成对热点共享设备100的具体限定。在本申请另一些实施例中,热点共享设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(Application Processor;以下简称:AP),调制解调处理器,图形处理器(Graphics Processing Unit;以下简称:GPU),图像信号处理器(Image Signal Processor;以下简称:ISP),控制器,视频编解码器,数字信号处理器(Digital Signal Processor; 以下简称:DSP),基带处理器,和/或神经网络处理器(Neural-network Processing Unit;以下简称:NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。
控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(Inter-integrated Circuit;以下简称:I2C)接口,集成电路内置音频(Inter-integrated Circuit Sound;以下简称:I2S)接口,脉冲编码调制(Pulse Code Modulation;以下简称:PCM)接口,通用异步收发传输器(Universal Asynchronous Receiver/Transmitter;以下简称:UART)接口,移动产业处理器接口(Mobile Industry Processor Interface;以下简称:MIPI),通用输入输出(General-Purpose Input/Output;以下简称:GPIO)接口,用户标识模块(Subscriber Identity Module;以下简称:SIM)接口,和/或通用串行总线(Universal Serial Bus;以下简称:USB)接口等。
I2C接口是一种双向同步串行总线,包括一根串行数据线(Serial Data Line;以下简称:SDA)和一根串行时钟线(Derail Clock Line;以下简称:SCL)。在一些实施例中,处理器110可以包含多组I2C总线。处理器110可以通过不同的I2C总线接口分别耦合触摸传感器180K,充电器,闪光灯,摄像头193等。例如:处理器110可以通过I2C接口耦合触摸传感器180K,使处理器110与触摸传感器180K通过I2C总线接口通信,实现热点共享设备100的触摸功能。
I2S接口可以用于音频通信。在一些实施例中,处理器110可以包含多组I2S总线。处理器110可以通过I2S总线与音频模块170耦合,实现处理器110与音频模块170之间的通信。在一些实施例中,音频模块170可以通过I2S接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。
PCM接口也可以用于音频通信,将模拟信号抽样,量化和编码。在一些实施例中,音频模块170与无线通信模块160可以通过PCM总线接口耦合。在一些实施例中,音频模块170也可以通过PCM接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。所述I2S接口和所述PCM接口都可以用于音频通信。
UART接口是一种通用串行数据总线,用于异步通信。该总线可以为双向通信总线。它将要传输的数据在串行通信与并行通信之间转换。在一些实施例中,UART接口通常被用于连接处理器110与无线通信模块160。例如:处理器110通过UART接口与无线通信模块160中的蓝牙模块通信,实现蓝牙功能。在一些实施例中,音频模块170可以通过UART接口向无线通信模块160传递音频信号,实现通过蓝牙耳机播放音乐的功能。
MIPI接口可以被用于连接处理器110与显示屏194,摄像头193等外围器件。 MIPI接口包括摄像头串行接口(Camera Serial Interface;以下简称:CSI),显示屏串行接口(Display Serial Interface;以下简称:DSI)等。在一些实施例中,处理器110和摄像头193通过CSI接口通信,实现热点共享设备100的拍摄功能。处理器110和显示屏194通过DSI接口通信,实现热点共享设备100的显示功能。
GPIO接口可以通过软件配置。GPIO接口可以被配置为控制信号,也可被配置为数据信号。在一些实施例中,GPIO接口可以用于连接处理器110与摄像头193,显示屏194,无线通信模块160,音频模块170,传感器模块180等。GPIO接口还可以被配置为I2C接口,I2S接口,UART接口,MIPI接口等。
USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB接口,USB Type C接口等。USB接口130可以用于连接充电器为热点共享设备100充电,也可以用于热点共享设备100与外围设备之间传输数据。也可以用于连接耳机,通过耳机播放音频。该接口还可以用于连接其他电子设备,例如AR设备等。
可以理解的是,本申请实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对热点共享设备100的结构限定。在本申请另一些实施例中,热点共享设备100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过热点共享设备100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备供电。
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,显示屏194,摄像头193,和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。
热点共享设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。
天线1和天线2用于发射和接收电磁波信号。热点共享设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。
移动通信模块150可以提供应用在热点共享设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(Low Noise Amplifier;以下简称:LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至 少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。
无线通信模块160可以提供应用在热点共享设备100上的包括无线局域网(Wireless Local Area Networks;以下简称:WLAN)(如无线保真(Wireless Fidelity;以下简称:Wi-Fi网络),蓝牙(Bluetooth;以下简称:BT),全球导航卫星系统(Global Navigation Satellite System;以下简称:GNSS),调频(Frequency Modulation;以下简称:FM),近距离无线通信技术(Near Field Communication;以下简称:NFC),红外技术(Infrared;以下简称:IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。
在一些实施例中,热点共享设备100的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得热点共享设备100可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(Global System for Mobile Communications;以下简称:GSM),通用分组无线服务(General Packet Radio Service;以下简称:GPRS),码分多址接入(Code Division Multiple Access;以下简称:CDMA),宽带码分多址(Wideband Code Division Multiple Access;以下简称:WCDMA),时分码分多址(Time-Division Code Division Multiple Access;以下简称:TD-SCDMA),长期演进(Long Term Evolution;以下简称:LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(Global Positioning System;以下简称:GPS),全球导航卫星系统(Global Navigation Satellite System;以下简称:GLONASS),北斗卫星导航系统(Beidou Navigation Satellite System;以下简称:BDS),准天顶卫星系统(Quasi-Zenith Satellite System;以下简称:QZSS)和/或星基增强系统(Satellite Based Augmentation Systems;以下简称:SBAS)。
热点共享设备100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(Liquid Crystal Display;以下简称:LCD),有机发光二极管(Organic Light-Emitting Diode;以下简称:OLED),有源矩阵有机发光二极体或主动矩阵有 机发光二极体(Active-Matrix Organic Light Emitting Diode;以下简称:AMOLED),柔性发光二极管(Flex Light-Emitting Diode;以下简称:FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(Quantum Dot Light Emitting Diodes;以下简称:QLED)等。在一些实施例中,热点共享设备100可以包括1个或N个显示屏194,N为大于1的正整数。
热点共享设备100可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。
ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头193中。
摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(Charge Coupled Device;以下简称:CCD)或互补金属氧化物半导体(Complementary Metal-Oxide-Semiconductor;以下简称:CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,热点共享设备100可以包括1个或N个摄像头193,N为大于1的正整数。
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当热点共享设备100在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。
视频编解码器用于对数字视频压缩或解压缩。热点共享设备100可以支持一种或多种视频编解码器。这样,热点共享设备100可以播放或录制多种编码格式的视频,例如:动态图像专家组(Moving Picture Experts Group;以下简称:MPEG)1,MPEG2,MPEG3,MPEG4等。
NPU为神经网络(Neural-Network;以下简称:NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现热点共享设备100的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展热点共享设备100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)。存储数据区可存储热点共享设备100使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(Universal  Flash Storage;以下简称:UFS)等。处理器110通过运行存储在内部存储器121的指令,和/或存储在设置于处理器中的存储器的指令,执行热点共享设备100的各种功能应用以及数据处理。
热点共享设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。
扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。热点共享设备100可以通过扬声器170A收听音乐,或收听免提通话。
受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当热点共享设备100接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语音。
麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入到麦克风170C。热点共享设备100可以设置至少一个麦克风170C。在另一些实施例中,热点共享设备100可以设置两个麦克风170C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,热点共享设备100还可以设置三个,四个或更多麦克风170C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。
耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接口130,也可以是3.5mm的开放移动电子设备平台(Open Mobile Terminal Platform;以下简称:OMTP)标准接口,美国蜂窝电信工业协会(Cellular Telecommunications Industry Association of the USA;以下简称:CTIA)标准接口。
压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194。压力传感器180A的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器180A,电极之间的电容改变。热点共享设备100根据电容的变化确定压力的强度。当有触摸操作作用于显示屏194,热点共享设备100根据压力传感器180A检测所述触摸操作强度。热点共享设备100也可以根据压力传感器180A的检测信号计算触摸的位置。在一些实施例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。例如:当有触摸操作强度小于第一压力阈值的触摸操作作用于短消息应用图标时,执行查看短消息的指令。当有触摸操作强度大于或等于第一压力阈值的触摸操作作用于短消息应用图标时,执行新建短消息的指令。
陀螺仪传感器180B可以用于确定热点共享设备100的运动姿态。在一些实施例中,可以通过陀螺仪传感器180B确定热点共享设备100围绕三个轴(即,x,y和z轴)的角速度。陀螺仪传感器180B可以用于拍摄防抖。示例性的,当按下快门,陀螺仪传感器180B检测热点共享设备100抖动的角度,根据角度计算出镜头模组需要 补偿的距离,让镜头通过反向运动抵消热点共享设备100的抖动,实现防抖。陀螺仪传感器180B还可以用于导航,体感游戏场景。
气压传感器180C用于测量气压。在一些实施例中,热点共享设备100通过气压传感器180C测得的气压值计算海拔高度,辅助定位和导航。
磁传感器180D包括霍尔传感器。热点共享设备100可以利用磁传感器180D检测翻盖皮套的开合。在一些实施例中,当热点共享设备100是翻盖机时,热点共享设备100可以根据磁传感器180D检测翻盖的开合。进而根据检测到的皮套的开合状态或翻盖的开合状态,设置翻盖自动解锁等特性。
加速度传感器180E可检测热点共享设备100在各个方向上(一般为三轴)加速度的大小。当热点共享设备100静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。
距离传感器180F,用于测量距离。热点共享设备100可以通过红外或激光测量距离。在一些实施例中,拍摄场景,热点共享设备100可以利用距离传感器180F测距以实现快速对焦。
接近光传感器180G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。热点共享设备100通过发光二极管向外发射红外光。热点共享设备100使用光电二极管检测来自附近物体的红外反射光。当检测到充分的反射光时,可以确定热点共享设备100附近有物体。当检测到不充分的反射光时,热点共享设备100可以确定热点共享设备100附近没有物体。热点共享设备100可以利用接近光传感器180G检测用户手持热点共享设备100贴近耳朵通话,以便自动熄灭屏幕达到省电的目的。接近光传感器180G也可用于皮套模式,口袋模式自动解锁与锁屏。
环境光传感器180L用于感知环境光亮度。热点共享设备100可以根据感知的环境光亮度自适应调节显示屏194亮度。环境光传感器180L也可用于拍照时自动调节白平衡。环境光传感器180L还可以与接近光传感器180G配合,检测热点共享设备100是否在口袋里,以防误触。
指纹传感器180H用于采集指纹。热点共享设备100可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。
温度传感器180J用于检测温度。在一些实施例中,热点共享设备100利用温度传感器180J检测的温度,执行温度处理策略。例如,当温度传感器180J上报的温度超过阈值,热点共享设备100执行降低位于温度传感器180J附近的处理器的性能,以便降低功耗实施热保护。在另一些实施例中,当温度低于另一阈值时,热点共享设备100对电池142加热,以避免低温导致热点共享设备100异常关机。在其他一些实施例中,当温度低于又一阈值时,热点共享设备100对电池142的输出电压执行升压,以避免低温导致的异常关机。
触摸传感器180K,也称“触控器件”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视 觉输出。在另一些实施例中,触摸传感器180K也可以设置于热点共享设备100的表面,与显示屏194所处的位置不同。
骨传导传感器180M可以获取振动信号。在一些实施例中,骨传导传感器180M可以获取人体声部振动骨块的振动信号。骨传导传感器180M也可以接触人体脉搏,接收血压跳动信号。在一些实施例中,骨传导传感器180M也可以设置于耳机中,结合成骨传导耳机。音频模块170可以基于所述骨传导传感器180M获取的声部振动骨块的振动信号,解析出语音信号,实现语音功能。应用处理器可以基于所述骨传导传感器180M获取的血压跳动信号解析心率信息,实现心率检测功能。
按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。热点共享设备100可以接收按键输入,产生与热点共享设备100的用户设置以及功能控制有关的键信号输入。
马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。作用于显示屏194不同区域的触摸操作,马达191也可对应不同的振动反馈效果。不同的应用场景(例如:时间提醒,接收信息,闹钟,游戏等)也可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。
指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。
SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和热点共享设备100的接触和分离。热点共享设备100可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口195可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口195可以同时插入多张卡。所述多张卡的类型可以相同,也可以不同。SIM卡接口195也可以兼容不同类型的SIM卡。SIM卡接口195也可以兼容外部存储卡。热点共享设备100通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,热点共享设备100采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在热点共享设备100中,不能和热点共享设备100分离。本申请还提供一种热点共享设备,所述设备包括存储介质和中央处理器,所述存储介质可以是非易失性存储介质,所述存储介质中存储有计算机可执行程序,所述中央处理器与所述非易失性存储介质连接,并执行所述计算机可执行程序以实现本申请图1~图4所示实施例提供的方法。
本申请实施例还提供一种计算机可读存储介质,该计算机可读存储介质中存储有计算机程序,当其在计算机上运行时,使得计算机执行本申请图1~图4所示实施例提供的方法。
本申请实施例还提供一种计算机程序产品,该计算机程序产品包括计算机程序,当其在计算机上运行时,使得计算机执行本申请图1~图4所示实施例提供的方法。
本申请实施例中,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示单独存在A、同时存在A和B、单独存在B的情况。其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项” 及其类似表达,是指的这些项中的任意组合,包括单项或复数项的任意组合。例如,a,b和c中的至少一项可以表示:a,b,c,a和b,a和c,b和c或a和b和c,其中a,b,c可以是单个,也可以是多个。
本领域普通技术人员可以意识到,本文中公开的实施例中描述的各单元及算法步骤,能够以电子硬件、计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,任一功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory;以下简称:ROM)、随机存取存储器(Random Access Memory;以下简称:RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本申请的具体实施方式,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。本申请的保护范围应以所述权利要求的保护范围为准。

Claims (23)

  1. 一种移动网络热点的共享方法,其特征在于,包括:
    在热点共享设备启动热点共享之后,接收热点接入设备发送的针对共享热点的连接请求,所述连接请求中包括所述共享热点的设备名称和所述共享热点的鉴权信息;
    根据所述鉴权信息对所述连接请求进行鉴权;
    在所述连接请求通过鉴权之后,允许所述热点接入设备接入所述共享热点;
    通过所述共享热点的下行网卡接收所述热点接入设备发送的数据,通过所述共享热点的上行网卡发送所述数据,所述共享热点的上行网卡包括所述热点共享设备中已激活移动网络数据的用户识别卡,所述热点共享设备中已激活移动网络数据的用户识别卡包括所述热点共享设备中的非默认数据业务卡。
  2. 根据权利要求1所述的方法,其特征在于,所述热点共享设备启动热点共享包括:
    接收开启热点指令之后,查询所述热点共享设备中是否包括至少两张用户识别卡,以及查询所述热点共享设备是否支持双卡双通技术;其中,所述至少两张用户识别卡包括默认数据业务卡和非默认数据业务卡;
    如果所述热点共享设备中包括至少两张用户识别卡,并且支持双卡双通技术,则选择共享移动网络数据的用户识别卡;
    如果所选择的用户识别卡为所述热点共享设备中的非默认数据业务卡,则发起网络建立请求,并在所述网络建立请求中指定使用所述非默认数据业务卡作为共享热点的上行网卡;
    根据所述网络建立请求,激活所述非默认数据业务卡的移动网络数据;
    在所述非默认数据业务卡的移动网络数据激活成功之后,获取所述非默认数据业务卡的移动网络数据的链路信息;
    根据所述非默认数据业务卡的移动网络数据的链路信息,将所述非默认数据业务卡设置为所述共享热点的上行网卡。
  3. 根据权利要求2所述的方法,其特征在于,所述选择共享移动网络数据的用户识别卡包括:
    从所述开启热点指令中获取使用所述热点共享设备的用户的设置信息,所述设置信息中包括所述用户选择的共享移动网络数据的用户识别卡;
    根据所述用户的设置信息,选择共享移动网络数据的用户识别卡。
  4. 根据权利要求2所述的方法,其特征在于,所述选择共享移动网络数据的用户识别卡包括:
    从所述开启热点指令中获取使用所述热点共享设备的用户的设置信息,所述设置信息中包括智能使用所述至少两张用户识别卡共享移动网络数据的指示信息;
    根据所述用户的设置信息,当所述默认数据业务卡已使用带宽大于或等于预定的带宽阈值,或者所述默认数据业务卡的上行队列发生拥塞,或者所述默认数据业 务卡已使用带宽小于预定的带宽阈值,但所述默认数据业务卡的上行队列发生拥塞时,如果所述非默认数据业务卡已使用的流量小于预定的流量阈值,则选择非默认数据业务卡进行移动网络数据的共享。
  5. 根据权利要求1所述的方法,其特征在于,所述热点共享设备启动的共享热点包括第一共享热点和第二共享热点,其中所述第一共享热点的上行网卡为所述热点共享设备中的默认数据业务卡,所述第二共享热点的上行网卡为所述热点共享设备中的非默认数据业务卡;
    所述第一共享热点的设备名称与所述第二共享热点的设备名称不同。
  6. 根据权利要求5所述的方法,其特征在于,所述根据所述鉴权信息对所述连接请求进行鉴权包括:
    判断所述连接请求中的设备名称是否与所述第一共享热点或所述第二共享热点的设备名称相匹配;以及判断所述连接请求中的鉴权信息是否与匹配的设备名称对应的鉴权信息相匹配;
    在所述连接请求通过鉴权之后,允许所述热点接入设备接入所述共享热点包括:
    获取设备名称和鉴权信息与所述连接请求中的设备名称和鉴权信息相匹配的共享热点;
    允许所述热点接入设备接入获取的共享热点。
  7. 根据权利要求5所述的方法,其特征在于,所述热点共享设备启动热点共享包括:
    接收开启热点指令之后,查询所述热点共享设备中是否包括至少两张用户识别卡,以及查询所述热点共享设备是否支持双卡双通技术;其中,所述至少两张用户识别卡包括默认数据业务卡和非默认数据业务卡;
    如果所述热点共享设备中包括至少两张用户识别卡,并且支持双卡双通技术,则从所述开启热点指令中获取使用所述热点共享设备的用户的设置信息,所述设置信息中包括所述用户选择使用默认数据业务卡和非默认数据业务卡共享移动网络数据的指示信息;
    发起第一网络建立请求,在所述第一网络建立请求中指定使用所述默认数据业务卡作为所述第一共享热点的上行网卡;以及向无线保真WIFI驱动发送创建第一下行网卡的请求,所述第一下行网卡与所述第一共享热点的上行网卡对应;
    在所述第一下行网卡创建完成之后,根据所述默认数据业务卡的移动网络数据的链路信息,将所述默认数据业务卡设置为所述第一共享热点的上行网卡,将所述第一下行网卡设置为所述第一共享热点的下行网卡。
  8. 根据权利要求7所述的方法,其特征在于,所述从所述开启热点指令中获取使用所述热点共享设备的用户的设置信息之后,还包括:
    发起第二网络建立请求,在所述第二网络建立请求中指定使用所述非默认数据业务卡作为所述第二共享热点的上行网卡;以及向所述WIFI驱动发送创建第二下行网卡的请求,所述第二下行网卡与所述第二共享热点的上行网卡对应;
    在所述第二下行网卡创建完成之后,根据所述第二网络建立请求,激活所述非默认数据业务卡的移动网络数据;
    在所述非默认数据业务卡的移动网络数据激活成功之后,获取所述非默认数据业务卡的移动网络数据的链路信息;
    根据所述非默认数据业务卡的移动网络数据的链路信息,将所述非默认数据业务卡设置为所述第二共享热点的上行网卡,将所述第二下行网卡设置为所述第二共享热点的下行网卡。
  9. 根据权利要求6所述的方法,其特征在于,所述允许所述热点接入设备接入获取的共享热点之后,还包括:
    获取所述用户针对所述热点接入设备的设置信息,所述设置信息用于指示所述热点接入设备使用所述第一共享热点或所述第二共享热点;
    存储所述设置信息。
  10. 根据权利要求9所述的方法,其特征在于,还包括:
    如果再次接收到所述热点接入设备针对共享热点的连接请求,则根据所述热点接入设备的信息和存储的所述设置信息,确定将所述热点接入设备接入所述第一共享热点或所述第二共享热点。
  11. 一种移动网络热点的共享装置,其特征在于,设置在热点共享设备中,所述移动网络热点的共享装置包括:
    启动模块,用于启动热点共享;
    接收模块,用于在所述启动模块启动热点共享之后,接收热点接入设备发送的针对共享热点的连接请求,所述连接请求中包括所述共享热点的设备名称和所述共享热点的鉴权信息;
    鉴权模块,用于根据所述鉴权信息对所述连接请求进行鉴权;
    接入模块,用于在所述连接请求通过鉴权之后,允许所述热点接入设备接入所述共享热点;
    所述接收模块,还用于通过所述共享热点的下行网卡接收所述热点接入设备发送的数据;
    发送模块,用于通过所述共享热点的上行网卡发送所述数据,所述共享热点的上行网卡包括所述热点共享设备中已激活移动网络数据的用户识别卡,所述热点共享设备中已激活移动网络数据的用户识别卡包括所述热点共享设备中的非默认数据业务卡。
  12. 根据权利要求11所述的装置,其特征在于,所述启动模块包括:
    查询子模块,用于在接收开启热点指令之后,查询所述热点共享设备中是否包括至少两张用户识别卡,以及查询所述热点共享设备是否支持双卡双通技术;其中,所述至少两张用户识别卡包括默认数据业务卡和非默认数据业务卡;
    选择子模块,用于当所述热点共享设备中包括至少两张用户识别卡,并且支持双卡双通技术时,选择共享移动网络数据的用户识别卡;
    建立子模块,用于当所述选择子模块选择的用户识别卡为所述热点共享设备中的非默认数据业务卡时,发起网络建立请求,并在所述网络建立请求中指定使用所述非默认数据业务卡作为共享热点的上行网卡;
    激活子模块,用于根据所述建立子模块发起的网络建立请求,激活所述非默认 数据业务卡的移动网络数据;
    获取子模块,用于在所述非默认数据业务卡的移动网络数据激活成功之后,获取所述非默认数据业务卡的移动网络数据的链路信息;
    设置子模块,用于根据所述非默认数据业务卡的移动网络数据的链路信息,将所述非默认数据业务卡设置为所述共享热点的上行网卡。
  13. 一种热点共享设备,其特征在于,包括:
    一个或多个处理器;存储器;多个应用程序;以及一个或多个计算机程序,其中所述一个或多个计算机程序被存储在所述存储器中,所述一个或多个计算机程序包括指令,当所述指令被所述设备执行时,使得所述设备执行以下步骤:
    在所述热点共享设备启动热点共享之后,接收热点接入设备发送的针对共享热点的连接请求,所述连接请求中包括所述共享热点的设备名称和所述共享热点的鉴权信息;
    根据所述鉴权信息对所述连接请求进行鉴权;
    在所述连接请求通过鉴权之后,允许所述热点接入设备接入所述共享热点;
    通过所述共享热点的下行网卡接收所述热点接入设备发送的数据,通过所述共享热点的上行网卡发送所述数据,所述共享热点的上行网卡包括所述热点共享设备中已激活移动网络数据的用户识别卡,所述热点共享设备中已激活移动网络数据的用户识别卡包括所述热点共享设备中的非默认数据业务卡。
  14. 根据权利要求13所述的设备,其特征在于,所述指令被所述设备执行时,使得所述设备执行启动热点共享的步骤包括:
    接收开启热点指令之后,查询所述热点共享设备中是否包括至少两张用户识别卡,以及查询所述热点共享设备是否支持双卡双通技术;其中,所述至少两张用户识别卡包括默认数据业务卡和非默认数据业务卡;
    如果所述热点共享设备中包括至少两张用户识别卡,并且支持双卡双通技术,则选择共享移动网络数据的用户识别卡;
    如果所选择的用户识别卡为所述热点共享设备中的非默认数据业务卡,则发起网络建立请求,并在所述网络建立请求中指定使用所述非默认数据业务卡作为共享热点的上行网卡;
    根据所述网络建立请求,激活所述非默认数据业务卡的移动网络数据;
    在所述非默认数据业务卡的移动网络数据激活成功之后,获取所述非默认数据业务卡的移动网络数据的链路信息;
    根据所述非默认数据业务卡的移动网络数据的链路信息,将所述非默认数据业务卡设置为所述共享热点的上行网卡。
  15. 根据权利要求14所述的设备,其特征在于,所述指令被所述设备执行时,使得所述设备执行所述选择共享移动网络数据的用户识别卡的步骤包括:
    从所述开启热点指令中获取使用所述热点共享设备的用户的设置信息,所述设置信息中包括所述用户选择的共享移动网络数据的用户识别卡;
    根据所述用户的设置信息,选择共享移动网络数据的用户识别卡。
  16. 根据权利要求14所述的设备,其特征在于,所述指令被所述设备执行时, 使得所述设备执行所述选择共享移动网络数据的用户识别卡的步骤包括:
    从所述开启热点指令中获取使用所述热点共享设备的用户的设置信息,所述设置信息中包括智能使用所述至少两张用户识别卡共享移动网络数据的指示信息;
    根据所述用户的设置信息,当所述默认数据业务卡已使用带宽大于或等于预定的带宽阈值,或者所述默认数据业务卡的上行队列发生拥塞,或者所述默认数据业务卡已使用带宽小于预定的带宽阈值,但所述默认数据业务卡的上行队列发生拥塞时,如果所述非默认数据业务卡已使用的流量小于预定的流量阈值,则选择非默认数据业务卡进行移动网络数据的共享。
  17. 根据权利要求13所述的设备,其特征在于,所述热点共享设备启动的共享热点包括第一共享热点和第二共享热点,其中所述第一共享热点的上行网卡为所述热点共享设备中的默认数据业务卡,所述第二共享热点的上行网卡为所述热点共享设备中的非默认数据业务卡;
    所述第一共享热点的设备名称与所述第二共享热点的设备名称不同。
  18. 根据权利要求17所述的设备,其特征在于,所述指令被所述设备执行时,使得所述设备执行所述根据所述鉴权信息对所述连接请求进行鉴权的步骤包括:
    判断所述连接请求中的设备名称是否与所述第一共享热点或所述第二共享热点的设备名称相匹配;以及判断所述连接请求中的鉴权信息是否与匹配的设备名称对应的鉴权信息相匹配;
    在所述连接请求通过鉴权之后,允许所述热点接入设备接入所述共享热点包括:
    获取设备名称和鉴权信息与所述连接请求中的设备名称和鉴权信息相匹配的共享热点;
    允许所述热点接入设备接入获取的共享热点。
  19. 根据权利要求17所述的设备,其特征在于,所述指令被所述设备执行时,使得所述设备执行启动热点共享的步骤包括:
    接收开启热点指令之后,查询所述热点共享设备中是否包括至少两张用户识别卡,以及查询所述热点共享设备是否支持双卡双通技术;其中,所述至少两张用户识别卡包括默认数据业务卡和非默认数据业务卡;
    如果所述热点共享设备中包括至少两张用户识别卡,并且支持双卡双通技术,则从所述开启热点指令中获取使用所述热点共享设备的用户的设置信息,所述设置信息中包括所述用户选择使用默认数据业务卡和非默认数据业务卡共享移动网络数据的指示信息;
    发起第一网络建立请求,在所述第一网络建立请求中指定使用所述默认数据业务卡作为所述第一共享热点的上行网卡;以及向无线保真WIFI驱动发送创建第一下行网卡的请求,所述第一下行网卡与所述第一共享热点的上行网卡对应;
    在所述第一下行网卡创建完成之后,根据所述默认数据业务卡的移动网络数据的链路信息,将所述默认数据业务卡设置为所述第一共享热点的上行网卡,将所述第一下行网卡设置为所述第一共享热点的下行网卡。
  20. 根据权利要求19所述的设备,其特征在于,所述指令被所述设备执行时,使得所述设备执行所述从所述开启热点指令中获取使用所述热点共享设备的用户的 设置信息的步骤之后,还执行以下步骤:
    发起第二网络建立请求,在所述第二网络建立请求中指定使用所述非默认数据业务卡作为所述第二共享热点的上行网卡;以及向所述WIFI驱动发送创建第二下行网卡的请求,所述第二下行网卡与所述第二共享热点的上行网卡对应;
    在所述第二下行网卡创建完成之后,根据所述第二网络建立请求,激活所述非默认数据业务卡的移动网络数据;
    在所述非默认数据业务卡的移动网络数据激活成功之后,获取所述非默认数据业务卡的移动网络数据的链路信息;
    根据所述非默认数据业务卡的移动网络数据的链路信息,将所述非默认数据业务卡设置为所述第二共享热点的上行网卡,将所述第二下行网卡设置为所述第二共享热点的下行网卡。
  21. 根据权利要求18所述的设备,其特征在于,所述指令被所述设备执行时,使得所述设备执行所述允许所述热点接入设备接入获取的共享热点的步骤之后,还执行以下步骤:
    获取所述用户针对所述热点接入设备的设置信息,所述设置信息用于指示所述热点接入设备使用所述第一共享热点或所述第二共享热点;
    存储所述设置信息。
  22. 根据权利要求21所述的设备,其特征在于,所述指令被所述设备执行时,使得所述设备还执行以下步骤:
    如果再次接收到所述热点接入设备针对共享热点的连接请求,则根据所述热点接入设备的信息和存储的所述设置信息,确定将所述热点接入设备接入所述第一共享热点或所述第二共享热点。
  23. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有计算机程序,当其在计算机上运行时,使得计算机执行如权利要求1-10任一项所述的方法。
PCT/CN2021/078954 2020-03-03 2021-03-03 移动网络热点的共享方法、装置和热点共享设备 WO2021175268A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP21763787.5A EP4099741A4 (en) 2020-03-03 2021-03-03 METHOD AND DEVICE FOR SHARING MOBILE NETWORK HOTSPOT AND DEVICE FOR SHARING HOTSPOT
US17/909,192 US20230118286A1 (en) 2020-03-03 2021-03-03 Mobile Network Hotspot Sharing Method and Apparatus, and Hotspot Sharing Device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010139029.3 2020-03-03
CN202010139029.3A CN113423106B (zh) 2020-03-03 2020-03-03 移动网络热点的共享方法、装置和热点共享设备

Publications (1)

Publication Number Publication Date
WO2021175268A1 true WO2021175268A1 (zh) 2021-09-10

Family

ID=77613892

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/078954 WO2021175268A1 (zh) 2020-03-03 2021-03-03 移动网络热点的共享方法、装置和热点共享设备

Country Status (4)

Country Link
US (1) US20230118286A1 (zh)
EP (1) EP4099741A4 (zh)
CN (1) CN113423106B (zh)
WO (1) WO2021175268A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114401508A (zh) * 2021-12-31 2022-04-26 荣耀终端有限公司 Sim卡的管理方法及电子设备
CN114827235A (zh) * 2022-06-28 2022-07-29 润芯微科技(江苏)有限公司 一种基于uwb实现网络共享方法

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11997616B2 (en) 2020-06-22 2024-05-28 Qualcomm Incorporated Methods and apparatus to facilitate managing multi-sim concurrent mode for co-banded or spectrum overlap carriers
US20230078016A1 (en) * 2021-09-10 2023-03-16 Qualcomm Incorporated Dual subscriber coexistence management
CN115529635B (zh) * 2022-04-02 2024-03-26 荣耀终端有限公司 热点共享流量控制方法、设备、存储介质和软件程序产品
CN115915105B (zh) * 2022-11-29 2023-07-04 优游宝科技(深圳)有限公司 一种基于智能算法的esim卡移动数据流量监测方法及系统
CN116916298B (zh) * 2023-09-14 2023-12-26 博为科技有限公司 一种WiFi无线组网方法、装置及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106792491A (zh) * 2017-03-03 2017-05-31 北京珠穆朗玛移动通信有限公司 基于双卡的网络共享方法及移动终端
US20180077152A1 (en) * 2016-09-14 2018-03-15 David LIPOVKOV Virtual sim authentication
CN109219088A (zh) * 2018-11-21 2019-01-15 Oppo(重庆)智能科技有限公司 网络共享方法和网络共享装置
CN109587758A (zh) * 2018-12-26 2019-04-05 斑马网络技术有限公司 无线热点连接的方法、装置及系统
CN110072263A (zh) * 2019-03-26 2019-07-30 华为技术有限公司 一种切换上网卡的方法和电子设备

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2670175B1 (en) * 2012-05-28 2017-09-27 Uros Technology S.à r.l. Sharing network capacity with another device
CN105282822A (zh) * 2015-09-15 2016-01-27 广东欧珀移动通信有限公司 一种基于终端sim卡连接加密热点的方法和装置
CN105491513A (zh) * 2016-01-26 2016-04-13 努比亚技术有限公司 一种网络通话方法及终端
CN105813061B (zh) * 2016-04-07 2019-09-20 青岛海信移动通信技术股份有限公司 一种多卡终端资源获取方法及多卡终端

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180077152A1 (en) * 2016-09-14 2018-03-15 David LIPOVKOV Virtual sim authentication
CN106792491A (zh) * 2017-03-03 2017-05-31 北京珠穆朗玛移动通信有限公司 基于双卡的网络共享方法及移动终端
CN109219088A (zh) * 2018-11-21 2019-01-15 Oppo(重庆)智能科技有限公司 网络共享方法和网络共享装置
CN109587758A (zh) * 2018-12-26 2019-04-05 斑马网络技术有限公司 无线热点连接的方法、装置及系统
CN110072263A (zh) * 2019-03-26 2019-07-30 华为技术有限公司 一种切换上网卡的方法和电子设备

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114401508A (zh) * 2021-12-31 2022-04-26 荣耀终端有限公司 Sim卡的管理方法及电子设备
CN114827235A (zh) * 2022-06-28 2022-07-29 润芯微科技(江苏)有限公司 一种基于uwb实现网络共享方法
CN114827235B (zh) * 2022-06-28 2022-09-13 润芯微科技(江苏)有限公司 一种基于uwb实现网络共享方法

Also Published As

Publication number Publication date
EP4099741A1 (en) 2022-12-07
CN113423106A (zh) 2021-09-21
CN113423106B (zh) 2023-08-22
US20230118286A1 (en) 2023-04-20
EP4099741A4 (en) 2023-08-02

Similar Documents

Publication Publication Date Title
WO2021175268A1 (zh) 移动网络热点的共享方法、装置和热点共享设备
JP7378576B2 (ja) リモコン装置を用いたワンタッチスクリーンプロジェクションを実施するための端末装置、方法及びシステム
CN113382397B (zh) 一种蓝牙连接方法、设备及系统
WO2021052178A1 (zh) 一种Wi-Fi连接方法及设备
WO2021082829A1 (zh) 蓝牙连接方法及相关装置
WO2021043045A1 (zh) 一种网络配置信息的配置方法及设备
CN112469013B (zh) 一种蓝牙连接方法及相关装置
WO2021043219A1 (zh) 一种蓝牙回连方法及相关装置
WO2021043198A1 (zh) 一种蓝牙配对方法及相关装置
WO2020062344A1 (zh) 一种数据传输方法及电子设备
WO2021169698A1 (zh) 一种连接管理方法及相关设备
WO2021175266A1 (zh) 身份验证方法、装置和电子设备
WO2021185300A1 (zh) 基于业务类型调整数据传输策略的芯片、设备以及方法
EP4250075A1 (en) Content sharing method, electronic device, and storage medium
WO2022068539A1 (zh) 通信连接建立方法、系统、电子设备及存储介质
WO2021027623A1 (zh) 一种设备能力发现方法及p2p设备
WO2022135143A1 (zh) 设备配网方法、移动终端及存储介质
WO2022042264A1 (zh) 一种切换接入点的方法、装置及系统
WO2020155013A1 (zh) 一种紧急呼叫方法及用户终端
WO2022089515A1 (zh) 双Wi-Fi连接方法及电子设备
WO2021218544A1 (zh) 一种提供无线上网的系统、方法及电子设备
CN113453327A (zh) 一种发送功率控制方法、终端、芯片系统与系统
CN113572586A (zh) 一种探测参考信号的发送方法、用户设备以及一种系统
US20240147329A1 (en) Wi-fi access method and related device
WO2024001735A1 (zh) 网络连接方法、电子设备及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21763787

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2021763787

Country of ref document: EP

Effective date: 20220902

NENP Non-entry into the national phase

Ref country code: DE