Communication method and device

By creating multiple network nodes on the wireless network card and continuously monitoring the signal strength, switching to a network operator with stronger signals, the problem of wireless network connection stability and continuity of portable mobile devices during mobile is solved, and the user experience is improved .

CN119316867APending Publication Date: 2025-01-14KUNSHAN HUANAN ELECTRONIC TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411418769.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-11
Publication Date
2025-01-14

AI Technical Summary

Technical Problem

During the mobile process, portable mobile devices may leave the wireless wide area network coverage provided by the network operator, causing the device to be unable to access the Internet, reducing the user experience, and the prior art is difficult to ensure the stability and continuity of the wireless network connection between mobile communication devices and network operators. .

Method used

Connect to mobile communication devices through wireless network cards, create multiple network nodes, correspond to different network operators, and continuously monitor signal strength. When the signal strength drops, switch to the wireless network provided by network operators with stronger signals to ensure that Stability and continuity of connections.

Benefits of technology

It realizes the connection between mobile communication devices and wireless networks with the greatest signal strength, reduces network switching delay, improves user experience, and ensures the stability and continuity of mobile communication devices and wireless networks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119316867A_ABST
    Figure CN119316867A_ABST
Patent Text Reader

Abstract

The invention provides a communication method and device, and relates to the technical field of communication, and the method comprises the steps: creating N network nodes; detecting signal strength of the N wireless networks, and determining a first wireless network with the maximum signal strength, a first network operator providing the first wireless network, and a first network node associated with the first network operator; setting the first network node to be in an activated state; detecting the signal strength of the first wireless network; when the signal strength of the first wireless network is smaller than or equal to a first signal strength threshold value, detecting the signal strength of (N-1) wireless networks except the first wireless network in the N wireless networks; and when the signal strength of the second wireless network with the maximum signal strength in the (N-1) wireless networks is greater than the signal strength of the first wireless network, setting the second network node to be in an activated state. Based on the method, the stability and continuity of wireless network connection between the mobile communication equipment and a network operator can be ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and more specifically, to a communication method and device. Background Art

[0002] With the development of communication technology, there are more and more types of portable mobile devices, such as laptops. Take laptops as an example. Usually, laptops can access the Internet by connecting to a local area network. However, in some special scenarios, the laptop is not within the coverage of the local area network. In this case, a wireless network card can be connected to enable the laptop to connect to the wireless wide area network provided by the network operator to access the Internet.

[0003] Due to the location flexibility of portable mobile devices, users may use wireless network cards to access the Internet on their portable mobile devices while on the move. During this period, the portable mobile device may leave the coverage of the wireless wide area network provided by the network operator, resulting in the device being unable to access the Internet, reducing the user experience. Summary of the invention

[0004] The present application provides a communication method and apparatus, which can ensure the stability and continuity of the wireless network connection between a mobile communication device and a network operator.

[0005] In a first aspect, a communication method is provided, which is applied to a wireless network card, wherein the wireless network card is connected to a mobile communication device through a physical interface, and the method includes: creating N network nodes, where N is greater than 1, and the N network nodes are correspondingly associated with N network operators, and the network operators are used to provide wireless networks; detecting the signal strength of the N wireless networks, determining a first wireless network with the greatest signal strength, a first network operator providing the first wireless network, and a first network node associated with the first network operator; sending a first indication signaling to the first network node, and sending a second indication signaling to (N-1) network nodes among the N network nodes except the first network node, wherein the first indication signaling is used to connect the network The node is set to an activated state, and the second indication signaling is used to set the network node to a deactivated state or a standby state; the signal strength of the first wireless network is detected; when the signal strength of the first wireless network is less than or equal to the first signal strength threshold, the signal strength of (N-1) wireless networks other than the first wireless network among the N wireless networks is detected; when the signal strength of the second wireless network with the largest signal strength among the (N-1) wireless networks is greater than the signal strength of the first wireless network, a second network operator providing the second wireless network and a second network node associated with the second network operator are determined; the first indication signaling is sent to the second network node, and the second indication signaling is sent to the first network node.

[0006] In combination with the first aspect, in certain implementations of the first aspect, the N network nodes include 1 physical network node and (N-1) virtual network nodes, the physical network node is created based on a wireless network card, and the virtual network node is created based on virtualization technology.

[0007] In combination with the first aspect, in certain implementations of the first aspect, during detection of the signal strength of the first wireless network, when a drop value of the signal strength of the first wireless network within a first preset time period is greater than or equal to a second signal strength threshold, the signal strengths of (N-1) wireless networks other than the first wireless network among the N wireless networks are detected; when the signal strength of a third wireless network with the largest signal strength among the (N-1) wireless networks is greater than the signal strength of the first wireless network, a third network operator providing the third wireless network and a third network node associated with the third network operator are determined; a first indication signaling is sent to the third network node, and a second indication signaling is sent to the first network node.

[0008] In combination with the first aspect, in some implementations of the first aspect, the signal strength of the first wireless network is detected once every second preset time period.

[0009] In combination with the first aspect, in some implementations of the first aspect, the first signal strength threshold is a dynamic value, and the first signal strength threshold is set according to a first moving distance of the mobile communication device within a second preset time period, and the first signal strength threshold is positively correlated with the first moving distance.

[0010] In combination with the first aspect, in some implementations of the first aspect, the duration of the second preset time period is in milliseconds.

[0011] In a second aspect, a wireless network card is provided, comprising a module or unit for executing a method in any possible implementation manner of the method design of the first aspect.

[0012] In a third aspect, a communication device is provided, comprising a processor and a memory, wherein the processor and the memory are connected, wherein the memory is used to store program code, and the processor is used to call the program code to execute a method in any possible implementation mode of the method design of the first aspect above.

[0013] In a fourth aspect, a chip system is provided, which is applied to an electronic device; the chip system includes one or more interface circuits and one or more processors; the interface circuit and the processor are interconnected through lines; the interface circuit is used to receive signals from a memory of the electronic device and send signals to the processor, and the signals include computer instructions stored in the memory; when the processor executes the computer instructions, the electronic device executes a method in any possible implementation of the method design of the first aspect above.

[0014] In a fifth aspect, a computer-readable storage medium is provided, storing a computer program, wherein the computer program is executed by a processor to implement a method in any possible implementation manner in the method design of the first aspect.

[0015] In a sixth aspect, a computer program product is provided, comprising instructions, which, when executed by a processor, enable a computer to execute a method in any possible implementation of the method design of the first aspect above.

[0016] Based on the above technical solution, it is possible to create N network nodes through a wireless network card after connecting to a mobile communication device, and each network node corresponds to a different network operator, so that the mobile communication device can establish a connection with the wireless networks provided by N network operators, and the mobile communication device can establish a connection with the wireless network with the strongest signal strength, that is, the wireless node corresponding to the wireless network is set to an activated state, so that the user of the mobile communication device can obtain the relatively best communication service. In addition, after the mobile communication device is connected to the wireless network, it will continue to monitor the signal strength of the wireless network. When the signal strength is poor, it will re-detect the signal strength of the (N-1) wireless networks that are currently in an inactive state. When a wireless network with a better signal is detected, the mobile communication device can switch to establish a connection with the wireless network with a better signal. Since the network nodes in the inactive state have been configured with the corresponding network parameters, the delay of the above wireless network switching process is very small, and it is difficult for users to perceive, which helps to ensure the stability and continuity of the connection between the mobile communication device and the wireless network. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 is a flow chart of a communication method 100 provided in an embodiment of the present application;

[0018] Figure 2 is a flow chart of another communication method 200 proposed in an embodiment of the present application;

[0019] Figure 3 is a schematic diagram of the architecture of a communication system 300 provided in an embodiment of the present application;

[0020] Figure 4 It is a schematic block diagram of a communication device 400 provided in an embodiment of the present application. DETAILED DESCRIPTION

[0021] The technical solution in this application will be described below in conjunction with the accompanying drawings.

[0022] The embodiments of the present application will present various aspects, embodiments or features around a system including multiple devices, components, modules, etc. It should be understood and appreciated that each system may include additional devices, components, modules, etc., and / or may not include all devices, components, modules, etc. discussed in conjunction with the figures. In addition, combinations of these schemes may also be used.

[0023] In addition, in the embodiments of the present application, words such as "exemplary" and "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of the word "exemplary" is intended to present concepts in a concrete way.

[0024] The business scenarios described in the 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 in the embodiments of the present application. Ordinary technicians in this field can know that with the evolution of technology and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0025] References to "one embodiment" or "some embodiments" etc. described in this specification mean that a particular feature, structure or characteristic described in conjunction with the embodiment is included in one or more embodiments of the present application. Thus, the phrases "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear at different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0026] In the embodiments of the present application, "at least one" refers to one or more, and "plurality" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can be represented by: including the existence of A alone, the existence of A and B at the same time, and the existence of B alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and subsequent associated objects are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can be represented by: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.

[0027] With the development of communication technology, there are more and more types of portable mobile devices (or portable mobile communication devices), and laptops are a typical example. Under normal circumstances, laptops can rely on local area network access to achieve network interconnection. However, in certain scenarios, if the laptop is not covered by the local area network, the user can use wireless network card technology to connect to the wireless wide area network provided by the network operator, thereby keeping the laptop connected to the Internet.

[0028] Wireless network cards, also known as wireless internet cards or wireless wide area network cards, can be connected to the Internet using a subscriber identity module (SIM) anywhere there is wireless phone signal coverage. The role and function of a wireless network card is equivalent to a wired modem, providing wireless wide area network access capabilities for portable devices such as laptops and tablets.

[0029] Wireless network cards can be divided into single-mode wireless network cards and multi-mode wireless network cards. Among them, single-mode wireless network cards usually can only support the network standard of one network operator, that is, they can only connect to the wireless network of one network operator; while multi-mode wireless network cards can support the network standards of multiple network operators, so that they can connect to the wireless networks of multiple network operators if the device driver, firmware and operating system support it.

[0030] In addition, wireless network cards can also be divided into universal serial bus (USB) wireless network cards, high-speed serial computer bus (PCI express, PCI-E) wireless network cards and M.2 wireless network cards, etc. Among them, USB wireless network cards have the widest application range and can be used in desktops and notebooks. They are easy to use and can support driver-free functions for some products, making these products plug-and-play; PCI-E wireless network cards can be directly plugged into the PCI-E interface of the motherboard and are suitable for desktops. PCI-E wireless network cards can provide higher data transmission rates and stability; M.2 wireless network cards are usually built-in integrated wireless network cards in laptops.

[0031] However, given the high mobility of portable mobile devices, when users use wireless network cards to access the Internet, they may encounter situations where the device moves out of the coverage area of ​​the wireless wide area network, which will directly cause the device to be disconnected from the wireless wide area network, which not only affects the user's smoothness of use, but also reduces the overall user experience. Therefore, how to ensure the stability and continuity of the wireless network connection between mobile devices and network operators has become an important issue in wireless network card technology.

[0032] In view of this, an embodiment of the present application proposes a communication method and apparatus, which, after being connected to a mobile communication device through a wireless network card, enables the wireless network card to trigger an operation of creating multiple network nodes based on the mobile communication device, so that the mobile communication device can dial with multiple network operators, and then can achieve connection with the wireless network with the strongest signal strength among multiple network operators, and when it is detected that the signal quality of the current wireless network has dropped to a certain level, the mobile communication device can promptly switch to a wireless network provided by other network operators with stronger signal strength, thereby ensuring the stability and continuity of the wireless network connection between the mobile communication device and the network operator.

[0033] It should be noted that the mobile communication device mentioned in the embodiment of the present application may also be referred to as a terminal device, or user equipment (UE). In the embodiment of the present application, the mobile communication device may be a portable terminal device such as a tablet computer, a laptop computer, a smart phone, a smart wearable device (such as a smart bracelet, a smart watch), etc.

[0034] Figure 1 1 is a flow chart of a communication method 100 provided in an embodiment of the present application. The method is applied to a wireless network card, and the wireless network card is connected to a mobile communication device via a physical interface, wherein the physical interface may be the above-mentioned USB interface, and the method comprises the following steps:

[0035] S110: Create N network nodes, where N is greater than 1. The N network nodes are associated with N network operators, which are used to provide wireless networks.

[0036] In some possible embodiments, after the wireless network card is connected to the mobile communication device, it can be connected to the Linux system. At this time, the USB controller can detect the connected mobile communication device and notify the Linux kernel through signaling, so that the USB hub driver in the Linux kernel assigns the corresponding device number to the mobile communication device, and starts the enumeration process of the mobile communication device to collect the basic information of the mobile communication device, and then loads the appropriate driver. Then, the USB subsystem requests the descriptor of the mobile communication device, which includes a vendor ID, a product ID, and other information for identifying the mobile communication device. Then enter the driver matching and loading process, that is, the Linux kernel checks the registered USB drivers and retrieves whether there are entries matching the above vendor ID and product ID in the ID table (usb_device_id structure array) of these drivers. If a matching driver is found, the Linux kernel can load and initialize the driver, which can include functions such as allocating device memory and setting interrupt handlers. Based on the driver, a device node can be created for the wireless network card, so that the program in the Linux user space can communicate with the wireless network card through the device node.

[0037] In some possible embodiments, the above-mentioned creation of N network nodes and associating the N network nodes with N network operators respectively refers to the wireless network card initiating dial-up requests to N network operators respectively through the built-in dial-up software. After the dial-up is successful, the wireless network card creates N network nodes correspondingly and obtains the Internet protocol (IP) address of each network node for connecting to the wireless network provided by the corresponding network operator. After the N network nodes establish a network connection, the wireless network card configures the above-mentioned N network nodes according to the configuration parameters obtained through dial-up, such as the IP address, subnet mask, gateway and other network parameters, so that each network node can connect to the corresponding wireless network.

[0038] In some possible embodiments, after the wireless network card is inserted into the device, it may not be possible to directly create multiple network nodes. This is because in some network architectures, a network node generally refers to a device that has a unique network address and can communicate with other nodes in the network, such as a router, a switch, a workstation, etc. The embodiment of the present application defines this network node as a physical network node. However, at the software level, multiple virtual network interfaces can be created through virtualization technology, and different network parameters can be configured for each virtual network interface, thereby logically forming multiple network nodes. The embodiment of the present application defines multiple network nodes created by virtualization technology as virtual network nodes. In view of this, it can be seen that the above-mentioned N network nodes are created by the wireless network card based on a mobile communication device, so it can include 1 physical network node and (N-1) virtual network nodes.

[0039] S120: Detect signal strengths of N wireless networks, and determine a first wireless network with the greatest signal strength, a first network operator providing the first wireless network, and a first network node associated with the first network operator.

[0040] In some possible embodiments, the signal strength of a wireless network can be indicated by at least one of the following signal parameters: signal amplitude, signal power, signal-to-noise ratio, etc., wherein the amplitude is the maximum deviation of the signal waveform, which is used to indicate the strength of the signal. In wireless communication, the amplitude directly affects the transmission distance and reception effect of the signal. The measurement of the amplitude can help evaluate the stability and coverage of the signal. The larger the signal amplitude, the greater the signal strength and the longer the transmission distance. Power is the work done by the signal per unit time. In wireless communication, the greater the signal power, the greater the signal strength. The signal-to-noise ratio is the ratio of signal power to noise power, which is used to evaluate the degree of noise interference of the signal during transmission. The higher the signal-to-noise ratio, the better the signal quality and the less interference from noise.

[0041] S130: Send a first indication signaling to the first network node, and send a second indication signaling to (N-1) network nodes among the N network nodes except the first network node, wherein the first indication signaling is used to set the network node to an activated state, and the second indication signaling is used to set the network node to a deactivated state or a standby state.

[0042] It should be understood that after the communication device is connected to the network, the working state of the communication device can be divided into an activated state, a deactivated state, a standby state, etc. These states reflect the activity level, data transmission capacity and resource occupancy of the communication device in the network.

[0043] Among them, the activation state means that the communication device has been successfully connected to the network and is in a state where data transmission and communication can be carried out normally. When the communication device is in the activation state, it means that the communication device has established a stable connection with the network and can receive and send data normally. At this time, the communication device has a high activity and data transmission capability in the network. In other words, the activation state is the normal working state of the communication device in the network, which is suitable for scenarios that require real-time data transmission and communication, such as voice calls, video conferences, online games, etc. When the above-mentioned first network node is set to the activation state, the first network node is connected to the first wireless network.

[0044] The deactivated state, also known as offline mode or shutdown mode, is a state in which the wireless communication function of a communication device is completely turned off. In this state, the communication device will not send or receive any network signals, and therefore will not maintain a connection with the network. The main purpose of the deactivated state is to save power while ensuring that the communication device is not subject to unnecessary network interference. When a communication device is in the deactivated state, it is usually necessary to turn on the wireless communication function through control signaling so that the communication device can reconnect to the network (i.e., switch to the activated state).

[0045] Standby mode, also known as idle mode or low-power mode, is an energy-saving state for communication devices. In this state, the communication device remains connected to the network, but a series of measures are taken to reduce energy consumption. For example, the communication device will periodically wake up to check whether there are signals or data from the network that need to be processed, and then quickly enter low-power mode again. This cycle of wake-up and sleep ensures that the device can quickly respond to network requests when needed while avoiding unnecessary energy consumption. Devices in standby mode are usually able to maintain a connection to the network for a longer period of time, but the state and frequency of the connection may be affected by factors such as the communication device model, network type and configuration.

[0046] Based on the above S110 to S130, the function of the mobile communication device connecting to the wireless network of the network operator based on the wireless network card can be realized, thereby realizing the Internet access function of the mobile communication device. However, in order to further ensure the stability and continuity of the wireless network connection between the mobile communication device and the network operator, after the above S130, the following operations need to be performed:

[0047] S140: Detect the signal strength of the first wireless network.

[0048] S150: When the signal strength of the first wireless network is less than or equal to a first signal strength threshold, detect signal strengths of (N-1) wireless networks among the N wireless networks except the first wireless network.

[0049] In some possible embodiments, according to different communication states of the (N-1) network nodes, the signal strength of the (N-1) wireless network may be detected through the following two approaches respectively.

[0050] 1. When the network node is in a deactivated state, the network node is not connected to the corresponding wireless network. At this time, the wireless network card can scan the surrounding wireless networks to obtain the signal strength of the wireless network without connecting to the wireless network corresponding to the network node. This function is achieved by the wireless network card monitoring the broadcast signals in the surrounding wireless networks. The broadcast signals may include parameters for indicating the signal strength of the wireless network, such as signal amplitude, signal power, signal-to-noise ratio, etc.

[0051] 2. When the network node is in standby state, since the network node still has a connection with the corresponding wireless network, the relevant working parameters of the network node can be directly obtained. The working parameters may include parameters used to indicate the signal strength of the wireless network, such as signal amplitude, signal power, signal-to-noise ratio, etc.

[0052] S160: When the signal strength of a second wireless network having the largest signal strength among the (N-1) wireless networks is greater than the signal strength of the first wireless network, determine a second network operator providing the second wireless network and a second network node associated with the second network operator.

[0053] S170: Send the first indication signaling to the second network node, and send the second indication signaling to the first network node.

[0054] In some possible embodiments, if the signal strength of the second wireless network with the largest signal strength among the (N-1) wireless networks is less than or equal to the signal strength of the first wireless network, the above S160 and subsequent operations can be terminated. At this time, a first indication message can be sent to the mobile communication device. The first indication message is used to instruct the mobile communication device to notify the user through a device that interacts with the user that the current wireless network signal strength is low, so that the user can take corresponding countermeasures in time.

[0055] In some possible embodiments, the operations from S140 to S170 described above may be implemented by creating a daemon task by a wireless network card.

[0056] Based on the above technical solution, it is possible to create N network nodes through a wireless network card after connecting to a mobile communication device, and each network node corresponds to a different network operator, so that the mobile communication device can establish a connection with the wireless networks provided by N network operators, and the mobile communication device can establish a connection with the wireless network with the strongest signal strength, that is, the wireless node corresponding to the wireless network is set to an activated state, so that the user of the mobile communication device can obtain the relatively best communication service. In addition, after the mobile communication device is connected to the wireless network, it will continue to monitor the signal strength of the wireless network. When the signal strength is poor, it will re-detect the signal strength of the (N-1) wireless networks that are currently in an inactive state. When a wireless network with a better signal is detected, the mobile communication device can switch to establish a connection with the wireless network with a better signal. Since the network nodes in the inactive state have been configured with the corresponding network parameters, the delay of the above wireless network switching process is very small, and it is difficult for users to perceive, which helps to ensure the stability and continuity of the connection between the mobile communication device and the wireless network.

[0057] It should be understood that in a communication scenario, the signal strength distribution under the coverage of a wireless network may be uneven, and the location of the mobile communication device may change. Therefore, even if the signal strength of the first wireless network is detected to be greater than the first signal strength threshold, the signal strength of the first wireless network may be gradually decreasing. Moreover, when the signal strength of the first wireless network decreases very quickly, it means that the mobile communication device may be about to leave the coverage of the first wireless network. If the network is not switched in time, the signal strength of the first wireless network may drop to 0 in a relatively short period of time after the signal strength of the first wireless network is detected to be less than or equal to the first signal strength threshold. At this time, the mobile communication device is disconnected from the network, that is, ping is unavailable. At this time, the user may perceive network fluctuations, thereby reducing the user's experience.

[0058] In view of this, an embodiment of the present application further proposes another communication method, which is a signal strength prediction method, so as to sense in advance that the wireless network signal strength may be reduced to less than or equal to the first signal strength threshold.

[0059] Figure 2 It is a flowchart of another communication method 200 proposed in an embodiment of the present application.

[0060] Taking the scenario where the mobile communication device is connected to the first wireless network as an example, the method 200 may be continued after the above S130, that is, during the detection of the signal strength of the first wireless network. The method 200 includes the following steps:

[0061] S210: When it is detected that the decrease value of the signal strength of the first wireless network within the first preset time period is greater than or equal to the second signal strength threshold, detect the signal strengths of (N-1) wireless networks among the N wireless networks except the first wireless network.

[0062] It should be understood that the method for detecting the signal strengths of the (N-1) wireless networks is described in detail in the corresponding content of the aforementioned embodiment, and will not be repeated here.

[0063] S220: When the signal strength of a third wireless network having the largest signal strength among the (N-1) wireless networks is greater than the signal strength of the first wireless network, determine a third network operator providing the third wireless network and a third network node associated with the third network operator.

[0064] S230: Send a first indication signaling to the third network node, and send a second indication signaling to the first network node.

[0065] In some possible embodiments, if the signal strength of the third wireless network is less than or equal to the signal strength of the first wireless network, the above S220 and subsequent operations can be terminated. At this time, a second indication information can be sent to the mobile communication device. The second indication information is used to instruct the mobile communication device to notify the user through a device that interacts with the user that the current wireless network signal strength is decreasing rapidly, so that the user can take corresponding countermeasures in time.

[0066] Based on the above technical solution, by detecting the rate of decrease in signal strength of the wireless network to which the mobile communication device is connected within a short period of time (a first preset time period), it is predicted whether there is a risk that the signal strength of the wireless network of the mobile communication device will decrease to less than or equal to a first signal strength threshold within a period of time in the future, thereby entering into the process of detecting signals of multiple wireless networks that are not connected in advance. When a wireless network with a stronger signal strength is detected, the mobile communication device can switch to connecting to the wireless network in advance, thereby further ensuring the stability and continuity of the connection between the mobile communication device and the wireless network.

[0067] In some possible embodiments, the operation of detecting the signal strength of the first wireless network mentioned in S140 may be a periodically performed operation, that is, the signal strength of the first wireless network is detected once every second preset time period.

[0068] In some possible embodiments, although the mobile communication device establishes a connection with the first wireless network, the wireless network card can also obtain the signal strength of the first wireless network by scanning the surrounding wireless networks. For example, the wireless network card can periodically send and receive beacon frames, which contain basic information of the first wireless network, such as signal strength. The wireless network card detects the signal strength of the first wireless network by scanning these beacon frames. The beacon frame sending interval (beacon interval) is usually set in milliseconds (ms), and the default value can be set according to different devices or configurations.

[0069] In some possible embodiments, the second preset time period is in milliseconds.

[0070] Based on the above technical solution, by periodically detecting the signal strength of the first wireless network to which the current mobile communication device is connected, and the detection period is at the millisecond level, it is possible to timely sense that the signal strength of the first wireless network has dropped to the first signal strength threshold, thereby timely triggering the operation of determining whether to switch the mobile communication device to another wireless network. Since the detection period is at the millisecond level, it is difficult for the user of the mobile communication device to notice it, thereby improving the user experience.

[0071] In some possible embodiments, the above-mentioned first signal strength threshold is a dynamic value, so the first signal strength threshold can also be dynamically adjusted in the following manner: the first signal strength threshold is set according to the first moving distance of the mobile communication device within the second preset time period, and the first signal strength threshold is positively correlated with the first moving distance.

[0072] It should be understood that since the second preset time period is known and the first moving distance is known, the moving speed of the mobile communication device is also known, so the first signal strength threshold is positively correlated with the first moving distance, which means that the first signal strength threshold is positively correlated with the moving speed of the mobile communication device.

[0073] It should be noted that when the mobile communication device moves at a faster speed, the signal strength of the first wireless network to which the mobile communication device is connected may fluctuate more dramatically. If the first signal strength threshold is a static value, there may be a risk of network disconnection. For example, the first signal strength threshold is fixed at -30dBm, and at a certain moment, the signal strength of the first wireless network to which the mobile communication device is connected is -35dBm. However, since the mobile communication device moves at a very fast speed, after a second preset time period, the mobile communication device has moved out of the coverage of the first wireless network. At this time, the mobile communication device is disconnected from the first wireless network, that is, the signal strength of the first wireless network is much less than -30dBm. Therefore, when the mobile communication device moves at a faster speed, appropriately increasing the size of the first signal strength threshold can effectively avoid the occurrence of the above situation.

[0074] In some possible embodiments, the correlation between the first signal strength threshold and the first moving distance may be calibrated by a pre-experimental method, and the relationship between the two may be presented in the form of a mapping table or in the form of a correlation function.

[0075] Based on the above technical solution, by adaptively adjusting the size of the first signal strength threshold based on the first moving distance of the mobile communication device within the second preset time period (i.e., the moving speed of the mobile communication device), it helps to avoid the situation where the mobile communication device has been disconnected from the first wireless network when it is detected that the signal strength of the first wireless network is less than the first signal strength threshold. By dynamically adjusting the first signal strength threshold, it helps to ensure that before the mobile communication device is disconnected from the first wireless network, it is possible to trigger an operation to determine whether to switch the mobile communication device to another wireless network, thereby helping to avoid inconvenience to the user caused by the mobile communication device being disconnected from the network, thereby improving the user's usage experience.

[0076] Figure 3 It is a schematic diagram of the architecture of a communication system 300 provided in an embodiment of the present application.

[0077] refer to Figure 3 As shown, the system 300 includes: the wireless network card 110 proposed in the embodiment of the present application, the mobile communication device 120 and base stations 131, 132, 133 of multiple network operators, etc.

[0078] The wireless network card 110 is connected to the mobile communication device 120 to implement any one of the communication methods proposed in the embodiments of the present application.

[0079] The mobile communication device 120 establishes a connection with a wireless network provided by base stations of multiple network operators based on one of the multiple network nodes (which may include a physical network node and at least one virtual network node) configured by the wireless network card 110. For detailed connection methods and logics, please refer to the corresponding contents of the aforementioned embodiments, which will not be repeated here.

[0080] In addition, an embodiment of the present application also provides a device for implementing any of the above methods. For example, a communication device is provided, which includes a unit (or means) for implementing any of the above communication methods.

[0081] Figure 4 4 is a schematic block diagram of a communication device 400 provided in an embodiment of the present application. Each unit or module in the device 400 can be integrated into the above-mentioned wireless network card.

[0082] refer to Figure 4 As shown, the device 400 includes:

[0083] The creation unit 410 is used to create N network nodes, where N is greater than 1, and the N network nodes are correspondingly associated with N network operators, and the network operators are used to provide wireless networks.

[0084] The detection unit 420 is configured to detect signal strengths of N wireless networks, and determine a first wireless network with the greatest signal strength, a first network operator providing the first wireless network, and a first network node associated with the first network operator.

[0085] The sending unit 430 is used to send a first indication signaling to the first network node, and to send a second indication signaling to (N-1) network nodes among the N network nodes except the first network node, the first indication signaling is used to set the network node to an activated state, and the second indication signaling is used to set the network node to a deactivated state or a standby state.

[0086] The detection unit 420 is further configured to detect the signal strength of the first wireless network, and when the signal strength of the first wireless network is less than or equal to the first signal strength threshold, detect the signal strengths of (N-1) wireless networks other than the first wireless network among the N wireless networks; when the signal strength of the second wireless network with the largest signal strength among the (N-1) wireless networks is greater than the signal strength of the first wireless network, determine the second network operator providing the second wireless network and the second network node associated with the second network operator. Thereafter, the sending unit 430 is further configured to send the first indication signaling to the second network node, and send the second indication signaling to the first network node.

[0087] In some possible embodiments, the N network nodes include 1 physical network node and (N-1) virtual network nodes, wherein the physical network node is created based on a wireless network card, and the virtual network node is created based on virtualization technology.

[0088] In some possible embodiments, during the period when the detection unit 420 detects the signal strength of the first wireless network, the detection unit 420 is also used to detect the signal strengths of (N-1) wireless networks other than the first wireless network among the N wireless networks when the drop value of the signal strength of the first wireless network within the first preset time period is greater than or equal to the second signal strength threshold; when the signal strength of the third wireless network with the largest signal strength among the (N-1) wireless networks is greater than the signal strength of the first wireless network, determine the third network operator providing the third wireless network and the third network node associated with the third network operator; thereafter, the sending unit 430 is also used to send a first indication signaling to the third network node and send a second indication signaling to the first network node.

[0089] In some possible embodiments, the detection unit 420 is specifically configured to detect the signal strength of the first wireless network once every second preset time period.

[0090] In some possible embodiments, the first signal strength threshold is a dynamic value, and the apparatus 400 further includes: a determination unit 440, configured to set the first signal strength threshold according to a first moving distance of the mobile communication device within a second preset time period, and the first signal strength threshold is positively correlated with the first moving distance.

[0091] In some possible embodiments, the second preset time period is in milliseconds.

[0092] In some possible embodiments, the embodiments of the present application also propose a communication device, which includes a processor and a memory, wherein the processor and the memory are connected, and the memory is used to store program code, and the processor is used to call the program code to execute any one of the communication methods proposed in the embodiments of the present application.

[0093] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0094] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0095] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0096] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0097] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0098] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0099] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A communication method, characterized in that: Applied to a wireless network card, the wireless network card is connected to a mobile communication device via a physical interface, and the method comprises: Creating N network nodes, where N is greater than 1, and the N network nodes are correspondingly associated with N network operators, where the network operators are used to provide wireless networks; Detecting signal strengths of the N wireless networks, determining a first wireless network with the greatest signal strength, a first network operator providing the first wireless network, and a first network node associated with the first network operator; sending a first indication signaling to the first network node, and sending a second indication signaling to (N-1) network nodes other than the first network node among the N network nodes, wherein the first indication signaling is used to set the network node to an activated state, and the second indication signaling is used to set the network node to a deactivated state or a standby state; detecting a signal strength of the first wireless network; When the signal strength of the first wireless network is less than or equal to a first signal strength threshold, detecting the signal strengths of (N-1) wireless networks among the N wireless networks except the first wireless network; When the signal strength of a second wireless network having the largest signal strength among the (N-1) wireless networks is greater than the signal strength of the first wireless network, determining a second network operator providing the second wireless network and a second network node associated with the second network operator; The first indication signaling is sent to the second network node, and the second indication signaling is sent to the first network node.

2. The method according to claim 1, characterized in that The N network nodes include 1 physical network node and (N-1) virtual network nodes. The physical network node is created based on the wireless network card, and the virtual network node is created based on virtualization technology.

3. The method according to claim 1 or 2, characterized in that: During the detecting of the signal strength of the first wireless network, the method further includes: When a drop value of the signal strength of the first wireless network within a first preset time period is greater than or equal to a second signal strength threshold, detecting the signal strengths of (N-1) wireless networks among the N wireless networks except the first wireless network; When the signal strength of a third wireless network with the largest signal strength among the (N-1) wireless networks is greater than the signal strength of the first wireless network, determining a third network operator providing the third wireless network and a third network node associated with the third network operator; The first indication signaling is sent to the third network node, and the second indication signaling is sent to the first network node.

4. The method according to any one of claims 1 to 3, characterized in that The detecting the signal strength of the first wireless network comprises: The signal strength of the first wireless network is detected once every second preset time period.

5. The method according to claim 4, characterized in that The first signal strength threshold is a dynamic value, and the method further includes: The first signal strength threshold is set according to a first moving distance of the mobile communication device within the second preset time period, and the first signal strength threshold is positively correlated with the first moving distance.

6. The method according to claim 4 or 5, characterized in that: The duration of the second preset time period is in millisecond level.

7. A wireless network card, characterized in that: The method comprises a module or a unit for executing the method according to any one of claims 1 to 6.

8. A communication device, characterized in that: The system comprises a processor and a memory, wherein the processor and the memory are connected, wherein the memory is used to store program codes, and the processor is used to call the program codes to execute the method according to any one of claims 1 to 6.

9. A chip system, characterized in that: The chip system is applied to an electronic device; the chip system includes one or more interface circuits and one or more processors; the interface circuit and the processor are interconnected through lines; the interface circuit is used to receive signals from the memory of the electronic device and send signals to the processor, the signals including computer instructions stored in the memory; when the processor executes the computer instructions, the electronic device executes the method as described in any one of claims 1 to 6.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement the method according to any one of claims 1 to 6.