Network switching method and device, terminal equipment and computer readable storage medium
By introducing user programs and standard operating programs into 5G network terminal equipment, and obtaining and processing measurement reports to trigger network switching events, the problem of difficulty in switching networks according to user needs is solved and the user experience is improved.
Patent Information
- Application Number
- CN202410840416.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-26
- Publication Date
- 2024-09-03
AI Technical Summary
It is difficult for existing 5G network terminal equipment to switch networks according to user needs, resulting in a decline in user experience, and standard operating procedures cannot meet users' active switching needs.
By introducing user programs and standard operating programs into the terminal device, the initial measurement report is obtained, the target measurement report is determined based on user operations, and fed back to the standard operating program to trigger network switching events and realize user-initiated network switching.
It realizes network switching of terminal equipment according to user needs, improves user experience, and solves the problem that standard operating programs cannot meet users' active switching needs.
Smart Images

Figure CN118590950A
Abstract
Description
Technical Field
[0001] The present application belongs to the field of network technology, and in particular, relates to a network switching method, apparatus, terminal equipment, and computer-readable storage medium. Background Art
[0002] The existing fifth generation mobile communication technology (5th Generation Mobile Communication Technology, 5G) network is usually configured with three frequency bands: high, medium and low. The medium (1-6GHZ) and low (<1Ghz) frequency bands are small bandwidth networks, and the high band (>6GHZ) is a large bandwidth network. Due to the high cost of high-bandwidth equipment (large bandwidth network equipment), small bandwidth network equipment currently has a wider coverage area than large bandwidth network equipment, so the signal strength of the small bandwidth network is stronger. In actual usage scenarios, terminal devices will experience poor network conditions due to different networks and different numbers of users in different regions. Usually, terminal devices reside in small bandwidth networks with medium and low frequencies. Although the signal strength of small bandwidth networks is strong, the Internet access rate is low due to the large number of terminals. However, it is difficult for terminal devices to switch networks according to user needs, resulting in a decrease in user experience. Summary of the invention
[0003] The embodiments of the present application provide a network switching method, apparatus, terminal device, and computer-readable storage medium, which can implement network switching according to user needs.
[0004] A first aspect of an embodiment of the present application provides a network switching method, which is applied to a terminal device, wherein the terminal device is installed with a user program and a standard operation program, and the network switching method includes: controlling the user program to obtain an initial measurement report generated by the standard operation program, wherein the initial measurement report is obtained by measuring after the standard operation program accesses a first network; in response to a switching operation triggered by a user in the user program, controlling the user program to determine a target measurement report according to the initial measurement report, and feeding back the target measurement report to the standard operation program, wherein parameters in the target measurement report are used to trigger a network switching event; controlling the standard operation program to transmit the target measurement report to a base station, so that the base station feeds back a network switching command; and in response to the network switching command, controlling the standard operation program to switch from the first network to the second network according to the network switching command.
[0005] A network switching device provided in a second aspect of an embodiment of the present application is configured in a terminal device, wherein the terminal device is installed with a user program and a standard operation program, and the network switching device includes: a report acquisition unit, used to control the user program to obtain an initial measurement report generated by the standard operation program, wherein the initial measurement report is obtained by measuring after the standard operation program accesses a first network; a report determination unit, used to control the user program to determine a target measurement report according to the initial measurement report in response to a switching operation triggered by the user in the user program, and to feed back the target measurement report to the standard operation program, wherein the parameters in the target measurement report are used to trigger a network switching event; a report transmission unit, used to control the standard operation program to transmit the target measurement report to a base station, so that the base station feeds back a network switching command; and a network switching unit, used to control the standard operation program to switch from the first network to the second network according to the network switching command in response to the network switching command.
[0006] A third aspect of an embodiment of the present application provides a terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program comprises a user program and a standard operating program, and the processor implements the steps of the above-mentioned network switching method when executing the computer program.
[0007] A fourth aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes a user program and a standard operating program, and when the computer program is executed by a processor, the steps of the above-mentioned network switching method are implemented.
[0008] A fifth aspect of an embodiment of the present application provides a computer program product, which, when executed on a terminal device, enables the terminal device to execute the steps of the above-mentioned network switching method.
[0009] In an implementation manner of the present application, a user program may obtain an initial measurement report generated by a standard operation program, and in response to a switching operation triggered by a user in the user program, control the user program to determine a target measurement report based on the initial measurement report, so that the parameters in the target measurement report are used to trigger a network switching event, and the user program feeds back the target measurement report to the standard operation program, so that after the standard operation program transmits the target measurement report to the base station, it can switch from the first network to the second network according to the network switching command, and can perform network switching according to user needs, thereby solving the problem in the related art that the standard operation program cannot meet the user's active switching needs. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0011] Figure 1 It is a schematic diagram of an implementation flow of a network switching method provided in an embodiment of the present application;
[0012] Figure 2 It is a schematic diagram of a specific implementation process of determining location information provided in an embodiment of the present application;
[0013] Figure 3 It is a schematic diagram of the workflow of the standard operating procedure provided in the embodiment of the present application;
[0014] Figure 4 This is a schematic diagram of a specific implementation process of determining a target measurement report provided in an embodiment of the present application;
[0015] Figure 5 It is a schematic diagram of a specific implementation flow of the network switching method provided in an embodiment of the present application;
[0016] Figure 6 is a structural schematic diagram of a network switching device provided in an embodiment of the present application;
[0017] Figure 7 It is a structural diagram of the terminal device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0018] In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work are protected by the present application.
[0019] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.
[0020] In the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0021] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0022] The existing 5G network is usually configured with three frequency bands: high, medium, and low. The medium (1-6GHZ) and low (<1Ghz) frequency bands are small-bandwidth networks, and the high-band (>6GHZ) is a large-bandwidth network. Due to the high cost of high-band equipment (large-bandwidth network equipment), small-bandwidth network equipment currently has a larger coverage area than large-bandwidth network equipment, so the signal strength of small-bandwidth networks is stronger. In actual usage scenarios, terminal devices will experience poor network conditions due to different networks and different numbers of users in different regions. Usually, terminal devices reside in small-bandwidth networks with medium and low frequencies. Although the signal strength of small-bandwidth networks is strong, the Internet access rate is low due to the large number of terminals.
[0023] The applicant has found that the current network switching of terminal equipment is achieved through standard operating procedures. The standard operating procedure is an operating procedure for executing the protocol of the 3rd Generation Partnership Project (3GPP) standard. The standard operating procedure can periodically perform measurement actions, generate measurement reports, and realize active switching of the network through measurement reports. The standard operating procedure itself does not have user interaction capabilities. At the same time, users cannot participate in the process from measurement, generation of measurement reports to switching networks. Therefore, it is difficult for terminal devices to switch networks according to user needs, resulting in a decrease in user experience.
[0024] In view of the discovery, the present application proposes a network switching method, which enables a terminal device to implement network switching according to user needs.
[0025] In order to illustrate the technical solution of the present application, a specific embodiment is provided below for illustration.
[0026] Figure 1A schematic diagram of the implementation flow of a network switching method provided in an embodiment of the present application is shown, and the method can be applied to a terminal device. The terminal device can be a smart device such as a mobile phone, a tablet computer, a smart watch, etc. that can be connected to the Internet through a wireless cellular network (3G, 4G, 5G, etc.), and this application does not limit this. In some specific embodiments, the above-mentioned terminal device can specifically refer to a smart device that can use a 5G network and is compatible with medium and low frequency networks and high frequency networks.
[0027] In an implementation manner of the present application, the terminal device may be installed with a user program and a standard operating program, and the user program and the standard operating program are different computer programs.
[0028] The standard operating procedures may refer to operating procedures for executing the protocols of the 3GPP standard. Figure 2 The workflow of the standard operation program shown in the figure, the standard operation program can communicate with the base station and access the network, and receive the measurement command issued by the base station. In response to the measurement command, the standard operation program can perform the measurement action, generate a measurement report and periodically report the measurement report to the base station. The base station performs event detection based on the measurement report. If a network switching event can be triggered, such as A3, A4, A5, and A6 events in the 3GPP standard, the base station will issue a network switching instruction. In response to the network switching instruction, the standard operation program can perform a network switch and report a switching completion report. It should be noted that the standard operation program is generally a program that is invisible to the user.
[0029] The user program is a user interaction program provided by this application, which can realize user interaction and work in conjunction with the standard running program.
[0030] Specifically, the above network switching method may include the following steps S101 to S104.
[0031] Step S101 : controlling the user program to obtain an initial measurement report generated by the standard operation program.
[0032] The initial measurement report is obtained by measuring after the standard operation procedure accesses the first network. The measurement process of the initial measurement report can be referred to Figure 2 That is, the standard operation program can communicate with the base station and access the first network, and receive a measurement command issued by the base station. In response to the measurement command, the standard operation program can perform a measurement action and obtain an initial measurement report. The first network refers to the network accessed by the standard operation program before switching, which can be the network accessed by the terminal device for the first time (which can be the network with the highest signal strength and the highest signal quality), or it can be the network after the previous switching.
[0033] It should be noted that the triggering timing for generating the initial measurement report can be selected according to actual conditions. The initial measurement report can be generated periodically or when a specific event is met, and this application does not impose any restrictions on this.
[0034] In some specific implementations, the base station may issue a measurement command after completing the measurement configuration. The measurement command issued by the base station may carry measurement configuration parameters, and the measurement configuration parameters may include measurement objects, report configurations, measurement cycles, etc. The standard operation program may perform measurement actions and generate an initial measurement report according to the measurement configuration parameters. In order to facilitate the processing of the user program, the above user program may also obtain the measurement parameters received by the standard operation program.
[0035] Furthermore, the type of the initial measurement report may be selected according to actual conditions, and this application does not impose any limitation on this.
[0036] In some specific embodiments, the initial measurement report may be a coverage-based measurement report, and the parameters carried by the initial measurement report are reference signal receiving power (RSRP), that is, signal strength. In other specific embodiments, the initial measurement report may be a quality-based measurement report, and the parameters carried by the initial measurement report are reference signal receiving quality (RSRQ), that is, signal quality, and signal to interference plus noise ratio (SINR), that is, delay.
[0037] Step S102, in response to a switching operation triggered by a user in a user program, controlling the user program to determine a target measurement report according to an initial measurement report, and feeding back the target measurement report to a standard operation program.
[0038] In an embodiment of the present application, if a user has a need to switch networks, the user can trigger a switching operation in a user program. When receiving a switching operation, the user program can determine a target measurement report based on an initial measurement report. The target measurement report can be a modified and updated measurement report or the initial policy report itself. The parameters in the target measurement report are used to trigger a network switching event. When a network switching event is triggered, the base station will issue a network switching instruction, otherwise it will not issue a network switching instruction. The user program can feed back the target measurement report to the standard operation program through an interface to replace the initial measurement report used by the standard operation program.
[0039] The present application does not limit the method of triggering the switching operation. In some implementations, the terminal device can display an interactive interface of the user program, and the interactive interface includes a switching control. The user can click the switching control to trigger the switching operation.
[0040] Of course, if the switching operation triggered by the user in the user program is not received, there is no need to adjust the initial measurement report, and the initial measurement report can be used as the target measurement report.
[0041] Step S103: Control the standard operation program to transmit a target measurement report to the base station, so that the base station feeds back a network switching command.
[0042] In an embodiment of the present application, the initial measurement report originally used by the standard operation procedure is replaced by a target measurement report. At this time, the standard operation procedure will transmit the target measurement report to the base station. Since the parameters in the target measurement report can trigger a network switching event, the base station will feedback a network switching command.
[0043] Step S104, in response to the network switching command, controlling the standard operation program to switch from the first network to the second network according to the network switching command.
[0044] In an embodiment of the present application, after receiving the network switching command, the standard operation program can switch from the first network to the second network according to the network switching command. The second network is the network after switching, which is different from the first network.
[0045] In an implementation manner of the present application, a user program may obtain an initial measurement report generated by a standard operation program, and in response to a switching operation triggered by a user in the user program, control the user program to determine a target measurement report based on the initial measurement report, so that the parameters in the target measurement report are used to trigger a network switching event, and the user program feeds back the target measurement report to the standard operation program, so that after the standard operation program transmits the target measurement report to the base station, it can switch from the first network to the second network according to the network switching command, and can perform network switching according to user needs, thereby solving the problem in the related art that the standard operation program cannot meet the user's active switching needs.
[0046] Moreover, it can be seen from the above method steps that the logic of the standard operation program itself, such as measurement actions, report generation, and report upload, for interacting with the base station has not changed, and only the interface between the user program and the standard operation program has been added. After executing the measurement command, the standard operation program first passes the measurement report to the user program for processing, receives the measurement report returned by the user program, and then continues the original process of the standard operation program, which has high availability.
[0047] In some embodiments of the present application, Figure 3As shown, determining the target measurement report according to the initial measurement report may include steps S301 to S303.
[0048] Step S301: Detect whether the parameters in the initial measurement report can trigger a network switching event.
[0049] Specifically, taking the initial measurement report as a coverage-based measurement report as an example, it can be detected whether the signal strength detection can trigger a network switching event.
[0050] Taking the A3 event in the 3GPP standard as an example, if Mn+Ofn+Ocn–Hys>Mp+Ofp+Ocp+Off1, the A3 event is triggered. Among them, Mn: is the measurement result of the adjacent serving cell (the same meaning in the following A4\A5\A6 events); Ofn: is the offset specific to the reference signal of the adjacent serving cell (the same meaning in the following A4\A5\A6 events); Ocn: is the offset specific to the adjacent serving cell, corresponding to the frequency of the adjacent serving cell (the same meaning in the following A4\A5\A6 events); Mp: is the measurement result of the current serving cell (the same meaning in the following A4\A5\A6 events); Ofp: is the offset specific to the measurement object of the current serving cell; Ocp: is the offset specific to the current serving cell; Hys: hysteresis parameter (the same meaning in the following A4\A5\A6 events); Off1: the offset parameter of the A3 event, or called the difference threshold. The unit of Mn and Mp is dBm when they are expressed in terms of signal strength, and dB when they are expressed in terms of signal quality and delay.
[0051] The serving cell (or cell for short) may refer to an area covered by a base station using different electromagnetic waves, and a base station may cover one or more cells. The current serving cell refers to a resident cell of the first network, and the adjacent serving cell refers to an adjacent cell of the current serving cell.
[0052] Taking the coverage-based measurement report as an example, assuming that Ocn, Hys, Ofn, Ofp and Ocp are set to 0, the signal strength of the adjacent serving cell is greater than the signal strength of the current serving cell, and the signal strength difference between the adjacent serving cell and the current serving cell is greater than the first difference threshold (i.e., Off1), then the A3 event can be triggered. Otherwise, the A3 event cannot be triggered.
[0053] Taking the A4 event in the 3GPP standard as an example, if Mn+Ofn+Ocn–Hys>Thresh, the A4 event is triggered, where Thresh represents an offset parameter of the A4 event, for example, a signal strength threshold.
[0054] Taking the coverage-based measurement report as an example, assuming that Ofn, Ocn, and Hys are set to 0, and the signal strength of an adjacent serving cell is greater than the first strength threshold (i.e., Thresh), then the A4 event can be triggered. Otherwise, the A4 event cannot be triggered.
[0055] Taking the A5 event in the 3GPP standard as an example, if Mp + Hys < Thresh1 and Mn + Ofn + Ocn – Hys > Thresh2, then the A5 event is triggered. Among them, Thresh1 and Thresh2 respectively represent the offset parameters of the A5 event, with the same unit as Mp and Mn.
[0056] Taking the coverage-based measurement report as an example, assuming that Hys is set to 0, the signal strength of an adjacent serving cell is greater than the second strength threshold (i.e., Thresh2), and the signal strength of the current serving cell is less than the third strength threshold (i.e., Thresh1), then the A5 event can be triggered. Otherwise, the A5 event cannot be triggered.
[0057] Taking the A6 event in the 3GPP standard as an example, if Mn + Ocn - Hys > Ms + Ocs + Off2, then the A6 event is triggered. Among them, Ms is the measurement result of the secondary serving cell; Ocs: is the cell-specific offset of the secondary serving cell; Off2: is the offset parameter of the A6 event.
[0058] Among them, the current serving cell may include a primary cell (PCell) and one or more secondary cells (SCells). The primary cell is related to the primary carrier of carrier aggregation (CA). The secondary cell is other current serving cells of the terminal device except the primary cell and is related to the secondary carrier of carrier aggregation.
[0059] Taking the coverage-based measurement report as an example, assuming that Ocn, Hys, and Ocs are set to 0, if the signal strength of an adjacent serving cell is greater than the signal strength of the secondary serving cell, and the signal strength difference between the adjacent serving cell and the secondary serving cell is greater than the second difference threshold (i.e., Off2), then the A6 event can be triggered. Otherwise, the A6 event cannot be triggered.
[0060] It can be understood that the above-mentioned Ofn, Ocn, Hys, Ofp, Ocp, Off1, Thresh, Thresh1, Thresh2, Ocs, Off2 can be the aforementioned measurement configuration parameters, that is, obtained by the base station through measurement configuration.
[0061] Step S302, if the parameters in the initial measurement report can trigger a network handover event, then use the initial measurement report as the target measurement report.
[0062] Step S303: If the parameters in the initial measurement report cannot trigger a network switching event, the parameters in the initial measurement report are updated to obtain a target measurement report.
[0063] That is to say, if the parameters in the initial measurement report can trigger a network switching event by themselves, the initial measurement report can be retained without modifying or updating the report. If the parameters in the initial measurement report cannot trigger a network switching event, the parameters need to be updated so that they can trigger a network switching event, thereby obtaining a target measurement report.
[0064] Specifically, Figure 4 As shown, in step S303, updating the parameters in the initial measurement report, and obtaining the target measurement report may include steps S401 to S403.
[0065] Step S401: Determine candidate serving cells available to the network from the serviceable cells according to the signal strength of each serviceable cell in the initial measurement report.
[0066] The serviceable cells may refer to all the service cells in the initial measurement report, and may include the current service cell and the neighboring service cells of the current service cell.
[0067] In some embodiments of the present application, an empirical threshold value for normal network use, such as -115dBm, may be set, and serviceable cells with signal strength greater than or equal to the empirical threshold value may be used as candidate service cells.
[0068] Step S402: determine a target serving cell from candidate serving cells.
[0069] The target serving cell is a resident cell of the second network. The method for determining the target serving cell can be selected according to actual conditions.
[0070] In some implementations, step S402 may include: grouping candidate serving cells according to frequency to obtain multiple cell sets, determining a first cell set where the current serving cell is located, and determining a target serving cell from other cell sets other than the first cell set.
[0071] For example, the candidate serving cells are divided into two cell sets according to medium-low frequency and high frequency. If the frequency of the current serving cell is medium-low frequency, the target serving cell can be selected in the high-frequency cell set; if the frequency of the current serving cell is high frequency, the target serving cell can be selected in the medium-low frequency cell set. In this way, switching can be performed in different frequency bands according to user needs.
[0072] Preferably, a candidate serving cell with the highest signal strength may be selected from a set of other cells as a target serving cell, thereby ensuring the network strength of the second network.
[0073] Step S403: Update the parameters of the target serving cell and / or the parameters of the current serving cell in the initial measurement report to obtain a target measurement report.
[0074] Specifically, taking coverage-based measurement reports as an example, in some embodiments of the present application, the user program may modify the signal strength of the target service cell and / or the signal strength of the current service cell so that the signal strength of the target service cell is greater than the signal strength of the current service cell, and the signal strength difference between the target service cell and the current service cell is greater than a first difference threshold.
[0075] It is understandable that the signal strength of the current service cell can be reduced, the signal strength of the target service cell can be increased, or both the signal strength of the current service cell can be reduced and the signal strength of the target service cell can be increased, and this application does not impose any restrictions on this.
[0076] For example, the RSRP-B of the target serving cell B = -78dBm, and the RSRP of the current serving cell A = -80dBm; RSRP-A-RSRP-B < 3dBm, which means that the greater than 3dBm condition is not met and the A3 event cannot be triggered. At this time, we modify RSRP-A to -83dBm, which satisfies RSRP-B.
[0077] -RSRP-A>3dBm condition can trigger A3 event.
[0078] Similarly, taking quality-based measurement reporting as an example, in some embodiments of the present application, the user program may modify the signal quality of the target service cell and / or the signal quality of the current service cell so that the signal quality of the target service cell is greater than the signal quality of the current service cell, and the signal quality difference between the target service cell and the current service cell is greater than a first difference threshold.
[0079] In this way, the target measurement report can trigger the A3 event and simultaneously switch from the first network to the second network (ie, switch to the target serving cell).
[0080] Taking coverage-based measurement reporting as an example, in some implementations of the present application, a user program may modify the signal strength of a target serving cell so that the signal strength of the target serving cell is greater than a first strength threshold.
[0081] Similarly, taking quality-based measurement reporting as an example, in some implementations of the present application, a user program may modify the signal quality of a target serving cell so that the signal quality of the target serving cell is greater than a first quality threshold.
[0082] In this way, the target measurement report can trigger the A4 event and simultaneously switch from the first network to the second network (ie, switch to the target serving cell).
[0083] Taking coverage-based measurement reporting as an example, in some embodiments of the present application, the user program can modify the signal strength of the target service cell and the signal strength of the current service cell so that the signal strength of the target service cell is greater than the second strength threshold and the signal strength of the current service cell is less than the third strength threshold.
[0084] Similarly, taking quality-based measurement reporting as an example, in some embodiments of the present application, the user program may modify the signal quality of the target service cell and the signal quality of the current service cell so that the signal quality of the target service cell is greater than the second quality threshold and the signal quality of the current service cell is less than the third quality threshold.
[0085] In this way, the target measurement report can trigger the A5 event and simultaneously switch from the first network to the second network (ie, switch to the target serving cell).
[0086] Taking coverage-based measurement reporting as an example, in some embodiments of the present application, the user program may modify the signal strength of the target service cell and / or the signal strength of the secondary service cell so that the signal strength of the target service cell is greater than the signal strength of the secondary service cell, and the signal strength difference between the target service cell and the secondary service cell is greater than a second difference threshold.
[0087] It is understandable that the signal strength of the secondary service cell may be reduced, the signal strength of the target service cell may be increased, or both the signal strength of the secondary service cell may be reduced and the signal strength of the target service cell may be increased, and this application does not impose any limitation on this.
[0088] Similarly, taking quality-based measurement reporting as an example, in some embodiments of the present application, the user program may modify the signal quality of the target service cell and / or the signal quality of the secondary service cell so that the signal quality of the target service cell is greater than the signal quality of the secondary service cell, and the signal quality difference between the target service cell and the secondary service cell is greater than a second difference threshold.
[0089] In this way, the target measurement report can trigger the A6 event and simultaneously switch from the first network to the second network (ie, switch to the target serving cell).
[0090] It should be understood that the user equipment may select any one of the above parameter modification modes to perform modification to obtain a target measurement report.
[0091] For easier understanding, please refer to Figure 5 As shown in the flowchart, the network switching method of the present application may include the following S1 to S12.
[0092] S1: The base station performs measurement configuration.
[0093] S2: After the terminal device is started and connected to the first network, the base station sends the configured measurement configuration parameters to the standard operation program of the terminal device.
[0094] S3: The standard operation program sends the relevant measurement configuration parameters to the user program through the interface.
[0095] S4: User program saves measurement configuration parameters.
[0096] S5: The standard operation procedure executes the measurement action according to the measurement configuration parameters and generates an initial measurement report.
[0097] S6: The standard operation program sends the initial measurement report to the user program via the interface.
[0098] S7: The user program determines whether a switching operation triggered by the user is received. If no switching operation is received, the initial measurement report is used as the target measurement report; if a switching operation is received, the user program modifies the measurement report according to the following ① to ④:
[0099] ① If the initial measurement report can trigger a network switching event (A3, A4, A5, A6 event), the initial measurement report is used as the target measurement report, otherwise proceed to the following steps ②, ③, ④;
[0100] ② Select candidate serving cells whose signal strength is greater than or equal to the empirical threshold value from all cells in the initial measurement report and divide them into two cell sets, one cell set is all cells with medium and low frequencies, and the other cell set is all cells with high frequencies;
[0101] ③ If the frequency of the current serving cell is medium-low frequency, select it from the high-frequency cell set (target cell set); if the frequency of the current serving cell is high frequency, select it from the medium-low frequency cell set (target cell set);
[0102] ④ Select the service cell with the highest RSRP in the target cell set as the target service cell, update the parameters of the target service cell and / or the parameters of the current service cell in the initial measurement report, and obtain a target measurement report, so that the target measurement report can trigger a network switching event (any one of A3, A4, A5 and A6 events).
[0103] S8: The user program returns the target measurement report to the standard operation program.
[0104] S9: The standard operation procedure reports the target measurement report to the network.
[0105] S10: After receiving the target measurement report, the base station analyzes it to trigger the A3 event and sends a network switching instruction to the terminal device to instruct the terminal device to switch from the current serving cell to the target serving cell.
[0106] S11: The standard operation procedure switches from the current serving cell to the target serving cell according to the network switching instruction, so as to switch from the first network to the second network.
[0107] S12: Standard operation procedure reports the handover completion report to the base station.
[0108] It should be noted that, for the sake of simplicity of description, the aforementioned method embodiments are all expressed as a series of action combinations, but those skilled in the art should know that the present application is not limited to the described order of actions, because according to the present application, certain steps can be performed in other orders.
[0109] like Figure 6 FIG. 6 is a schematic diagram of the structure of a network switching device 600 provided in an embodiment of the present application. The network switching device 600 is configured on a terminal device.
[0110] Specifically, the network switching device 600 may include:
[0111] A report acquisition unit 601 is used to control the user program to acquire an initial measurement report generated by the standard operation program, where the initial measurement report is obtained by measuring after the standard operation program accesses the first network;
[0112] A report determination unit 602 is configured to control the user program to determine a target measurement report according to the initial measurement report in response to a switching operation triggered by the user in the user program, and to feed back the target measurement report to the standard operation program, wherein parameters in the target measurement report are used to trigger a network switching event;
[0113] A report transmission unit 603, configured to control the standard operation program to transmit the target measurement report to the base station, so that the base station feeds back a network switching command;
[0114] The network switching unit 604 is used to control the standard operation program to switch from the first network to the second network according to the network switching command in response to the network switching command.
[0115] In some embodiments of the present application, the above-mentioned report determination unit 602 can be specifically used to: detect whether the parameters in the initial measurement report can trigger the network switching event; if the parameters in the initial measurement report can trigger the network switching event, use the initial measurement report as the target measurement report; if the parameters in the initial measurement report cannot trigger the network switching event, update the parameters in the initial measurement report to obtain the target measurement report.
[0116] In some embodiments of the present application, the above-mentioned report determination unit 602 can be specifically used to: determine, according to the signal strength of each serviceable cell in the initial measurement report, a candidate service cell available to the network among the serviceable cells; determine a target service cell among the candidate service cells, wherein the target service cell is a resident cell of the second network; update the parameters of the target service cell and / or the parameters of the current service cell described in the initial measurement report to obtain the target measurement report, wherein the current service cell shown is a resident cell of the first network.
[0117] In some embodiments of the present application, the above-mentioned report determination unit 602 can be specifically used to: modify the signal strength of the target service cell and / or the signal strength of the current service cell, so that the signal strength of the target service cell is greater than the signal strength of the current service cell, and the signal strength difference between the target service cell and the current service cell is greater than the first difference threshold.
[0118] In some implementations of the present application, the report determination unit 602 may be specifically configured to: modify the signal strength of the target serving cell so that the signal strength of the target serving cell is greater than a first strength threshold.
[0119] In some embodiments of the present application, the above-mentioned report determination unit 602 can be specifically used to: modify the signal strength of the target service cell and the signal strength of the current service cell so that the signal strength of the target service cell is greater than the second strength threshold, and the signal strength of the current service cell is less than the third strength threshold.
[0120] In some embodiments of the present application, the above-mentioned report determination unit 602 can be specifically used to: modify the signal strength of the target service cell and / or the signal strength of the secondary service cell, so that the signal strength of the target service cell is greater than the signal strength of the secondary service cell, and the signal strength difference between the target service cell and the secondary service cell is greater than a second difference threshold.
[0121] In some embodiments of the present application, the above-mentioned report determination unit 602 can be specifically used to: group the candidate service cells according to frequency to obtain multiple cell sets; determine the first cell set where the current service cell is located, and determine the target service cell in other cell sets other than the first cell set.
[0122] In some implementations of the present application, the report determination unit 602 may be specifically configured to: select, from the set of other cells, the candidate serving cell with the highest signal strength as the target serving cell.
[0123] It should be noted that, for the convenience and simplicity of description, the specific working process of the network switching device 600 can be referred to Figures 1 to 5 The corresponding process of the method will not be repeated here.
[0124] like Figure 7 , which is a schematic diagram of a terminal device provided in an embodiment of the present application. Specifically, the terminal device 7 may include: a processor 70, a memory 71, and a computer program 72 stored in the memory 71 and executable on the processor 70, such as a network switching program. When the processor 70 executes the computer program 72, the steps in the above-mentioned embodiments of the network switching method are implemented, such as Figure 1 Alternatively, when the processor 70 executes the computer program 72, the functions of each module / unit in the above-mentioned device embodiments are realized, for example Figure 6 The functions of the report acquisition unit 601, the report determination unit 602, the report transmission unit 603 and the network switching unit 604 are shown.
[0125] In an embodiment of the present application, the computer program may include the aforementioned user program and standard operating program.
[0126] The computer program may be divided into one or more modules / units, which are stored in the memory 71 and executed by the processor 70 to complete the present application. The one or more modules / units may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program in the terminal device.
[0127] For example, the computer program can be divided into: a report acquisition unit, a report determination unit, a report transmission unit, and a network switching unit. The specific functions of each unit are as follows: a report acquisition unit, used to control the user program to obtain the initial measurement report generated by the standard operation program, and the initial measurement report is measured after the standard operation program accesses the first network; a report determination unit, used to respond to the switching operation triggered by the user in the user program, control the user program to determine the target measurement report according to the initial measurement report, and feed back the target measurement report to the standard operation program, and the parameters in the target measurement report are used to trigger a network switching event; a report transmission unit, used to control the standard operation program to transmit the target measurement report to the base station, so that the base station feeds back a network switching command; a network switching unit, used to respond to the network switching command, control the standard operation program to switch from the first network to the second network according to the network switching command.
[0128] The terminal device may include, but is not limited to, a processor 70 and a memory 71. Those skilled in the art will appreciate that Figure 7 It is only an example of a terminal device and does not constitute a limitation of the terminal device. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the terminal device may also include input and output devices, network access equipment, buses, etc.
[0129] The processor 70 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), off-the-shelf programmable gate arrays or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0130] The memory 71 may be an internal storage unit of the terminal device, such as a hard disk or memory of the terminal device. The memory 71 may also be an external storage device of the terminal device, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the terminal device. Further, the memory 71 may also include both an internal storage unit of the terminal device and an external storage device. The memory 71 is used to store the computer program and other programs and data required by the terminal device. The memory 71 may also be used to temporarily store data that has been output or is to be output.
[0131] It should be noted that, for the convenience and brevity of description, the structure of the above-mentioned terminal device can also refer to the specific description of the structure in the method embodiment, which will not be repeated here.
[0132] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0133] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0134] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0135] In the embodiments provided in the present application, it should be understood that the disclosed devices / terminal equipment and methods can be implemented in other ways. For example, the device / terminal equipment embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0136] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0137] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0138] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.
[0139] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A network switching method, characterized in that: Applied to a terminal device, the terminal device having a user program and a standard operating program installed thereon, the network switching method includes: controlling the user program to obtain an initial measurement report generated by the standard operation program, where the initial measurement report is obtained by measuring after the standard operation program accesses the first network; In response to a handover operation triggered by a user in the user program, controlling the user program to determine a target measurement report according to the initial measurement report, and feeding the target measurement report back to the standard operation program, where parameters in the target measurement report are used to trigger a network handover event; Controlling the standard operation program to transmit the target measurement report to a base station, so that the base station feeds back a network switching command; In response to the network switching command, the standard operation program is controlled to switch from the first network to the second network according to the network switching command.
2. The network switching method according to claim 1, wherein: The determining the target measurement report according to the initial measurement report includes: detecting whether the parameters in the initial measurement report can trigger the network switching event; If the parameters in the initial measurement report can trigger the network switching event, using the initial measurement report as the target measurement report; If the parameters in the initial measurement report cannot trigger the network switching event, the parameters in the initial measurement report are updated to obtain the target measurement report.
3. The network switching method according to claim 2, wherein: The updating of the parameters in the initial measurement report to obtain the target measurement report includes: Determining, according to the signal strength of each serviceable cell in the initial measurement report, a candidate serving cell available to the network from among the serviceable cells; Determine a target serving cell from the candidate serving cells, where the target serving cell is a resident cell of the second network; The parameters of the target serving cell and / or the parameters of the current serving cell in the initial measurement report are updated to obtain the target measurement report, wherein the current serving cell is a resident cell of the first network.
4. The network switching method according to claim 3, wherein: The updating of the parameters of the target serving cell and / or the parameters of the current serving cell in the initial measurement report to obtain the target measurement report includes: The signal strength of the target serving cell and / or the signal strength of the current serving cell are modified so that the signal strength of the target serving cell is greater than the signal strength of the current serving cell, and the signal strength difference between the target serving cell and the current serving cell is greater than a first difference threshold.
5. The network switching method according to claim 3, wherein: The updating of the parameters of the target serving cell and / or the parameters of the current serving cell in the initial measurement report to obtain the target measurement report includes: The signal strength of the target serving cell is modified so that the signal strength of the target serving cell is greater than a first strength threshold.
6. The network switching method according to claim 3, wherein: The updating of the parameters of the target serving cell and / or the parameters of the current serving cell in the initial measurement report to obtain the target measurement report includes: The signal strength of the target serving cell and the signal strength of the current serving cell are modified so that the signal strength of the target serving cell is greater than a second strength threshold and the signal strength of the current serving cell is less than a third strength threshold.
7. The network switching method according to claim 3, wherein: The current serving cell includes a secondary serving cell, and the updating of the parameters of the target serving cell and / or the parameters of the current serving cell in the initial measurement report to obtain the target measurement report includes: The signal strength of the target serving cell and / or the signal strength of the secondary serving cell are modified so that the signal strength of the target serving cell is greater than the signal strength of the secondary serving cell, and the signal strength difference between the target serving cell and the secondary serving cell is greater than a second difference threshold.
8. The network switching method according to claim 3, wherein: The determining a target serving cell from the candidate serving cells includes: Grouping the candidate serving cells according to frequency to obtain multiple cell sets; A first cell set in which the current serving cell is located is determined, and a target serving cell is determined from other cell sets other than the first cell set.
9. The network switching method according to claim 8, wherein: The determining a target serving cell from other cell sets other than the first cell set includes: In the set of other cells, the candidate serving cell with the highest signal strength is selected as the target serving cell.
10. A network switching device, characterized in that: Configured in a terminal device, the terminal device is installed with a user program and a standard operating program, and the network switching device includes: a report acquisition unit, configured to control the user program to acquire an initial measurement report generated by the standard operation program, where the initial measurement report is obtained by measuring after the standard operation program accesses the first network; a report determining unit, configured to, in response to a handover operation triggered by a user in the user program, control the user program to determine a target measurement report based on the initial measurement report, and feed the target measurement report back to the standard operation program, wherein parameters in the target measurement report are used to trigger a network handover event; a report transmission unit, configured to control the standard operation program to transmit the target measurement report to the base station, so that the base station feeds back a network handover command; The network switching unit is configured to control the standard operation program to switch from the first network to the second network in response to the network switching command.
11. A terminal device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: The computer program includes a user program and a standard operating program, and the processor implements the steps of the network switching method according to any one of claims 1 to 9 when executing the computer program.
12. A computer-readable storage medium storing a computer program, characterized in that: The computer program includes a user program and a standard operating program. When the computer program is executed by a processor, the steps of the network switching method according to any one of claims 1 to 9 are implemented.
