Network measurement method and device, electronic equipment, storage medium and chip

By stopping measurements of low-priority network modes after accessing high-priority network modes, the problem of increased power consumption of terminal devices in multi-mode network measurements is solved, thereby reducing device power consumption and improving network connection efficiency.

CN119031382APending Publication Date: 2024-11-26BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310595054.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-24
Publication Date
2024-11-26

Smart Images

  • Figure CN119031382A_ABST
    Figure CN119031382A_ABST
Patent Text Reader

Abstract

The invention relates to a network measurement method and device, electronic equipment, a storage medium and a chip. The method comprises the steps of obtaining a first network measurement result corresponding to a first network mode; when the network corresponding to the first network mode is successfully accessed according to the first network measurement result, stopping performing network measurement on a network corresponding to a second network mode; the network priority of the first network mode is higher than that of the second network mode; under the condition that the network corresponding to the first network mode can be accessed, network measurement and network connection are not carried out on the second preset network mode any more, so that the range of network measurement is reduced, the power consumption of equipment is reduced, and the working efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of communication technology, and in particular to a method, device, electronic device, storage medium and chip for network measurement. Background Art

[0002] In related technologies, terminals can support multiple network modes, such as 2G, 3G, 4G or 5G, so that users can connect to the network according to the current network status. With the development of technology, some of the above network modes can no longer meet user needs, causing operators to gradually shut down some network modes. However, when performing network measurements, the terminal will measure the network modes that can be supported, resulting in greater device power consumption. Summary of the invention

[0003] In order to overcome the problems existing in the related art, the present disclosure provides a network measurement method, device, electronic device, storage medium and chip for reducing device power consumption.

[0004] According to a first aspect of an embodiment of the present disclosure, a network measurement method is provided, the method comprising:

[0005] Obtaining a first network measurement result corresponding to the first network mode;

[0006] When access to the network corresponding to the first network mode is successful according to the first network measurement result, network measurement of the network corresponding to the second network mode is stopped; the network priority of the first network mode is higher than the network priority of the second network mode.

[0007] Optionally, when accessing the network corresponding to the first network mode successfully according to the first network measurement result, stopping network measurement on the network corresponding to the second network mode includes:

[0008] When accessing the network corresponding to the first network mode according to the first network measurement result and the number of accesses to the network corresponding to the first network mode reaches a first preset number threshold, stop performing network measurement on the network corresponding to the second network mode in the preset network mode.

[0009] Optionally, the method further comprises:

[0010] In the event that access to the network corresponding to the first network mode fails according to the first network measurement result, if it is determined that access to the network corresponding to the second network mode has failed according to the second network measurement result corresponding to the second network mode, and the number of access failures reaches a second preset number threshold, stop performing network measurement on the network corresponding to the second network mode.

[0011] Optionally, the method further comprises:

[0012] In the case where access to the network corresponding to the first network mode is successful according to the first network measurement result, if the network connection corresponding to the first network mode is interrupted, access to the network corresponding to the second network mode is performed.

[0013] Optionally, when accessing the network corresponding to the first network mode successfully according to the first network measurement result, stopping network measurement on the network corresponding to the second network mode includes:

[0014] When it is determined that the second network mode is not a network mode prohibited by the operator corresponding to the user identity card of the terminal, and access to the network corresponding to the first network mode is successful according to the first network measurement result, stop performing network measurement on the network corresponding to the second network mode.

[0015] Optionally, the method further comprises:

[0016] When it is determined that the second network mode is a network mode prohibited from connection by an operator corresponding to the user identity card of the terminal, network measurement of the network corresponding to the second network mode is stopped.

[0017] According to a second aspect of an embodiment of the present disclosure, a network measurement device is provided, the device comprising:

[0018] An acquisition module, configured to acquire a first network measurement result corresponding to the first network mode;

[0019] The stopping module is configured to stop performing network measurement on the network corresponding to the second network mode when access to the network corresponding to the first network mode is successful according to the first network measurement result; the network priority of the first network mode is higher than the network priority of the second network mode.

[0020] Optionally, the device further comprises:

[0021] The first stopping module is configured to stop performing network measurement on the network corresponding to the second network mode in the preset network mode when the network corresponding to the first network mode is accessed according to the first network measurement result and the number of accesses to the network corresponding to the first network mode reaches a first preset number threshold.

[0022] Optionally, the device further comprises:

[0023] The second stopping module is configured to stop performing network measurement on the network corresponding to the second network mode if, in the event that access to the network corresponding to the first network mode fails according to the network measurement result, it is determined that access to the network corresponding to the second network mode fails according to the second network measurement result corresponding to the second network mode, and the number of access failures reaches a second preset number threshold.

[0024] Optionally, the device further comprises:

[0025] The third stopping module is configured to access the network corresponding to the second network mode if the network connection corresponding to the first network mode is interrupted when access to the network corresponding to the first network mode is successful according to the first network measurement result.

[0026] Optionally, the device further comprises:

[0027] The fourth stopping module is configured to stop performing network measurement on the network corresponding to the second network mode when it is determined that the second network mode is not a network mode prohibited by the operator corresponding to the user identity card of the terminal, and access to the network corresponding to the first network mode is successful according to the first network measurement result.

[0028] Optionally, the device further comprises:

[0029] The fifth stopping module is configured to stop performing network measurement on the network corresponding to the second network mode when it is determined that the second network mode is a network mode prohibited from connection by the operator corresponding to the user identity card of the terminal.

[0030] According to a third aspect of an embodiment of the present disclosure, there is provided an electronic device, including:

[0031] processor;

[0032] a memory for storing processor-executable instructions;

[0033] The processor is configured to implement the steps of the network measurement method provided in the first aspect of the present disclosure when executing.

[0034] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which computer program instructions are stored. When the program instructions are executed by a processor, the steps of the network measurement method provided in the first aspect of the present disclosure are implemented.

[0035] According to a fifth aspect of an embodiment of the present disclosure, a chip is provided, including a processor and an interface; the processor is used to read instructions to execute the steps of the network measurement method provided in the first aspect of the present disclosure.

[0036] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:

[0037] When it is determined that the network corresponding to the first network mode can be accessed, network measurement and network connection are no longer performed on the second preset network mode, which narrows the scope of network measurement, reduces device power consumption, and improves work efficiency.

[0038] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0040] Figure 1 The present invention is a flowchart of a network measurement method according to an exemplary embodiment.

[0041] Figure 2 The present invention is a structural block diagram of a network measurement device according to an exemplary embodiment.

[0042] Figure 3 The present invention is a structural block diagram of an electronic device according to an exemplary embodiment.

[0043] Figure 4 It is a structural block diagram of another electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0044] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0045] First, the application scenario of the present disclosure is introduced. The present disclosure is applied in a scenario where a network measurement is performed on a network in a target area before a terminal connects to the network. In the related art, a terminal can support multiple network modes and connect to the network through RAT (Radio Access Technology), which may include multiple network modes, such as 2G, 3G, 4G or 5G. With the development of technology, some of the above network modes can no longer meet user needs, causing operators to gradually shut down some network modes. The time for operators to shut down some network modes in different regions is different, and the time span is very large, which will cause the terminal to measure all supported network modes when performing network measurement, thereby generating greater device power consumption.

[0046] In order to solve the above problems, the present disclosure provides a method, device, electronic device, storage medium and chip for network measurement; by obtaining a first network measurement result corresponding to a first network mode; when access to the network corresponding to the first network mode is successful according to the first network measurement result, stopping network measurement on the network corresponding to the second network mode; the network priority of the first network mode is higher than the network priority of the second network mode; by no longer performing network measurement and network connection on the second preset network mode when it is determined that the network corresponding to the first network mode can be accessed, the scope of network measurement is narrowed, the power consumption of the device is reduced, and the work efficiency is improved.

[0047] Figure 1 is a flow chart of a network measurement method according to an exemplary embodiment. Figure 1 As shown, the method is applied in a terminal, and the method includes the following steps.

[0048] S101. Obtain a first network measurement result corresponding to a first network mode.

[0049] S102: When access to the network corresponding to the first network mode is successful according to the first network measurement result, stop performing network measurement on the network corresponding to the second network mode.

[0050] The network priority of the first network mode is higher than the network priority of the second network mode.

[0051] For example, the first network mode may be 4G or 5G, and the second network mode may be 2G or 3G, which is not limited here.

[0052] By way of example, the terminal may be a UE (User Equipment), the UE may be a data card or a mobile terminal, etc., and the UE may include a MODEM wireless modem.

[0053] In some embodiments, the first network mode may be subjected to network measurement through a first network measurement method to obtain a first network measurement result corresponding to the first network mode; the first network measurement method may be subjected to network measurement through a preset network mode set; the preset network mode set may include network modes that the terminal has already accessed, for example, the preset network mode set may be acq-db. The first network mode that can be accessed may be determined from the preset network mode set, and the network corresponding to the first network mode may be accessed. In this way, a network connection may be made quickly to avoid the impact on the user caused by the inability to connect to the network.

[0054] In some other embodiments, network measurement can be performed through a second network measurement method. The second network measurement method can be full-band measurement; the full-band can include one or more frequency points; the one or more frequency points correspond to different network modes; after determining the frequency point corresponding to the first network mode, network connection can be performed through the frequency point corresponding to the first network mode. In this way, the scope of network measurement can be expanded to connect the terminal to the network as soon as possible.

[0055] In some embodiments, when the first network mode cannot be determined by the first network measurement method, network measurement can be performed by the second network measurement method. In this way, network measurement can be performed by two measurement methods, improving the efficiency of network measurement, so that the terminal can access the network as soon as possible.

[0056] In some embodiments, the above-mentioned stopping the network measurement of the network corresponding to the second network mode may include: moving the second network mode into a blocking set to stop the network measurement of the network corresponding to the second network mode. In this way, the second network mode can be hidden through the blocking set, and the network measurement of the second network mode is no longer performed, thereby reducing the power consumption of the device.

[0057] Through the above technical solution, when it is determined that the network corresponding to the first network mode can be accessed, network measurement and network connection are no longer performed on the second preset network mode, which narrows the scope of network measurement, reduces device power consumption, and improves work efficiency.

[0058] In some embodiments, when access to the network corresponding to the first network mode is successful according to the first network measurement result, stopping network measurement on the network corresponding to the second network mode may also include: when access to the network corresponding to the first network mode is successful according to the first network measurement result, and the number of accesses to the network corresponding to the first network mode reaches a first preset number threshold, stopping network measurement on the network corresponding to the second network mode in the preset network mode.

[0059] For example, the first preset number threshold may be within the range of 2-10 times, for example, 2 times, 3 times or 5 times, etc., which is not limited here; when the network corresponding to the first network mode is accessed according to the first network measurement result, and the number of accesses to the network corresponding to the first network mode reaches 2 times, the network measurement of the network corresponding to the second network mode in the preset network mode is stopped. Since network fluctuations may affect network connection, by repeatedly determining to access the network corresponding to the first network mode, it is ensured that the network accessed by the terminal is in a stable state.

[0060] It is understandable that when the number of accesses is greater than or equal to the first preset number threshold, the network measurement of the network corresponding to the second network mode in the preset network mode can be stopped. Since the terminal has already accessed the network, there is no need to perform network measurement on the second network mode, which reduces the scope of network measurement and reduces device power consumption.

[0061] In other embodiments, when access to the network corresponding to the first network mode fails according to the first network measurement result, if it is determined according to the second network measurement result corresponding to the second network mode that access to the network corresponding to the second network mode fails, and the number of access failures reaches a second preset number threshold, network measurement of the network corresponding to the second network mode is stopped. In this way, multiple determinations of network access failures can improve the accuracy of the judgment of the access network result, and avoid the impact of network access failures caused by network fluctuations on the access network result.

[0062] For example, when access to the network corresponding to the first network mode fails according to the first network measurement result, if access to the network corresponding to the second network mode fails according to the second network measurement result corresponding to the second network mode within the first preset time range, and the number of access failures reaches the second preset number threshold, the network measurement of the network corresponding to the second network mode is stopped. In this way, by setting the time range for network measurement, it is avoided that the network measurement time is too long, which affects the network connection of the terminal.

[0063] For example, when access to the network corresponding to the first network mode fails according to the first network measurement result, if access to the network corresponding to the second network mode fails according to the second network measurement result corresponding to the second network mode within the first preset time range, and the number of access failures is greater than or equal to the second preset number threshold, the network measurement of the network corresponding to the second network mode is stopped. The second preset number threshold can be in the range of 2-10 times, for example, 2 times, 3 times or 5 times, etc., which is not limited here. In this way, when it is determined that the network corresponding to the second network mode cannot be accessed, the network measurement of the network corresponding to the second network mode can be stopped, and the accuracy of the measurement results can be improved through multiple confirmations.

[0064] In some embodiments, when the network corresponding to the first network mode is successfully accessed according to the first network measurement result, if the network connection corresponding to the first network mode is interrupted, the network corresponding to the second network mode is accessed. For example, the network measurement of the network corresponding to the second network mode can be performed by the second network measurement method. Through the full-band network measurement, the terminal can quickly find a network that can be accessed, thereby improving work efficiency.

[0065] In other embodiments, when the network corresponding to the first network mode is successfully accessed according to the first network measurement result, if the network connection corresponding to the first network mode is interrupted within the second preset time range, the network corresponding to the second network mode is accessed. In this way, the network measurement time is limited by the preset time range to avoid the situation where the network measurement time is too long and the network is interrupted, which affects the user experience.

[0066] It should be noted that the second network mode can also be removed from the blocking set and connected to the network corresponding to the second network mode, so that the terminal can access the network as soon as possible.

[0067] In some embodiments, when access to the network corresponding to the first network mode is successful according to the first network measurement result, stopping network measurement of the network corresponding to the second network mode may include: when it is determined that the second network mode is not a network mode prohibited by the operator corresponding to the user identity card of the terminal, and access to the network corresponding to the first network mode is successful according to the first network measurement result, stopping network measurement of the network corresponding to the second network mode. In this way, there is no need to measure the second network mode, which reduces the measurement process and improves work efficiency.

[0068] In other embodiments, when it is determined that the second network mode is a network mode that the operator corresponding to the user identity card of the terminal prohibits connection, the network measurement of the network corresponding to the second network mode can be stopped. In this way, there is no need to judge whether the first network mode can access the network, which reduces the process of network measurement and improves work efficiency.

[0069] In some embodiments, the above determination of whether the second network mode is a network mode prohibited from connection by the operator corresponding to the user identity identification card of the terminal can be performed in the following manner: obtaining the network prohibited connection information of the operator corresponding to the user identity identification card of the terminal; the network prohibited connection information includes the network mode prohibited from accessing the network in the target area; the target area is the area where the terminal is located; according to the network prohibited information, determining whether the second network mode is a network mode prohibited from connection by the operator corresponding to the user identity identification card of the terminal. In the case where the second network mode is included in the network prohibited connection information, determining that the second network mode is a network mode prohibited from connection by the operator corresponding to the user identity identification card of the terminal; in the case where it is determined that the second network mode is not included in the network prohibited connection information, determining that the second network mode is not a network mode prohibited from connection by the operator corresponding to the user identity identification card of the terminal.

[0070] For example, the target area may include one or more cells; the user identity card may be a SIM card; the SIM card may be installed in the SIM module of the terminal. The PLMN (Public Land Mobile Network) information of the target area may be obtained through the user identity card of the terminal; the PLMN information may include network connection prohibition information; and according to the network connection prohibition information, it is determined whether the second network mode is a network mode prohibited from connection by the operator corresponding to the user identity card of the terminal. In this way, when it is determined that the target area where the terminal is located prohibits connection to the network corresponding to the second network mode, network measurement of the network corresponding to the second network mode may be directly stopped to reduce device power consumption.

[0071] In other embodiments, the terminal may include a cell information monitoring module (CellInfoMonitor), an AS module and a SIM module; the cell information monitoring module may be set on the MODEM of the terminal. The cell information monitoring module is used to perform network measurement and network connection; the AS module is used to transmit control information of the cell information monitoring module; the SIM module is used to obtain PLMN information of the terminal in the target area, and the PLMN information may include one or more network modes.

[0072] When the terminal is in operation, the cell information monitoring module can register the card insertion notification with the SIM module. When the terminal is connected to the user identity card, the SIM module obtains the PLMN information on the user identity card and transmits it to the cell information monitoring module through the AS module. Then, the cell information monitoring module can determine whether the second network mode is a network mode prohibited from connection by the operator corresponding to the user identity card of the terminal based on the network connection prohibition information in the PLMN information. In this way, when it is determined that the second network mode is a network mode prohibited from accessing the network, the network measurement of the network corresponding to the second network mode can be directly stopped to improve work efficiency.

[0073] Figure 2 FIG. 2 is a structural block diagram of a network measurement device 200 according to an exemplary embodiment. Figure 2 , the device includes a detection module 210 and a determination module 220.

[0074] The acquisition module 210 is configured to acquire a first network measurement result corresponding to the first network mode.

[0075] The stopping module 220 is configured to stop performing network measurement on the network corresponding to the second network mode when access to the network corresponding to the first network mode is successful according to the first network measurement result; the network priority of the first network mode is higher than the network priority of the second network mode.

[0076] Through the above technical solution, when it is determined that the network corresponding to the first network mode can be accessed, network measurement and network connection are no longer performed on the second preset network mode, which narrows the scope of network measurement, reduces device power consumption, and improves work efficiency.

[0077] Optionally, the device further comprises:

[0078] The first stopping module is configured to stop performing network measurement on the network corresponding to the second network mode in the preset network mode when the network corresponding to the first network mode is accessed according to the first network measurement result and the number of accesses to the network corresponding to the first network mode reaches a first preset number threshold.

[0079] Optionally, the device further comprises:

[0080] The second stopping module is configured to stop performing network measurement on the network corresponding to the second network mode if, in the event that access to the network corresponding to the first network mode fails according to the network measurement result, it is determined according to the second network measurement result corresponding to the second network mode that access to the network corresponding to the second network mode fails, and the number of access failures reaches a second preset number threshold.

[0081] Optionally, the device further comprises:

[0082] The third stopping module is configured to access the network corresponding to the second network mode if the network connection corresponding to the first network mode is interrupted when access to the network corresponding to the first network mode is successful according to the first network measurement result.

[0083] Optionally, the device further comprises:

[0084] The fourth stopping module is configured to stop performing network measurement on the network corresponding to the second network mode when it is determined that the second network mode is not a network mode prohibited by the operator corresponding to the user identity card of the terminal, and access to the network corresponding to the first network mode is successful according to the first network measurement result.

[0085] Optionally, the device further comprises:

[0086] The fifth stopping module is configured to stop performing network measurement on the network corresponding to the second network mode when it is determined that the second network mode is a network mode prohibited from connection by the operator corresponding to the user identity card of the terminal.

[0087] In summary, the present disclosure provides a method, device, electronic device, storage medium and chip for network measurement; by obtaining a first network measurement result corresponding to a first network mode; when access to the network corresponding to the first network mode is successful according to the first network measurement result, stopping network measurement on the network corresponding to the second network mode; the network priority of the first network mode is higher than the network priority of the second network mode; by no longer performing network measurement and network connection on the second preset network mode when it is determined that the network corresponding to the first network mode can be accessed, the scope of network measurement is narrowed, the power consumption of the device is reduced, and the work efficiency is improved.

[0088] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0089] The present disclosure also provides a computer-readable storage medium on which computer program instructions are stored. When the program instructions are executed by a processor, the steps of the network measurement method provided by the present disclosure are implemented.

[0090] Figure 3 3 is a block diagram of an electronic device 300 according to an exemplary embodiment. For example, the electronic device 300 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0091] Reference Figure 3 , the electronic device 300 may include one or more of the following components: a processing component 302 , a memory 304 , a power component 306 , a multimedia component 308 , an audio component 310 , an input / output interface 312 , a sensor component 314 , and a communication component 316 .

[0092] The processing component 302 generally controls the overall operation of the electronic device 300, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 302 may include one or more processors 320 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 302 may include one or more modules to facilitate the interaction between the processing component 302 and other components. For example, the processing component 302 may include a multimedia module to facilitate the interaction between the multimedia component 308 and the processing component 302.

[0093] The memory 304 is configured to store various types of data to support operations on the electronic device 300. Examples of such data include instructions for any application or method operating on the electronic device 300, contact data, phone book data, messages, pictures, videos, etc. The memory 304 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0094] The power supply component 306 provides power to the various components of the electronic device 300. The power supply component 306 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 300.

[0095] The multimedia component 308 includes a screen that provides an output interface between the electronic device 300 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 308 includes a front camera and / or a rear camera. When the electronic device 300 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0096] The audio component 310 is configured to output and / or input audio signals. For example, the audio component 310 includes a microphone (MIC), and when the electronic device 300 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 304 or sent via the communication component 316. In some embodiments, the audio component 310 also includes a speaker for outputting audio signals.

[0097] The input / output interface 312 provides an interface between the processing component 302 and the peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0098] The sensor assembly 314 includes one or more sensors for providing various aspects of status assessment for the electronic device 300. For example, the sensor assembly 314 can detect the open / closed state of the electronic device 300, the relative positioning of components, such as the display and keypad of the electronic device 300, and the sensor assembly 314 can also detect the position change of the electronic device 300 or a component of the electronic device 300, the presence or absence of user contact with the electronic device 300, the orientation or acceleration / deceleration of the electronic device 300, and the temperature change of the electronic device 300. The sensor assembly 314 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 314 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 314 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0099] The communication component 316 is configured to facilitate wired or wireless communication between the electronic device 300 and other devices. The electronic device 300 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 316 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 316 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0100] In an exemplary embodiment, the electronic device 300 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.

[0101] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 304 including instructions, and the instructions can be executed by the processor 320 of the electronic device 300 to complete the above-mentioned network measurement method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0102] In addition to being an independent electronic device, the above-mentioned electronic device may also be a part of an independent electronic device. For example, in one embodiment, the electronic device may be an integrated circuit (IC) or a chip, wherein the integrated circuit may be an IC or a collection of multiple ICs; the chip may include but is not limited to the following types: GPU (Graphics Processing Unit), CPU (Central Processing Unit), FPGA (Field Programmable Gate Array), DSP (Digital Signal Processor), ASIC (Application Specific Integrated Circuit), SOC (System on Chip, SoC), etc. The above-mentioned integrated circuit or chip can be used to execute executable instructions (or codes) to implement the above-mentioned network measurement method. The executable instructions may be stored in the integrated circuit or chip, or may be obtained from other electronic devices or devices, such as the integrated circuit or chip including a processor, a memory, and an interface for communicating with other electronic devices. The executable instruction may be stored in the memory, and when the executable instruction is executed by the processor, the above-mentioned network measurement method may be implemented; alternatively, the integrated circuit or chip may receive the executable instruction through the interface and transmit it to the processor for execution, so as to implement the above-mentioned network measurement method.

[0103] In another exemplary embodiment, a computer program product is further provided. The computer program product includes a computer program that can be executed by a programmable electronic device. The computer program has a code portion for executing the above network measurement method when executed by the programmable electronic device.

[0104] Figure 4 FIG. 4 is a block diagram of another electronic device 400 according to an exemplary embodiment. For example, the electronic device 400 may be provided as a server. Figure 4 The electronic device 400 includes a processing component 422, which further includes one or more processors, and a memory resource represented by a memory 432 for storing instructions executable by the processing component 422, such as an application. The application stored in the memory 432 may include one or more modules, each corresponding to a set of instructions. In addition, the processing component 422 is configured to execute instructions to perform the above-mentioned network measurement method.

[0105] The electronic device 400 may also include a power supply component 426 configured to perform power management of the electronic device 400, a wired or wireless network interface 450 configured to connect the electronic device 400 to a network, and an input / output interface 458. The electronic device 400 may operate based on an operating system stored in the memory 432, such as Windows Server 2008. TM , Mac OS X TM , Unix TM , Linux TM , FreeBSD TM or similar.

[0106] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the present disclosure. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered as exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0107] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A network measurement method, characterized in that: The method comprises: Obtaining a first network measurement result corresponding to the first network mode; When access to the network corresponding to the first network mode is successful according to the first network measurement result, network measurement of the network corresponding to the second network mode is stopped; the network priority of the first network mode is higher than the network priority of the second network mode.

2. The method according to claim 1, characterized in that In the case where access to the network corresponding to the first network mode is successful according to the first network measurement result, stopping network measurement on the network corresponding to the second network mode includes: When accessing the network corresponding to the first network mode according to the first network measurement result and the number of accesses to the network corresponding to the first network mode reaches a first preset number threshold, stop performing network measurement on the network corresponding to the second network mode in the preset network mode.

3. The method according to claim 1, characterized in that: The method further comprises: In the event that access to the network corresponding to the first network mode fails according to the first network measurement result, if it is determined that access to the network corresponding to the second network mode has failed according to the second network measurement result corresponding to the second network mode, and the number of access failures reaches a second preset number threshold, stop performing network measurement on the network corresponding to the second network mode.

4. The method according to claim 1, characterized in that: The method further comprises: In the case where access to the network corresponding to the first network mode is successful according to the first network measurement result, if the network connection corresponding to the first network mode is interrupted, access to the network corresponding to the second network mode is performed.

5. The method according to any one of claims 1 to 4, characterized in that In the case where access to the network corresponding to the first network mode is successful according to the first network measurement result, stopping network measurement on the network corresponding to the second network mode includes: When it is determined that the second network mode is not a network mode prohibited by the operator corresponding to the user identity card of the terminal, and access to the network corresponding to the first network mode is successful according to the first network measurement result, stop performing network measurement on the network corresponding to the second network mode.

6. The method according to claim 5, characterized in that The method further comprises: When it is determined that the second network mode is a network mode prohibited from connection by an operator corresponding to the user identity card of the terminal, network measurement of the network corresponding to the second network mode is stopped.

7. A network-connected device, characterized in that: The device comprises: An acquisition module, configured to acquire a network measurement result corresponding to the first network mode; The access module is configured to stop performing network measurement on the network corresponding to the second network mode when access to the network corresponding to the first network mode is successful according to the network measurement result; the network priority of the first network mode is higher than the network priority of the second network mode.

8. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to implement the steps of the method according to any one of claims 1 to 7 when executed.

9. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the program instructions are executed by a processor, the steps of the method described in any one of claims 1 to 7 are implemented.

10. A chip, characterized in that: The method comprises a processor and an interface; the processor is used to read instructions to execute the method according to any one of claims 1 to 7.