CN112333794B - Network connection method and device - Google Patents

Network connection method and device Download PDF

Info

Publication number
CN112333794B
CN112333794B CN202011225948.9A CN202011225948A CN112333794B CN 112333794 B CN112333794 B CN 112333794B CN 202011225948 A CN202011225948 A CN 202011225948A CN 112333794 B CN112333794 B CN 112333794B
Authority
CN
China
Prior art keywords
base station
candidate
system message
mobile network
network
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.)
Active
Application number
CN202011225948.9A
Other languages
Chinese (zh)
Other versions
CN112333794A (en
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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202011225948.9A priority Critical patent/CN112333794B/en
Publication of CN112333794A publication Critical patent/CN112333794A/en
Application granted granted Critical
Publication of CN112333794B publication Critical patent/CN112333794B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/08Reselecting an access point

Abstract

The application relates to a network connection method and a device, comprising the following steps: acquiring candidate system message blocks broadcasted by at least two candidate base stations; selecting a target base station from the candidate base stations according to the number of the mobile network identifications in the candidate system message block; and carrying out network connection with the target base station. According to the method and the device, the number of the mobile network identifications is consistent with the number of the operators sharing the base station, the target base station is selected from the candidate base stations according to the number of the mobile network identifications under the condition that the number of the operators in the same base station is more and the signal stability is worse, and the target base station with better signal stability is selected, so that the abnormal probability of the service is reduced, and the user experience is improved.

Description

Network connection method and device
Technical Field
The present application relates to the field of communications technologies, and in particular, to a network connection method and apparatus.
Background
Before establishing connection with a base station, user equipment needs to perform Network registration, the Network registration process can select a Public Land Mobile Network (PLMN), and after the user equipment selects one PLMN, the process of cell selection and registration to a corresponding base station is performed, wherein the cell selection mainly judges whether the cell is a suitable cell.
Before selecting a proper cell, obtaining signal arrangement by RF (radio frequency identification) frequency sweeping, wherein the judgment standard of whether the cell is proper or not each time is as follows: and selecting the base station corresponding to the cell with the strongest access signal.
However, the related art has the following problems: a special cell corresponding to some networks, such as an integrated cell, has the problem of offline caused by failure after a terminal accesses the integrated cell due to the unstable signal, thereby affecting the user experience; the unified cell is a cell shared by multiple operators, for example: when a message broadcast by a base station contains both the A operator PLMN ID (46000) and the B operator PLMN ID (46011), the cell covered by the base station signal is called a cell; if the message broadcast by the base station only contains a single operator PLMN ID, the cell is called an out-of-one cell.
In view of the technical problems in the related art, no effective solution is provided at present.
Disclosure of Invention
In order to solve the technical problem that a terminal is easy to be disconnected when accessing a base station corresponding to a cell, the application provides a network connection method and a network connection device.
In a first aspect, an embodiment of the present application provides a network connection method, including:
acquiring candidate system message blocks broadcasted by at least two candidate base stations;
selecting a target base station from the candidate base stations according to the number of the mobile network identifications in the candidate system message block;
and carrying out network connection with the target base station.
Optionally, as in the foregoing network connection method, selecting a target base station from the candidate base stations according to the number of the mobile network identifiers in the candidate system message block, where the selecting includes:
determining supported network index information;
acquiring mobile network identifications in the candidate system message blocks;
according to the corresponding relation between the network index information and the mobile network identification, screening target system message blocks corresponding to the network index information from the candidate system message blocks;
and selecting the target base station from the candidate base stations according to the number of the mobile network identifications in the target system message block.
Optionally, as in the foregoing network connection method, selecting a target base station from the candidate base stations according to the number of the mobile network identifiers in the candidate system message block, where the selecting includes:
determining a signal strength of the candidate base station;
sequencing each candidate base station from big to small according to the signal intensity to obtain sequencing information corresponding to each candidate base station;
and selecting the target base station according to the sequencing information and the number of the mobile network identifications in the candidate system message block.
Optionally, as in the foregoing network connection method, the selecting, according to the ranking information and the number of mobile network identifiers in the candidate system message block, the target base station includes:
sequentially determining the number of the mobile network identifications in each candidate system message block according to the sequencing information corresponding to each candidate base station until the target system message with the number of the mobile network identifications smaller than or equal to a preset value is determined in the candidate system message block;
and taking the candidate base station corresponding to the target system message as the target base station.
Optionally, as in the foregoing network connection method, the selecting, according to the ranking information and the number of mobile network identifiers in the candidate system message block, the target base station includes:
and when the number of the mobile network identifications in each candidate system message block is greater than a preset value, taking the candidate base station with the strongest signal intensity as the target base station according to the sequencing information.
Optionally, as in the foregoing network connection method, the selecting, according to the ranking information and the number of mobile network identifiers in the candidate system message block, the target base station includes:
when the number of the mobile network identifications in each candidate system message block is greater than a preset value, calculating to obtain the weight of the candidate base station according to the number of the mobile network identifications and the signal strength according to a preset calculation strategy;
and selecting the target base station from the candidate base stations according to the weight.
Optionally, as the foregoing network connection method, the method further includes:
determining first network index information corresponding to a main card and second network index information corresponding to an auxiliary card;
determining a corresponding relation between the network index information and the mobile network identifier;
screening to obtain a first system message block corresponding to first network index information from the candidate system message blocks according to the corresponding relation between the first network index information and the mobile network identifier;
screening a second system message block corresponding to second network index information from the candidate system message blocks according to the corresponding relation between the second network index information and the mobile network identifier;
and generating a switching instruction for controlling the switching of the main card and the auxiliary card according to the first quantity of the mobile network identifications in the first system message block and the second quantity of the mobile network identifications in the second system message block.
In a second aspect, an embodiment of the present application provides a network connection apparatus, including:
an obtaining module, configured to obtain candidate system message blocks broadcasted by at least two candidate base stations;
a selection module, configured to select a target base station from the candidate base stations according to the number of mobile network identifiers in the candidate system message block;
and the connection module is used for carrying out network connection with the target base station.
In a third aspect, an embodiment of the present application provides an electronic device, including: the system comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
the memory is used for storing a computer program;
the processor, when executing the computer program, is configured to implement the method according to any of the preceding claims.
In a fourth aspect, an embodiment of the present application provides a storage medium including a stored program, where the program executes the method according to any one of the preceding claims.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages:
according to the method provided by the embodiment of the application, under the condition that the number of the mobile network identifications is consistent with the number of the operators sharing the base station, the number of the operators in the same base station is larger, and the signal stability is poorer, the target base station is selected from the candidate base stations according to the number of the mobile network identifications, and the target base station with better signal stability is selected, so that the abnormal probability of the service is reduced, and the user experience is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a schematic flowchart of a network connection method according to an embodiment of the present application;
fig. 2 is a flowchart illustrating a network connection method according to another embodiment of the present application;
fig. 3 is a flowchart illustrating a network connection method according to another embodiment of the present application;
fig. 4 is a schematic flowchart of a network connection method in an application example of the present application;
fig. 5 is a block diagram of a network connection device according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Fig. 1 is a network connection method applied to a user terminal according to an embodiment of the present application, and includes the following steps S1 to S3:
s1, obtaining candidate system message blocks broadcasted by at least two candidate base stations.
Specifically, the candidate System message Block may be a System message Block 1 that can be received when the ue is located at a certain location, and optionally, the System message Block 1 may be an SIB1(System Information Block 1, the first piece of network broadcast message, which generally includes a PLMN ID and a System minimum access signal threshold, etc.).
The candidate base stations are base stations broadcasting various candidate system message blocks; and each candidate base station broadcasts a unique corresponding candidate system message block.
And S2, selecting and obtaining the target base station from the candidate base stations according to the number of the mobile network identifications in the candidate system message block.
Specifically, there are mobile network identifiers in each candidate system message block, and since there are multiple operator public base stations and a single operator-unique base station, there may be multiple situations for the number of mobile network identifiers in different candidate system message blocks, for example: 1, 2 or 3, etc.
The target base station is a base station selected from the candidate base stations according to the number of the mobile network identifications. Generally, a base station with the least number of mobile network identities or with only one mobile network identity is preferred.
Specifically, the method for selecting and obtaining the target base station may be: in a certain position, each cell obtained by scanning is determined, optionally, the same base station may correspond to multiple cells, and each cell may be a sector coverage area corresponding to one antenna corresponding to the base station, so that a user terminal in each cell may receive a candidate system message block broadcasted by the base station, and in general, one base station may correspond to three cells, the coverage area of each cell is a sector area of 120 °, and each cell may correspond to a unique corresponding cell ID, and after a resident cell is selected, the target base station for connection is determined.
And S3, carrying out network connection with the target base station.
Specifically, after the target base station is determined, the network connection with the target base station may be performed by the following method:
the user terminal can perform uplink synchronization with the target base station and establish an uplink signaling channel, namely a random access and RRC connection establishment process.
When the uplink and downlink channels between the user terminal and the target base station are good, initiating a connection request and establishing a signaling connection channel; and finally, initiating attachment (including small procedures such as authentication, encryption and the like, and if the position of the user is changed in idle time, a position updating procedure and a registration request are also carried out, and completing network connection.
Furthermore, according to the scheme in this embodiment, when the number of the mobile network identifiers is consistent with the number of the operators of the common base station, and the number of the operators in the same base station is larger and the signal stability is worse, the target base station is selected from the candidate base stations according to the number of the mobile network identifiers, and the target base station with better signal stability is selected, so that the probability of service abnormality is reduced and the user experience is improved.
As shown in fig. 2, in some embodiments, as in the foregoing network connection method, the step S2 selects a target base station from the candidate base stations according to the number of mobile network identifiers in the candidate system message block, including the following steps S211 to S214:
and S211, determining the supported network index information.
Specifically, the network index information may include information such as a frequency band supported by the user terminal and a network type. Generally, since frequency bands or network systems supported by different operators are different, a user terminal can select a base station of an operator corresponding to the user terminal by determining supported network index information.
The network index information may be a non-volatile storage parameter stored in the user terminal, or a parameter obtained after the user sets the user terminal (for example, main card selection is performed on a dual-card mobile phone) through a setting interface.
Step S212, mobile network identification in the candidate system message block is obtained.
In particular, the field of the candidate system message block for storing the mobile network identifier may include one or more mobile network identifiers. By way of example: the network index corresponding to operator a may be: 46000, 46002, the network index corresponding to operator B may be: 46011.
and S213, according to the corresponding relation between the network index information and the mobile network identifier, screening the candidate system message blocks to obtain target system message blocks corresponding to the network index information.
Specifically, since the frequency band or the network type supported by the operator can be obtained, the corresponding relationship between the network index information and the mobile network identifier can be obtained, and optionally, the corresponding relationship can be stored in the user terminal.
After the corresponding relation is determined, the mobile network identification corresponding to each network index information can be obtained firstly, then matching is carried out in all candidate system message blocks, and a target system message block is obtained by screening from all candidate system message blocks; and the target system message block has a mobile network identifier corresponding to the network index information.
And S214, selecting the target base station from the candidate base stations according to the number of the mobile network identifications in the target system message block.
Specifically, in step S213, the base station to which the user terminal can access is obtained by screening only the target system message block.
However, each target system message block may include other mobile network identifiers in addition to the mobile network identifier corresponding to the user terminal, and therefore, according to the number of the mobile network identifiers in the target system message block, a base station exclusive to a certain operator when the number of the base stations broadcasting the target system message block is determined to be 1, when the number of the base stations is greater than 1, the base stations are shared by multiple operators, and a cell covered by the target system message block is a unified cell.
Thus, the resulting target base station may be selected from the candidate base stations. The method and the device are supported by the user terminal selectively, and are not the base station shared by a plurality of operators, so that the stability of the signals can be guaranteed under the condition that the user can be enabled to be networked smoothly.
As shown in fig. 3, in some embodiments, as in the foregoing network connection method, the step S2 is to select a target base station from the candidate base stations according to the number of mobile network identifiers in the candidate system message block, and includes the following steps S221 to S223:
s221, determining the signal strength of the candidate base station.
Specifically, the signal strength of the candidate base station may be obtained by obtaining dBm values of the broadcasted signals of the respective candidate base stations.
S222, sequencing the candidate base stations from big to small according to the signal intensity to obtain sequencing information corresponding to the candidate base stations.
Specifically, when there are 3 candidate base stations A, B and C, and the signal strength corresponding to each candidate base station is X1, X2 and X3, and X1< X3< X2; the ordering information corresponding to the candidate base station a is 3; the ordering information corresponding to the candidate base station B is 1; the ranking information corresponding to the candidate base station C is 2.
Further, on the basis of the foregoing embodiment, a first candidate base station corresponding to the target system message block may also be determined in each candidate base station; and sequencing each first candidate base station from big to small according to the signal intensity to obtain sequencing information corresponding to each first candidate base station.
And S223, selecting to obtain the target base station according to the sequencing information and the number of the mobile network identifications in the candidate system message block.
Specifically, in general, the selection condition for selecting the target base station may be: and selecting the candidate base stations with the number of the mobile network identifications being 1 to obtain the target base station.
Therefore, the number of the mobile network identifiers in the candidate system message blocks broadcasted by each candidate base station is determined one by one according to the signal strength so as to select the target base station with strong signal strength and meeting the selection condition.
Further, on the basis of the foregoing embodiment, the target base station may be selected and obtained according to the ranking information and the number of mobile network identifiers in the target system message block.
In some embodiments, as in the foregoing network connection method, the step S223 selects to obtain the target base station according to the ranking information and the number of mobile network identifiers in the candidate system message block, which includes the following steps S2231 and S2232:
step S2231, according to the sorting information corresponding to each candidate base station, sequentially determining the number of the mobile network identifications in each candidate system message block until the target system message with the number of the mobile network identifications smaller than or equal to the preset value is determined in the candidate system message block.
Specifically, the preset value setting criterion may be that the stability of the signal meets a preset requirement when the number of operators coexisting in the same base station is less than or equal to the preset value.
And judging the number of the mobile network identifications in each candidate system message block according to the sequence of the sequencing information (namely, signal strength) of the candidate base stations, and if the candidate base station in the previous sequence is eliminated, sequentially selecting the candidate system message block of the next candidate base station until the target system message of which the number of the mobile network identifications is less than or equal to the preset value is obtained.
And S2232, taking the candidate base station corresponding to the target system message as the target base station.
Specifically, after the target system message is determined, since the candidate base station broadcasting the target system message is determined, the candidate base station corresponding to the target system message may be used as the target base station.
Further, when the signal strength of the candidate base station corresponding to the target system message is lower than the preset lower limit, the user experience is still poor due to too poor signal, and therefore the candidate base station with the strongest signal is selected as the target base station according to the ranking information.
In some embodiments, as in the foregoing network connection method, the step S223 selects to obtain the target base station according to the ranking information and the number of mobile network identifiers in the candidate system message block, which includes the following steps S2231:
step S2231: and when the number of the mobile network identifications in each candidate system message block is greater than a preset value, taking the candidate base station with the strongest signal intensity as a target base station according to the sequencing information.
Specifically, when the number of the mobile network identifiers in each candidate system message block is greater than the preset value, it means that each candidate base station is shared by multiple operators, and therefore, each cell corresponding to the current location of the user terminal is a unified cell.
Therefore, in this case, the signal stability cannot meet the requirement of signal stability in the preset non-unified cell (i.e. the cell covered by the broadcasted signal when one base station is exclusive to a certain operator). Therefore, the candidate base station is selected in terms of signal strength to obtain the target base station that performs best in terms of at least signal strength.
By the scheme in the embodiment, the target base station can be selected and obtained according to the signal strength under the condition that the base station meeting the requirement cannot be selected and obtained according to the signal stability, so that the best communication experience obtained by the current position of the user can be provided.
In some embodiments, as in the foregoing network connection method, the step S223 selects to obtain the target base station according to the ranking information and the number of mobile network identifiers in the candidate system message block, including the following steps S2232 to S2233:
and S2232, when the number of the mobile network identifications in each candidate system message block is greater than a preset value, calculating to obtain the weight of the candidate base station according to the number of the mobile network identifications and the signal strength according to a preset calculation strategy.
Specifically, the calculation policy may be a weighted calculation policy for performing calculation according to the number of mobile network identifiers and the signal strength.
The weight may be an evaluation score or level for evaluating each candidate base station; further, the weight may be a uniform index for evaluating each candidate base station.
For example, the formula corresponding to the calculation strategy may be P ═ a (4-x) + (1-a) (-q), where P is weight, a is the score ratio of the number of mobile network identifiers, x is the number of mobile network identifiers, and q is signal strength.
And S2233, selecting the target base station from the candidate base stations according to the weight.
Specifically, by the above method, the weight of each candidate base station can be calculated, and then the candidate base stations can be ranked according to the weight, so that the candidate base station with the highest ranking is used as the target base station.
By the method in the embodiment, the signal strength and the signal stability can be comprehensively considered, and an optimal target base station is obtained, so that the best experience is provided for a user.
In some embodiments, the network connection method as described above further includes steps P1 to P4 as follows:
and P1, determining first network index information corresponding to the main card and second network index information corresponding to the auxiliary card.
Specifically, in the prior art, a dual-card dual-standby terminal is widely used by users; the primary card may be a SIM card currently used as a network and a call, and the secondary card may be a SIM card currently used only for providing a call and not used as a network.
Generally, operators corresponding to the primary card and the secondary card are different from each other, and therefore the first network index information and the second network index information are different from each other.
And P2, screening the candidate system message blocks to obtain a first system message block corresponding to the first network index information according to the corresponding relation between the first network index information and the mobile network identifier.
Specifically, since the frequency band or the network type supported by the operator can be obtained, the corresponding relationship between the first network index information and the mobile network identifier can be obtained.
After determining the corresponding relationship between the first network index information and the mobile network identifier, the mobile network identifier corresponding to the first network index information may be obtained first, and then matching is performed in all candidate system message blocks, so as to obtain a first system message block by screening from all candidate system message blocks; and the mobile network identifier corresponding to the first network indicator information exists in the first system message block.
Step P3, according to the corresponding relation between the second network index information and the mobile network identification, screening the candidate system message blocks to obtain second system message blocks corresponding to the second network index information;
specifically, after the frequency band or the network type supported by the operator is known, the corresponding relationship between the second network index information and the mobile network identifier can be obtained.
After determining the corresponding relationship between the second network index information and the mobile network identifier, the mobile network identifier corresponding to the second network index information may be obtained first, and then matching is performed in all candidate system message blocks, so as to obtain a second system message block by screening from all candidate system message blocks; and the second system message block has a mobile network identifier corresponding to the second network indicator information.
And P4, generating a switching instruction for controlling the switching of the main card and the auxiliary card according to the first quantity of the mobile network identifications in the first system message block and the second quantity of the mobile network identifications in the second system message block.
Specifically, after the first system message block is obtained, the first number may be obtained according to the number of the mobile network identifiers in the first system message block; similarly, after the second system message block is obtained, a second number may be obtained according to the number of the mobile network identifiers in the second system message block; therefore, whether the candidate base station corresponding to the first system message block and the second system message block is a base station shared by a plurality of operators can be obtained; preferably, when a plurality of candidate system message blocks corresponding to the first network index information exist, the candidate system message block with the minimum first number is taken as the first system message block; and when a plurality of candidate system message blocks corresponding to the second network index information exist, taking the candidate system message block with the minimum second number as the second system message block.
The switching policy of the generated switching instruction for controlling the switching between the main card and the auxiliary card may be:
when the first number is larger than the second number, switching the current auxiliary card as a main card for networking; and when the first number is less than or equal to the second number, the switching between the main card and the auxiliary card is not carried out.
By the method in the embodiment, the card with the strongest signal stability can be selected as the main card by determining the operator sharing condition of the base station corresponding to the main card and the auxiliary card, so that the abnormal probability of the service of the dual-card equipment can be reduced, and the user experience can be improved.
As shown in fig. 4, an application example to which the method in the foregoing embodiment is applied is provided:
a1, starting up the UE (user terminal);
a2: selecting PLMN, after the UE is started, acquiring information such as frequency bands, modes and the like from NV (Non-Volatile storage parameters, factory-leaving important parameters integrated in the mobile phone, such as communication calibration parameters, which cannot be erased in common system formatting and the like of the mobile phone) and interface setting parameters, wherein the mode information is used for PLMN selection, and the frequency band information is sent to a physical layer; go to step A3 to search for the cell (i.e. search for candidate base station);
a3: cell search, selecting supported cells (namely, selecting target base stations) to perform downlink synchronization, determining supported frequency band values, arranging each cell according to signal strength (or arranging cell ID information), and turning to A4 to continue selection.
A4: selecting the cells in sequence to perform downlink synchronization, sequentially selecting the cells from the strongest cell with the strongest signal to the weakest cell with the weakest signal, if the front cell is excluded, sequentially selecting the rear cell, acquiring the information broadcast by the base station of the cell, and judging whether to access further; go to a5 to optimize the process.
A5: if the cells are the only cells or all the cells are unified cells, the step A7 is switched if the cells are the only cells (namely, the signals broadcasted by only one base station can be searched at the current position) or all the cells are unified cells (namely, the first cell (the cell with the strongest signal) is selected when the cells are searched at the current position all the cells are unified cells; and the step A7 is switched to continue the uplink synchronization process).
Otherwise, reading the information broadcast by the base station of the cell, checking whether the cell is suitable for residing, checking the PLMN information in the SIB1, returning to the previous step A4 if the cell is integrated by multiple operators, selecting the secondary intensity signal cell, acquiring the SIB1 of the secondary intensity signal cell, checking the PLMN information, repeating the steps until the non-integrated cell is acquired, and continuing the A7 uplink synchronization process;
in addition, the process also includes cell selection rule checking to determine whether the cell is a suitable cell, if the signal meets the requirement of a single operator cell in a6, the cell is allowed to reside and transferred to a7, otherwise, the cell cannot be registered, and another cell is reselected.
A6: whether the cell is a single operator cell or not, whether the PLMN information in the SIB1 broadcast only has a single PLMN ID or not is checked, if so, the cell is a single operator cell (the base station is exclusive to a certain operator) and is turned to A7, otherwise, the next cell is selected by returning to A4.
A7: uplink synchronization, after selecting a cell, the UE performs uplink synchronization and establishes an uplink signaling channel, that is: random access and RRC connection establishment procedures.
A8: network registration, after the up-down channel is good, initiating a connection request, and establishing a signaling connection channel; and finally, initiating an attachment and registration request to complete network connection.
A9: and (6) ending.
As shown in fig. 5, according to an embodiment of another aspect of the present application, there is also provided a network connection apparatus including:
an obtaining module 1, configured to obtain candidate system message blocks broadcasted by at least two candidate base stations;
a selection module 2, configured to select a target base station from the candidate base stations according to the number of mobile network identifiers in the candidate system message block;
and the connection module 3 is used for performing network connection with the target base station.
Specifically, the specific process of implementing the functions of each module in the apparatus according to the embodiment of the present invention may refer to the related description in the method embodiment, and is not described herein again.
According to another embodiment of the present application, there is also provided an electronic apparatus including: as shown in fig. 6, the electronic device may include: the system comprises a processor 1501, a communication interface 1502, a memory 1503 and a communication bus 1504, wherein the processor 1501, the communication interface 1502 and the memory 1503 complete communication with each other through the communication bus 1504.
A memory 1503 for storing a computer program;
the processor 1501 is configured to implement the steps of the above-described method embodiments when executing the program stored in the memory 1503.
The bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component.
The embodiment of the present application further provides a storage medium, where the storage medium includes a stored program, and the program executes the method steps of the foregoing method embodiment when running.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, 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 identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present invention, which enable those skilled in the art to understand or practice the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (8)

1. A network connection method, comprising:
acquiring candidate system message blocks broadcasted by at least two candidate base stations;
selecting a target base station from the candidate base stations according to the number of the mobile network identifications in the candidate system message block;
performing network connection with the target base station;
the selecting a target base station from the candidate base stations according to the number of the mobile network identifiers in the candidate system message block includes:
determining a signal strength of the candidate base station;
sequencing each candidate base station from big to small according to the signal intensity to obtain sequencing information corresponding to each candidate base station;
selecting the target base station according to the sequencing information and the number of the mobile network identifications in the candidate system message block;
the selecting the target base station according to the sorting information and the number of the mobile network identifiers in the candidate system message block includes:
sequentially determining the number of mobile network identifications in each candidate system message block according to the sequencing information corresponding to each candidate base station until determining a target system message of which the number of mobile network identifications is less than or equal to a preset value in the candidate system message block, wherein the preset value is 1;
and taking the candidate base station corresponding to the target system message as the target base station.
2. The network connection method according to claim 1, wherein selecting a target base station from the candidate base stations according to the number of mobile network identifiers in the candidate system message block comprises:
determining supported network index information, wherein the network index information comprises a frequency band and a network type supported by a user terminal;
acquiring mobile network identifications in the candidate system message blocks;
according to the corresponding relation between the network index information and the mobile network identification, screening target system message blocks corresponding to the network index information from the candidate system message blocks;
and selecting the target base station from the candidate base stations according to the number of the mobile network identifications in the target system message block.
3. The network connection method according to claim 1, wherein the selecting the target base station according to the ranking information and the number of mobile network identifiers in the candidate system message block comprises:
and when the number of the mobile network identifications in each candidate system message block is greater than a preset value, taking the candidate base station with the strongest signal intensity as the target base station according to the sequencing information.
4. The network connection method according to claim 3, wherein the selecting the target base station according to the ranking information and the number of mobile network identifiers in the candidate system message block comprises:
when the number of the mobile network identifications in each candidate system message block is greater than a preset value, calculating to obtain the weight of the candidate base station according to the number of the mobile network identifications and the signal strength according to a preset calculation strategy;
and selecting the target base station from the candidate base stations according to the weight.
5. The network connection method according to claim 1, further comprising:
determining first network index information corresponding to a main card and second network index information corresponding to an auxiliary card, wherein the first network index information comprises a frequency band and a network system supported by the main card, and the second network index information comprises a frequency band and a network system supported by the auxiliary card;
screening to obtain a first system message block corresponding to first network index information from the candidate system message blocks according to the corresponding relation between the first network index information and the mobile network identifier;
screening a second system message block corresponding to second network index information from the candidate system message blocks according to the corresponding relation between the second network index information and the mobile network identifier;
and generating a switching instruction for controlling the switching of the main card and the auxiliary card according to the first quantity of the mobile network identifications in the first system message block and the second quantity of the mobile network identifications in the second system message block.
6. A network connection device, comprising:
an obtaining module, configured to obtain candidate system message blocks broadcasted by at least two candidate base stations;
a selection module, configured to select a target base station from the candidate base stations according to the number of mobile network identifiers in the candidate system message block;
the connection module is used for carrying out network connection with the target base station;
the selection module is used for determining the signal strength of the candidate base station; sequencing each candidate base station from big to small according to the signal intensity to obtain sequencing information corresponding to each candidate base station; selecting the target base station according to the sequencing information and the number of the mobile network identifications in the candidate system message block;
the selecting the target base station according to the sorting information and the number of the mobile network identifiers in the candidate system message block includes: sequentially determining the number of mobile network identifications in each candidate system message block according to the sequencing information corresponding to each candidate base station until determining a target system message of which the number of mobile network identifications is less than or equal to a preset value in the candidate system message block, wherein the preset value is 1; and taking the candidate base station corresponding to the target system message as the target base station.
7. An electronic device, comprising: the system comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
the memory is used for storing a computer program;
the processor, when executing the computer program, implementing the method of any of claims 1-5.
8. A storage medium, characterized in that the storage medium comprises a stored program, wherein the program is executed by a processor to implement a method according to any one of claims 1-5.
CN202011225948.9A 2020-11-05 2020-11-05 Network connection method and device Active CN112333794B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011225948.9A CN112333794B (en) 2020-11-05 2020-11-05 Network connection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011225948.9A CN112333794B (en) 2020-11-05 2020-11-05 Network connection method and device

Publications (2)

Publication Number Publication Date
CN112333794A CN112333794A (en) 2021-02-05
CN112333794B true CN112333794B (en) 2021-11-16

Family

ID=74317052

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011225948.9A Active CN112333794B (en) 2020-11-05 2020-11-05 Network connection method and device

Country Status (1)

Country Link
CN (1) CN112333794B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114040344B (en) * 2021-11-30 2023-05-30 上海立可芯半导体科技有限公司 Method for receiving public early warning information by mobile terminal and mobile terminal
CN115866608B (en) * 2023-03-01 2023-05-16 广东南方电信规划咨询设计院有限公司 Communication security management method and device based on signal strength and wireless communication system

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090067386A1 (en) * 2007-06-19 2009-03-12 Qualcomm Incorporated Method and apparatus for cell reselection enhancement for e-utran
CN101500282A (en) * 2008-02-01 2009-08-05 华为技术有限公司 Method, base station and terminal for indicating validity of system information
CN101500278B (en) * 2008-02-01 2011-06-08 华为技术有限公司 Method, apparatus and system for selecting wireless network cell
CA2725406C (en) * 2008-04-18 2016-08-02 Joachim Sachs Method of operating an access network
CN101635935B (en) * 2008-07-25 2012-04-18 中兴通讯股份有限公司 Neighboring cell information transmission method
EP2384060B1 (en) * 2010-04-26 2016-12-21 BlackBerry Limited Apparatus and method for searching for and reporting public land mobile networks "PLMNS" in a mobile telecommunications system
CN102244890B (en) * 2010-05-11 2014-09-03 华为技术有限公司 Method, device and system for sending measurement report
CN102726098B (en) * 2011-06-14 2015-08-19 华为技术有限公司 Operator public land mobile network identification delivery method, base station and subscriber equipment
CN104885485A (en) * 2012-08-07 2015-09-02 投石通信有限公司 System for automatically matching a service requestor with a service provider based on their proximity and establishing a voice call between them
KR102163380B1 (en) * 2013-03-20 2020-10-08 삼성전자주식회사 Method and apparatus for acquiring cell identifier in radio communication system
CN109429304B (en) * 2017-08-31 2023-02-21 北京三星通信技术研究有限公司 Network connection method, device and user terminal
CN111356194A (en) * 2018-12-21 2020-06-30 中国电信股份有限公司 Method and system for network reselection
CN110730488B (en) * 2019-10-18 2021-06-01 中国联合网络通信集团有限公司 Communication method, device, terminal and system based on block chain network

Also Published As

Publication number Publication date
CN112333794A (en) 2021-02-05

Similar Documents

Publication Publication Date Title
US6501951B2 (en) Method for controlling channel reselection
US7657261B2 (en) Technique for using the same wireless frequency channel in overlapping or adjacent coverage areas
CN110945914B (en) Method, device, chip system and medium for transmitting information
CN108282845B (en) Network access method and mobile communication terminal
CN101742598B (en) Method and device for reselecting home base station cells
CN101841875B (en) Realization method and realization device for cell reselection
CN107211335B (en) Cell reselection method and user terminal
CN109819433A (en) Rete mirabile roams processing method, communication equipment and storage medium
JP4518431B2 (en) Method for reselecting a cell in an MBMS system after an MBMS (Multimedia Broadcast / Multicast Service) session ends
CN112333794B (en) Network connection method and device
CN110602765B (en) Network selection method and device
CN109561477B (en) Cell information sending method, cell information residing method, network equipment and terminal
WO2021035449A1 (en) Cell selection method, terminal device, and network device
CN102932877A (en) Method for determining effective cell by multi-mode single-standby terminal, and multi-mode single-standby terminal
CN108271225B (en) Network acquisition method and device
CN113596940B (en) Cell selection or reselection method and device, and terminal
CN110913440B (en) Terminal module and method for selecting target operator in weak network scene
CN107124744B (en) Network switching method and wireless access point
CN110708732A (en) Method and terminal for dynamically self-adapting network switching
CN107113682A (en) Communication means, processing unit, communication equipment and communication system
CN106686668B (en) method and device for selecting voice fallback cell
CN111479213B (en) Evaluation method and device for position recommendation
EP1626599B1 (en) A method for establishing a service connection
CN111970750A (en) Multi-frequency WiFi identification method and device
EP2525599B1 (en) Method and device for obtaining system information of cell

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
GR01 Patent grant
GR01 Patent grant