WO2018010160A1 - 移动数据共享方法和移动终端 - Google Patents
移动数据共享方法和移动终端 Download PDFInfo
- Publication number
- WO2018010160A1 WO2018010160A1 PCT/CN2016/090104 CN2016090104W WO2018010160A1 WO 2018010160 A1 WO2018010160 A1 WO 2018010160A1 CN 2016090104 W CN2016090104 W CN 2016090104W WO 2018010160 A1 WO2018010160 A1 WO 2018010160A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- mobile terminal
- wifi hotspot
- wifi
- service operation
- specific service
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/02—Terminal devices
- H04W88/04—Terminal devices adapted for relaying to or from another terminal or user
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
- H04W28/10—Flow control between communication endpoints
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
Definitions
- the present invention relates to the field of communications, and more particularly to a mobile data sharing method and mobile terminal.
- various APPs may determine that the WIFI network automatically initiates a large-flow operation, thereby causing the mobile device to share the WIFI hotspot. Data network traffic is consumed in large quantities, causing loss of user property.
- the embodiment of the invention provides a mobile data sharing method and a mobile terminal, which can avoid unnecessary mobile data network traffic consumption and avoid user loss when accessing a WIFI hotspot shared by other mobile terminals.
- a mobile data sharing method of a first mobile terminal including: sending a first request to a WIFI hotspot, the first request is used to access the WIFI hotspot, and the WIFI hotspot is a self of the second mobile terminal Establishing a WIFI hotspot; receiving WIFI network information of the WIFI hotspot, the WIFI network information carrying tag information indicating that the WIFI hotspot is a self-built WIFI hotspot of the mobile terminal; determining not to start a specific service operation, or determining to stop the specific service that has been started Operation, or requesting a user of the first mobile terminal to confirm whether the specific service operation is allowed.
- the WIFI network information of the WIFI hotspot is the WIFI network information obtained by the first mobile terminal when searching for the WIFI hotspot; or the WIFI hotspot
- the WIFI network information is the WIFI network information that the WIFI hotspot feeds back according to the first request.
- the method further includes: if the user of the first mobile terminal allows the specific service operation, the first mobile The current network connection of the terminal is switched to the mobile data network of the first mobile terminal; the specific service operation is performed.
- the method further includes: sending prompt information to the WIFI hotspot, where the prompt information is used to prompt to share the second hotspot of the WIFI hotspot
- the mobile terminal is performing the specific service operation by the first mobile terminal.
- the method further includes: sending a second request to the WIFI hotspot, where the second request is used to request to share the WIFI hotspot
- the second mobile terminal allows the first mobile terminal to perform the specific service operation.
- the method further includes: receiving, by the second mobile terminal, a response to the second request; if the response indicates the second The mobile terminal allows the first mobile terminal to perform the specific service operation, and then performs the specific service operation; or if the response indicates that the second mobile terminal does not allow the first mobile terminal to perform the specific service operation, the first The current network connection of the mobile terminal is switched to the mobile data network of the first mobile terminal.
- the specific service operation is configured by a user of the first mobile terminal, or the specific service operation is
- the second mobile terminal is configured for the first mobile terminal, or the specific service operation is preset at the factory.
- the specific application is: the associated application of the specific mobile terminal is a user configuration of the first mobile terminal
- the associated application refers to an application that is allowed to be launched only when the first mobile terminal is allowed to perform the specific business operation.
- a first mobile terminal is proposed for performing the method of the first aspect or the possible implementation of any of the aspects of the first aspect.
- the apparatus may comprise any of the possible implementations for performing the first aspect or the first aspect The unit of the method in the current mode.
- another first mobile terminal comprising a processor, a transmitter and a receiver for performing any of the possible implementations of the first aspect or the first aspect by the transmitter and the receiver The method in the way.
- a computer readable storage medium for storing a computer program comprising instructions for performing the method of the first aspect or any of the possible implementations of the first aspect.
- a mobile data sharing method for a second mobile terminal including: establishing a WIFI hotspot; receiving a first request of the first mobile terminal to access the WIFI hotspot and allowing the first mobile terminal to access the WIFI hotspot Sending the WIFI network information of the WIFI hotspot to the first mobile terminal, where the WIFI network information carries the tag information indicating that the mobile terminal self-built the WIFI hotspot.
- the WIFI network information of the WIFI hotspot is WIFI network information that is sent by the second mobile terminal after being established by using the WIFI hotspot; or the WIFI network of the WIFI hotspot The information is WIFI network information that the second mobile terminal feeds back according to the first request.
- the method further includes: receiving a second request of the first mobile terminal, where the second request is used to request the first a mobile terminal performing a specific service operation; requesting a user of the second mobile terminal to confirm whether the specific service operation is permitted; sending a response to the second request to the first mobile terminal, the response being used to indicate the second mobile terminal.
- the user allows the first mobile terminal to perform a specific service operation, or is used to indicate that the user of the second mobile terminal does not allow the first mobile terminal to perform a specific service operation.
- the method further includes: monitoring data traffic from the first mobile terminal; if the data traffic is greater than a predetermined time in a predetermined time The threshold is to disconnect the first mobile terminal.
- the method further includes: sending, to the first mobile terminal, configuration information of the specific service operation, where the configuration information includes the specific The type of business included in the business operation.
- a second mobile terminal is provided for performing the method in a possible implementation of the fifth aspect or the fifth aspect.
- the apparatus may comprise means for performing the method of any of the possible implementations of the fifth or fifth aspect.
- a second mobile terminal comprising a processor, a transmitter and a receiver, the processor for performing any possible implementation of the fifth aspect or the fifth aspect by the transmitter and the receiver The method in the way.
- a computer readable storage medium for storing a computer program comprising instructions for performing the method of any of the fifth or fifth aspects of the possible implementation.
- a mobile data sharing method of a first mobile terminal includes: sending a first request to a WIFI hotspot, where the first request is used to access the WIFI hotspot, and the WIFI hotspot is a self of the second mobile terminal Establishing a WIFI hotspot and being virtualized by the second mobile terminal as the first mobile data network; receiving WIFI network information sent by the WIFI hotspot, the WIFI network information carrying parameters of the first mobile data network virtualized by the WIFI hotspot; according to the WIFI The network information virtualizes the network currently accessed by the first mobile terminal as a mobile data network, where the virtual mobile data network is configured to determine, if the first mobile terminal does not initiate a specific service operation according to the type of the accessed network, or determine Stop the specific business operation that has been initiated, or request the user of the first mobile terminal to confirm whether the specific business operation is allowed.
- the WIFI network information of the WIFI hotspot is the WIFI network information obtained by the first mobile terminal when searching for the WIFI hotspot; or the WIFI hotspot
- the WIFI network information is the WIFI network information that the WIFI hotspot feeds back according to the first request.
- the method further includes: if the user of the first mobile terminal allows the specific service operation, the first mobile The current network connection of the terminal is switched to the mobile data network of the first mobile terminal; the specific service operation is performed.
- the method further includes: sending prompt information to the WIFI hotspot, where the prompt information is used to prompt to share the second hotspot of the WIFI hotspot
- the mobile terminal is performing the specific service operation by the first mobile terminal.
- the method further includes: sending a second request to the WIFI hotspot, where the second request is used to request to share the WIFI hotspot
- the second mobile terminal allows the first mobile terminal to perform the specific service operation.
- the method further includes: receiving, by the second mobile terminal, a response to the second request; if the response indicates the second The mobile terminal allows the first mobile terminal to perform the specific service operation, and then performs the specific service operation; or if the response indicates that the second mobile terminal does not allow the first mobile terminal to perform the specific service operation, the first The current network connection of the mobile terminal is switched to the mobile data network of the first mobile terminal.
- the virtual mobile data network is: the first mobile data network or the mobile data of the first mobile terminal The internet.
- the specific service operation is configured by a user of the first mobile terminal, or the specific service operation is The second mobile terminal is configured for the first mobile terminal, or the specific service operation is preset at the factory.
- the specific application is: the associated application of the specific mobile terminal is the user configuration of the first mobile terminal
- the associated application refers to an application that is allowed to be launched only when the first mobile terminal is allowed to perform the specific business operation.
- a first mobile terminal is provided for performing the method in a possible implementation of the ninth aspect or the ninth aspect.
- the apparatus may comprise means for performing the method of any of the possible implementations of the ninth aspect or the ninth aspect.
- another first mobile terminal comprising a processor, a transmitter and a receiver for performing any of the possible aspects of the ninth or ninth aspect by the transmitter and the receiver The method in the implementation.
- a computer readable storage medium for storing a computer program comprising instructions for performing the method of any of the ninth or ninth aspects of the ninth aspect.
- a mobile data sharing method for a second mobile terminal including: establishing a WIFI hotspot, and virtualizing the WIFI hotspot as a first mobile data network; receiving a first mobile terminal accessing the WIFI hotspot Requesting and allowing the first mobile terminal to access the WIFI hotspot; sending WIFI network information of the WIFI hotspot to the first mobile terminal, the WIFI network information packet
- the parameter of the first mobile data network is used by the first mobile terminal to virtualize the accessed WIFI hotspot as the first mobile data network.
- the WIFI network information of the WIFI hotspot is WIFI network information that is sent by the second mobile terminal after being established by using the WIFI hotspot; or
- the WIFI network information of the WIFI hotspot is the WIFI network information that the second mobile terminal feeds back according to the first request.
- the method further includes: receiving a second request of the first mobile terminal, where the second request is used for requesting permission The first mobile terminal performs a specific service operation; requests a user of the second mobile terminal to confirm whether to permit the specific service operation; and sends a response to the second request to the first mobile terminal, the response is used to indicate the second
- the user of the mobile terminal allows the first mobile terminal to perform a specific service operation, or is used to indicate that the user of the second mobile terminal does not allow the first mobile terminal to perform a specific service operation.
- the method further includes: monitoring data traffic from the first mobile terminal; if the data traffic is within a predetermined time If the threshold is greater than the predetermined threshold, the connection of the first mobile terminal is disconnected.
- the method further includes: sending, to the first mobile terminal, configuration information of the specific service operation, where the configuration information includes The type of business that this particular business operation contains.
- a second mobile terminal is provided for performing the method in a possible implementation of the thirteenth aspect or the thirteenth aspect.
- the apparatus may comprise means for performing the method of the thirteenth aspect or any of the possible implementations of the thirteenth aspect.
- a second mobile terminal comprising: a processor, a transmitter and a receiver, configured to perform any of the thirteenth aspect or the thirteenth aspect by the transmitter and the receiver The method in the possible implementation.
- a computer readable storage medium for storing a computer program comprising instructions for performing the method of the thirteenth aspect or any of the possible implementations of the thirteenth aspect.
- the first mobile terminal marks the mobile by using WIFI network information fed back according to the accessed WIFI hotspot.
- the terminal establishes the tag information of the WIFI hotspot to determine whether to perform a specific service operation, which can prevent the mobile data network traffic from being consumed in a large amount and avoid the loss of the user.
- the first mobile terminal may use the parameter of the virtual first mobile data network in the WIFI network information fed back according to the accessed WIFI hotspot.
- the WIFI hotspot is virtualized as the first mobile data network, thereby determining whether to perform a specific service operation, which can avoid the mobile data network traffic being consumed in a large amount and avoiding the loss of the user.
- FIG. 1 is a schematic block diagram of a communication system in accordance with an embodiment of the present invention.
- FIG. 2 is a schematic diagram of a mobile data sharing method according to an embodiment of the present invention.
- FIG. 3 is a flow chart of interaction of a mobile data sharing method according to an embodiment of the present invention.
- FIG. 4 is a flow chart of interaction of a mobile data sharing method according to another embodiment of the present invention.
- FIG. 5 is a flow chart of interaction of a mobile data sharing method according to still another embodiment of the present invention.
- FIG. 6 is a schematic diagram of a mobile data sharing method according to another embodiment of the present invention.
- FIG. 7 is a schematic diagram of a mobile data sharing method according to still another embodiment of the present invention.
- FIG. 8 is a flow chart of interaction of a mobile data sharing method according to still another embodiment of the present invention.
- FIG. 9 is a flow chart of interaction of a mobile data sharing method according to still another embodiment of the present invention.
- FIG. 10 is a flow chart of interaction of a mobile data sharing method according to still another embodiment of the present invention.
- FIG. 11 is a flow chart of a mobile data sharing method according to still another embodiment of the present invention.
- FIG. 12 is a schematic structural diagram of a first mobile terminal according to an embodiment of the present invention.
- FIG. 13 is a schematic structural diagram of a second mobile terminal according to an embodiment of the present invention.
- FIG. 14 is a schematic structural diagram of a first mobile terminal according to another embodiment of the present invention.
- FIG. 15 is a schematic structural diagram of a second mobile terminal according to another embodiment of the present invention.
- a communication system may include a first mobile terminal and a second mobile terminal.
- the second mobile terminal is a mobile terminal that establishes a Wireless-Fidelity (WIFI) hotspot
- the internal module may include a setting module, a framework module, and a WIFI hot point module;
- the setting module (Setting) is located in the application layer for setting and managing WIFI hotspots;
- WIFI HotPoint is located in the driver layer of WIFI, which is used to establish the WIFI hotspot;
- the framework module is located at the application layer and the driver layer.
- the setting module for encapsulating the application layer calls the calling interface of the WIFI HotPoint module of the driver layer.
- the first mobile terminal is a mobile terminal that accesses a WIFI hotspot, and the internal module may include an application (Application, APP), a framework module (Framework), and a WIFI driver module (WIFI Driver);
- the APP is located at an application layer, and may be according to an access network type.
- the WIFI driver is located at the driver layer to obtain the WIFI network information of the accessed WIFI hotspot;
- the framework module is located between the application layer and the driver layer, and is used to encapsulate the application layer.
- the APP accesses the calling interface of the WIFI network information of the WIFI hotpoint module of the driver layer, and the framework module can transmit the underlying network information to the APP of the application layer.
- the communication system of the prior art can adopt a system framework as shown in FIG. 1 to implement a process in which the first mobile terminal accesses the WIFI hotspot established by the second mobile terminal.
- the first mobile terminal cannot identify whether the accessed WIFI hotspot is a self-built WIFI hotspot of the mobile terminal, and may open some applications involving large-flow operations, thereby causing the mobile data network of the second mobile terminal.
- the traffic is consumed in large quantities.
- the embodiment of the present invention provides a mobile data sharing method and a mobile terminal.
- the mobile data sharing method and the mobile terminal of the embodiment of the present invention may be extended on the system framework of the embodiment shown in FIG. 1.
- the WIFI hotpoint module of the second mobile terminal may expand the WIFI network information.
- the network type and the like are identified in the extended parameter of the WIFI network information; for example, the framework module of the first mobile terminal can transmit the underlying network information to the APP of the application layer by extending the field or the virtual network, and the like.
- the first mobile terminal mentioned in the present invention is a mobile terminal that accesses a WIFI hotspot.
- the second mobile terminal mentioned in the present invention indicates a mobile terminal that establishes a WIFI hotspot, and details are not described herein.
- FIG. 2 is a schematic diagram of a mobile data sharing method according to an embodiment of the present invention.
- the method of Figure 2 is performed by a first mobile terminal.
- the first mobile terminal may be a mobile terminal device such as a smart phone.
- the first mobile terminal in the embodiment of the present invention may be the first mobile terminal in the embodiment shown in FIG. 1.
- the first mobile terminal may send a first request to the WIFI hotspot built by the second mobile terminal to request access to the WIFI hotspot.
- the first mobile terminal may request access to the WIFI hotspot by the following steps: the first mobile terminal obtains the accessible WIFI hotspot list by scanning the hotspot; the first mobile terminal receives the WIFI hotspot; Selecting a WIFI hotspot to send an access request, requesting access to the WIFI hotspot; the WIFI hotspot allows the first mobile terminal to access according to the access request of the first mobile terminal, and feeding back the response of the access request to the first mobile terminal .
- the WifiManager object can be returned by the WifiManager.getConfiguredNetworks() method, and then the WifiManager.enableNetwork() method can be called to connect to the specified hotspot.
- WIFI network information of the WIFI hotspot where the WIFI network information carries the tag information indicating that the WIFI hotspot is a self-built WIFI hotspot of the mobile terminal.
- the WIFI network information of the embodiment of the present invention may be extended in the message of the prior art for transmitting WIFI network information.
- the WIFI network information of the WIFI hotspot acquired by the mobile terminal in the prior art may be similar.
- the WIFI network information is WIFI network information of a WIFI hotspot obtained by the first mobile terminal in scanning a WIFI hotspot stage.
- the Scan After the first mobile terminal enters the setting module (Setting) click scan (Scan), it will call the startScan of the WifiManager.
- the scan result can be obtained by the WifiNative scanResults method.
- the SSID parameter includes a Basic Service Set Identifier (BSSID) parameter indicating a Medium Access Control (MAC) address of the WIFI hotspot, and an Extended Service Set Identifier indicating a WIFI hotspot name. , ESSID) parameters.
- BSSID Basic Service Set Identifier
- MAC Medium Access Control
- ESSID Extended Service Set Identifier
- ESSID Extended Service Set Identifier
- bssid is commonly used to indicate the BSSID parameter
- ssid is used to represent the ESSID parameter
- freq is used to represent the Channel parameter.
- an identifier information may be added to the WIFI network information fed back by the scanResults to indicate whether the WIFI hotspot is a self-built WIFI hotspot of the mobile terminal, and the extended bit is the mark information of the embodiment of the present invention.
- the tag information may be omitted.
- step 202 may be performed prior to step 201.
- the WIFI network information is WIFI network information that is sent by the WIFI hotspot according to the first request of step 201.
- the Android SDK provides a WifiInfo object, which can be obtained by WifiManager.getConnectionInfo().
- WifiInfo object
- the first mobile terminal can obtain the basic service set identifier BSSID attribute, Internet Protocol (IP) address, connection speed, MAC address, 802.11n network signal, SSID, and the like.
- IP Internet Protocol
- the WifiInfo object may be extended, and an identifier information is added to indicate whether the WIFI hotspot is a self-built WIFI hotspot of the mobile terminal, and the extended bit is The tag information of the embodiment of the present invention. Of course, it is not excluded to use other means to represent the tag information. If the WIFI hotspot is not a self-built WIFI hotspot of the mobile terminal, the tag information may be omitted.
- step 202 may be performed after step 201.
- service operations of the embodiments of the present invention include service operations involving large traffic data, for example, may include uploading and downloading operations on video, audio or pictures.
- the first mobile terminal determines that the WIFI network information carries the tag information indicating that the WIFI hotspot is a self-built WIFI hotspot of the mobile terminal, the first mobile terminal needs to determine whether to perform a specific service operation.
- the first mobile terminal may determine to stop a particular service operation that has already taken place.
- the first mobile terminal may determine not to initiate a particular service operation that is ready to be initiated.
- the first mobile terminal may send request confirmation information to the user of the first mobile terminal, the request confirmation information being used to request the user to determine whether to allow the specific service operation.
- the first mobile terminal determines whether to perform a specific service operation according to the marking information carried in the WIFI network information for indicating that the WIFI hotspot is a self-built WIFI hotspot of the mobile terminal, and can prevent the mobile data network traffic from being consumed in a large amount. Avoid user losses.
- the method further includes: if the user of the first mobile terminal allows the specific service operation, switching the current network connection of the first mobile terminal to the mobile data network of the first mobile terminal; performing the specific Business operations.
- a user may need to perform operations for that particular service regardless of whether a large amount of mobile data network traffic needs to be consumed.
- the current network connection of the first mobile terminal is switched to the mobile data network of the first mobile terminal, thereby avoiding Traffic that causes other people's mobile data networks is heavily consumed.
- the first mobile terminal may perform the specific service operation by directly switching to the current network connection, and the specific implementation may refer to the prior art.
- the method may further include: the first mobile terminal sends prompt information to the WIFI hotspot, where the prompt information is used to prompt the second mobile terminal sharing the WIFI hotspot, the first mobile terminal is Perform this specific business operation.
- the prompt information may be sent to the WIFI hotspot to remind the user of the second mobile terminal to prevent the user of the second mobile terminal from moving without knowing Data traffic is consumed in large quantities.
- the method may further include: sending a second request to the WIFI hotspot, the second request for requesting the second mobile terminal sharing the WIFI hotspot to allow the first mobile terminal to perform the specific service operation.
- the method further includes: receiving a response of the second mobile terminal to the second request; if the response indicates that the second mobile terminal allows the first mobile terminal to perform the specific service operation, performing the specific service operation; Alternatively, if the response indicates that the second mobile terminal does not allow the first mobile terminal to perform the specific service operation, then the current network connection of the first mobile terminal is switched to the mobile data network of the first mobile terminal.
- the first mobile terminal sends a second request to the WIFI hotspot when the specific service operation needs to be performed to request the second mobile terminal sharing the WIFI hotspot to allow the first mobile terminal to perform a specific service operation, thereby avoiding the second mobile
- the user of the terminal is unknowingly moving data traffic is consumed a lot.
- the specific service operation is configured by a user of the first mobile terminal.
- a user of the first mobile terminal can configure an operation involving a transmission service of pictures, audio, video, etc. as a specific service operation, and the like.
- the specific service operation is configured by the second mobile terminal for the first mobile terminal.
- the second mobile terminal sends configuration information to all mobile terminals accessing the WIFI hotspot through the WIFI hotspot, and configures the operation of the transmission service involving pictures, audio, video, etc. as a specific service operation, and the like.
- the specific service operation is that the first mobile terminal preset at the factory may preset the operation of the transmission service involving pictures, audio, video, etc. as a specific service operation, etc. Wait.
- the associated application of the specific service operation in the first mobile terminal is configured by a user of the first mobile terminal, where the associated application refers to being allowed only when the first mobile terminal is allowed to perform the specific service operation.
- Launched app the user of the first mobile terminal can set the mobile phone map, the instant communication tool, and the like as the associated application for the specific service operation, and when the first mobile terminal is not allowed to perform the specific service operation, the mobile phone map, the instant communication tool, and the like cannot Is activated; when the first mobile terminal is allowed to perform the specific business operation, the mobile phone map, instant communication Apps such as tools are allowed to be launched.
- FIG. 3 is a flow chart of interaction of a mobile data sharing method according to an embodiment of the present invention.
- the second mobile terminal is a mobile terminal that establishes a WIFI hotspot
- the first mobile terminal is a mobile terminal that accesses a WIFI hotspot.
- the second mobile terminal establishes a first WIFI hotspot and broadcasts the first WIFI network information of the first WIFI hotspot.
- the second mobile terminal in the embodiment of the present invention can establish a WIFI hotspot through a setting module located at the application layer, and set the WIFI mode of the WIFI hotspot to a mobile data sharing mode for other
- the mobile terminal can search for the WIFI hotspot to select a WIFI hotspot for access operation.
- the second mobile terminal may also establish a WIFI hotspot through other functional modules, which is not limited herein.
- the WIFI hotspot established by the second mobile terminal is named as the first WIFI hotspot.
- the WIFI network information of the first WIFI hotspot may be broadcasted, so that the surrounding mobile terminal searches for the WIFI hotspot.
- the WIFI network information of this stage may be referred to as the first A WIFI network information.
- the WIFI network information may include parameters such as a Service Set Identifier (SSID) parameter and a Channel parameter of the WIFI hotspot.
- the SSID parameter includes a Basic Service Set Identifier (BSSID) parameter indicating a Medium Access Control (MAC) address of the WIFI hotspot, and an Extended Service Set Identifier indicating a WIFI hotspot name. , ESSID) parameters.
- BSSID Basic Service Set Identifier
- MAC Medium Access Control
- ESSID Extended Service Set Identifier
- an identifier field may be extended in the first WIFI network information to indicate whether the WIFI hotspot is a self-built WIFI hotspot of the mobile terminal.
- one bit may be used to indicate whether the WIFI hotspot is a self-built WIFI hotspot for the mobile terminal, 1 indicates that the WIFI hotspot is a mobile terminal self-built WIFI hotspot, and 0 indicates that the WIFI hotspot is not a mobile terminal self-built WIFI hotspot.
- the identifier field in the first WIFI network information may be omitted.
- the first mobile terminal scans the WIFI hotspot.
- the method for the first mobile terminal to scan the WIFI hotspot can refer to the prior art.
- the startScan method of the WifiManager is called, and when the Scan process is finished, the scan result can be obtained by the Wifi Native scanResults method.
- parameters such as a Service Set Identifier (SSID) parameter and a Channel parameter of the WIFI hotspot can be obtained.
- the SSID parameter includes a Basic Service Set Identifier (BSSID) parameter indicating a Medium Access Control (MAC) address of the WIFI hotspot, and an Extended Service Set Identifier indicating a WIFI hotspot name. , ESSID) parameters.
- BSSID Basic Service Set Identifier
- MAC Medium Access Control
- ESSID Extended Service Set Identifier
- the first mobile terminal may read the identifier information from the first WIFI network information. At this time, the first mobile terminal may expand the corresponding Scan method and extract the identification information from the scanResults method.
- the first mobile terminal sends a first request to the first WIFI hotspot.
- the first mobile terminal can obtain a list including a plurality of WIFI hotspots by scanning.
- the first mobile terminal selects the first WIFI hotspot established by the second mobile terminal to access.
- the first mobile terminal may send a first request to the first WIFI hotspot, where the first request is used to request access to the first WIFI hotspot.
- the WifiManager object can be returned by the WifiManager.getConfiguredNetworks() method, and then the WifiManager.enableNetwork() method can be called to connect to the specified hotspot.
- the first WIFI hotspot feeds back the second WIFI network information.
- the first WIFI hotspot responds to the first request of the first mobile terminal, allowing the first mobile terminal to join the first WIFI hotspot.
- the second mobile terminal feeds back the WIFI network information of the first WIFI hotspot to the first mobile terminal by using the first WIFI hotspot.
- the WIFI network information in this stage may be referred to as the second WIFI network information.
- the second mobile terminal may also carry the tag information in the second WIFI network information, where the tag information is used to indicate that the first WIFI hotspot is a self-built WIFI hotspot of the mobile terminal.
- the second mobile terminal can receive the first request from the first mobile terminal through the underlying WIFI HotPoint module.
- the second mobile The terminal is equivalent to an Access Point (AP) device that provides WIFI hotspot services.
- AP Access Point
- the second mobile terminal may feed back the second WIFI network information of the first WIFI hotspot from the first WIFI hotspot to the first mobile terminal by using the WIFI HotPoint module according to the first request of the first mobile terminal.
- the second WIFI network information of the first WIFI hotspot may be extended on the basis of the second WIFI network information fed back by the WIFI hotspot in the prior art, and a flag bit is added to carry the tag information.
- the second mobile terminal may also carry the identifier information in the first WIFI network information, or carry the identifier information in the second WIFI network information.
- the first mobile terminal may store the WIFI network information record in the first WIFI network information and the second WIFI network information in a storage space (eg, a memory space, etc.) of the first mobile terminal.
- a storage space eg, a memory space, etc.
- the APP of the first mobile terminal acquires rights information for performing a specific service operation, and determines whether to start a specific service operation according to the authority information for performing a specific service operation.
- a specific service operation includes an operation involving a large amount of data, such as an uploading and downloading operation of a video, an audio, or a picture.
- the APP may determine, by using an interface, whether the first WIFI hotspot accessed by the first mobile terminal is a self-built WIFI hotspot of the mobile terminal.
- the APP in the first mobile terminal may obtain the WIFI network information of the first WIFI hotspot through the interface.
- the APP in the mobile terminal 2 can read the WIFI network information from the WIFI Driver module at the bottom of the first mobile terminal through the interface of the framework, thereby acquiring the identification information.
- the APP may determine whether the WIFI network information has a flag bit carrying the tag information.
- the flag bit does not exist, it indicates that the first WIFI hotspot is not a self-built WIFI hotspot of the mobile terminal, and it is determined that a specific service operation can be started.
- the flag bit indicates that the first WIFI hotspot is a self-built WIFI hotspot of the mobile terminal, determining that the specific service operation is not started, or determining to stop the specific service operation that has been started, or sending the request confirmation information to the user of the first mobile terminal.
- the request confirmation information is used to request confirmation of whether a specific business operation is performed.
- the specific service operation may be directly performed, or
- the mobile data network that prompts the first mobile terminal to switch the current network connection of the first mobile terminal to the first mobile terminal performs a specific service operation through the mobile data network of the first mobile terminal.
- the first mobile terminal may set a specific service operation mode in which the related app is allowed to be executed when the specific service operation mode is enabled.
- the first mobile terminal determines that the first WIFI hotspot is a self-built WIFI hotspot of the mobile terminal, it may be determined that the specific service operation mode is closed.
- the app is ready to start, the information of the specific service operation mode is read through the interface, and then it is determined whether to start a specific service operation.
- the APP of the embodiment of the present invention may be regarded as an internal implementation of the first mobile terminal, and the first mobile terminal including the app as a whole is used to execute the method of the embodiment shown in FIG. 2 .
- the method of the embodiment of the present invention by extending the WIFI network information, adding marking information for indicating the self-built WIFI hotspot of the mobile terminal, and determining whether to perform a specific service operation according to whether the first WIFI hotspot is a mobile terminal self-built WIFI hotspot. Thereby, unnecessary mobile data network traffic consumption can be avoided and user losses can be avoided.
- the first mobile terminal sends a second request to the first WIFI hotspot.
- the first mobile terminal may further send a second request to the first WIFI hotspot, requesting the user of the second mobile terminal sharing the first WIFI hotspot to allow the first mobile terminal. Perform specific business operations.
- the second mobile terminal feeds back a response of the second request.
- the second mobile terminal may feed back the response of the second request to the first mobile terminal according to the second request of the first mobile terminal.
- the response indicates that the second mobile terminal allows the first mobile terminal to perform the specific service operation, or the response indicates that the second mobile terminal does not allow the first mobile terminal to perform the specific service operation.
- the first mobile terminal performs the specific service operation; or if the response indicates that the second mobile terminal does not allow the first mobile terminal Performing the specific service operation, the first mobile terminal switches the current network connection of the first mobile terminal to the mobile data network of the first mobile terminal and performs the specific service operation; or if the response indicates the second mobile terminal The first mobile terminal is not allowed to perform the specific service operation, and the first mobile terminal does not perform the specific service operation.
- the first mobile terminal may also access the WIFI hotspot or access the WIFI hotspot. After the point, configure this specific business operation.
- the user of the first mobile terminal can configure the type of service involved in the specific service operation, for example, the user of the first mobile terminal can configure the operation of the transmission service involving pictures, audio, video, etc. as a specific service operation, etc. .
- the specific service operation may be configured by the first mobile terminal according to the configuration information sent by the WIFI hotspot.
- the second mobile terminal may send configuration information to the first mobile terminal through the WIFI hotspot, where the configuration information includes a service type included in the specific service operation, and the like.
- the specific service operation may also be that the first mobile terminal is pre-configured at the factory.
- this particular business operation can also be associated with some applications.
- These associated applications refer to applications that are only allowed to start when the first mobile terminal is allowed to perform the particular service operation.
- the user of the first mobile terminal can apply the configuration of the association for the particular service operation.
- the second mobile terminal is a mobile terminal that establishes a WIFI hotspot
- the first mobile terminal is a mobile terminal that accesses a WIFI hotspot.
- the second mobile terminal establishes a first WIFI hotspot and broadcasts the first WIFI network information of the first WIFI hotspot.
- the first mobile terminal scans the WIFI hotspot.
- the first mobile terminal sends a first request to the first WIFI hotspot.
- the first WIFI hotspot feeds back the second WIFI network information.
- the APP of the first mobile terminal acquires the right information for performing a specific service operation, and determines whether to start a specific service operation according to the authority information for performing the specific service operation.
- steps 401-405 can be referred to the steps 301-305 of FIG. 3, and details are not described herein again.
- the first mobile terminal sends prompt information to the first WIFI hotspot.
- the first mobile terminal If the first mobile terminal has started performing a specific service operation, the first mobile terminal sends prompt information to the first WIFI hotspot, where the prompt information is used to prompt the second terminal sharing the WIFI hotspot that the first mobile terminal is executing the specific service. operating.
- the second mobile terminal determines whether to disconnect the first mobile terminal.
- the second mobile terminal may determine whether to disconnect the first mobile terminal.
- the WIFI may be sent to the WIFI.
- the hotspot sends a prompt message to remind the user of the second mobile terminal to prevent the user of the second mobile terminal from consuming the data traffic without being unknowingly consumed.
- FIG. 5 is a flow chart of interaction of a mobile data sharing method according to still another embodiment of the present invention.
- the second mobile terminal is a mobile terminal that establishes a WIFI hotspot
- the first mobile terminal is a mobile terminal that accesses a WIFI hotspot.
- the second mobile terminal establishes a first WIFI hotspot and broadcasts the first WIFI network information of the first WIFI hotspot.
- the first mobile terminal scans the WIFI hotspot.
- the first mobile terminal sends a first request to the first WIFI hotspot.
- the first WIFI hotspot feeds back the second WIFI network information.
- the APP of the first mobile terminal acquires the right information for performing a specific service operation, and determines whether to start a specific service operation according to the authority information for performing the specific service operation.
- steps 501-505 For the specific implementation of the steps 501-505, reference may be made to the steps 301-305 of FIG. 3, which are not described herein again.
- the second mobile terminal monitors data traffic from the first mobile terminal.
- the second mobile terminal can monitor data traffic from the first mobile terminal to prevent the first mobile terminal from generating a large amount of data traffic.
- the second mobile terminal determines, according to data traffic of the first mobile terminal, whether to disconnect the first mobile terminal.
- the second mobile terminal may determine whether to disconnect the first mobile terminal according to the data traffic of the first mobile terminal.
- the second mobile terminal may determine, according to the total amount of data traffic of the first mobile terminal, whether to disconnect the first mobile terminal, and disconnect when the total data traffic of the first mobile terminal is greater than a first predetermined threshold. The connection of the first mobile terminal.
- the second mobile terminal may determine, according to data traffic of the first mobile terminal within a predetermined time, whether to disconnect the first mobile terminal, and determine that the data traffic of the first mobile terminal within a predetermined time is greater than the second predetermined. At the threshold, the connection of the first mobile terminal is disconnected.
- the second mobile terminal determines whether to disconnect the first mobile terminal by monitoring data traffic from the second mobile terminal, and according to the total data traffic of the first mobile terminal, thereby avoiding the second mobile terminal.
- the data traffic is consumed in large quantities.
- FIG. 6 is a schematic diagram of a mobile data sharing method according to another embodiment of the present invention.
- the method of Figure 6 consists of The second mobile terminal performs.
- the second mobile terminal may be a mobile terminal device such as a smart phone.
- the method of the embodiment of the present invention will be described below in conjunction with the system block diagram of FIG.
- the second mobile terminal in the embodiment of the present invention may be the second mobile terminal in the embodiment shown in FIG. 1.
- the second mobile terminal establishes a WIFI hotspot and sets the WIFI mode to a mobile data sharing mode, so that other mobile terminals can access the mobile data network of the second mobile terminal through the WIFI hotspot.
- the user of the second mobile terminal can establish a WIFI hotspot in the Setting module and set its WIFI mode to the mobile data sharing mode.
- the second mobile terminal may receive the first request of the first mobile terminal, where the first request is used to request access to the WIFI hotspot.
- the second mobile terminal may allow the first mobile terminal to access the WIFI hotspot according to the first request.
- the WIFI network information carries tag information indicating that the mobile terminal establishes a WIFI hotspot.
- the second mobile terminal may carry the marking information indicating the self-built WIFI hotspot of the mobile terminal in the WIFI network information broadcasted after the establishment of the WIFI hotspot, or the WIFI fed back after the mobile terminal accesses the WIFI hotspot.
- the network information carries the tag information indicating that the mobile terminal self-built the WIFI hotspot.
- the second mobile terminal sends the WIFI network information to the first mobile terminal, and carries the marking information for indicating that the WIFI hotspot is the self-built WIFI hotspot of the mobile terminal, so that the first mobile terminal can according to the marking information.
- the marking information for indicating that the WIFI hotspot is the self-built WIFI hotspot of the mobile terminal, so that the first mobile terminal can according to the marking information.
- the method further includes: receiving a second request of the first mobile terminal, the second request is used to request the first mobile terminal to perform a specific service operation; and to the second mobile terminal The user requests to confirm whether the specific service operation is performed; to the first mobile terminal Sending a response to the second request, the response being used to indicate that the user of the second mobile terminal allows the first mobile terminal to perform a specific service operation, or to indicate that the user of the second mobile terminal does not allow the first mobile terminal to perform Specific business operations.
- the second mobile terminal determines, according to the second request of the first mobile terminal, whether to allow the first mobile terminal to perform a specific service operation, thereby preventing the user of the second mobile terminal from moving the data traffic to a large amount without knowing it. Consumption.
- the method further includes: receiving, by the first mobile terminal, prompt information, where the prompt information is used to prompt the second mobile terminal sharing the WIFI hotspot, the first mobile terminal is performing the specific service. And determining, according to the prompt information, whether to disconnect the first mobile terminal.
- the second mobile terminal determines whether to disconnect the first mobile terminal according to the prompt information sent by the first mobile terminal to the WIFI hotspot after performing the specific service operation, and avoids that the user of the second mobile terminal does not know In the case of mobile data traffic is consumed in large quantities.
- the method further includes: monitoring data traffic from the first mobile terminal; if the data traffic is greater than a predetermined threshold within a predetermined time, disconnecting the first mobile terminal.
- the second mobile terminal determines whether to disconnect the first mobile terminal by monitoring data traffic from the second mobile terminal, and according to the total data traffic of the first mobile terminal, thereby avoiding the second mobile terminal. The data traffic is consumed in large quantities.
- the method may further include: sending, to the first mobile terminal, configuration information of the specific service operation, where the configuration information includes a service type included in the specific service operation.
- FIG. 7 is a schematic diagram of a mobile data sharing method according to still another embodiment of the present invention.
- the method of Figure 7 is performed by a first mobile terminal.
- the first mobile terminal may be a mobile terminal device such as a smart phone.
- the method of the embodiment of the present invention will be described below in conjunction with the system block diagram of FIG.
- the first mobile terminal in the embodiment of the present invention may be the first mobile terminal in the embodiment shown in FIG. 1.
- the WIFI hotspot is a self-built WIFI hotspot of the second mobile terminal, and is virtualized by the second mobile terminal as the first mobile data network.
- the WIFI hotspot accessed by the first mobile terminal is a self-built WIFI network of the mobile terminal, and is virtualized as the first mobile data network.
- the WIFI network information may be the WIFI network information of the WIFI hotspot obtained by the first mobile terminal in the scanning WIFI hotspot stage, or the WIFI network information is the WIFI hotspot according to the first request of step 701. WIFI network information.
- step 202 of FIG. 2 For the manner of carrying the parameters of the first mobile data network in the WIFI network information, reference may be made to step 202 of FIG. 2, except that step 202 is an identifier bit, and the parameters of the first mobile data network require a longer extension field.
- the first mobile data network may be a mobile data network currently accessed by the second mobile terminal that establishes the WIFI hotspot.
- the first mobile terminal can perform a service operation specific to the first mobile data network.
- the first mobile data network may also be a mobile data network that is independent of the mobile data network currently accessed by the second mobile terminal that establishes the WIFI hotspot.
- the network currently accessed by the first mobile terminal is virtualized as a mobile data network according to the WIFI network information, where the virtual mobile data network is configured to determine, if the first mobile terminal does not start, according to the type of the accessed network.
- the business operation or determining to stop the specific business operation that has been initiated, or requesting the user of the first mobile terminal to confirm whether to perform the specific business operation.
- service operations of the embodiments of the present invention include service operations involving large traffic data, for example, may include uploading and downloading operations on video, audio or pictures.
- the first mobile terminal may virtualize the WIFI hotspot as the first mobile data network, or be virtualized as the mobile data network of the first mobile terminal itself.
- the first mobile terminal may determine to stop a particular service operation that has already taken place.
- the first mobile terminal may determine not to initiate a particular service operation that is ready to be initiated.
- the first mobile terminal may send request confirmation information to the user of the first mobile terminal, the request confirmation information being used to request the user to determine whether to allow the specific service operation.
- the first mobile terminal virtualizes the WIFI hotspot as the first mobile data network according to the parameter of the virtual first mobile data network in the WIFI network information of the WIFI hotspot, so that the first mobile terminal determines whether to perform Specific business operations can avoid the massive consumption of mobile data network traffic and avoid user losses.
- the method further includes: if the user of the first mobile terminal allows the specific service operation, switching the current network connection of the first mobile terminal to the mobile data network of the first mobile terminal; performing the specific Business operations.
- a user may need to perform operations for that particular service regardless of whether a large amount of mobile data network traffic needs to be consumed.
- the current network connection of the first mobile terminal is switched to the mobile data network of the first mobile terminal, thereby avoiding Traffic that causes other people's mobile data networks is heavily consumed.
- the first mobile terminal may perform the specific service operation by directly switching to the current network connection, and the specific implementation may refer to the prior art.
- the method may further include: the first mobile terminal sends prompt information to the WIFI hotspot, where the prompt information is used to prompt the second mobile terminal sharing the WIFI hotspot that the first mobile terminal is performing the specific service operation.
- the prompt information may be sent to the WIFI hotspot to remind the user of the second mobile terminal to prevent the user of the second mobile terminal from moving without knowing Data traffic is consumed in large quantities.
- the method may further include: sending a second request to the WIFI hotspot, the second request for requesting the second mobile terminal sharing the WIFI hotspot to allow the first mobile terminal to perform the specific service operation.
- the method further includes: receiving a response of the second mobile terminal to the second request; if the response indicates that the second mobile terminal allows the first mobile terminal to perform the specific service operation, performing the specific service operation; Alternatively, if the response indicates that the second mobile terminal does not allow the first mobile terminal to perform the specific service operation, then the current network connection of the first mobile terminal is switched to the mobile data network of the first mobile terminal.
- the first mobile terminal sends a second request to the WIFI hotspot when the specific service operation needs to be performed to request the second mobile terminal sharing the WIFI hotspot to allow the first mobile terminal to perform a specific service operation, thereby avoiding the second mobile
- the user of the terminal is unknowingly moving data traffic is consumed a lot.
- the specific service operation is configured by a user of the first mobile terminal.
- a user of the first mobile terminal can configure an operation involving a transmission service of pictures, audio, video, etc. as a specific service operation, and the like.
- the specific service operation is configured by the second mobile terminal for the first mobile terminal.
- the second mobile terminal sends configuration information to all mobile terminals accessing the WIFI hotspot through the WIFI hotspot, and configures related to pictures, audio, video, and the like.
- the operations of transporting services are specific business operations, and so on.
- the specific service operation is that the first mobile terminal preset at the factory may preset the operation of the transmission service involving pictures, audio, video, etc. as a specific service operation, etc. Wait.
- the associated application of the specific service operation in the first mobile terminal is configured by a user of the first mobile terminal, where the associated application refers to being allowed only when the first mobile terminal is allowed to perform the specific service operation.
- Launched app the user of the first mobile terminal can set the mobile phone map, the instant communication tool, and the like as the associated application for the specific service operation, and when the first mobile terminal is not allowed to perform the specific service operation, the mobile phone map, the instant communication tool, and the like cannot It is activated; when the first mobile terminal allows to perform the specific service operation, the APP map, instant messaging tool, and the like are allowed to be activated.
- FIG. 8 is a flow chart of interaction of a mobile data sharing method according to still another embodiment of the present invention.
- the second mobile terminal is a mobile terminal that establishes a WIFI hotspot
- the first mobile terminal is a mobile terminal that accesses a WIFI hotspot.
- the second mobile terminal establishes a WIFI hotspot, virtualizes the first mobile data network, and broadcasts the first WIFI network information of the first WIFI hotspot.
- the second mobile terminal in the embodiment of the present invention can establish a WIFI hotspot through a setting module located at the application layer, and set the WIFI mode of the WIFI hotspot to a mobile data sharing mode for other
- the mobile terminal can search for the WIFI hotspot to select a WIFI hotspot for access operation.
- the WIFI hotspot established by the second mobile terminal is named as the first WIFI hotspot.
- the first WIFI hotspot may also be virtualized as the first mobile data network.
- the second mobile terminal may prompt the user whether to virtualize the provided WIFI hotspot as the first mobile data network, and virtualize the WIFI hotspot as the first mobile data network after obtaining the confirmation of the user.
- the first mobile data network may be a mobile data network currently accessed by the second mobile terminal.
- the first mobile data network may also be a mobile data network that is independent of the mobile data network currently accessed by the second mobile terminal.
- the WIFI network of the first WIFI hotspot can be broadcasted.
- the information about the WIFI network is referred to as the first WIFI network information in the embodiment of the present invention.
- one or more fields may be extended in the first WIFI network information for carrying parameters of the first mobile data network virtualized by the WIFI hotspot.
- the identifier field in the first WIFI network information may be omitted.
- the first mobile terminal scans the WIFI hotspot.
- the second mobile terminal sends a first request to the first WIFI hotspot.
- steps 802-803 For the specific implementation of the steps 802-803, reference may be made to the steps 802-803 of the embodiment shown in FIG. 3, and details are not described herein again.
- the first WIFI hotspot accepts access of the first mobile terminal and feeds back WIFI network information.
- the first WIFI hotspot responds to the first request of the first mobile terminal, allowing the first mobile terminal to join the first WIFI hotspot.
- the second mobile terminal feeds back the WIFI network information of the first WIFI hotspot to the first mobile terminal by using the first WIFI hotspot.
- the WIFI network information in this stage may be referred to as the second WIFI network information.
- the first WIFI hotspot is based on the first request of the first mobile terminal, and feeds back the second WIFI network information.
- the second mobile terminal may also carry the parameter of the first mobile data network that is virtualized by the WIFI hotspot in the second WIFI network information.
- the second mobile terminal can receive the first request from the first mobile terminal through the underlying WIFI HotPoint module.
- the second mobile terminal is equivalent to an Access Point (AP) device, and provides a service of the WIFI hotspot.
- AP Access Point
- the second mobile terminal may feed back the second WIFI network information of the first WIFI hotspot from the first WIFI hotspot to the first mobile terminal by using the WIFI HotPoint module according to the first request of the first mobile terminal.
- the second WIFI network information of the first WIFI hotspot may be extended based on the WIFI network information fed back by the WIFI hotspot in the prior art, and the extended content may include the virtual mobile data of the first WIFI hotspot.
- the parameter of the network is used by the first mobile terminal to virtualize the accessed first WIFI hotspot as the first mobile data network and feed back to the APP in the first mobile terminal to access the access network information.
- the first mobile data network that is virtualized by the first WIFI hotspot is returned through the extended field of the WIFI network information.
- Parameters including network type, carrier information, and more.
- Network type specifically, may include second generation mobile communication technology (2-Generation, 2G), Enhanced Data Rate for GSM Evolution (EDGE), third generation mobile communication technology (3rd-Generation) , 3G), fourth-generation mobile communication technology (4th-Generation, 4G) and so on.
- the first mobile terminal virtualizes the accessed first WIFI hotspot as a mobile data network.
- the second WIFI network information of the first WIFI hotspot is obtained.
- the first mobile terminal may virtualize the first WIFI hotspot as a mobile data network according to parameters of the mobile data network in the WIFI network information.
- the first mobile terminal can read the WIFI network information of the first WIFI hotspot currently accessed in the WIFI Driver module through the Framework module. After obtaining the current access network information, the first mobile terminal determines that the mobile terminal self-built the WIFI hotspot, and further obtains the parameter of the first mobile data network that is virtualized by the first WIFI hotspot by using the extended field of the WIFI network information, and the A WIFI hotspot is virtualized for the first mobile data network.
- the APP in the first mobile terminal obtains the current access network information of the first mobile terminal, the first mobile terminal may feed back information of the first mobile data network to the APP.
- the mobile data network virtualized by the first mobile terminal may also be the mobile data network of the first mobile terminal itself, or a preset mobile data network, and the like.
- the APP of the first mobile terminal acquires the right information for performing a specific service operation, and determines whether to start a specific service operation according to the authority information for performing the specific service operation.
- a specific service operation includes an operation involving a large amount of data, such as an uploading and downloading operation of a video, an audio, or a picture.
- the APP may determine, by using an interface, whether the first WIFI hotspot accessed by the first mobile terminal is a self-built WIFI hotspot of the mobile terminal.
- the APP in the first mobile terminal acquires current network information through an interface of the Framework layer.
- the current network information obtained by the APP in the first mobile terminal through the interface of the framework layer is the virtual mobile data network, because the first mobile terminal accesses the first WIFI hotspot as the mobile data network.
- the APP can obtain current network information through standard interfaces such as the Framework's ConnectivityManager and TelephonyManager.
- the APP may determine that the network type of the current access network is a mobile data network. At this point, the APP determines not to initiate a specific business operation, or Determining to stop the specific service operation that has been initiated, or sending a request confirmation message to the user of the first mobile terminal, the request confirmation information being used to request confirmation of whether to perform a specific business operation.
- the APP requests the user of the first mobile terminal to confirm whether to perform a specific service operation
- the specific service operation may be directly performed, or the first mobile terminal is prompted to use the first mobile terminal.
- the current network connection is switched to the mobile data network of the first mobile terminal, and the specific service operation is performed by the mobile data network of the first mobile terminal.
- the first mobile terminal may set a specific service operation mode in which the related app is allowed to be executed when the specific service operation mode is enabled.
- the first mobile terminal virtualizes the accessed WIFI hotspot as the mobile data network, it may be determined that the specific service operation mode is turned off.
- the app is ready to start, the information of the specific service operation mode is read through the interface, and then it is determined whether to start a specific service operation.
- the APP of the embodiment of the present invention can be regarded as an internal implementation of the first mobile terminal, and the first mobile terminal including the app as a whole is used to execute the method of the embodiment shown in FIG. 8.
- the method of the embodiment of the present invention virtualizes the accessed WIFI hotspot into a mobile data network according to parameters of the virtual first mobile data network in the WIFI network information, and determines whether to perform a specific service according to whether the accessed network is a mobile data network. Operation, thereby avoiding unnecessary mobile data network traffic consumption and avoiding user losses.
- the first mobile terminal sends a second request to the first WIFI hotspot.
- the first mobile terminal may further send a second request to the first WIFI hotspot, requesting the user of the second mobile terminal sharing the first WIFI hotspot to allow the first mobile terminal. Perform specific business operations.
- the second mobile terminal feeds back a response of the second request.
- the second mobile terminal may feed back the response of the second request to the first mobile terminal according to the second request of the first mobile terminal.
- the response indicates that the second mobile terminal allows the first mobile terminal to perform the specific service operation, or the response indicates that the second mobile terminal does not allow the first mobile terminal to perform the specific service operation.
- the first mobile terminal performs the specific service operation; or if the response indicates that the second mobile terminal does not allow the first mobile terminal Performing the specific service operation, the first mobile terminal switches the current network connection of the first mobile terminal to the mobile data network of the first mobile terminal and performs Performing the specific service operation; or if the response indicates that the second mobile terminal does not allow the first mobile terminal to perform the specific service operation, the first mobile terminal does not perform the specific service operation.
- FIG. 9 is a flow chart of interaction of a mobile data sharing method according to still another embodiment of the present invention.
- the second mobile terminal is a mobile terminal that establishes a WIFI hotspot
- the first mobile terminal is a mobile terminal that accesses a WIFI hotspot.
- the second mobile terminal establishes a WIFI hotspot, virtualizes the first mobile data network, and broadcasts the first WIFI network information of the first WIFI hotspot.
- the first mobile terminal scans the WIFI hotspot.
- the first mobile terminal sends a first request to the first WIFI hotspot.
- the first WIFI hotspot feeds back the second WIFI network information.
- the first mobile terminal virtualizes the accessed first WIFI hotspot as a mobile data network.
- the APP of the first mobile terminal acquires rights information for performing a specific service operation, and determines whether to start a specific service operation according to the authority information for performing a specific service operation.
- steps 901-906 For the specific implementation of the steps 901-906, reference may be made to the steps 301-305 of FIG. 3, which are not described herein again.
- the first mobile terminal sends prompt information to the first WIFI hotspot.
- the first mobile terminal If the first mobile terminal has started performing a specific service operation, the first mobile terminal sends prompt information to the first WIFI hotspot, where the prompt information is used to prompt the second terminal sharing the WIFI hotspot that the first mobile terminal is executing the specific service. operating.
- the second mobile terminal determines whether to disconnect the first mobile terminal.
- the second mobile terminal may determine whether to disconnect the first mobile terminal.
- the prompt information may be sent to the WIFI hotspot to remind the user of the second mobile terminal to prevent the user of the second mobile terminal from moving without knowing Data traffic is consumed in large quantities.
- FIG. 10 is a flow chart of interaction of a mobile data sharing method according to still another embodiment of the present invention.
- the second mobile terminal is a mobile terminal that establishes a WIFI hotspot
- the first mobile terminal is a mobile terminal that accesses a WIFI hotspot.
- the second mobile terminal establishes a WIFI hotspot, virtualizes the first mobile data network, and broadcasts the first WIFI network information of the first WIFI hotspot.
- the first mobile terminal scans the WIFI hotspot.
- the first mobile terminal sends a first request to the first WIFI hotspot.
- the first WIFI hotspot feeds back the second WIFI network information.
- the first mobile terminal virtualizes the accessed first WIFI hotspot as a mobile data network.
- the APP of the first mobile terminal acquires rights information for performing a specific service operation, and determines whether to start a specific service operation according to the authority information for performing a specific service operation.
- steps 1001-1006 For the specific implementation of the steps 1001-1006, reference may be made to the steps 301-305 of FIG. 3, and details are not described herein again.
- the second mobile terminal monitors data traffic from the first mobile terminal.
- the second mobile terminal can monitor data traffic from the first mobile terminal to prevent the first mobile terminal from generating a large amount of data traffic.
- the second mobile terminal determines, according to data traffic of the first mobile terminal, whether to disconnect the first mobile terminal.
- the second mobile terminal may determine whether to disconnect the first mobile terminal according to the data traffic of the first mobile terminal.
- the second mobile terminal may determine, according to the total amount of data traffic of the first mobile terminal, whether to disconnect the first mobile terminal, and disconnect when the total data traffic of the first mobile terminal is greater than a first predetermined threshold. The connection of the first mobile terminal.
- the second mobile terminal may determine, according to data traffic of the first mobile terminal within a predetermined time, whether to disconnect the first mobile terminal, and determine that the data traffic of the first mobile terminal within a predetermined time is greater than the second predetermined. At the threshold, the connection of the first mobile terminal is disconnected.
- the second mobile terminal determines whether to disconnect the first mobile terminal by monitoring data traffic from the second mobile terminal, and according to the total data traffic of the first mobile terminal, thereby avoiding the second mobile terminal.
- the data traffic is consumed in large quantities.
- FIG. 11 is a flow chart of a mobile data sharing method according to still another embodiment of the present invention.
- the method of Figure 11 is performed by a second mobile terminal.
- the second mobile terminal may be a mobile terminal device such as a smart phone.
- the method of the embodiment of the present invention will be described below in conjunction with the system block diagram of FIG.
- the second mobile terminal in the embodiment of the present invention may be the second mobile terminal in the embodiment shown in FIG. 1.
- the second mobile terminal establishes a WIFI hotspot and sets the WIFI mode to a mobile data sharing mode, so that other mobile terminals can access the mobile data network of the second mobile terminal through the WIFI hotspot.
- the user of the second mobile terminal can establish a WIFI hotspot in the Setting module and set its WIFI mode to the mobile data sharing mode.
- the second mobile terminal further needs to virtualize the WIFI hotspot as the first mobile data network.
- the first mobile data network may be a mobile data network currently accessed by the second mobile terminal.
- the WIFI hotspot of the second mobile terminal can also be virtualized as other mobile data networks.
- the second mobile terminal may receive the first request of the first mobile terminal, where the first request is used to request access to the WIFI hotspot.
- the second mobile terminal may allow the first mobile terminal to access the WIFI hotspot according to the first request.
- step 1102 can refer to the method in the prior art, and the embodiments of the present invention are not described herein again.
- the second mobile terminal may carry the parameter of the first mobile data network in the WIFI network information broadcasted after establishing the WIFI hotspot, or the WIFI network information that is fed back after the mobile terminal accesses the WIFI hotspot. Carrying parameters of the first mobile data network.
- the second mobile terminal sends the WIFI network information to the first mobile terminal, and carries the parameters for the first mobile data network, so that the first mobile terminal can be based on the parameters of the first mobile data network.
- the WIFI hotspot is virtualized as the first mobile data network, so that the first mobile terminal determines whether to perform a specific service operation, which can prevent the mobile data network traffic from being consumed in a large amount and avoid the loss of the user.
- the method further includes: receiving a second request of the first mobile terminal, the second request is used to request the first mobile terminal to perform a specific service operation; and to the second mobile terminal The user requests to confirm whether the specific service operation is performed; and sends a response to the second request to the first mobile terminal, where the response is used to indicate that the user of the second mobile terminal allows the first mobile terminal to perform a specific service operation, or Indicates that the user of the second mobile terminal does not allow the first The mobile terminal performs a specific business operation.
- the second mobile terminal determines, according to the second request of the first mobile terminal, whether to allow the first mobile terminal to perform a specific service operation, thereby preventing the user of the second mobile terminal from moving the data traffic to a large amount without knowing it. Consumption.
- the method further includes: receiving, by the first mobile terminal, prompt information, where the prompt information is used to prompt the second mobile terminal sharing the WIFI hotspot, the first mobile terminal is performing the specific service. And determining, according to the prompt information, whether to disconnect the first mobile terminal.
- the second mobile terminal determines whether to disconnect the first mobile terminal according to the prompt information sent by the first mobile terminal to the WIFI hotspot after performing the specific service operation, and avoids that the user of the second mobile terminal does not know In the case of mobile data traffic is consumed in large quantities.
- the method further includes: monitoring the data traffic from the first mobile terminal; if the data traffic is greater than a predetermined threshold within a predetermined time, disconnecting the first mobile Terminal connection.
- the second mobile terminal determines whether to disconnect the first mobile terminal by monitoring data traffic from the second mobile terminal, and according to the total data traffic of the first mobile terminal, thereby avoiding the second mobile terminal. The data traffic is consumed in large quantities.
- the method further includes: sending, to the first mobile terminal, configuration information of the specific service operation, where the configuration information includes a service type included in the specific service operation.
- An embodiment of the present invention further discloses a first mobile terminal, configured to perform the method performed by the first mobile terminal in the embodiment shown in FIG. 2-5.
- the first mobile terminal may include means for performing the method performed by the first mobile terminal in the embodiment shown in FIG. 2.
- Another embodiment of the present invention further discloses a second mobile terminal for performing the method performed by the second mobile terminal of the embodiment shown in FIG. 3-6.
- the second mobile terminal may include means for performing the method performed by the second mobile terminal in the embodiment shown in FIG. 6.
- Another embodiment of the present invention further provides another first mobile terminal for performing the method performed by the first mobile terminal of the embodiment shown in FIGS. 7-10.
- the second mobile terminal may include means for performing the method performed by the first mobile terminal in the embodiment shown in FIG.
- Still another embodiment of the present invention further discloses a second mobile terminal for performing the method performed by the second mobile terminal of the embodiment shown in FIGS. 8-11.
- the second mobile terminal may include means for performing the method performed by the second mobile terminal in the embodiment shown in FIG.
- FIG. 12 is a schematic structural diagram of a first mobile terminal 1200 according to an embodiment of the present invention.
- the first mobile terminal 1200 can include a processor 1202, a transmitter 1201, and a receiver 1204.
- a memory 1203 is also included.
- Receiver 1204, transmitter 1201, processor 1202, and memory 1203 are interconnected by a bus 1206 system.
- the bus 1206 may be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, or an EISA (Extended Industry Standard Architecture) bus.
- ISA Industry Standard Architecture
- PCI Peripheral Component Interconnect
- EISA Extended Industry Standard Architecture
- transmitter 1201 and receiver 1204 can be coupled to antenna 1205.
- the memory 1203 is configured to store a program.
- the program can include program code, the program code including computer operating instructions.
- Memory 1203 can include read only memory and random access memory and provides instructions and data to processor 1202.
- the memory 1203 may include a high speed RAM memory and may also include a non-volatile memory such as at least one disk memory.
- a memory 1203 is included for storing the program.
- the program can include program code, the program code including computer operating instructions.
- Memory 1203 can include read only memory and random access memory and provides instructions and data to processor 1202.
- the memory 1203 may include a high speed RAM memory and may also include a non-volatile memory such as at least one disk memory.
- the processor 1202 is configured to perform the following operations, and optionally execute the program stored in the memory 1203, and specifically, to perform the following operations:
- the WIFI network information of the WIFI hotspot receives, by the receiver 1204, the WIFI network information of the WIFI hotspot, where the WIFI network information carries the marking information indicating that the WIFI hotspot is a self-built WIFI hotspot of the mobile terminal;
- Processor 1202 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware in the processor 1202 or an instruction in a form of software.
- the processor 1202 described above may be a general purpose processor, including Central Processing Unit (CPU), Network Processor (NP), etc.; can also be Digital Signal Processor (DSP), Application Specific Integrated Circuit (ASIC), on-site Field-Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component; methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or executed .
- the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
- the steps of the method disclosed in the embodiments of the present invention may be directly implemented as a hardware decoding processor, or may be performed by a combination of hardware and software modules in the decoding processor.
- the software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
- the storage medium is located in the memory 1203, and the processor 1202 reads the information in the memory 1203 and completes the steps of the above method in combination with its hardware.
- the WIFI network information of the WIFI hotspot is the WIFI network information obtained by the first mobile terminal when searching for the WIFI hotspot; or the WIFI network information of the WIFI hotspot is the WIFI hotspot feedback according to the first request. WIFI network information.
- the processor 1202 can also perform the method of the embodiment shown in FIG. 2 and implement the functions of the first mobile terminal in the embodiment shown in FIG. 2-5, which is not described herein again.
- FIG. 13 is a schematic structural diagram of a second mobile terminal 1300 according to an embodiment of the present invention.
- the second mobile terminal 1300 can include a processor 1302, a transmitter 1301, and a receiver 1304.
- a memory 1303 is also included.
- Receiver 1304, transmitter 1301, processor 1302, and memory 1303 are interconnected by a bus 1306 system.
- the bus 1306 may be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, or an EISA (Extended Industry Standard Architecture) bus.
- ISA Industry Standard Architecture
- PCI Peripheral Component Interconnect
- EISA Extended Industry Standard Architecture
- transmitter 1301 and receiver 1304 can be coupled to antenna 1305.
- the memory 1303 is configured to store a program.
- the program can include program code, the program code including computer operating instructions.
- Memory 1303 can include read only memory and random access memory and provides instructions and data to processor 1302.
- the memory 1303 may include a high speed RAM memory, and may also include a non-volatile memory, such as at least 1 Disk storage.
- a memory 1303 is included for storing the program.
- the program can include program code, the program code including computer operating instructions.
- Memory 1303 can include read only memory and random access memory and provides instructions and data to processor 1302.
- the memory 1303 may include a high speed RAM memory and may also include a non-volatile memory such as at least one disk memory.
- the processor 1302 is configured to perform the following operations, optionally executing the program stored in the memory 1303, and specifically for performing the following operations:
- the WIFI network information of the WIFI hotspot is sent to the first mobile terminal by the transmitter 1301, and the WIFI network information carries the tag information indicating that the mobile terminal self-built the WIFI hotspot.
- the processor 1302 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware in the processor 1302 or an instruction in a form of software.
- the processor 1302 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc., or may be a digital signal processor (DSP), dedicated.
- ASIC Application Specific Integrated Circuit
- FPGA Field-Programmable Gate Array
- the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
- the steps of the method disclosed in the embodiments of the present invention may be directly implemented as a hardware decoding processor, or may be performed by a combination of hardware and software modules in the decoding processor.
- the software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
- the storage medium is located in the memory 1303, and the processor 1302 reads the information in the memory 1303 and completes the steps of the above method in combination with its hardware.
- the WIFI network information of the WIFI hotspot is the WIFI network information that is sent by the second mobile terminal after the establishment of the WIFI hotspot; or the WIFI network information of the WIFI hotspot is the second mobile terminal according to the first WIFI network information requesting feedback.
- the processor 1302 can also perform the method of the embodiment shown in FIG. 6 and implement the functions of the second mobile terminal in the embodiment shown in FIG. 3-6, and details are not described herein again.
- FIG. 14 is a schematic structural diagram of a first mobile terminal 1400 according to still another embodiment of the present invention.
- the first mobile terminal 1400 can include a processor 1402, a transmitter 1401, and a receiver 1404.
- a memory 1403 is also included.
- Receiver 1404, transmitter 1401, processor 1402, and memory 1403 are interconnected by a bus 1406 system.
- the bus 1406 may be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, or an EISA (Extended Industry Standard Architecture) bus.
- ISA Industry Standard Architecture
- PCI Peripheral Component Interconnect
- EISA Extended Industry Standard Architecture
- transmitter 1401 and receiver 1404 can be coupled to antenna 1405.
- the memory 1403 is configured to store a program.
- the program can include program code, the program code including computer operating instructions.
- the memory 1403 can include read only memory and random access memory and provides instructions and data to the processor 1402.
- the memory 1403 may include a high speed RAM memory and may also include a non-volatile memory such as at least one disk memory.
- a memory 1403 is included for storing the program.
- the program can include program code, the program code including computer operating instructions.
- the memory 1403 can include read only memory and random access memory and provides instructions and data to the processor 1402.
- the memory 1403 may include a high speed RAM memory and may also include a non-volatile memory such as at least one disk memory.
- the processor 1402 is configured to perform the following operations, optionally executing the program stored in the memory 1403, and specifically for performing the following operations:
- the first request is used to access the WIFI hotspot
- the WIFI hotspot is a self-built WIFI hotspot of the second mobile terminal, and is virtualized by the second mobile terminal as the first mobile data.
- the receiver 1404 Receiving, by the receiver 1404, the WIFI network information sent by the WIFI hotspot, where the WIFI network information carries parameters of the first mobile data network that is virtualized by the WIFI hotspot;
- Processor 1402 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware in the processor 1402 or an instruction in a form of software.
- the processor 1402 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc., or a digital signal processor (DSP), dedicated.
- ASIC Application Specific Integrated Circuit
- FPGA Field-Programmable Gate Array
- the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
- the steps of the method disclosed in the embodiments of the present invention may be directly implemented as a hardware decoding processor, or may be performed by a combination of hardware and software modules in the decoding processor.
- the software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
- the storage medium is located in the memory 1403, and the processor 1402 reads the information in the memory 1403 and completes the steps of the above method in combination with the hardware thereof.
- the WIFI network information of the WIFI hotspot is the WIFI network information obtained by the first mobile terminal when searching for the WIFI hotspot; or the WIFI network information of the WIFI hotspot is the WIFI hotspot feedback according to the first request. WIFI network information.
- the processor 1402 can also perform the method of the embodiment shown in FIG. 7 and implement the functions of the first mobile terminal in the embodiment shown in FIG. 7-10, and details are not described herein again.
- FIG. 15 is a schematic structural diagram of a second mobile terminal 1500 according to still another embodiment of the present invention.
- the second mobile terminal 1500 can include a processor 1502, a transmitter 1501, and a receiver 1504.
- a memory 1503 is also included.
- Receiver 1504, transmitter 1501, processor 1502, and memory 1503 are interconnected by a bus 1506 system.
- the bus 1506 may be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, or an EISA (Extended Industry Standard Architecture) bus.
- ISA Industry Standard Architecture
- PCI Peripheral Component Interconnect
- EISA Extended Industry Standard Architecture
- the memory 1503 is configured to store a program.
- the program can include program code, the program code including computer operating instructions.
- the memory 1503 can include read only memory and random access memory and provides instructions and data to the processor 1502.
- the memory 1503 may include a high speed RAM memory and may also include a non-volatile memory such as at least one disk memory.
- a memory 1503 is included for storing the program.
- the program can include program code, the program code including computer operating instructions.
- the memory 1503 can include read only memory and random access memory and provides instructions and data to the processor 1502.
- the memory 1503 may include a high speed RAM memory and may also include a non-volatile memory such as at least one disk memory.
- the processor 1502 is configured to perform the following operations.
- the program stored in the memory 1503 is executed, and is specifically configured to perform the following operations:
- the transmitter 1501 Sending, by the transmitter 1501, the WIFI network information of the WIFI hotspot to the first mobile terminal, where the WIFI network information includes parameters of the first mobile data network, where the first mobile terminal virtualizes the accessed WIFI hotspot as The first mobile data network.
- the processor 1502 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware in the processor 1502 or an instruction in a form of software.
- the processor 1502 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc., or a digital signal processor (DSP), dedicated. Application Specific Integrated Circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component; implementation of the present invention may be implemented or performed Each of the methods, steps, and logic blocks disclosed in the examples.
- the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
- the steps of the method disclosed in the embodiments of the present invention may be directly implemented as a hardware decoding processor, or may be performed by a combination of hardware and software modules in the decoding processor.
- Software modules can be located in random access memory, flash memory, read-only memory, Programmable read-only memory or electrically erasable programmable memory, registers, etc. are well-established in the storage medium of the art.
- the storage medium is located in the memory 1503, and the processor 1502 reads the information in the memory 1503 and completes the steps of the above method in combination with its hardware.
- the WIFI network information of the WIFI hotspot is the WIFI network information that is sent by the second mobile terminal after the establishment of the WIFI hotspot; or the WIFI network information of the WIFI hotspot is the second mobile terminal according to the first WIFI network information requesting feedback.
- the processor 1502 can also perform the method of the embodiment shown in FIG. 11 and implement the functions of the second mobile terminal in the embodiment shown in FIG. 8-11, and details are not described herein again.
- the size of the sequence numbers of the above processes does not mean the order of execution, and the order of execution of each process should be determined by its function and internal logic, and should not be taken to the embodiments of the present invention.
- the implementation process constitutes any limitation.
- the disclosed systems, devices, and methods may be implemented in other manners.
- the device embodiments described above are merely illustrative.
- the division of the unit is only a logical function division.
- there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
- the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
- the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
- each functional unit in various embodiments of the present invention may be integrated in one processing unit
- each unit may exist physically separately, or two or more units may be integrated into one unit.
- the functions may be stored in a computer readable storage medium if implemented in the form of a software functional unit and sold or used as a standalone product.
- the technical solution of the present invention which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including
- the instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
- the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like, which can store program codes. .
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
Abstract
本发明实施例提供了一种移动数据共享方法和移动终端。该方法包括:向WIFI热点发送第一请求,该第一请求用于接入该WIFI热点,该WIFI热点为第二移动终端的自建WIFI热点;接收该WIFI热点的WIFI网络信息,该WIFI网络信息中携带表示该WIFI热点为移动终端自建WIFI热点的标记信息;确定不启动特定业务操作,或者确定停止已启动的该特定业务操作,或者向该第一移动终端的用户请求确认是否允许进行该特定业务操作。
Description
本发明涉及通信领域,并且更具体地,涉及一种移动数据共享方法和移动终端。
随着移动互联网和无线保真(Wireless Fidelity,WIFI)网络的兴起和普及,移动智能终端上的各种应用(APP)也大量兴起和被使用。
由于移动数据网络的流量计费与WIFI的网络通常使用的带宽包月计费模式不同,很多移动APP如云图库(云端照片同步),应用市场的应用下载和安装,只读存储器(Read-Only Memory,ROM)升级包下载和安装等应用在涉及大流量消耗的功能时均会先判断当前网络类型,假如判断是移动数据网络,则会明确提示用户,得到用户同意后再进行相应的操作或根本就不进行相关大流量操作;假如判断是WIFI网络,则会直接进行大流量操作,如应用安装包的下载或云照片的同步。
但假如是移动终端设备是通过其他移动终端设备(如手机)共享的WIFI热点进行上网,则会出现,各种APP判断是WIFI网络自动启动大流量操作,从而导致共享WIFI热点的终端设备的移动数据网络流量被大量消耗,造成用户财产损失。
发明内容
本发明实施例提供一种移动数据共享方法和移动终端,能够在接入其它移动终端共享的WIFI热点时,能够避免不必要的移动数据网络流量消耗,避免用户的损失。
第一方面,提出了一种第一移动终端的移动数据共享方法,包括:向WIFI热点发送第一请求,该第一请求用于接入该WIFI热点,该WIFI热点为第二移动终端的自建WIFI热点;接收该WIFI热点的WIFI网络信息,该WIFI网络信息中携带表示该WIFI热点为移动终端自建WIFI热点的标记信息;确定不启动特定业务操作,或者确定停止已启动的该特定业务操作,或者向该第一移动终端的用户请求确认是否允许进行该特定业务操作。
结合第一方面,在第一种可能的实现方式中,具体实现为:该WIFI热点的WIFI网络信息是该第一移动终端在搜索到该WIFI热点时得到的WIFI网络信息;或者,该WIFI热点的WIFI网络信息是该WIFI热点根据该第一请求反馈的WIFI网络信息。
结合第一方面及其上述实现方式,在第一方面的第二种可能的实现方式中,该方法还包括:如果该第一移动终端的用户允许进行该特定业务操作,则将该第一移动终端当前的网络连接切换为该第一移动终端的移动数据网络;执行该特定业务操作。
结合第一方面及其上述实现方式,在第一方面的第三种可能的实现方式中,该方法还包括:向该WIFI热点发送提示信息,该提示信息用于提示共享该WIFI热点的第二移动终端该第一移动终端正在执行该特定业务操作。
结合第一方面及其上述实现方式,在第一方面的第四种可能的实现方式中,该方法还包括:向该WIFI热点发送第二请求,该第二请求用于请求共享该WIFI热点的第二移动终端允许该第一移动终端执行该特定业务操作。
结合第一方面及其上述实现方式,在第一方面的第五种可能的实现方式中,该方法还包括:接收该第二移动终端对该第二请求的响应;如果该响应指示该第二移动终端允许该第一移动终端执行该特定业务操作,则执行该特定业务操作;或者,如果该响应指示该第二移动终端不允许该第一移动终端执行该特定业务操作,则将该第一移动终端当前的网络连接切换为该第一移动终端的移动数据网络。
结合第一方面及其上述实现方式,在第一方面的第六种可能的实现方式中,具体实现为:该特定业务操作是由该第一移动终端的用户配置的,或者该特定业务操作是由该第二移动终端为该第一移动终端配置的,或者该特定业务操作是出厂时预设置的。
结合第一方面及其上述实现方式,在第一方面的第七种可能的实现方式中,具体实现为:该特定业务操作在该第一移动终端的关联应用是该第一移动终端的用户配置的;其中,该关联应用是指只有在该第一移动终端允许执行该特定业务操作时才允许启动的应用。
第二方面,提出了一种第一移动终端,用于执行第一方面或第一方面的任一方面的可能实现方式中的方法。
具体地,该装置可以包括用于执行第一方面或第一方面的任一可能的实
现方式中的方法的单元。
第三方面,提供了另一种第一移动终端,包括处理器、发射器和接收器,该处理器用于执行通过该发射器和该接收器执行第一方面或第一方面的任意可能的实现方式中的方法。
第四方面,提出了一种计算机可读存储介质,用于存储计算机程序,该计算机程序包括用于执行第一方面或第一方面的任意可能的实现方式中的方法的指令。
第五方面,提出了一种第二移动终端的移动数据共享方法,包括:建立WIFI热点;接收第一移动终端接入该WIFI热点的第一请求并允许该第一移动终端接入该WIFI热点;向该第一移动终端发送该WIFI热点的WIFI网络信息,该WIFI网络信息中携带用于表示移动终端自建WIFI热点的标记信息。
结合第五方面,在第一种可能的实现方式中,该WIFI热点的WIFI网络信息是该第二移动终端在建立该WIFI热点后通过广播发送的WIFI网络信息;或者,该WIFI热点的WIFI网络信息是该第二移动终端根据该第一请求反馈的WIFI网络信息。
结合第五方面及其上述实现方式,在第五方面的第二种可能的实现方式中,该方法还包括:接收该第一移动终端的第二请求,该第二请求用于请求允许该第一移动终端执行特定业务操作;向该第二移动终端的用户请求确认是否允许进行该特定业务操作;向该第一移动终端发送该第二请求的响应,该响应用于表示该第二移动终端的用户允许该第一移动终端执行特定业务操作,或用于表示该第二移动终端的用户不允许该第一移动终端执行特定业务操作。
结合第五方面及其上述实现方式,在第五方面的第三种可能的实现方式中,该方法还包括:监控来自该第一移动终端的数据流量;如果该数据流量在预定时间内大于预定阈值,则断开该第一移动终端的连接。
结合第五方面及其上述实现方式,在第五方面的第四种可能的实现方式中,该方法还包括:向该第一移动终端发送该特定业务操作的配置信息,该配置信息包括该特定业务操作所包含的业务类型。
第六方面,提出了一种第二移动终端,用于执行第五方面或第五方面的任一方面的可能实现方式中的方法。
具体地,该装置可以包括用于执行第五方面或第五方面的任一可能的实现方式中的方法的单元。
第七方面,提供了另一种第二移动终端,包括处理器、发射器和接收器,该处理器用于执行通过该发射器和该接收器执行第五方面或第五方面的任意可能的实现方式中的方法。
第八方面,提出了一种计算机可读存储介质,用于存储计算机程序,该计算机程序包括用于执行第五方面或第五方面的任意可能的实现方式中的方法的指令。
第九方面,提出了一种第一移动终端的移动数据共享方法,包括:向WIFI热点发送第一请求,该第一请求用于接入该WIFI热点,该WIFI热点为第二移动终端的自建WIFI热点且被该第二移动终端虚拟为第一移动数据网络;接收该WIFI热点发送的WIFI网络信息,该WIFI网络信息携带该WIFI热点所虚拟的第一移动数据网络的参数;根据该WIFI网络信息将该第一移动终端当前接入的网络虚拟为移动数据网络,其中,该虚拟的移动数据网络用于如果该第一移动终端根据接入的网络类型确定不启动特定业务操作,或者确定停止已启动的该特定业务操作,或者向该第一移动终端的用户请求确认是否允许进行该特定业务操作。
结合第九方面,在第一种可能的实现方式中,具体实现为:该WIFI热点的WIFI网络信息是该第一移动终端在搜索到该WIFI热点时得到的WIFI网络信息;或者,该WIFI热点的WIFI网络信息是该WIFI热点根据该第一请求反馈的WIFI网络信息。
结合第九方面及其上述实现方式,在第九方面的第二种可能的实现方式中,该方法还包括:如果该第一移动终端的用户允许进行该特定业务操作,则将该第一移动终端当前的网络连接切换为该第一移动终端的移动数据网络;执行该特定业务操作。
结合第九方面及其上述实现方式,在第九方面的第三种可能的实现方式中,该方法还包括:向该WIFI热点发送提示信息,该提示信息用于提示共享该WIFI热点的第二移动终端该第一移动终端正在执行该特定业务操作。
结合第九方面及其上述实现方式,在第九方面的第四种可能的实现方式中,该方法还包括:向该WIFI热点发送第二请求,该第二请求用于请求共享该WIFI热点的第二移动终端允许该第一移动终端执行该特定业务操作。
结合第九方面及其上述实现方式,在第九方面的第五种可能的实现方式中,该方法还包括:接收该第二移动终端对该第二请求的响应;如果该响应指示该第二移动终端允许该第一移动终端执行该特定业务操作,则执行该特定业务操作;或者,如果该响应指示该第二移动终端不允许该第一移动终端执行该特定业务操作,则将该第一移动终端当前的网络连接切换为该第一移动终端的移动数据网络。
结合第九方面及其上述实现方式,在第九方面的第六种可能的实现方式中,具体实现为:该虚拟的移动数据网络为该第一移动数据网络或该第一移动终端的移动数据网络。
结合第九方面及其上述实现方式,在第九方面的第七种可能的实现方式中,具体实现为:该特定业务操作是由该第一移动终端的用户配置的,或者该特定业务操作是由该第二移动终端为该第一移动终端配置的,或者该特定业务操作是出厂时预设置的。
结合第九方面及其上述实现方式,在第九方面的第八种可能的实现方式中,具体实现为:该特定业务操作在该第一移动终端的关联应用是该第一移动终端的用户配置的;其中,该关联应用是指只有在该第一移动终端允许执行该特定业务操作时才允许启动的应用。
第十方面,提出了一种第一移动终端,用于执行第九方面或第九方面的任一方面的可能实现方式中的方法。
具体地,该装置可以包括用于执行第九方面或第九方面的任一可能的实现方式中的方法的单元。
第十一方面,提供了另一种第一移动终端,包括处理器、发射器和接收器,该处理器用于执行通过该发射器和该接收器执行第九方面或第九方面的任意可能的实现方式中的方法。
第十二方面,提出了一种计算机可读存储介质,用于存储计算机程序,该计算机程序包括用于执行第九方面或第九方面的任意可能的实现方式中的方法的指令。
第十三方面,提出了一种第二移动终端的移动数据共享方法,包括:建立WIFI热点,并将该WIFI热点虚拟为第一移动数据网络;接收第一移动终端接入该WIFI热点的第一请求并允许该第一移动终端接入该WIFI热点;向该第一移动终端发送该WIFI热点的WIFI网络信息,该WIFI网络信息包
括该第一移动数据网络的参数,用于该第一移动终端将所接入的该WIFI热点虚拟为该第一移动数据网络。
结合第十三方面,在第一种可能的实现方式中,具体实现为:该WIFI热点的WIFI网络信息是该第二移动终端在建立该WIFI热点后通过广播发送的WIFI网络信息;或者,该WIFI热点的WIFI网络信息是该第二移动终端根据该第一请求反馈的WIFI网络信息。
结合第十三方面及其上述实现方式,在第十三方面的第二种可能的实现方式中,该方法还包括:接收该第一移动终端的第二请求,该第二请求用于请求允许该第一移动终端执行特定业务操作;向该第二移动终端的用户请求确认是否允许进行该特定业务操作;向该第一移动终端发送该第二请求的响应,该响应用于表示该第二移动终端的用户允许该第一移动终端执行特定业务操作,或用于表示该第二移动终端的用户不允许该第一移动终端执行特定业务操作。
结合第十三方面及其上述实现方式,在第十三方面的第三种可能的实现方式中,该方法还包括:监控来自该第一移动终端的数据流量;如果该数据流量在预定时间内大于预定阈值,则断开该第一移动终端的连接。
结合第十三方面及其上述实现方式,在第十三方面的第四种可能的实现方式中,该方法还包括:向该第一移动终端发送该特定业务操作的配置信息,该配置信息包括该特定业务操作所包含的业务类型。
第十四方面,提出了一种第二移动终端,用于执行第十三方面或第十三方面的任一方面的可能实现方式中的方法。
具体地,该装置可以包括用于执行第十三方面或第十三方面的任一可能的实现方式中的方法的单元。
第十五方面,提供了另一种第二移动终端,包括处理器、发射器和接收器,该处理器用于执行通过该发射器和该接收器执行第十三方面或第十三方面的任意可能的实现方式中的方法。
第十六方面,提出了一种计算机可读存储介质,用于存储计算机程序,该计算机程序包括用于执行第十三方面或第十三方面的任意可能的实现方式中的方法的指令。
一方面,基于以上方案,本发明实施例的移动数据共享方法和移动终端,第一移动终端通过根据接入的WIFI热点反馈的WIFI网络信息中标记移动
终端自建WIFI热点的标记信息,确定是否进行特定业务操作,能够避免移动数据网络流量被大量消耗,避免用户的损失。
另一方面,基于以上方案,本发明实施例的移动数据共享方法和移动终端,第一移动终端通过根据接入的WIFI热点反馈的WIFI网络信息中虚拟的第一移动数据网络的参数,将该WIFI热点虚拟为第一移动数据网络,进而确定是否进行特定业务操作,能够避免移动数据网络流量被大量消耗,避免用户的损失。
为了更清楚地说明本发明实施例的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本发明一种实施例通信系统的示意框图。
图2是本发明一种实施例的移动数据共享方法示意图。
图3是本发明一种实施例的移动数据共享方法交互流程图。
图4是本发明另一种实施例的移动数据共享方法交互流程图。
图5是本发明再一种实施例的移动数据共享方法交互流程图。
图6是本发明另一种实施例的移动数据共享方法示意图。
图7是本发明再一种实施例的移动数据共享方法示意图。
图8是本发明再一种实施例的移动数据共享方法交互流程图。
图9是本发明再一种实施例的移动数据共享方法交互流程图。
图10是本发明再一种实施例的移动数据共享方法交互流程图。
图11是本发明再一种实施例的移动数据共享方法流程图。
图12是本发明一种实施例的第一移动终端的结构示意图。
图13是本发明一种实施例的第二移动终端的结构示意图。
图14是本发明另一种实施例的第一移动终端的结构示意图。
图15是本发明另一种实施例的第二移动终端的结构示意图。
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行
清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
图1是本发明一种实施例的通信系统的示意框图。如图1所示,本发明实施例的通信系统可包括第一移动终端和第二移动终端。其中,第二移动终端为建立无线保真(Wireless-Fidelity,WIFI)热点的移动终端,其内部模块可包括设置模块(Setting)、框架模块(Framework)和WIFI热点模块(WIFI HotPoint);设置模块(Setting)位于应用层,用于进行WIFI热点的设置和管理;WIFI热点模块(WIFI HotPoint)位于WIFI的驱动层,用于实现WIFI热点的建立;框架模块(Framework)位于应用层和驱动层之间,用于封装应用层的设置模块(Setting)调用驱动层的WIFI热点模块(WIFI HotPoint)的调用接口。第一移动终端为接入WIFI热点的移动终端,其内部模块可包括应用(Application,APP)、框架模块(Framework)和WIFI驱动模块(WIFI Driver);APP位于应用层,可根据接入网络类型进行相关数据流量操作;WIFI驱动模块(WIFI Driver)位于驱动层,用于获取接入的WIFI热点的WIFI网络信息;框架模块(Framework)位于应用层和驱动层之间,用于封装应用层的APP访问驱动层的WIFI热点模块(WIFI HotPoint)的WIFI网络信息的调用接口,框架模块(Framework)可将底层网络信息传递给应用层的APP。
现有技术的通信系统可采用如图1所示的系统框架,实现第一移动终端接入第二移动终端建立的WIFI热点的流程。但是,在现有技术中,第一移动终端无法识别接入的WIFI热点是否是移动终端自建WIFI热点,可能会开启一些涉及到大流量操作的应用,从而导致第二移动终端的移动数据网络的流量被大量消耗。
为解决无法识别移动终端自建WIFI热点导致移动数据网络的流量被大量消耗的问题,本发明实施例提出了一种移动数据共享方法和移动终端。
本发明实施例的移动数据共享方法和移动终端,可以在图1所示实施例的系统框架上进行扩展,例如,第二移动终端的WIFI热点模块(WIFI HotPoint)可对WIFI网络信息进行扩展,在WIFI网络信息的扩展参数中标识网络类型等;又例如,第一移动终端的框架模块(Framework)可通过扩展字段或虚拟网络的方式将底层网络信息传递给应用层的APP,等等。当然,
应理解,图1所示的通信系统的系统框图仅仅是本发明实施例的一种应用场景,本发明实施例并不局限于此。下面结合图1的系统框图,对本发明实施例的方法进行描述。
应理解,本发明全文中所提到的第一移动终端均表示接入WIFI热点的移动终端,本发明全文中所提到的第二移动终端均表示建立WIFI热点的移动终端,不再赘述。
图2是本发明一种实施例的移动数据共享方法示意图。图2的方法由第一移动终端执行。本发明实施例中,第一移动终端可以是智能手机等移动终端设备。本发明实施例的第一移动终端可以是图1所示实施例的第一移动终端。
201,向WIFI热点发送第一请求,其中,该第一请求用于接入该WIFI热点,该WIFI热点为第二移动终端的自建WIFI热点。
第一移动终端可向第二移动终端自建的WIFI热点发送第一请求,请求接入该WIFI热点。
例如,在一种典型的接入方式中,第一移动终端可通过以下步骤请求接入WIFI热点:第一移动终端通过扫描热点,获取可接入的WIFI热点列表;第一移动终端从WIFI热点中选择一个WIFI热点发送接入请求,请求接入该WIFI热点;WIFI热点根据第一移动终端的接入请求,允许第一移动终端接入,并向第一移动终端反馈该接入请求的响应。
以android系统为例,在现有技术的android中,可通过WifiManager.getConfiguredNetworks()方法会返回WifiConfiguration对象的列表,然后再调用WifiManager.enableNetwork()方法就可以连接上指定的热点。
202,接收该WIFI热点的WIFI网络信息,其中,该WIFI网络信息中携带表示该WIFI热点为移动终端自建WIFI热点的标记信息。
本发明实施例的WIFI网络信息可以在现有技术传输WIFI网络信息的消息中进行扩展。在该WIFI网络信息中,除了标记信息以外,其余可与现有技术中移动终端获取的WIFI热点的WIFI网络信息类似。
可选地,在一种具体的实施例中,该WIFI网络信息是第一移动终端在扫描WIFI热点阶段获取的WIFI热点的WIFI网络信息。
以android系统为例,在现有技术的Android系统中,第一移动终端进入设置模块(Setting)点击扫描(Scan)后,就会调用到WifiManager的startScan
方法,当Scan过程结束后,可以通过WifiNative的scanResults方法得到扫描结果。此时,可以得到WIFI热点的服务集标识(Service Set Identifier,SSID)参数和频道(Channel)参数等。其中,SSID参数包括表示WIFI热点的媒体访问控制(Medium Access Control,MAC)地址的基本服务集标识(Basic Service Set Identifier,BSSID)参数,以及表示WIFI热点名称的扩展服务集标识(Extended Service Set Identifier,ESSID)参数。在Android系统的scanResults方法中,常用bssid表示BSSID参数,用ssid表示ESSID参数,用freq表示Channel参数。
本发明实施例中,可以在scanResults反馈的WIFI网络信息中增加一个标识信息,用于表示该WIFI热点是否是移动终端自建WIFI热点,该扩展的比特位即本发明实施例的标记信息。当然,也不排除使用其它方式表示该标记信息。如果WIFI热点不是移动终端自建WIFI热点时,该标记信息可以省略。
在本发明实施例中,步骤202可在步骤201之前执行。
可选地,在另一种具体的实施例中,该WIFI网络信息是WIFI热点根据步骤201的第一请求反馈的WIFI网络信息。
还是以android系统为例,在现有技术的Android系统中,Android的SDK提供了一个WifiInfo对象,该对象可以通过WifiManager.getConnectionInfo()来获取。通过WIFIInfo,第一移动终端可获取基本服务集标识BSSID属性、互联网协议(Internet Protocol,IP)地址、连接速度、MAC地址、802.11n网络的信号、SSID等等。其调用方式如表1所示:
表1:
调用函数 | 返回内容 |
getBSSID() | 获取BSSID属性 |
getDetailedStateOf() | 获取客户端的连通性 |
getHiddenSSID() | 获取SSID是否被隐藏 |
getIpAddress() | 获取IP地址 |
getLinkSpeed() | 获取连接的速度 |
getMacAddress() | 获取Mac地址 |
getRssi() | 获取802.11n网络的信号 |
getSSID() | 获取SSID |
getSupplicanState() | 获取具体客户端状态的信息 |
本发明实施例中,可以在WifiInfo对象进行扩展,增加一个标识信息,用于表示该WIFI热点是否是移动终端自建WIFI热点,该扩展的比特位即
本发明实施例的标记信息。当然,也不排除使用其它方式表示该标记信息。如果WIFI热点不是移动终端自建WIFI热点时,该标记信息可以省略。
在本发明实施例中,步骤202可在步骤201之后执行。
203,确定不启动特定业务操作,或者确定停止已启动的该特定业务操作,或者向该第一移动终端的用户请求确认是否允许进行该特定业务操作。
应理解,本发明实施例的特定业务操作,包括涉及到大流量数据的业务操作,例如,可包括对视频、音频或图片的上传下载操作等。
当第一移动终端确定WIFI网络信息中携带表示该WIFI热点为移动终端自建WIFI热点的标记信息时,第一移动终端需要确定是否进行特定业务操作。
可选地,第一移动终端可以确定停止已经正在进行的特定业务操作。
或者,可选地,第一移动终端可以确定不启动已经准备启动的特定业务操作。
或者,可选地,第一移动终端可向第一移动终端的用户发送请求确认信息,该请求确认信息用于请求该用户确定是否允许进行该特定业务操作。
本发明实施例中,第一移动终端根据WIFI网络信息中携带的用于表示WIFI热点为移动终端自建WIFI热点的标记信息,确定是否进行特定业务操作,能够避免移动数据网络流量被大量消耗,避免用户的损失。
可选地,该方法还包括:如果该第一移动终端的用户允许进行该特定业务操作,则将该第一移动终端当前的网络连接切换为该第一移动终端的移动数据网络;执行该特定业务操作。
在一些特定的场景中,用户可能需要进行该特定业务的操作,而不考虑是否需要消耗大量的移动数据网络流量。本发明实施例中,通过向用户发送请求确认信息,并在用户确认允许进行该特定业务操作后,将该第一移动终端当前的网络连接切换为该第一移动终端的移动数据网络,从而避免造成他人的移动数据网络的流量被大量消耗。
当然,应理解,本发明实施例中,第一移动终端也可不对当前的网络连接进行切换,直接通过WIFI热点进行该特定业务操作,其具体实现可参考现有技术。
可选地,该方法还可包括:第一移动终端向该WIFI热点发送提示信息,该提示信息用于提示共享该WIFI热点的第二移动终端该第一移动终端正在
执行该特定业务操作。本发明实施例中,当第一移动终端执行该特定业务操作后,可向该WIFI热点发送提示信息,以提醒第二移动终端的用户,避免第二移动终端的用户在不知情的情况下移动数据流量被大量消耗。
可选地,该方法还可包括:向该WIFI热点发送第二请求,该第二请求用于请求共享该WIFI热点的第二移动终端允许该第一移动终端执行该特定业务操作。
进一步地,该方法还包括:接收该第二移动终端对该第二请求的响应;如果该响应指示该第二移动终端允许该第一移动终端执行该特定业务操作,则执行该特定业务操作;或者,如果该响应指示该第二移动终端不允许该第一移动终端执行该特定业务操作,则将该第一移动终端当前的网络连接切换为该第一移动终端的移动数据网络。
本发明实施例中,第一移动终端在需要执行特定业务操作时向WIFI热点发送第二请求以请求共享该WIFI热点的第二移动终端允许第一移动终端执行特定业务操作,从而避免第二移动终端的用户在不知情的情况下移动数据流量被大量消耗。
可选地,作为一个实施例,该特定业务操作是由第一移动终端的用户配置地。例如,第一移动终端的用户可配置涉及图片、音频、视频等的传输业务的操作为特定业务操作,等等。
或者,可选地,作为另一个实施例,该特定业务操作是由第二移动终端为第一移动终端配置地。例如,第二移动终端通过WIFI热点,向接入该WIFI热点的所有移动终端发送配置信息,配置涉及图片、音频、视频等的传输业务的操作为特定业务操作,等等。
或者,可选地,作为再一个实施例,该特定业务操作是出厂时预设置的第一移动终端在出厂时可预先设置涉及图片、音频、视频等的传输业务的操作为特定业务操作,等等。
或者,可选地,该特定业务操作在第一移动终端的关联应用是第一移动终端的用户配置的,其中,该关联应用是指只有在第一移动终端允许执行该特定业务操作时才允许启动的应用。例如,第一移动终端的用户可以设置手机地图、即时通信工具等APP为特定业务操作的关联应用,则当第一移动终端不允许执行该特定业务操作时,手机地图、即时通信工具等APP不能被启动;当第一移动终端允许执行该特定业务操作时,手机地图、即时通信
工具等APP才允许被启动。
下面,将结合具体的实施例,对本发明实施例的方法做进一步的描述。
图3是本发明一种实施例的移动数据共享方法交互流程图。图3中,第二移动终端为建立WIFI热点的移动终端,第一移动终端为接入WIFI热点的移动终端。
301,第二移动终端建立第一WIFI热点并广播第一WIFI热点的第一WIFI网络信息。
与图1的第二移动终端类似,本发明实施例的第二移动终端可通过位于应用层的设置模块(Setting)建立WIFI热点,并将WIFI热点的WIFI模式设置为移动数据共享模式,以便其它移动终端能够搜索到该WIFI热点,从而选择WIFI热点进行接入操作。
当然,第二移动终端也可能通过其它的功能模块建立WIFI热点,本发明实施例在此不做限制。
为区别于其它WIFI热点,本发明实施例将该第二移动终端建立的WIFI热点命名为第一WIFI热点。
第二移动终端建立第一WIFI热点后,可广播第一WIFI热点的WIFI网络信息,以便周围的移动终端搜索到该WIFI热点,本发明实施例中,不妨将此阶段的WIFI网络信息称为第一WIFI网络信息。
现有技术中,以Android为例,该WIFI网络信息可包括WIFI热点的服务集标识(Service Set Identifier,SSID)参数和频道(Channel)参数等参数。其中,SSID参数包括表示WIFI热点的媒体访问控制(Medium Access Control,MAC)地址的基本服务集标识(Basic Service Set Identifier,BSSID)参数,以及表示WIFI热点名称的扩展服务集标识(Extended Service Set Identifier,ESSID)参数。本发明实施例中,可以在第一WIFI网络信息中扩展一个标识字段,用于表示该WIFI热点是否为移动终端自建WIFI热点。例如,可以用一个比特表示该WIFI热点是否为移动终端自建WIFI热点,1表示该WIFI热点是移动终端自建WIFI热点,0表示该WIFI热点不是移动终端自建WIFI热点。特别地,如果该WIFI热点不是移动终端自建WIFI热点,第一WIFI网络信息中该标识字段可以省略。
302,第一移动终端扫描WIFI热点。
第一移动终端扫描WIFI热点的方法可参考现有技术。例如,在Android
系统中,第一移动终端进入设置模块(Setting)点击扫描(Scan)后,就会调用到WifiManager的startScan方法,当Scan过程结束后,可以通过WifiNative的scanResults方法得到扫描结果。此时,可以得到WIFI热点的服务集标识(Service Set Identifier,SSID)参数和频道(Channel)参数等参数。其中,SSID参数包括表示WIFI热点的媒体访问控制(Medium Access Control,MAC)地址的基本服务集标识(Basic Service Set Identifier,BSSID)参数,以及表示WIFI热点名称的扩展服务集标识(Extended Service Set Identifier,ESSID)参数。在Android系统的scanResults方法中,常用bssid表示BSSID参数,用ssid表示ESSID参数,用freq表示Channel参数。
如果第二移动终端将表示该WIFI热点是否为移动终端自建WIFI热点的标识信息记录在第一WIFI网络信息,则第一移动终端可从第一WIFI网络信息中读取该标识信息。此时,第一移动终端可扩展相应的Scan方法,并从scanResults方法中提取该标识信息。
303,第一移动终端向第一WIFI热点发送第一请求。
第一移动终端通过扫描,可以得到包含多个WIFI热点的列表。
本发明实施例中,第一移动终端选择第二移动终端建立的第一WIFI热点进行接入。第一移动终端可向该第一WIFI热点发送第一请求,该第一请求用于请求接入该第一WIFI热点。
以android系统为例,在现有技术的android中,可通过WifiManager.getConfiguredNetworks()方法会返回WifiConfiguration对象的列表,然后再调用WifiManager.enableNetwork()方法就可以连接上指定的热点。
304,第一WIFI热点反馈第二WIFI网络信息。
第一WIFI热点响应第一移动终端的第一请求,允许第一移动终端加入该第一WIFI热点。同时,第二移动终端通过该第一WIFI热点向第一移动终端反馈第一WIFI热点的WIFI网络信息。为区别于建立WIFI热点阶段广播的WIFI网络信息,不妨将此阶段的WIFI网络信息称为第二WIFI网络信息。
本发明实施例中,第二移动终端也可在第二WIFI网络信息中携带标记信息,该标记信息用于表示第一WIFI热点为移动终端自建WIFI热点。
如图1的系统框图所示,第二移动终端可通过底层的WIFI HotPoint模块,接收来自第一移动终端的第一请求。对于第一移动终端而言,第二移动
终端就相当于一个接入点(Access Point,AP)装置,提供WIFI热点的服务。
第二移动终端可根据第一移动终端的第一请求,通过WIFI HotPoint模块从第一WIFI热点向第一移动终端反馈第一WIFI热点的第二WIFI网络信息。本发明实施例中,第一WIFI热点的第二WIFI网络信息,可在现有技术中WIFI热点反馈的第二WIFI网络信息的基础上进行扩展,增加一个标志位,以携带标记信息。
当然,应理解,本发明实施例中,第二移动终端也可既在第一WIFI网络信息中携带该标识信息,也可在第二WIFI网络信息中携带该标识信息。
第一移动终端可将第一WIFI网络信息和第二WIFI网络信息中的WIFI网络信息记录存储在第一移动终端的存储空间(例如,内存空间等)中。
305,第一移动终端的APP获取执行特定业务操作的权限信息,并根据执行特定业务操作的权限信息确定是否启动特定业务操作。
应理解,本发明实施例中,特定业务操作包括对视频、音频或图片的上传下载操作等涉及大流量数据的操作。
第一移动终端要执行特定业务操作时,都是通过相关的APP来执行。APP可通过接口确定该第一移动终端接入的第一WIFI热点是否为移动终端自建WIFI热点。
例如,在一种具体的实现方式中,第一移动终端内的APP可通过接口获取第一WIFI热点的WIFI网络信息。具体地,例如,在图1所示的系统框图中,移动终端2内的APP可通过Framework的接口从第一移动终端底层的WIFI Driver模块中读取WIFI网络信息,从而获取标识信息。
APP在获取Framework的接口返回的WIFI网络信息后,可判断WIFI网络信息是否存在携带标记信息的标志位。
如果不存在该标志位,则表明第一WIFI热点不是移动终端自建WIFI热点,确定可以启动特定业务操作。
如果存在该标志位,则表明第一WIFI热点是移动终端自建WIFI热点,确定不启动特定业务操作,或确定停止已启动的特定业务操作,或向第一移动终端的用户发送请求确认信息,该请求确认信息用于请求确认是否进行特定业务操作。
如果APP向第一移动终端的用户请求确认是否进行特定业务操作,在该APP得到第一移动终端的用户的确认后,可直接进行特定业务操作,或
者是提示第一移动终端将第一移动终端当前的网络连接切换为第一移动终端的移动数据网络,通过第一移动终端的移动数据网络进行特定业务操作。
或者,例如,在另一种具体的实现方式中,第一移动终端可设置特定业务操作模式,在该特定业务操作模式下,当该特定业务操作模式开启时,允许相关的app执行。当第一移动终端确定第一WIFI热点为移动终端自建WIFI热点时,可确定特定业务操作模式关闭。当app准备启动时,通过接口读取特定业务操作模式的信息,再确定是否启动特定业务操作。
应理解,本发明实施例的APP,可以视为第一移动终端的内部实现,包括app在内的第一移动终端作为一个整体,用于执行图2所示实施例的方法。
本发明实施例的方法,通过对WIFI网络信息进行扩展,增加用于表示移动终端自建WIFI热点的标记信息,并根据第一WIFI热点是否为移动终端自建WIFI热点确定是否进行特定业务操作,从而能够避免不必要的移动数据网络流量消耗,避免用户的损失。
306,第一移动终端向第一WIFI热点发送第二请求。
应理解,如果第一移动终端需要执行该特定业务操作,则第一移动终端还可向第一WIFI热点发送第二请求,请求共享第一WIFI热点的第二移动终端的用户允许第一移动终端执行特定业务操作。
307,第二移动终端反馈第二请求的响应。
第二移动终端根据第一移动终端的第二请求,可向第一移动终端反馈第二请求的响应。
其中该响应指示该第二移动终端允许该第一移动终端执行该特定业务操作,或者该响应指示该第二移动终端不允许该第一移动终端执行该特定业务操作。
如果该响应指示该第二移动终端允许该第一移动终端执行该特定业务操作,则第一移动终端执行该特定业务操作;或者,如果该响应指示该第二移动终端不允许该第一移动终端执行该特定业务操作,则第一移动终端将该第一移动终端当前的网络连接切换为该第一移动终端的移动数据网络并执行该特定业务操作;或者,如果该响应指示该第二移动终端不允许该第一移动终端执行该特定业务操作,则第一移动终端不执行该特定业务操作。
应理解,该特定业务操作可以是某些具体的业务类型。
例如,第一移动终端还可在接入WIFI热点之前,或者在接入WIFI热
点之后,配置该特定业务操作。具体地,第一移动终端的用户可配置该特定业务操作所涉及的业务类型,例如,第一移动终端的用户可以配置涉及图片、音频、视频等的传输业务的操作为特定业务操作,等等。
或者,该特定业务操作还可以是第一移动终端根据WIFI热点发送的配置信息配置的。第二移动终端可通过WIFI热点向第一移动终端发送配置信息,该配置信息中包括该特定业务操作所包含的业务类型,等等。
或者,该特定业务操作还可以是第一移动终端在出厂时预先配置的。
此外,该特定业务操作还可以和一些应用关联。这些关联应用是指只有在所述第一移动终端允许执行所述特定业务操作时才允许启动的应用。第一移动终端的用户可对该特定业务操作的关联应用配置。
本发明的其它具体实施例与此类似,不再赘述。
图4是本发明另一种实施例的移动数据共享方法交互流程图。图4中,第二移动终端为建立WIFI热点的移动终端,第一移动终端为接入WIFI热点的移动终端。
401,第二移动终端建立第一WIFI热点并广播第一WIFI热点的第一WIFI网络信息。
402,第一移动终端扫描WIFI热点。
403,第一移动终端向第一WIFI热点发送第一请求。
404,第一WIFI热点反馈第二WIFI网络信息。
405,第一移动终端的APP获取执行特定业务操作的权限信息,并根据执行特定业务操作的权限信息确定是否启动特定业务操作。
步骤401-405的具体实现可参考图3的步骤301-305,本发明实施例在此不再赘述。
406,第一移动终端向第一WIFI热点发送提示信息。
如果第一移动终端已经开始执行特定业务操作,则第一移动终端向第一WIFI热点发送提示信息,该提示信息用于提示共享该WIFI热点的第二终端该第一移动终端正在执行该特定业务操作。
407,第二移动终端确定是否断开第一移动终端的连接。
第二移动终端在接收到该提示信息后,可确定是否断开第一移动终端的连接。
本发明实施例中,当第一移动终端执行该特定业务操作后,可向该WIFI
热点发送提示信息,以提醒第二移动终端的用户,避免第二移动终端的用户在不知情的情况下移动数据流量被大量消耗。
图5是本发明再一种实施例的移动数据共享方法交互流程图。图5中,第二移动终端为建立WIFI热点的移动终端,第一移动终端为接入WIFI热点的移动终端。
501,第二移动终端建立第一WIFI热点并广播第一WIFI热点的第一WIFI网络信息。
502,第一移动终端扫描WIFI热点。
503,第一移动终端向第一WIFI热点发送第一请求。
504,第一WIFI热点反馈第二WIFI网络信息。
505,第一移动终端的APP获取执行特定业务操作的权限信息,并根据执行特定业务操作的权限信息确定是否启动特定业务操作。
步骤501-505的具体实现可参考图3的步骤301-305,本发明实施例在此不再赘述。
506,第二移动终端监控来自第一移动终端的数据流量。
第二移动终端可监控来自第一移动终端的数据流量,避免第一移动终端产生大量的数据流量
507,第二移动终端根据第一移动终端的数据流量确定是否断开第一移动终端的连接。
第二移动终端可根据第一移动终端的数据流量,确定是否断开第一移动终端的连接。
例如,第二移动终端可根据第一移动终端的数据流量总量,确定是否断开第一移动终端的连接,并定在第一移动终端的数据流量总量大于第一预定阈值时,断开第一移动终端的连接。
又例如,第二移动终端可根据第一移动终端在预定时间内的数据流量,确定是否断开第一移动终端的连接,并定在第一移动终端在预定时间内的数据流量大于第二预定阈值时,断开第一移动终端的连接。
本发明实施例中,第二移动终端通过监控来自第二移动终端的数据流量,并根据第一移动终端的数据流量总量,确定是否断开第一移动终端的连接,从而避免第二移动终端的数据流量被大量消耗。
图6是本发明另一种实施例的移动数据共享方法示意图。图6的方法由
第二移动终端执行。本发明实施例中,第二移动终端可以是智能手机等移动终端设备。下面结合图1的系统框图,对本发明实施例的方法进行描述。本发明实施例的第二移动终端可以是图1所示实施例的第二移动终端。
601,建立WIFI热点。
第二移动终端建立WIFI热点,并将WIFI模式设置为移动数据共享模式,以便其它移动终端能够通过该WIFI热点访问第二移动终端的移动数据网络。
如图1的系统框图所示,第二移动终端的用户可在Setting模块建立WIFI热点,并将其WIFI模式设置为移动数据共享模式。
602,接收第一移动终端接入该WIFI热点的第一请求并允许该第一移动终端接入该WIFI热点。
第二移动终端可接收第一移动终端的第一请求,其中,该第一请求用于请求接入该WIFI热点。
第二移动终端可根据该第一请求,允许第一移动终端接入该WIFI热点。
应理解,步骤601、602的具体实现可参考现有技术的方法,本发明实施例在此不再赘述。
603,向该第一移动终端发送该WIFI热点的WIFI网络信息。
其中,该WIFI网络信息中携带用于表示移动终端自建WIFI热点的标记信息。
应理解,本发明实施例中,第二移动终端可在建立WIFI热点后广播的WIFI网络信息中携带表示移动终端自建WIFI热点的标记信息,或者在移动终端接入该WIFI热点后反馈的WIFI网络信息中携带表示移动终端自建WIFI热点的标记信息。其具体实现的方式可参考图2所示实施例的的步骤202,本发明实施例在此不再赘述。
本发明实施例中,第二移动终端向第一移动终端发送WIFI网络信息,并在其中携带用于表示WIFI热点为移动终端自建WIFI热点的标记信息,使得第一移动终端能够根据该标记信息,确认是否执行特定业务操作,从而能够避免不必要的移动数据网络流量消耗,避免用户的损失。
可选地,作为一个实施例,该方法还包括:接收该第一移动终端的第二请求,该第二请求用于请求允许该第一移动终端执行特定业务操作;向该第二移动终端的用户请求确认是否进行该特定业务操作;向该第一移动终端发
送该第二请求的响应,该响应用于表示该第二移动终端的用户允许该第一移动终端执行特定业务操作,或用于表示该第二移动终端的用户不允许该第一移动终端执行特定业务操作。本发明实施例中,第二移动终端根据第一移动终端的第二请求确定是否允许第一移动终端执行特定业务操作,从而避免第二移动终端的用户在不知情的情况下移动数据流量被大量消耗。
可选地,作为另一个实施例,该方法还包括:接收第一移动终端发送的提示信息,该提示信息用于提示共享该WIFI热点的第二移动终端该第一移动终端正在执行该特定业务操作;根据该提示信息确定是否断开第一移动终端的连接。本发明实施例中,第二移动终端根据第一移动终端执行该特定业务操作后向该WIFI热点发送的提示信息,确定是否断开第一移动终端的连接,避免第二移动终端的用户在不知情的情况下移动数据流量被大量消耗。
可选地,作为再一个实施例,该方法还包括:监控来自该第一移动终端的数据流量;如果该数据流量在预定时间内大于预定阈值,则断开该第一移动终端的连接。本发明实施例中,第二移动终端通过监控来自第二移动终端的数据流量,并根据第一移动终端的数据流量总量,确定是否断开第一移动终端的连接,从而避免第二移动终端的数据流量被大量消耗。
可选地,该方法还可包括:向该第一移动终端发送该特定业务操作的配置信息,该配置信息包括该特定业务操作所包含的业务类型。
图6所示实施例中第二移动终端执行的方法,可参考图3-5所示实施例中第二移动终端执行的方法,本发明实施例在此不再赘述。
图7是本发明再一种实施例的移动数据共享方法示意图。图7的方法由第一移动终端执行。本发明实施例中,第一移动终端可以是智能手机等移动终端设备。下面结合图1的系统框图,对本发明实施例的方法进行描述。本发明实施例的第一移动终端可以是图1所示实施例的第一移动终端。
701,向WIFI热点发送第一请求,该第一请求用于接入该WIFI热点,该WIFI热点为第二移动终端的自建WIFI热点且被该第二移动终端虚拟为第一移动数据网络。
本发明实施例中,第一移动终端接入的WIFI热点为移动终端自建WIFI网络,且被虚拟为第一移动数据网络。
702,接收该WIFI热点发送的WIFI网络信息,该WIFI网络信息携带该WIFI热点所虚拟的第一移动数据网络的参数。
与图2的步骤202类似,该WIFI网络信息可以是第一移动终端在扫描WIFI热点阶段获取的WIFI热点的WIFI网络信息,或者是该WIFI网络信息是WIFI热点根据步骤701的第一请求反馈的WIFI网络信息。
在WIFI网络信息中携带第一移动数据网络的参数的方式可参考图2的步骤202,其区别仅在于步骤202为一个标识位,而第一移动数据网络的参数需要更长的扩展字段。
可选地,该第一移动数据网络可以是建立该WIFI热点的第二移动终端当前接入的移动数据网络。根据第一移动数据网络的类型,第一移动终端可以进行该第一移动数据网络所特有的业务操作。
当然,应理解,该第一移动数据网络也可以是与建立该WIFI热点的第二移动终端当前接入的移动数据网络无关的移动数据网络。
703,根据该WIFI网络信息将该第一移动终端当前接入的网络虚拟为移动数据网络,其中,该虚拟的移动数据网络用于如果该第一移动终端根据接入的网络类型确定不启动特定业务操作,或者确定停止已启动的该特定业务操作,或者向该第一移动终端的用户请求确认是否进行该特定业务操作。
应理解,本发明实施例的特定业务操作,包括涉及到大流量数据的业务操作,例如,可包括对视频、音频或图片的上传下载操作等。
应理解,本发明实施例中,第一移动终端可将该WIFI热点虚拟为该第一移动数据网络,或者虚拟为第一移动终端自身的移动数据网络。
可选地,第一移动终端可以确定停止已经正在进行的特定业务操作。
或者,可选地,第一移动终端可以确定不启动已经准备启动的特定业务操作。
或者,可选地,第一移动终端可向第一移动终端的用户发送请求确认信息,该请求确认信息用于请求该用户确定是否允许进行该特定业务操作。
本发明实施例中,第一移动终端通过根据WIFI热点的WIFI网络信息中虚拟的第一移动数据网络的参数,将该WIFI热点虚拟为第一移动数据网络,从而使得第一移动终端确定是否进行特定业务操作,能够避免移动数据网络流量被大量消耗,避免用户的损失。
可选地,该方法还包括:如果该第一移动终端的用户允许进行该特定业务操作,则将该第一移动终端当前的网络连接切换为该第一移动终端的移动数据网络;执行该特定业务操作。
在一些特定的场景中,用户可能需要进行该特定业务的操作,而不考虑是否需要消耗大量的移动数据网络流量。本发明实施例中,通过向用户发送请求确认信息,并在用户确认允许进行该特定业务操作后,将该第一移动终端当前的网络连接切换为该第一移动终端的移动数据网络,从而避免造成他人的移动数据网络的流量被大量消耗。
当然,应理解,本发明实施例中,第一移动终端也可不对当前的网络连接进行切换,直接通过WIFI热点进行该特定业务操作,其具体实现可参考现有技术。
可选地,该方法还可包括:第一移动终端向该WIFI热点发送提示信息,该提示信息用于提示共享该WIFI热点的第二移动终端该第一移动终端正在执行该特定业务操作。本发明实施例中,当第一移动终端执行该特定业务操作后,可向该WIFI热点发送提示信息,以提醒第二移动终端的用户,避免第二移动终端的用户在不知情的情况下移动数据流量被大量消耗。
可选地,该方法还可包括:向该WIFI热点发送第二请求,该第二请求用于请求共享该WIFI热点的第二移动终端允许该第一移动终端执行该特定业务操作。
进一步地,该方法还包括:接收该第二移动终端对该第二请求的响应;如果该响应指示该第二移动终端允许该第一移动终端执行该特定业务操作,则执行该特定业务操作;或者,如果该响应指示该第二移动终端不允许该第一移动终端执行该特定业务操作,则将该第一移动终端当前的网络连接切换为该第一移动终端的移动数据网络。
本发明实施例中,第一移动终端在需要执行特定业务操作时向WIFI热点发送第二请求以请求共享该WIFI热点的第二移动终端允许第一移动终端执行特定业务操作,从而避免第二移动终端的用户在不知情的情况下移动数据流量被大量消耗。
可选地,作为一个实施例,该特定业务操作是由第一移动终端的用户配置地。例如,第一移动终端的用户可配置涉及图片、音频、视频等的传输业务的操作为特定业务操作,等等。
或者,可选地,作为另一个实施例,该特定业务操作是由第二移动终端为第一移动终端配置地。例如,第二移动终端通过WIFI热点,向接入该WIFI热点的所有移动终端发送配置信息,配置涉及图片、音频、视频等的
传输业务的操作为特定业务操作,等等。
或者,可选地,作为再一个实施例,该特定业务操作是出厂时预设置的第一移动终端在出厂时可预先设置涉及图片、音频、视频等的传输业务的操作为特定业务操作,等等。
或者,可选地,该特定业务操作在第一移动终端的关联应用是第一移动终端的用户配置的,其中,该关联应用是指只有在第一移动终端允许执行该特定业务操作时才允许启动的应用。例如,第一移动终端的用户可以设置手机地图、即时通信工具等APP为特定业务操作的关联应用,则当第一移动终端不允许执行该特定业务操作时,手机地图、即时通信工具等APP不能被启动;当第一移动终端允许执行该特定业务操作时,手机地图、即时通信工具等APP才允许被启动。
下面,将结合具体的实施例,对本发明实施例的方法做进一步的描述。
图8是本发明再一种实施例的移动数据共享方法交互流程图。图8中,第二移动终端为建立WIFI热点的移动终端,第一移动终端为接入WIFI热点的移动终端。
801,第二移动终端建立WIFI热点,虚拟为第一移动数据网络,并广播第一WIFI热点的第一WIFI网络信息。
与图1的第二移动终端类似,本发明实施例的第二移动终端可通过位于应用层的设置模块(Setting)建立WIFI热点,并将WIFI热点的WIFI模式设置为移动数据共享模式,以便其它移动终端能够搜索到该WIFI热点,从而选择WIFI热点进行接入操作。
为区别于其它WIFI热点,本发明实施例将该第二移动终端建立的WIFI热点命名为第一WIFI热点。
本发明实施例中,第二移动终端建立第一WIFI热点后,还可将第一WIFI热点虚拟为第一移动数据网络。具体地,例如,第二移动终端可提示用户是否将提供的WIFI热点虚拟为第一移动数据网络,在得到用户的确认后将该WIFI热点虚拟为第一移动数据网络。可选地,该第一移动数据网络可以是第二移动终端当前接入的移动数据网络。当然,应理解,该第一移动数据网络也可以是与第二移动终端当前接入的移动数据网络无关的移动数据网络。
第二移动终端建立第一WIFI热点后,可广播第一WIFI热点的WIFI网
络信息,以便周围的移动终端搜索到该WIFI热点,本发明实施例中,不妨将此阶段的WIFI网络信息称为第一WIFI网络信息。
与图3所示实施例的步骤801类似,本发明实施例中,可以在第一WIFI网络信息中扩展一个或多个字段,用于携带该WIFI热点所虚拟的第一移动数据网络的参数。特别地,如果该WIFI热点不是移动终端自建WIFI热点,第一WIFI网络信息中该标识字段可以省略。
802,第一移动终端扫描WIFI热点。
803,第二移动终端向第一WIFI热点发送第一请求。
步骤802-803的具体实现可参考图3所示实施例的步骤802-803,不再赘述。
804,第一WIFI热点接受第一移动终端的接入并反馈WIFI网络信息。
第一WIFI热点响应第一移动终端的第一请求,允许第一移动终端加入该第一WIFI热点。同时,第二移动终端通过该第一WIFI热点向第一移动终端反馈第一WIFI热点的WIFI网络信息。为区别于建立WIFI热点阶段广播的WIFI网络信息,不妨将此阶段的WIFI网络信息称为第二WIFI网络信息。
第一WIFI热点根据第一移动终端的第一请求,并反馈第二WIFI网络信息。本发明实施例中,第二移动终端也可在第二WIFI网络信息中携带该WIFI热点所虚拟的第一移动数据网络的参数。
如图1的系统框图所示,第二移动终端可通过底层的WIFI HotPoint模块,接收来自第一移动终端的第一请求。对于第一移动终端而言,第二移动终端就相当于一个接入点(Access Point,AP)装置,提供WIFI热点的服务。
第二移动终端可根据第一移动终端的第一请求,通过WIFI HotPoint模块从第一WIFI热点向第一移动终端反馈第一WIFI热点的第二WIFI网络信息。本发明实施例中,第一WIFI热点的第二WIFI网络信息,可在现有技术中WIFI热点反馈的WIFI网络信息的基础上进行扩展,扩展内容可包括该第一WIFI热点所虚拟的移动数据网络的参数,用于该第一移动终端将所接入的第一WIFI热点虚拟为该第一移动数据网络并反馈给该第一移动终端内访问接入网络信息的APP。
例如,在第一移动终端接入第二移动终端的第一WIFI热点后,通过WIFI网络信息的扩展字段返回第一WIFI热点所虚拟的第一移动数据网络的
参数,包括网络类型、运营商信息,等等。网络类型,具体地,可包括第二代移动通信技术(2-Generation,2G),增强型数据速率GSM演进技术(Enhanced Data Rate for GSM Evolution,EDGE),第三代移动通信技术(3rd-Generation,3G),第四代移动通信技术(4th-Generation,4G)等。
805,第一移动终端将接入的第一WIFI热点虚拟为移动数据网络。
第一移动终端接入第一WIFI热点后,可得到第一WIFI热点的第二WIFI网络信息。本发明实施例中,第一移动终端可根据该WIFI网络信息中移动数据网络的参数,将该第一WIFI热点虚拟为移动数据网络。
例如,如图1的系统框图所示,第一移动终端可通过Framework模块读取WIFI Driver模块中当前接入的第一WIFI热点的WIFI网络信息。第一移动终端获取当前接入网络信息后,判断是移动终端自建WIFI热点,可进一步通过WIFI网络信息的扩展字段获取第一WIFI热点所虚拟的第一移动数据网络的参数,并将该第一WIFI热点虚拟为该第一移动数据网络。当第一移动终端内的APP通过获取第一移动终端的当前接入网络信息时,第一移动终端即可将该第一移动数据网络的信息反馈给该APP。
应理解,第一移动终端所虚拟的移动数据网络,还可以是第一移动终端自身的移动数据网络,或者是预设置的移动数据网络,等等。
806,第一移动终端的APP获取执行特定业务操作的权限信息,并根据执行特定业务操作的权限信息确定是否启动特定业务操作。
应理解,本发明实施例中,特定业务操作包括对视频、音频或图片的上传下载操作等涉及大流量数据的操作。
第一移动终端要执行特定业务操作时,都是通过相关的APP来执行。APP可通过接口确定该第一移动终端接入的第一WIFI热点是否为移动终端自建WIFI热点。
第一移动终端内的APP通过Framework层的接口获取当前网络信息。由于第一移动终端将接入的第一WIFI热点虚拟为移动数据网络,第一移动终端内的APP通过Framework层的接口得到的当前网络信息即为该虚拟的移动数据网络。以Android系统为例,APP可通过Framework的ConnectivityManager和TelephonyManager等标准接口获取当前网络信息。
APP在获取Framework的接口返回的接入网络信息后,可判断当前接入网络的网络类型为移动数据网络。此时,APP确定不启动特定业务操作,或
确定停止已启动的特定业务操作,或向第一移动终端的用户发送请求确认信息,该请求确认信息用于请求确认是否进行特定业务操作。
如果APP向第一移动终端的用户请求确认是否进行特定业务操作,在该APP得到第一移动终端的用户的确认后,可直接进行特定业务操作,或者是提示第一移动终端将第一移动终端当前的网络连接切换为第一移动终端的移动数据网络,通过第一移动终端的移动数据网络进行特定业务操作。
或者,例如,在另一种具体的实现方式中,第一移动终端可设置特定业务操作模式,在该特定业务操作模式下,当该特定业务操作模式开启时,允许相关的app执行。当第一移动终端将接入的WIFI热点虚拟为移动数据网络时,可确定特定业务操作模式关闭。当app准备启动时,通过接口读取特定业务操作模式的信息,再确定是否启动特定业务操作。
应理解,本发明实施例的APP,可以视为第一移动终端的内部实现,包括app在内的第一移动终端作为一个整体,用于执行图8所示实施例的方法。
本发明实施例的方法,通过根据WIFI网络信息中虚拟的第一移动数据网络的参数将接入的WIFI热点虚拟为移动数据网络,并根据接入的网络是否为移动数据网络确定是否进行特定业务操作,从而能够避免不必要的移动数据网络流量消耗,避免用户的损失。
807,第一移动终端向第一WIFI热点发送第二请求。
应理解,如果第一移动终端需要执行该特定业务操作,则第一移动终端还可向第一WIFI热点发送第二请求,请求共享第一WIFI热点的第二移动终端的用户允许第一移动终端执行特定业务操作。
808,第二移动终端反馈第二请求的响应。
第二移动终端根据第一移动终端的第二请求,可向第一移动终端反馈第二请求的响应。
其中该响应指示该第二移动终端允许该第一移动终端执行该特定业务操作,或者该响应指示该第二移动终端不允许该第一移动终端执行该特定业务操作。
如果该响应指示该第二移动终端允许该第一移动终端执行该特定业务操作,则第一移动终端执行该特定业务操作;或者,如果该响应指示该第二移动终端不允许该第一移动终端执行该特定业务操作,则第一移动终端将该第一移动终端当前的网络连接切换为该第一移动终端的移动数据网络并执
行该特定业务操作;或者,如果该响应指示该第二移动终端不允许该第一移动终端执行该特定业务操作,则第一移动终端不执行该特定业务操作。
图9是本发明再一种实施例的移动数据共享方法交互流程图。图9中,第二移动终端为建立WIFI热点的移动终端,第一移动终端为接入WIFI热点的移动终端。
901,第二移动终端建立WIFI热点,虚拟为第一移动数据网络,并广播第一WIFI热点的第一WIFI网络信息。
902,第一移动终端扫描WIFI热点。
903,第一移动终端向第一WIFI热点发送第一请求。
904,第一WIFI热点反馈第二WIFI网络信息。
905,第一移动终端将接入的第一WIFI热点虚拟为移动数据网络。
906,第一移动终端的APP获取执行特定业务操作的权限信息,并根据执行特定业务操作的权限信息确定是否启动特定业务操作。
步骤901-906的具体实现可参考图3的步骤301-305,本发明实施例在此不再赘述。
907,第一移动终端向第一WIFI热点发送提示信息。
如果第一移动终端已经开始执行特定业务操作,则第一移动终端向第一WIFI热点发送提示信息,该提示信息用于提示共享该WIFI热点的第二终端该第一移动终端正在执行该特定业务操作。
908,第二移动终端确定是否断开第一移动终端的连接。
第二移动终端在接收到该提示信息后,可确定是否断开第一移动终端的连接。
本发明实施例中,当第一移动终端执行该特定业务操作后,可向该WIFI热点发送提示信息,以提醒第二移动终端的用户,避免第二移动终端的用户在不知情的情况下移动数据流量被大量消耗。
图10是本发明再一种实施例的移动数据共享方法交互流程图。图10中,第二移动终端为建立WIFI热点的移动终端,第一移动终端为接入WIFI热点的移动终端。
1001,第二移动终端建立WIFI热点,虚拟为第一移动数据网络,并广播第一WIFI热点的第一WIFI网络信息。
1002,第一移动终端扫描WIFI热点。
1003,第一移动终端向第一WIFI热点发送第一请求。
1004,第一WIFI热点反馈第二WIFI网络信息。
1005,第一移动终端将接入的第一WIFI热点虚拟为移动数据网络。
1006,第一移动终端的APP获取执行特定业务操作的权限信息,并根据执行特定业务操作的权限信息确定是否启动特定业务操作。
步骤1001-1006的具体实现可参考图3的步骤301-305,本发明实施例在此不再赘述。
1007,第二移动终端监控来自第一移动终端的数据流量。
第二移动终端可监控来自第一移动终端的数据流量,避免第一移动终端产生大量的数据流量
1008,第二移动终端根据第一移动终端的数据流量确定是否断开第一移动终端的连接。
第二移动终端可根据第一移动终端的数据流量,确定是否断开第一移动终端的连接。
例如,第二移动终端可根据第一移动终端的数据流量总量,确定是否断开第一移动终端的连接,并定在第一移动终端的数据流量总量大于第一预定阈值时,断开第一移动终端的连接。
又例如,第二移动终端可根据第一移动终端在预定时间内的数据流量,确定是否断开第一移动终端的连接,并定在第一移动终端在预定时间内的数据流量大于第二预定阈值时,断开第一移动终端的连接。
本发明实施例中,第二移动终端通过监控来自第二移动终端的数据流量,并根据第一移动终端的数据流量总量,确定是否断开第一移动终端的连接,从而避免第二移动终端的数据流量被大量消耗。
图11是本发明再一种实施例的移动数据共享方法流程图。图11的方法由第二移动终端执行。本发明实施例中,第二移动终端可以是智能手机等移动终端设备。下面结合图1的系统框图,对本发明实施例的方法进行描述。本发明实施例的第二移动终端可以是图1所示实施例的第二移动终端。
1101,建立WIFI热点,并将该WIFI热点虚拟为第一移动数据网络。
第二移动终端建立WIFI热点,并将WIFI模式设置为移动数据共享模式,以便其它移动终端能够通过该WIFI热点访问第二移动终端的移动数据网络。
如图1的系统框图所示,第二移动终端的用户可在Setting模块建立WIFI热点,并将其WIFI模式设置为移动数据共享模式。
此外,本发明实施例中,第二移动终端还需要将该WIFI热点虚拟为第一移动数据网络。具体地,例如,第一移动数据网络可以是第二移动终端当前接入的移动数据网络。当然,也可以将第二移动终端的WIFI热点虚拟为其它的移动数据网络。
1102,接收第一移动终端接入该WIFI热点的第一请求并允许该第一移动终端接入该WIFI热点。
第二移动终端可接收第一移动终端的第一请求,其中,该第一请求用于请求接入该WIFI热点。
第二移动终端可根据该第一请求,允许第一移动终端接入该WIFI热点。
应理解,步骤1102的具体实现可参考现有技术的方法,本发明实施例在此不再赘述。
1103,向该第一移动终端发送该WIFI热点的WIFI网络信息,该WIFI网络信息包括该第一移动数据网络的参数,用于该第一移动终端将所接入的该WIFI热点虚拟为该第一移动数据网络。
应理解,本发明实施例中,第二移动终端可在建立WIFI热点后广播的WIFI网络信息中携带该第一移动数据网络的参数,或者在移动终端接入该WIFI热点后反馈的WIFI网络信息中携带该第一移动数据网络的参数。其具体实现的方式可参考图2所示实施例的的步骤202,本发明实施例在此不再赘述。
本发明实施例中,第二移动终端向第一移动终端发送WIFI网络信息,并在其中携带用于第一移动数据网络的参数,使得第一移动终端能够根据该第一移动数据网络的参数,将该WIFI热点虚拟为第一移动数据网络,从而使得第一移动终端确定是否进行特定业务操作,能够避免移动数据网络流量被大量消耗,避免用户的损失。
可选地,作为一个实施例,该方法还包括:接收该第一移动终端的第二请求,该第二请求用于请求允许该第一移动终端执行特定业务操作;向该第二移动终端的用户请求确认是否进行该特定业务操作;向该第一移动终端发送该第二请求的响应,该响应用于表示该第二移动终端的用户允许该第一移动终端执行特定业务操作,或用于表示该第二移动终端的用户不允许该第一
移动终端执行特定业务操作。本发明实施例中,第二移动终端根据第一移动终端的第二请求确定是否允许第一移动终端执行特定业务操作,从而避免第二移动终端的用户在不知情的情况下移动数据流量被大量消耗。
可选地,作为另一个实施例,该方法还包括:接收第一移动终端发送的提示信息,该提示信息用于提示共享该WIFI热点的第二移动终端该第一移动终端正在执行该特定业务操作;根据该提示信息确定是否断开第一移动终端的连接。本发明实施例中,第二移动终端根据第一移动终端执行该特定业务操作后向该WIFI热点发送的提示信息,确定是否断开第一移动终端的连接,避免第二移动终端的用户在不知情的情况下移动数据流量被大量消耗。
可选地,作为再一个实施例,该方法还包括:该方法还包括:监控来自该第一移动终端的数据流量;如果该数据流量在预定时间内大于预定阈值,则断开该第一移动终端的连接。本发明实施例中,第二移动终端通过监控来自第二移动终端的数据流量,并根据第一移动终端的数据流量总量,确定是否断开第一移动终端的连接,从而避免第二移动终端的数据流量被大量消耗。
可选地,该方法还包括:向该第一移动终端发送该特定业务操作的配置信息,该配置信息包括该特定业务操作所包含的业务类型。
图11所示实施例中第一移动终端执行的方法,可参考图8-10所示实施例中第二移动终端执行的方法,本发明实施例在此不再赘述。
本发明的一种实施例还公开了一种第一移动终端,用于执行图2-5所示实施例第一移动终端执行的方法。具体地,该第一移动终端可以包括用于执行图2所示实施例中第一移动终端执行的方法的单元。
本发明的另一种实施例还公开了一种第二移动终端,用于执行图3-6所示实施例第二移动终端执行的方法。具体地,该第二移动终端可以包括用于执行图6所示实施例中第二移动终端执行的方法的单元。
本发明的另一种实施例还提出了另一种第一移动终端,用于执行图7-10所示实施例第一移动终端执行的方法。具体地,该第二移动终端可以包括用于执行图7所示实施例中第一移动终端执行的方法的单元。
本发明的再一种实施例还公开了一种第二移动终端,用于执行图8-11所示实施例第二移动终端执行的方法。具体地,该第二移动终端可以包括用于执行图11所示实施例中第二移动终端执行的方法的单元。
图12是本发明一种实施例的第一移动终端1200的结构示意图。第一移动终端1200可包括处理器1202、发射器1201和接收器1204。可选地,还包括存储器1203。
接收器1204、发射器1201、处理器1202和存储器1203通过总线1206系统相互连接。总线1206可以是ISA(Industry Standard Architecture,工业标准体系结构)总线、PCI(Peripheral Component Interconnect,外设部件互连标准)总线或EISA(Extended Industry Standard Architecture,扩展工业标准结构)总线等。为便于表示,图12中仅用一个双向箭头表示,但并不表示仅有一根总线或一种类型的总线。具体的应用中,发射器1201和接收器1204可以耦合到天线1205。
存储器1203,用于存放程序。具体地,程序可以包括程序代码,所述程序代码包括计算机操作指令。存储器1203可以包括只读存储器和随机存取存储器,并向处理器1202提供指令和数据。存储器1203可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少1个磁盘存储器。
可选地,包括存储器1203,用于存放程序。具体地,程序可以包括程序代码,所述程序代码包括计算机操作指令。存储器1203可以包括只读存储器和随机存取存储器,并向处理器1202提供指令和数据。存储器1203可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少1个磁盘存储器。
处理器1202,用于执行以下操作,可选地,执行存储器1203所存放的程序,并具体用于执行以下操作:
通过发射器1201向WIFI热点发送第一请求,该第一请求用于接入该WIFI热点,该WIFI热点为第二移动终端的自建WIFI热点;
通过接收器1204接收该WIFI热点的WIFI网络信息,该WIFI网络信息中携带表示该WIFI热点为移动终端自建WIFI热点的标记信息;
确定不启动特定业务操作,或者确定停止已启动的该特定业务操作,或者向该第一移动终端的用户请求确认是否允许进行该特定业务操作。
处理器1202可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器1202中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器1202可以是通用处理器,包括中
央处理器(Central Processing Unit,CPU)、网络处理器(Network Processor,NP)等;还可以是数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件;可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器1203,处理器1202读取存储器1203中的信息,结合其硬件完成上述方法的步骤。
可选地,该WIFI热点的WIFI网络信息是该第一移动终端在搜索到该WIFI热点时得到的WIFI网络信息;或者,该WIFI热点的WIFI网络信息是该WIFI热点根据该第一请求反馈的WIFI网络信息。
处理器1202还可执行图2所示实施例的方法,并实现第一移动终端在图2-5所示实施例的功能,本发明实施例在此不再赘述。
图13是本发明一种实施例的第二移动终端1300的结构示意图。第二移动终端1300可包括处理器1302、发射器1301和接收器1304。可选地,还包括存储器1303。
接收器1304、发射器1301、处理器1302和存储器1303通过总线1306系统相互连接。总线1306可以是ISA(Industry Standard Architecture,工业标准体系结构)总线、PCI(Peripheral Component Interconnect,外设部件互连标准)总线或EISA(Extended Industry Standard Architecture,扩展工业标准结构)总线等。为便于表示,图13中仅用一个双向箭头表示,但并不表示仅有一根总线或一种类型的总线。具体的应用中,发射器1301和接收器1304可以耦合到天线1305。
存储器1303,用于存放程序。具体地,程序可以包括程序代码,所述程序代码包括计算机操作指令。存储器1303可以包括只读存储器和随机存取存储器,并向处理器1302提供指令和数据。存储器1303可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少1
个磁盘存储器。
可选地,包括存储器1303,用于存放程序。具体地,程序可以包括程序代码,所述程序代码包括计算机操作指令。存储器1303可以包括只读存储器和随机存取存储器,并向处理器1302提供指令和数据。存储器1303可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少1个磁盘存储器。
处理器1302,用于执行以下操作,可选地,执行存储器1303所存放的程序,并具体用于执行以下操作:
建立WIFI热点;
通过接收器1304接收第一移动终端接入该WIFI热点的第一请求并允许该第一移动终端接入该WIFI热点;
通过发射器1301向该第一移动终端发送该WIFI热点的WIFI网络信息,该WIFI网络信息中携带用于表示移动终端自建WIFI热点的标记信息。
处理器1302可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器1302中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器1302可以是通用处理器,包括中央处理器(Central Processing Unit,CPU)、网络处理器(Network Processor,NP)等;还可以是数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件;可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器1303,处理器1302读取存储器1303中的信息,结合其硬件完成上述方法的步骤。
可选地,该WIFI热点的WIFI网络信息是该第二移动终端在建立该WIFI热点后通过广播发送的WIFI网络信息;或者,该WIFI热点的WIFI网络信息是该第二移动终端根据该第一请求反馈的WIFI网络信息。
处理器1302还可执行图6所示实施例的方法,并实现第二移动终端在图3-6所示实施例的功能,本发明实施例在此不再赘述。
图14是本发明再一种实施例的第一移动终端1400的结构示意图。第一移动终端1400可包括处理器1402、发射器1401和接收器1404。可选地,还包括存储器1403。
接收器1404、发射器1401、处理器1402和存储器1403通过总线1406系统相互连接。总线1406可以是ISA(Industry Standard Architecture,工业标准体系结构)总线、PCI(Peripheral Component Interconnect,外设部件互连标准)总线或EISA(Extended Industry Standard Architecture,扩展工业标准结构)总线等。为便于表示,图14中仅用一个双向箭头表示,但并不表示仅有一根总线或一种类型的总线。具体的应用中,发射器1401和接收器1404可以耦合到天线1405。
存储器1403,用于存放程序。具体地,程序可以包括程序代码,所述程序代码包括计算机操作指令。存储器1403可以包括只读存储器和随机存取存储器,并向处理器1402提供指令和数据。存储器1403可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少1个磁盘存储器。
可选地,包括存储器1403,用于存放程序。具体地,程序可以包括程序代码,所述程序代码包括计算机操作指令。存储器1403可以包括只读存储器和随机存取存储器,并向处理器1402提供指令和数据。存储器1403可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少1个磁盘存储器。
处理器1402,用于执行以下操作,可选地,执行存储器1403所存放的程序,并具体用于执行以下操作:
通过发射器1401向WIFI热点发送第一请求,该第一请求用于接入该WIFI热点,该WIFI热点为第二移动终端的自建WIFI热点且被该第二移动终端虚拟为第一移动数据网络;
通过接收器1404接收该WIFI热点发送的WIFI网络信息,该WIFI网络信息携带该WIFI热点所虚拟的第一移动数据网络的参数;
根据该WIFI网络信息将该第一移动终端当前接入的网络虚拟为移动数据网络,其中,该虚拟的移动数据网络用于如果该第一移动终端根据接入的
网络类型确定不启动特定业务操作,或者确定停止已启动的该特定业务操作,或者向该第一移动终端的用户请求确认是否允许进行该特定业务操作。
处理器1402可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器1402中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器1402可以是通用处理器,包括中央处理器(Central Processing Unit,CPU)、网络处理器(Network Processor,NP)等;还可以是数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件;可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器1403,处理器1402读取存储器1403中的信息,结合其硬件完成上述方法的步骤。
可选地,该WIFI热点的WIFI网络信息是该第一移动终端在搜索到该WIFI热点时得到的WIFI网络信息;或者,该WIFI热点的WIFI网络信息是该WIFI热点根据该第一请求反馈的WIFI网络信息。
处理器1402还可执行图7所示实施例的方法,并实现第一移动终端在图7-10所示实施例的功能,本发明实施例在此不再赘述。
图15是本发明再一种实施例的第二移动终端1500的结构示意图。第二移动终端1500可包括处理器1502、发射器1501和接收器1504。可选地,还包括存储器1503。
接收器1504、发射器1501、处理器1502和存储器1503通过总线1506系统相互连接。总线1506可以是ISA(Industry Standard Architecture,工业标准体系结构)总线、PCI(Peripheral Component Interconnect,外设部件互连标准)总线或EISA(Extended Industry Standard Architecture,扩展工业标准结构)总线等。为便于表示,图15中仅用一个双向箭头表示,但并不表示仅有一根总线或一种类型的总线。具体的应用中,发射器1501和接收器1504可以
耦合到天线1505。
存储器1503,用于存放程序。具体地,程序可以包括程序代码,所述程序代码包括计算机操作指令。存储器1503可以包括只读存储器和随机存取存储器,并向处理器1502提供指令和数据。存储器1503可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少1个磁盘存储器。
可选地,包括存储器1503,用于存放程序。具体地,程序可以包括程序代码,所述程序代码包括计算机操作指令。存储器1503可以包括只读存储器和随机存取存储器,并向处理器1502提供指令和数据。存储器1503可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少1个磁盘存储器。
处理器1502,用于执行以下操作,可选地,执行存储器1503所存放的程序,并具体用于执行以下操作:
建立WIFI热点,并将该WIFI热点虚拟为第一移动数据网络;
通过接收器1504接收第一移动终端接入该WIFI热点的第一请求并允许该第一移动终端接入该WIFI热点;
通过发射器1501向该第一移动终端发送该WIFI热点的WIFI网络信息,该WIFI网络信息包括该第一移动数据网络的参数,用于该第一移动终端将所接入的该WIFI热点虚拟为该第一移动数据网络。
处理器1502可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器1502中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器1502可以是通用处理器,包括中央处理器(Central Processing Unit,CPU)、网络处理器(Network Processor,NP)等;还可以是数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件;可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,
可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器1503,处理器1502读取存储器1503中的信息,结合其硬件完成上述方法的步骤。
可选地,该WIFI热点的WIFI网络信息是该第二移动终端在建立该WIFI热点后通过广播发送的WIFI网络信息;或者,该WIFI热点的WIFI网络信息是该第二移动终端根据该第一请求反馈的WIFI网络信息。
处理器1502还可执行图11所示实施例的方法,并实现第二移动终端在图8-11所示实施例的功能,本发明实施例在此不再赘述。
应理解,在本发明的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元
中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。
Claims (58)
- 一种第一移动终端的移动数据共享方法,其特征在于,包括:向无线保真WIFI热点发送第一请求,所述第一请求用于接入所述WIFI热点,所述WIFI热点为第二移动终端的自建WIFI热点;接收所述WIFI热点的WIFI网络信息,所述WIFI网络信息中携带表示所述WIFI热点为移动终端自建WIFI热点的标记信息;确定不启动特定业务操作,或者确定停止已启动的所述特定业务操作,或者向所述第一移动终端的用户请求确认是否允许进行所述特定业务操作。
- 如权利要求1所述的方法,其特征在于,所述WIFI热点的WIFI网络信息是所述第一移动终端在搜索到所述WIFI热点时得到的WIFI网络信息;或者所述WIFI热点的WIFI网络信息是所述WIFI热点根据所述第一请求反馈的WIFI网络信息。
- 如权利要求1或2所述的方法,其特征在于,所述方法还包括:如果所述第一移动终端的用户允许进行所述特定业务操作,则将所述第一移动终端当前的网络连接切换为所述第一移动终端的移动数据网络;执行所述特定业务操作。
- 如权利要求3所述的方法,其特征在于,所述方法还包括:向所述WIFI热点发送提示信息,所述提示信息用于提示共享所述WIFI热点的第二移动终端所述第一移动终端正在执行所述特定业务操作。
- 如权利要求1-4中任一项所述的方法,其特征在于,所述方法还包括:向所述WIFI热点发送第二请求,所述第二请求用于请求共享所述WIFI热点的第二移动终端允许所述第一移动终端执行所述特定业务操作。
- 如权利要求5所述的方法,其特征在于,所述方法还包括:接收所述第二移动终端对所述第二请求的响应;如果所述响应指示所述第二移动终端允许所述第一移动终端执行所述特定业务操作,则执行所述特定业务操作;或者如果所述响应指示所述第二移动终端不允许所述第一移动终端执行所述特定业务操作,则将所述第一移动终端当前的网络连接切换为所述第一移 动终端的移动数据网络。
- 如权利要求1-6中任一项所述的方法,其特征在于,所述特定业务操作是由所述第一移动终端的用户配置的,或者所述特定业务操作是由所述第二移动终端为所述第一移动终端配置的,或者所述特定业务操作是出厂时预设置的。
- 如权利要求1-7中任一项所述的方法,其特征在于,所述特定业务操作在所述第一移动终端的关联应用是所述第一移动终端的用户配置的;其中,所述关联应用是指只有在所述第一移动终端允许执行所述特定业务操作时才允许启动的应用。
- 一种第二移动终端的移动数据共享方法,其特征在于,包括:建立无线保真WIFI热点;接收第一移动终端接入所述WIFI热点的第一请求并允许所述第一移动终端接入所述WIFI热点;向所述第一移动终端发送所述WIFI热点的WIFI网络信息,所述WIFI网络信息中携带用于表示移动终端自建WIFI热点的标记信息。
- 如权利要求9所述的方法,其特征在于,所述WIFI热点的WIFI网络信息是所述第二移动终端在建立所述WIFI热点后通过广播发送的WIFI网络信息;或者所述WIFI热点的WIFI网络信息是所述第二移动终端根据所述第一请求反馈的WIFI网络信息。
- 如权利要求9或10所述的方法,其特征在于,所述方法还包括:接收所述第一移动终端的第二请求,所述第二请求用于请求允许所述第一移动终端执行特定业务操作;向所述第二移动终端的用户请求确认是否允许进行所述特定业务操作;向所述第一移动终端发送所述第二请求的响应,所述响应用于表示所述第二移动终端的用户允许所述第一移动终端执行特定业务操作,或用于表示所述第二移动终端的用户不允许所述第一移动终端执行特定业务操作。
- 如权利要求9-11中任一项所述的方法,其特征在于,所述方法还包括:监控来自所述第一移动终端的数据流量;如果所述数据流量在预定时间内大于预定阈值,则断开所述第一移动终 端的连接。
- 如权利要求9-11中任一项所述的方法,其特征在于,所述方法还包括:向所述第一移动终端发送所述特定业务操作的配置信息,所述配置信息包括所述特定业务操作所包含的业务类型。
- 一种第一移动终端的移动数据共享方法,其特征在于,包括:向无线保真WIFI热点发送第一请求,所述第一请求用于接入所述WIFI热点,所述WIFI热点为第二移动终端的自建WIFI热点且被所述第二移动终端虚拟为第一移动数据网络;接收所述WIFI热点发送的WIFI网络信息,所述WIFI网络信息携带所述WIFI热点所虚拟的第一移动数据网络的参数;根据所述WIFI网络信息将所述第一移动终端当前接入的网络虚拟为移动数据网络,其中,所述虚拟的移动数据网络用于如果所述第一移动终端根据接入的网络类型确定不启动特定业务操作,或者确定停止已启动的所述特定业务操作,或者向所述第一移动终端的用户请求确认是否允许进行所述特定业务操作。
- 如权利要求14所述的方法,其特征在于,所述WIFI热点的WIFI网络信息是所述第一移动终端在搜索到所述WIFI热点时得到的WIFI网络信息;或者所述WIFI热点的WIFI网络信息是所述WIFI热点根据所述第一请求反馈的WIFI网络信息。
- 如权利要求14或15所述的方法,其特征在于,所述方法还包括:如果所述第一移动终端的用户允许进行所述特定业务操作,则将所述第一移动终端当前的网络连接切换为所述第一移动终端的移动数据网络;执行所述特定业务操作。
- 如权利要求16所述的方法,其特征在于,所述方法还包括:向所述WIFI热点发送提示信息,所述提示信息用于提示共享所述WIFI热点的第二移动终端所述第一移动终端正在执行所述特定业务操作。
- 如权利要求14或15所述的方法,其特征在于,所述方法还包括:向所述WIFI热点发送第二请求,所述第二请求用于请求共享所述WIFI热点的第二移动终端允许所述第一移动终端执行所述特定业务操作。
- 如权利要求18所述的方法,其特征在于,所述方法还包括:接收所述第二移动终端对所述第二请求的响应;如果所述响应指示所述第二移动终端允许所述第一移动终端执行所述特定业务操作,则执行所述特定业务操作;或者如果所述响应指示所述第二移动终端不允许所述第一移动终端执行所述特定业务操作,则将所述第一移动终端当前的网络连接切换为所述第一移动终端的移动数据网络。
- 如权利要求14至19中任一项所述的方法,其特征在于,所述虚拟的移动数据网络为所述第一移动数据网络或所述第一移动终端的移动数据网络。
- 如权利要求14-20中任一项所述的方法,其特征在于,所述特定业务操作是由所述第一移动终端的用户配置的,或者所述特定业务操作是由所述第二移动终端为所述第一移动终端配置的,或者所述特定业务操作是出厂时预设置的。
- 如权利要求14-21中任一项所述的方法,其特征在于,所述特定业务操作在所述第一移动终端的关联应用是所述第一移动终端的用户配置的;其中,所述关联应用是指只有在所述第一移动终端允许执行所述特定业务操作时才允许启动的应用。
- 一种第二移动终端的移动数据共享方法,其特征在于,包括:建立无线保真WIFI热点,并将所述WIFI热点虚拟为第一移动数据网络;接收第一移动终端接入所述WIFI热点的第一请求并允许所述第一移动终端接入所述WIFI热点;向所述第一移动终端发送所述WIFI热点的WIFI网络信息,所述WIFI网络信息包括所述第一移动数据网络的参数,用于所述第一移动终端将所接入的所述WIFI热点虚拟为所述第一移动数据网络。
- 如权利要求23所述的方法,其特征在于,所述WIFI热点的WIFI网络信息是所述第二移动终端在建立所述WIFI热点后通过广播发送的WIFI网络信息;或者所述WIFI热点的WIFI网络信息是所述第二移动终端根据所述第一请求反馈的WIFI网络信息。
- 如权利要求23或24所述的方法,其特征在于,所述方法还包括:接收所述第一移动终端的第二请求,所述第二请求用于请求允许所述第一移动终端执行特定业务操作;向所述第二移动终端的用户请求确认是否允许进行所述特定业务操作;向所述第一移动终端发送所述第二请求的响应,所述响应用于表示所述第二移动终端的用户允许所述第一移动终端执行特定业务操作,或用于表示所述第二移动终端的用户不允许所述第一移动终端执行特定业务操作。
- 如权利要求23或24所述的方法,其特征在于,所述方法还包括:监控来自所述第一移动终端的数据流量;如果所述数据流量在预定时间内大于预定阈值,则断开所述第一移动终端的连接。
- 如权利要求23-26中任一项所述的方法,其特征在于,所述方法还包括:向所述第一移动终端发送所述特定业务操作的配置信息,所述配置信息包括所述特定业务操作所包含的业务类型。
- 一种第一移动终端,其特征在于,包括:用于执行权利要求1-8中任一项所述的方法的单元。
- 一种第二移动终端,其特征在于,包括:用于执行权利要求9-13中任一项所述的方法的单元。
- 一种第一移动终端,其特征在于,包括:用于执行权利要求14-22中任一项所述的方法的单元。
- 一种第二移动终端,其特征在于,包括:用于执行权利要求23-27中任一项所述的方法的单元。
- 一种第一移动终端,其特征在于,包括:处理器,发射器和接收器,所述处理器具体用于执行以下方法:通过所述发射器向无线保真WIFI热点发送第一请求,所述第一请求用于接入所述WIFI热点,所述WIFI热点为第二移动终端的自建WIFI热点;通过所述接收器接收所述WIFI热点的WIFI网络信息,所述WIFI网络信息中携带表示所述WIFI热点为移动终端自建WIFI热点的标记信息;确定不启动特定业务操作,或者确定停止已启动的所述特定业务操作,或者向所述第一移动终端的用户请求确认是否允许进行所述特定业务操作。
- 如权利要求32所述的第一移动终端,其特征在于,所述WIFI热点的WIFI网络信息是所述第一移动终端在搜索到所述WIFI热点时得到的WIFI网络信息;或者所述WIFI热点的WIFI网络信息是所述WIFI热点根据所述第一请求反馈的WIFI网络信息。
- 如权利要求32或33所述的第一移动终端,其特征在于,所述处理器还用于执行以下方法:如果所述第一移动终端的用户允许进行所述特定业务操作,则将所述第一移动终端当前的网络连接切换为所述第一移动终端的移动数据网络;执行所述特定业务操作。
- 如权利要求34所述的第一移动终端,其特征在于,所述处理器还用于执行以下方法:通过所述发射器向所述WIFI热点发送提示信息,所述提示信息用于提示共享所述WIFI热点的第二移动终端所述第一移动终端正在执行所述特定业务操作。
- 如权利要求32-35中任一项所述的第一移动终端,其特征在于,所述处理器还用于执行以下方法:通过所述发射器向所述WIFI热点发送第二请求,所述第二请求用于请求共享所述WIFI热点的第二移动终端允许所述第一移动终端执行所述特定业务操作。
- 如权利要求36所述的第一移动终端,其特征在于,所述处理器还用于执行以下方法:通过所述接收器接收所述第二移动终端对所述第二请求的响应;如果所述响应指示所述第二移动终端允许所述第一移动终端执行所述特定业务操作,则执行所述特定业务操作;或者如果所述响应指示所述第二移动终端不允许所述第一移动终端执行所述特定业务操作,则将所述第一移动终端当前的网络连接切换为所述第一移动终端的移动数据网络。
- 如权利要求32-37中任一项所述的第一移动终端,其特征在于,所述特定业务操作是由所述第一移动终端的用户配置的,或者所述特定业务操作是由所述第二移动终端为所述第一移动终端配置的,或者所述特定 业务操作是出厂时预设置的。
- 如权利要求32-38中任一项所述的第一移动终端,其特征在于,所述特定业务操作在所述第一移动终端的关联应用是所述第一移动终端的用户配置的;其中,所述关联应用是指只有在所述第一移动终端允许执行所述特定业务操作时才允许启动的应用。
- 一种第二移动终端,其特征在于,包括:处理器,发射器和接收器,所述处理器具体用于执行以下方法:建立无线保真WIFI热点;通过所述接收器接收第一移动终端接入所述WIFI热点的第一请求并允许所述第一移动终端接入所述WIFI热点;通过所述发射器向所述第一移动终端发送所述WIFI热点的WIFI网络信息,所述WIFI网络信息中携带用于表示移动终端自建WIFI热点的标记信息。
- 如权利要求40所述的第二移动终端,其特征在于,所述WIFI热点的WIFI网络信息是所述第二移动终端在建立所述WIFI热点后通过广播发送的WIFI网络信息;或者所述WIFI热点的WIFI网络信息是所述第二移动终端根据所述第一请求反馈的WIFI网络信息。
- 如权利要求40或41所述的第二移动终端,其特征在于,所述处理器还用于执行以下方法:通过所述接收器接收所述第一移动终端的第二请求,所述第二请求用于请求允许所述第一移动终端执行特定业务操作;向所述第二移动终端的用户请求确认是否允许进行所述特定业务操作;通过所述发射器向所述第一移动终端发送所述第二请求的响应,所述响应用于表示所述第二移动终端的用户允许所述第一移动终端执行特定业务操作,或用于表示所述第二移动终端的用户不允许所述第一移动终端执行特定业务操作。
- 如权利要求40-42中任一项所述的第二移动终端,其特征在于,所述处理器还用于执行以下方法:监控来自所述第一移动终端的数据流量;如果所述数据流量在预定时间内大于预定阈值,则断开所述第一移动终 端的连接。
- 如权利要求40-42中任一项所述的第二移动终端,其特征在于,所述处理器还用于执行以下方法:通过所述发射器向所述第一移动终端发送所述特定业务操作的配置信息,所述配置信息包括所述特定业务操作所包含的业务类型。
- 一种第一移动终端,其特征在于,包括:处理器,发射器和接收器,所述处理器具体用于执行以下方法:通过所述发射器向无线保真WIFI热点发送第一请求,所述第一请求用于接入所述WIFI热点,所述WIFI热点为第二移动终端的自建WIFI热点且被所述第二移动终端虚拟为第一移动数据网络;通过所述接收器接收所述WIFI热点发送的WIFI网络信息,所述WIFI网络信息携带所述WIFI热点所虚拟的第一移动数据网络的参数;根据所述WIFI网络信息将所述第一移动终端当前接入的网络虚拟为移动数据网络,其中,所述虚拟的移动数据网络用于如果所述第一移动终端根据接入的网络类型确定不启动特定业务操作,或者确定停止已启动的所述特定业务操作,或者向所述第一移动终端的用户请求确认是否允许进行所述特定业务操作。
- 如权利要求45所述的第一移动终端,其特征在于,所述WIFI热点的WIFI网络信息是所述第一移动终端在搜索到所述WIFI热点时得到的WIFI网络信息;或者所述WIFI热点的WIFI网络信息是所述WIFI热点根据所述第一请求反馈的WIFI网络信息。
- 如权利要求45或46所述的第一移动终端,其特征在于,所述处理器还用于执行以下方法:如果所述第一移动终端的用户允许进行所述特定业务操作,则将所述第一移动终端当前的网络连接切换为所述第一移动终端的移动数据网络;执行所述特定业务操作。
- 如权利要求47所述的第一移动终端,其特征在于,所述处理器还用于执行以下方法:通过所述发射器向所述WIFI热点发送提示信息,所述提示信息用于提示共享所述WIFI热点的第二移动终端所述第一移动终端正在执行所述特定 业务操作。
- 如权利要求45或46所述的第一移动终端,其特征在于,所述处理器还用于执行以下方法:通过所述发射器向所述WIFI热点发送第二请求,所述第二请求用于请求共享所述WIFI热点的第二移动终端允许所述第一移动终端执行所述特定业务操作。
- 如权利要求49所述的第一移动终端,其特征在于,所述处理器还用于执行以下方法:通过所述接收器接收所述第二移动终端对所述第二请求的响应;如果所述响应指示所述第二移动终端允许所述第一移动终端执行所述特定业务操作,则执行所述特定业务操作;或者如果所述响应指示所述第二移动终端不允许所述第一移动终端执行所述特定业务操作,则将所述第一移动终端当前的网络连接切换为所述第一移动终端的移动数据网络。
- 如权利要求45至50中任一项所述的第一移动终端,其特征在于,所述虚拟的移动数据网络为所述第一移动数据网络或所述第一移动终端的移动数据网络。
- 如权利要求45-51中任一项所述的第一移动终端,其特征在于,所述特定业务操作是由所述第一移动终端的用户配置的,或者所述特定业务操作是由所述第二移动终端为所述第一移动终端配置的,或者所述特定业务操作是出厂时预设置的。
- 如权利要求45-52中任一项所述的第一移动终端,其特征在于,所述特定业务操作在所述第一移动终端的关联应用是所述第一移动终端的用户配置的;其中,所述关联应用是指只有在所述第一移动终端允许执行所述特定业务操作时才允许启动的应用。
- 一种第二移动终端,其特征在于,包括:处理器,发射器和接收器,所述处理器具体用于执行以下方法:建立无线保真WIFI热点,并将所述WIFI热点虚拟为第一移动数据网络;通过所述接收器接收第一移动终端接入所述WIFI热点的第一请求并允许所述第一移动终端接入所述WIFI热点;通过所述发射器向所述第一移动终端发送所述WIFI热点的WIFI网络信息,所述WIFI网络信息包括所述第一移动数据网络的参数,用于所述第一移动终端将所接入的所述WIFI热点虚拟为所述第一移动数据网络。
- 如权利要求54所述的第二移动终端,其特征在于,所述WIFI热点的WIFI网络信息是所述第二移动终端在建立所述WIFI热点后通过广播发送的WIFI网络信息;或者所述WIFI热点的WIFI网络信息是所述第二移动终端根据所述第一请求反馈的WIFI网络信息。
- 如权利要求54或55所述的第二移动终端,其特征在于,所述处理器还用于执行以下方法:通过所述接收器接收所述第一移动终端的第二请求,所述第二请求用于请求允许所述第一移动终端执行特定业务操作;向所述第二移动终端的用户请求确认是否允许进行所述特定业务操作;通过所述发射器向所述第一移动终端发送所述第二请求的响应,所述响应用于表示所述第二移动终端的用户允许所述第一移动终端执行特定业务操作,或用于表示所述第二移动终端的用户不允许所述第一移动终端执行特定业务操作。
- 如权利要求54或55所述的第二移动终端,其特征在于,所述处理器还用于执行以下方法:监控来自所述第一移动终端的数据流量;如果所述数据流量在预定时间内大于预定阈值,则断开所述第一移动终端的连接。
- 如权利要求54-57中任一项所述的第二移动终端,其特征在于,所述处理器还用于执行以下方法:通过所述发射器向所述第一移动终端发送所述特定业务操作的配置信息,所述配置信息包括所述特定业务操作所包含的业务类型。
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2016/090104 WO2018010160A1 (zh) | 2016-07-15 | 2016-07-15 | 移动数据共享方法和移动终端 |
CN201680057130.6A CN108141906B (zh) | 2016-07-15 | 2016-07-15 | 移动数据共享方法和移动终端 |
CN202110053207.5A CN112911645A (zh) | 2016-07-15 | 2016-07-15 | 移动数据共享方法和移动终端 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2016/090104 WO2018010160A1 (zh) | 2016-07-15 | 2016-07-15 | 移动数据共享方法和移动终端 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018010160A1 true WO2018010160A1 (zh) | 2018-01-18 |
Family
ID=60951905
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2016/090104 WO2018010160A1 (zh) | 2016-07-15 | 2016-07-15 | 移动数据共享方法和移动终端 |
Country Status (2)
Country | Link |
---|---|
CN (2) | CN108141906B (zh) |
WO (1) | WO2018010160A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114501674A (zh) * | 2021-06-10 | 2022-05-13 | 荣耀终端有限公司 | 一种热点连接方法、终端设备及电子设备 |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115397036A (zh) * | 2021-05-25 | 2022-11-25 | 成都极米科技股份有限公司 | 建立软接入点的方法、装置、设备及存储介质 |
CN113766543B (zh) * | 2021-09-14 | 2024-04-30 | 青岛中科英泰商用系统股份有限公司 | 一种提高WiFi稳定性方法、系统、电子设备及介质 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104619045A (zh) * | 2014-12-17 | 2015-05-13 | 腾讯科技(深圳)有限公司 | 用于移动终端的接入控制方法及装置 |
CN104918273A (zh) * | 2015-04-27 | 2015-09-16 | 广东欧珀移动通信有限公司 | 移动终端的网络接入方法及装置 |
US20160105846A1 (en) * | 2014-10-13 | 2016-04-14 | International Business Machines Corporation | Determining a preferred wifi hotspot |
CN105636079A (zh) * | 2015-12-26 | 2016-06-01 | 小米科技有限责任公司 | 网络确定方法及装置 |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102970675B (zh) * | 2012-12-21 | 2016-01-13 | 东莞宇龙通信科技有限公司 | 移动终端和数据通信处理方法 |
WO2014124681A1 (en) * | 2013-02-15 | 2014-08-21 | Telefonaktiebolaget L M Ericsson (Publ) | Allowing access to a wifi network based on network properties |
CN104349401B (zh) * | 2013-09-03 | 2018-10-16 | 广州三星通信技术研究有限公司 | 用于在终端中调整数据策略的设备和方法 |
ES2844404T3 (es) * | 2014-05-26 | 2021-07-22 | Huawei Tech Co Ltd | Método y dispositivo para control de tráfico |
CN105451269A (zh) * | 2014-07-04 | 2016-03-30 | 阿里巴巴集团控股有限公司 | 一种无线上网流量控制的方法和装置 |
CN104185294B (zh) * | 2014-08-04 | 2018-01-30 | 广东欧珀移动通信有限公司 | 手机热点的识别方法与识别装置 |
-
2016
- 2016-07-15 CN CN201680057130.6A patent/CN108141906B/zh active Active
- 2016-07-15 CN CN202110053207.5A patent/CN112911645A/zh active Pending
- 2016-07-15 WO PCT/CN2016/090104 patent/WO2018010160A1/zh active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160105846A1 (en) * | 2014-10-13 | 2016-04-14 | International Business Machines Corporation | Determining a preferred wifi hotspot |
CN104619045A (zh) * | 2014-12-17 | 2015-05-13 | 腾讯科技(深圳)有限公司 | 用于移动终端的接入控制方法及装置 |
CN104918273A (zh) * | 2015-04-27 | 2015-09-16 | 广东欧珀移动通信有限公司 | 移动终端的网络接入方法及装置 |
CN105636079A (zh) * | 2015-12-26 | 2016-06-01 | 小米科技有限责任公司 | 网络确定方法及装置 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114501674A (zh) * | 2021-06-10 | 2022-05-13 | 荣耀终端有限公司 | 一种热点连接方法、终端设备及电子设备 |
Also Published As
Publication number | Publication date |
---|---|
CN108141906A (zh) | 2018-06-08 |
CN108141906B (zh) | 2021-01-29 |
CN112911645A (zh) | 2021-06-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20220303276A1 (en) | Network connection method, hotspot terminal and management terminal | |
KR102270507B1 (ko) | 네트워크 슬라이스 선택 방법, 사용자 장비 및 네트워크 기기 | |
US10485034B2 (en) | Method, device and system for accessing wireless network | |
EP2561708B1 (en) | Method and apparatus for determining access point service capabilities | |
US8874710B2 (en) | Access network discovery | |
US11457331B2 (en) | Positioning method and related device | |
US9736767B2 (en) | Identification-assisted wireless network connections | |
JP7389225B2 (ja) | セキュリティ保護モードを決定するための方法および装置 | |
EP3163946B1 (en) | Transmission list in wi-fi acces point | |
US9191771B2 (en) | Convenient use of push button mode of WPS (Wi-Fi protected setup) for provisioning wireless devices | |
US10764805B2 (en) | Signal strength measurement method and device | |
CN110636483A (zh) | 一种配网方法及系统 | |
WO2013189339A2 (zh) | 一种快速找网的方法、系统和移动终端 | |
WO2019134595A1 (zh) | 配置系统、客户端设备、嵌入式设备配置方法及存储介质 | |
WO2016173190A1 (zh) | 信息提供方法和装置 | |
WO2019047117A1 (zh) | 接入网络的方法、终端设备和网络设备 | |
WO2018010160A1 (zh) | 移动数据共享方法和移动终端 | |
CN106453370B (zh) | 一种ipc向nvr进行注册的方法和装置 | |
KR20210075999A (ko) | 코어 네트워크 유형 선택 | |
US20220272577A1 (en) | Communication method and communication apparatus | |
EP4061024A1 (en) | D2d communication method, apparatus and system | |
WO2018099344A1 (zh) | 无随机接入切换的处理方法、移动终端及接入设备 | |
CN114501612A (zh) | 一种资源分配方法及终端、网络设备、存储介质 | |
CN107211479B (zh) | 选择接入网的方法和装置 | |
WO2017075797A1 (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: 16908485 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 16908485 Country of ref document: EP Kind code of ref document: A1 |