CN113692029A - Network switching method and device - Google Patents

Network switching method and device Download PDF

Info

Publication number
CN113692029A
CN113692029A CN202111121592.9A CN202111121592A CN113692029A CN 113692029 A CN113692029 A CN 113692029A CN 202111121592 A CN202111121592 A CN 202111121592A CN 113692029 A CN113692029 A CN 113692029A
Authority
CN
China
Prior art keywords
network
target
devices
parameter
hotspot
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111121592.9A
Other languages
Chinese (zh)
Inventor
何静远
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202111121592.9A priority Critical patent/CN113692029A/en
Publication of CN113692029A publication Critical patent/CN113692029A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/03Reselecting a link using a direct mode connection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/14Reselecting a network or an air interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/26Reselection being triggered by specific parameters by agreed or negotiated communication parameters
    • H04W36/28Reselection being triggered by specific parameters by agreed or negotiated communication parameters involving a plurality of connections, e.g. multi-call or multi-bearer connections
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Abstract

The application discloses a network switching method and a network switching device, and belongs to the technical field of communication. The network switching method comprises the following steps: acquiring network connection parameters of each device in a target device group, wherein the target device group comprises M devices which are in communication connection with each other; and under the condition that the network connection parameter of a first device in the M devices meets a first preset condition and the network connection parameter of a second device in the M devices meets a second preset condition, controlling the first device to access a target network hotspot of the second device.

Description

Network switching method and device
Technical Field
The present application belongs to the field of communications technologies, and in particular, to a network switching method and apparatus.
Background
At present, with the rapid development of electronic devices, electronic devices have become necessities for people to work, live and entertain. When the electronic device has a weak network signal while accessing the internet, the network connection quality is often improved by providing a wireless hotspot through another electronic device.
However, when the currently used electronic device has a problem of weak network signals during use, the user is required to manually create or open the wireless hotspot of another electronic device, and the user is also required to manually control the currently used electronic device to access the wireless hotspot provided by another electronic device again. The whole network switching process needs manual operation of a user for many times, the steps are complicated, and inconvenience is brought to the user.
Disclosure of Invention
The embodiment of the application aims to provide a network switching method and a network switching device, and the problems that a user needs to perform manual operation for many times in the whole network switching process, the steps are complex, and inconvenience is brought to the user can be solved.
In a first aspect, an embodiment of the present application provides a network handover method, where the method includes:
acquiring network connection parameters of each device in a target device group, wherein the target device group comprises M devices which are in communication connection with each other;
and under the condition that the network connection parameter of a first device in the M devices meets a first preset condition and the network connection parameter of a second device in the M devices meets a second preset condition, controlling the first device to access a target network hotspot provided by the second device.
In a second aspect, an embodiment of the present application provides an apparatus for network handover, where the apparatus includes "
The device comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring network connection parameters of each device in a target device group, the target device group comprises M devices, and the M devices are in communication connection with each other;
and the processing module is used for controlling the first equipment to access the target network hotspot provided by the second equipment under the condition that the network connection parameter of the first equipment in the M equipment meets a first preset condition and the network connection parameter of the second equipment in the M equipment meets a second preset condition.
In a third aspect, embodiments of the present application provide an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, where the program or instructions, when executed by the processor, implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium on which a program or instructions are stored, which when executed by a processor, implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, the network connection condition of each device can be known by acquiring the network connection parameter of each device among a plurality of devices capable of communicating with each other, and then the first device needing to be accessed to the network hotspot and the second device capable of providing the target network hotspot can be determined according to the preset condition met by the network connection parameter of each device.
Drawings
Fig. 1 is a schematic flowchart of a network handover method according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a network switching apparatus according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 4 is a schematic hardware structure diagram of another electronic device provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
In view of the problems in the background art, embodiments of the present application provide a network switching method, where, among a plurality of devices that can communicate with each other, a network connection condition of each device can be known by obtaining a network connection parameter of each device, and then a first device that needs to access a target network hotspot and a second device that can provide the network hotspot can be determined according to a preset condition that the network connection parameter of each device satisfies.
The network switching method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Referring to fig. 1, fig. 1 is a schematic flowchart of a network handover method according to an embodiment of the present application, including:
step 110, network connection parameters of each device in the target device group are obtained.
In this embodiment of the present application, the target device group may include M devices, and the M devices are communicatively connected to each other. The devices in the target device group may be electronic devices capable of connecting to a mobile network, where the number of the devices included in the target device group is at least two, and the devices in the target device group may be from one user or from multiple users, which is not limited herein.
In some embodiments, the target device group may be established between multiple devices through wireless short-range communication such as WiFi or bluetooth, or multiple devices may be connected to a server providing a network sharing service together to establish the target device group, which is not specifically limited herein, and different devices in the target device group may communicate with each other.
After the target device group is established, when other devices outside the target device group want to enter the group, the other devices may send a group entering request to the target device group, a user corresponding to the host in the target device group may determine whether to pass the group entering request, and after the group entering request passes, the other devices outside the group may enter the target device group. Optionally, a user to which each device in the group belongs may determine whether to allow the group to join a new device, thereby satisfying different user requirements and improving user experience.
In order to improve the flexibility of other devices outside the group, a verification code mode can be adopted. And the other devices outside the group use the verification codes to carry out identity verification, and after the verification of the verification codes is passed, the other devices outside the group can automatically join the target device group, so that the operation of the user corresponding to the devices inside the group is not required.
In some embodiments, the target device group may include one host, the host in the target device group may be a device initiating group establishment among a plurality of devices in the group, or may be any one device in the group, and the host in the target device group may also be a server providing a network sharing service, which is not specifically limited herein.
After the target device group is established, the host receives the network connection parameters sent by each device in the group, and can determine a first device needing to be connected with the target network hotspot and a second device capable of providing the target network hotspot according to the network connection parameters of each device.
As a specific example, each device in the group may obtain its own network connection parameter according to a preset time interval, and actively send the network connection parameter to the host; alternatively, the host broadcasts within the group to notify each device to feed back its own network connection parameters to the host.
In some embodiments, when a target device group joins a new device, the new device may actively send its own network connection parameters to the host, and at the same time, the host may also notify each device to feed back its own network connection parameters to the host, thereby improving the real-time performance and reliability of information.
And step 120, controlling the first device to access the target network hotspot of the second device when the network connection parameter of the first device in the M devices meets a first preset condition and the network connection parameter of the second device in the M devices meets a second preset condition.
In some embodiments, the network connection parameter may be a network actual connection parameter, which may be, for example, one or more of the following parameters when the device connects to the mobile network: signal strength of the mobile network, an operator to which the mobile network belongs, network speed of the mobile network, traffic limit of the mobile network, delay information of the mobile network, and the like.
In the target device group, when the network connection parameter of each device is acquired, in a case where the devices supporting the plurality of operator networks are included in the M devices, specifically, the network connection parameter of each operator network of the devices supporting the plurality of operator networks may be acquired. It can be understood that, a plurality of cards of the existing multi-card device generally belong to different operators, and then the network parameters of each communication card of the multi-card device can be obtained to obtain the network connection parameters of different operators.
That is to say, the network switching method provided by the embodiment of the application can be applied to devices supporting networks of different operators, and particularly in areas where the network qualities provided by different operators are different, the network switching method can meet the network use requirements of users in a group, and improve user experience.
Taking the network speed of the mobile network as an example, the first preset condition may be that the average network speed of the mobile network to which the device is connected is 0.5M/s, and the second preset condition may be that the average network speed of the mobile network is 5M/s.
It is to be understood that the above preset conditions are only exemplary, and in particular, the preset conditions may be set according to actual situations.
In the embodiment of the application, in order to enable a user to have better network use experience, the host in the target device group can determine the first device and the second device in the group according to the network connection parameters of each device, and control the first device to access the target network hotspot of the second device, so that the whole network switching process does not need manual operation of the user, the network use experience of the user is automatically improved, and convenience is brought to the user.
In some embodiments, the network connection parameters may further include a network connection requirement parameter and a network actual connection parameter; correspondingly, the first preset condition comprises the following steps: the actual network connection parameter is smaller than the network connection requirement parameter, and the second preset condition is as follows: the difference value between the actual network connection parameter and the network connection demand parameter is larger than a preset threshold value.
In the target device group, the user may set a network connection requirement parameter for the device according to a requirement when the device is actually used, for example, the network connection requirement parameter that the user may set may include one or more of the following parameters: the signal strength of the network, the network speed of the network, the required traffic limit, the network delay, and other parameters are not specifically limited herein.
Taking the network requirement parameter set by the user as the traffic limit as an example, in the target device group, according to the actual network connection parameter of the device, the traffic limit of the mobile network currently used by the device can be determined, and meanwhile, the network traffic required to be used by the device is obtained, and when the traffic limit of the mobile network is smaller than the network traffic required to be used by the device, the device is determined as the first device.
In order to meet the traffic usage requirement of the device itself and the traffic usage requirement of the first device, when a difference between a traffic quota of the mobile network and a network traffic required to be used by the device is greater than a preset threshold, the device may be determined as the second device, where the preset threshold may be a preset value or may be determined according to the network traffic required to be used by the first device in the target device group. For example, the difference between the traffic quota of the mobile network of the second device and the network traffic required to be used by the second device is greater than the network traffic required to be used by the first device, so that the network use requirement of the first device can be met, the mobile network of the second device can be prevented from being used excessively, and the loss brought to the user of the second device is avoided.
According to the network switching method provided by the embodiment of the application, for example, in scenes that a user plays games and watches videos by using equipment, the user can be automatically helped to switch network connection, user operation is reduced, and convenience is brought to the user.
In some embodiments, when the number of the second devices is multiple, step 120 in this embodiment of the present application may specifically include: determining a network hotspot starting sequence of a plurality of second devices according to the network actual connection parameter and the network connection requirement parameter of each second device; controlling the first device to access a network hotspot provided by a target device according to the starting sequence, wherein the target device is the device with the most front starting sequence in the plurality of second devices; or, sequentially controlling the first device to access the network hotspot provided by the second device.
Specifically, since the number of the second devices capable of providing the network hotspot is multiple, in order to ensure that the user corresponding to the first device can have optimal use experience and the use experience of the user corresponding to the second device is not affected, the device with the earliest starting sequence in the multiple second devices may be controlled to start the target network hotspot.
For example, as for the plurality of second devices, the traffic required by each second device except for its own use may be calculated according to the second device network connection parameter and the connection requirement parameter, and the opening order of the network hotspots of the second devices may be determined by sorting from a plurality of available traffic according to the remaining available traffic of each second device, where the device with the most remaining available traffic may be used as the target device for providing the target network hotspot, so as to avoid loss to the user of the second device.
As another specific example, when the target device group includes a plurality of second devices, the first device is sequentially controlled to access the network hotspots provided by the second devices, specifically, the time length that each second device can provide the network hotspot is calculated according to the average network speed and the remaining available traffic parameter of each second device, and the opening sequence of the network hotspot of the second device is determined from long to short according to the time length that each second device provides the network hotspot. Therefore, the network use requirement of the first equipment can be met, the mobile network of a certain second equipment can be prevented from being used excessively, and the loss brought to the user of the second equipment is avoided.
In some embodiments, in a case that the target device group includes a plurality of first devices and a plurality of second devices, one second device may provide the target network hotspot for the plurality of first devices at the same time, or the second device may provide the target network hotspot for the first device one to one, which is not specifically limited herein. Therefore, the network quality does not need to be checked manually by a user, network switching is automatically realized, and the user of the first device can have better network using experience while the user using experience of the second device in the target device group is not influenced.
In step 120 of the embodiment of the present application, controlling the first device to access the network hotspot provided by the second device may specifically include: controlling the second device to generate a target network hotspot; and acquiring target information of the target network hotspot, and controlling the first equipment to access the target network hotspot through the target information.
Wherein the target information includes: identification information of the target network hotspot and a password for accessing the target network hotspot.
For example, after the host in the target device group determines that the group includes the first device and the second device according to the network connection parameter, the host may control the second device to generate the target network hotspot, and then, the host may control the first device to access the target network hotspot according to the identification information of the target network hotspot and the password for accessing the target network hotspot, and the whole process does not need a user to perform a manual operation, so that network switching is automatically achieved, and the user experience is improved.
In some embodiments, the host in the group of target devices may be any one of the devices in the group. For example, when the host is used as the second device, the target information of the characteristics of the target network may be directly obtained according to the generated target network hotspot, and then, the second device may send the target information to the first device, so that the first device may automatically access the target network hotspot according to the target information.
As another specific example, when the host is used as the first device, the host may perform communication connection with the second device, control the second device to open the target network hotspot according to the target information of the target network hotspot, and at the same time, the host itself obtains the target information and may automatically access the target network hotspot of the second device.
As another specific example, when a server providing the network sharing service in the target device group is used as a host, the server may control the second device to generate a target network hotspot, and then, the network server obtains target information of the target network hotspot and sends the target information to the first device, so as to control the first device to access the target network hotspot through the target information.
In some embodiments, when the target device group includes a plurality of first devices and a plurality of second devices, and the second devices provide network hotspots for the first devices in a one-to-one manner, target information of a plurality of different network hotspots may be generated, the second devices are respectively controlled to generate the target network hotspots, and the plurality of first devices corresponding to the second devices are respectively controlled to access the target network hotspots through the target information, so that the second devices provide network hotspots for the first devices in a one-to-one manner, and each user may have better network use experience.
According to the network switching method provided by the embodiment of the application, the first device can be controlled to automatically access the network hotspot of the second device, the whole network switching process does not need manual operation of a user for many times, the steps are simple, and convenience is brought to the user.
In some embodiments, when a device in the target device group no longer needs to network share with other devices, the target device group may be selected to be dismissed; when one or more devices in the target device group no longer need to perform network sharing with other devices, the target device group may also be selected to quit, which is not limited specifically herein.
In the embodiment of the application, the network connection condition of each device can be known by acquiring the network connection parameter of each device among a plurality of devices capable of communicating with each other, and then the first device needing to be accessed to the network hotspot and the second device capable of providing the network hotspot can be determined according to the preset condition met by the network connection parameter of each device.
It should be noted that, in the network handover method provided in the embodiment of the present application, the execution main body may be a network handover device, or a control module in the network handover device for executing the network handover method. In the embodiment of the present application, a method for a network switching device to perform network switching is taken as an example to describe the network switching device provided in the embodiment of the present application.
Fig. 2 is a schematic structural diagram of a network switching apparatus 200 according to an embodiment of the present application, and as shown in fig. 2, the network switching apparatus 200 may include: an acquisition module 210 and a processing module 220.
In some embodiments, the obtaining module 210 is configured to obtain a network connection parameter of each device in a target device group, where the target device group includes M devices, and the M devices are in communication connection with each other;
the processing module 220 is configured to control the first device to access the target network hotspot of the second device when the network connection parameter of the first device among the M devices meets a first preset condition and the network connection parameter of the second device among the M devices meets a second preset condition.
According to the network switching device provided by the embodiment of the application, the network connection condition of each device can be known by acquiring the network connection parameter of each device among a plurality of devices which can communicate with each other, and then the first device which needs to be accessed to the network hotspot and the second device which can provide the target network hotspot can be determined according to the preset condition met by the network connection parameter of each device.
In some embodiments, the processing module 220 is further configured to control the second device to generate the target network hotspot;
the obtaining module 210 is further configured to obtain target information of the target network hotspot, and control the first device to access the target network hotspot through the target information;
wherein the target information includes: identification information of the target network hotspot and a password for accessing the target network hotspot.
Therefore, the whole process does not need manual operation of a user, network switching is automatically realized, and the use experience of the user is improved.
In some embodiments, the network connection parameters include a network connection requirement parameter and a network actual connection parameter; the first preset condition includes: the actual network connection parameter is smaller than the network connection requirement parameter, and the second preset condition includes: the difference value between the actual network connection parameter and the network connection demand parameter is larger than a preset threshold value.
Therefore, the network use requirement of the first equipment can be met, the mobile network of the second equipment can be prevented from being used excessively, and the loss of the user of the second equipment is avoided.
In some embodiments, the number of second devices is plural;
the processing module 220 is further configured to determine a network hotspot opening sequence of the plurality of second devices according to the network connection parameter and the network connection requirement parameter of each second device;
the processing module 220 is further configured to control the first device to access a network hotspot provided by a target device according to the start sequence, where the target device is a device in the plurality of second devices with the earliest start sequence; or, sequentially controlling the first device to access the network hotspot provided by the second device.
Therefore, the network use requirement of the first equipment can be met, the mobile network of a certain second equipment can be prevented from being used excessively, and the loss brought to the user of the second equipment is avoided.
In some embodiments, each of the M devices uses at least one operator network for network communications;
the obtaining module 210 is further configured to, if the M devices include a device supporting multiple operator networks, obtain a network connection parameter of each operator network of the device supporting multiple operator networks.
Therefore, the method and the device can be suitable for devices using different operator networks, especially for areas with different network quality provided by different operators, the network use requirements of users can be met, and the user experience is improved.
The network switching device in the embodiment of the present application may be a device, and may also be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The network switching device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The network switching device provided in the embodiment of the present application can implement each process implemented in the method embodiment of fig. 1, and is not described here again to avoid repetition.
Optionally, as shown in fig. 3, an electronic device 300 is further provided in this embodiment of the present application, and includes a processor 301, a memory 302, and a program or an instruction stored in the memory 302 and capable of running on the processor 301, where the program or the instruction is executed by the processor 301 to implement each process of the foregoing network switching method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 4 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 400 includes, but is not limited to: radio unit 401, network module 402, audio output unit 403, input unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, and processor 410.
Those skilled in the art will appreciate that the electronic device 400 may further include a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 4 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
In some embodiments, the radio frequency unit 401 is configured to obtain a network connection parameter of each device in a target device group, where the target device group includes M devices, and the M devices are in communication connection with each other;
the processor 410 is configured to control the first device to access the target network hotspot of the second device when the network connection parameter of the first device among the M devices meets a first preset condition and the network connection parameter of the second device among the M devices meets a second preset condition.
Therefore, among a plurality of devices capable of communicating with each other, the network connection condition of each device can be known by acquiring the network connection parameter of each device, and then the first device needing to be accessed to the network hotspot can be determined and the second device capable of providing the network hotspot can be provided according to the preset condition met by the network connection parameter of each device.
In some embodiments, the processor 410 is further configured to control the second device to generate the target network hotspot;
the radio frequency unit 401 is configured to acquire target information of a target network hotspot and control the first device to access the target network hotspot through the target information;
wherein the target information includes: identification information of the target network hotspot and a password for accessing the target network hotspot.
Therefore, the whole process does not need manual operation of a user, network switching is automatically realized, and the use experience of the user is improved.
In some embodiments, the network connection parameters include a network connection requirement parameter and a network actual connection parameter;
the first preset condition includes: the actual network connection parameter is smaller than the network connection requirement parameter, and the second preset condition includes: the difference value between the actual network connection parameter and the network connection demand parameter is larger than a preset threshold value.
Therefore, the network use requirement of the first equipment can be met, the mobile network of the second equipment can be prevented from being used excessively, and the loss of the user of the second equipment is avoided.
In some embodiments, the number of second devices is plural;
the processor 410 is further configured to determine, according to the network actual connection parameter and the network connection requirement parameter of each second device, a network hotspot opening sequence of the plurality of second devices;
the processor 410 is further configured to control the first device to access a network hotspot provided by a target device according to the start-up sequence, where the target device is a device with the earliest start-up sequence among the plurality of second devices; or, sequentially controlling the first device to access the network hotspot provided by the second device.
Therefore, the network use requirement of the first equipment can be met, the mobile network of a certain second equipment can be prevented from being used excessively, and the loss brought to the user of the second equipment is avoided.
In some embodiments, each of the M devices uses at least one operator network for network communications;
the radio frequency unit 401 is further configured to, if the M devices include devices supporting multiple operator networks, obtain network connection parameters of each operator network of the devices supporting multiple operator networks.
Therefore, the method and the device can be suitable for devices using different operator networks, especially for areas with different network quality provided by different operators, the network use requirements of users can be met, and the user experience is improved.
It should be understood that in the embodiment of the present application, the input Unit 404 may include a Graphics Processing Unit (GPU) 4041 and a microphone 4042, and the Graphics processor 4041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 406 may include a display panel 4061, and the display panel 4061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 407 includes a touch panel 4071 and other input devices 4072. A touch panel 4071, also referred to as a touch screen. The touch panel 4071 may include two parts, a touch detection device and a touch controller. Other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 409 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 410 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 410.
The embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the foregoing network handover method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device in the above embodiment. Readable storage media, including computer-readable storage media, such as Read-Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, etc.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the foregoing network switching method embodiment, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A network switching method, characterized in that the method comprises:
acquiring network connection parameters of each device in a target device group, wherein the target device group comprises M devices which are in communication connection with each other;
and controlling the first equipment to access a target network hotspot of the second equipment under the condition that the network connection parameter of the first equipment in the M equipment meets a first preset condition and the network connection parameter of the second equipment in the M equipment meets a second preset condition.
2. The method of claim 1, wherein the controlling the first device to access the target network hotspot of the second device comprises:
controlling the second device to generate the target network hotspot;
acquiring target information of the target network hotspot, and controlling the first equipment to access the target network hotspot through the target information;
wherein the target information includes: the identification information of the target network hotspot and a password for accessing the target network hotspot.
3. The method of claim 1, wherein the network connection parameters comprise a network connection requirement parameter and a network actual connection parameter;
the first preset condition includes: the network actual connection parameter is smaller than the network connection requirement parameter, and the second preset condition includes: and the difference value between the actual network connection parameter and the network connection demand parameter is greater than a preset threshold value.
4. The method of claim 3, wherein the number of the second devices is plural;
the controlling the first device to access the network hotspot provided by the second device includes:
determining a network hotspot starting sequence of a plurality of second devices according to the network actual connection parameter and the network connection demand parameter of each second device;
controlling the first device to access a network hotspot provided by a target device according to the starting sequence, wherein the target device is a device with the most front starting sequence in the plurality of second devices; or, sequentially controlling the first device to access the target network hotspots of the plurality of second devices.
5. The method of claim 1, wherein the obtaining the network connection parameters of each device in the target device group comprises:
and under the condition that the M devices comprise devices supporting a plurality of operator networks, acquiring the network connection parameters of each operator network of the devices supporting the plurality of operator networks.
6. A network switching apparatus, the apparatus comprising:
an obtaining module, configured to obtain a network connection parameter of each device in a target device group, where the target device group includes M devices, and the M devices are in communication connection with each other;
and the processing module is used for controlling the first equipment to access the target network hotspot of the second equipment under the condition that the network connection parameter of the first equipment in the M equipment meets a first preset condition and the network connection parameter of the second equipment in the M equipment meets a second preset condition.
7. The apparatus of claim 6,
the processing module is further configured to control the second device to generate the target network hotspot;
the acquisition module is further configured to acquire target information of the target network hotspot and control the first device to access the target network hotspot through the target information;
wherein the target information includes: the identification information of the target network hotspot and a password for accessing the target network hotspot.
8. The apparatus of claim 6, wherein the network connection parameters comprise a network connection requirement parameter and a network actual connection parameter;
the first preset condition includes: the network actual connection parameter is smaller than the network connection requirement parameter, and the second preset condition includes: and the difference value between the actual network connection parameter and the network connection demand parameter is greater than a preset threshold value.
9. The apparatus of claim 8, wherein the second device is plural in number;
the processing module is further configured to determine a network hotspot opening sequence of the plurality of second devices according to the network actual connection parameter and the network connection requirement parameter of each second device;
the processing module is further configured to control the first device to access a network hotspot provided by a target device according to the start-up sequence, where the target device is a device in the plurality of second devices with the earliest start-up sequence; or, sequentially controlling the first device to access the target network hotspots of the plurality of second devices.
10. The apparatus of claim 6, wherein each of the M devices uses at least one operator network for network communications;
the obtaining module is further configured to obtain, when the M devices include a device supporting multiple operator networks, a network connection parameter of each operator network of the device supporting multiple operator networks.
CN202111121592.9A 2021-09-24 2021-09-24 Network switching method and device Pending CN113692029A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111121592.9A CN113692029A (en) 2021-09-24 2021-09-24 Network switching method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111121592.9A CN113692029A (en) 2021-09-24 2021-09-24 Network switching method and device

Publications (1)

Publication Number Publication Date
CN113692029A true CN113692029A (en) 2021-11-23

Family

ID=78587046

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111121592.9A Pending CN113692029A (en) 2021-09-24 2021-09-24 Network switching method and device

Country Status (1)

Country Link
CN (1) CN113692029A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070008925A1 (en) * 2005-07-07 2007-01-11 Subrahmanyam Dravida Methods and devices for interworking of wireless wide area networks and wireless local area networks or wireless personal area networks
CN106059780A (en) * 2016-05-05 2016-10-26 广东小天才科技有限公司 Method and system of sharing traffic between mobile terminals
CN108495348A (en) * 2018-01-31 2018-09-04 上海连尚网络科技有限公司 It is a kind of for the method for switching network of user equipment, equipment and medium
CN108769991A (en) * 2018-05-31 2018-11-06 郑州易通众联电子科技有限公司 Network share method, network sharing device and electronic equipment
CN111065057A (en) * 2019-12-26 2020-04-24 珠海格力电器股份有限公司 Mobile traffic sharing method, device, equipment, medium and system
CN113286263A (en) * 2021-05-20 2021-08-20 维沃移动通信有限公司 Network connection method, network connection device, electronic device and readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070008925A1 (en) * 2005-07-07 2007-01-11 Subrahmanyam Dravida Methods and devices for interworking of wireless wide area networks and wireless local area networks or wireless personal area networks
CN106059780A (en) * 2016-05-05 2016-10-26 广东小天才科技有限公司 Method and system of sharing traffic between mobile terminals
CN108495348A (en) * 2018-01-31 2018-09-04 上海连尚网络科技有限公司 It is a kind of for the method for switching network of user equipment, equipment and medium
CN108769991A (en) * 2018-05-31 2018-11-06 郑州易通众联电子科技有限公司 Network share method, network sharing device and electronic equipment
CN111065057A (en) * 2019-12-26 2020-04-24 珠海格力电器股份有限公司 Mobile traffic sharing method, device, equipment, medium and system
CN113286263A (en) * 2021-05-20 2021-08-20 维沃移动通信有限公司 Network connection method, network connection device, electronic device and readable storage medium

Similar Documents

Publication Publication Date Title
CN111913628B (en) Sharing method and device and electronic equipment
RU2674328C2 (en) Method and device for acquiring access authority
US10673790B2 (en) Method and terminal for displaying instant messaging message
CN111866976B (en) Network switching method and device
CN112286887A (en) File sharing method and device and electronic equipment
CN112751971A (en) Voice playing method and device and electronic equipment
US11321280B2 (en) Multimedia file sharing method and terminal device
CN111767012A (en) Screen projection method and device
CN112269505B (en) Audio and video control method and device and electronic equipment
CN111857498B (en) Data interaction method and device and electronic equipment
CN113504859A (en) Transmission method and device
CN112333734A (en) Serving cell switching method and device
CN112532885A (en) Anti-shake method and device and electronic equipment
CN113722105B (en) Cloud application operation method, device, equipment, medium and product
CN112187624B (en) Message reply method and device and electronic equipment
CN112269509B (en) Information processing method and device and electronic equipment
CN113194450A (en) Bluetooth device management method and device
CN112486387A (en) Application program control method and device
CN111787631A (en) Radio frequency resource allocation method and device and electronic equipment
CN112969147B (en) Call method and device
CN113692029A (en) Network switching method and device
CN113325980B (en) Control method, control device, electronic equipment and readable storage medium
CN113993164A (en) File transmission method and file transmission device
CN113395345A (en) Network distribution method and device of Internet of things equipment and storage medium
CN114221923A (en) Message processing method and device and electronic equipment

Legal Events

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