WO2018126989A1 - 网络获取方法和装置 - Google Patents
网络获取方法和装置 Download PDFInfo
- Publication number
- WO2018126989A1 WO2018126989A1 PCT/CN2017/119583 CN2017119583W WO2018126989A1 WO 2018126989 A1 WO2018126989 A1 WO 2018126989A1 CN 2017119583 W CN2017119583 W CN 2017119583W WO 2018126989 A1 WO2018126989 A1 WO 2018126989A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- communication network
- hotspot
- signal
- list
- preset
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 51
- 238000004891 communication Methods 0.000 claims abstract description 415
- 238000012545 processing Methods 0.000 claims description 37
- 238000010586 diagram Methods 0.000 description 12
- 238000004590 computer program Methods 0.000 description 8
- 238000005516 engineering process Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 6
- 230000015556 catabolic process Effects 0.000 description 3
- 238000006731 degradation reaction Methods 0.000 description 3
- 230000003993 interaction Effects 0.000 description 3
- 238000010295 mobile communication Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 230000002238 attenuated effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000010845 search algorithm Methods 0.000 description 1
- 238000010187 selection method Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/18—Selecting a network or a communication service
Definitions
- the present disclosure relates to network acquisition techniques in the field of communications, for example, to a network acquisition method and apparatus.
- the telecommunications network base station ideally transmits the wireless communication signal to a specified cell range and cannot be radiated to other cells. Interference to wireless communication signals of other cells. In practical applications, the wireless communication signal is attenuated by the square of the distance. In order to ensure sufficient wireless communication signals at the edge of the cell network, the base station generally enhances the transmission power of the wireless communication signal to ensure the normal use of the telecommunications service at the edge of the cell network. However, this inevitably causes some of the wireless communication signals to radiate to other cells across the cell boundary, causing interference to wireless communication signals of other cells.
- 3GPP 3rd Generation Partnership Project
- the terminal is at the edge of the cell network, especially when there is a roaming signal at the border, the terminal can only reside on the network with the strongest wireless communication signal, and cannot stay on the communication network with stable wireless communication signal for a long time, resulting in The service performance of the terminal is degraded, which affects the user experience.
- the present disclosure provides a network acquisition method and apparatus, which solves the problem that the terminal is in the cell network edge service performance degradation in the related art, and realizes that the terminal can select and stay in the communication network with stable wireless communication signal when the terminal is at the edge of the cell network.
- the service performance of the terminal at the edge of the cell network is improved, and the mutual capability between the terminal and the user is improved.
- a network acquisition method includes:
- the determining, according to the relationship between the Wi-Fi hotspot signal and the preset hotspot database, the target communication network by using a preset rule and registering to the target communication network includes:
- the first N pieces of the first Wi-Fi hotspot signal from the second list wherein the N is a positive integer and less than or equal to the second list
- the communication network includes a first communication network and a second communication network, where the first N pieces of the first Wi-Fi hotspot signals in the second list are analyzed to obtain the target communication network. And registering to the target communication network, including:
- the first value is greater than or equal to the second value, selecting the first communication network as the target communication network and registering to the first communication network;
- the method further includes:
- Wi-Fi hotspot signal with the strongest signal strength in the second Wi-Fi hotspot signal is not in the second list, obtain a Wi-Fi hotspot signal with the strongest signal strength in the second Wi-Fi hotspot signal. Identification information is added to the preset hotspot database.
- the method further includes:
- the target communication network When the target communication network is registered, if the communication service cannot be obtained through the target communication network within the preset time, it is determined that the communication service cannot be obtained through the target communication network within the preset time. frequency;
- the Wi-Fi hotspot signal corresponding to the target communication network in the second list is The identification information is deleted from the preset hotspot database.
- the method further includes:
- the first communication network is selected as the target communication network and registered to the target communication network;
- the second communication network is selected as The target communication network is registered to the target communication network.
- a network acquisition device comprising: an acquisition unit, a determination unit, a search unit, and a processing unit; wherein:
- the first acquiring unit is configured to acquire a signal strength of a communication network that has an association relationship with the terminal;
- the first determining unit is configured to determine a relationship between a signal strength of the communication network and a first preset threshold
- the searching unit is configured to search for a wireless fidelity Wi-Fi hotspot signal if a signal strength of the communication network is less than the first preset threshold;
- the processing unit is configured to determine, according to the Wi-Fi hotspot signal and the preset hotspot database, a target communication network by using a preset rule, and registering to the target communication network, where the preset hotspot database stores Wi- Correspondence between Fi hotspot signals and communication networks.
- the processing unit includes: a first acquiring module, a first processing module, a second acquiring module, and a second processing module; wherein:
- the first acquiring module is configured to acquire the Wi-Fi hotspot signal to obtain a first list, where the first list stores identifier information of the Wi-Fi hotspot signal;
- the first processing module is configured to select, from the first list, a Wi-Fi hotspot signal that is the same as the identifier information of the Wi-Fi hotspot signal in the preset hotspot database, to obtain multiple first Wi-Fi hotspots. signal;
- the first processing module is further configured to sort the plurality of the first Wi-Fi hotspot signals in order from strong to weak, to obtain a second list;
- the second acquiring module is configured to obtain, according to a preset selection rule, the first N pieces of the first Wi-Fi hotspot signal from the second list, where the N is a positive integer and is less than or equal to The total number of the first Wi-Fi hotspot signals in the second list;
- the second processing module is configured to analyze the first N first Wi-Fi hotspot signals in the second list, obtain the target communication network, and register to the target communication network.
- the communication network includes a first communication network and a second communication network
- the second processing module is configured to:
- the first value is greater than or equal to the second value, selecting the first communication network as the target communication network and registering to the first communication network;
- the device further includes: a second determining unit, a second obtaining unit, a third determining unit, and a third acquiring unit; wherein:
- the second determining unit is configured to determine, when registering to the target communication network, whether the communication service can be obtained through the target communication network within a preset time;
- the second obtaining unit is configured to acquire the second Wi-Fi hotspot corresponding to the target communication network in the first list, if the communication service is obtained by using the target communication network in the preset time signal;
- the third determining unit is configured to determine whether a Wi-Fi hotspot signal with the strongest signal strength in the second Wi-Fi hotspot signal is in the second list;
- the third acquiring unit is configured to: if the Wi-Fi hotspot signal with the strongest signal strength in the second Wi-Fi hotspot signal is not in the second list, acquire the second Wi-Fi hotspot signal The identification information of the Wi-Fi hotspot signal with the strongest signal strength is added to the preset hotspot database.
- the device further includes: a statistics unit, a fourth determining unit, and a deleting unit; wherein:
- the statistic unit is configured to: when the target communication network is registered, if the communication service cannot be obtained through the target communication network within the preset time, the statistics cannot be passed through the target communication within the preset time The number of times the network obtains the communication service;
- the fourth determining unit is configured to determine a relationship between the number of times the communication service cannot be obtained through the target communication network and the second preset threshold in the preset time;
- the deleting unit is configured to: if the number of times the communication service cannot be obtained through the target communication network in the preset time is greater than the second preset threshold, the target communication network in the second list The identification information of the corresponding Wi-Fi hotspot signal is deleted from the preset hotspot database.
- the device further includes: a selecting unit; wherein:
- the selecting unit is configured to: if the signal strength of the first communications network is greater than or equal to the first preset threshold, select the first communications network as the target communications network and register to the target communications network;
- the selecting unit is further configured to: if the signal strength of the first communications network is less than the first preset threshold, and the signal strength of the second communications network is greater than or equal to the first preset threshold, The second communication network is the target communication network and is registered to the target communication network.
- a computer readable storage medium storing computer executable instructions for performing the network acquisition method described above.
- a terminal comprising one or more processors, a memory, and one or more programs, the one or more programs being stored in a memory, and when executed by one or more processors, performing the network acquisition method described above .
- a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions that, when executed by a computer, cause the computer to execute Any of the above network acquisition methods.
- the terminal is at the edge of different communication networks.
- the target communication network is selected by a preset rule and registered to the target communication network, and the related technology is solved.
- the terminal is in the problem of the service performance degradation at the edge of the cell network.
- the terminal can select and stay on the communication network with stable wireless communication signals for a long time, which improves the service performance of the terminal at the edge of the cell network, and improves the terminal and the user. The ability to interact.
- FIG. 1 is a schematic flowchart diagram of a network acquisition method according to an embodiment of the present disclosure
- FIG. 2 is a schematic flowchart diagram of another network acquisition method according to an embodiment of the present disclosure.
- FIG. 3 is a schematic flowchart diagram of still another method for acquiring a network according to an embodiment of the present disclosure
- FIG. 4 is a schematic structural diagram of a network acquiring apparatus according to an embodiment of the present disclosure.
- FIG. 5 is a schematic structural diagram of another network acquiring apparatus according to an embodiment of the present disclosure.
- FIG. 6 is a schematic structural diagram of still another network acquiring apparatus according to the embodiment.
- FIG. 7 is a schematic structural diagram of a network acquiring apparatus according to an embodiment of the present disclosure.
- FIG. 8 is a schematic structural diagram of another network acquiring apparatus according to an embodiment of the present disclosure.
- FIG. 9 is a schematic structural diagram of hardware of a terminal according to an embodiment of the present disclosure.
- This embodiment provides a network acquisition method. Referring to FIG. 1, the method includes the following steps.
- step 101 the signal strength of the communication network having an association relationship with the terminal is acquired.
- step 101 can be implemented by a terminal.
- the communication network having an association relationship with the terminal may be a mobile communication network used by the terminal to acquire telephone services and non-voice services (such as data and fax, etc.).
- step 102 a relationship between a signal strength of the communication network and a first predetermined threshold is determined.
- step 102 can be implemented by a terminal.
- the first preset threshold can be obtained by performing a large number of experimental tests as well as practical applications.
- step 103 if the signal strength of the communication network is less than the first preset threshold, a wireless fidelity (Wi-Fi) hotspot signal is searched.
- Wi-Fi wireless fidelity
- step 103 can be implemented by a terminal.
- the terminal may generate a control command to control the terminal to enable the Wi-Fi hotspot search function. Start searching for the Wi-Fi hotspot signal around the terminal. If the Wi-Fi hotspot search function of the terminal is enabled, the terminal directly searches for the Wi-Fi hotspot signal around the terminal.
- RSSI Received Signal Strength Indication
- step 104 according to the Wi-Fi hotspot signal and the preset hotspot database, the target communication network is determined and registered to the target communication network by using a preset rule, wherein the preset hotspot database stores the Wi-Fi hotspot signal and the communication network. Correspondence.
- step 104 can be implemented by a terminal.
- the target communication network refers to a communication network with high signal strength.
- the preset hotspot database may be obtained by the terminal downloading from the server through the data network or the wireless network after being powered on.
- the terminal is at the edge of different communication networks.
- the target communication network is selected through a preset rule and registered to the target communication network, and the related technology is solved.
- the problem that the terminal is in the service performance of the cell network edge is degraded, and the terminal can select and stay in the communication network with stable wireless communication signals for a long time at the edge of the cell network, thereby improving the service performance of the terminal at the edge of the cell network, and improving the terminal and the terminal.
- This embodiment provides a network acquisition method. Referring to FIG. 2, the method includes the following steps.
- step 201 the terminal acquires the signal strength of the communication network having an association relationship with the terminal.
- the terminal may identify a Home Public Land Mobile Network (HPLMN) on the user identity card; the communication network includes a first communication network and a second communication network, first
- the communication network may be a HPLMN corresponding to the user identity card of the terminal, for example, may be a China Mobile communication network, a China Telecom communication network, and a China Unicom communication network, and the second communication network may be a roaming communication network contracted with an operator providing the HPLMN.
- the communication network with the terminal relationship includes the communication network provided by China Telecom and the roaming communication network signed by China Telecom in Hong Kong as an example. For example, when the terminal is near the border between Shenzhen and Hong Kong, it can usually receive China Telecom at the same time.
- the communication network and the Hong Kong roaming communication network the terminal can obtain the signal strength of the two communication networks, and the implementation manner of the terminal acquiring the signal strength of the communication network can refer to the implementation manner in the related art.
- step 202 the terminal determines the relationship between the signal strength of the communication network and the first preset threshold.
- the terminal compares the relationship between the signal strength of the obtained communication network of China Telecom and the first preset threshold, and compares the relationship between the signal strength of the obtained Hong Kong roaming communication network and the first preset threshold.
- the first preset threshold for comparing the signal strength of the communication network of China Telecom and the first preset threshold for comparing the signal strength of the Hong Kong roaming communication network may be the same or different, and may be determined according to actual conditions.
- the terminal may select to perform step 203 to step 208, step 209 or step 210, when the signal strength of the first communication network and the signal strength of the second communication network. If the signal strength of the first communication network is greater than or equal to the first preset threshold, step 209 may be performed when the signal strength of the first communication network is greater than or equal to the first preset threshold. Step 210 may be performed when a threshold is set and the signal strength of the second communication network is greater than or equal to the first predetermined threshold.
- step 203 if the signal strength of the communication network is less than the first preset threshold, the terminal searches for the Wi-Fi hotspot signal.
- the terminal may start searching for the Wi-Fi hotspot signal.
- step 204 the terminal acquires a Wi-Fi hotspot signal to obtain a first list.
- the first list stores the identification information of the Wi-Fi hotspot signal.
- the terminal may search for related information of the obtained Wi-Fi hotspot signal, including a Service Set Identifier (SSID), a Media Access Control (MAC) address, and a signal strength of the Wi-Fi hotspot signal.
- SSID Service Set Identifier
- MAC Media Access Control
- the terminal can sort the obtained Wi-Fi hotspot signals according to the signal strength from strong to weak or weak to strong, and save the SSID, MAC address and signal strength of the corresponding Wi-Fi hotspot signal, etc., to obtain the first
- a list such as the first list, can be named APscanned list.
- the terminal can also perform sorting processing according to other related information of the Wi-Fi hotspot signal and other sorting rules.
- step 205 the terminal selects a Wi-Fi hotspot signal that is the same as the identification information of the Wi-Fi hotspot signal in the preset hotspot database from the first list, to obtain a first Wi-Fi hotspot signal.
- the terminal may use a mobile data network or a wireless communication network to download a preset hotspot database corresponding to the HPLMN of the terminal from the server, where the preset hotspot database acquired by the terminal may be current with the terminal if the terminal determines the current location.
- the preset hotspot database corresponding to the location; the identifier information of the Wi-Fi hotspot signal in the preset hotspot database may be the MAC address of the Wi-Fi hotspot signal.
- the best public land mobile network (PLMN) near the Wi-Fi hotspot can be recorded in the preset hotspot database, which can be the communication network provided by the operator itself, or the roaming network signed with the operator.
- PLMN public land mobile network
- These target PLMNs can be obtained by testing services such as telephone voice service and data traffic service of the communication network in the vicinity of these Wi-Fi hotspots, and the obtained stored content may include the SSID of the Wi-Fi hotspot, the MAC address, and the target PLMN.
- the storage format of the preset hotspot database can be as shown in Table 1.
- the content stored in Table 1 is the preset hotspot database used by China Telecom in Shenzhen, and the serial number 1 is the Wi-Fi hotspot deployed by China Telecom in Shenzhen.
- the nearby target PLMN is China Telecom Communication Network (46011)
- the serial number 2 is the Wi-Fi hotspot in Hong Kong, China
- the nearby target PLMN is the Hong Kong roaming network (45403) signed with China Telecom.
- the serial number 3 is the relative of the restaurant or hotel.
- a fixed hot spot the nearby target PLMN is China Telecom Communication Network (46011) and so on.
- the terminal may obtain a Wi-Fi hotspot signal in the APscanned list that is the same as the MAC address in the preset hotspot database, to obtain the first Wi-Fi hotspot signal.
- step 206 the terminal sorts the first Wi-Fi hotspot signals in order of strongest to weak signal strength to obtain a second list.
- the terminal may sort the first Wi-Fi hotspot signal according to the signal strength from strong to weak, and the second list may be named APfound list, where the APfound list is a subset of the APscanned list.
- the terminal may also sort the first Wi-Fi hotspot signals in order of weakest to strong signal strength.
- step 207 the terminal acquires the first N first Wi-Fi hotspot signals from the second list according to the preset selection rule.
- N is a positive integer and is less than or equal to the total number of first Wi-Fi hotspot signals in the second list.
- the preset selection rule may be that the signal strength of the Wi-Fi hotspot signal in the second list meets a certain threshold, or may be other selection rule methods. If the terminal sorts the first Wi-Fi hotspot signal according to the signal strength from strong to weak, the terminal may select, from the APfound list, the first N first of the signal strengths of the Wi-Fi hotspot signal that meet a certain threshold. Wi-Fi hotspot signal, if the terminal sorts the first Wi-Fi hotspot signal according to the signal strength from weak to strong, the terminal may select the signal strength of the Wi-Fi hotspot signal from the APfound list to satisfy a certain threshold. N first Wi-Fi hotspot signals.
- step 208 the terminal analyzes the first N first Wi-Fi hotspot signals in the second list, obtains the target communication network, and registers with the target communication network.
- the terminal may select the first N Wi-Fi hotspot signals according to the signal strength from strong to weak according to the PLMN pair corresponding to the Wi-Fi hotspot signal, or according to the signal strength from weak to strong.
- the latter N Wi-Fi hotspot signals are classified and analyzed, and the relationship between different PLMNs after classification is compared to determine the target communication network.
- the terminal After determining the target communication network, the terminal can register to the target communication network.
- the ordering of the hotspot signals may also be: sorting according to hotspot bands; or sorting according to whether hotspots are available.
- step 209 if the signal strength of the first communication network is greater than or equal to the first preset threshold, the terminal selects the first communication network as the target communication network and registers with the target communication network.
- the terminal may select the HPLMN as the target communication network and register to the target communication network.
- step 210 if the signal strength of the first communication network is less than the first preset threshold, and the signal strength of the second communication network is greater than or equal to the first preset threshold, the terminal selects the second communication network as the target communication network and registers to Target communication network.
- the terminal may select and provide the HPLMN.
- the roaming communication network signed by the operator is the target communication network and registered to the target communication network.
- the terminal is at the edge of different communication networks.
- the target communication network is selected through a preset rule and registered to the target communication network, and the related technology is solved.
- the problem that the terminal is in the service performance of the cell network edge is degraded, and the terminal can select and stay in the communication network with stable wireless communication signals for a long time at the edge of the cell network, thereby improving the service performance of the terminal at the edge of the cell network, and improving the terminal and the terminal.
- This embodiment provides a network acquisition method. Referring to FIG. 3, the method includes the following steps.
- step 301 the terminal acquires the signal strength of the communication network having an association relationship with the terminal.
- step 302 the terminal determines the relationship between the signal strength of the communication network and the first preset threshold.
- the terminal may select to perform step 303 to step 319, step 320 or step 321 when the signal strength of the first communication network and the second communication network are When the signal strength is less than the first preset threshold, step 303 to step 319 may be performed.
- step 320 may be performed, when the signal strength of the first communication network is less than the first Step 321 may be performed when a predetermined threshold is reached and the signal strength of the second communication network is greater than or equal to the first predetermined threshold.
- step 303 if the signal strength of the communication network is less than the first preset threshold, the terminal searches for the Wi-Fi hotspot signal.
- step 304 the terminal acquires a Wi-Fi hotspot signal to obtain a first list.
- the first list stores the identification information of the Wi-Fi hotspot signal.
- step 305 the terminal selects a Wi-Fi hotspot signal that is the same as the identification information of the Wi-Fi hotspot signal in the preset hotspot database from the first list, to obtain a first Wi-Fi hotspot signal.
- step 306 the terminal sorts the first Wi-Fi hotspot signals in order of strong to weak signal strength to obtain a second list.
- step 307 the terminal acquires the first N first Wi-Fi hotspot signals from the second list according to the preset selection rule.
- N is a positive integer and is less than or equal to the total number of first Wi-Fi hotspot signals in the second list.
- step 308 the terminal acquires and sums the signal strengths of the Wi-Fi hotspot signals corresponding to the first communication network in the first N Wi-Fi hotspot signals in the second list, and obtains the first value.
- step 309 the terminal acquires and sums the signal strengths of the Wi-Fi hotspot signals other than the Wi-Fi hotspot signal corresponding to the first communication network among the N first Wi-Fi hotspot signals to obtain a second value.
- step 310 the terminal determines the magnitude relationship between the first value and the second value.
- step 311 if the first value is greater than or equal to the second value, the terminal selects the first communication network as the target communication network and registers with the first communication network.
- step 312 if the first value is less than the second value, the terminal selects the second communication network as the target communication network and registers with the second communication network.
- the method for obtaining the target communication network may be the method introduced in step 308 to step 312, or the terminal may obtain the corresponding communication network among the first N first Wi-Fi hotspot signals in the second list as the first communication network.
- a set of signal strengths of the Wi-Fi hotspot signal to obtain a first signal strength set;
- the terminal acquires other Wi-Fi hotspots other than the Wi-Fi hotspot signal corresponding to the first communication network among the N first Wi-Fi hotspot signals
- a set of signal strengths of the signals to obtain a second set of signal strengths; comparing a signal strength of the Wi-Fi hotspot signal in the first signal set to a signal strength of a Wi-Fi hotspot signal in the second set of signals; The size relationship between the two, if the signal strength of the Wi-Fi hotspot signal in the first signal set is greater than or equal to the signal strength of the Wi-Fi hotspot signal in the second signal set, the first communication network is selected.
- the method for obtaining the target communication network may also be obtained by combining the methods in steps 308 to 312 with the foregoing methods, and may also be other effective selection methods.
- step 313 when registering to the target communication network, the terminal determines whether the communication service can be obtained through the target communication network within a preset time.
- the preset time may be an empirical value determined by long-term experiment and actual use, for example, may be 30 seconds.
- Step 313 When the terminal determines whether the communication service can be obtained through the target communication network in the preset time, the terminal may select to perform step 314 to step 316 or steps 317 to 319 to pass the target within the preset time.
- the communication network acquisition communication service may choose to perform steps 314 to 316. If the communication service cannot be obtained through the target communication network within a preset time, step 317 to step 319 may be selected.
- step 314 if the terminal can obtain the communication service through the target communication network within the preset time, the second Wi-Fi hotspot signal corresponding to the target communication network in the first list is obtained.
- the terminal selects the Wi-Fi hotspot signal corresponding to the PLMN or the roaming network in the APscanned list to obtain the second Wi-Fi. Hotspot signal.
- step 315 the terminal determines whether the Wi-Fi hotspot signal with the strongest signal strength in the second Wi-Fi hotspot signal is in the second list.
- the terminal selects a Wi-Fi hotspot signal with the strongest model strength of the second Wi-Fi hotspot signal, and determines whether the Wi-Fi hotspot signal is stored in the APfound list.
- step 316 if the Wi-Fi hotspot signal with the strongest signal strength in the second Wi-Fi hotspot signal is not in the second list, the terminal acquires the Wi-Fi hotspot signal with the strongest signal strength in the second Wi-Fi hotspot signal. Identification information is added to the preset hotspot database.
- the Wi-Fi hotspot signal with the strongest model number of the second Wi-Fi hotspot signal is stored in the APfound list, no processing is performed.
- step 317 if the terminal cannot obtain the communication service through the target communication network within the preset time, the number of times the communication service cannot be obtained through the target communication network in the preset preset time is counted.
- step 318 the terminal determines a relationship between the number of times the communication service cannot be acquired through the target communication network and the second preset threshold within a preset time.
- step 319 if the number of times that the communication service cannot be obtained through the target communication network is greater than the second preset threshold in the preset time, the terminal sets the identification information of the Wi-Fi hotspot signal corresponding to the target communication network in the second list from the preset. Deleted in the hotspot database.
- the terminal may identify the number of cells of the Wi-Fi hotspot signal by using the Wi-Fi hotspot signal dividing standard in Table 2.
- dBm is a unit of signal strength, which is millimeters of watts.
- step 320 if the signal strength of the first communication network is greater than or equal to the first preset threshold, the terminal selects the first communication network as the target communication network and registers with the target communication network.
- step 321 if the signal strength of the first communication network is less than the first preset threshold, and the signal strength of the second communication network is greater than or equal to the first preset threshold, the terminal selects the second communication network as the target communication network and registers Target communication network.
- the terminal is at the edge of different communication networks.
- the target communication network is selected through a preset rule and registered to the target communication network, and the related technology is solved.
- the problem that the terminal is in the service performance of the cell network edge is degraded, and the terminal can select and stay in the communication network with stable wireless communication signals for a long time at the edge of the cell network, thereby improving the service performance of the terminal at the edge of the cell network, and improving the terminal and the terminal.
- the present embodiment provides a network acquisition device 4, which can be applied to any network acquisition method provided by the embodiment corresponding to FIG. 1 to FIG. 3.
- the device includes: a first acquisition unit 41, A judging unit 42, a searching unit 43, and a processing unit 44. among them:
- the first obtaining unit 41 is configured to acquire a signal strength of a communication network having an association relationship with the terminal.
- the first determining unit 42 is configured to determine a relationship between a signal strength of the communication network and a first preset threshold.
- the searching unit 43 is configured to search for a Wi-Fi hotspot signal if the signal strength of the communication network is less than the first preset threshold.
- the processing unit 44 is configured to determine, according to the Wi-Fi hotspot signal and the preset hotspot database, a target communication network by using a preset rule, and registering to the target communication network, where the preset hotspot database stores the Wi-Fi hotspot signal and the communication The correspondence of the network.
- the terminal is at the edge of different communication networks.
- the target communication network is selected by the preset rule and registered to the target communication network, and the related technology is solved.
- the problem that the terminal is in the service performance of the cell network edge is degraded, and the terminal can select and stay in the communication network with stable wireless communication signals for a long time at the edge of the cell network, thereby improving the service performance of the terminal at the edge of the cell network, and improving the terminal and the terminal.
- the processing unit 44 includes: a first obtaining module 441, a first processing module 442, a second obtaining module 443, and a second processing module 444. among them:
- the first obtaining module 441 is configured to obtain a Wi-Fi hotspot signal to obtain a first list.
- the first list stores the identification information of the Wi-Fi hotspot signal.
- the first processing module 442 is configured to select, from the first list, the Wi-Fi hotspot signal that is the same as the identifier information of the Wi-Fi hotspot signal in the preset hotspot database, to obtain the first Wi-Fi hotspot signal.
- the first processing module 442 is further configured to sort the first Wi-Fi hotspot signals in order of strong to weak signal strength to obtain a second list.
- the second obtaining module 443 is configured to obtain the first N first Wi-Fi hotspot signals before the sorting according to the preset selection rule.
- N is a positive integer and is less than or equal to the total number of first Wi-Fi hotspot signals in the second list.
- the second processing module 444 is configured to analyze the first N first Wi-Fi hotspot signals in the second list, obtain the target communication network, and register to the target communication network.
- the second processing module 444 is configured to perform the following steps.
- the signal strengths of the Wi-Fi hotspot signals corresponding to the first communication network in the first N Wi-Fi hotspot signals in the first list are summed to obtain a first value.
- the first communication network is selected as the target communication network and registered to the first communication network.
- the second communication network is selected as the target communication network and registered to the second communication network.
- the apparatus further includes: a second judging unit 45, a second obtaining unit 46, a third judging unit 47, and a third obtaining unit 48. among them:
- the second determining unit 45 is configured to determine whether the communication service can be obtained through the target communication network within a preset time when registering to the target communication network.
- the second obtaining unit 46 is configured to obtain a second Wi-Fi hotspot signal corresponding to the target communication network in the first list if the communication service can be obtained through the target communication network within a preset time.
- the third determining unit 47 is configured to determine whether the Wi-Fi hotspot signal with the strongest signal strength in the second Wi-Fi hotspot signal is in the second list.
- the third obtaining unit 48 is configured to obtain the Wi-Fi hotspot signal with the strongest signal strength in the second Wi-Fi hotspot signal, and obtain the Wi-Fi hotspot signal with the strongest signal strength in the second Wi-Fi hotspot signal.
- the identification information of the Fi hotspot signal is added to the preset hotspot database.
- the apparatus further includes: a statistical unit 49, a fourth determining unit 410, and a deleting unit 411. among them:
- the statistic unit 49 is configured to, when registering to the target communication network, if the communication service cannot be obtained through the target communication network within a preset time, the number of times the communication service cannot be obtained through the target communication network within a preset preset time.
- the fourth determining unit 410 is configured to determine a relationship between the number of times the communication service cannot be obtained through the target communication network and the second preset threshold in the preset time.
- the deleting unit 411 is configured to: if the number of times that the communication service cannot be obtained through the target communication network in the preset time is greater than the second preset threshold, the identification information of the Wi-Fi hotspot signal corresponding to the target communication network in the second list is preset. Deleted in the hotspot database.
- the apparatus further includes: a selecting unit 412. among them:
- the selecting unit 412 is configured to select the first communication network as the target communication network and register to the target communication network if the signal strength of the first communication network is greater than or equal to the first preset threshold.
- the selecting unit 412 is further configured to: if the signal strength of the first communication network is less than the first preset threshold, and the signal strength of the second communication network is greater than or equal to the first preset threshold, select the second communication network as the target communication network and register Go to the target communication network.
- the terminal is at the edge of different communication networks.
- the target communication network is selected by the preset rule and registered to the target communication network, so that the terminal is in the cell network.
- the edge can be selected and stayed on the communication network with stable wireless communication signals for a long time, which improves the service performance of the terminal at the edge of the cell network and improves the interaction capability between the terminal and the user.
- the embodiment further provides a computer readable storage medium storing computer executable instructions for executing the network acquisition method.
- the terminal includes: a processor 910 and a memory 920; and may also include a communication interface (Communications). Interface 930 and bus 940.
- the processor 910, the memory 920, and the communication interface 930 can complete communication with each other through the bus 940.
- Communication interface 930 can be used for information transfer.
- the processor 910 can invoke logic instructions in the memory 920 to perform any of the network acquisition methods of the above embodiments.
- the memory 920 can include a storage program area and a storage data area, and the storage program area can store an operating system and an application required for at least one function.
- the storage data area can store data and the like created according to the use of the electronic device.
- the memory may include, for example, a volatile memory of a random access memory, and may also include a non-volatile memory. For example, at least one disk storage device, flash memory device, or other non-transitory solid state storage device.
- the logic instructions in the memory 920 described above can be implemented in the form of software functional units and sold or used as separate products, the logic instructions can be stored in a computer readable storage medium.
- the technical solution of the present disclosure may be embodied in the form of a computer software product, which may be stored in a storage medium, and includes a plurality of instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) All or part of the steps of the method described in this embodiment are performed.
- the storage medium may be a non-transitory storage medium or a transitory storage medium.
- the non-transitory storage medium may include: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like, which can store program codes. medium.
- All or part of the process of implementing the foregoing embodiment may be performed by a computer program to indicate related hardware, and the program may be stored in a non-transitory computer readable storage medium, and when the program is executed, may include The flow of an embodiment of the above method.
- the unit 49, the fourth determining unit 410, the deleting unit 411, the selecting unit 412, the first obtaining module 441, the first processing module 442, the second obtaining module 443, and the second processing module 444 can all be processed by the central processing located in the wireless data transmitting device.
- CPU Central Processing Unit
- MPU Micro Processor Unit
- DSP Digital Signal Processor
- FPGA Field Programmable Gate Array
- This embodiment can be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware aspects. Moreover, the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (including disk storage and optical storage, etc.) including computer usable program code.
- the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
- the apparatus implements the functions specified in one or more blocks of a flow or a flow diagram and a block diagram of a flowchart.
- the terminal is at the edge of different communication networks.
- the target communication network is selected by a preset rule and registered to the target communication network, and the related technology is solved.
- the terminal is in the problem of the service performance degradation at the edge of the cell network.
- the terminal can select and stay on the communication network with stable wireless communication signals for a long time, which improves the service performance of the terminal at the edge of the cell network, and improves the terminal and the user. The ability to interact.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
一种网络获取方法和装置,其中,所述方法包括:获取与终端具有关联关系的通信网络的信号强度;判断所述通信网络的信号强度与第一预设阈值的关系;若所述通信网络的信号强度小于所述第一预设阈值,搜索Wi-Fi热点信号;根据所述Wi-Fi热点信号与预设热点数据库之间的关系,采用预设规则确定目标通信网络并注册到所述目标通信网络。
Description
本公开涉及通信领域的网络获取技术,例如涉及一种网络获取方法和装置。
在第三代合作伙伴计划(The 3rd Generation Partnership Project,3GPP)标准的搜网算法中,理想情况下电信网络基站把无线通信信号发射到规定好的小区范围内,不能辐射到其他小区,以防对其他小区的无线通信信号造成干扰。在实际应用中,无线通信信号是以距离的平方衰减的,为了保证小区网络边缘有足够的无线通信信号,通常基站会增强无线通信信号的发射功率以保证小区网络边缘电信通信业务的正常使用,但是,这样必然会造成一部分无线通信信号跨越小区边界辐射到其他小区,对其他小区的无线通信信号造成干扰。
在相关方案中,终端处于小区网络边缘,尤其是在边境具有漫游信号时,终端只能驻留到无线通信信号最强的网络上,不能长期驻留在无线通信信号稳定的通信网络上,导致终端的业务性能下降,影响了用户的体验效果。
发明内容
本公开提供一种网络获取方法和装置,解决了相关技术中当终端处于小区网络边缘业务性能下降的问题,实现了终端在小区网络边缘时可以选择并长期驻留在无线通信信号稳定的通信网络上,提高了终端在小区网络边缘的业务性能,提高了终端与用户之间的互能力。
一种网络获取方法,包括:
获取与终端具有关联关系的通信网络的信号强度;
判断所述通信网络的信号强度与第一预设阈值的关系;
若所述通信网络的信号强度小于所述第一预设阈值,搜索无线保真Wi-Fi热点信号;
根据所述Wi-Fi热点信号与预设热点数据库,采用预设规则确定目标通信网络并注册到所述目标通信网络,其中,所述预设热点数据库存储了Wi-Fi热点信号与通信网络的对应关系。
可选的,所述根据所述Wi-Fi热点信号与预设热点数据库之间的关系,采用预设规则确定目标通信网络并注册到所述目标通信网络,包括:
获取所述Wi-Fi热点信号,得到第一列表;其中,所述第一列表中存储有所述Wi-Fi热点信号的标识信息;
从所述第一列表中选取与所述预设热点数据库中Wi-Fi热点信号的标识信息相同的Wi-Fi热点信号,得到多个第一Wi-Fi热点信号;
按照信号强度从强到弱的顺序将多个所述第一Wi-Fi热点信号排序,得到第二列表;
根据所述预设选取规则,从所述第二列表中获取排序前N个所述第一Wi-Fi热点信号;其中,所述N为正整数且小于或者等于所述第二列表中所述第一Wi-Fi热点信号的总个数;
对所述第二列表中排序前N个所述第一Wi-Fi热点信号进行分析,得到所述目标通信网络并注册到所述目标通信网络。
可选的,所述通信网络包括第一通信网络和第二通信网络,所述对所述第二列表中排序前N个所述第一Wi-Fi热点信号进行分析,得到所述目标通信网 络并注册到所述目标通信网络,包括:
获取所述第二列表中排序前N个所述第一Wi-Fi热点信号中对应的通信网络为所述第一通信网络的Wi-Fi热点信号的信号强度并求和,得到第一数值;
获取N个所述第一Wi-Fi热点信号中除所述第一通信网络对应的Wi-Fi热点信号之外的其它Wi-Fi热点信号的信号强度并求和,得到第二数值;
判断所述第一数值与所述第二数值的大小关系;
若所述第一数值大于或者等于所述第二数值,选取所述第一通信网络为所述目标通信网络并注册到所述第一通信网络;
若所述第一数值小于所述第二数值,选取所述第二通信网络为所述目标通信网络并注册到所述第二通信网络。
可选的,所述方法还包括:
当注册到所述目标通信网络时,判断预设时间内能否通过所述目标通信网络获取通信服务;
若所述预设时间内能够通过所述目标通信网络获取所述通信服务,获取所述第一列表中与所述目标通信网络对应的第二Wi-Fi热点信号;
判断所述第二Wi-Fi热点信号中信号强度最强的Wi-Fi热点信号是否在所述第二列表中;
若所述第二Wi-Fi热点信号中信号强度最强的Wi-Fi热点信号不在所述第二列表中,获取所述第二Wi-Fi热点信号中信号强度最强的Wi-Fi热点信号的标识信息并添加到所述预设热点数据库中。
可选的,所述方法还包括:
当注册到所述目标通信网络时,若所述预设时间内不能通过所述目标通信网络获取所述通信服务,统计所述预设时间内不能通过所述目标通信网络获取 所述通信服务的次数;
判断所述预设时间内不能通过所述目标通信网络获取所述通信服务的次数与所述第二预设阈值之间的关系;
若所述预设时间内不能通过所述目标通信网络获取所述通信服务的次数大于所述第二预设阈值,将所述第二列表中的所述目标通信网络对应的Wi-Fi热点信号的标识信息从所述预设热点数据库中删除。
可选的,所述方法还包括:
若所述第一通信网络的信号强度大于或者等于所述第一预设阈值,选取所述第一通信网络为所述目标通信网络并注册到所述目标通信网络;
若所述第一通信网络的信号强度小于所述第一预设阈值,且所述第二通信网络的信号强度大于或者等于所述第一预设阈值,选取所述第二通信网络为所述目标通信网络并注册到所述目标通信网络。
一种网络获取装置,所述装置包括:获取单元、判断单元、搜索单元和处理单元;其中:
所述第一获取单元,设置为获取与终端具有关联关系的通信网络的信号强度;
所述第一判断单元,设置为判断所述通信网络的信号强度与第一预设阈值的关系;
所述搜索单元,设置为若所述通信网络的信号强度小于所述第一预设阈值,搜索无线保真Wi-Fi热点信号;
所述处理单元,设置为根据所述Wi-Fi热点信号与预设热点数据库,采用预设规则确定目标通信网络并注册到所述目标通信网络,其中,所述预设热点数据库存储了Wi-Fi热点信号与通信网络的对应关系。
可选的,所述处理单元包括:第一获取模块、第一处理模块、第二获取模块和第二处理模块;其中:
所述第一获取模块,设置为获取所述Wi-Fi热点信号,得到第一列表;其中,所述第一列表中存储有所述Wi-Fi热点信号的标识信息;
所述第一处理模块,设置为从所述第一列表中选取与所述预设热点数据库中Wi-Fi热点信号的标识信息相同的Wi-Fi热点信号,得到多个第一Wi-Fi热点信号;
所述第一处理模块,还设置为按照信号强度从强到弱的顺序将多个所述第一Wi-Fi热点信号排序,得到第二列表;
所述第二获取模块,设置为根据预设选取规则,从所述第二列表中获取排序前N个所述第一Wi-Fi热点信号;其中,所述N为正整数且小于或者等于所述第二列表中所述第一Wi-Fi热点信号的总个数;
所述第二处理模块,设置为对所述第二列表中排序前N个所述第一Wi-Fi热点信号进行分析,得到所述目标通信网络并注册到所述目标通信网络。
可选的,所述通信网络包括第一通信网络和第二通信网络,所述第二处理模块是设置为:
获取所述第二列表中排序前N个所述第一Wi-Fi热点信号中对应的通信网络为所述第一通信网络的Wi-Fi热点信号的信号强度并求和,得到第一数值;
获取N个所述第一Wi-Fi热点信号中除所述第一通信网络对应的Wi-Fi热点信号之外的其它Wi-Fi热点信号的信号强度并求和,得到第二数值;
判断所述第一数值与所述第二数值的大小关系;
若所述第一数值大于或者等于所述第二数值,选取所述第一通信网络为所述目标通信网络并注册到所述第一通信网络;
若所述第一数值小于所述第二数值,选取所述第二通信网络为所述目标通信网络并注册到所述第二通信网络。
可选的,所述装置还包括:第二判断单元、第二获取单元、第三判断单元和第三获取单元;其中:
所述第二判断单元,设置为当注册到所述目标通信网络时,判断预设时间内能否通过所述目标通信网络获取通信服务;
所述第二获取单元,设置为若所述预设时间内能够通过所述目标通信网络获取所述通信服务,获取所述第一列表中与所述目标通信网络对应的第二Wi-Fi热点信号;
所述第三判断单元,设置为判断所述第二Wi-Fi热点信号中信号强度最强的Wi-Fi热点信号是否在所述第二列表中;
所述第三获取单元,设置为若所述第二Wi-Fi热点信号中信号强度最强的Wi-Fi热点信号不在所述第二列表中,则获取所述第二Wi-Fi热点信号中信号强度最强的Wi-Fi热点信号的标识信息并添加到所述预设热点数据库中。
可选的,所述装置还包括:统计单元、第四判断单元和删除单元;其中:
所述统计单元,设置为当注册到所述目标通信网络时,若所述预设时间内不能通过所述目标通信网络获取所述通信服务,统计所述预设时间内不能通过所述目标通信网络获取所述通信服务的次数;
所述第四判断单元,设置为判断所述预设时间内不能通过所述目标通信网络获取所述通信服务的次数与所述第二预设阈值之间的关系;
所述删除单元,设置为若所述预设时间内不能通过所述目标通信网络获取所述通信服务的次数大于所述第二预设阈值,将所述第二列表中的所述目标通信网络对应的Wi-Fi热点信号的标识信息从所述预设热点数据库中删除。
可选的,所述装置还包括:选取单元;其中:
所述选取单元,设置为若所述第一通信网络的信号强度大于或者等于所述第一预设阈值,选取所述第一通信网络为所述目标通信网络并注册到所述目标通信网络;
所述选取单元,还设置为若所述第一通信网络的信号强度小于所述第一预设阈值,且所述第二通信网络的信号强度大于或者等于所述第一预设阈值,选取所述第二通信网络为所述目标通信网络并注册到所述目标通信网络。
一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述网络获取方法。
一种终端,该终端包括一个或多个处理器、存储器以及一个或多个程序,所述一个或多个程序存储在存储器中,当被一个或多个处理器执行时,执行上述网络获取方法。
一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述任意一种网络获取方法。
本公开提供的网络获取方法和装置中,终端在不同的通信网络边缘,当通信网络的信号强度比较弱时,通过预设规则选取目标通信网络并注册到目标通信网络,解决了相关技术中当终端处于小区网络边缘业务性能下降的问题,实现终端在小区网络边缘时可以选择并长期驻留在无线通信信号稳定的通信网络上,提高了终端在小区网络边缘的业务性能,提高了终端与用户之间的交互能力。
图1为本实施例提供的一种网络获取方法的流程示意图;
图2为本实施例提供的另一种网络获取方法的流程示意图;
图3为本实施例提供的又一种网络获取方法的流程示意图;
图4为本实施例提供的一种网络获取装置的结构示意图;
图5为本实施例提供的另一种网络获取装置的结构示意图;
图6为本实施例提供的又一种网络获取装置的结构示意图;
图7为本实施例提供的一种网络获取装置的结构示意图;
图8为本实施例提供的另一种网络获取装置的结构示意图;
图9为本实施例提供的一种终端的硬件结构示意图。
下面将结合本实施例中的附图,对本实施例中的技术方案进行描述。
本实施例提供一种网络获取方法,参照图1所示,该方法包括以下步骤。
在步骤101中,获取与终端具有关联关系的通信网络的信号强度。
可选地,步骤101可以由终端来实现。其中,与终端具有关联关系的通信网络可以是终端用于获取电话业务和非话业务(例如数据和传真等)的移动通信网络。
在步骤102中,判断通信网络的信号强度与第一预设阈值的关系。
可选地,步骤102可以由终端来实现。第一预设阈值可以通过进行大量的实验测试以及实际应用情况来获得。
在步骤103中,若通信网络的信号强度小于第一预设阈值,搜索无线保真技术(wireless fidelity,Wi-Fi)热点信号。
可选地,步骤103可以由终端来实现。当通信网络的信号强度(Received Signal Strength Indication,RSSI)小于第一预设阈值时,若终端的Wi-Fi热点搜 索功能关闭,则终端可以生成一个控制指令,控制终端开启Wi-Fi热点搜索功能开始搜索终端周边的Wi-Fi热点信号,若终端的Wi-Fi热点搜索功能已开启,则终端直接搜索终端周边的Wi-Fi热点信号。
在步骤104中,根据Wi-Fi热点信号与预设热点数据库,采用预设规则确定目标通信网络并注册到目标通信网络,其中,所述预设热点数据库存储了Wi-Fi热点信号与通信网络的对应关系。
可选地,步骤104可以由终端来实现。其中,目标通信网络是指信号强度较高的通信网络。预设热点数据库可以是终端在开机通电后通过数据网络或者无线网络从服务器上下载获得的。
本实施例所提供的网络获取方法中,终端在不同的通信网络边缘,当通信网络的信号强度比较弱时,通过预设规则选取目标通信网络并注册到目标通信网络,解决了相关技术中当终端处于小区网络边缘业务性能下降的问题,实现了终端在小区网络边缘时可以选择并长期驻留在无线通信信号稳定的通信网络上,提高了终端在小区网络边缘的业务性能,提高了终端与用户之间的交互能力。
本实施例提供一种网络获取方法,参照图2所示,该方法包括以下步骤。
在步骤201中,终端获取与终端具有关联关系的通信网络的信号强度。
可选地,终端每次开机上电后,可以识别用户身份识别卡上的归属公共陆地移动网络(Home Public Land Mobile Network,HPLMN);通信网络包括第一通信网络和第二通信网络,第一通信网络可以是终端的用户身份识别卡对应的HPLMN,例如可以是中国移动通信网络、中国电信通信网络和中国联通通信网络,第二通信网络可以是与提供HPLMN的运营商签约的漫游通信网络。其中,以与终端具有关联关系的通信网络包括中国电信提供的通信网络和中国电信在 香港签约的漫游通信网络为例进行说明,例如终端在深圳与香港边境附近时,通常能够同时接收到中国电信的通信网络和香港漫游通信网络,终端可以获取这两个通信网络的信号强度,终端获取通信网络的信号强度的实现方式可以参照相关技术中的实现方式。
在步骤202中,终端判断通信网络的信号强度与第一预设阈值的关系。
可选地,终端比较获取的中国电信的通信网络的信号强度与第一预设阈值之间的大小关系,还比较获得的香港漫游通信网络的信号强度与第一预设阈值之间的大小关系。其中,与中国电信的通信网络的信号强度进行比较的第一预设阈值和香港漫游通信网络的信号强度比较的第一预设阈值可以相同,也可以不同,可以根据实际情况来确定。
步骤202终端判断通信网络的信号强度与第一预设阈值的关系之后,可以选择执行步骤203~步骤208、步骤209或者步骤210,当第一通信网络的信号强度和第二通信网络的信号强度都小于第一预设阈值时可以执行步骤203~步骤208,当第一通信网络的信号强度大于或者等于第一预设阈值时可以执行步骤209,当第一通信网络的信号强度小于第一预设阈值且第二通信网络的信号强度大于或者等于第一预设阈值时可以执行步骤210。
在步骤203中,若通信网络的信号强度小于第一预设阈值,终端搜索Wi-Fi热点信号。
可选地,若中国电信的通信网络的信号强度小于第一预设阈值且香港漫游通信网络的信号强度小于第一预设阈值,终端可以开始搜索Wi-Fi热点信号。
在步骤204中,终端获取Wi-Fi热点信号,得到第一列表。
其中,第一列表中存储了Wi-Fi热点信号的标识信息。
可选地,终端可以搜索获得的Wi-Fi热点信号的相关信息,包括Wi-Fi热点 信号的服务集标识(Service Set Identifier,SSID)、媒体访问控制(Media Access Control,MAC)地址、信号强度等,终端可以按照信号强度从强到弱或者从弱到强的关系对获得的Wi-Fi热点信号进行排序并保存对应的Wi-Fi热点信号的SSID、MAC地址和信号强度等,得到第一列表,例如第一列表可以命名为APscanned列表。终端还可以根据Wi-Fi热点信号的其他相关信息和其他排序规则进行排序处理。
在步骤205中,终端从第一列表中选取与预设热点数据库中Wi-Fi热点信号的标识信息相同的Wi-Fi热点信号,得到第一Wi-Fi热点信号。
可选地,终端可以利用移动数据网络或者无线通信网络从服务器上下载与终端的HPLMN对应的预设热点数据库,其中,若终端确定当前位置,终端获取的预设热点数据库还可以是与终端当前位置对应的预设热点数据库;预设热点数据库中Wi-Fi热点信号的标识信息可以是Wi-Fi热点信号的MAC地址。在预设热点数据库中可以记录Wi-Fi热点附近最佳的公共陆地移动网络(Public Land Mobile Network,PLMN),可以是运营商自己提供的通信网络,也可以是与运营商签约的漫游网络等,可以通过在这些Wi-Fi热点附近对通信网络的电话语音业务、数据流量业务等业务进行测试获得这些目标PLMN,获得存储的内容可以包括Wi-Fi热点的SSID、MAC地址和目标PLMN等。例如预设热点数据库的存储格式可以如表1所示,其中,表1中存储的内容是中国电信在深圳使用的预设热点数据库,序号1是中国电信在深圳部署的Wi-Fi热点,其附近目标PLMN是中国电信通信网络(46011),序号2是中国香港的Wi-Fi热点,其附近目标PLMN是与中国电信签约的香港漫游网络(45403),序号3是餐厅或酒店等提供的相对固定的热点,其附近目标PLMN是中国电信通信网络(46011)等。其中,在这些热点附近可以有多个目标PLMN,终端可以根据自身的HPLMN 获取对应的预设热点数据库。
表1 预设热点数据库
序号 | SSID | MAC地址 | 目标PLMN | 运营商热点 |
1 | ChinaNet | 4439C4389B22 | 46011 | 是 |
2 | HongKong001 | 4439C4389B24 | 45403 | 否 |
3 | TP-LINK-CD02 | BC469914D8F0 | 46011 | 否 |
4 | …… | …… | …… | …… |
示例性的,终端可以获取APscanned列表中与预设热点数据库中MAC地址相同的Wi-Fi热点信号,得到第一Wi-Fi热点信号。
在步骤206中,终端按照信号强度从强到弱的顺序将第一Wi-Fi热点信号排序,得到第二列表。
可选地,终端可以按照信号强度从强到弱的顺序对第一Wi-Fi热点信号进行排序,得到第二列表可以命名为APfound列表,其中,APfound列表是APscanned列表的一个子集。终端也可以按照信号强度从弱到强的顺序对第一Wi-Fi热点信号进行排序。
在步骤207中,终端根据预设选取规则,从第二列表中获取排序前N个第一Wi-Fi热点信号。
其中,N为正整数且小于或者等于第二列表中第一Wi-Fi热点信号的总个数。
可选地,预设选取规则可以是第二列表中Wi-Fi热点信号的信号强度满足一定的阈值,也可以是其他的一些选取规则方法。其中,若终端按照信号强度从强到弱的顺序对第一Wi-Fi热点信号进行排序时,终端可以从APfound列表中选取Wi-Fi热点信号的信号强度满足一定的阈值的前N个第一Wi-Fi热点信号, 若终端按照信号强度从弱到强的顺序对第一Wi-Fi热点信号进行排序时,终端可以从APfound列表中选取Wi-Fi热点信号的信号强度满足一定的阈值的后N个第一Wi-Fi热点信号。
在步骤208中,终端对第二列表中排序前N个第一Wi-Fi热点信号进行分析,得到目标通信网络并注册到目标通信网络。
可选地,终端可以根据Wi-Fi热点信号对应的PLMN对选取获得的APfound列表中根据信号强度从强到弱排序时的前N个Wi-Fi热点信号或者根据信号强度从弱到强排序时的后N个Wi-Fi热点信号进行分类分析,比较分类后不同PLMN之间的关系,来确定目标通信网络,当确定目标通信网络后,终端可以注册到目标通信网络中。
可选地,热点信号的排序还可以是以下方式:根据热点频段排序;或者根据热点是否可用排序。
在步骤209中,若第一通信网络的信号强度大于或者等于第一预设阈值,终端选取第一通信网络为目标通信网络并注册到目标通信网络。
可选地,若终端获取的HPLMN的信号强度大于或者等于第一预设阈值,终端可以选取HPLMN为目标通信网络并注册到目标通信网络。
在步骤210中,若第一通信网络的信号强度小于第一预设阈值,且第二通信网络的信号强度大于或者等于第一预设阈值,终端选取第二通信网络为目标通信网络并注册到目标通信网络。
可选地,若终端获取的HPLMN的信号强度小于第一预设阈值,且与提供HPLMN的运营商签约的漫游通信网络的信号强度大于或者等于第一预设阈值,终端可以选取与提供HPLMN的运营商签约的漫游通信网络为目标通信网络并注册到目标通信网络。
本实施例中与其它实施例中相同步骤或者概念的解释,可以参照其它实施例中的描述。
本实施例所提供的网络获取方法中,终端在不同的通信网络边缘,当通信网络的信号强度比较弱时,通过预设规则选取目标通信网络并注册到目标通信网络,解决了相关技术中当终端处于小区网络边缘业务性能下降的问题,实现了终端在小区网络边缘时可以选择并长期驻留在无线通信信号稳定的通信网络上,提高了终端在小区网络边缘的业务性能,提高了终端与用户之间的交互能力。
本实施例提供一种网络获取方法,参照图3所示,该方法包括以下步骤。
在步骤301中,终端获取与终端具有关联关系的通信网络的信号强度。
在步骤302中,终端判断通信网络的信号强度与第一预设阈值的关系。
其中,步骤302终端判断通信网络的信号强度与第一预设阈值的关系之后,可以选择执行步骤303~步骤319、步骤320或者步骤321,当第一通信网络的信号强度和第二通信网络的信号强度都小于第一预设阈值时可以执行步骤303~步骤319,当第一通信网络的信号强度大于或者等于第一预设阈值时可以执行步骤320,当第一通信网络的信号强度小于第一预设阈值且第二通信网络的信号强度大于或者等于第一预设阈值时可以执行步骤321。
在步骤303中,若通信网络的信号强度小于第一预设阈值,终端搜索Wi-Fi热点信号。
在步骤304中,终端获取Wi-Fi热点信号,得到第一列表。
其中,第一列表中存储了Wi-Fi热点信号的标识信息。
在步骤305中,终端从第一列表中选取与预设热点数据库中Wi-Fi热点信号的标识信息相同的Wi-Fi热点信号,得到第一Wi-Fi热点信号。
在步骤306中,终端按照信号强度从强到弱的顺序将第一Wi-Fi热点信号排序,得到第二列表。
在步骤307中,终端根据预设选取规则,从第二列表中获取排序前N个第一Wi-Fi热点信号。
其中,N为正整数且小于或者等于第二列表中第一Wi-Fi热点信号的总个数。
在步骤308中,终端获取第二列表中排序前N个第一Wi-Fi热点信号中对应的通信网络为第一通信网络的Wi-Fi热点信号的信号强度并求和,得到第一数值。
在步骤309中,终端获取N个第一Wi-Fi热点信号中除第一通信网络对应的Wi-Fi热点信号之外的其它Wi-Fi热点信号的信号强度并求和,得到第二数值。
在步骤310中,终端判断第一数值与第二数值的大小关系。
在步骤311中,若第一数值大于或者等于第二数值,终端选取第一通信网络为目标通信网络并注册到第一通信网络。
在步骤312中,若第一数值小于第二数值,终端选取第二通信网络为目标通信网络并注册到第二通信网络。
其中,获取目标通信网络的方法可以为步骤308到步骤312中介绍的方法,也可以是终端获取第二列表中排序前N个第一Wi-Fi热点信号中对应的通信网络为第一通信网络的Wi-Fi热点信号的信号强度集合,得到第一信号强度集合;终端获取N个第一Wi-Fi热点信号中除第一通信网络对应的Wi-Fi热点信号之外的其它Wi-Fi热点信号的信号强度集合,得到第二信号强度集合;比较第一信号集合中Wi-Fi热点信号的信号强度最大的信号强度与第二信号集合中Wi-Fi热点信号的信号强度最大的信号强度之间的大小关系,若第一信号集合中Wi-Fi 热点信号的信号强度最大的信号强度大于或者等于第二信号集合中Wi-Fi热点信号的信号强度最大的信号强度,则选择第一通信网络为目标通信网络;若第一信号集合中Wi-Fi热点信号的信号强度最大的信号强度小于第二信号集合中Wi-Fi热点信号的信号强度最大的信号强度,则选择第二通信网络为目标通信网络。其中,获取目标通信网络的方法还可以通过步骤308到步骤312的方法与上述方法结合获得,还可以是其他有效的选取方法。
在步骤313中,当注册到目标通信网络时,终端判断预设时间内能否通过目标通信网络获取通信服务。
可选地,预设时间可以是通过长期实验以及实际使用情况确定的经验值,例如可以是30秒。
步骤313当注册到目标通信网络时,终端判断预设时间内能否通过目标通信网络获取通信服务之后,可以选择执行步骤314~步骤316或者步骤317~步骤319,若预设时间内能够通过目标通信网络获取通信服务可以选择执行步骤314~步骤316,若预设时间内不能通过目标通信网络获取通信服务可以选择执行步骤317~步骤319;
在步骤314中,若预设时间内终端能够通过目标通信网络获取通信服务,获取第一列表中与目标通信网络对应的第二Wi-Fi热点信号。
可选地,若30秒内终端可以通过确定的PLMN或者漫游网络获取电话业务或者数据流量业务时,终端选取APscanned列表中与PLMN或者漫游网络对应的Wi-Fi热点信号,得到第二Wi-Fi热点信号。
在步骤315中,终端判断第二Wi-Fi热点信号中信号强度最强的Wi-Fi热点信号是否在第二列表中。
可选地,终端选取第二Wi-Fi热点信号种型号强度最强的Wi-Fi热点信号, 判断该Wi-Fi热点信号是否已存储在APfound列表中。
在步骤316中,若第二Wi-Fi热点信号中信号强度最强的Wi-Fi热点信号不在第二列表中,终端获取第二Wi-Fi热点信号中信号强度最强的Wi-Fi热点信号的标识信息并添加到预设热点数据库中。
可选地,若第二Wi-Fi热点信号种型号强度最强的Wi-Fi热点信号已存储在APfound列表中,不做任何处理。
在步骤317中,若预设时间内终端不能通过目标通信网络获取通信服务,统计预设时间内不能通过目标通信网络获取通信服务的次数。
在步骤318中,终端判断预设时间内不能通过目标通信网络获取通信服务的次数与第二预设阈值之间的关系。
在步骤319中,若预设时间内不能通过目标通信网络获取通信服务的次数大于第二预设阈值,终端将第二列表中的目标通信网络对应的Wi-Fi热点信号的标识信息从预设热点数据库中删除。
可选地,终端可以通过表2中的Wi-Fi热点信号划分标准来标识Wi-Fi热点信号的格数,在表2中,dBm是信号强度大小的单位,为毫分贝瓦。当30秒内终端不能通过目标通信网络PLMN或者漫游网络获取通信服务的次数大于第二预设阈值时,终端可以删除APfound列表中目标通信网络PLMN或者漫游网络对应的信号格数超过4格的Wi-Fi热点信号从预设热点数据库中删除。
表2 Wi-Fi热点信号划分标准
WiFi信号强度RSSI | 信号格数 |
RSSI≥-65dBm | 4 |
-75dBm≤RSSI<-65dBm | 3 |
-85dBm≤RSSI<-75dBm | 2 |
-90dBm≤RSSI<-85dBm | 1 |
RSSI<-90dBm | 0 |
在步骤320中,若第一通信网络的信号强度大于或者等于第一预设阈值,终端选取第一通信网络为目标通信网络并注册到目标通信网络。
在步骤321中,若第一通信网络的信号强度小于第一预设阈值,且第二通信网络的信号强度大于或者等于第一预设阈值,终端选取第二通信网络为目标通信网络并注册到目标通信网络。
本实施例中与其它实施例中相同步骤或者概念的解释,可以参照其它实施例中的描述。
本实施例所提供的网络获取方法中,终端在不同的通信网络边缘,当通信网络的信号强度比较弱时,通过预设规则选取目标通信网络并注册到目标通信网络,解决了相关技术中当终端处于小区网络边缘业务性能下降的问题,实现了终端在小区网络边缘时可以选择并长期驻留在无线通信信号稳定的通信网络上,提高了终端在小区网络边缘的业务性能,提高了终端与用户之间的交互能力;还能降低用户的漫游资费。
本实施例提供了一种网络获取装置4,可应用于图1~3对应的实施例提供的任一种网络获取方法中,参照图4所示,该装置包括:第一获取单元41、第一判断单元42、搜索单元43和处理单元44。其中:
第一获取单元41,设置为获取与终端具有关联关系的通信网络的信号强度。
第一判断单元42,设置为判断通信网络的信号强度与第一预设阈值的关系。
搜索单元43,设置为若通信网络的信号强度小于第一预设阈值,搜索Wi-Fi热点信号。
处理单元44,设置为根据Wi-Fi热点信号与预设热点数据库,采用预设规则确定目标通信网络并注册到目标通信网络,其中,所述预设热点数据库存储了Wi-Fi热点信号与通信网络的对应关系。
本实施例所提供的网络获取装置中,终端在不同的通信网络边缘,当通信网络的信号强度比较弱时,通过预设规则选取目标通信网络并注册到目标通信网络,解决了相关技术中当终端处于小区网络边缘业务性能下降的问题,实现了终端在小区网络边缘时可以选择并长期驻留在无线通信信号稳定的通信网络上,提高了终端在小区网络边缘的业务性能,提高了终端与用户之间的交互能力。
可选地,参照图5所示,处理单元44包括:第一获取模块441、第一处理模块442、第二获取模块443和第二处理模块444。其中:
第一获取模块441,设置为获取Wi-Fi热点信号,得到第一列表。
其中,第一列表中存储了Wi-Fi热点信号的标识信息。
第一处理模块442,设置为从第一列表中选取与预设热点数据库中Wi-Fi热点信号的标识信息相同的Wi-Fi热点信号,得到第一Wi-Fi热点信号。
第一处理模块442,还设置为按照信号强度从强到弱的顺序将第一Wi-Fi热点信号排序,得到第二列表。
第二获取模块443,设置为根据预设选取规则,从第二列表中获取排序前N个第一Wi-Fi热点信号。
其中,N为正整数且小于或者等于第二列表中第一Wi-Fi热点信号的总个数。
第二处理模块444,设置为对第二列表中排序前N个第一Wi-Fi热点信号进行分析,得到目标通信网络并注册到目标通信网络。
可选地,第二处理模块444是设置为执行以下步骤。
获取第二列表中排序前N个第一Wi-Fi热点信号中对应的通信网络为第一通信网络的Wi-Fi热点信号的信号强度并求和,得到第一数值。
获取N个第一Wi-Fi热点信号中除第一通信网络对应的Wi-Fi热点信号之外的其它Wi-Fi热点信号的信号强度并求和,得到第二数值。
判断第一数值与第二数值的大小关系。
若第一数值大于或者等于第二数值,选取第一通信网络为目标通信网络并注册到第一通信网络。
若第一数值小于第二数值,选取第二通信网络为目标通信网络并注册到第二通信网络。
参照图6所示,该装置还包括:第二判断单元45、第二获取单元46、第三判断单元47和第三获取单元48。其中:
第二判断单元45,设置为当注册到目标通信网络时,判断预设时间内能否通过目标通信网络获取通信服务。
第二获取单元46,设置为若预设时间内能够通过目标通信网络获取通信服务,获取第一列表中与目标通信网络对应的第二Wi-Fi热点信号。
第三判断单元47,设置为判断第二Wi-Fi热点信号中信号强度最强的Wi-Fi热点信号是否在第二列表中。
第三获取单元48,设置为若第二Wi-Fi热点信号中信号强度最强的Wi-Fi热点信号不在第二列表中,则获取第二Wi-Fi热点信号中信号强度最强的Wi-Fi热点信号的标识信息并添加到预设热点数据库中。
参照图7所示,该装置还包括:统计单元49、第四判断单元410和删除单元411。其中:
统计单元49,设置为当注册到目标通信网络时,若预设时间内不能通过目标通信网络获取通信服务,统计预设时间内不能通过目标通信网络获取通信服务的次数。
第四判断单元410,设置为判断预设时间内不能通过目标通信网络获取通信服务的次数与第二预设阈值之间的关系。
删除单元411,设置为若预设时间内不能通过目标通信网络获取通信服务的次数大于第二预设阈值,将第二列表中的目标通信网络对应的Wi-Fi热点信号的标识信息从预设热点数据库中删除。
参照图8所示,该装置还包括:选取单元412。其中:
选取单元412,设置为若第一通信网络的信号强度大于或者等于第一预设阈值,选取第一通信网络为目标通信网络并注册到目标通信网络。
选取单元412,还设置为若第一通信网络的信号强度小于第一预设阈值,且第二通信网络的信号强度大于或者等于第一预设阈值,选取第二通信网络为目标通信网络并注册到目标通信网络。
本实施例中多个单元和模块之间的交互过程,可以参照图1~3对应的实施例提供的一种网络获取方法中的交互过程。
本实施例所提供的网络获取装置中,终端在不同的通信网络边缘,当通信网络的信号强度比较弱时,通过预设规则选取目标通信网络并注册到目标通信网络,实现了终端在小区网络边缘时可以选择并长期驻留在无线通信信号稳定的通信网络上,提高了终端在小区网络边缘的业务性能,提高了终端与用户之间的交互能力。
本实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述网络获取方法。
如图9所示,是本实施例提供的一种终端的硬件结构示意图,如图9所示,该终端包括:处理器(processor)910和存储器(memory)920;还可以包括通信接口(Communications Interface)930和总线940。
其中,处理器910、存储器920和通信接口930可以通过总线940完成相互间的通信。通信接口930可以用于信息传输。处理器910可以调用存储器920中的逻辑指令,以执行上述实施例的任意一种网络获取方法。
存储器920可以包括存储程序区和存储数据区,存储程序区可以存储操作系统和至少一个功能所需的应用程序。存储数据区可以存储根据电子设备的使用所创建的数据等。此外,存储器可以包括,例如,随机存取存储器的易失性存储器,还可以包括非易失性存储器。例如至少一个磁盘存储器件、闪存器件或者其他非暂态固态存储器件。
此外,在上述存储器920中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,该逻辑指令可以存储在一个计算机可读取存储介质中。本公开的技术方案可以以计算机软件产品的形式体现出来,该计算机软件产品可以存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本实施例所述方法的全部或部分步骤。
存储介质可以是非暂态存储介质,也可以是暂态存储介质。非暂态存储介质可以包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等多种可以存储程序代码的介质。
实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指示相关的硬件完成的,该程序可存储于一个非暂态计算机可读存储介质中,该程 序被执行时,可包括如上述方法的实施例的流程。
在实际应用中,第一获取单元41、第一判断单元42、搜索单元43、处理单元44、第二判断单元45、第二获取单元46、第三判断单元47、第三获取单元48、统计单元49、第四判断单元410、删除单元411、选取单元412第一获取模块441、第一处理模块442、第二获取模块443和第二处理模块444均可由位于无线数据发送设备中的中央处理器(Central Processing Unit,CPU)、微处理器(Micro Processor Unit,MPU)、数字信号处理器(Digital Signal Processor,DSP)或现场可编程门阵列(Field Programmable GateArray,FPGA)等实现。
本实施例可提供为方法、系统、或计算机程序产品。因此,本公开可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本公开可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和方框图一个方框或多个方框中指定的功能的步骤。
本公开提供的网络获取方法和装置中,终端在不同的通信网络边缘,当通 信网络的信号强度比较弱时,通过预设规则选取目标通信网络并注册到目标通信网络,解决了相关技术中当终端处于小区网络边缘业务性能下降的问题,实现终端在小区网络边缘时可以选择并长期驻留在无线通信信号稳定的通信网络上,提高了终端在小区网络边缘的业务性能,提高了终端与用户之间的交互能力。
Claims (13)
- 一种网络获取方法,包括:获取与终端具有关联关系的通信网络的信号强度;判断所述通信网络的信号强度与第一预设阈值的关系;若所述通信网络的信号强度小于所述第一预设阈值,搜索无线保真Wi-Fi热点信号;根据所述Wi-Fi热点信号与预设热点数据库,采用预设规则确定目标通信网络并注册到所述目标通信网络,其中,所述预设热点数据库存储了Wi-Fi热点信号与通信网络的对应关系。
- 根据权利要求1所述的方法,其中,所述根据所述Wi-Fi热点信号与预设热点数据库之间的关系,采用预设规则确定目标通信网络并注册到所述目标通信网络,包括:获取所述Wi-Fi热点信号,得到第一列表;其中,所述第一列表中存储有所述Wi-Fi热点信号的标识信息;从所述第一列表中选取与所述预设热点数据库中Wi-Fi热点信号的标识信息相同的Wi-Fi热点信号,得到多个第一Wi-Fi热点信号;按照信号强度从强到弱的顺序将多个所述第一Wi-Fi热点信号排序,得到第二列表;根据所述预设选取规则,从所述第二列表中获取排序前N个所述第一Wi-Fi热点信号;其中,所述N为正整数且小于或者等于所述第二列表中所述第一Wi-Fi热点信号的总个数;对所述第二列表中排序前N个所述第一Wi-Fi热点信号进行分析,得到所述目标通信网络并注册到所述目标通信网络。
- 根据权利要求2所述的方法,其中,所述通信网络包括第一通信网络和 第二通信网络,所述对所述第二列表中排序前N个所述第一Wi-Fi热点信号进行分析,得到所述目标通信网络并注册到所述目标通信网络,包括:获取所述第二列表中排序前N个所述第一Wi-Fi热点信号中对应的通信网络为所述第一通信网络的Wi-Fi热点信号的信号强度并求和,得到第一数值;获取N个所述第一Wi-Fi热点信号中除所述第一通信网络对应的Wi-Fi热点信号之外的其它Wi-Fi热点信号的信号强度并求和,得到第二数值;判断所述第一数值与所述第二数值的大小关系;若所述第一数值大于或者等于所述第二数值,选取所述第一通信网络为所述目标通信网络并注册到所述第一通信网络;若所述第一数值小于所述第二数值,选取所述第二通信网络为所述目标通信网络并注册到所述第二通信网络。
- 根据权利要求2~3任一所述的方法,还包括:当注册到所述目标通信网络时,判断预设时间内能否通过所述目标通信网络获取通信服务;若所述预设时间内能够通过所述目标通信网络获取所述通信服务,获取所述第一列表中与所述目标通信网络对应的第二Wi-Fi热点信号;判断所述第二Wi-Fi热点信号中信号强度最强的Wi-Fi热点信号是否在所述第二列表中;若所述第二Wi-Fi热点信号中信号强度最强的Wi-Fi热点信号不在所述第二列表中,获取所述第二Wi-Fi热点信号中信号强度最强的Wi-Fi热点信号的标识信息并添加到所述预设热点数据库中。
- 根据权利要求2~3任一所述的方法,还包括:当注册到所述目标通信网络时,若所述预设时间内不能通过所述目标通信 网络获取所述通信服务,统计所述预设时间内不能通过所述目标通信网络获取所述通信服务的次数;判断所述预设时间内不能通过所述目标通信网络获取所述通信服务的次数与第二预设阈值之间的关系;若所述预设时间内不能通过所述目标通信网络获取所述通信服务的次数大于所述第二预设阈值,将所述第二列表中的所述目标通信网络对应的Wi-Fi热点信号的标识信息从所述预设热点数据库中删除。
- 根据权利要求3所述的方法,还包括:若所述第一通信网络的信号强度大于或者等于所述第一预设阈值,选取所述第一通信网络为所述目标通信网络并注册到所述目标通信网络;若所述第一通信网络的信号强度小于所述第一预设阈值,且所述第二通信网络的信号强度大于或者等于所述第一预设阈值,选取所述第二通信网络为所述目标通信网络并注册到所述目标通信网络。
- 一种网络获取装置,包括:获取单元、判断单元、搜索单元和处理单元;其中:所述第一获取单元,设置为获取与终端具有关联关系的通信网络的信号强度;所述第一判断单元,设置为判断所述通信网络的信号强度与第一预设阈值的关系;所述搜索单元,设置为若所述通信网络的信号强度小于所述第一预设阈值,搜索无线保真Wi-Fi热点信号;所述处理单元,设置为根据所述Wi-Fi热点信号与预设热点数据库,采用预设规则确定目标通信网络并注册到所述目标通信网络,其中,所述预设热点数 据库存储了Wi-Fi热点信号与通信网络的对应关系。
- 根据权利要求7所述的装置,其中,所述处理单元包括:第一获取模块、第一处理模块、第二获取模块和第二处理模块;其中:所述第一获取模块,设置为获取所述Wi-Fi热点信号,得到第一列表;其中,所述第一列表中存储有所述Wi-Fi热点信号的标识信息;所述第一处理模块,设置为从所述第一列表中选取与所述预设热点数据库中Wi-Fi热点信号的标识信息相同的Wi-Fi热点信号,得到多个第一Wi-Fi热点信号;所述第一处理模块,还设置为按照信号强度从强到弱的顺序将多个所述第一Wi-Fi热点信号排序,得到第二列表;所述第二获取模块,设置为根据预设选取规则,从所述第二列表中获取排序前N个所述第一Wi-Fi热点信号;其中,所述N为正整数且小于或者等于所述第二列表中所述第一Wi-Fi热点信号的总个数;所述第二处理模块,设置为对所述第二列表中排序前N个所述第一Wi-Fi热点信号进行分析,得到所述目标通信网络并注册到所述目标通信网络。
- 根据权利要求8所述的装置,其中,所述通信网络包括第一通信网络和第二通信网络,所述第二处理模块是设置为:获取所述第二列表中排序前N个所述第一Wi-Fi热点信号中对应的通信网络为所述第一通信网络的Wi-Fi热点信号的信号强度并求和,得到第一数值;获取N个所述第一Wi-Fi热点信号中除所述第一通信网络对应的Wi-Fi热点信号之外的其它Wi-Fi热点信号的信号强度并求和,得到第二数值;判断所述第一数值与所述第二数值的大小关系;若所述第一数值大于或者等于所述第二数值,选取所述第一通信网络为所 述目标通信网络并注册到所述第一通信网络;若所述第一数值小于所述第二数值,选取所述第二通信网络为所述目标通信网络并注册到所述第二通信网络。
- 根据权利要求8~9任一所述的装置,还包括:第二判断单元、第二获取单元、第三判断单元和第三获取单元;其中:所述第二判断单元,设置为当注册到所述目标通信网络时,判断预设时间内能否通过所述目标通信网络获取通信服务;所述第二获取单元,设置为若所述预设时间内能够通过所述目标通信网络获取所述通信服务,获取所述第一列表中与所述目标通信网络对应的第二Wi-Fi热点信号;所述第三判断单元,设置为判断所述第二Wi-Fi热点信号中信号强度最强的Wi-Fi热点信号是否在所述第二列表中;所述第三获取单元,设置为若所述第二Wi-Fi热点信号中信号强度最强的Wi-Fi热点信号不在所述第二列表中,则获取所述第二Wi-Fi热点信号中信号强度最强的Wi-Fi热点信号的标识信息并添加到所述预设热点数据库中。
- 根据权利要求8~9任一所述的装置,还包括:统计单元、第四判断单元和删除单元;其中:所述统计单元,设置为当注册到所述目标通信网络时,若所述预设时间内不能通过所述目标通信网络获取所述通信服务,统计所述预设时间内不能通过所述目标通信网络获取所述通信服务的次数;所述第四判断单元,设置为判断所述预设时间内不能通过所述目标通信网络获取所述通信服务的次数与第二预设阈值之间的关系;所述删除单元,设置为若所述预设时间内不能通过所述目标通信网络获取 所述通信服务的次数大于所述第二预设阈值,将所述第二列表中的所述目标通信网络对应的Wi-Fi热点信号的标识信息从所述预设热点数据库中删除。
- 根据权利要求9所述的装置,还包括:选取单元;其中:所述选取单元,设置为若所述第一通信网络的信号强度大于或者等于所述第一预设阈值,选取所述第一通信网络为所述目标通信网络并注册到所述目标通信网络;所述选取单元,还设置为若所述第一通信网络的信号强度小于所述第一预设阈值,且所述第二通信网络的信号强度大于或者等于所述第一预设阈值,选取所述第二通信网络为所述目标通信网络并注册到所述目标通信网络。
- 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1-6任一项的方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710002035.2A CN108271225B (zh) | 2017-01-03 | 2017-01-03 | 一种网络获取方法和装置 |
CN201710002035.2 | 2017-01-03 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018126989A1 true WO2018126989A1 (zh) | 2018-07-12 |
Family
ID=62771483
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/119583 WO2018126989A1 (zh) | 2017-01-03 | 2017-12-28 | 网络获取方法和装置 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108271225B (zh) |
WO (1) | WO2018126989A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111447633A (zh) * | 2020-04-08 | 2020-07-24 | Tcl移动通信科技(宁波)有限公司 | 网络列表生成方法、装置、移动终端和存储介质 |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108932831A (zh) * | 2018-07-20 | 2018-12-04 | 温州埃浦特摩尔智能科技有限公司 | 一种智能遥控方法、装置及系统 |
US12089141B2 (en) | 2018-11-01 | 2024-09-10 | Huawei Technologies Co., Ltd. | Method for quickly searching for high-RAT network, and terminal device |
CN111132270A (zh) * | 2018-11-01 | 2020-05-08 | 华为终端有限公司 | 快速搜索高制式网络的方法和终端设备 |
CN113163380A (zh) * | 2021-03-17 | 2021-07-23 | 深圳创维-Rgb电子有限公司 | 网络配置方法、遥控设备、被控设备及可读存储介质 |
CN118042519B (zh) * | 2024-04-12 | 2024-06-14 | 广东云百科技有限公司 | 一种工业物联网智能dtu及数据传输方法 |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101115293A (zh) * | 2006-07-25 | 2008-01-30 | 启碁科技股份有限公司 | 用于移动电话的无线网络漫游方法及移动电话装置 |
CN103843411A (zh) * | 2011-10-03 | 2014-06-04 | 美国博通公司 | 优先级排序无线接入技术 |
US20140362713A1 (en) * | 2013-06-11 | 2014-12-11 | Seven Networks, Inc. | Quality of experience enhancement for wireless networks based on received signal strength at a mobile device |
CN104488326A (zh) * | 2012-07-18 | 2015-04-01 | 阿尔卡特朗讯 | 用于选择无线接入点的方法和装置 |
CN105050118A (zh) * | 2015-07-31 | 2015-11-11 | 腾讯科技(深圳)有限公司 | 连接Wi-Fi热点的方法及装置 |
US20160036657A1 (en) * | 2014-07-29 | 2016-02-04 | Aruba Networks, Inc. | Deep packet inspection (dpi) aware client steering and load balancing in wireless local area network (wlan) infrastructure |
Family Cites Families (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102404816A (zh) * | 2011-03-07 | 2012-04-04 | 北京新岸线无线技术有限公司 | 一种蜂窝网-无线局域网异构融合的方法、系统和装置 |
US8590023B2 (en) * | 2011-06-30 | 2013-11-19 | Intel Corporation | Mobile device and method for automatic connectivity, data offloading and roaming between networks |
CN102300276B (zh) * | 2011-09-14 | 2013-10-30 | 重庆大学 | 一种异构网中实现td-scdma蜂窝网与无线局域网之间自动切换的方法 |
CN103179621B (zh) * | 2011-12-22 | 2017-07-25 | 上海无线通信研究中心 | 一种蜂窝网与无线局域网切换的方法 |
CN102711201B (zh) * | 2012-06-06 | 2019-09-06 | 南京中兴新软件有限责任公司 | 一种多模无线接入的切换方法和装置 |
CN102946586A (zh) * | 2012-11-08 | 2013-02-27 | 中兴通讯股份有限公司 | 基于位置信息的接入网络信息通知、接入方法及装置 |
CN103857017B (zh) * | 2012-11-29 | 2017-10-31 | 中兴通讯股份有限公司 | 通信终端、通信系统及通信连接方法 |
CN103889013A (zh) * | 2012-12-19 | 2014-06-25 | 中国移动通信集团北京有限公司 | 蜂窝网络和wlan间的无缝切换方法、装置及客户端 |
CN104053216A (zh) * | 2013-03-11 | 2014-09-17 | 马维尔国际有限公司 | 一种数据通信方法、设备以及多模通信终端 |
CN104254063B (zh) * | 2013-06-28 | 2018-10-02 | 中国电信股份有限公司 | 基于wifi更新优选漫游列表的接入方法、系统与终端 |
CN104754765B (zh) * | 2013-12-31 | 2018-08-21 | 上海诺基亚贝尔股份有限公司 | 异构网络中的wlan连接确定方法、装置和系统 |
CN104754661A (zh) * | 2013-12-31 | 2015-07-01 | 中兴通讯股份有限公司 | 蜂窝和WiFi网络之间无缝切换的方法、网络设备及用户设备 |
CN104202782A (zh) * | 2014-09-23 | 2014-12-10 | 酷派软件技术(深圳)有限公司 | 网络切换方法、网络切换装置和终端 |
CN105246135A (zh) * | 2015-09-23 | 2016-01-13 | 小米科技有限责任公司 | 接入无线网络的方法、装置及移动终端 |
CN106231639B (zh) * | 2016-08-10 | 2019-10-29 | 广东工业大学 | 一种异构网络间的垂直切换方法及装置 |
-
2017
- 2017-01-03 CN CN201710002035.2A patent/CN108271225B/zh active Active
- 2017-12-28 WO PCT/CN2017/119583 patent/WO2018126989A1/zh active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101115293A (zh) * | 2006-07-25 | 2008-01-30 | 启碁科技股份有限公司 | 用于移动电话的无线网络漫游方法及移动电话装置 |
CN103843411A (zh) * | 2011-10-03 | 2014-06-04 | 美国博通公司 | 优先级排序无线接入技术 |
CN104488326A (zh) * | 2012-07-18 | 2015-04-01 | 阿尔卡特朗讯 | 用于选择无线接入点的方法和装置 |
US20140362713A1 (en) * | 2013-06-11 | 2014-12-11 | Seven Networks, Inc. | Quality of experience enhancement for wireless networks based on received signal strength at a mobile device |
US20160036657A1 (en) * | 2014-07-29 | 2016-02-04 | Aruba Networks, Inc. | Deep packet inspection (dpi) aware client steering and load balancing in wireless local area network (wlan) infrastructure |
CN105050118A (zh) * | 2015-07-31 | 2015-11-11 | 腾讯科技(深圳)有限公司 | 连接Wi-Fi热点的方法及装置 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111447633A (zh) * | 2020-04-08 | 2020-07-24 | Tcl移动通信科技(宁波)有限公司 | 网络列表生成方法、装置、移动终端和存储介质 |
Also Published As
Publication number | Publication date |
---|---|
CN108271225A (zh) | 2018-07-10 |
CN108271225B (zh) | 2022-06-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2018126989A1 (zh) | 网络获取方法和装置 | |
US11595810B2 (en) | Information processing method and apparatus | |
CN108282845B (zh) | 一种网络接入方法及移动通信终端 | |
WO2021142576A1 (zh) | 无线通信方法、终端设备和网络设备 | |
US11617092B2 (en) | Data analytics method and apparatus | |
IL271041B (en) | Method, network unit and end unit for wireless communication | |
US9474071B2 (en) | Apparatus and a method for selecting a frequency band in a mobile communication system | |
US10070443B2 (en) | Method and apparatus for unlicensed communications band access | |
CN103703800B (zh) | 小区互操作处理方法和装置 | |
CN109068330B (zh) | 伪基站识别处理方法、设备及存储介质 | |
RU2730591C1 (ru) | Способ и устройство для передачи системной информации | |
CN104185139B (zh) | 基于指纹匹配的无线定位方法及装置 | |
US9014712B2 (en) | Selecting among spectrums within cells of a wireless communication network | |
US11115910B2 (en) | Enhanced radio frequency band scanning | |
CN113873581A (zh) | 小区选择的方法和装置 | |
CN106686668B (zh) | 一种语音回落小区的选择方法及装置 | |
WO2016111684A1 (en) | Triggering a more aggressive plmn search algorithm when in a visited plmn adjacent to the home plmn | |
CN109195203A (zh) | 无线局域网的参数配置方法、装置、终端及存储介质 | |
WO2020151622A1 (zh) | 一种用于位置推荐的评估方法和装置 | |
CN106712920B (zh) | 载波聚合功能的激活方法及装置 | |
US20220167231A1 (en) | Wireless communication method, terminal device and network device | |
CN103688574A (zh) | 用于自调谐网络搜索算法的方法和系统 | |
WO2018049815A1 (zh) | 信号格数划分方法及装置 | |
CN106550431B (zh) | Utran plmn搜索方法 | |
CN105309009B (zh) | 一种业务转移方法和装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17889715 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 17889715 Country of ref document: EP Kind code of ref document: A1 |