Mobile terminal, network sharing method and storage medium
By integrating Bluetooth and Wi-Fi modules in mobile terminals and using SIM card information to automatically control the network sharing function, it solves the cumbersome problem of manual network connection between vehicle-mounted terminals and mobile terminals, realizes automated network sharing, and improves connection efficiency.
Patent Information
- Application Number
- CN202210154691.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-21
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2042-02-21
AI Technical Summary
When the vehicle-mounted terminal connects to the network through the wireless signal provided by the mobile terminal, the user needs to manually enable the network sharing function, which is cumbersome and wastes time.
Design a mobile terminal that includes a Bluetooth module and a Wi-Fi module. It establishes a Bluetooth connection with the vehicle-mounted terminal through the processing module. If the connection is successful, it automatically enters the network sharing state and uses the usage information and traffic information of the SIM card to decide whether to enable network sharing. function to ensure that the vehicle-mounted terminal or mobile terminal connects to the network through the other party's wireless signal.
Automatic network sharing of mobile terminals and vehicle-mounted terminals is realized, saving user operation time and improving connection efficiency.
Smart Images

Figure CN114501389B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of vehicle networking, and in particular to a mobile terminal, a network sharing method and a storage medium. Background Art
[0002] With the continuous development of Internet of Vehicles technology, the interaction scenarios between vehicle terminals and mobile terminals are also increasing. For example, the vehicle terminal connects to the network through the wireless signal provided by the mobile terminal. However, in actual application scenarios, when the vehicle terminal connects to the network through the wireless signal provided by the mobile terminal, the user is not only required to turn on the network sharing function of the mobile terminal to provide the vehicle terminal with a wireless signal, but also to manually connect the vehicle terminal to the wireless signal, which is cumbersome and wastes a lot of user time. Summary of the invention
[0003] In order to solve the above-mentioned problems in the prior art, the embodiments of the present application provide a mobile terminal, a network sharing method and a storage medium, which can enable the mobile terminal and the vehicle-mounted terminal to automatically enter the network sharing state, helping users save a lot of time.
[0004] In a first aspect, an embodiment of the present application provides a mobile terminal, including: a Bluetooth module, a wireless fidelity Wi-Fi module and a processing module;
[0005] The Bluetooth module is configured to establish a Bluetooth communication connection with the vehicle-mounted terminal;
[0006] The Wi-Fi module is configured to establish a wireless communication connection with the vehicle-mounted terminal;
[0007] The processing module is configured to establish a Bluetooth connection with the vehicle-mounted terminal through the Bluetooth module; if the Bluetooth connection is successful, enter a network sharing state with the vehicle-mounted terminal through the Wi-Fi module; the network sharing state means that the vehicle-mounted terminal is connected to the network through the wireless signal provided by the mobile terminal, or the mobile terminal is connected to the network through the wireless signal provided by the vehicle-mounted terminal.
[0008] In a possible implementation, the processing module is specifically configured as follows:
[0009] receiving, via Bluetooth, usage information of a second user identification SIM card sent by the vehicle-mounted terminal; the second SIM card is a SIM card included in the vehicle-mounted terminal;
[0010] If the usage information of the second SIM card indicates that the second SIM card is not in use, or the second SIM card has no remaining traffic, the network sharing function of the mobile terminal is turned on to provide a wireless signal for the vehicle-mounted terminal, so that the vehicle-mounted terminal is connected to the network through the wireless signal provided by the mobile terminal.
[0011] In a possible implementation, the processing module is further configured to:
[0012] If the usage information of the second SIM card indicates that the second SIM card is in use and there is remaining traffic on the second SIM card, acquiring traffic information of the first SIM card;
[0013] If the traffic information of the first SIM card includes directional traffic information associated with the currently running application in the vehicle terminal, the network sharing function of the mobile terminal is enabled; the directional traffic information associated with the currently running application refers to the traffic allocated for the currently running application, which cannot be used by applications other than the currently running application when connecting to the network.
[0014] In a possible implementation, the processing module is further configured to:
[0015] If the usage information of the second SIM card indicates that the second SIM card is in use and there is remaining traffic on the second SIM card, acquiring traffic information of the second SIM card from the usage information of the second SIM card;
[0016] If the traffic information of the second SIM card includes directional traffic information associated with the application currently running in the mobile terminal, the network is connected through the wireless signal provided by the vehicle-mounted terminal; the directional traffic information associated with the currently running application refers to the traffic allocated for the currently running application, which cannot be used by applications other than the currently running application when connecting to the network.
[0017] In a possible implementation, the processing module is specifically configured as follows:
[0018] If the usage information of the second SIM card indicates that the second SIM card is in use and there is remaining traffic in the second SIM card, respectively obtain the used traffic and the first traffic threshold of the first SIM card, and the used traffic and the second traffic threshold of the second SIM card contained in the usage information of the second SIM card;
[0019] If the used traffic of the first SIM card is lower than the first traffic threshold, and the used traffic of the second SIM card is not lower than the second traffic threshold, enabling the network sharing function of the mobile terminal;
[0020] If the used traffic of the second SIM card is lower than the second traffic threshold, and the used traffic of the first SIM card is not lower than the first traffic threshold, the network is connected through the wireless signal provided by the vehicle terminal.
[0021] In a possible implementation, the processing module is further configured to:
[0022] If the usage information of the second SIM card indicates that the second SIM card is in use and there is remaining traffic on the second SIM card, acquiring traffic information of the first SIM card, and acquiring traffic information of the second SIM card from the usage information of the second SIM card;
[0023] If the traffic information of the second SIM card includes directional traffic information associated with the application currently running in the mobile terminal, and the traffic information of the first SIM card does not include directional traffic information associated with the application currently running in the mobile terminal, the network is connected through the wireless signal provided by the vehicle-mounted terminal.
[0024] In a possible implementation, the processing module is specifically configured as follows:
[0025] Sending a network sharing instruction to the vehicle-mounted terminal via Bluetooth; the network sharing instruction instructs the vehicle-mounted terminal to enable a network sharing function to provide a wireless signal for the mobile terminal;
[0026] The network is connected via the wireless signal provided by the vehicle-mounted terminal.
[0027] In a possible implementation, the processing module is further configured to:
[0028] If the usage information of the second SIM card indicates that the second SIM card is in use and there is remaining traffic on the second SIM card, acquiring traffic information of the first SIM card, and acquiring traffic information of the second SIM card from the usage information of the second SIM card;
[0029] If the traffic information of the first SIM card includes directional traffic information associated with the application currently running on the vehicle terminal, and the traffic information of the second SIM card does not include directional traffic information associated with the application currently running on the vehicle terminal, the network sharing function of the mobile terminal is enabled; the directional traffic information associated with the currently running application refers to the traffic allocated for the currently running application, which cannot be used by applications other than the currently running application when connecting to the network.
[0030] In a second aspect, an embodiment of the present application provides a network sharing method, which is applied to a mobile terminal, and the method includes:
[0031] Connect to the vehicle terminal via Bluetooth;
[0032] If the Bluetooth connection is successful, the vehicle terminal enters a network sharing state; the network sharing state means that the vehicle terminal is connected to the network through the wireless signal provided by the mobile terminal, or the mobile terminal is connected to the network through the wireless signal provided by the vehicle terminal.
[0033] In a third aspect, an embodiment of the present application provides a network sharing device, including:
[0034] A connection unit is used to connect to the vehicle terminal via Bluetooth;
[0035] The sharing unit enters a network sharing state with the vehicle-mounted terminal if the Bluetooth connection is successful; the network sharing state means that the vehicle-mounted terminal is connected to the network through the wireless signal provided by the mobile terminal, or the mobile terminal is connected to the network through the wireless signal provided by the vehicle-mounted terminal.
[0036] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the method in the above-mentioned second aspect or any possible implementation of the second aspect is implemented.
[0037] In the embodiment of the present application, the mobile terminal can be connected to the vehicle terminal through Bluetooth. If the Bluetooth connection is successful, the mobile terminal can enter a network sharing state with the vehicle terminal; wherein the network sharing state means that the vehicle terminal is connected to the network through the wireless signal provided by the mobile terminal, or the mobile terminal is connected to the network through the wireless signal provided by the vehicle terminal. Through this method, the mobile terminal and the vehicle terminal can automatically enter a network sharing state, helping users save a lot of time. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0039] Figure 1 A schematic diagram of the structure of a mobile terminal provided in an embodiment of the present application;
[0040] Figure 2 A software structure block diagram of a mobile terminal provided in an embodiment of the present application;
[0041] Figure 3 A flowchart of a network sharing method provided in an embodiment of the present application;
[0042] Figure 4 A flowchart of another network sharing method provided in an embodiment of the present application;
[0043] Figure 5 A diagram of a selection interface for a settings application provided in an embodiment of the present application;
[0044] Figure 6 A functional interface diagram of a driving mode provided in an embodiment of the present application;
[0045] Figure 7 A flow chart of a network sharing method provided in an embodiment of the present application;
[0046] Figure 8 A flow chart of another network sharing method provided in an embodiment of the present application;
[0047] Fig. 9 A flow chart of another network sharing method provided in an embodiment of the present application;
[0048] Fig.10 A flow chart of another network sharing method provided in an embodiment of the present application;
[0049] Fig.11 A flow chart of another network sharing method provided in an embodiment of the present application;
[0050] Fig.12 A schematic diagram of the structure of a network sharing device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0051] In order to make the purpose, technical solutions and advantages of this application clearer, this application will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0052] It should be noted that the application scenarios described in the following embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application. A person of ordinary skill in the art can know that with the emergence of new application scenarios, the technical solutions provided by the embodiments of the present application are also applicable to similar technical problems.
[0053] In order to enable the mobile terminal and the vehicle-mounted terminal to automatically enter the network sharing state, the embodiment of the present application provides a mobile terminal, a network sharing method and a storage medium, wherein the mobile terminal can be connected to the vehicle-mounted terminal through Bluetooth; if the Bluetooth connection is successful, the mobile terminal can enter the network sharing state with the vehicle-mounted terminal; wherein the network sharing state refers to the vehicle-mounted terminal connecting to the network through the wireless signal provided by the mobile terminal, or the mobile terminal connecting to the network through the wireless signal provided by the vehicle-mounted terminal. Through this method, the mobile terminal and the vehicle-mounted terminal can automatically enter the network sharing state, helping users save a lot of time.
[0054] The mobile terminal provided in the embodiment of the present application may be a portable device such as a mobile phone, a wearable device, or a tablet computer. Figure 1 exemplarily shows a hardware configuration block diagram of a mobile terminal provided in an embodiment of the present application. It should be understood that Figure 1 The illustrated mobile terminal 100 is only an example and the mobile terminal 100 may have more Figure 1 The more or less components shown in the figure can be combined with two or more components, or can have different component configurations. The various components shown in the figure can be implemented in hardware, software, or a combination of hardware and software including one or more signal processing and / or application specific integrated circuits.
[0055] like Figure 1 As shown, the mobile terminal 100 includes: a communication module 110, a processing module 120, a storage module 130, a display module 140, an input module 150, an audio circuit 160, a SIM card interface 170, a sensor 180 and other components.
[0056] The communication module 110 is used to receive or send a call request, receive and send signals during a call, connect to a server, and upload or download data. The communication module 110 may include an RF (radio frequency) circuit 111, a Wi-Fi (Wireless Fidelity) module 112, and a Bluetooth module 113.
[0057] The RF circuit 111 can be used to receive and send signals during the process of sending and receiving information or making calls. It can receive downlink data from the base station and hand it over to the processing module 120 for processing; it can send uplink data to the base station. Generally, the RF circuit 111 includes but is not limited to antennas, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer and other devices. The RF circuit 111 can receive electromagnetic waves from the antenna, filter, amplify and other processes on the received electromagnetic waves, and transmit them to the modulation and demodulation processing module for demodulation. The RF circuit 111 can also amplify the signal modulated by the modulation and demodulation processing module, and convert it into electromagnetic waves through the antenna for radiation. In some embodiments, at least some functional modules of the RF circuit 111 can be set in the processing module 120. In some embodiments, at least some functional modules of the RF circuit 111 can be set in the same device as at least some modules of the processing module 120. The RF circuit 111 of the mobile terminal 100 is coupled to the antenna, so that the mobile terminal 100 can communicate with the network and other devices through wireless communication technology.
[0058] Wi-Fi is a short-range wireless transmission technology. The mobile terminal 100 can help users send and receive emails, browse web pages, and access streaming media through the Wi-Fi module 112. It provides users with wireless broadband Internet access. The Wi-Fi module 112 can be connected to a router and connected to an external network through the router. The Wi-Fi module 112 can also be connected to a server to upload or download data. The Wi-Fi module 112 can also be used to establish wireless communication with a vehicle-mounted terminal. For example, the mobile terminal can provide a wireless network for the vehicle-mounted terminal through the Wi-Fi module 112, and can also be connected to the wireless network provided by the vehicle-mounted terminal through the Wi-Fi module 112.
[0059] The Bluetooth module 113 can be used to establish a Bluetooth communication connection with at least one auxiliary device or at least one device to be networked for data exchange. In the embodiment of the present application, the Bluetooth module 113 can be used for data exchange between a mobile terminal and a vehicle-mounted terminal.
[0060] The storage module 130 can be used to store data or program codes used when the mobile terminal is running. The processing module 120 executes various functions and data processing of the mobile terminal 100 by running the data or program codes stored in the storage module 130. The storage module 130 may include a high-speed random access storage module, and may also include a non-volatile storage module, such as at least one disk storage module, a flash memory device, or other volatile solid-state storage module. The storage module 130 stores an operating system that enables the mobile terminal 100 to run.
[0061] The display module 140 is used to display information input by the user or information provided to the user and a graphical user interface (GUI) of various menus of the mobile terminal 100. Specifically, the display module 140 may include a display module disposed on the front of the mobile terminal 100. The display module may be configured in the form of a liquid crystal display module, a light emitting diode, etc. The display module 140 may be used to display an interface when the mobile terminal is running.
[0062] The input module 150 may be used to receive digital or character information input by a user, as well as various operations input by a user, and generate signal inputs related to user settings and function control of the mobile terminal 100. Specifically, the input module 150 may include buttons and a touch screen, and the touch screen may be provided on the front of the mobile terminal 100 to collect touch operations of the user on or near the touch screen, such as clicking a button, dragging a scroll box, etc.
[0063] The touch screen may be covered on the display module. In some embodiments, the touch screen and the display module may be integrated to implement the input and output functions of the mobile terminal 100. The integrated touch screen may be referred to as a touch display module.
[0064] The mobile terminal 100 may further include a positioning module, such as a satellite positioning module or a mobile communication network positioning module, which may determine the geographical location of the mobile terminal 100 in real time.
[0065] The audio circuit 160, the speaker 161, and the microphone 162 can provide an audio interface between the user and the mobile terminal 100. The audio circuit 160 can transmit the electrical signal converted from the received audio data to the speaker 161, which is converted into a sound signal for output. The mobile terminal 100 can also be configured with a volume button for adjusting the volume of the sound signal. On the other hand, the microphone 162 converts the collected sound signal into an electrical signal, which is received by the audio circuit 160 and converted into audio data, and then the audio data is output to the RF circuit 111 to be sent to, for example, another terminal, or the audio data is output to the storage module 130 for further processing.
[0066] The SIM card interface 170 is used to connect a SIM card. The SIM card can be connected to and separated from the mobile terminal 100 by inserting it into the SIM card interface 170 or pulling it out from the SIM card interface 170. The mobile terminal 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 170 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface at the same time. The types of the multiple cards can be the same or different. The SIM card interface can also be compatible with different types of SIM cards. The SIM card interface can also be compatible with external memory cards. The mobile terminal 100 interacts with the network through the SIM card to implement functions such as calls and data communications. In some embodiments, the mobile terminal 100 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the mobile terminal 100 and cannot be separated from the mobile terminal 100. The SIM card is used to identify the user's mobile phone number.
[0067] In addition to the SIM card interface 170, the mobile terminal 100 may also include a USB (universal serial bus) interface, etc. The USB interface is used to connect a charging cable or other peripherals. For example, the mobile terminal 100 can be connected to a charging cable via a USB interface. The components or modules in the mobile terminal 100 are connected via a bus.
[0068] The mobile terminal 100 may also include at least one sensor 180, such as an acceleration sensor 181, a distance sensor 182, a fingerprint sensor 183, and a temperature sensor 184. The mobile terminal 100 may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, a light sensor, a motion sensor, etc. For example, the fingerprint sensor 183 may be used to sense that a user clicks on an icon on the operation interface of the mobile terminal 100.
[0069] The mobile terminal 100 may also include a camera for capturing still images or videos. The camera may be one or more. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the processing module 120 for conversion into a digital image signal.
[0070] The processing module 120 is the control center of the mobile terminal 100. It uses various interfaces and lines to connect various parts of the entire terminal. It executes various functions of the mobile terminal 100 and processes data by running or executing software programs stored in the storage module 130 and calling data stored in the storage module 130. In some embodiments, the processing module 120 may include one or more processing units. In this application, the processing module 120 can run an operating system, an application program, a user interface display and touch response, and the email marking method described in the embodiment of the application. The specific process of the processing module 120 executing the network sharing method will be described in detail below.
[0071] In an embodiment of the present application, the vehicle-mounted terminal may include components such as a processing module, a storage module, a communication module, a display module, and an input module. The communication module may also include a Wi-Fi module and a Bluetooth module, wherein the Bluetooth module can be used to establish a Bluetooth connection with a mobile terminal for data interaction; the Wi-Fi module can be used to establish wireless communication with the mobile terminal. For example, the vehicle-mounted terminal can provide a wireless network for the mobile terminal through the Wi-Fi module, and can also be connected to the wireless network provided by the mobile terminal through the Wi-Fi module.
[0072] Figure 2 It is a software structure block diagram of the mobile terminal 100 according to an embodiment of the present application.
[0073] The layered architecture divides the software into several layers, each with clear roles and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom: the application layer, the application framework layer, the Android runtime and system library, and the kernel layer.
[0074] The application layer can include a series of application packages. Figure 2 As shown, the application package may include applications such as camera, gallery, calendar, call, map, navigation, clock, Bluetooth, music, video, short message, etc. Users can set alarms in the clock application. The application layer may also include third-party applications installed on the mobile terminal.
[0075] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions.
[0076] like Figure 2 As shown, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.
[0077] The window manager is used to manage window programs. The window manager can obtain the display module size, determine whether there is a status bar, lock the screen, capture the screen, etc.
[0078] Content providers are used to store and retrieve data and make it accessible to applications. The data may include alarm data, videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
[0079] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying images.
[0080] The phone manager is used to provide communication functions for mobile terminals, such as the management of call status (including connected, hung up, etc.). The resource manager provides various resources for applications, such as localized strings, icons, pictures, layout files, video files, etc.
[0081] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is displayed in the status bar, a prompt sound is emitted, the terminal vibrates, the indicator light flashes, etc.
[0082] Android Runtime includes core libraries and virtual machines. Android runtime is responsible for scheduling and management of the Android system.
[0083] The core library consists of two parts: one is the function that needs to be called by the Java language, and the other is the Android core library.
[0084] The application layer and the application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
[0085] The system library may include multiple functional modules, such as surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc. Among them, the 3D graphics processing library and 2D graphics engine are both public camera resources.
[0086] The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.
[0087] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
[0088] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
[0089] A 2D graphics engine is a drawing engine for 2D drawings.
[0090] The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.
[0091] To further illustrate the technical solution provided by the embodiment of the present application, this is described in detail below in conjunction with the accompanying drawings and specific implementation methods. Although the embodiment of the present application provides the method operation steps as shown in the following embodiments or drawings, more or fewer operation steps may be included in the method based on routine or no creative labor. In the steps where there is no necessary causal relationship logically, the execution order of these steps is not limited to the execution order provided by the embodiment of the present application. The method may be executed or executed in parallel in the actual processing process or when the device is executed in accordance with the method sequence shown in the embodiment or drawings.
[0092] Figure 3 A flow chart of a network sharing method provided by an embodiment of the present application is shown. The method can be applied to Figure 1 The mobile terminal shown may include but is not limited to a mobile phone. Figure 3 As shown, the method may include the following steps:
[0093] Step S301, establish a Bluetooth connection with the vehicle-mounted terminal.
[0094] Step S302: If the Bluetooth connection is successful, the vehicle terminal enters a network sharing state.
[0095] The network sharing state refers to that the vehicle-mounted terminal is connected to the network through the wireless signal provided by the mobile terminal, or the mobile terminal is connected to the network through the wireless signal provided by the vehicle-mounted terminal.
[0096] The network sharing method provided by the present application will be described in detail below through several specific embodiments.
[0097] Embodiment 1
[0098] After the mobile phone detects a successful Bluetooth connection with the vehicle terminal, it can automatically turn on the mobile phone hotspot, that is, the network sharing function, to provide a wireless signal for the vehicle terminal, so that the vehicle terminal can connect to the network through the wireless signal provided by the mobile phone.
[0099] Specifically, in one embodiment, Figure 4 As shown, after the mobile phone detects that the Bluetooth connection with the vehicle terminal is successful, it can enter the driving mode and detect whether the automatic mobile phone hotspot function included in the driving mode is in an enabled state. If the automatic mobile phone hotspot function is not enabled, the mobile phone hotspot will not be automatically turned on; if the automatic mobile phone hotspot function is enabled, the mobile phone hotspot will be automatically turned on to provide a WLAN (Wireless Local Area Network) network, that is, a wireless network, for the vehicle terminal so that the vehicle terminal can connect to the wireless network through the Wi-Fi module contained in the car.
[0100] In an optional implementation, before the mobile phone detects whether the automatic mobile phone hotspot function included in the driving mode is enabled, the user can set the automatic mobile phone hotspot function in the driving mode. Specifically, the user can click the icon of the setting application on the mobile phone desktop, and the mobile phone responds to the user's operation of clicking the setting application icon by displaying a selection interface of the setting application, such as Figure 5 As shown, in the selection interface, a driving mode button may be included, and the user may click the driving mode button. In response to the user clicking the driving mode button, the mobile phone displays a driving mode function interface, such as Figure 6 As shown, the function interface of the driving mode may include a function of automatically turning on the mobile phone hotspot. The user can start or turn off the function by clicking the slider 601, that is, the user can set the function of automatically turning on the mobile phone hotspot through the slider 601.
[0101] Through the above method, when the automatic mobile phone hotspot function is turned on, the mobile phone can automatically turn on the mobile phone hotspot after detecting that the Bluetooth connection with the vehicle terminal is successful, and provide a wireless signal for the vehicle terminal, so that the vehicle terminal can connect to the network through the wireless signal provided by the mobile phone, without the need for the user to manually turn on the network sharing function of the mobile phone. The operation is simple and can help users save a lot of time.
[0102] Embodiment 2
[0103] After the mobile phone detects that the Bluetooth connection with the vehicle terminal is successful, it can receive the usage information of the second SIM (Subscriber Identity Module) card sent by the vehicle terminal through the Bluetooth module, wherein the second SIM card is the SIM card contained in the vehicle terminal. If the usage information of the second SIM card indicates that the second SIM card is not in use, or there is no remaining traffic on the second SIM card, the mobile phone hotspot is automatically turned on to provide a wireless signal for the vehicle terminal, so that the vehicle terminal can connect to the network through the wireless signal provided by the mobile phone.
[0104] Figure 7 is an interactive flow chart of the network sharing method of this embodiment, such as Figure 7 As shown, after the vehicle terminal detects that the Bluetooth connection with the mobile phone is successful, it can obtain the usage information of the second SIM card from the operator server, wherein the usage information of the second SIM card may include whether the second SIM card is in use and whether there is any remaining traffic in the second SIM card. After obtaining the usage information of the second SIM card, the vehicle terminal can send the usage information of the second SIM card to the mobile phone. After receiving the usage information of the second SIM card, the mobile phone determines that the second SIM card is in use and there is no remaining traffic in the second SIM card. The mobile phone can automatically turn on the mobile hotspot to provide a wireless signal for the vehicle terminal. After detecting the wireless signal, the vehicle terminal can connect to the network through the wireless signal.
[0105] In another embodiment, after receiving the usage information of the second SIM card, the mobile phone determines that the second SIM card is in an unused state. The mobile phone can automatically turn on the mobile hotspot to provide a WLAN network, i.e., a wireless network, for the vehicle terminal so that the vehicle terminal can connect to the wireless network through the Wi-Fi module contained in the car.
[0106] In another embodiment, after receiving the usage information of the second SIM card, the mobile phone determines that the second SIM card is in use and there is remaining traffic in the second SIM card. The mobile phone can send a data network connection instruction to the vehicle terminal. After receiving the data network connection instruction, the vehicle terminal can turn on the data network and connect to the network through the data network.
[0107] Through the above method, when the mobile phone determines that the second SIM card contained in the car is not in use or there is no remaining traffic in the second SIM card, it can automatically turn on the mobile phone hotspot to provide a wireless signal for the vehicle-mounted terminal, so that the mobile phone and the vehicle-mounted terminal can automatically enter a network sharing state; when it is determined that the second SIM card is in use and there is remaining traffic in the second SIM card, the vehicle-mounted terminal is connected to the Internet through the data network, and at the same time, excessive consumption of mobile phone traffic can be avoided.
[0108] Embodiment 3
[0109] After the mobile phone detects that the Bluetooth connection with the vehicle terminal is successful, it can receive the usage information of the second SIM card sent by the vehicle terminal via Bluetooth; if the usage information of the second SIM card indicates that the second SIM card is in use and there is remaining traffic in the second SIM card, the mobile phone can obtain the traffic information of the first SIM card; if the traffic information of the first SIM card contains the directional traffic information associated with the application currently running in the vehicle terminal, the mobile phone hotspot is automatically turned on to provide a wireless signal for the vehicle terminal, so that the vehicle terminal can connect to the network through the wireless signal provided by the mobile phone. Among them, the first SIM card is the SIM card included in the mobile phone, the second SIM card is the SIM card included in the vehicle terminal, and the directional traffic information associated with the currently running application refers to the traffic allocated for the currently running application, which cannot be used by applications other than the currently running application when connecting to the network.
[0110] Figure 8 is an interactive flow chart of the network sharing method of this embodiment, such as Figure 8 As shown, after detecting that the Bluetooth connection with the mobile phone is successful, the vehicle-mounted terminal can obtain the usage information of the second SIM card and the information of the currently running application from the operator server. After obtaining the usage information of the second SIM card and the information of the currently running application, the vehicle-mounted terminal can send the usage information of the second SIM card and the information of the currently running application to the mobile phone. After receiving the usage information of the second SIM card and the information of the currently running application, the mobile phone determines that the second SIM card is in use and there is remaining traffic in the second SIM card. The mobile phone can obtain the traffic information of the first SIM card from the operator server. After determining that the traffic information of the first SIM card contains the directional traffic information associated with the application currently running on the vehicle terminal, the mobile phone can automatically turn on the mobile phone hotspot to provide a wireless signal for the vehicle-mounted terminal. After detecting the wireless signal, the vehicle-mounted terminal can connect to the network through the wireless signal.
[0111] For example, assuming that the traffic information of the first SIM card includes directional traffic information of social applications and navigation applications, and the application currently running on the vehicle terminal is a navigation application, the vehicle terminal can send the information of the currently running navigation application to the mobile phone through the Bluetooth module. After receiving the information of the navigation application, the mobile phone can detect that the traffic information of the first SIM card includes directional traffic information associated with the navigation application. The mobile phone can automatically turn on the mobile hotspot to provide a WLAN network, that is, a wireless network, for the vehicle terminal, so that the vehicle terminal can connect to the wireless network through the Wi-Fi module contained in the car.
[0112] In another embodiment, after the mobile phone obtains the traffic information of the first SIM card from the operator server, it determines that the traffic information of the first SIM card does not include the directional traffic information associated with the application currently running on the vehicle terminal. The mobile phone can send a data network connection instruction to the vehicle terminal, so that the vehicle terminal can turn on the data network and connect to the network through the data network after receiving the data network connection instruction.
[0113] For example, assuming that the traffic information of the first SIM card includes directional traffic information of social applications and navigation applications, and the application currently running on the vehicle terminal is a video application, the vehicle terminal can send the information of the currently running video application to the mobile phone via Bluetooth. After receiving the information of the video application, the mobile phone can detect that the traffic information of the first SIM card does not include directional traffic information associated with the video application. The mobile phone can send a data network connection instruction to the vehicle terminal, so that the vehicle terminal can turn on the data network and connect to the network through the data network after receiving the data network connection instruction.
[0114] Through the above method, when the mobile phone detects that the traffic information of the first SIM card contains the directional traffic information of the application currently running on the vehicle terminal, it can automatically turn on the mobile phone hotspot and provide a wireless signal for the vehicle terminal. This not only allows the mobile phone and the vehicle terminal to automatically enter a network sharing state, but also saves general traffic. General traffic is the traffic that can be used by any application when connecting to the network.
[0115] Embodiment 4
[0116] After detecting that the Bluetooth connection with the vehicle-mounted terminal is successful, the mobile phone can receive the usage information of the second SIM card sent by the vehicle-mounted terminal via Bluetooth; if the usage information of the second SIM card indicates that the second SIM card is in use and there is remaining traffic in the second SIM card, the mobile phone can obtain the traffic information of the second SIM card from the usage information of the second SIM card; if the traffic information of the second SIM card contains directional traffic information associated with the currently running application installed on the mobile phone, the network is connected through the wireless signal provided by the vehicle-mounted terminal; wherein, the directional traffic information associated with the currently running application refers to the traffic allocated for the currently running application, which cannot be used by applications other than the currently running application when connecting to the network.
[0117] Fig. 9 is an interactive flow chart of the network sharing method of this embodiment, such as Fig. 9 As shown, after detecting that the Bluetooth connection with the mobile phone is successful, the vehicle-mounted terminal can obtain the usage information of the second SIM card from the operator server. After obtaining the usage information of the second SIM card, the vehicle-mounted terminal can send the usage information of the second SIM card to the mobile phone. After receiving the usage information of the second SIM card, the mobile phone determines that the second SIM card is in use and there is remaining traffic in the second SIM card, and determines that the traffic information of the second SIM card contains the directional traffic information of the application currently running on the mobile phone. Then, the mobile phone can send a network sharing instruction to the vehicle-mounted terminal via Bluetooth. After receiving the network sharing instruction, the vehicle-mounted terminal can turn on the car hotspot to provide a wireless signal for the mobile phone. After detecting the wireless signal, the mobile phone can connect to the network through the wireless signal.
[0118] For example, assuming that the traffic information of the second SIM card contains directional traffic information of social applications and navigation applications, and the application currently running on the mobile phone is a navigation application, the mobile phone can detect from the traffic information of the second SIM card that the traffic information of the second SIM card contains directional traffic information associated with the navigation application. The mobile phone can then send a network sharing instruction to the vehicle-mounted terminal via Bluetooth to enable the vehicle-mounted terminal to turn on the car hotspot, i.e., the network sharing function; wherein the network sharing instruction is used to instruct the vehicle-mounted terminal to turn on the network sharing function and provide a wireless signal for the mobile phone; after detecting the wireless signal provided by the car, the mobile phone can connect to the network through the wireless signal.
[0119] In another embodiment, after receiving the usage information of the second SIM card, the mobile phone determines that the second SIM card is in use and there is remaining traffic in the second SIM card, and determines that the traffic information of the second SIM card does not include the directional traffic information of the application currently running on the mobile phone. The mobile phone can turn on the data network and connect to the network through the data network.
[0120] For example, assuming that the traffic information of the second SIM card includes directional traffic information of social applications and navigation applications, and the currently running application is a video application installed on the mobile phone, the mobile phone can detect from the traffic information of the second SIM card that the traffic information of the second SIM card does not include directional traffic information associated with the video application. The mobile phone can turn on the data network and connect to the network through the data network.
[0121] Through the above method, when the mobile phone determines that the traffic information of the second SIM card contains the directional traffic information of the application currently running on the mobile phone, it can use the car hotspot to connect to the Internet, which can not only enable the mobile terminal and the vehicle terminal to automatically enter the network sharing state, but also save mobile phone traffic.
[0122] Embodiment 5
[0123] After detecting that the Bluetooth connection with the vehicle terminal is successful, the mobile phone can receive the usage information of the second SIM card sent by the vehicle terminal through the Bluetooth module; if the usage information of the second SIM card indicates that the second SIM card is in use and there is remaining traffic in the second SIM card, the mobile phone can respectively obtain the used traffic and the first traffic threshold of the first SIM card, and the used traffic and the second traffic threshold of the second SIM card contained in the usage information of the second SIM card. Among them, the first SIM card is the SIM card contained in the mobile phone, the second SIM card is the SIM card contained in the vehicle terminal, and the first traffic threshold and the second traffic threshold can be the traffic upper limit set by the user or the traffic upper limit set by the operator.
[0124] If the used traffic of the first SIM card is lower than the first traffic threshold and the used traffic of the second SIM card is not lower than the second traffic threshold, the network sharing function of the mobile phone is turned on; if the used traffic of the second SIM card is lower than the second traffic threshold and the used traffic of the first SIM card is not lower than the first traffic threshold, the network is connected through the wireless signal provided by the vehicle terminal.
[0125] Fig.10 is an interactive flow chart of the network sharing method of this embodiment, such as Fig.10 As shown, after detecting that the Bluetooth connection with the mobile phone is successful, the vehicle-mounted terminal can obtain the usage information of the second SIM card from the operator server. After obtaining the usage information of the second SIM card, the vehicle-mounted terminal can send the usage information of the second SIM card to the mobile phone. After receiving the usage information of the second SIM card, the mobile phone determines that the second SIM card is in use and there is remaining traffic in the second SIM card, and determines that the used traffic of the first SIM card is lower than the first traffic threshold, and the used traffic of the second SIM card is not lower than the second traffic threshold. The mobile phone can automatically turn on the mobile hotspot to provide a wireless signal for the vehicle-mounted terminal. After detecting the wireless signal, the vehicle-mounted terminal can connect to the network through the wireless signal.
[0126] For example, assuming that the used traffic of the first SIM card is 100MB, the first traffic threshold is the traffic limit of 200MB set by the user; the used traffic of the second SIM card is 50MB, and the second traffic threshold is the traffic limit of 50MB set by the user; that is, the used traffic of the first SIM card is lower than the first traffic threshold, and the used traffic of the second SIM card is not lower than the second traffic threshold, the mobile phone can automatically turn on the mobile hotspot to provide a WLAN network, that is, a wireless network, for the vehicle-mounted terminal, so that the vehicle-mounted terminal can connect to the wireless network through the Wi-Fi module contained in the car.
[0127] In another embodiment, after receiving the usage information of the second SIM card, the mobile phone determines that the used traffic of the second SIM card is lower than the second traffic threshold, and the used traffic of the first SIM card is not lower than the first traffic threshold. The mobile phone can send a network sharing instruction to the vehicle terminal via Bluetooth, so that the vehicle terminal turns on the car hotspot after receiving the network sharing instruction to provide a wireless signal for the mobile phone. After detecting the wireless signal, the mobile phone can connect to the network through the wireless signal.
[0128] For example, assuming that the used traffic of the first SIM card is 100MB, the first traffic threshold is the traffic limit of 100MB set by the user; the used traffic of the second SIM card is 50MB, and the second traffic threshold is the traffic limit of 100MB set by the user; that is, the used traffic of the second SIM card is lower than the second traffic threshold, and the used traffic of the first SIM card is not lower than the first traffic threshold, then the mobile phone can send a network sharing instruction to the vehicle-mounted terminal via Bluetooth, so that the vehicle-mounted terminal turns on the car hotspot, that is, the network sharing function, and provides a wireless signal for the mobile phone; after detecting the wireless signal provided by the car, the mobile phone can connect to the network through the wireless signal.
[0129] In another embodiment, after receiving the usage information of the second SIM card, the mobile phone determines that the used traffic of the second SIM card is lower than the second traffic threshold, and the used traffic of the first SIM card is also lower than the first traffic threshold. The mobile phone can send a data network connection instruction to the vehicle terminal, so that the vehicle terminal can turn on the data network and connect to the network through the data network after receiving the data network connection instruction.
[0130] Assume that the used traffic of the first SIM card is 100MB, and the first traffic threshold is the traffic limit of 200MB set by the user; the used traffic of the second SIM card is 50MB, and the second traffic threshold is the traffic limit of 100MB set by the user; that is, the used traffic of the first SIM card is lower than the first traffic threshold, and the used traffic of the second SIM card is also lower than the second traffic threshold, then the mobile phone can send a data network connection instruction to the vehicle-mounted terminal, so that the vehicle-mounted terminal can turn on the data network and connect to the network through the data network after receiving the data network connection instruction.
[0131] Through the above method, the mobile phone can select a more suitable terminal to enable the network sharing function based on the used traffic of the first SIM card and the second SIM card and the first traffic threshold and the second traffic threshold set by the user or the operator. This can not only enable the mobile phone and the vehicle-mounted terminal to automatically enter the network sharing state, but also avoid excessive traffic usage.
[0132] Embodiment 6
[0133] After the mobile phone detects that the Bluetooth connection with the vehicle terminal is successful, it can receive the usage information of the second SIM card sent by the vehicle terminal through the Bluetooth module; if the usage information of the second SIM card indicates that the second SIM card is in use and there is remaining traffic in the second SIM card, the mobile phone can obtain the traffic information of the second SIM card from the usage information of the second SIM card, and obtain the traffic information of the first SIM card from the operator server, and then determine whether the traffic information of the second SIM card and the traffic information of the first SIM card contain the directional traffic information associated with the currently running application. Among them, the currently running application can be any application contained in the vehicle terminal, or any application installed on the mobile phone, and the currently running application can include multiple applications.
[0134] Fig.11 is an interactive flow chart of the network sharing method of this embodiment, such as Fig.11As shown, it is assumed that the currently running application is the application of the mobile phone; after the vehicle terminal detects that the Bluetooth connection with the mobile phone is successful, it can obtain the usage information of the second SIM card from the operator server. After obtaining the usage information of the second SIM card, the vehicle terminal can send the usage information of the second SIM card to the mobile phone. After receiving the usage information of the second SIM card, the mobile phone can obtain the traffic information of the first SIM card from the operator and obtain the information of the application currently running on the mobile phone. After the acquisition is completed, the mobile phone determines that the second SIM card is in use and there is residual traffic in the second SIM card, and determines that the traffic information of the first SIM card does not contain the directional traffic information of the application currently running on the mobile phone, and the traffic information of the second SIM card contains the directional traffic information of the application currently running on the mobile phone. The mobile phone can send a network sharing instruction to the vehicle terminal via Bluetooth. After receiving the network sharing instruction, the vehicle terminal can turn on the car hotspot to provide a wireless signal for the mobile phone. After detecting the wireless signal, the mobile phone can connect to the network through the wireless signal.
[0135] For example, assuming that the traffic information of the first SIM card includes directional traffic information of social applications and video applications, the traffic information of the second SIM card includes directional traffic information of navigation applications, and the currently running application is the navigation application installed on the mobile phone, the mobile phone can detect that the traffic information of the first SIM card does not include directional traffic information associated with the navigation application, and the traffic information of the second SIM card includes directional traffic information associated with the navigation application, then the mobile phone can send a network sharing instruction to the vehicle-mounted terminal via Bluetooth, so that after receiving the network sharing instruction, the vehicle-mounted terminal turns on the car hotspot and provides a wireless signal for the mobile phone. After detecting the wireless signal, the mobile phone can connect to the network through the wireless signal.
[0136] In another embodiment, after the mobile phone determines that the second SIM card is in use and there is remaining traffic in the second SIM card, and determines that the traffic information of the first SIM card contains the directional traffic information of the application currently running on the mobile phone, and the traffic information of the second SIM card does not contain the directional traffic information of the application currently running on the mobile phone, the mobile phone can turn on the data network and connect to the network through the data network.
[0137] In another embodiment, it is assumed that the currently running application is an application of the vehicle terminal; after the vehicle terminal detects that the Bluetooth connection with the mobile phone is successful, it can obtain the usage information of the second SIM card and the information of the currently running application from the operator server. After the vehicle terminal obtains the usage information of the second SIM card and the information of the currently running application, it can send the usage information of the second SIM card and the information of the currently running application to the mobile phone. After receiving the usage information of the second SIM card and the information of the currently running application, the mobile phone can obtain the traffic information of the first SIM card from the operator. After the acquisition is completed, the mobile phone determines that the second SIM card is in use and there is residual traffic in the second SIM card, and determines that the traffic information of the first SIM card contains the directional traffic information of the application currently running on the vehicle terminal, and the traffic information of the second SIM card does not contain the directional traffic information of the application currently running on the vehicle terminal. The mobile phone can send a network sharing instruction to the vehicle terminal via Bluetooth, so that the vehicle terminal turns on the car hotspot after receiving the network sharing instruction to provide a wireless signal for the mobile phone. After detecting the wireless signal, the mobile phone can connect to the network through the wireless signal.
[0138] In another embodiment, after the mobile phone determines that the second SIM card is in use and there is remaining traffic in the second SIM card, and determines that the traffic information of the first SIM card does not include the directional traffic information of the application currently running on the vehicle terminal, and the traffic information of the second SIM card includes the directional traffic information of the application currently running on the vehicle terminal, the mobile phone can send a data network connection instruction to the vehicle terminal, and after receiving the data network connection instruction, the vehicle terminal can turn on the data network and connect to the network through the data network.
[0139] In another embodiment, it is assumed that the currently running applications include a first application on the vehicle terminal and a second application installed on the mobile phone; after the vehicle terminal detects that the Bluetooth connection with the mobile phone is successful, it can obtain the usage information of the second SIM card and the information of the currently running first application from the operator server. After the vehicle terminal obtains the usage information of the second SIM card and the information of the first application, it can send the usage information of the second SIM card and the information of the first application to the mobile phone. After receiving the usage information of the second SIM card and the information of the currently running application, the mobile phone can obtain the traffic information of the first SIM card and the information of the second application from the operator.
[0140] After the acquisition is completed, the mobile phone determines that the second SIM card is in use and there is remaining traffic in the second SIM card, and determines that the traffic information of the first SIM card includes the directional traffic information of the first application, and the traffic information of the second SIM card includes the directional traffic information of the second application. The mobile phone can select any terminal to enable the network sharing function. For example, the mobile phone can select the vehicle terminal to enable the network sharing function, that is, the mobile phone can send a network sharing instruction to the vehicle terminal via Bluetooth, so that the vehicle terminal can turn on the car hotspot after receiving the network sharing instruction to provide a wireless signal for the mobile phone. After detecting the wireless signal, the mobile phone can connect to the network through the wireless signal.
[0141] Based on the same inventive concept, the present application also provides a network sharing device, such as Fig.12 As shown, the network sharing device includes:
[0142] A connection unit 1201 is used to establish a Bluetooth connection with a vehicle-mounted terminal;
[0143] Sharing unit 1202, if the Bluetooth connection is successful, enters a network sharing state with the vehicle terminal; the network sharing state means that the vehicle terminal is connected to the network through the wireless signal provided by the mobile terminal, or the mobile terminal is connected to the network through the wireless signal provided by the vehicle terminal.
[0144] In a possible implementation manner, the sharing unit 1202 is specifically configured to:
[0145] receiving, via Bluetooth, usage information of a second user identification SIM card sent by the vehicle-mounted terminal; the second SIM card is a SIM card included in the vehicle-mounted terminal;
[0146] If the usage information of the second SIM card indicates that the second SIM card is not in use, or the second SIM card has no remaining traffic, the network sharing function of the mobile terminal is turned on to provide a wireless signal for the vehicle-mounted terminal, so that the vehicle-mounted terminal is connected to the network through the wireless signal provided by the mobile terminal.
[0147] In a possible implementation manner, the sharing unit 1202 may also be used for:
[0148] If the usage information of the second SIM card indicates that the second SIM card is in use and there is remaining traffic on the second SIM card, acquiring traffic information of the first SIM card;
[0149] If the traffic information of the first SIM card includes directional traffic information associated with the currently running application in the vehicle terminal, the network sharing function of the mobile terminal is enabled; the directional traffic information associated with the currently running application refers to the traffic allocated for the currently running application, which cannot be used by applications other than the currently running application when connecting to the network.
[0150] In a possible implementation manner, the sharing unit 1202 may also be used for:
[0151] If the usage information of the second SIM card indicates that the second SIM card is in use and there is remaining traffic on the second SIM card, acquiring traffic information of the second SIM card from the usage information of the second SIM card;
[0152] If the traffic information of the second SIM card includes directional traffic information associated with the application currently running in the mobile terminal, the network is connected through the wireless signal provided by the vehicle-mounted terminal; the directional traffic information associated with the currently running application refers to the traffic allocated for the currently running application, which cannot be used by applications other than the currently running application when connecting to the network.
[0153] In a possible implementation manner, the sharing unit 1202 may also be used for:
[0154] If the usage information of the second SIM card indicates that the second SIM card is in use and there is remaining traffic in the second SIM card, respectively obtain the used traffic and the first traffic threshold of the first SIM card, and the used traffic and the second traffic threshold of the second SIM card contained in the usage information of the second SIM card;
[0155] If the used traffic of the first SIM card is lower than the first traffic threshold, and the used traffic of the second SIM card is not lower than the second traffic threshold, enabling the network sharing function of the mobile terminal;
[0156] If the used traffic of the second SIM card is lower than the second traffic threshold, and the used traffic of the first SIM card is not lower than the first traffic threshold, the network is connected through the wireless signal provided by the vehicle terminal.
[0157] In a possible implementation manner, the sharing unit 1202 may also be used for:
[0158] If the usage information of the second SIM card indicates that the second SIM card is in use and there is remaining traffic on the second SIM card, acquiring traffic information of the first SIM card, and acquiring traffic information of the second SIM card from the usage information of the second SIM card;
[0159] If the traffic information of the second SIM card includes directional traffic information associated with the application currently running in the mobile terminal, and the traffic information of the first SIM card does not include directional traffic information associated with the application currently running in the mobile terminal, the network is connected through the wireless signal provided by the vehicle-mounted terminal.
[0160] In a possible implementation manner, the sharing unit 1202 may also be used for:
[0161] Sending a network sharing instruction to the vehicle-mounted terminal via Bluetooth; the network sharing instruction instructs the vehicle-mounted terminal to enable a network sharing function to provide a wireless signal for the mobile terminal;
[0162] The network is connected via the wireless signal provided by the vehicle-mounted terminal.
[0163] In a possible implementation manner, the sharing unit 1202 is specifically configured to:
[0164] If the usage information of the second SIM card indicates that the second SIM card is in use and there is remaining traffic on the second SIM card, acquiring traffic information of the first SIM card, and acquiring traffic information of the second SIM card from the usage information of the second SIM card;
[0165] If the traffic information of the first SIM card includes directional traffic information associated with the application currently running on the vehicle terminal, and the traffic information of the second SIM card does not include directional traffic information associated with the application currently running on the vehicle terminal, the network sharing function of the mobile terminal is enabled; the directional traffic information associated with the currently running application refers to the traffic allocated for the currently running application, which cannot be used by applications other than the currently running application when connecting to the network.
[0166] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage modules, CD-ROMs, optical storage modules, etc.) that contain computer-usable program codes.
[0167] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processing module of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processing module of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0168] These computer program instructions may also be stored in a computer-readable storage module that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable storage module produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0169] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0170] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A mobile terminal, characterized in that: include: Bluetooth module, wireless fidelity Wi-Fi module and processing module; The Bluetooth module is configured to establish a Bluetooth communication connection with the vehicle-mounted terminal; The Wi-Fi module is configured to establish a wireless communication connection with the vehicle-mounted terminal; The processing module is configured to receive, via Bluetooth, usage information of a second SIM card sent by the vehicle-mounted terminal; the second SIM card is a SIM card included in the vehicle-mounted terminal; If the usage information of the second SIM card indicates that the second SIM card is in use and there is remaining traffic in the second SIM card, respectively acquiring the used traffic and the first traffic threshold of the first SIM card, and the used traffic and the second traffic threshold of the second SIM card contained in the usage information of the second SIM card, where the first SIM card is a SIM card contained in the mobile terminal; If the used traffic of the first SIM card is lower than the first traffic threshold, and the used traffic of the second SIM card is not lower than the second traffic threshold, enabling the network sharing function of the mobile terminal; If the used traffic of the second SIM card is lower than the second traffic threshold, and the used traffic of the first SIM card is not lower than the first traffic threshold, the network is connected through the wireless signal provided by the vehicle terminal.
2. The mobile terminal according to claim 1, characterized in that: The processing module is further configured to: If the usage information of the second SIM card indicates that the second SIM card is in use and there is remaining traffic on the second SIM card, acquiring traffic information of the first SIM card; If the traffic information of the first SIM card includes directional traffic information associated with the currently running application in the vehicle terminal, the network sharing function of the mobile terminal is enabled; the directional traffic information associated with the currently running application refers to the traffic allocated for the currently running application, which cannot be used by applications other than the currently running application when connecting to the network.
3. The mobile terminal according to claim 1, characterized in that: The processing module is further configured to: If the usage information of the second SIM card indicates that the second SIM card is in use and there is remaining traffic on the second SIM card, acquiring traffic information of the second SIM card from the usage information of the second SIM card; If the traffic information of the second SIM card includes directional traffic information associated with the application currently running in the mobile terminal, connecting to the network through the wireless signal provided by the vehicle-mounted terminal; The directional traffic information associated with the currently running application refers to the traffic allocated to the currently running application and cannot be used by applications other than the currently running application when connecting to the network.
4. The mobile terminal according to claim 1, characterized in that: The processing module is further configured to: If the usage information of the second SIM card indicates that the second SIM card is in use and there is remaining traffic in the second SIM card, respectively obtain the used traffic and the first traffic threshold of the first SIM card, and the used traffic and the second traffic threshold of the second SIM card contained in the usage information of the second SIM card; If the used traffic of the first SIM card is lower than the first traffic threshold, and the used traffic of the second SIM card is not lower than the second traffic threshold, enabling the network sharing function of the mobile terminal; If the used traffic of the second SIM card is lower than the second traffic threshold, and the used traffic of the first SIM card is not lower than the first traffic threshold, the network is connected through the wireless signal provided by the vehicle terminal.
5. The mobile terminal according to claim 1, characterized in that: The processing module is further configured to: If the usage information of the second SIM card indicates that the second SIM card is in use and there is remaining traffic on the second SIM card, acquiring traffic information of the first SIM card, and acquiring traffic information of the second SIM card from the usage information of the second SIM card; If the traffic information of the second SIM card includes directional traffic information associated with the application currently running in the mobile terminal, and the traffic information of the first SIM card does not include directional traffic information associated with the application currently running in the mobile terminal, the network is connected through the wireless signal provided by the vehicle-mounted terminal.
6. The mobile terminal according to any one of claims 3 to 5, characterized in that: The processing module is specifically configured as follows: Sending a network sharing instruction to the vehicle-mounted terminal via Bluetooth; the network sharing instruction instructs the vehicle-mounted terminal to enable a network sharing function to provide a wireless signal for the mobile terminal; The network is connected via the wireless signal provided by the vehicle-mounted terminal.
7. The mobile terminal according to claim 1, characterized in that: The processing module is further configured to: If the usage information of the second SIM card indicates that the second SIM card is in use and there is remaining traffic on the second SIM card, acquiring traffic information of the first SIM card, and acquiring traffic information of the second SIM card from the usage information of the second SIM card; If the traffic information of the first SIM card includes directional traffic information associated with the application currently running on the vehicle terminal, and the traffic information of the second SIM card does not include directional traffic information associated with the application currently running on the vehicle terminal, the network sharing function of the mobile terminal is enabled; the directional traffic information associated with the currently running application refers to the traffic allocated for the currently running application, which cannot be used by applications other than the currently running application when connecting to the network.
8. A network sharing method, characterized in that: Applied to a mobile terminal, the method comprises: Connect to the vehicle terminal via Bluetooth; receiving, via Bluetooth, usage information of a second SIM card sent by the vehicle-mounted terminal; the second SIM card is a SIM card included in the vehicle-mounted terminal; If the usage information of the second SIM card indicates that the second SIM card is in use and there is remaining traffic in the second SIM card, respectively acquiring the used traffic and the first traffic threshold of the first SIM card, and the used traffic and the second traffic threshold of the second SIM card contained in the usage information of the second SIM card, where the first SIM card is a SIM card contained in the mobile terminal; If the used traffic of the first SIM card is lower than the first traffic threshold, and the used traffic of the second SIM card is not lower than the second traffic threshold, the network sharing function is enabled; If the used traffic of the second SIM card is lower than the second traffic threshold, and the used traffic of the first SIM card is not lower than the first traffic threshold, the network is connected through the wireless signal provided by the vehicle terminal.
9. A computer-readable storage medium having a computer program stored therein, characterized in that: When the computer program is executed by a processor, the method according to claim 8 is implemented.
Citation Information
Patent Citations
Hot spot sharing method and device, mobile terminal and storage medium
CN112333683A
