WO2022143165A1 - Method and apparatus for determining network standard - Google Patents

Method and apparatus for determining network standard Download PDF

Info

Publication number
WO2022143165A1
WO2022143165A1 PCT/CN2021/138228 CN2021138228W WO2022143165A1 WO 2022143165 A1 WO2022143165 A1 WO 2022143165A1 CN 2021138228 W CN2021138228 W CN 2021138228W WO 2022143165 A1 WO2022143165 A1 WO 2022143165A1
Authority
WO
WIPO (PCT)
Prior art keywords
app
network standard
terminal device
network
processor
Prior art date
Application number
PCT/CN2021/138228
Other languages
French (fr)
Chinese (zh)
Inventor
朱勇
金东洙
孟庆吉
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2022143165A1 publication Critical patent/WO2022143165A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/20Transfer of user or subscriber data
    • H04W8/205Transfer to or from user equipment or user record carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/20Transfer of user or subscriber data

Definitions

  • the present application relates to the field of communication technologies, and in particular, to a method and apparatus for determining a network standard.
  • the wireless communication system has experienced a variety of network standards.
  • 2G second generation
  • 3rd-generation, 3G third-generation
  • WCDMA wideband code division multiple access
  • long term evolution long term evolution
  • 4th-generation, 4G fourth generation
  • 5G fifth generation network standard represented by new radio communication
  • the network standards supported by terminal devices are increasingly diversified.
  • some terminal devices can support 4G network standard and 5G network standard.
  • different network standards often have different advantages.
  • 5G network standards can provide faster network speed and higher spectrum utilization, while compared with 5G network standards, 4G network standards have lower power consumption. Therefore, different network standards are often suitable for different application scenarios.
  • a blacklist is usually set in the terminal device, and multiple application programs (application, APP) are recorded in the blacklist.
  • APP application program
  • the terminal device can be adjusted to the 4G network standard to reduce power consumption; when the APP running on the terminal device is not the one recorded in the blacklist, the terminal device can be adjusted to the 5G network standard. to increase internet speed.
  • the number of APPs is relatively large, and this method can only consider whether some APPs are suitable to be recorded in the blacklist.
  • the blacklist is often set in the terminal device before the terminal device leaves the factory. Therefore, it cannot consider the newly emerging APP. Whether it is suitable to be recorded in the blacklist. Therefore, when the network standard of the terminal device is determined by the existing method, the flexibility is poor.
  • embodiments of the present application provide a method and device for determining a network standard.
  • an embodiment of the present application discloses a method for determining a network format, including:
  • the terminal device displaying a first selection bar of a first application program APP installed in the terminal device, where the first selection bar includes at least two network standards supported by the terminal device;
  • the network standard of the terminal device is the target network standard.
  • the network standard of the terminal device in the process of applying the first APP can be adjusted according to the first operation.
  • This solution is applicable to each APP installed in the terminal device, so that the network standard of the terminal device can be flexibly determined.
  • An optional design also includes:
  • the first information of the first APP is displayed, where the first information includes: a network standard applicable to the first APP.
  • the terminal device can display the first information of the first APP, so that the user can know the requirements of the first APP for the network standard when viewing the first information, and it is convenient for the user to select the corresponding network standard for the first APP.
  • the displaying the first information of the first APP includes:
  • the recent task list of the terminal device includes the first APP, displaying the first information of the first APP in the recent task list;
  • the displaying the first information of the first APP includes:
  • the first APP of the first APP is displayed on the display interface of the first APP. information.
  • the user when the user views the recent task list, the user can view the first information of the first APP.
  • the first information may be displayed to prompt the user.
  • the first parameter includes at least one of the following parameters: the total amount of data of the first APP in the first time period, the peak download speed of the first APP, the The signal quality of the base station to which the terminal device is linked and the remaining battery power of the terminal device.
  • the at least two network standards include a first network standard and a second network standard, and the power consumption of the terminal device under the first network standard is lower than the power consumption of the terminal device under the second network standard.
  • the network speed of the terminal device under the first network standard is lower than the network speed of the terminal device under the second network standard;
  • the first parameter includes the total amount of data of the first APP in the first time period, and determining the network standard applicable to the first APP according to the first parameter includes:
  • the total amount of data of the first APP in the first time period is greater than the first threshold, and it is determined that the network standard applicable to the first APP is the second network standard;
  • the first parameter includes the peak download speed of the first APP, and the network standard applicable to the first APP is determined according to the first parameter, including:
  • the peak download speed of the first APP is greater than the second threshold, and it is determined that the network standard applicable to the first APP is the second network standard;
  • the first parameter includes the signal quality of the base station to which the terminal device is linked, and determining the network standard applicable to the first APP according to the first parameter includes:
  • the quality of the signal of the base station linked by the terminal device is greater than a third threshold, and it is determined that the network standard applicable to the first APP is the network standard corresponding to the signal;
  • the first parameter includes the remaining power of the terminal device, and the network standard applicable to the first APP is determined according to the first parameter, including:
  • the network standard applicable to the first APP is the first network standard.
  • the network standard applicable to the first APP can be determined according to the first parameter of the first APP in the application process.
  • An optional design also includes:
  • the first selection bar further includes a smart option, receiving a second operation for the smart option
  • the network standard of the terminal device is determined according to the first parameter of the first APP in the application process.
  • the terminal device after receiving the second operation, the terminal device can spontaneously determine the network standard of the terminal device according to the first parameter of the first APP in the application process, so that the terminal device can be timely based on the first parameter of the first APP.
  • the application situation realize the adjustment of the network standard.
  • An optional design also includes:
  • the network standard of the terminal device is the target network standard.
  • the efficiency of the terminal device in determining the target network standard can be improved.
  • the first selection bar of the first APP installed in the display terminal device includes:
  • the first selection bar is displayed within a third time period after receiving the fourth operation on the display interface of the first APP.
  • an apparatus for determining a network standard including:
  • the processor is configured to control the display to display a first selection bar of a first application program APP installed in the terminal device, where the first selection bar includes at least two network standards supported by the terminal device;
  • the transceiver interface receives a first operation for the first selection column, where the first operation is used to select a target network standard among the at least two network standards;
  • the processor is further configured to, in the process of applying the first APP, determine that the network standard of the terminal device is the target network standard.
  • the processor is further configured to determine a first parameter of the first APP in the application process, determine a network standard applicable to the first APP according to the first parameter, and control the The display displays first information of the first APP, where the first information includes: a network standard applicable to the first APP.
  • the processor is specifically configured to, if the recent task list of the terminal device includes the first APP, control the display to display the first APP in the recent task list.
  • the processor is specifically configured to determine whether the network standard of the terminal device is the same as the network standard applicable to the first APP;
  • the network standard of the terminal device is different from the network standard applicable to the first APP, in the process of applying the first APP, control the display to display the first APP on the display interface of the first APP The first information of the APP.
  • the first parameter includes at least one of the following parameters: the total amount of data of the first APP in the first time period, the peak download speed of the first APP, the The signal quality of the base station to which the terminal device is linked and the remaining battery power of the terminal device.
  • the at least two network standards include a first network standard and a second network standard, and the power consumption of the terminal device under the first network standard is lower than the power consumption of the terminal device under the second network standard.
  • the network speed of the terminal device under the first network standard is lower than the network speed of the terminal device under the second network standard;
  • the first parameter includes the total amount of data of the first APP in the first time period, and the processor is specifically configured to: the total amount of data of the first APP in the first time period is greater than the first threshold, determining that the network standard applicable to the first APP is the second network standard;
  • the first parameter includes the peak download speed of the first APP, and the processor is specifically configured to, when the peak download speed of the first APP is greater than the second threshold, determine that the network standard applicable to the first APP is all the second network standard;
  • the first parameter includes the quality of the signal of the base station linked to the terminal device, and the processor is specifically configured to, when the quality of the signal of the base station linked to the terminal device is greater than a third threshold, determine whether the first APP is applicable.
  • the network standard is the network standard corresponding to the signal;
  • the first parameter includes the remaining power of the terminal device, and according to the first parameter, the processor is specifically configured to, if the remaining power of the terminal device is less than a fourth threshold, determine the first APP
  • the applicable network standard is the first network standard.
  • the first selection bar also includes smart options
  • the processor is further configured to receive a second operation for the smart option, and in the process of applying the first APP, determine the terminal device according to the first parameter of the first APP in the application process network format.
  • the processor is further configured to store the correspondence between the first APP and the target network standard, and when the first APP runs in the foreground, according to the correspondence , and determine that the network standard of the terminal device is the target network standard.
  • the processor is specifically configured to, within a second time period after the first APP is opened, control the display to display the first selection bar;
  • the processor is specifically configured to, within a third time period after receiving a fourth operation on the display interface of the first APP, control the display to display the first selection bar.
  • an embodiment of the present application provides a terminal device, including:
  • the memory for storing program instructions
  • the processor is configured to call and execute the program instructions stored in the memory, so that the terminal device executes the method of the first aspect.
  • an embodiment of the present application provides a computer-readable storage medium
  • the computer-readable storage medium has stored therein instructions which, when run on a computer, cause the computer to perform the method of the first aspect.
  • an embodiment of the present application provides a computer program product containing instructions, when the computer program product runs on an electronic device, the electronic device is caused to execute the method according to the first aspect.
  • the network standard of the terminal device in the process of applying the first APP can be adjusted according to the first operation.
  • This solution is suitable for each APP installed in the terminal device, without being restricted by the blacklist, and the user can make a corresponding first operation according to his own requirements for the network standard, so that the terminal device can run the above mentioned network standard through the corresponding network standard.
  • the first APP Therefore, compared with the prior art, the solution of the present application has higher flexibility when determining the network standard of the terminal device.
  • FIG. 1 is a schematic structural diagram of a terminal device disclosed in an embodiment of the present application.
  • FIG. 2 is a schematic diagram of a software structural block diagram of a terminal device disclosed in an embodiment of the present application
  • FIG. 3 is a schematic workflow diagram of a method for determining a network format disclosed in an embodiment of the present application
  • FIG. 4(a) is a schematic interface diagram of a first selection column in a method for determining a network format disclosed in an embodiment of the present application;
  • FIG. 4(b) is a schematic interface diagram of another first selection bar in a method for determining a network format disclosed in an embodiment of the present application;
  • 5(a) is a schematic interface diagram of a recent task list in a method for determining a network format disclosed in an embodiment of the present application;
  • FIG. 5(b) is a schematic interface diagram of another recent task list in a method for determining a network format disclosed in an embodiment of the present application;
  • FIG. 6(a) is a schematic interface diagram of another first selection bar in a method for determining a network format disclosed in an embodiment of the present application;
  • FIG. 6(b) is a schematic interface diagram of another first selection bar in a method for determining a network format disclosed in an embodiment of the present application;
  • FIG. 7 is a schematic workflow diagram of a method for determining a network format disclosed in an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of an apparatus for determining a network standard disclosed in an embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of a terminal device disclosed in an embodiment of the present application.
  • references in this specification to "one embodiment” or “some embodiments” and the like mean that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application.
  • appearances of the phrases “in one embodiment,” “in some embodiments,” “in other embodiments,” “in other embodiments,” etc. in various places in this specification are not necessarily All refer to the same embodiment, but mean “one or more but not all embodiments” unless specifically emphasized otherwise.
  • the terms “including”, “including”, “having” and their variants mean “including but not limited to” unless specifically emphasized otherwise.
  • the same terminal device can often support multiple network standards.
  • smartphones can often support 4G network standards and 5G network standards at the same time.
  • the network speed of each generation of network standards is gradually increasing, but the power consumption of each generation of network standards is often higher and higher.
  • the 5G network standard can provide faster network speed and higher spectrum utilization, but the power consumption of the 5G network standard is higher than that of the 4G network standard.
  • the difference in power consumption of the same smartphone under the 5G network standard and the 4G network standard is usually about 100mA/h.
  • the power consumption of the 4G network standard is lower, but the network speed of the 4G network standard is often lower than that of the 5G network standard. Therefore, different network standards are often suitable for different application scenarios.
  • a blacklist can be configured in the terminal device before the terminal device leaves the factory. Multiple APPs are recorded in the blacklist.
  • the APP is usually an APP with high power consumption, or a Apps that do not require high internet speed.
  • the terminal device determines that its own network standard is the 4G network standard to reduce its own power consumption; if the APP running on the terminal device is not recorded in the blacklist In the blacklist, the terminal device determines that its own network standard is the 5G network standard to improve the network speed.
  • the terminal device runs a different APP, it can switch to the network standard applicable to the APP.
  • the number of APPs is relatively large, and the blacklist often only includes some APPs, and the current technical solution can only consider whether some APPs are suitable to be recorded in the blacklist.
  • terminal devices run other apps that are not considered, they often cannot take advantage of different network standards.
  • the blacklist is set in the terminal device.
  • new APPs are often developed. In this case, it cannot be considered whether the newly appeared APP is suitable to be recorded in the blacklist, and accordingly, the terminal device cannot take advantage of different network standards when running the newly appeared APP.
  • the APPs recorded in the blacklist are often fixed, and the actual application situation of the user cannot be considered. For example, if a certain APP is recorded in the blacklist, even if the user wants to use the APP with a higher network speed, the terminal device will use the 4G network standard, which cannot meet the user's demand for high network speed.
  • embodiments of the present application provide a method and device for determining a network standard.
  • the implementation of the embodiments of the present application will be described in detail below with reference to the accompanying drawings.
  • the method for determining the network standard can be applied to various terminal devices.
  • the terminal device may be a mobile phone, a tablet computer, a desktop, a laptop, a notebook computer, an Ultra-mobile Personal Computer (UMPC), a handheld computer, a netbook, etc., which can support different networks Standard terminal device, this application does not specifically limit the specific form of the terminal device.
  • UMPC Ultra-mobile Personal Computer
  • the terminal device may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, Antenna 1, Antenna 2, RF Module 150, Communication Module 160, Audio Module 170, Speaker 170A, Receiver 170B, Microphone 170C, Headphone Jack 170D, Sensor Module 180, Key 190, Motor 191, Indicator 192, Camera 193, Display Screen 194, and a subscriber identification module (subscriber identification module, SIM) card interface 195 and so on.
  • SIM subscriber identification module
  • the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the mobile phone.
  • the mobile phone may include more or less components than shown, or some components may be combined, or some components may be separated, or different component arrangements.
  • the illustrated components may be implemented in hardware, software, or a combination of software and hardware.
  • the processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU) Wait. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
  • application processor application processor, AP
  • modem processor graphics processor
  • graphics processor graphics processor
  • ISP image signal processor
  • controller memory
  • video codec digital signal processor
  • DSP digital signal processor
  • NPU neural-network processing unit
  • the controller can be the nerve center and command center of the mobile phone.
  • the controller can generate an operation control signal according to the instruction operation code and timing signal, and complete the control of fetching and executing instructions.
  • a memory may also be provided in the processor 110 for storing instructions and data.
  • the memory in processor 110 is cache memory. This memory may hold instructions or data that have just been used or recycled by the processor 110 . If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby increasing the efficiency of the system.
  • the processor 110 may include one or more interfaces.
  • the interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous transceiver (universal asynchronous transmitter) receiver/transmitter, UART) interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, subscriber identity module (SIM) interface, and / or universal serial bus (universal serial bus, USB) interface, etc.
  • I2C integrated circuit
  • I2S integrated circuit built-in audio
  • PCM pulse code modulation
  • PCM pulse code modulation
  • UART universal asynchronous transceiver
  • MIPI mobile industry processor interface
  • GPIO general-purpose input/output
  • SIM subscriber identity module
  • USB universal serial bus
  • the I2C interface is a bidirectional synchronous serial bus that includes a serial data line (SDA) and a serial clock line (SCL).
  • the processor 110 may contain multiple sets of I2C buses.
  • the processor 110 can be respectively coupled to the touch sensor 180K, the charger, the flash, the camera 193 and the like through different I2C bus interfaces.
  • the processor 110 may couple the touch sensor 180K through the I2C interface, so that the processor 110 and the touch sensor 180K communicate with each other through the I2C bus interface, so as to realize the touch function of the mobile phone.
  • the I2S interface can be used for audio communication.
  • the processor 110 may contain multiple sets of I2S buses.
  • the processor 110 may be coupled with the audio module 170 through an I2S bus to implement communication between the processor 110 and the audio module 170 .
  • the audio module 170 can transmit audio signals to the communication module 160 through the I2S interface, so as to realize the function of answering calls through the Bluetooth headset.
  • the PCM interface can also be used for audio communications, sampling, quantizing and encoding analog signals.
  • audio module 170 and communication module 160 may be coupled through a PCM bus interface.
  • the audio module 170 can also transmit audio signals to the communication module 160 through the PCM interface, so as to realize the function of answering calls through the Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
  • the UART interface is a universal serial data bus used for asynchronous communication.
  • the bus may be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication.
  • a UART interface is typically used to connect the processor 110 with the communication module 160 .
  • the processor 110 communicates with the Bluetooth module in the communication module 160 through the UART interface to implement the Bluetooth function.
  • the audio module 170 can transmit audio signals to the communication module 160 through the UART interface, so as to realize the function of playing music through the Bluetooth headset.
  • the MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193 .
  • MIPI interfaces include camera serial interface (CSI), display serial interface (DSI), etc.
  • the processor 110 communicates with the camera 193 through a CSI interface to implement the shooting function of the mobile phone.
  • the processor 110 communicates with the display screen 194 through the DSI interface to realize the display function of the mobile phone.
  • the GPIO interface can be configured by software.
  • the GPIO interface can be configured as a control signal or as a data signal.
  • the GPIO interface may be used to connect the processor 110 with the camera 193, the display screen 194, the communication module 160, the audio module 170, the sensor module 180, and the like.
  • the GPIO interface can also be configured as I2C interface, I2S interface, UART interface, MIPI interface, etc.
  • the USB interface 130 is an interface that conforms to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, and the like.
  • the USB interface 130 can be used to connect a charger to charge the mobile phone, and can also be used to transfer data between the mobile phone and peripheral devices. It can also be used to connect headphones to play audio through the headphones.
  • the interface can also be used to connect other terminal devices, such as AR equipment.
  • the interface connection relationship between the modules illustrated in the embodiments of the present application is only a schematic illustration, and does not constitute a structural limitation of the mobile phone.
  • the mobile phone may also adopt different interface connection manners in the foregoing embodiments, or a combination of multiple interface connection manners.
  • the charging management module 140 is used to receive charging input from the charger.
  • the charger may be a wireless charger or a wired charger.
  • the charging management module 140 may receive charging input from the wired charger through the USB interface 130 .
  • the charging management module 140 may receive wireless charging input through the wireless charging coil of the mobile phone. While the charging management module 140 charges the battery 142 , it can also supply power to the terminal device through the power management module 141 .
  • the power management module 141 is used for connecting the battery 142 , the charging management module 140 and the processor 110 .
  • the power management module 141 receives input from the battery 142 and/or the charge management module 140 and supplies power to the processor 110 , the internal memory 121 , the external memory, the display screen 194 , the camera 193 , and the communication module 160 .
  • the power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, battery health status (leakage, impedance).
  • the power management module 141 may also be provided in the processor 110 .
  • the power management module 141 and the charging management module 140 may also be provided in the same device.
  • the wireless communication function of the mobile phone can be realized by the antenna 1, the antenna 2, the radio frequency module 150, the communication module 160, the modulation and demodulation processor, the baseband processor, and the like.
  • Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in a cell phone can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • the antenna 1 can be multiplexed as a diversity antenna of the wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
  • the radio frequency module 150 can provide wireless communication solutions including 2G/3G/4G/5G etc. applied to the mobile phone.
  • the radio frequency module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA) and the like.
  • the radio frequency module 150 can receive electromagnetic waves from the antenna 1, filter and amplify the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation.
  • the radio frequency module 150 can also amplify the signal modulated by the modulation and demodulation processor, and then convert it into electromagnetic waves for radiation through the antenna 1 .
  • at least part of the functional modules of the radio frequency module 150 may be provided in the processor 110 .
  • at least part of the functional modules of the radio frequency module 150 may be provided in the same device as at least part of the modules of the processor 110 .
  • the modem processor may include a modulator and a demodulator.
  • the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. Then the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing.
  • the low frequency baseband signal is processed by the baseband processor and passed to the application processor.
  • the application processor outputs sound signals through audio devices (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or videos through the display screen 194 .
  • the modem processor may be a stand-alone device.
  • the modulation and demodulation processor may be independent of the processor 110, and may be provided in the same device as the radio frequency module 150 or other functional modules.
  • the communication module 160 can provide applications on the mobile phone including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (global Navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions.
  • WLAN wireless local area networks
  • BT Bluetooth
  • GNSS global navigation satellite system
  • frequency modulation frequency modulation
  • FM near field communication technology
  • NFC near field communication technology
  • IR infrared technology
  • the communication module 160 may be one or more devices integrating at least one communication processing module.
  • the communication module 160 receives electromagnetic waves via the antenna 2 , frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 .
  • the communication module 160 can also receive the signal to be sent from the processor 110 , perform frequency modulation on it, amplify the signal, and then convert it into electromagnetic waves for radiation through the antenna
  • the antenna 1 of the mobile phone is coupled with the radio frequency module 150, and the antenna 2 is coupled with the communication module 160, so that the mobile phone can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technologies may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code Division Multiple Access (WCDMA), Time Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC , FM, and/or IR technology, etc.
  • the GNSS may include a global positioning system (global positioning system, GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite based augmentation systems (SBAS).
  • GPS global positioning system
  • GLONASS global navigation satellite system
  • BDS Beidou navigation satellite system
  • QZSS quasi-zenith satellite system
  • SBAS satellite based augmentation systems
  • the mobile phone realizes the display function through the GPU, the display screen 194, and the application processor.
  • the GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor.
  • the GPU is used to perform mathematical and geometric calculations for graphics rendering.
  • Processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
  • the display screen 194 may include a display and a touch device. The display is used for outputting display content to the user, and the touch device is used for receiving touch events input by the user on the display screen 194 .
  • the sensor module 180 may include a gyroscope, an acceleration sensor, a pressure sensor, an air pressure sensor, a magnetic sensor (eg, a Hall sensor), a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, a pyroelectric infrared sensor
  • a gyroscope an acceleration sensor, a pressure sensor, an air pressure sensor, a magnetic sensor (eg, a Hall sensor), a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, a pyroelectric infrared sensor
  • the mobile phone can realize the shooting function through ISP, camera 193, video codec, GPU, flexible display screen 194 and application processor.
  • the ISP is used to process the data fed back by the camera 193 .
  • the shutter is opened, the light is transmitted to the camera photosensitive element through the lens, the light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye.
  • ISP can also perform algorithm optimization on image noise, brightness, and skin tone.
  • ISP can also optimize the exposure, color temperature and other parameters of the shooting scene.
  • the ISP may be provided in the camera 193 .
  • Camera 193 is used to capture still images or video.
  • the object is projected through the lens to generate an optical image onto the photosensitive element.
  • the photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
  • CMOS complementary metal-oxide-semiconductor
  • the photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal.
  • the ISP outputs the digital image signal to the DSP for processing.
  • DSP converts digital image signals into standard RGB, YUV and other formats of image signals.
  • the mobile phone may include 1 or N cameras 193 , where N is a positive integer greater than 1.
  • a digital signal processor is used to process digital signals, in addition to processing digital image signals, it can also process other digital signals. For example, when the mobile phone selects the frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy, etc.
  • Video codecs are used to compress or decompress digital video.
  • a phone can support one or more video codecs.
  • the mobile phone can play or record videos in various encoding formats, such as: Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4 and so on.
  • MPEG Moving Picture Experts Group
  • MPEG2 MPEG2, MPEG3, MPEG4 and so on.
  • the NPU is a neural-network (NN) computing processor.
  • NN neural-network
  • applications such as intelligent cognition of mobile phones can be realized, such as image recognition, face recognition, speech recognition, text understanding, etc.
  • the external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the mobile phone.
  • the external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example to save files like music, video etc in external memory card.
  • Internal memory 121 may be used to store computer executable program code, which includes instructions.
  • the processor 110 executes various functional applications and data processing of the mobile phone by executing the instructions stored in the internal memory 121 .
  • the internal memory 121 may include a storage program area and a storage data area.
  • the storage program area can store an operating system, an application program required for at least one function (such as a sound playback function, an image playback function, etc.), and the like.
  • the storage data area can store data (such as audio data, phone book, etc.) created during the use of the mobile phone.
  • the internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (UFS), and the like.
  • the mobile phone can implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, and an application processor. For example, network standard determination, recording, etc.
  • the audio module 170 is used for converting digital audio information into analog audio signal output, and also for converting analog audio input into digital audio signal. Audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be provided in the processor 110 , or some functional modules of the audio module 170 may be provided in the processor 110 .
  • Speaker 170A also referred to as a “speaker” is used to convert audio electrical signals into sound signals.
  • the mobile phone can listen to music through the speaker 170A, or listen to hands-free calls.
  • the receiver 170B also referred to as "earpiece" is used to convert audio electrical signals into sound signals.
  • the voice can be received by placing the receiver 170B close to the human ear.
  • the microphone 170C also called “microphone” or “microphone” is used to convert sound signals into electrical signals.
  • the user can make a sound by approaching the microphone 170C through a human mouth, and input the sound signal into the microphone 170C.
  • the mobile phone may be provided with at least one microphone 170C.
  • the mobile phone may be provided with two microphones 170C, which in addition to collecting sound signals, may also implement a noise reduction function.
  • the mobile phone can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and implement directional recording functions.
  • the earphone jack 170D is used to connect wired earphones.
  • the earphone interface 170D can be the USB interface 130, or can be a 3.5mm open mobile terminal platform (OMTP) standard interface, a cellular telecommunications industry association of the USA (CTIA) standard interface.
  • OMTP open mobile terminal platform
  • CTIA cellular telecommunications industry association of the USA
  • the keys 190 include a power-on key, a volume key, and the like. Keys 190 may be mechanical keys. It can also be a touch key.
  • the cell phone can receive key input and generate key signal input related to user settings and function control of the cell phone.
  • Motor 191 can generate vibrating cues.
  • the motor 191 can be used for vibrating alerts for incoming calls, and can also be used for touch vibration feedback.
  • touch operations acting on different applications can correspond to different vibration feedback effects.
  • the motor 191 can also correspond to different vibration feedback effects for touch operations in different areas of the flexible display screen 194 .
  • Different application scenarios for example: time reminder, receiving information, alarm clock, games, etc.
  • the touch vibration feedback effect can also support customization.
  • the indicator 192 can be an indicator light, which can be used to indicate the charging state, the change of power, and can also be used to indicate a message, a missed call, a notification, and the like.
  • the SIM card interface 195 is used to connect a SIM card.
  • the SIM card can be inserted into the SIM card interface 195 or pulled out from the SIM card interface 195 to achieve contact and separation with the mobile phone.
  • the mobile phone can support 1 or N SIM card interfaces, where N is a positive integer greater than 1.
  • the SIM card interface 195 can support Nano SIM card, Micro SIM card, SIM card and so on. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the plurality of cards may be the same or different.
  • the SIM card interface 195 can also be compatible with different types of SIM cards.
  • the SIM card interface 195 is also compatible with external memory cards.
  • the mobile phone interacts with the network through the SIM card to realize functions such as calls and data communication.
  • the cell phone employs an eSIM, ie an embedded SIM card.
  • the eSIM card can be embedded in the mobile phone and cannot be separated from the mobile phone.
  • an operating system runs on the above-mentioned components.
  • the iOS operating system developed by Apple the Android open source operating system developed by Google
  • the Windows operating system developed by Microsoft the Windows operating system developed by Microsoft.
  • Applications can be installed and run on this operating system.
  • the embodiment of the present application further discloses the software structure of the terminal device.
  • the operating system of the terminal device may adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture, or the like.
  • the embodiments of the present application take an Android system with a layered architecture as an example to exemplarily describe the software structure of a terminal device.
  • FIG. 2 is an example diagram of a software structural block diagram of a terminal device according to an embodiment of the present application.
  • the layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Layers communicate with each other through software interfaces.
  • the Android system includes, from top to bottom, an application layer, a framework layer, a driver layer, and the like.
  • the driver layer includes a network standard switching module and a parameter statistics module, wherein the network standard switching module is used to switch the network standard of the terminal device.
  • the current network standard of the terminal device is a 4G network standard, and needs to be If the network standard of the terminal device is switched to the 5G network standard, the network standard switching module can switch the network standard of the terminal device from the 4G network standard to the 5G network standard.
  • the network mode switching module can realize the rapid switching of the network mode. In order to ensure that the user's network experience is not affected, the network mode switching module can usually be completed within a few milliseconds. Switching of network formats.
  • the parameter statistics module is configured to count the first parameter, wherein the first parameter usually includes at least one of the following parameters: the total amount of data of the first APP in the first time period, the first APP The peak download speed of the terminal device, the signal quality of the base station to which the terminal device is linked, and the remaining battery power of the terminal device.
  • the first parameter may be used as a reference for determining the network standard applicable to the first APP.
  • the parameter statistics module may also count other types of first parameters, which are not limited in this embodiment of the present application.
  • the framework layer is a link connecting the application layer and the driver layer.
  • the framework layer includes a parameter parsing module and a policy configuration module, and the parameter parsing module is used to obtain the first parameter transmitted by the driver layer, perform parsing processing on the first parameter, and also The first parameter is transmitted to the application layer, so that the application layer takes the first parameter as a reference when determining the network standard that the terminal device needs to switch to.
  • the policy configuration module is configured to receive and acquire the switching policy of the network standard transmitted by the application layer, the switching policy can indicate the network standard to be switched, and transmit the switching policy to the network standard switching in the driver layer module, so that the network standard switching module switches to the corresponding network standard according to the switching policy.
  • the application layer includes a network standard determination module and a display module, the display module can display a first selection bar, and the network standard determination module can determine the need to switch according to the received first operation for the first selection bar.
  • network format may also determine the network standard to be switched by the terminal device in other ways. For example, the network standard determination module may determine the network standard applicable to the first APP according to the first parameter transmitted by the framework layer, and use the network standard suitable for the first APP as the network standard that the terminal device needs to switch.
  • the network standard determination module can generate a corresponding network standard switching strategy, and transmit the switching strategy to the strategy configuration module to realize the network standard switching.
  • the software architecture shown in FIG. 2 may be located in a system on chip (SoC) of the end device.
  • SoC system on chip
  • an embodiment of the present application discloses a method for determining a network format, and the method includes the following steps:
  • Step S11 displaying a first selection bar of a first application program APP installed in the terminal device, where the first selection bar includes at least two network standards supported by the terminal device.
  • the first selection column may include the 4G network standard and the 5G network standard.
  • Step S12 Receive a first operation for the first selection field, where the first operation is used to select a target network standard among the at least two network standards.
  • the first selection bar may be implemented in various forms.
  • the first selection bar may be in the form of a progress bar, and in this case, the first operation may be dragging the progress bar operation, and the target network standard selected by the first operation can be determined according to the dragged position of the progress bar. It is set that at least two network standards supported by the terminal device include 5G network standards and 4G network standards.
  • the network standard corresponding to the top is the 5G network standard
  • the network standard corresponding to the bottom is the 4G network system
  • the target network standard is the 5G network standard
  • the target network standard is the 4G network standard
  • the first selection bar includes each network standard supported by the terminal device, and selection boxes corresponding to the network standard respectively.
  • the first operation is an operation of touching one of the selection boxes
  • the network standard corresponding to the touched selection box is the target network standard.
  • the 4G network standard and the 5G network standard are included, as well as the selection boxes corresponding to the 4G network standard and the 5G network standard respectively. If the first operation is to touch the selection box corresponding to the 5G network standard, the target network standard is the 5G network standard.
  • the first selection bar may also be in other forms, and correspondingly, the first operation may also be an operation in other forms, which is not limited in this embodiment of the present application.
  • Step S13 in the process of applying the first APP, determine that the network standard of the terminal device is the target network standard.
  • applying the first APP generally refers to running the first APP in the foreground of the terminal device.
  • the first APP can be run under the target network standard.
  • the network standard of the terminal device in the process of applying the first APP can be adjusted according to the first operation.
  • This solution is suitable for each APP installed in the terminal device, without being restricted by the blacklist, and the user can make a corresponding first operation according to his own requirements for the network standard, so that the terminal device can run the above-mentioned network standard through the corresponding network standard.
  • the first APP Therefore, compared with the prior art, the solution of the present application has higher flexibility when determining the network standard of the terminal device.
  • the first step is to determine the first parameter of the first APP in the application process.
  • the first parameter may generally reflect the network standard requirement of the first APP.
  • the first parameter includes at least one of the following parameters: the total amount of data of the first APP in the first time period, the peak download speed of the first APP, the link of the terminal device. The signal quality of the base station and the remaining battery power of the terminal device.
  • the first parameter may further include other parameters that can reflect the requirement of the first APP for the network standard, which is not limited in this embodiment of the present application.
  • the second step is to determine, according to the first parameter, a network standard applicable to the first APP.
  • the network standard applicable to the first APP is a network standard with a higher network speed; If the remaining power of the terminal device is low, it may be determined that the network standard applicable to the first APP is a network standard with low power consumption.
  • the third step is to display the first information of the first APP, where the first information includes: a network standard applicable to the first APP.
  • the user may use the first information as a reference for selecting the target network standard.
  • the first information includes a network standard applicable to the first APP. Further, the first information may further include the network requirements of the first APP. For example, if the first APP needs to consume a large amount of network traffic during the running process, the demand of the first APP on the network is a large amount of traffic, and the first information may also include a description of the large amount of traffic; if the During the running process of the first APP, the required network traffic is small, and the network demand of the first APP is a small traffic, and the first information may further include a description of the small traffic.
  • the user can know the requirements of the first APP for the network standard, so that the corresponding first operation can be performed according to the requirements of the first APP on the network standard, so that the first operation can select the network standard.
  • the target network standard meets the requirements of the first APP.
  • the first information of the first APP is displayed through the first parameter of the first APP in the application process, so as to provide the user with a suggestion for selecting a network standard through the first information, that is, the first information can be used.
  • the terminal device can adjust to the target network standard applicable to the first APP.
  • the first information of the first APP may be displayed in various manners.
  • the first information may be displayed on the display interface of the first APP each time the first APP switches to the foreground to run.
  • the first information may disappear after being displayed for a period of time (for example, 5 seconds), so as to prevent the first information from covering the display interface of the first APP.
  • the displaying the first information of the first APP includes:
  • the recent task list of the terminal device includes the first APP
  • the first information of the first APP is displayed in the recent task list.
  • the terminal device may display a recent task list according to the received operation, and the recent task list may be referred to as the Recent List.
  • the recent task list may be referred to as the Recent List.
  • three buttons are usually included below a part of a smartphone applying the Android (Android) system, and after the rightmost button receives a touch operation, the smartphone will display a list of recent tasks.
  • the recent task list APPs recently applied by the terminal device may be displayed.
  • the first information of the first APP may be displayed in the recent task list, so that the user can view the recent task list when viewing the recent task list. , to view the first information of the first APP, so as to understand the requirements of the first APP for the network standard.
  • the first APP of the first APP may be displayed above the first APP included in the recent task list information.
  • the interface displays a list of recent tasks, and the list of recent tasks includes a first APP, and the first APP is used for playing videos.
  • the network speed often directly affects the smoothness of video playback.
  • the first APP usually hopes to run under a higher network standard.
  • the terminal device supports both 4G network standard and 5G network standard
  • the first The network standard applicable to an APP is the 5G network standard. In this case, a description of "5G" is displayed above the first APP.
  • the first APP since the first APP needs to play a video during the running process, the first APP needs a large network traffic, and the first information may also include a description of "large traffic". In this case, , and above the first APP, a description of "large traffic" may also be displayed.
  • the first APP is an APP for reading e-books.
  • the first APP is not sensitive to the network speed, and the first APP is A network standard applicable to an APP may be a 4G network standard.
  • a description of "4G" is displayed above the first APP.
  • the first information may also include a description of "small flow”. In this case, above the first APP, A description of "small flow” can also be displayed.
  • the displaying the first information of the first APP includes:
  • the display interface of the first APP displays the first APP's network standard.
  • the network standard of the terminal device may be different from the network standard applicable to the first APP.
  • displaying the first information of the first APP on the display interface of the first APP can serve as a reminder to the user, that is, to remind the user that the current network standard is not applicable to the first APP, so that the The user determines whether the network standard of the terminal device needs to be adjusted according to his own needs.
  • the first APP needs a faster network speed and the applicable network standard is 5G network, but the network standard of the terminal device is 4G network standard, it indicates that the network standard applicable to the first APP is the same as that of the terminal device.
  • the network standard is different, if the network standard is not adjusted, it may affect the smoothness of the first APP in the running process.
  • the first information of the first APP may be displayed on the display interface of the first APP, so that the user knows that the current network standard of the terminal device is not applicable to the first APP.
  • the first information of the first APP can be displayed on the display interface of the first APP in the form of a floating layer, and after being displayed for a period of time (for example, 5 seconds), The first information is no longer displayed, so as to avoid blocking the displayed content of the first APP and affect the user's use of the first APP.
  • the network standard applicable to the first APP may be determined according to the first parameter of the first APP in the application process.
  • the first parameter includes at least one of the following parameters: the total amount of data of the first APP in the first time period, the peak download speed of the first APP, the data of the base station connected to the terminal device. The quality of the signal and the remaining power of the terminal device.
  • At least two network standards supported by the terminal device include a first network standard and a second network standard, and the power consumption of the terminal device under the first network standard is lower than that of the second network standard.
  • the power consumption of the terminal device under the network standard, the network speed of the terminal device under the first network standard is lower than the network speed of the terminal device under the second network standard.
  • the terminal device supports two network standards
  • the two network standards include the fourth-generation 4G network standard and the fifth-generation 5G network standard
  • the first network standard is the 4G network standard
  • the second network standard is 5G network standard.
  • the first parameter includes the total amount of data of the first APP in the first time period, and determining the network standard applicable to the first APP according to the first parameter includes:
  • the network standard applicable to the first APP is the second network standard.
  • the first APP is suitable for The network standard is usually the second network standard with higher network speed to ensure the smooth operation of the first APP.
  • the network standard applicable to the first APP is the first network standard with lower power consumption.
  • the first threshold can be preset, and during the application process of the terminal device, the user can adjust the first threshold according to his own needs.
  • the first time period is 24 hours, and the first threshold is 500 megabytes (MByte, MB).
  • the first APP requires large network traffic. In order to ensure the smooth operation of the first APP, it is usually necessary to provide a higher network speed for the first APP. It can be considered that the network standard applicable to the first APP is the second network with higher network speed. If the total amount of data of the first APP in one day does not exceed 500MB, the network standard applicable to the first APP is the first network standard with lower power consumption.
  • the first time period is 30 minutes
  • the first threshold is 200MB.
  • the network standard applicable to the first APP is: For the second network standard with higher network speed, if the total amount of data of the first APP within 30 minutes does not exceed 200MB, the network standard applicable to the first APP is the first network standard with lower power consumption.
  • the first parameter includes a peak download speed of the first APP
  • determining a network standard applicable to the first APP according to the first parameter includes:
  • the peak download speed of the first APP is greater than the second threshold, it is determined that the network standard applicable to the first APP is the second network standard.
  • the peak download speed of an APP usually refers to the highest network speed of the APP when uploading or downloading data. If the peak download speed of the first APP is greater than the second threshold, it indicates that the first APP needs a higher network speed, so it can be determined that the network standard applicable to the first APP is the second network standard with a higher network speed .
  • the peak download speed of the first APP is not greater than the second threshold, it may be determined that the network standard applicable to the first APP is the first network standard with lower power consumption.
  • the second threshold can be preset, and during the application process of the terminal device, the user can adjust the second threshold according to his own needs.
  • the first threshold may be 4MB/s.
  • the network standard applicable to the first APP is the second network with a higher network speed.
  • the network standard applicable to the first APP is the first network standard with lower power consumption.
  • the first parameter includes the signal quality of the base station to which the terminal device is linked, and the network standard applicable to the first APP is determined according to the first parameter, include:
  • the quality of the signal of the base station linked by the terminal device is greater than the third threshold, and it is determined that the network standard applicable to the first APP is the network standard corresponding to the signal.
  • the quality of the signal of the base station may be characterized by a variety of quality parameters.
  • the quality parameter may include at least one of the following parameters: reference signal receiving power (RSRP), reference signal receiving quality ( reference signal receiving quality, RSRQ) and signal to interference plus noise ratio (signal to interference plus noise ratio, SINR) and so on.
  • RSRP reference signal receiving power
  • RSRQ reference signal receiving quality
  • SINR signal to interference plus noise ratio
  • the terminal device can continue to apply the network standard corresponding to the signal.
  • the quality of the signal of the base station linked by the terminal device is not greater than the third threshold, it indicates that the quality of the signal is poor.
  • the network standard applicable to the first APP is the terminal Another network format supported by the device.
  • the signal provided by the base station to which the terminal base station is currently linked is a signal of the 5G network standard, and the quality of the signal is greater than the third threshold, it may be determined that the network standard applicable to the first APP is the 5G network standard.
  • the signal provided by the base station to which the terminal base station is currently linked is a signal of the 5G network standard, and the quality of the signal of the base station is not greater than the third threshold, it indicates that the quality of the signal of the 5G network standard is poor, and it can be determined that the first The network standard applicable to the APP is 4G network standard.
  • the first parameter includes the remaining power of the terminal device
  • the determining, according to the first parameter, a network standard applicable to the first APP includes:
  • the network standard applicable to the first APP is the first network standard.
  • the remaining power of the terminal device is less than the fourth threshold, it indicates that the power of the terminal device is low.
  • the network standard applicable to the first APP is the first network standard with low power consumption.
  • the remaining power of the terminal device is not less than the fourth threshold, it may be determined that the network standard applicable to the first APP is the second network standard with higher network speed.
  • the fourth threshold can be preset, and in the application process of the terminal device, the user can adjust the fourth threshold according to his own needs.
  • the fourth threshold is 20% of the full power of the terminal device. In this case, if the remaining power of the terminal device is less than the fourth threshold, it is determined that the network standard applicable to the first APP is the 4G network standard. In addition, if after charging, the remaining power of the terminal device is not less than the fourth threshold, it can be determined that the network standard applicable to the first APP is the 5G network standard.
  • the network standard applicable to the first APP can be determined according to the first parameter of the first APP in the application process.
  • the target network standard of the terminal device can be determined according to the instruction of the first operation in the first selection column. Further, in the solution provided by the embodiment of the present application, the target network standard can also be determined by the terminal device itself.
  • the first selection bar further includes a smart option, receiving a second operation for the smart option
  • the network standard of the terminal device is determined according to the first parameter of the first APP in the application process.
  • the determined network standard of the terminal device is usually the network standard applicable to the first APP.
  • the first selection column not only includes at least two network standards supported by the terminal device, but also includes smart options.
  • the first selection bar can be implemented in various forms.
  • the first selection bar may be in the form of a progress bar.
  • the at least two network standards supported by the terminal device include 4G Network standard and 5G network standard
  • the top of the first selection bar is the 5G network standard
  • the corresponding network standard at the bottom is the 4G network standard
  • the middle position is the smart option
  • the terminal The device may determine the target network standard of the terminal device according to the first parameter of the first APP in the application process.
  • the second operation is an operation of dragging the progress bar to the middle position.
  • the first selection bar includes each network standard supported by the terminal device, and selection boxes corresponding to the network standard respectively. Further, the first selection bar further includes a smart option and a selection box corresponding to the smart option, and the second operation is an operation of touching the selection box corresponding to the smart option.
  • first selection bar including the smart option may also be in other forms, and correspondingly, the second operation may also be an operation in other forms, which is not limited in this embodiment of the present application.
  • the terminal device after receiving the second operation, the terminal device automatically determines the network standard of the terminal device according to the first parameter of the first APP in the application process. In this case, the terminal device actively adjusts the network standard of the terminal device according to the first parameter, so that the terminal device can adjust the network standard in time according to the application of the first APP.
  • the network standard determined by the terminal device is generally a network standard applicable to the first APP.
  • the network standard of the terminal device can usually be determined through the following solutions:
  • the network standard of the terminal device is the second network standard.
  • the network standard of the terminal device is the first network standard.
  • the first parameter includes the peak download speed of the first APP, usually when the peak download speed of the first APP is greater than a second threshold, determine that the network standard of the terminal device is the first Two network standards.
  • the peak download speed of the first APP is not greater than the second threshold, it is determined that the network standard of the terminal device is the second network standard.
  • the network standard of the terminal device is the network standard corresponding to the signal.
  • the quality of the signal of the base station to which the terminal device is linked is not greater than the third threshold, it is determined that the network standard of the terminal device is another standard.
  • the first parameter includes the remaining power of the terminal device, usually when the remaining power of the terminal device is less than a fourth threshold, it is determined that the network standard of the terminal device is the first network standard.
  • the remaining power of the terminal device is not less than the fourth threshold, it may be determined that the network standard of the terminal device is the second network standard.
  • the network standard of the terminal device can be determined according to the first parameter of the first APP in the application process, so that the terminal device can adjust to the network standard applicable to the first APP during the process of applying the first APP .
  • Step S14 Store the correspondence between the first APP and the target network standard.
  • the correspondence between the first APP and the target network standard is stored.
  • Step S15 Then, when the first APP is running in the foreground, according to the corresponding relationship, it is determined that the network standard of the terminal device is the target network standard.
  • the network standard of the terminal device is the target network standard.
  • the user wishes to keep the network standard of the terminal device as the target network standard during the process of using the first APP.
  • the correspondence between the first APP and the target network standard can be stored, and when the first APP is running in the foreground, according to the correspondence, It can be determined that the terminal device needs to be adjusted to the target network standard, so that the network standard of the terminal device can be adjusted to the target network standard without displaying the first selection bar and without receiving the first operation, which improves the determination of the target network by the terminal device. system efficiency.
  • the user may also operate the terminal device to cause the terminal device to display the first selection bar.
  • the terminal device may receive the user's operation on the first selection field, and re-adjust the network standard of the terminal device according to the operation.
  • the terminal device may receive an operation for the first selection field, so as to determine the target network standard selected by the user according to the received operation.
  • the first selection bar can be displayed in various ways.
  • the displaying of the first selection bar of the first APP installed in the terminal device includes the following steps:
  • the first selection bar is displayed.
  • the interface of the terminal device usually includes an icon of the first APP, and after receiving a touch for the icon, the first APP is opened for the user to apply the first APP.
  • the first selection bar is displayed, so that the user can operate the first selection bar to select a corresponding network standard.
  • the first selection bar is no longer displayed, so as to prevent the first selection bar from blocking the interface of the first APP.
  • the displaying the first selection bar of the first APP installed in the terminal device includes the following steps:
  • the first selection bar is displayed within a third time period after receiving the fourth operation on the display interface of the first APP.
  • the user may wish to adjust the network standard of the terminal device. For example, after applying the first APP for a period of time, the user finds that the remaining power of the terminal device is low. In this case, the user often wishes to adjust the current network standard of the terminal device to a network standard with lower power consumption.
  • the terminal device displays the first selection bar, So that the user can operate the first selection bar.
  • the fourth operation may be an operation in various forms.
  • the fourth operation may be an operation in which the user's finger slides along a preset graphic on the display interface, and the preset graphic may be a circle or a triangle, etc.
  • the fourth operation may be a touch operation whose touch duration is not less than a certain duration, or the like.
  • the terminal device displays the first selection bar after receiving the fourth operation, and usually does not display the first selection bar again after a third time period after receiving the fourth operation.
  • the selection bar is used to prevent the first selection bar from obscuring the displayed content of the first APP.
  • the embodiment of the present application discloses an apparatus for determining a network standard.
  • the apparatus for determining a network standard includes a processor 210 and a transceiver interface 220 .
  • the processor 210 is configured to control the display to display a first selection bar of a first application program APP installed in the terminal device, where the first selection bar includes at least two network standards supported by the terminal device;
  • the transceiver interface 220 receives a first operation for the first selection field, where the first operation is used to select a target network standard among the at least two network standards;
  • the processor 210 is further configured to, in the process of applying the first APP, determine that the network standard of the terminal device is the target network standard.
  • the network standard of the terminal device in the process of applying the first APP can be determined according to the first operation.
  • This solution is suitable for each APP installed in the terminal device, without being restricted by the blacklist, and the user can make a corresponding first operation according to his own requirements for the network standard, so that the terminal device can run the above mentioned network standard through the corresponding network standard.
  • the processor 210 is further configured to determine a first parameter of the first APP in the application process, and determine the first APP according to the first parameter
  • the applicable network standard is controlled, and the display is controlled to display the first information of the first APP, where the first information includes: the network standard applicable to the first APP.
  • the first parameter may generally reflect the network standard requirement of the first APP.
  • the first parameter includes at least one of the following parameters: the total amount of data of the first APP in the first time period, the peak download speed of the first APP, the link of the terminal device. The signal quality of the base station and the remaining battery power of the terminal device.
  • the first parameter may further include other parameters that can reflect the requirement of the first APP for the network standard, which is not limited in this embodiment of the present application.
  • the user can know the requirements of the first APP for the network standard, so that the corresponding first operation can be performed according to the requirements of the first APP on the network standard, so that the first operation can select the network standard.
  • the target network standard meets the requirements of the first APP.
  • the processor is specifically configured to, if the recent task list of the terminal device includes the first APP, control the display to display the first information of the first APP in the recent task list;
  • the processor is specifically configured to determine whether the network standard of the terminal device is the same as the network standard applicable to the first APP;
  • the network standard of the terminal device is different from the network standard applicable to the first APP, in the process of applying the first APP, control the display to display the first APP on the display interface of the first APP The first information of the APP.
  • the network standard applicable to the first APP may be determined according to the first parameter of the first APP in the application process.
  • the first parameter includes at least one of the following parameters: the total amount of data of the first APP in the first time period, the peak download speed of the first APP, the data of the base station connected to the terminal device. The quality of the signal, the network standard supported by the base station to which the terminal device is linked, and the remaining power of the terminal device.
  • the at least two network standards include a first network standard and a second network standard, and the power consumption of the terminal device in the first network standard is lower than that of the terminal device in the second network standard. Power consumption, the network speed of the terminal device under the first network standard is lower than the network speed of the terminal device under the second network standard.
  • the terminal device supports two network standards
  • the two network standards include the fourth-generation 4G network standard and the fifth-generation 5G network standard
  • the first network standard is the 4G network standard
  • the second network standard is 5G network standard.
  • the first parameter includes the total amount of data of the first APP in the first time period, and the processor is specifically configured to: the total amount of data of the first APP in the first time period is greater than the first threshold, determining that the network standard applicable to the first APP is the second network standard;
  • the first parameter includes the peak download speed of the first APP, and the processor is specifically configured to, when the peak download speed of the first APP is greater than the second threshold, determine that the network standard applicable to the first APP is all the second network standard;
  • the first parameter includes the quality of the signal of the base station linked to the terminal device, and the processor is specifically configured to, when the quality of the signal of the base station linked to the terminal device is greater than a third threshold, determine whether the first APP is applicable.
  • the network standard is the network standard corresponding to the signal;
  • the first parameter includes the remaining power of the terminal device, and according to the first parameter, the processor is specifically configured to, if the remaining power of the terminal device is less than a fourth threshold, determine the first APP
  • the applicable network standard is the first network standard.
  • the network standard applicable to the first APP can be determined according to the first parameter of the first APP in the application process.
  • the first selection bar further includes smart options
  • the processor is further configured to receive a second operation for the smart option, and in the process of applying the first APP, determine the terminal device according to the first parameter of the first APP in the application process network format.
  • the terminal device After receiving the second operation, the terminal device can determine the network standard by itself, and,
  • the network standard determined by the terminal device is generally a network standard applicable to the first APP.
  • the network standard of the terminal device can usually be determined through the following solutions:
  • the network standard of the terminal device is the second network standard.
  • the network standard of the terminal device is the first network standard.
  • the first parameter includes the peak download speed of the first APP, usually when the peak download speed of the first APP is greater than a second threshold, determine that the network standard of the terminal device is the first Two network formats.
  • the peak download speed of the first APP is not greater than the second threshold, it is determined that the network standard of the terminal device is the second network standard.
  • the network standard of the terminal device is the network standard corresponding to the signal.
  • the quality of the signal of the base station to which the terminal device is linked is not greater than the third threshold, it is determined that the network standard of the terminal device is another standard.
  • the first parameter includes the remaining power of the terminal device, usually when the remaining power of the terminal device is less than a fourth threshold, it is determined that the network standard of the terminal device is the first network standard.
  • the remaining power of the terminal device is not less than the fourth threshold, it may be determined that the network standard of the terminal device is the second network standard.
  • the processor is further configured to store the first APP and the target when the first APP is closed or the first APP is running in the background.
  • the processor is specifically configured to, within a second time period after the first APP is opened, control the display to display the first selection bar;
  • the processor is specifically configured to control the display to display the first selection bar within a third time period after receiving a fourth operation on the display interface of the first APP.
  • the fourth operation can be performed to cause the terminal device to display the first selection bar, so as to select the required network standard.
  • the terminal device includes:
  • processor 1101 and memory
  • the memory is used to store program instructions
  • the processor is configured to call and execute the program instructions stored in the memory, so that the terminal device executes all or part of the steps in the embodiment corresponding to FIG. 3 .
  • the terminal device may further include: a transceiver 1102 and a bus 1103 , and the memory includes a random access memory 1104 and a read-only memory 1105 .
  • the processor is respectively coupled to the transceiver, the random access memory and the read only memory through the bus.
  • the basic input and output system solidified in the read-only memory or the bootloader booting system in the embedded system is used to start the device, and the device is guided to enter a normal operation state. After the device enters the normal operating state, the application program and the operating system are run in the random access memory, so that the terminal device executes all or part of the steps in the embodiments corresponding to FIG. 3 and FIG. 7 .
  • the device in this embodiment of the present invention may correspond to the network standard determination method in the above-mentioned embodiments corresponding to FIG. 3 and FIG. 7 , and the processor and the like in the terminal device may implement the methods of For the sake of brevity, the functions and/or the various steps and methods implemented by the apparatus for determining the network standard of the device will not be repeated here.
  • an embodiment of the present application further provides a computer-readable storage medium, where the computer-readable storage medium includes instructions.
  • the storage medium of the computer-readable medium may be a magnetic disk, an optical disk, a read-only memory (English: read-only memory, referred to as: ROM) or a random access memory (English: random access memory, referred to as: RAM), etc. .
  • another embodiment of the present application further discloses a computer program product including instructions, when the computer program product is run on an electronic device, the electronic device can implement the steps in the embodiments corresponding to FIG. 3 and FIG. 7 . all or part of the steps.
  • a general-purpose processor may be a microprocessor, or alternatively, the general-purpose processor may be any conventional processor, controller, microcontroller, or state machine.
  • a processor may also be implemented by a combination of computing devices, such as a digital information processor and a microprocessor, multiple microprocessors, one or more microprocessors in combination with a digital information processor core, or any other similar configuration. accomplish.
  • a software unit may be stored in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.
  • a storage medium can be coupled to the processor such that the processor can read information from, and write information to, the storage medium.
  • the storage medium can also be integrated into the processor.
  • the processor and storage medium may be provided in the ASIC, and the ASIC may be provided in the UE. Alternatively, the processor and the storage medium may also be provided in different components in the UE.
  • the above-mentioned embodiments it may be implemented in whole or in part by software, hardware, firmware or any combination thereof.
  • software it can be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present application are generated.
  • the computer may be a general purpose computer, special purpose computer, computer network, or other programmable device.
  • the computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be downloaded from a website site, computer, server, or data center Transmission to another website site, computer, server, or data center is by wire (eg, coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.).
  • the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that includes an integration of one or more available media.
  • the usable media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, DVD), or semiconductor media (eg, Solid State Disk (SSD)), and the like.
  • the technology in the embodiments of the present invention can be implemented by means of software plus a necessary general hardware platform.
  • the technical solutions in the embodiments of the present invention may be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products may be stored in a storage medium, such as ROM/RAM , magnetic disk, optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in various embodiments or some parts of the embodiments of the present invention.
  • a computer device which may be a personal computer, a server, or a network device, etc.

Abstract

Provided are a method and apparatus for determining a network standard. The method comprises: firstly, displaying a first selection bar of a first application installed in a terminal apparatus, wherein the first selection bar comprises at least two network standards supported by the terminal apparatus; then, receiving a first operation for the first selection bar, wherein the first operation is used for selecting a target network standard from among the at least two network standards; and during the process of applying the first application, determining that the network standard of the terminal apparatus is the target network standard. The solution is applicable to each application installed in a terminal apparatus, without being restricted by a blacklist; moreover, a user can perform a corresponding first operation according to the requirements of the user for a network standard, such that the terminal apparatus runs the first application by means of a corresponding network standard. Therefore, compared with the prior art, in the solution of the present application, the flexibility is high when the network standard of the terminal apparatus is determined.

Description

一种网络制式确定方法及装置A method and device for determining a network standard
本申请要求于2020年12月30日提交到国家知识产权局、申请号为202011627518.X、发明名称为“一种网络制式确定方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application submitted to the State Intellectual Property Office on December 30, 2020, the application number is 202011627518.X, and the invention name is "A method and device for determining a network standard", the entire content of which is by reference Incorporated in this application.
技术领域technical field
本申请涉及通信技术领域,具体涉及一种网络制式确定方法及装置。The present application relates to the field of communication technologies, and in particular, to a method and apparatus for determining a network standard.
背景技术Background technique
随着通信技术的发展,无线通信系统经历了多种网络制式,例如,目前包含以全球移动通信系统(global system for mobile communication,GSM)为代表的第二代(2nd-generation,2G)网络制式,以宽带码分多址(wideband code division multiple access,WCDMA)为代表的第三代(3rd-generation,3G)网络制式,以及目前在全世界范围内广泛应用的以长期演进(long term evolution,LTE)为代表的第四代(4th-generation,4G)网络制式,并且,还出现了以新无线电通信(new radio,NR)为代表的第五代(5th-generation,5G)网络制式。With the development of communication technology, the wireless communication system has experienced a variety of network standards. For example, it currently includes the second generation (2nd-generation, 2G) network standard represented by the global system for mobile communication (GSM). , the third-generation (3rd-generation, 3G) network standard represented by wideband code division multiple access (WCDMA), and the long term evolution (long term evolution, The fourth generation (4th-generation, 4G) network standard represented by LTE) has also appeared, and the fifth generation (5th-generation, 5G) network standard represented by new radio communication (NR) has also appeared.
相应的,目前终端设备支持的网络制式日益多样化。例如,目前部分终端设备可支持4G网络制式和5G网络制式。其中,不同的网络制式往往具有不同的优势,例如,5G网络制式可提供更快的网速,更高的频谱利用率,而与5G网络制式相比,4G网络制式的功耗较低。因此,不同的网络制式往往适用于不同的应用场景。Correspondingly, the network standards supported by terminal devices are increasingly diversified. For example, at present, some terminal devices can support 4G network standard and 5G network standard. Among them, different network standards often have different advantages. For example, 5G network standards can provide faster network speed and higher spectrum utilization, while compared with 5G network standards, 4G network standards have lower power consumption. Therefore, different network standards are often suitable for different application scenarios.
为了发挥各种网络制式的优势,目前在终端设备出厂前,通常会在终端设备内设置一个黑名单,在该黑名单中记录有多个应用程序(application,APP)。当终端设备运行的APP记录在黑名单中时,终端设备可调整至4G网络制式,以减少功耗;当终端设备运行的APP不是黑名单中记录的APP时,终端设备调整至5G网络制式,以提高网速。In order to take advantage of various network standards, at present, before the terminal device leaves the factory, a blacklist is usually set in the terminal device, and multiple application programs (application, APP) are recorded in the blacklist. When the APP running on the terminal device is recorded in the blacklist, the terminal device can be adjusted to the 4G network standard to reduce power consumption; when the APP running on the terminal device is not the one recorded in the blacklist, the terminal device can be adjusted to the 5G network standard. to increase internet speed.
但是,APP的数量较为庞大,这一方法仅能考虑到部分APP是否适合记录在黑名单中,并且,黑名单往往在终端设备出厂前就设置在终端设备内,因此,无法考虑新出现的APP是否适合记录在黑名单中。因此,通过现有方法确定终端设备的网络制式时,灵活性较差。However, the number of APPs is relatively large, and this method can only consider whether some APPs are suitable to be recorded in the blacklist. Moreover, the blacklist is often set in the terminal device before the terminal device leaves the factory. Therefore, it cannot consider the newly emerging APP. Whether it is suitable to be recorded in the blacklist. Therefore, when the network standard of the terminal device is determined by the existing method, the flexibility is poor.
发明内容SUMMARY OF THE INVENTION
为了解决终端装置通过现有技术确定自身的网络制式时,存在的灵活性差的问题,本申请实施例提供一种网络制式确定方法及装置。In order to solve the problem of poor flexibility when a terminal device determines its own network standard through the prior art, embodiments of the present application provide a method and device for determining a network standard.
第一方面,本申请实施例公开一种网络制式确定方法,包括:In a first aspect, an embodiment of the present application discloses a method for determining a network format, including:
显示终端装置内安装的第一应用程序APP的第一选择栏,所述第一选择栏包括所述终端装置支持的至少两种网络制式;displaying a first selection bar of a first application program APP installed in the terminal device, where the first selection bar includes at least two network standards supported by the terminal device;
接收针对所述第一选择栏的第一操作,所述第一操作用于选择所述至少两种网络制式中的目标网络制式;receiving a first operation for the first selection column, where the first operation is used to select a target network standard among the at least two network standards;
在应用所述第一APP的过程中,确定所述终端装置的网络制式为所述目标网络制式。In the process of applying the first APP, it is determined that the network standard of the terminal device is the target network standard.
通过上述步骤,可根据第一操作,调整终端装置在应用第一APP的过程中的网络制式。该方案适用于终端装置内安装的各个APP,从而可灵活确定终端装置的网络制式。Through the above steps, the network standard of the terminal device in the process of applying the first APP can be adjusted according to the first operation. This solution is applicable to each APP installed in the terminal device, so that the network standard of the terminal device can be flexibly determined.
一种可选的设计中,还包括:An optional design also includes:
确定所述第一APP在应用过程中的第一参数;determining the first parameter of the first APP in the application process;
根据所述第一参数,确定所述第一APP适用的网络制式;determining a network standard applicable to the first APP according to the first parameter;
显示所述第一APP的第一信息,所述第一信息包括:所述第一APP适用的网络制式。The first information of the first APP is displayed, where the first information includes: a network standard applicable to the first APP.
通过上述步骤,终端装置可显示第一APP的第一信息,以便用户在查看所述第一信息时,了解到第一APP对网络制式的需求,便于用户为第一APP选择相应的网络制式。Through the above steps, the terminal device can display the first information of the first APP, so that the user can know the requirements of the first APP for the network standard when viewing the first information, and it is convenient for the user to select the corresponding network standard for the first APP.
一种可选的设计中,所述显示所述第一APP的第一信息包括:In an optional design, the displaying the first information of the first APP includes:
如果所述终端装置的近期任务列表包括所述第一APP,在所述近期任务列表中显示所述第一APP的第一信息;If the recent task list of the terminal device includes the first APP, displaying the first information of the first APP in the recent task list;
或者,所述显示所述第一APP的第一信息包括:Alternatively, the displaying the first information of the first APP includes:
确定所述终端装置的网络制式是否与所述第一APP适用的网络制式相同;determining whether the network standard of the terminal device is the same as the network standard applicable to the first APP;
如果所述终端装置的网络制式与所述第一APP适用的网络制式不相同,在应用所述第一APP的过程中,在所述第一APP的显示界面显示所述第一APP的第一信息。If the network standard of the terminal device is different from the network standard applicable to the first APP, during the process of applying the first APP, the first APP of the first APP is displayed on the display interface of the first APP. information.
通过上述步骤,可在用户查看所述近期任务列表时,使用户查看到所述第一APP的第一信息。或者,可在终端装置的网络制式与所述第一APP适用的网络制式不相同的情况下,显示第一信息,以便提示用户。Through the above steps, when the user views the recent task list, the user can view the first information of the first APP. Alternatively, when the network standard of the terminal device is different from the network standard applicable to the first APP, the first information may be displayed to prompt the user.
一种可选的设计中,所述第一参数包括以下参数中的至少一种:所述第一APP在第一时间段内的数据总量、所述第一APP的峰值下载速度、所述终端装置链接的基站的信号的质量和所述终端装置的剩余电量。In an optional design, the first parameter includes at least one of the following parameters: the total amount of data of the first APP in the first time period, the peak download speed of the first APP, the The signal quality of the base station to which the terminal device is linked and the remaining battery power of the terminal device.
一种可选的设计中,所述至少两种网络制式包括第一网络制式和第二网络制式,第一网络制式下的终端装置的功耗低于第二网络制式下的终端装置的功耗,所述第一网络制式下的终端装置的网速低于所述第二网络制式下的终端装置的网速;In an optional design, the at least two network standards include a first network standard and a second network standard, and the power consumption of the terminal device under the first network standard is lower than the power consumption of the terminal device under the second network standard. , the network speed of the terminal device under the first network standard is lower than the network speed of the terminal device under the second network standard;
所述第一参数包括所述第一APP在第一时间段内的数据总量,所述根据所述第一参数,确定所述第一APP适用的网络制式,包括:The first parameter includes the total amount of data of the first APP in the first time period, and determining the network standard applicable to the first APP according to the first parameter includes:
所述第一APP在第一时间段内的数据总量大于第一阈值,确定所述第一APP适用的网络制式为所述第二网络制式;The total amount of data of the first APP in the first time period is greater than the first threshold, and it is determined that the network standard applicable to the first APP is the second network standard;
所述第一参数包括所述第一APP的峰值下载速度,所述根据所述第一参数,确定所述第一APP适用的网络制式,包括:The first parameter includes the peak download speed of the first APP, and the network standard applicable to the first APP is determined according to the first parameter, including:
所述第一APP的峰值下载速度大于第二阈值,确定所述第一APP适用的网络制式为所述第二网络制式;The peak download speed of the first APP is greater than the second threshold, and it is determined that the network standard applicable to the first APP is the second network standard;
所述第一参数包括所述终端装置链接的基站的信号的质量,所述根据所述第一参数,确定所述第一APP适用的网络制式,包括:The first parameter includes the signal quality of the base station to which the terminal device is linked, and determining the network standard applicable to the first APP according to the first parameter includes:
所述终端装置链接的基站的信号的质量大于第三阈值,确定所述第一APP适用的网络制式为所述信号对应的网络制式;The quality of the signal of the base station linked by the terminal device is greater than a third threshold, and it is determined that the network standard applicable to the first APP is the network standard corresponding to the signal;
所述第一参数包括所述终端装置的剩余电量,所述根据所述第一参数,确定所述第一APP适用的网络制式,包括:The first parameter includes the remaining power of the terminal device, and the network standard applicable to the first APP is determined according to the first parameter, including:
如果所述终端装置的剩余电量小于第四阈值,确定所述第一APP适用的网络制式为所述第一网络制式。If the remaining power of the terminal device is less than the fourth threshold, it is determined that the network standard applicable to the first APP is the first network standard.
通过上述步骤,可根据第一APP在应用过程中的第一参数,确定第一APP适用的网络制式。Through the above steps, the network standard applicable to the first APP can be determined according to the first parameter of the first APP in the application process.
一种可选的设计中,还包括:An optional design also includes:
所述第一选择栏还包括智能选项,接收针对所述智能选项的第二操作;The first selection bar further includes a smart option, receiving a second operation for the smart option;
在应用所述第一APP的过程中,根据所述第一APP在应用过程中的第一参数,确定所述终端装置的网络制式。In the process of applying the first APP, the network standard of the terminal device is determined according to the first parameter of the first APP in the application process.
通过上述步骤,所述终端装置可在接收到针对所述第二操作之后,自发根据所述第一APP在应用过程中的第一参数,确定终端装置的网络制式,从而能够及时根据第一APP的应用情况,实现网络制式的调整。Through the above steps, after receiving the second operation, the terminal device can spontaneously determine the network standard of the terminal device according to the first parameter of the first APP in the application process, so that the terminal device can be timely based on the first parameter of the first APP. The application situation, realize the adjustment of the network standard.
一种可选的设计中,还包括:An optional design also includes:
存储所述第一APP与所述目标网络制式之间的对应关系;storing the correspondence between the first APP and the target network standard;
在所述第一APP在前台运行时,根据所述对应关系,确定所述终端装置的网络制式为所述目标网络制式。When the first APP is running in the foreground, according to the corresponding relationship, it is determined that the network standard of the terminal device is the target network standard.
通过上述步骤,可提高终端装置确定目标网络制式的效率。Through the above steps, the efficiency of the terminal device in determining the target network standard can be improved.
一种可选的设计中,所述显示终端装置内安装的第一APP的第一选择栏,包括:In an optional design, the first selection bar of the first APP installed in the display terminal device includes:
在所述第一APP打开之后的第二时间段内,显示所述第一选择栏;within a second time period after the first APP is opened, displaying the first selection bar;
或者,or,
在接收到针对所述第一APP的显示界面的第四操作之后的第三时间段内,显示所述第一选择栏。The first selection bar is displayed within a third time period after receiving the fourth operation on the display interface of the first APP.
第二方面,本申请实施例公开一种网络制式确定装置,包括:In a second aspect, an embodiment of the present application discloses an apparatus for determining a network standard, including:
处理器和收发接口;processor and transceiver interface;
所述处理器用于控制显示器显示终端装置内安装的第一应用程序APP的第一选择栏,所述第一选择栏包括所述终端装置支持的至少两种网络制式;The processor is configured to control the display to display a first selection bar of a first application program APP installed in the terminal device, where the first selection bar includes at least two network standards supported by the terminal device;
所述收发接口接收针对所述第一选择栏的第一操作,所述第一操作用于选择所述至少两种网络制式中的目标网络制式;The transceiver interface receives a first operation for the first selection column, where the first operation is used to select a target network standard among the at least two network standards;
所述处理器还用于,在应用所述第一APP的过程中,确定所述终端装置的网络制式为所述目标网络制式。The processor is further configured to, in the process of applying the first APP, determine that the network standard of the terminal device is the target network standard.
一种可选的设计中,所述处理器还用于,确定所述第一APP在应用过程中的第一参数,根据所述第一参数,确定所述第一APP适用的网络制式,控制所述显示器显示所述第一APP的第一信息,所述第一信息包括:所述第一APP适用的网络制式。In an optional design, the processor is further configured to determine a first parameter of the first APP in the application process, determine a network standard applicable to the first APP according to the first parameter, and control the The display displays first information of the first APP, where the first information includes: a network standard applicable to the first APP.
一种可选的设计中,所述处理器具体用于,如果所述终端装置的近期任务列表包括所述第一APP,控制所述显示器在所述近期任务列表中显示所述第一APP的第一信息;In an optional design, the processor is specifically configured to, if the recent task list of the terminal device includes the first APP, control the display to display the first APP in the recent task list. first information;
或者,所述处理器具体用于,确定所述终端装置的网络制式是否与所述第一APP适用的网络制式相同;Alternatively, the processor is specifically configured to determine whether the network standard of the terminal device is the same as the network standard applicable to the first APP;
如果所述终端装置的网络制式与所述第一APP适用的网络制式不相同,在应用所述第一APP的过程中,控制所述显示器在所述第一APP的显示界面显示所述第一APP的第一信息。If the network standard of the terminal device is different from the network standard applicable to the first APP, in the process of applying the first APP, control the display to display the first APP on the display interface of the first APP The first information of the APP.
一种可选的设计中,所述第一参数包括以下参数中的至少一种:所述第一APP在第一时间段内的数据总量、所述第一APP的峰值下载速度、所述终端装置链接的基站的信号的质量和所述终端装置的剩余电量。In an optional design, the first parameter includes at least one of the following parameters: the total amount of data of the first APP in the first time period, the peak download speed of the first APP, the The signal quality of the base station to which the terminal device is linked and the remaining battery power of the terminal device.
一种可选的设计中,所述至少两种网络制式包括第一网络制式和第二网络制式,第一网络制式下的终端装置的功耗低于第二网络制式下的终端装置的功耗,所述第一网络制式下的终端装置的网速低于所述第二网络制式下的终端装置的网速;In an optional design, the at least two network standards include a first network standard and a second network standard, and the power consumption of the terminal device under the first network standard is lower than the power consumption of the terminal device under the second network standard. , the network speed of the terminal device under the first network standard is lower than the network speed of the terminal device under the second network standard;
所述第一参数包括所述第一APP在第一时间段内的数据总量,所述处理器具体用于,所述第一APP在第一时间段内的数据总量大于第一阈值,确定所述第一APP适用的网络制式为所述第二网络制式;The first parameter includes the total amount of data of the first APP in the first time period, and the processor is specifically configured to: the total amount of data of the first APP in the first time period is greater than the first threshold, determining that the network standard applicable to the first APP is the second network standard;
所述第一参数包括所述第一APP的峰值下载速度,所述处理器具体用于,所述第一APP的峰值下载速度大于第二阈值,确定所述第一APP适用的网络制式为所述第二网络制式;The first parameter includes the peak download speed of the first APP, and the processor is specifically configured to, when the peak download speed of the first APP is greater than the second threshold, determine that the network standard applicable to the first APP is all the second network standard;
所述第一参数包括所述终端装置链接的基站的信号的质量,所述处理器具体用于,所述终端装置链接的基站的信号的质量大于第三阈值,确定所述第一APP适用的网络制式为所述信号对应的网络制式;The first parameter includes the quality of the signal of the base station linked to the terminal device, and the processor is specifically configured to, when the quality of the signal of the base station linked to the terminal device is greater than a third threshold, determine whether the first APP is applicable. The network standard is the network standard corresponding to the signal;
所述第一参数包括所述终端装置的剩余电量,所述根据所述第一参数,所述处理器具体用于,如果所述终端装置的剩余电量小于第四阈值,确定所述第一APP适用的网络制式为所述第一网络制式。The first parameter includes the remaining power of the terminal device, and according to the first parameter, the processor is specifically configured to, if the remaining power of the terminal device is less than a fourth threshold, determine the first APP The applicable network standard is the first network standard.
一种可选的设计中,所述第一选择栏还包括智能选项;In an optional design, the first selection bar also includes smart options;
所述处理器还用于,接收针对所述智能选项的第二操作,在应用所述第一APP的过程中,根据所述第一APP在应用过程中的第一参数,确定所述终端装置的网络制式。The processor is further configured to receive a second operation for the smart option, and in the process of applying the first APP, determine the terminal device according to the first parameter of the first APP in the application process network format.
一种可选的设计中,所述处理器还用于,存储所述第一APP与所述目标网络制式之间的对应关系,在所述第一APP在前台运行时,根据所述对应关系,确定所述终端装置的网络制式为所述目标网络制式。In an optional design, the processor is further configured to store the correspondence between the first APP and the target network standard, and when the first APP runs in the foreground, according to the correspondence , and determine that the network standard of the terminal device is the target network standard.
一种可选的设计中,所述处理器具体用于,在所述第一APP打开之后的第二时间段内,控制所述显示器显示所述第一选择栏;In an optional design, the processor is specifically configured to, within a second time period after the first APP is opened, control the display to display the first selection bar;
或者,or,
所述处理器具体用于,在接收到针对所述第一APP的显示界面的第四操作之后的第三时间段内,控制所述显示器显示所述第一选择栏。The processor is specifically configured to, within a third time period after receiving a fourth operation on the display interface of the first APP, control the display to display the first selection bar.
第三方面,本申请实施例提供一种终端装置,包括:In a third aspect, an embodiment of the present application provides a terminal device, including:
至少一个处理器和存储器,at least one processor and memory,
所述存储器,用于存储程序指令;the memory for storing program instructions;
所述处理器,用于调用并执行所述存储器中存储的程序指令,以使所述终端装置执行第一方面所述的方法。The processor is configured to call and execute the program instructions stored in the memory, so that the terminal device executes the method of the first aspect.
第四方面,本申请实施例提供一种计算机可读存储介质,In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium,
所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得所述计算机执行如第一方面所述的方法。The computer-readable storage medium has stored therein instructions which, when run on a computer, cause the computer to perform the method of the first aspect.
第五方面,本申请实施例提供一种包含指令的计算机程序产品,当所述计算机程序产品在电子设备上运行时,使得所述电子设备执行如第一方面所述的方法。In a fifth aspect, an embodiment of the present application provides a computer program product containing instructions, when the computer program product runs on an electronic device, the electronic device is caused to execute the method according to the first aspect.
通过本申请实施例提供的方案,可根据第一操作,调整终端装置在应用第一APP的过程中的网络制式。该方案适用于终端装置内安装的各个APP,无需受到黑名单的限制,并且,用户可根据自身对网络制式的需求做出相应的第一操作,以使终端装置通过相应的网络制式运行所述第一APP。因此,与现有技术相比,本申请的方案在确定终端装置的网络制式时,灵活性较高。With the solutions provided by the embodiments of the present application, the network standard of the terminal device in the process of applying the first APP can be adjusted according to the first operation. This solution is suitable for each APP installed in the terminal device, without being restricted by the blacklist, and the user can make a corresponding first operation according to his own requirements for the network standard, so that the terminal device can run the above mentioned network standard through the corresponding network standard. The first APP. Therefore, compared with the prior art, the solution of the present application has higher flexibility when determining the network standard of the terminal device.
附图说明Description of drawings
图1为本申请实施例公开的一种终端装置的结构示意图;FIG. 1 is a schematic structural diagram of a terminal device disclosed in an embodiment of the present application;
图2为本申请实施例公开的一种终端装置的软件结构框图的示意图;2 is a schematic diagram of a software structural block diagram of a terminal device disclosed in an embodiment of the present application;
图3为本申请实施例公开的一种网络制式确定方法的工作流程示意图;3 is a schematic workflow diagram of a method for determining a network format disclosed in an embodiment of the present application;
图4(a)为本申请实施例公开的一种网络制式确定方法中,一种第一选择栏的界面示意图;FIG. 4(a) is a schematic interface diagram of a first selection column in a method for determining a network format disclosed in an embodiment of the present application;
图4(b)为本申请实施例公开的一种网络制式确定方法中,又一种第一选择栏的界面示意图;FIG. 4(b) is a schematic interface diagram of another first selection bar in a method for determining a network format disclosed in an embodiment of the present application;
图5(a)为本申请实施例公开的一种网络制式确定方法中,一种近期任务列表的界面示意图;5(a) is a schematic interface diagram of a recent task list in a method for determining a network format disclosed in an embodiment of the present application;
图5(b)为本申请实施例公开的一种网络制式确定方法中,又一种近期任务列表的界面示意图;FIG. 5(b) is a schematic interface diagram of another recent task list in a method for determining a network format disclosed in an embodiment of the present application;
图6(a)为本申请实施例公开的一种网络制式确定方法中,又一种第一选择栏的界面示意图;FIG. 6(a) is a schematic interface diagram of another first selection bar in a method for determining a network format disclosed in an embodiment of the present application;
图6(b)为本申请实施例公开的一种网络制式确定方法中,又一种第一选择栏的界面示意图;FIG. 6(b) is a schematic interface diagram of another first selection bar in a method for determining a network format disclosed in an embodiment of the present application;
图7为本申请实施例公开的一种网络制式确定方法的工作流程示意图;FIG. 7 is a schematic workflow diagram of a method for determining a network format disclosed in an embodiment of the present application;
图8为本申请实施例公开的一种网络制式确定装置的结构示意图;FIG. 8 is a schematic structural diagram of an apparatus for determining a network standard disclosed in an embodiment of the present application;
图9为本申请实施例公开的一种终端装置的结构示意图。FIG. 9 is a schematic structural diagram of a terminal device disclosed in an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application.
以下实施例中所使用的术语只是为了描述特定实施例的目的,而并非旨在作为对本申请的限制。如在本申请的说明书和所附权利要求书中所使用的那样,单数表达形式“一个”、“一种”、“所述”、“上述”、“该”和“这一”旨在也包括例如“一个或多个”这种表达形式,除非其上下文中明确地有相反指示。还应当理解,在本申请以下各实施例中,“至少一个”、“一个或多个”是指一个、两个或两个以上。术语“和/或”,用于描述关联对象的关联关系,表示可以存在三种关系;例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A、B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。The terms used in the following embodiments are for the purpose of describing particular embodiments only, and are not intended to be limitations of the present application. As used in the specification of this application and the appended claims, the singular expressions "a," "an," "the," "above," "the," and "the" are intended to also Expressions such as "one or more" are included unless the context clearly dictates otherwise. It should also be understood that, in the following embodiments of the present application, "at least one" and "one or more" refer to one, two or more than two. The term "and/or", used to describe the association relationship of related objects, indicates that there can be three kinds of relationships; for example, A and/or B, can indicate: A alone exists, A and B exist at the same time, and B exists alone, A and B can be singular or plural. The character "/" generally indicates that the associated objects are an "or" relationship.
在本说明书中描述的参考“一个实施例”或“一些实施例”等意味着在本申请的一个或多个实施例中包括结合该实施例描述的特定特征、结构或特点。由此,在本说明书中的不同之处出现的语句“在一个实施例中”、“在一些实施例中”、“在其他一些实施例中”、“在另外一些实施例中”等不是必然都参考相同的实施例,而是意味着“一个或多个但不是所有的实施例”,除非是以其他方式另外特别强调。术语“包括”、“包含”、“具有”及它们的变形都意味着“包括但不限于”,除非是以其他方式另外特别强调。References in this specification to "one embodiment" or "some embodiments" and the like mean that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in other embodiments," etc. in various places in this specification are not necessarily All refer to the same embodiment, but mean "one or more but not all embodiments" unless specifically emphasized otherwise. The terms "including", "including", "having" and their variants mean "including but not limited to" unless specifically emphasized otherwise.
为了下述各实施例的描述清楚简洁,首先给出相关技术的简要介绍:In order to describe the following embodiments clearly and concisely, a brief introduction of the related technology is given first:
目前同一个终端设备往往能支持多种网络制式,例如,智能手机往往可同时支持4G网络制式和5G网络制式。At present, the same terminal device can often support multiple network standards. For example, smartphones can often support 4G network standards and 5G network standards at the same time.
其中,不同的网络制式的具有不同的优缺点,通常情况下,各代网络制式的网速在逐渐增加,但是,各代网络制式的功耗往往越来越高。例如,5G网络制式可提供更快的网速和更高的频谱利用率,但是,与4G网络制式相比,5G网络制式的功耗更高。以通过智能手机观 看视频为例,同一个智能手机在5G网络制式和4G网络制式下的功耗差异通常在100mA/h左右。另外,与5G网络制式相比,4G网络制式的功耗较低,但4G网络制式的网速往往低于5G网络制式的网速。因此,不同的网络制式往往适用于不同的应用场景。Among them, different network standards have different advantages and disadvantages. Generally, the network speed of each generation of network standards is gradually increasing, but the power consumption of each generation of network standards is often higher and higher. For example, the 5G network standard can provide faster network speed and higher spectrum utilization, but the power consumption of the 5G network standard is higher than that of the 4G network standard. Taking watching a video on a smartphone as an example, the difference in power consumption of the same smartphone under the 5G network standard and the 4G network standard is usually about 100mA/h. In addition, compared with the 5G network standard, the power consumption of the 4G network standard is lower, but the network speed of the 4G network standard is often lower than that of the 5G network standard. Therefore, different network standards are often suitable for different application scenarios.
目前,为了发挥不同网络制式的优势,在终端设备出厂前,可在终端设备内配置一个黑名单,在该黑名单中记录有多个APP,该APP通常为功耗较高的APP,或者为对网速要求不高的APP。这种情况下,如果终端设备运行的APP为记录在黑名单中的APP,则终端设备确定自身的网络制式为4G网络制式,以减少自身的功耗;如果终端设备运行的APP并未记录在黑名单中,则终端设备确定自身的网络制式为5G网络制式,以提高网速。At present, in order to take advantage of different network standards, a blacklist can be configured in the terminal device before the terminal device leaves the factory. Multiple APPs are recorded in the blacklist. The APP is usually an APP with high power consumption, or a Apps that do not require high internet speed. In this case, if the APP running on the terminal device is an APP recorded in the blacklist, the terminal device determines that its own network standard is the 4G network standard to reduce its own power consumption; if the APP running on the terminal device is not recorded in the blacklist In the blacklist, the terminal device determines that its own network standard is the 5G network standard to improve the network speed.
通过上述技术方案,希望终端设备在运行不同的APP时,可切换至该APP适用的网络制式。但是,APP的数量较庞大,黑名单往往只能包括部分APP,目前的技术方案仅能考虑到部分APP是否适合记录在黑名单中。终端设备在运行其他未被考虑的APP时,往往无法发挥不同网络制式的优势。Through the above technical solutions, it is hoped that when the terminal device runs a different APP, it can switch to the network standard applicable to the APP. However, the number of APPs is relatively large, and the blacklist often only includes some APPs, and the current technical solution can only consider whether some APPs are suitable to be recorded in the blacklist. When terminal devices run other apps that are not considered, they often cannot take advantage of different network standards.
另外,在终端设备出厂之前,就将黑名单设置在终端设备内。但是,在终端设备出厂之后,往往还会有新的APP被开发出来。这种情况下,无法考虑新出现的APP是否适合记录在黑名单中,相应的,终端设备在运行新出现的APP时,也无法发挥不同网络制式的优势。In addition, before the terminal device leaves the factory, the blacklist is set in the terminal device. However, after the terminal device leaves the factory, new APPs are often developed. In this case, it cannot be considered whether the newly appeared APP is suitable to be recorded in the blacklist, and accordingly, the terminal device cannot take advantage of different network standards when running the newly appeared APP.
进一步的,目前的技术方案中,黑名单中记录的APP往往是固定的,而无法考虑到用户的实际应用情况。例如,如果某一个APP被记录在黑名单中,即使用户希望以较高的网速应用该APP,终端设备也会应用4G网络制式,无法满足用户对高网速的需求。Further, in the current technical solution, the APPs recorded in the blacklist are often fixed, and the actual application situation of the user cannot be considered. For example, if a certain APP is recorded in the blacklist, even if the user wants to use the APP with a higher network speed, the terminal device will use the 4G network standard, which cannot meet the user's demand for high network speed.
因此,终端设备在通过目前的技术方案确定自身的网络制式时,往往存在灵活性较差的问题。Therefore, when the terminal device determines its own network standard through the current technical solution, there is often a problem of poor flexibility.
为了解决终端装置通过现有技术确定自身的网络制式时,存在的灵活性差的问题,本申请实施例提供一种网络制式确定方法及装置。下面将结合附图对本申请实施例的实施方式进行详细描述。In order to solve the problem of poor flexibility when a terminal device determines its own network standard through the prior art, embodiments of the present application provide a method and device for determining a network standard. The implementation of the embodiments of the present application will be described in detail below with reference to the accompanying drawings.
其中,本申请实施例提供的网络制式确定方法可应用于多种终端装置。在一些实施例中,所述终端装置可以是手机、平板电脑、桌面型、膝上型、笔记本电脑、超级移动个人计算机(Ultra-mobile Personal Computer,UMPC)、手持计算机和上网本等可支持不同网络制式的终端装置,本申请对终端装置的具体形式不做特殊限制。The method for determining the network standard provided by the embodiment of the present application can be applied to various terminal devices. In some embodiments, the terminal device may be a mobile phone, a tablet computer, a desktop, a laptop, a notebook computer, an Ultra-mobile Personal Computer (UMPC), a handheld computer, a netbook, etc., which can support different networks Standard terminal device, this application does not specifically limit the specific form of the terminal device.
以所述终端装置为智能手机作为示例,所述终端装置的结构示意图可如图1所示。参见图1,所述终端装置可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,射频模块150,通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。Taking the terminal device as a smart phone as an example, a schematic structural diagram of the terminal device may be as shown in FIG. 1 . 1, the terminal device may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, Antenna 1, Antenna 2, RF Module 150, Communication Module 160, Audio Module 170, Speaker 170A, Receiver 170B, Microphone 170C, Headphone Jack 170D, Sensor Module 180, Key 190, Motor 191, Indicator 192, Camera 193, Display Screen 194, and a subscriber identification module (subscriber identification module, SIM) card interface 195 and so on.
可以理解的是,本申请实施例示意的结构并不构成对手机的具体限定。在本申请另一些实施例中,手机可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the mobile phone. In other embodiments of the present application, the mobile phone may include more or less components than shown, or some components may be combined, or some components may be separated, or different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network  processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU) Wait. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
其中,控制器可以是手机的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。Among them, the controller can be the nerve center and command center of the mobile phone. The controller can generate an operation control signal according to the instruction operation code and timing signal, and complete the control of fetching and executing instructions.
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in processor 110 is cache memory. This memory may hold instructions or data that have just been used or recycled by the processor 110 . If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby increasing the efficiency of the system.
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。In some embodiments, the processor 110 may include one or more interfaces. The interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous transceiver (universal asynchronous transmitter) receiver/transmitter, UART) interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, subscriber identity module (SIM) interface, and / or universal serial bus (universal serial bus, USB) interface, etc.
I2C接口是一种双向同步串行总线,包括一根串行数据线(serial data line,SDA)和一根串行时钟线(derail clock line,SCL)。在一些实施例中,处理器110可以包含多组I2C总线。处理器110可以通过不同的I2C总线接口分别耦合触摸传感器180K,充电器,闪光灯,摄像头193等。例如:处理器110可以通过I2C接口耦合触摸传感器180K,使处理器110与触摸传感器180K通过I2C总线接口通信,实现手机的触摸功能。The I2C interface is a bidirectional synchronous serial bus that includes a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may contain multiple sets of I2C buses. The processor 110 can be respectively coupled to the touch sensor 180K, the charger, the flash, the camera 193 and the like through different I2C bus interfaces. For example, the processor 110 may couple the touch sensor 180K through the I2C interface, so that the processor 110 and the touch sensor 180K communicate with each other through the I2C bus interface, so as to realize the touch function of the mobile phone.
I2S接口可以用于音频通信。在一些实施例中,处理器110可以包含多组I2S总线。处理器110可以通过I2S总线与音频模块170耦合,实现处理器110与音频模块170之间的通信。在一些实施例中,音频模块170可以通过I2S接口向通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。The I2S interface can be used for audio communication. In some embodiments, the processor 110 may contain multiple sets of I2S buses. The processor 110 may be coupled with the audio module 170 through an I2S bus to implement communication between the processor 110 and the audio module 170 . In some embodiments, the audio module 170 can transmit audio signals to the communication module 160 through the I2S interface, so as to realize the function of answering calls through the Bluetooth headset.
PCM接口也可以用于音频通信,将模拟信号抽样,量化和编码。在一些实施例中,音频模块170与通信模块160可以通过PCM总线接口耦合。在一些实施例中,音频模块170也可以通过PCM接口向通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。所述I2S接口和所述PCM接口都可以用于音频通信。The PCM interface can also be used for audio communications, sampling, quantizing and encoding analog signals. In some embodiments, audio module 170 and communication module 160 may be coupled through a PCM bus interface. In some embodiments, the audio module 170 can also transmit audio signals to the communication module 160 through the PCM interface, so as to realize the function of answering calls through the Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
UART接口是一种通用串行数据总线,用于异步通信。该总线可以为双向通信总线。它将要传输的数据在串行通信与并行通信之间转换。在一些实施例中,UART接口通常被用于连接处理器110与通信模块160。例如:处理器110通过UART接口与通信模块160中的蓝牙模块通信,实现蓝牙功能。在一些实施例中,音频模块170可以通过UART接口向通信模块160传递音频信号,实现通过蓝牙耳机播放音乐的功能。The UART interface is a universal serial data bus used for asynchronous communication. The bus may be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is typically used to connect the processor 110 with the communication module 160 . For example, the processor 110 communicates with the Bluetooth module in the communication module 160 through the UART interface to implement the Bluetooth function. In some embodiments, the audio module 170 can transmit audio signals to the communication module 160 through the UART interface, so as to realize the function of playing music through the Bluetooth headset.
MIPI接口可以被用于连接处理器110与显示屏194,摄像头193等外围器件。MIPI接口包括摄像头串行接口(camera serial interface,CSI),显示屏串行接口(display serial interface,DSI)等。在一些实施例中,处理器110和摄像头193通过CSI接口通信,实现手机的拍摄功能。处理器110和显示屏194通过DSI接口通信,实现手机的显示功能。The MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193 . MIPI interfaces include camera serial interface (CSI), display serial interface (DSI), etc. In some embodiments, the processor 110 communicates with the camera 193 through a CSI interface to implement the shooting function of the mobile phone. The processor 110 communicates with the display screen 194 through the DSI interface to realize the display function of the mobile phone.
GPIO接口可以通过软件配置。GPIO接口可以被配置为控制信号,也可被配置为数据信号。在一些实施例中,GPIO接口可以用于连接处理器110与摄像头193,显示屏194,通信模块160,音频模块170,传感器模块180等。GPIO接口还可以被配置为I2C接口,I2S接口,UART接口,MIPI接口等。The GPIO interface can be configured by software. The GPIO interface can be configured as a control signal or as a data signal. In some embodiments, the GPIO interface may be used to connect the processor 110 with the camera 193, the display screen 194, the communication module 160, the audio module 170, the sensor module 180, and the like. The GPIO interface can also be configured as I2C interface, I2S interface, UART interface, MIPI interface, etc.
USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB接口,USB Type C接口等。USB接口130可以用于连接充电器为手机充电,也可以用于手机与外围设备之间传输数据。也可以用于连接耳机,通过耳机播放音频。该接口还可以用于连接其他终端装置,例如AR设备等。The USB interface 130 is an interface that conforms to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, and the like. The USB interface 130 can be used to connect a charger to charge the mobile phone, and can also be used to transfer data between the mobile phone and peripheral devices. It can also be used to connect headphones to play audio through the headphones. The interface can also be used to connect other terminal devices, such as AR equipment.
可以理解的是,本申请实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对手机的结构限定。在本申请另一些实施例中,手机也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。It can be understood that the interface connection relationship between the modules illustrated in the embodiments of the present application is only a schematic illustration, and does not constitute a structural limitation of the mobile phone. In other embodiments of the present application, the mobile phone may also adopt different interface connection manners in the foregoing embodiments, or a combination of multiple interface connection manners.
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过手机的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为终端装置供电。The charging management module 140 is used to receive charging input from the charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from the wired charger through the USB interface 130 . In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through the wireless charging coil of the mobile phone. While the charging management module 140 charges the battery 142 , it can also supply power to the terminal device through the power management module 141 .
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,外部存储器,显示屏194,摄像头193,和通信模块160等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。The power management module 141 is used for connecting the battery 142 , the charging management module 140 and the processor 110 . The power management module 141 receives input from the battery 142 and/or the charge management module 140 and supplies power to the processor 110 , the internal memory 121 , the external memory, the display screen 194 , the camera 193 , and the communication module 160 . The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, battery health status (leakage, impedance). In some other embodiments, the power management module 141 may also be provided in the processor 110 . In other embodiments, the power management module 141 and the charging management module 140 may also be provided in the same device.
手机的无线通信功能可以通过天线1,天线2,射频模块150,通信模块160,调制解调处理器以及基带处理器等实现。The wireless communication function of the mobile phone can be realized by the antenna 1, the antenna 2, the radio frequency module 150, the communication module 160, the modulation and demodulation processor, the baseband processor, and the like.
天线1和天线2用于发射和接收电磁波信号。手机中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。 Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in a cell phone can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, the antenna 1 can be multiplexed as a diversity antenna of the wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
射频模块150可以提供应用在手机上的包括2G/3G/4G/5G等无线通信的解决方案。射频模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。射频模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。射频模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,射频模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,射频模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。The radio frequency module 150 can provide wireless communication solutions including 2G/3G/4G/5G etc. applied to the mobile phone. The radio frequency module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA) and the like. The radio frequency module 150 can receive electromagnetic waves from the antenna 1, filter and amplify the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The radio frequency module 150 can also amplify the signal modulated by the modulation and demodulation processor, and then convert it into electromagnetic waves for radiation through the antenna 1 . In some embodiments, at least part of the functional modules of the radio frequency module 150 may be provided in the processor 110 . In some embodiments, at least part of the functional modules of the radio frequency module 150 may be provided in the same device as at least part of the modules of the processor 110 .
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与射频模块150或其他功能模块设置在同一个器件中。The modem processor may include a modulator and a demodulator. Wherein, the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. Then the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and passed to the application processor. The application processor outputs sound signals through audio devices (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or videos through the display screen 194 . In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modulation and demodulation processor may be independent of the processor 110, and may be provided in the same device as the radio frequency module 150 or other functional modules.
通信模块160可以提供应用在手机上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(Bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信 技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。通信模块160可以是集成至少一个通信处理模块的一个或多个器件。通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。The communication module 160 can provide applications on the mobile phone including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (global Navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions. The communication module 160 may be one or more devices integrating at least one communication processing module. The communication module 160 receives electromagnetic waves via the antenna 2 , frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 . The communication module 160 can also receive the signal to be sent from the processor 110 , perform frequency modulation on it, amplify the signal, and then convert it into electromagnetic waves for radiation through the antenna 2 .
在一些实施例中,手机的天线1和射频模块150耦合,天线2和通信模块160耦合,使得手机可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(code division multiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。In some embodiments, the antenna 1 of the mobile phone is coupled with the radio frequency module 150, and the antenna 2 is coupled with the communication module 160, so that the mobile phone can communicate with the network and other devices through wireless communication technology. The wireless communication technologies may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code Division Multiple Access (WCDMA), Time Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC , FM, and/or IR technology, etc. The GNSS may include a global positioning system (global positioning system, GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite based augmentation systems (SBAS).
手机通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。在本申请实施例中,显示屏194中可包括显示器和触控器件。显示器用于向用户输出显示内容,触控器件用于接收用户在显示屏194上输入的触摸事件。The mobile phone realizes the display function through the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or alter display information. In this embodiment of the present application, the display screen 194 may include a display and a touch device. The display is used for outputting display content to the user, and the touch device is used for receiving touch events input by the user on the display screen 194 .
在手机中,传感器模块180可以包括陀螺仪,加速度传感器,压力传感器,气压传感器,磁传感器(例如霍尔传感器),距离传感器,接近光传感器,指纹传感器,温度传感器,触摸传感器,热释电红外传感器,环境光传感器或骨传导传感器等一项或多项,本申请实施例对此不做任何限制。In a mobile phone, the sensor module 180 may include a gyroscope, an acceleration sensor, a pressure sensor, an air pressure sensor, a magnetic sensor (eg, a Hall sensor), a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, a pyroelectric infrared sensor One or more sensors, ambient light sensors, or bone conduction sensors, etc., are not limited in this embodiment of the present application.
手机可以通过ISP,摄像头193,视频编解码器,GPU,柔性显示屏194以及应用处理器等实现拍摄功能。The mobile phone can realize the shooting function through ISP, camera 193, video codec, GPU, flexible display screen 194 and application processor.
ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头193中。The ISP is used to process the data fed back by the camera 193 . For example, when taking a photo, the shutter is opened, the light is transmitted to the camera photosensitive element through the lens, the light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on image noise, brightness, and skin tone. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP may be provided in the camera 193 .
摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,手机可以包括1个或N个摄像头193,N为大于1的正整数。Camera 193 is used to capture still images or video. The object is projected through the lens to generate an optical image onto the photosensitive element. The photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. DSP converts digital image signals into standard RGB, YUV and other formats of image signals. In some embodiments, the mobile phone may include 1 or N cameras 193 , where N is a positive integer greater than 1.
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当手机在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。A digital signal processor is used to process digital signals, in addition to processing digital image signals, it can also process other digital signals. For example, when the mobile phone selects the frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy, etc.
视频编解码器用于对数字视频压缩或解压缩。手机可以支持一种或多种视频编解码器。这样,手机可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts  group,MPEG)1,MPEG2,MPEG3,MPEG4等。Video codecs are used to compress or decompress digital video. A phone can support one or more video codecs. In this way, the mobile phone can play or record videos in various encoding formats, such as: Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4 and so on.
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现手机的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。The NPU is a neural-network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transfer mode between neurons in the human brain, it can quickly process the input information, and can continuously learn by itself. Through the NPU, applications such as intelligent cognition of mobile phones can be realized, such as image recognition, face recognition, speech recognition, text understanding, etc.
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展手机的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the mobile phone. The external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example to save files like music, video etc in external memory card.
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。处理器110通过运行存储在内部存储器121的指令,从而执行手机的各种功能应用以及数据处理。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储手机使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。Internal memory 121 may be used to store computer executable program code, which includes instructions. The processor 110 executes various functional applications and data processing of the mobile phone by executing the instructions stored in the internal memory 121 . The internal memory 121 may include a storage program area and a storage data area. The storage program area can store an operating system, an application program required for at least one function (such as a sound playback function, an image playback function, etc.), and the like. The storage data area can store data (such as audio data, phone book, etc.) created during the use of the mobile phone. In addition, the internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (UFS), and the like.
手机可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如网络制式确定,录音等。The mobile phone can implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, and an application processor. For example, network standard determination, recording, etc.
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。The audio module 170 is used for converting digital audio information into analog audio signal output, and also for converting analog audio input into digital audio signal. Audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be provided in the processor 110 , or some functional modules of the audio module 170 may be provided in the processor 110 .
扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。手机可以通过扬声器170A收听音乐,或收听免提通话。 Speaker 170A, also referred to as a "speaker", is used to convert audio electrical signals into sound signals. The mobile phone can listen to music through the speaker 170A, or listen to hands-free calls.
受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当手机接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语音。The receiver 170B, also referred to as "earpiece", is used to convert audio electrical signals into sound signals. When the mobile phone receives a call or a voice message, the voice can be received by placing the receiver 170B close to the human ear.
麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入到麦克风170C。手机可以设置至少一个麦克风170C。在另一些实施例中,手机可以设置两个麦克风170C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,手机还可以设置三个,四个或更多麦克风170C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。The microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can make a sound by approaching the microphone 170C through a human mouth, and input the sound signal into the microphone 170C. The mobile phone may be provided with at least one microphone 170C. In other embodiments, the mobile phone may be provided with two microphones 170C, which in addition to collecting sound signals, may also implement a noise reduction function. In other embodiments, the mobile phone can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and implement directional recording functions.
耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接口130,也可以是3.5mm的开放移动电子设备平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。The earphone jack 170D is used to connect wired earphones. The earphone interface 170D can be the USB interface 130, or can be a 3.5mm open mobile terminal platform (OMTP) standard interface, a cellular telecommunications industry association of the USA (CTIA) standard interface.
按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。手机可以接收按键输入,产生与手机的用户设置以及功能控制有关的键信号输入。The keys 190 include a power-on key, a volume key, and the like. Keys 190 may be mechanical keys. It can also be a touch key. The cell phone can receive key input and generate key signal input related to user settings and function control of the cell phone.
马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。作用于柔性显示屏194不同区域的触摸操作,马达191也可对应不同的振动反馈效果。不同的应用场景(例如:时间提醒,接收信息,闹钟,游戏等)也可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。Motor 191 can generate vibrating cues. The motor 191 can be used for vibrating alerts for incoming calls, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, playing audio, etc.) can correspond to different vibration feedback effects. The motor 191 can also correspond to different vibration feedback effects for touch operations in different areas of the flexible display screen 194 . Different application scenarios (for example: time reminder, receiving information, alarm clock, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.
指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息, 未接来电,通知等。The indicator 192 can be an indicator light, which can be used to indicate the charging state, the change of power, and can also be used to indicate a message, a missed call, a notification, and the like.
SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和手机的接触和分离。手机可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口195可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口195可以同时插入多张卡。所述多张卡的类型可以相同,也可以不同。SIM卡接口195也可以兼容不同类型的SIM卡。SIM卡接口195也可以兼容外部存储卡。手机通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,手机采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在手机中,不能和手机分离。The SIM card interface 195 is used to connect a SIM card. The SIM card can be inserted into the SIM card interface 195 or pulled out from the SIM card interface 195 to achieve contact and separation with the mobile phone. The mobile phone can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM card, Micro SIM card, SIM card and so on. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the plurality of cards may be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 is also compatible with external memory cards. The mobile phone interacts with the network through the SIM card to realize functions such as calls and data communication. In some embodiments, the cell phone employs an eSIM, ie an embedded SIM card. The eSIM card can be embedded in the mobile phone and cannot be separated from the mobile phone.
另外,在上述部件之上,运行有操作系统。例如苹果公司所开发的iOS操作系统,谷歌公司所开发的安卓Android开源操作系统,微软公司所开发的Windows操作系统等。在该操作系统上可以安装运行应用程序。In addition, an operating system runs on the above-mentioned components. For example, the iOS operating system developed by Apple, the Android open source operating system developed by Google, and the Windows operating system developed by Microsoft. Applications can be installed and run on this operating system.
为了明确终端装置在执行本申请公开的方案时,终端装置内的各软件架构所执行的功能操作,本申请实施例还公开了终端装置的软件结构。In order to clarify the functional operations performed by each software architecture in the terminal device when the terminal device executes the solution disclosed in the present application, the embodiment of the present application further discloses the software structure of the terminal device.
终端装置的操作系统可以采用分层架构、事件驱动架构、微核架构、微服务架构或云架构等。本申请实施例以分层架构的安卓Android系统为例,示例性说明终端装置的软件结构。The operating system of the terminal device may adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture, or the like. The embodiments of the present application take an Android system with a layered architecture as an example to exemplarily describe the software structure of a terminal device.
其中,图2即为本申请实施例的一种终端装置的软件结构框图的示例图。2 is an example diagram of a software structural block diagram of a terminal device according to an embodiment of the present application.
分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在本申请实施例提供的一种可行的分层架构中,Android系统从上至下包括:应用层、框架层和驱动层等。The layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Layers communicate with each other through software interfaces. In a feasible layered architecture provided by the embodiments of the present application, the Android system includes, from top to bottom, an application layer, a framework layer, a driver layer, and the like.
参见图2,所述驱动层包括网络制式切换模块和参数统计模块,其中,网络制式切换模块用于对终端装置的网络制式进行切换,例如,终端装置当前的网络制式为4G网络制式,并且需要将终端装置的网络制式切换为5G网络制式,则所述网络制式切换模块可将终端装置的网络制式从4G网络制式切换至5G网络制式。并且,在本申请实施例提供的方案中,所述网络制式切换模块可实现网络制式的快速切换,为了保障用户的网络体验不受影响,所述网络制式切换模块通常可在几毫秒时间内完成网络制式的切换。Referring to FIG. 2 , the driver layer includes a network standard switching module and a parameter statistics module, wherein the network standard switching module is used to switch the network standard of the terminal device. For example, the current network standard of the terminal device is a 4G network standard, and needs to be If the network standard of the terminal device is switched to the 5G network standard, the network standard switching module can switch the network standard of the terminal device from the 4G network standard to the 5G network standard. In addition, in the solution provided by the embodiment of the present application, the network mode switching module can realize the rapid switching of the network mode. In order to ensure that the user's network experience is not affected, the network mode switching module can usually be completed within a few milliseconds. Switching of network formats.
另外,参数统计模块用于统计第一参数,其中,所述第一参数通常包括以下参数中的至少一种:所述第一APP在第一时间段内的数据总量、所述第一APP的峰值下载速度、所述终端装置链接的基站的信号的质量和所述终端装置的剩余电量。In addition, the parameter statistics module is configured to count the first parameter, wherein the first parameter usually includes at least one of the following parameters: the total amount of data of the first APP in the first time period, the first APP The peak download speed of the terminal device, the signal quality of the base station to which the terminal device is linked, and the remaining battery power of the terminal device.
所述第一参数可作为确定第一APP适用的网络制式的参考。当然,所述参数统计模块还可以统计其他类型的第一参数,本申请实施例对此不作限定。The first parameter may be used as a reference for determining the network standard applicable to the first APP. Certainly, the parameter statistics module may also count other types of first parameters, which are not limited in this embodiment of the present application.
所述框架层为连接应用层和驱动层的纽带。在框架层中包括参数解析模块和策略配置模块,所述参数解析模块用于获取所述驱动层传输的第一参数,并对所述第一参数进行解析处理,并且还可将解析处理后的第一参数传输至应用层,以便所述应用层在确定终端装置需要切换的网络制式时,将所述第一参数作为参考。The framework layer is a link connecting the application layer and the driver layer. The framework layer includes a parameter parsing module and a policy configuration module, and the parameter parsing module is used to obtain the first parameter transmitted by the driver layer, perform parsing processing on the first parameter, and also The first parameter is transmitted to the application layer, so that the application layer takes the first parameter as a reference when determining the network standard that the terminal device needs to switch to.
另外,所述策略配置模块用于接收获取所述应用层传输的网络制式的切换策略,该切换策略可指示需要切换的网络制式,并将该切换策略传输至所述驱动层中的网络制式切换模块,以便所述网络制式切换模块根据所述切换策略切换至相应的网络制式。In addition, the policy configuration module is configured to receive and acquire the switching policy of the network standard transmitted by the application layer, the switching policy can indicate the network standard to be switched, and transmit the switching policy to the network standard switching in the driver layer module, so that the network standard switching module switches to the corresponding network standard according to the switching policy.
所述应用层包括网络制式确定模块和显示模块,所述显示模块可显示第一选择栏,所述网络制式确定模块可根据接收到的针对所述第一选择栏的第一操作,确定需要切换的网络制式。并且,所述网络制式确定模块还可通过其他方式,确定终端装置需要切换的网络制式。 例如,所述网络制式确定模块可根据所述框架层传输的第一参数,确定第一APP适用的网络制式,将所述第一APP适用的网络制式作为终端装置需要切换的网络制式。The application layer includes a network standard determination module and a display module, the display module can display a first selection bar, and the network standard determination module can determine the need to switch according to the received first operation for the first selection bar. network format. In addition, the network standard determination module may also determine the network standard to be switched by the terminal device in other ways. For example, the network standard determination module may determine the network standard applicable to the first APP according to the first parameter transmitted by the framework layer, and use the network standard suitable for the first APP as the network standard that the terminal device needs to switch.
在确定需要切换的网络制式之后,网络制式确定模块可生成相应的网络制式的切换策略,并将该切换策略传输至所述策略配置模块,以实现网络制式的切换。After determining the network standard that needs to be switched, the network standard determination module can generate a corresponding network standard switching strategy, and transmit the switching strategy to the strategy configuration module to realize the network standard switching.
在一种可行的设计中,图2所示的软件架构可位于终端装置的片上系统(system on chip,SoC)中。In one possible design, the software architecture shown in FIG. 2 may be located in a system on chip (SoC) of the end device.
当然,在本申请实施例中,还可采用其他方式划分终端装置的软件结构,本申请实施例对此不作限定。Of course, in the embodiment of the present application, other manners may also be used to divide the software structure of the terminal device, which is not limited in the embodiment of the present application.
为了明确本申请提供的方案,以下结合附图,通过各个实施例,对本申请所提供的方案进行介绍说明。In order to clarify the solutions provided by the present application, the solutions provided by the present application will be introduced and described below with reference to the accompanying drawings and through various embodiments.
参见图3所示的工作流程示意图,本申请实施例公开一种网络制式确定方法,该方法包括以下步骤:Referring to the schematic diagram of the workflow shown in FIG. 3 , an embodiment of the present application discloses a method for determining a network format, and the method includes the following steps:
步骤S11、显示终端装置内安装的第一应用程序APP的第一选择栏,所述第一选择栏包括所述终端装置支持的至少两种网络制式。Step S11 , displaying a first selection bar of a first application program APP installed in the terminal device, where the first selection bar includes at least two network standards supported by the terminal device.
例如,如果所述终端装置支持4G网络制式和5G网络制式,则所述第一选择栏中可包括所述4G网络制式和5G网络制式。For example, if the terminal device supports a 4G network standard and a 5G network standard, the first selection column may include the 4G network standard and the 5G network standard.
步骤S12、接收针对所述第一选择栏的第一操作,所述第一操作用于选择所述至少两种网络制式中的目标网络制式。Step S12: Receive a first operation for the first selection field, where the first operation is used to select a target network standard among the at least two network standards.
在本申请实施例中,所述第一选择栏可通过多种形式实现。在其中一种形式中,参见图4(a)所示的示意图,所述第一选择栏可为进度条的形式,这种情况下,所述第一操作可为拖动所述进度条的操作,并且,可根据所述进度条被拖动的位置,确定所述第一操作选择的目标网络制式。设定所述终端装置支持的至少两种网络制式包括5G网络制式和4G网络制式,在图4(a)中,最上方对应的网络制式为5G网络制式,最下方对应的网络制式为4G网络制式,则进度条被拖动至最上方时,所述目标网络制式为5G网络制式,进度条被拖动至最下方时,所述目标网络制式为4G网络制式。In this embodiment of the present application, the first selection bar may be implemented in various forms. In one form, referring to the schematic diagram shown in FIG. 4( a ), the first selection bar may be in the form of a progress bar, and in this case, the first operation may be dragging the progress bar operation, and the target network standard selected by the first operation can be determined according to the dragged position of the progress bar. It is set that at least two network standards supported by the terminal device include 5G network standards and 4G network standards. In Figure 4(a), the network standard corresponding to the top is the 5G network standard, and the network standard corresponding to the bottom is the 4G network system, when the progress bar is dragged to the top, the target network standard is the 5G network standard, and when the progress bar is dragged to the bottom, the target network standard is the 4G network standard.
在另一种形式中,参见图4(b)所示的示意图,所述第一选择栏包括所述终端装置支持的各个网络制式,以及所述网络制式分别对应的选择框。这种情况下,所述第一操作为触控其中一个选择框的操作,并且,被触控的选择框对应的网络制式即为所述目标网络制式。在图4(b)中,包括4G网络制式和5G网络制式,以及4G网络制式和5G网络制式分别对应的选择框。如果所述第一操作为触控所述5G网络制式对应选择框,则所述目标网络制式为5G网络制式。In another form, referring to the schematic diagram shown in FIG. 4( b ), the first selection bar includes each network standard supported by the terminal device, and selection boxes corresponding to the network standard respectively. In this case, the first operation is an operation of touching one of the selection boxes, and the network standard corresponding to the touched selection box is the target network standard. In Figure 4(b), the 4G network standard and the 5G network standard are included, as well as the selection boxes corresponding to the 4G network standard and the 5G network standard respectively. If the first operation is to touch the selection box corresponding to the 5G network standard, the target network standard is the 5G network standard.
当然,所述第一选择栏还可为其他形式,相应的,所述第一操作也可为其他形式的操作,本申请实施例对此不作限定。Certainly, the first selection bar may also be in other forms, and correspondingly, the first operation may also be an operation in other forms, which is not limited in this embodiment of the present application.
步骤S13、在应用所述第一APP的过程中,确定所述终端装置的网络制式为所述目标网络制式。Step S13, in the process of applying the first APP, determine that the network standard of the terminal device is the target network standard.
其中,应用所述第一APP,通常指的是在终端装置的前台运行所述第一APP。在应用所述第一APP的过程中,确定所述终端装置的网络制式为所述目标网络制式,则可在目标网络制式下运行所述第一APP。Wherein, applying the first APP generally refers to running the first APP in the foreground of the terminal device. In the process of applying the first APP, if it is determined that the network standard of the terminal device is the target network standard, the first APP can be run under the target network standard.
通过本申请实施例提供的方案,可根据第一操作,调整终端装置在应用第一APP的过程中的网络制式。该方案适用于终端装置内安装的各个APP,无需受到黑名单的限制,并且, 用户可根据自身对网络制式的需求做出相应的第一操作,以使终端装置通过相应的网络制式运行所述第一APP。因此,与现有技术相比,本申请的方案在确定终端装置的网络制式时,灵活性较高。With the solutions provided by the embodiments of the present application, the network standard of the terminal device in the process of applying the first APP can be adjusted according to the first operation. This solution is suitable for each APP installed in the terminal device, without being restricted by the blacklist, and the user can make a corresponding first operation according to his own requirements for the network standard, so that the terminal device can run the above-mentioned network standard through the corresponding network standard. The first APP. Therefore, compared with the prior art, the solution of the present application has higher flexibility when determining the network standard of the terminal device.
进一步的,在本申请实施例提供的方案中,还包括以下步骤:Further, in the scheme provided in the embodiment of the present application, the following steps are also included:
第一步,确定所述第一APP在应用过程中的第一参数。The first step is to determine the first parameter of the first APP in the application process.
其中,所述第一参数通常可反映所述第一APP对网络制式的需求。示例性的,所述第一参数包括以下参数中的至少一种:所述第一APP在第一时间段内的数据总量、所述第一APP的峰值下载速度、所述终端装置链接的基站的信号的质量和所述终端装置的剩余电量。Wherein, the first parameter may generally reflect the network standard requirement of the first APP. Exemplarily, the first parameter includes at least one of the following parameters: the total amount of data of the first APP in the first time period, the peak download speed of the first APP, the link of the terminal device. The signal quality of the base station and the remaining battery power of the terminal device.
当然,所述第一参数还可包括其他可反映所述第一APP对网络制式的需求的参数,本申请实施例对此不作限定。Certainly, the first parameter may further include other parameters that can reflect the requirement of the first APP for the network standard, which is not limited in this embodiment of the present application.
第二步,根据所述第一参数,确定所述第一APP适用的网络制式。The second step is to determine, according to the first parameter, a network standard applicable to the first APP.
通常情况下,如果所述第一参数表明所述第一APP需要耗费较多网络流量,可确定所述第一APP适用的网络制式为网速较高的网络制式;如果所述第一参数表明所述终端装置的剩余电量较低,则可确定所述第一APP适用的网络制式为功耗较低的网络制式。Under normal circumstances, if the first parameter indicates that the first APP needs to consume a lot of network traffic, it can be determined that the network standard applicable to the first APP is a network standard with a higher network speed; If the remaining power of the terminal device is low, it may be determined that the network standard applicable to the first APP is a network standard with low power consumption.
第三步,显示所述第一APP的第一信息,所述第一信息包括:所述第一APP适用的网络制式。The third step is to display the first information of the first APP, where the first information includes: a network standard applicable to the first APP.
其中,用户可将所述第一信息作为选择所述目标网络制式的参考。The user may use the first information as a reference for selecting the target network standard.
在本申请实施例提供的方案中,所述第一信息中包括所述第一APP适用的网络制式。进一步的,所述第一信息还可包括所述第一APP对网络的需求。例如,如果所述第一APP在运行过程中,需要耗费大量的网络流量,则所述第一APP对网络的需求为大流量,所述第一信息还可包括大流量的描述;如果所述第一APP在运行过程中,所需的网络流量较少,则所述第一APP对网络的需求为小流量,所述第一信息还可包括小流量的描述。In the solution provided by the embodiment of the present application, the first information includes a network standard applicable to the first APP. Further, the first information may further include the network requirements of the first APP. For example, if the first APP needs to consume a large amount of network traffic during the running process, the demand of the first APP on the network is a large amount of traffic, and the first information may also include a description of the large amount of traffic; if the During the running process of the first APP, the required network traffic is small, and the network demand of the first APP is a small traffic, and the first information may further include a description of the small traffic.
通过查看所述第一信息,用户可了解到第一APP对网络制式的需求,从而便于根据所述第一APP对网络制式的需求,执行相应的第一操作,以便所述第一操作选择的目标网络制式符合所述第一APP的需求。By viewing the first information, the user can know the requirements of the first APP for the network standard, so that the corresponding first operation can be performed according to the requirements of the first APP on the network standard, so that the first operation can select the network standard. The target network standard meets the requirements of the first APP.
上述步骤中,通过第一APP在应用过程中的第一参数,显示所述第一APP的第一信息,以便通过第一信息,为用户提供选择网络制式的建议,即所述第一信息可作为用户执行所述第一操作的参考,以便在应用第一APP的过程中,终端装置能够调整至所述第一APP适用的目标网络制式。In the above steps, the first information of the first APP is displayed through the first parameter of the first APP in the application process, so as to provide the user with a suggestion for selecting a network standard through the first information, that is, the first information can be used. As a reference for the user to perform the first operation, in the process of applying the first APP, the terminal device can adjust to the target network standard applicable to the first APP.
在本申请实施例中,可通过多种方式显示所述第一APP的第一信息。例如,可在所述第一APP每次切换至前台运行时,在所述第一APP的显示界面中显示所述第一信息。并且,在这一示例中,所述第一信息可在显示一段时间(例如5秒)后消失,以避免所述第一信息遮挡所述第一APP的显示界面。In this embodiment of the present application, the first information of the first APP may be displayed in various manners. For example, the first information may be displayed on the display interface of the first APP each time the first APP switches to the foreground to run. Also, in this example, the first information may disappear after being displayed for a period of time (for example, 5 seconds), so as to prevent the first information from covering the display interface of the first APP.
另外,在另一种可行的实现方式中,所述显示所述第一APP的第一信息包括:In addition, in another feasible implementation manner, the displaying the first information of the first APP includes:
如果所述终端装置的近期任务列表包括所述第一APP,在所述近期任务列表中显示所述第一APP的第一信息。If the recent task list of the terminal device includes the first APP, the first information of the first APP is displayed in the recent task list.
终端装置可根据接收到的操作,显示近期任务列表,所述近期任务列表可称为Recent List。示例性的,通常在应用安卓(Android)系统的部分智能手机的下方包括三个按键,其中最右侧的按键在接收到触控操作之后,该智能手机会显示近期任务列表。The terminal device may display a recent task list according to the received operation, and the recent task list may be referred to as the Recent List. Exemplarily, three buttons are usually included below a part of a smartphone applying the Android (Android) system, and after the rightmost button receives a touch operation, the smartphone will display a list of recent tasks.
在所述近期任务列表中,可显示终端装置近期应用过的APP。在本申请实施例中,如果 所述近期任务列表包括所述第一APP,则可在所述近期任务列表中显示所述第一APP的第一信息,以便用户在查看所述近期任务列表时,查看到所述第一APP的第一信息,从而了解第一APP对网络制式的需求。In the recent task list, APPs recently applied by the terminal device may be displayed. In this embodiment of the present application, if the recent task list includes the first APP, the first information of the first APP may be displayed in the recent task list, so that the user can view the recent task list when viewing the recent task list. , to view the first information of the first APP, so as to understand the requirements of the first APP for the network standard.
在一种可行的设计中,如果所述终端装置的近期任务列表包括所述第一APP,可在在所述近期任务列表包括的所述第一APP的上方显示所述第一APP的第一信息。示例性的,参见图5(a)所示的终端装置的界面示意图,该界面中显示有近期任务列表,所述近期任务列表中包括第一APP,所述第一APP为用于播放视频的APP,网速往往直接影响视频播放的顺畅程度,这种情况下,第一APP通常希望在较高制式的网络制式下运行,如果终端装置同时支持4G网络制式和5G网络制式,则所述第一APP适用的网络制式为5G网络制式,这种情况下,在所述第一APP的上方,显示“5G”的描述。In a feasible design, if the recent task list of the terminal device includes the first APP, the first APP of the first APP may be displayed above the first APP included in the recent task list information. Exemplarily, referring to the schematic interface diagram of the terminal device shown in FIG. 5(a), the interface displays a list of recent tasks, and the list of recent tasks includes a first APP, and the first APP is used for playing videos. APP, the network speed often directly affects the smoothness of video playback. In this case, the first APP usually hopes to run under a higher network standard. If the terminal device supports both 4G network standard and 5G network standard, the first The network standard applicable to an APP is the 5G network standard. In this case, a description of "5G" is displayed above the first APP.
进一步的,在上述示例中,由于第一APP在运行过程中需要播放视频,因此第一APP需要较大的网络流量,所述第一信息还可包括“大流量”的描述,这种情况下,在所述第一APP的上方,还可显示“大流量”的描述。Further, in the above example, since the first APP needs to play a video during the running process, the first APP needs a large network traffic, and the first information may also include a description of "large traffic". In this case, , and above the first APP, a description of "large traffic" may also be displayed.
在另一个示例中,参见图5(b)所示的示意图,所述第一APP为用于阅读电子书的APP,这种情况下,所述第一APP对网速不敏感,所述第一APP适用的网络制式可为4G网络制式,这种情况下,在所述第一APP的上方,显示“4G”的描述。In another example, referring to the schematic diagram shown in FIG. 5( b ), the first APP is an APP for reading e-books. In this case, the first APP is not sensitive to the network speed, and the first APP is A network standard applicable to an APP may be a 4G network standard. In this case, a description of "4G" is displayed above the first APP.
进一步的,由于所述第一APP在运行过程中所需的流量较小,因此所述第一信息还可包括“小流量”的描述,这种情况下,在所述第一APP的上方,还可显示“小流量”的描述。Further, since the flow required by the first APP during operation is small, the first information may also include a description of "small flow". In this case, above the first APP, A description of "small flow" can also be displayed.
或者,在另一实现方式中,所述显示所述第一APP的第一信息包括:Or, in another implementation manner, the displaying the first information of the first APP includes:
首先,确定所述终端装置的网络制式是否与所述第一APP适用的网络制式相同;First, determine whether the network standard of the terminal device is the same as the network standard applicable to the first APP;
然后,如果所述终端装置的网络制式与所述第一APP适用的网络制式不相同,在应用所述第一APP的过程中,在所述第一APP的显示界面显示所述第一APP的第一信息。Then, if the network standard of the terminal device is different from the network standard applicable to the first APP, in the process of applying the first APP, the display interface of the first APP displays the first APP's network standard. first information.
在第一APP的运行过程中,终端装置的网络制式可能与第一APP适用的网络制式并不相同。这种情况下,在所述第一APP的显示界面显示所述第一APP的第一信息,可对用户起到提示作用,即提示用户当前的网络制式对所述第一APP不适用,以便用户根据自身的需求,确定是否需要调整所述终端装置的网络制式。During the running process of the first APP, the network standard of the terminal device may be different from the network standard applicable to the first APP. In this case, displaying the first information of the first APP on the display interface of the first APP can serve as a reminder to the user, that is, to remind the user that the current network standard is not applicable to the first APP, so that the The user determines whether the network standard of the terminal device needs to be adjusted according to his own needs.
例如,如果所述第一APP需要较快的网速,其适用的网络制式为5G网络,但是终端装置的网络制式为4G网络制式,则表明所述第一APP所适用的网络制式与终端装置的网络制式不同,如果不对网络制式进行调整,可能会影响到第一APP在运行过程中的顺畅程度。这种情况下,可在所述第一APP的显示界面显示所述第一APP的第一信息,以便用户知悉终端装置当前的网络制式对所述第一APP不适用。For example, if the first APP needs a faster network speed and the applicable network standard is 5G network, but the network standard of the terminal device is 4G network standard, it indicates that the network standard applicable to the first APP is the same as that of the terminal device. The network standard is different, if the network standard is not adjusted, it may affect the smoothness of the first APP in the running process. In this case, the first information of the first APP may be displayed on the display interface of the first APP, so that the user knows that the current network standard of the terminal device is not applicable to the first APP.
进一步的,在这一实现方案中,所述第一APP的第一信息可以悬浮图层的形式,显示在所述第一APP的显示界面,并且,在显示一段时间(例如5秒)之后,所述第一信息不再显示,以避免对第一APP的显示内容造成遮挡,影响用户对第一APP的使用。Further, in this implementation solution, the first information of the first APP can be displayed on the display interface of the first APP in the form of a floating layer, and after being displayed for a period of time (for example, 5 seconds), The first information is no longer displayed, so as to avoid blocking the displayed content of the first APP and affect the user's use of the first APP.
在本申请实施例提供的方案中,可根据所述第一APP在应用过程中的第一参数,确定所述第一APP适用的网络制式。In the solution provided by the embodiment of the present application, the network standard applicable to the first APP may be determined according to the first parameter of the first APP in the application process.
其中,所述第一参数包括以下参数中的至少一种:所述第一APP在第一时间段内的数据总量、所述第一APP的峰值下载速度、所述终端装置链接的基站的信号的质量和所述终端装置的剩余电量。The first parameter includes at least one of the following parameters: the total amount of data of the first APP in the first time period, the peak download speed of the first APP, the data of the base station connected to the terminal device. The quality of the signal and the remaining power of the terminal device.
在本申请实施例中,设定所述终端装置支持的至少两种网络制式包括第一网络制式和第 二网络制式,所述第一网络制式下的终端装置的功耗低于所述第二网络制式下的终端装置的功耗,所述第一网络制式下的终端装置的网速低于所述第二网络制式下的终端装置的网速。In the embodiment of the present application, it is set that at least two network standards supported by the terminal device include a first network standard and a second network standard, and the power consumption of the terminal device under the first network standard is lower than that of the second network standard. The power consumption of the terminal device under the network standard, the network speed of the terminal device under the first network standard is lower than the network speed of the terminal device under the second network standard.
示例性的,如果所述终端装置支持两种网络制式,这两种网络制式包括第四代4G网络制式和第五代5G网络制式,则第一网络制式为4G网络制式,第二网络制式为5G网络制式。Exemplarily, if the terminal device supports two network standards, and the two network standards include the fourth-generation 4G network standard and the fifth-generation 5G network standard, the first network standard is the 4G network standard, and the second network standard is 5G network standard.
其中,所述第一参数包括所述第一APP在第一时间段内的数据总量,所述根据所述第一参数,确定所述第一APP适用的网络制式,包括:Wherein, the first parameter includes the total amount of data of the first APP in the first time period, and determining the network standard applicable to the first APP according to the first parameter includes:
所述第一APP在第一时间段内的数据总量大于第一阈值,确定所述第一APP适用的网络制式为所述第二网络制式。If the total amount of data of the first APP in the first time period is greater than the first threshold, it is determined that the network standard applicable to the first APP is the second network standard.
如果所述第一APP在第一时间段内的数据总量大于第一阈值,则表明所述第一APP在运行过程中,需要较大的网络流量,这种情况下,第一APP适用的网络制式通常为网速较高的第二网络制式,以保障第一APP的顺畅运行。If the total amount of data of the first APP in the first time period is greater than the first threshold, it indicates that the first APP needs a large amount of network traffic during the running process. In this case, the first APP is suitable for The network standard is usually the second network standard with higher network speed to ensure the smooth operation of the first APP.
相应的,如果所述第一APP在第一时间段内的数据总量不大于第一阈值,则确定所述第一APP适用的网络制式为功耗较低的第一网络制式。Correspondingly, if the total amount of data of the first APP in the first time period is not greater than the first threshold, it is determined that the network standard applicable to the first APP is the first network standard with lower power consumption.
在这一方案中,所述第一阈值可预先设置,并且,在终端装置的应用过程中,用户可根据自身需求调整所述第一阈值。In this solution, the first threshold can be preset, and during the application process of the terminal device, the user can adjust the first threshold according to his own needs.
示例性的,所述第一时间段为24小时,第一阈值为500兆(MByte,MB),这种情况下,如果第一APP在24小时内的数据总量超过500MB,则表明所述第一APP需要较大的网络流量,为了保障第一APP的顺畅运行,通常需要为第一APP提供较高的网速,可认为第一APP适用的网络制式为网速较高的第二网络制式,如果第一APP在一天内的数据总量不超过500MB,则第一APP适用的网络制式为功耗较低的第一网络制式。Exemplarily, the first time period is 24 hours, and the first threshold is 500 megabytes (MByte, MB). The first APP requires large network traffic. In order to ensure the smooth operation of the first APP, it is usually necessary to provide a higher network speed for the first APP. It can be considered that the network standard applicable to the first APP is the second network with higher network speed. If the total amount of data of the first APP in one day does not exceed 500MB, the network standard applicable to the first APP is the first network standard with lower power consumption.
在另一个示例中,所述第一时间段为30分钟,第一阈值为200MB,这种情况下,如果第一APP在30分钟的数据总量超过200MB,则第一APP适用的网络制式为网速较高的第二网络制式,如果第一APP在30分钟内的数据总量不超过200MB,则第一APP适用的网络制式为功耗较低的第一网络制式。In another example, the first time period is 30 minutes, and the first threshold is 200MB. In this case, if the total amount of data of the first APP in 30 minutes exceeds 200MB, the network standard applicable to the first APP is: For the second network standard with higher network speed, if the total amount of data of the first APP within 30 minutes does not exceed 200MB, the network standard applicable to the first APP is the first network standard with lower power consumption.
在另一种实现方案中,所述第一参数包括所述第一APP的峰值下载速度,所述根据所述第一参数,确定所述第一APP适用的网络制式,包括:In another implementation solution, the first parameter includes a peak download speed of the first APP, and determining a network standard applicable to the first APP according to the first parameter includes:
所述第一APP的峰值下载速度大于第二阈值,确定所述第一APP适用的网络制式为所述第二网络制式。When the peak download speed of the first APP is greater than the second threshold, it is determined that the network standard applicable to the first APP is the second network standard.
其中,APP的峰值下载速度通常指的是该APP在上传或下载数据时的最高网速。如果所述第一APP的峰值下载速度大于第二阈值,则表明所述第一APP需要较高网速,因此可确定所述第一APP适用的网络制式为网速较高的第二网络制式。Among them, the peak download speed of an APP usually refers to the highest network speed of the APP when uploading or downloading data. If the peak download speed of the first APP is greater than the second threshold, it indicates that the first APP needs a higher network speed, so it can be determined that the network standard applicable to the first APP is the second network standard with a higher network speed .
相应的,如果第一APP的峰值下载速度不大于第二阈值,则可确定所述第一APP适用的网络制式为功耗较低的第一网络制式。Correspondingly, if the peak download speed of the first APP is not greater than the second threshold, it may be determined that the network standard applicable to the first APP is the first network standard with lower power consumption.
在这一方案中,所述第二阈值可预先设置,并且,在终端装置的应用过程中,用户可根据自身需求调整所述第二阈值。In this solution, the second threshold can be preset, and during the application process of the terminal device, the user can adjust the second threshold according to his own needs.
示例性的,所述第一阈值可为4MB/s,这种情况下,如果第一APP的峰值下载速度超过4MB/s,则第一APP适用的网络制式为网速较高的第二网络制式,如果第一APP的峰值下载速度不大于4MB/s,则第一APP适用的网络制式为功耗较低的第一网络制式。Exemplarily, the first threshold may be 4MB/s. In this case, if the peak download speed of the first APP exceeds 4MB/s, the network standard applicable to the first APP is the second network with a higher network speed. standard, if the peak download speed of the first APP is not greater than 4MB/s, the network standard applicable to the first APP is the first network standard with lower power consumption.
或者,在另一种可行的实现方案中,所述第一参数包括所述终端装置链接的基站的信号的质量,所述根据所述第一参数,确定所述第一APP适用的网络制式,包括:Or, in another feasible implementation solution, the first parameter includes the signal quality of the base station to which the terminal device is linked, and the network standard applicable to the first APP is determined according to the first parameter, include:
所述终端装置链接的基站的信号的质量大于第三阈值,确定所述第一APP适用的网络制式为所述信号对应的网络制式。The quality of the signal of the base station linked by the terminal device is greater than the third threshold, and it is determined that the network standard applicable to the first APP is the network standard corresponding to the signal.
其中,基站的信号的质量可通过多种质量参数表征,示例性的,该质量参数可包括以下参数中的至少一种:参考信号接收功率(reference signal receiving power,RSRP)、参考信号接收质量(reference signal receiving quality,RSRQ)和信号与干扰加噪声比(signal to interference plus noise ratio,SINR)等。The quality of the signal of the base station may be characterized by a variety of quality parameters. Exemplarily, the quality parameter may include at least one of the following parameters: reference signal receiving power (RSRP), reference signal receiving quality ( reference signal receiving quality, RSRQ) and signal to interference plus noise ratio (signal to interference plus noise ratio, SINR) and so on.
这种情况下,如果所述信号的质量大于第三阈值,则表明所述信号的质量较好,该终端装置可继续应用该信号对应的网络制式。In this case, if the quality of the signal is greater than the third threshold, it indicates that the quality of the signal is good, and the terminal device can continue to apply the network standard corresponding to the signal.
相应的,如果终端装置链接的基站的信号的质量不大于第三阈值,则表明该信号的质量较差,为了避免影响第一APP的应用,可确定第一APP适用的网络制式为所述终端装置支持的另一网络制式。Correspondingly, if the quality of the signal of the base station linked by the terminal device is not greater than the third threshold, it indicates that the quality of the signal is poor. In order to avoid affecting the application of the first APP, it can be determined that the network standard applicable to the first APP is the terminal Another network format supported by the device.
示例性的,所述终端基站当前链接的基站提供的信号为5G网络制式的信号,并且信号的质量大于第三阈值,则可确定第一APP适用的网络制式为5G网络制式。另外,如果所述终端基站当前链接的基站提供的信号为5G网络制式的信号,并且该基站的信号的质量不大于第三阈值,则表明5G网络制式的信号的质量较差,可确定第一APP适用的网络制式为4G网络制式。Exemplarily, if the signal provided by the base station to which the terminal base station is currently linked is a signal of the 5G network standard, and the quality of the signal is greater than the third threshold, it may be determined that the network standard applicable to the first APP is the 5G network standard. In addition, if the signal provided by the base station to which the terminal base station is currently linked is a signal of the 5G network standard, and the quality of the signal of the base station is not greater than the third threshold, it indicates that the quality of the signal of the 5G network standard is poor, and it can be determined that the first The network standard applicable to the APP is 4G network standard.
或者,在另一种可行的实现方式中,所述第一参数包括所述终端装置的剩余电量,所述根据所述第一参数,确定所述第一APP适用的网络制式,包括:Or, in another feasible implementation manner, the first parameter includes the remaining power of the terminal device, and the determining, according to the first parameter, a network standard applicable to the first APP includes:
如果所述终端装置的剩余电量小于第四阈值,确定所述第一APP适用的网络制式为所述第一网络制式。If the remaining power of the terminal device is less than the fourth threshold, it is determined that the network standard applicable to the first APP is the first network standard.
在这一实现方式中,如果所述终端装置的剩余电量小于第四阈值,则表明所述终端装置的电量较低,这种情况下,为了减少功耗,延长终端装置的使用时间,可确定所述第一APP适用的网络制式为功耗较低的第一网络制式。In this implementation, if the remaining power of the terminal device is less than the fourth threshold, it indicates that the power of the terminal device is low. In this case, in order to reduce power consumption and prolong the use time of the terminal device, it can be determined that The network standard applicable to the first APP is the first network standard with low power consumption.
相应的,如果所述终端装置的剩余电量不小于第四阈值,则可确定所述第一APP适用的网络制式为网速较高的第二网络制式。Correspondingly, if the remaining power of the terminal device is not less than the fourth threshold, it may be determined that the network standard applicable to the first APP is the second network standard with higher network speed.
在这一方案中,所述第四阈值可预先设置,并且,在终端装置的应用过程中,用户可根据自身需求调整所述第四阈值。In this solution, the fourth threshold can be preset, and in the application process of the terminal device, the user can adjust the fourth threshold according to his own needs.
示例性的,所述第四阈值为所述终端装置充满电量的20%。这种情况下,如果终端装置的剩余电量小于第四阈值,则确定所述第一APP适用的网络制式为4G网络制式。另外,如果经过充电,所述终端装置的剩余电量不小于第四阈值,则可确定所述第一APP适用的网络制式为5G网络制式。Exemplarily, the fourth threshold is 20% of the full power of the terminal device. In this case, if the remaining power of the terminal device is less than the fourth threshold, it is determined that the network standard applicable to the first APP is the 4G network standard. In addition, if after charging, the remaining power of the terminal device is not less than the fourth threshold, it can be determined that the network standard applicable to the first APP is the 5G network standard.
通过上述方案,可根据第一APP在应用过程中的第一参数,确定第一APP适用的网络制式。Through the above solution, the network standard applicable to the first APP can be determined according to the first parameter of the first APP in the application process.
在上述方案中,可根据针对第一选择栏的第一操作的指示,确定终端装置的目标网络制式。进一步的,在本申请实施例提供的方案中,还可由终端装置自身确定目标网络制式。In the above solution, the target network standard of the terminal device can be determined according to the instruction of the first operation in the first selection column. Further, in the solution provided by the embodiment of the present application, the target network standard can also be determined by the terminal device itself.
这种情况下,在本申请实施例提供的方案中,还可包括以下步骤:In this case, in the solution provided by the embodiment of the present application, the following steps may also be included:
所述第一选择栏还包括智能选项,接收针对所述智能选项的第二操作;The first selection bar further includes a smart option, receiving a second operation for the smart option;
在应用所述第一APP的过程中,根据所述第一APP在应用过程中的第一参数,确定所述终端装置的网络制式。这种情况下,确定的所述终端装置的网络制式通常为所述第一APP适用的网络制式。In the process of applying the first APP, the network standard of the terminal device is determined according to the first parameter of the first APP in the application process. In this case, the determined network standard of the terminal device is usually the network standard applicable to the first APP.
在本申请实施例中,所述第一选择栏不仅包括所述终端装置支持的至少两种网络制式,还可包括智能选项。这种情况下,所述第一选择栏可通过多种形式实现。In this embodiment of the present application, the first selection column not only includes at least two network standards supported by the terminal device, but also includes smart options. In this case, the first selection bar can be implemented in various forms.
在其中一种形式中,所述第一选择栏可为进度条的形式,参见图6(a)所示的示意图,在一种可行的示例中,终端装置支持的至少两种网络制式包括4G网络制式和5G网络制式,所述第一选择栏的最上方为5G网络制式,最下方对应的网络制式为4G网络制式,中间位置为智能选项,则进度条被拖动至中间位置时,终端装置可根据所述第一APP在应用过程中的第一参数,确定所述终端装置的目标网络制式。并且,在这种情况下,所述第二操作为将进度条拖动至中间位置的操作。In one form, the first selection bar may be in the form of a progress bar. Referring to the schematic diagram shown in FIG. 6( a ), in a feasible example, the at least two network standards supported by the terminal device include 4G Network standard and 5G network standard, the top of the first selection bar is the 5G network standard, the corresponding network standard at the bottom is the 4G network standard, and the middle position is the smart option, when the progress bar is dragged to the middle position, the terminal The device may determine the target network standard of the terminal device according to the first parameter of the first APP in the application process. And, in this case, the second operation is an operation of dragging the progress bar to the middle position.
在另一种形式中,参见图6(b)所示的示意图,所述第一选择栏包括所述终端装置支持的各个网络制式,以及所述网络制式分别对应的选择框。进一步的,在所述第一选择栏中还包括智能选项以及智能选项对应的选择框,所述第二操作为触控所述智能选项对应的选择框的操作。In another form, referring to the schematic diagram shown in FIG. 6( b ), the first selection bar includes each network standard supported by the terminal device, and selection boxes corresponding to the network standard respectively. Further, the first selection bar further includes a smart option and a selection box corresponding to the smart option, and the second operation is an operation of touching the selection box corresponding to the smart option.
当然,包括所述智能选项的第一选择栏还可为其他形式,相应的,所述第二操作也可为其他形式的操作,本申请实施例对此不作限定。Of course, the first selection bar including the smart option may also be in other forms, and correspondingly, the second operation may also be an operation in other forms, which is not limited in this embodiment of the present application.
另外,在接收到针对所述第二操作之后,所述终端装置自发根据所述第一APP在应用过程中的第一参数,确定终端装置的网络制式。这种情况下,所述终端装置主动根据所述第一参数调整终端装置的网络制式,从而能够使终端装置及时根据第一APP的应用情况,实现网络制式的调整。In addition, after receiving the second operation, the terminal device automatically determines the network standard of the terminal device according to the first parameter of the first APP in the application process. In this case, the terminal device actively adjusts the network standard of the terminal device according to the first parameter, so that the terminal device can adjust the network standard in time according to the application of the first APP.
在接收到所述第二操作之后,所述终端装置所确定的网络制式通常为所述第一APP适用的网络制式。这种情况下,通常可通过以下方案确定所述终端装置的网络制式:After receiving the second operation, the network standard determined by the terminal device is generally a network standard applicable to the first APP. In this case, the network standard of the terminal device can usually be determined through the following solutions:
(1)如果所述第一参数包括所述第一APP在第一时间段内的数据总量,则通常在所述第一APP在第一时间段内的数据总量大于第一阈值时,确定所述终端装置的网络制式为所述第二网络制式。(1) If the first parameter includes the total amount of data of the first APP in the first time period, usually when the total amount of data of the first APP in the first time period is greater than the first threshold, It is determined that the network standard of the terminal device is the second network standard.
另外,如果所述第一APP在第一时间段内的数据总量不大于第一阈值,则确定所述终端装置的网络制式为所述第一网络制式。In addition, if the total amount of data of the first APP in the first time period is not greater than the first threshold, it is determined that the network standard of the terminal device is the first network standard.
(2)如果所述第一参数包括所述第一APP的峰值下载速度,则通常在所述第一APP的峰值下载速度大于第二阈值时,确定所述终端装置的网络制式为所述第二网络制式。(2) If the first parameter includes the peak download speed of the first APP, usually when the peak download speed of the first APP is greater than a second threshold, determine that the network standard of the terminal device is the first Two network standards.
另外,如果所述第一APP的峰值下载速度不大于第二阈值,则确定所述终端装置的网络制式为所述第二网络制式。In addition, if the peak download speed of the first APP is not greater than the second threshold, it is determined that the network standard of the terminal device is the second network standard.
(3)如果所述第一参数包括所述终端装置链接的基站的信号的质量,则通常在所述终端装置链接的基站的信号的质量大于第三阈值时,确定所述终端装置的网络制式为所述信号对应的网络制式。(3) If the first parameter includes the signal quality of the base station linked to the terminal device, usually when the signal quality of the base station linked to the terminal device is greater than a third threshold, determine the network standard of the terminal device is the network standard corresponding to the signal.
另外,如果所述终端装置链接的基站的信号的质量不大于第三阈值,则确定所述终端装置的网络制式为另一制式。In addition, if the quality of the signal of the base station to which the terminal device is linked is not greater than the third threshold, it is determined that the network standard of the terminal device is another standard.
(4)如果所述第一参数包括所述终端装置的剩余电量,则通常在所述终端装置的剩余电量小于第四阈值时,确定所述终端装置的网络制式为所述第一网络制式。(4) If the first parameter includes the remaining power of the terminal device, usually when the remaining power of the terminal device is less than a fourth threshold, it is determined that the network standard of the terminal device is the first network standard.
另外,如果所述终端装置的剩余电量不小于第四阈值,则可确定所述终端装置的网络制式为所述第二网络制式。In addition, if the remaining power of the terminal device is not less than the fourth threshold, it may be determined that the network standard of the terminal device is the second network standard.
通过上述方案,可根据第一APP在应用过程中的第一参数,确定所述终端装置的网络制式,以便所述终端装置在应用第一APP的过程中,调整至第一APP适用的网络制式。Through the above solution, the network standard of the terminal device can be determined according to the first parameter of the first APP in the application process, so that the terminal device can adjust to the network standard applicable to the first APP during the process of applying the first APP .
进一步的,参见图7所示的工作流程示意图,在本申请实施例中,还可包括以下步骤:Further, referring to the schematic diagram of the workflow shown in FIG. 7 , in this embodiment of the present application, the following steps may also be included:
步骤S14、存储所述第一APP与所述目标网络制式之间的对应关系。Step S14: Store the correspondence between the first APP and the target network standard.
通常情况下,在关闭所述第一APP,或者将所述第一APP调整为在后台运行前,存储所述第一APP与所述目标网络制式之间的对应关系。Generally, before closing the first APP or adjusting the first APP to run in the background, the correspondence between the first APP and the target network standard is stored.
步骤S15、然后,在所述第一APP在前台运行时,根据所述对应关系,确定所述终端装置的网络制式为所述目标网络制式。Step S15: Then, when the first APP is running in the foreground, according to the corresponding relationship, it is determined that the network standard of the terminal device is the target network standard.
在本申请实施例提供的方案中,可根据步骤S11至步骤S13的操作,确定在应用第一APP的过程中,所述终端装置的网络制式为目标网络制式。这种情况下,通常可认为用户希望自己在使用第一APP的过程中,终端装置的网络制式保持为目标网络制式。因此,在关闭第一APP,或者将第一APP调整为后台运行时,可存储第一APP与目标网络制式之间的对应关系,并且,当第一APP在前台运行时,根据该对应关系,即可确定终端装置需要调整至目标网络制式,从而无需显示第一选择栏,以及无需接收第一操作,就可使所述终端装置的网络制式调整为目标网络制式,提高了终端装置确定目标网络制式的效率。In the solution provided by the embodiment of the present application, it may be determined according to the operations from steps S11 to S13 that in the process of applying the first APP, the network standard of the terminal device is the target network standard. In this case, it is generally considered that the user wishes to keep the network standard of the terminal device as the target network standard during the process of using the first APP. Therefore, when the first APP is closed or the first APP is adjusted to run in the background, the correspondence between the first APP and the target network standard can be stored, and when the first APP is running in the foreground, according to the correspondence, It can be determined that the terminal device needs to be adjusted to the target network standard, so that the network standard of the terminal device can be adjusted to the target network standard without displaying the first selection bar and without receiving the first operation, which improves the determination of the target network by the terminal device. system efficiency.
进一步的,在这一方案中,如果用户希望在应用第一APP的过程中,调整所述终端装置的网络制式,使所述终端装置的网络制式调整为目标网络制式以外的其他网络制式,则所述用户还可对终端装置进行操作,以使所述终端装置显示所述第一选择栏。这种情况下,终端装置可接收用户针对所述第一选择栏的操作,并根据该操作,重新调整所述终端装置的网络制式。Further, in this solution, if the user wishes to adjust the network standard of the terminal device in the process of applying the first APP, so that the network standard of the terminal device is adjusted to a network standard other than the target network standard, then The user may also operate the terminal device to cause the terminal device to display the first selection bar. In this case, the terminal device may receive the user's operation on the first selection field, and re-adjust the network standard of the terminal device according to the operation.
在本申请实施例提供的方案中,终端装置可接收针对第一选择栏的操作,以便根据接收到的操作,确定用户选择的目标网络制式。其中,第一选择栏可通过多种方式显示。In the solution provided by the embodiment of the present application, the terminal device may receive an operation for the first selection field, so as to determine the target network standard selected by the user according to the received operation. Wherein, the first selection bar can be displayed in various ways.
在其中一种可行的实现方式中,所述显示终端装置内安装的第一APP的第一选择栏,包括以下步骤:In one of the feasible implementation manners, the displaying of the first selection bar of the first APP installed in the terminal device includes the following steps:
在所述第一APP打开之后的第二时间段内,显示所述第一选择栏。During a second time period after the first APP is opened, the first selection bar is displayed.
终端装置的界面中,通常包括第一APP的图标,在接收到针对该图标的触控之后,第一APP打开,以供用户应用所述第一APP。在这一实现方式中,所述第一APP被打开之后的第二时间段内,则显示所述第一选择栏,以便用户对所述第一选择栏进行操作,选择相应的网络制式。The interface of the terminal device usually includes an icon of the first APP, and after receiving a touch for the icon, the first APP is opened for the user to apply the first APP. In this implementation manner, within a second time period after the first APP is opened, the first selection bar is displayed, so that the user can operate the first selection bar to select a corresponding network standard.
另外,在这一实现方式中,在第一APP打开之后的第二时间段之后,不再显示所述第一选择栏,以避免所述第一选择栏遮挡所述第一APP的界面。In addition, in this implementation manner, after the second time period after the first APP is opened, the first selection bar is no longer displayed, so as to prevent the first selection bar from blocking the interface of the first APP.
或者,在另一种可行的实现方式中,所述显示终端装置内安装的第一APP的第一选择栏,包括以下步骤:Or, in another feasible implementation manner, the displaying the first selection bar of the first APP installed in the terminal device includes the following steps:
在接收到针对所述第一APP的显示界面的第四操作之后的第三时间段内,显示所述第一选择栏。The first selection bar is displayed within a third time period after receiving the fourth operation on the display interface of the first APP.
在第一APP的应用过程中,用户有可能希望调整终端装置的网络制式。例如,在应用第一APP一段时间之后,用户发现终端装置的剩余电量较低,这种情况下,用户往往希望将终端装置当前的网络制式调整为功耗较低的网络制式。During the application process of the first APP, the user may wish to adjust the network standard of the terminal device. For example, after applying the first APP for a period of time, the user finds that the remaining power of the terminal device is low. In this case, the user often wishes to adjust the current network standard of the terminal device to a network standard with lower power consumption.
为了满足用户的需求,在这一实现中,可在接收到针对所述第一APP的显示界面的第四操作,在接收到所述第四操作之后,终端装置显示所述第一选择栏,以便所述用户对所述第一选择栏进行操作。In order to meet the needs of the user, in this implementation, after receiving the fourth operation on the display interface of the first APP, after receiving the fourth operation, the terminal device displays the first selection bar, So that the user can operate the first selection bar.
其中,所述第四操作可为多种形式的操作,示例性的,所述第四操作可为用户手指在显 示界面沿预设图形滑动的操作,该预设图形可为圆形或三角形等;或者,所述第四操作可为触控时长不小于一定时长的触控操作等。Wherein, the fourth operation may be an operation in various forms. Exemplarily, the fourth operation may be an operation in which the user's finger slides along a preset graphic on the display interface, and the preset graphic may be a circle or a triangle, etc. Alternatively, the fourth operation may be a touch operation whose touch duration is not less than a certain duration, or the like.
另外,在这一实现方式中,终端装置在接收到第四操作之后,显示第一选择栏,并且通常在接收到所述第四操作之后的第三时间段之后,不再显示所述第一选择栏,从而避免所述第一选择栏对第一APP的显示内容的遮挡。In addition, in this implementation manner, the terminal device displays the first selection bar after receiving the fourth operation, and usually does not display the first selection bar again after a third time period after receiving the fourth operation. The selection bar is used to prevent the first selection bar from obscuring the displayed content of the first APP.
下述为本申请的装置实施例,可以用于执行本申请的方法实施例。对于本申请装置实施例中未披露的细节,请参照本申请的方法实施例。The following are apparatus embodiments of the present application, which can be used to execute the method embodiments of the present application. For details not disclosed in the device embodiments of the present application, please refer to the method embodiments of the present application.
作为对上述各实施例的实现,本申请实施例公开一种网络制式确定装置。参见图8所示的结构示意图,所述网络制式确定装置包括处理器210和收发接口220。As an implementation of the foregoing embodiments, the embodiment of the present application discloses an apparatus for determining a network standard. Referring to the schematic structural diagram shown in FIG. 8 , the apparatus for determining a network standard includes a processor 210 and a transceiver interface 220 .
其中,所述处理器210用于控制显示器显示终端装置内安装的第一应用程序APP的第一选择栏,所述第一选择栏包括所述终端装置支持的至少两种网络制式;The processor 210 is configured to control the display to display a first selection bar of a first application program APP installed in the terminal device, where the first selection bar includes at least two network standards supported by the terminal device;
所述收发接口220接收针对所述第一选择栏的第一操作,所述第一操作用于选择所述至少两种网络制式中的目标网络制式;The transceiver interface 220 receives a first operation for the first selection field, where the first operation is used to select a target network standard among the at least two network standards;
所述处理器210还用于,在应用所述第一APP的过程中,确定所述终端装置的网络制式为所述目标网络制式。The processor 210 is further configured to, in the process of applying the first APP, determine that the network standard of the terminal device is the target network standard.
在本申请实施例提供的网络制式确定装置中,可根据第一操作,整终端装置在应用第一APP的过程中的网络制式。该方案适用于终端装置内安装的各个APP,无需受到黑名单的限制,并且,用户可根据自身对网络制式的需求做出相应的第一操作,以使终端装置通过相应的网络制式运行所述第一APP。因此,与现有技术相比,本申请的方案在确定终端装置的网络制式时,具有较高的灵活性。In the device for determining the network standard provided by the embodiment of the present application, the network standard of the terminal device in the process of applying the first APP can be determined according to the first operation. This solution is suitable for each APP installed in the terminal device, without being restricted by the blacklist, and the user can make a corresponding first operation according to his own requirements for the network standard, so that the terminal device can run the above mentioned network standard through the corresponding network standard. The first APP. Therefore, compared with the prior art, the solution of the present application has higher flexibility when determining the network standard of the terminal device.
进一步的,在本申请实施例提供的方案中,所述处理器210还用于,确定所述第一APP在应用过程中的第一参数,根据所述第一参数,确定所述第一APP适用的网络制式,控制所述显示器显示所述第一APP的第一信息,所述第一信息包括:所述第一APP适用的网络制式。Further, in the solution provided by the embodiment of the present application, the processor 210 is further configured to determine a first parameter of the first APP in the application process, and determine the first APP according to the first parameter The applicable network standard is controlled, and the display is controlled to display the first information of the first APP, where the first information includes: the network standard applicable to the first APP.
其中,所述第一参数通常可反映所述第一APP对网络制式的需求。示例性的,所述第一参数包括以下参数中的至少一种:所述第一APP在第一时间段内的数据总量、所述第一APP的峰值下载速度、所述终端装置链接的基站的信号的质量和所述终端装置的剩余电量。Wherein, the first parameter may generally reflect the network standard requirement of the first APP. Exemplarily, the first parameter includes at least one of the following parameters: the total amount of data of the first APP in the first time period, the peak download speed of the first APP, the link of the terminal device. The signal quality of the base station and the remaining battery power of the terminal device.
当然,所述第一参数还可包括其他可反映所述第一APP对网络制式的需求的参数,本申请实施例对此不作限定。Certainly, the first parameter may further include other parameters that can reflect the requirement of the first APP for the network standard, which is not limited in this embodiment of the present application.
通过查看所述第一信息,用户可了解到第一APP对网络制式的需求,从而便于根据所述第一APP对网络制式的需求,执行相应的第一操作,以便所述第一操作选择的目标网络制式符合所述第一APP的需求。By viewing the first information, the user can know the requirements of the first APP for the network standard, so that the corresponding first operation can be performed according to the requirements of the first APP on the network standard, so that the first operation can select the network standard. The target network standard meets the requirements of the first APP.
另外,所述处理器具体用于,如果所述终端装置的近期任务列表包括所述第一APP,控制所述显示器在所述近期任务列表中显示所述第一APP的第一信息;In addition, the processor is specifically configured to, if the recent task list of the terminal device includes the first APP, control the display to display the first information of the first APP in the recent task list;
或者,所述处理器具体用于,确定所述终端装置的网络制式是否与所述第一APP适用的网络制式相同;Alternatively, the processor is specifically configured to determine whether the network standard of the terminal device is the same as the network standard applicable to the first APP;
如果所述终端装置的网络制式与所述第一APP适用的网络制式不相同,在应用所述第一APP的过程中,控制所述显示器在所述第一APP的显示界面显示所述第一APP的第一信息。If the network standard of the terminal device is different from the network standard applicable to the first APP, in the process of applying the first APP, control the display to display the first APP on the display interface of the first APP The first information of the APP.
在本申请实施例提供的方案中,可根据所述第一APP在应用过程中的第一参数,确定所述第一APP适用的网络制式。In the solution provided by the embodiment of the present application, the network standard applicable to the first APP may be determined according to the first parameter of the first APP in the application process.
其中,所述第一参数包括以下参数中的至少一种:所述第一APP在第一时间段内的数据总量、所述第一APP的峰值下载速度、所述终端装置链接的基站的信号的质量、所述终端装置链接的基站支持的网络制式和所述终端装置的剩余电量。The first parameter includes at least one of the following parameters: the total amount of data of the first APP in the first time period, the peak download speed of the first APP, the data of the base station connected to the terminal device. The quality of the signal, the network standard supported by the base station to which the terminal device is linked, and the remaining power of the terminal device.
在本申请实施例提供的方案中,所述至少两种网络制式包括第一网络制式和第二网络制式,第一网络制式下的终端装置的功耗低于第二网络制式下的终端装置的功耗,所述第一网络制式下的终端装置的网速低于所述第二网络制式下的终端装置的网速。In the solution provided by the embodiment of the present application, the at least two network standards include a first network standard and a second network standard, and the power consumption of the terminal device in the first network standard is lower than that of the terminal device in the second network standard. Power consumption, the network speed of the terminal device under the first network standard is lower than the network speed of the terminal device under the second network standard.
示例性的,如果所述终端装置支持两种网络制式,这两种网络制式包括第四代4G网络制式和第五代5G网络制式,则第一网络制式为4G网络制式,第二网络制式为5G网络制式。Exemplarily, if the terminal device supports two network standards, and the two network standards include the fourth-generation 4G network standard and the fifth-generation 5G network standard, the first network standard is the 4G network standard, and the second network standard is 5G network standard.
所述第一参数包括所述第一APP在第一时间段内的数据总量,所述处理器具体用于,所述第一APP在第一时间段内的数据总量大于第一阈值,确定所述第一APP适用的网络制式为所述第二网络制式;The first parameter includes the total amount of data of the first APP in the first time period, and the processor is specifically configured to: the total amount of data of the first APP in the first time period is greater than the first threshold, determining that the network standard applicable to the first APP is the second network standard;
所述第一参数包括所述第一APP的峰值下载速度,所述处理器具体用于,所述第一APP的峰值下载速度大于第二阈值,确定所述第一APP适用的网络制式为所述第二网络制式;The first parameter includes the peak download speed of the first APP, and the processor is specifically configured to, when the peak download speed of the first APP is greater than the second threshold, determine that the network standard applicable to the first APP is all the second network standard;
所述第一参数包括所述终端装置链接的基站的信号的质量,所述处理器具体用于,所述终端装置链接的基站的信号的质量大于第三阈值,确定所述第一APP适用的网络制式为所述信号对应的网络制式;The first parameter includes the quality of the signal of the base station linked to the terminal device, and the processor is specifically configured to, when the quality of the signal of the base station linked to the terminal device is greater than a third threshold, determine whether the first APP is applicable. The network standard is the network standard corresponding to the signal;
所述第一参数包括所述终端装置的剩余电量,所述根据所述第一参数,所述处理器具体用于,如果所述终端装置的剩余电量小于第四阈值,确定所述第一APP适用的网络制式为所述第一网络制式。The first parameter includes the remaining power of the terminal device, and according to the first parameter, the processor is specifically configured to, if the remaining power of the terminal device is less than a fourth threshold, determine the first APP The applicable network standard is the first network standard.
通过上述方案,可根据第一APP在应用过程中的第一参数,确定第一APP适用的网络制式。Through the above solution, the network standard applicable to the first APP can be determined according to the first parameter of the first APP in the application process.
另外,在一种可行的设计中,所述第一选择栏还包括智能选项;In addition, in a feasible design, the first selection bar further includes smart options;
所述处理器还用于,接收针对所述智能选项的第二操作,在应用所述第一APP的过程中,根据所述第一APP在应用过程中的第一参数,确定所述终端装置的网络制式。The processor is further configured to receive a second operation for the smart option, and in the process of applying the first APP, determine the terminal device according to the first parameter of the first APP in the application process network format.
在接收到第二操作之后,终端装置可自行确定网络制式,并且,After receiving the second operation, the terminal device can determine the network standard by itself, and,
所述终端装置所确定的网络制式通常为所述第一APP适用的网络制式。这种情况下,通常可通过以下方案确定所述终端装置的网络制式:The network standard determined by the terminal device is generally a network standard applicable to the first APP. In this case, the network standard of the terminal device can usually be determined through the following solutions:
(1)如果所述第一参数包括所述第一APP在第一时间段内的数据总量,则通常在所述第一APP在第一时间段内的数据总量大于第一阈值时,确定所述终端装置的网络制式为所述第二网络制式。(1) If the first parameter includes the total amount of data of the first APP in the first time period, usually when the total amount of data of the first APP in the first time period is greater than the first threshold, It is determined that the network standard of the terminal device is the second network standard.
另外,如果所述第一APP在第一时间段内的数据总量不大于第一阈值,则确定所述终端装置的网络制式为所述第一网络制式。In addition, if the total amount of data of the first APP in the first time period is not greater than the first threshold, it is determined that the network standard of the terminal device is the first network standard.
(2)如果所述第一参数包括所述第一APP的峰值下载速度,则通常在所述第一APP的峰值下载速度大于第二阈值时,确定所述终端装置的网络制式为所述第二网络制式。(2) If the first parameter includes the peak download speed of the first APP, usually when the peak download speed of the first APP is greater than a second threshold, determine that the network standard of the terminal device is the first Two network formats.
另外,如果所述第一APP的峰值下载速度不大于第二阈值,则确定所述终端装置的网络制式为所述第二网络制式。In addition, if the peak download speed of the first APP is not greater than the second threshold, it is determined that the network standard of the terminal device is the second network standard.
(3)如果所述第一参数包括所述终端装置链接的基站的信号的质量,则通常在所述终端装置链接的基站的信号的质量大于第三阈值时,确定所述终端装置的网络制式为所述信号对应的网络制式。(3) If the first parameter includes the signal quality of the base station linked to the terminal device, usually when the signal quality of the base station linked to the terminal device is greater than a third threshold, determine the network standard of the terminal device is the network standard corresponding to the signal.
另外,如果所述终端装置链接的基站的信号的质量不大于第三阈值,则确定所述终端装 置的网络制式为另一制式。In addition, if the quality of the signal of the base station to which the terminal device is linked is not greater than the third threshold, it is determined that the network standard of the terminal device is another standard.
(4)如果所述第一参数包括所述终端装置的剩余电量,则通常在所述终端装置的剩余电量小于第四阈值时,确定所述终端装置的网络制式为所述第一网络制式。(4) If the first parameter includes the remaining power of the terminal device, usually when the remaining power of the terminal device is less than a fourth threshold, it is determined that the network standard of the terminal device is the first network standard.
另外,如果所述终端装置的剩余电量不小于第四阈值,则可确定所述终端装置的网络制式为所述第二网络制式。In addition, if the remaining power of the terminal device is not less than the fourth threshold, it may be determined that the network standard of the terminal device is the second network standard.
进一步的,在本申请实施例提供的方案中,所述处理器还用于,在关闭所述第一APP,或者所述第一APP在后台运行时,存储所述第一APP与所述目标网络制式之间的对应关系,在所述第一APP在前台运行时,根据所述对应关系,确定所述终端装置的网络制式为所述目标网络制式。Further, in the solution provided by the embodiment of the present application, the processor is further configured to store the first APP and the target when the first APP is closed or the first APP is running in the background. The correspondence between network standards, when the first APP is running in the foreground, according to the correspondence, it is determined that the network standard of the terminal device is the target network standard.
另外,所述处理器具体用于,在所述第一APP打开之后的第二时间段内,控制所述显示器显示所述第一选择栏;In addition, the processor is specifically configured to, within a second time period after the first APP is opened, control the display to display the first selection bar;
或者,所述处理器具体用于,在接收到针对所述第一APP的显示界面的第四操作之后的第三时间段内,控制所述显示器显示所述第一选择栏。Alternatively, the processor is specifically configured to control the display to display the first selection bar within a third time period after receiving a fourth operation on the display interface of the first APP.
通过这一方案,当需要调整终端装置的网络制式时,可通过第四操作,使终端装置显示第一选择栏,以便选择所需的网络制式。With this solution, when the network standard of the terminal device needs to be adjusted, the fourth operation can be performed to cause the terminal device to display the first selection bar, so as to select the required network standard.
相应的,与上述的网络制式确定方法相对应的,本申请实施例还公开一种终端装置。参见图9所示的结构示意图,所述终端装置包括:Correspondingly, corresponding to the above-mentioned network standard determination method, an embodiment of the present application further discloses a terminal device. Referring to the schematic structural diagram shown in FIG. 9, the terminal device includes:
至少一个处理器1101和存储器,at least one processor 1101 and memory,
其中,所述存储器,用于存储程序指令;Wherein, the memory is used to store program instructions;
所述处理器,用于调用并执行所述存储器中存储的程序指令,以使所述终端装置执行图3对应的实施例中的全部或部分步骤。The processor is configured to call and execute the program instructions stored in the memory, so that the terminal device executes all or part of the steps in the embodiment corresponding to FIG. 3 .
进一步的,该终端装置还可以包括:收发器1102和总线1103,所述存储器包括随机存取存储器1104和只读存储器1105。Further, the terminal device may further include: a transceiver 1102 and a bus 1103 , and the memory includes a random access memory 1104 and a read-only memory 1105 .
其中,处理器通过总线分别耦接收发器、随机存取存储器以及只读存储器。其中,当需要运行该移动终端操控装置时,通过固化在只读存储器中的基本输入输出系统或者嵌入式系统中的bootloader引导系统进行启动,引导该装置进入正常运行状态。在该装置进入正常运行状态后,在随机存取存储器中运行应用程序和操作系统,从而使所述终端装置执行图3和图7对应的实施例中的全部或部分步骤。Wherein, the processor is respectively coupled to the transceiver, the random access memory and the read only memory through the bus. Wherein, when the mobile terminal control device needs to be operated, the basic input and output system solidified in the read-only memory or the bootloader booting system in the embedded system is used to start the device, and the device is guided to enter a normal operation state. After the device enters the normal operating state, the application program and the operating system are run in the random access memory, so that the terminal device executes all or part of the steps in the embodiments corresponding to FIG. 3 and FIG. 7 .
本发明实施例的装置可对应于上述图3和图7所对应的实施例中的网络制式确定方法,并且,该终端装置中的处理器等可以实现图3和图7所对应的实施例中的网络制式确定装置所具有的功能和/或所实施的各种步骤和方法,为了简洁,在此不再赘述。The device in this embodiment of the present invention may correspond to the network standard determination method in the above-mentioned embodiments corresponding to FIG. 3 and FIG. 7 , and the processor and the like in the terminal device may implement the methods of For the sake of brevity, the functions and/or the various steps and methods implemented by the apparatus for determining the network standard of the device will not be repeated here.
具体实现中,本申请实施例还提供一种计算机可读存储介质,该计算机可读存储介质包括指令。其中,设置在任意设备中计算机可读介质其在计算机上运行时,可实施包括图3和图7对应的实施例中的全部或部分步骤。所述计算机可读介质的存储介质可为磁碟、光盘、只读存储记忆体(英文:read-only memory,简称:ROM)或随机存储记忆体(英文:random access memory,简称:RAM)等。In a specific implementation, an embodiment of the present application further provides a computer-readable storage medium, where the computer-readable storage medium includes instructions. Wherein, when a computer-readable medium is provided in any device and runs on a computer, all or part of the steps in the embodiments corresponding to FIG. 3 and FIG. 7 can be implemented. The storage medium of the computer-readable medium may be a magnetic disk, an optical disk, a read-only memory (English: read-only memory, referred to as: ROM) or a random access memory (English: random access memory, referred to as: RAM), etc. .
另外,本申请另一实施例还公开一种包含指令的计算机程序产品,当所述计算机程序产品在电子设备上运行时,使得所述电子设备可实施包括图3和图7对应的实施例中的全部或部分步骤。In addition, another embodiment of the present application further discloses a computer program product including instructions, when the computer program product is run on an electronic device, the electronic device can implement the steps in the embodiments corresponding to FIG. 3 and FIG. 7 . all or part of the steps.
本申请实施例中所描述的各种说明性的逻辑单元和电路可以通过通用处理器,数字信息 处理器,专用集成电路(ASIC),现场可编程门阵列(FPGA)或其它可编程逻辑装置,离散门或晶体管逻辑,离散硬件部件,或上述任何组合的设计来实现或操作所描述的功能。通用处理器可以为微处理器,可选地,该通用处理器也可以为任何传统的处理器、控制器、微控制器或状态机。处理器也可以通过计算装置的组合来实现,例如数字信息处理器和微处理器,多个微处理器,一个或多个微处理器联合一个数字信息处理器核,或任何其它类似的配置来实现。The various illustrative logic units and circuits described in the embodiments of this application may be implemented by general purpose processors, digital information processors, application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs) or other programmable logic devices, Discrete gate or transistor logic, discrete hardware components, or any combination of the above are designed to implement or operate the described functions. A general-purpose processor may be a microprocessor, or alternatively, the general-purpose processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented by a combination of computing devices, such as a digital information processor and a microprocessor, multiple microprocessors, one or more microprocessors in combination with a digital information processor core, or any other similar configuration. accomplish.
本申请实施例中所描述的方法或算法的步骤可以直接嵌入硬件、处理器执行的软件单元、或者这两者的结合。软件单元可以存储于RAM存储器、闪存、ROM存储器、EPROM存储器、EEPROM存储器、寄存器、硬盘、可移动磁盘、CD-ROM或本领域中其它任意形式的存储媒介中。示例性地,存储媒介可以与处理器连接,以使得处理器可以从存储媒介中读取信息,并可以向存储媒介存写信息。可选地,存储媒介还可以集成到处理器中。处理器和存储媒介可以设置于ASIC中,ASIC可以设置于UE中。可选地,处理器和存储媒介也可以设置于UE中的不同的部件中。The steps of the method or algorithm described in the embodiments of this application may be directly embedded in hardware, a software unit executed by a processor, or a combination of the two. A software unit may be stored in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art. Illustratively, a storage medium can be coupled to the processor such that the processor can read information from, and write information to, the storage medium. Optionally, the storage medium can also be integrated into the processor. The processor and storage medium may be provided in the ASIC, and the ASIC may be provided in the UE. Alternatively, the processor and the storage medium may also be provided in different components in the UE.
应理解,在本申请的各种实施例中,各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that, in various embodiments of the present application, the size of the sequence numbers of each process does not imply the sequence of execution, and the execution sequence of each process should be determined by its function and internal logic, and should not be used in the embodiments of the present application. Implementation constitutes any limitation.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。In the above-mentioned embodiments, it may be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented in software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present application are generated. The computer may be a general purpose computer, special purpose computer, computer network, or other programmable device. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be downloaded from a website site, computer, server, or data center Transmission to another website site, computer, server, or data center is by wire (eg, coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that includes an integration of one or more available media. The usable media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, DVD), or semiconductor media (eg, Solid State Disk (SSD)), and the like.
本说明书的各个实施例之间相同相似的部分互相参见即可,每个实施例重点介绍的都是与其他实施例不同之处。尤其,对于装置和系统实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例部分的说明即可。For the same and similar parts of the various embodiments of the present specification, reference may be made to each other, and each embodiment focuses on the points that are different from other embodiments. In particular, as for the apparatus and system embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and for related parts, please refer to the descriptions in the method embodiments.
本领域的技术人员可以清楚地了解到本发明实施例中的技术可借助软件加必需的通用硬件平台的方式来实现。基于这样的理解,本发明实施例中的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例或者实施例的某些部分所述的方法。Those skilled in the art can clearly understand that the technology in the embodiments of the present invention can be implemented by means of software plus a necessary general hardware platform. Based on this understanding, the technical solutions in the embodiments of the present invention may be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products may be stored in a storage medium, such as ROM/RAM , magnetic disk, optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in various embodiments or some parts of the embodiments of the present invention.
本说明书中各个实施例之间相同相似的部分互相参见即可。尤其,对于本申请公开的道路约束确定装置的实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例中的说明即可。It is sufficient to refer to each other for the same and similar parts among the various embodiments in this specification. In particular, for the embodiments of the road constraint determination device disclosed in the present application, since it is basically similar to the method embodiments, the description is relatively simple, and for related details, please refer to the descriptions in the method embodiments.
以上所述的本发明实施方式并不构成对本发明保护范围的限定。The embodiments of the present invention described above do not limit the protection scope of the present invention.

Claims (18)

  1. 一种网络制式确定方法,其特征在于,包括:A method for determining a network format, comprising:
    显示终端装置内安装的第一应用程序APP的第一选择栏,所述第一选择栏包括所述终端装置支持的至少两种网络制式;displaying a first selection bar of a first application program APP installed in the terminal device, where the first selection bar includes at least two network standards supported by the terminal device;
    接收针对所述第一选择栏的第一操作,所述第一操作用于选择所述至少两种网络制式中的目标网络制式;receiving a first operation for the first selection column, where the first operation is used to select a target network standard among the at least two network standards;
    在应用所述第一APP的过程中,确定所述终端装置的网络制式为所述目标网络制式。In the process of applying the first APP, it is determined that the network standard of the terminal device is the target network standard.
  2. 根据权利要求1所述的方法,其特征在于,还包括:The method of claim 1, further comprising:
    确定所述第一APP在应用过程中的第一参数;determining the first parameter of the first APP in the application process;
    根据所述第一参数,确定所述第一APP适用的网络制式;determining a network standard applicable to the first APP according to the first parameter;
    显示所述第一APP的第一信息,所述第一信息包括:所述第一APP适用的网络制式。The first information of the first APP is displayed, where the first information includes: a network standard applicable to the first APP.
  3. 根据权利要求2所述的方法,其特征在于,所述显示所述第一APP的第一信息包括:The method according to claim 2, wherein the displaying the first information of the first APP comprises:
    如果所述终端装置的近期任务列表包括所述第一APP,在所述近期任务列表中显示所述第一APP的第一信息;If the recent task list of the terminal device includes the first APP, displaying the first information of the first APP in the recent task list;
    或者,所述显示所述第一APP的第一信息包括:Alternatively, the displaying the first information of the first APP includes:
    确定所述终端装置的网络制式是否与所述第一APP适用的网络制式相同;determining whether the network standard of the terminal device is the same as the network standard applicable to the first APP;
    如果所述终端装置的网络制式与所述第一APP适用的网络制式不相同,在应用所述第一APP的过程中,在所述第一APP的显示界面显示所述第一APP的第一信息。If the network standard of the terminal device is different from the network standard applicable to the first APP, during the process of applying the first APP, the first APP of the first APP is displayed on the display interface of the first APP. information.
  4. 根据权利要求2所述的方法,其特征在于,The method of claim 2, wherein:
    所述第一参数包括以下参数中的至少一种:所述第一APP在第一时间段内的数据总量、所述第一APP的峰值下载速度、所述终端装置链接的基站的信号的质量和所述终端装置的剩余电量。The first parameter includes at least one of the following parameters: the total amount of data of the first APP in the first time period, the peak download speed of the first APP, and the signal of the base station to which the terminal device is linked. quality and remaining power of the terminal device.
  5. 根据权利要求4所述的方法,其特征在于,所述至少两种网络制式包括第一网络制式和第二网络制式,所述第一网络制式下的终端装置的功耗低于所述第二网络制式下的终端装置的功耗,所述第一网络制式下的终端装置的网速低于所述第二网络制式下的终端装置的网速;The method according to claim 4, wherein the at least two network standards include a first network standard and a second network standard, and the power consumption of the terminal device under the first network standard is lower than that of the second network standard The power consumption of the terminal device under the network standard, the network speed of the terminal device under the first network standard is lower than the network speed of the terminal device under the second network standard;
    所述第一参数包括所述第一APP在第一时间段内的数据总量,所述根据所述第一参数,确定所述第一APP适用的网络制式,包括:The first parameter includes the total amount of data of the first APP in the first time period, and determining the network standard applicable to the first APP according to the first parameter includes:
    所述第一APP在第一时间段内的数据总量大于第一阈值,确定所述第一APP适用的网络制式为所述第二网络制式;The total amount of data of the first APP in the first time period is greater than the first threshold, and it is determined that the network standard applicable to the first APP is the second network standard;
    所述第一参数包括所述第一APP的峰值下载速度,所述根据所述第一参数,确定所述第一APP适用的网络制式,包括:The first parameter includes the peak download speed of the first APP, and the network standard applicable to the first APP is determined according to the first parameter, including:
    所述第一APP的峰值下载速度大于第二阈值,确定所述第一APP适用的网络制式为所述第二网络制式;The peak download speed of the first APP is greater than the second threshold, and it is determined that the network standard applicable to the first APP is the second network standard;
    所述第一参数包括所述终端装置链接的基站的信号的质量,所述根据所述第一参数,确定所述第一APP适用的网络制式,包括:The first parameter includes the signal quality of the base station to which the terminal device is linked, and determining the network standard applicable to the first APP according to the first parameter includes:
    所述终端装置链接的基站的信号的质量大于第三阈值,确定所述第一APP适用的网络制式为所述信号对应的网络制式;The quality of the signal of the base station linked by the terminal device is greater than a third threshold, and it is determined that the network standard applicable to the first APP is the network standard corresponding to the signal;
    所述第一参数包括所述终端装置的剩余电量,所述根据所述第一参数,确定所述第一APP适用的网络制式,包括:The first parameter includes the remaining power of the terminal device, and the network standard applicable to the first APP is determined according to the first parameter, including:
    如果所述终端装置的剩余电量小于第四阈值,确定所述第一APP适用的网络制式为所述第一网络制式。If the remaining power of the terminal device is less than the fourth threshold, it is determined that the network standard applicable to the first APP is the first network standard.
  6. 根据权利要求1至5任一项所述的方法,其特征在于,还包括:The method according to any one of claims 1 to 5, further comprising:
    所述第一选择栏还包括智能选项,接收针对所述智能选项的第二操作;The first selection bar further includes a smart option, receiving a second operation for the smart option;
    在应用所述第一APP的过程中,根据所述第一APP在应用过程中的第一参数,确定所述终端装置的网络制式。In the process of applying the first APP, the network standard of the terminal device is determined according to the first parameter of the first APP in the application process.
  7. 根据权利要求1至5任一项所述的方法,其特征在于,还包括:The method according to any one of claims 1 to 5, further comprising:
    存储所述第一APP与所述目标网络制式之间的对应关系;storing the correspondence between the first APP and the target network standard;
    在所述第一APP在前台运行时,根据所述对应关系,确定所述终端装置的网络制式为所述目标网络制式。When the first APP is running in the foreground, according to the corresponding relationship, it is determined that the network standard of the terminal device is the target network standard.
  8. 根据权利要求1至5任一项所述的方法,其特征在于,所述显示终端装置内安装的第一APP的第一选择栏,包括:The method according to any one of claims 1 to 5, wherein the displaying the first selection bar of the first APP installed in the terminal device comprises:
    在所述第一APP打开之后的第二时间段内,显示所述第一选择栏;within a second time period after the first APP is opened, displaying the first selection bar;
    或者,or,
    在接收到针对所述第一APP的显示界面的第四操作之后的第三时间段内,显示所述第一选择栏。The first selection bar is displayed within a third time period after receiving the fourth operation on the display interface of the first APP.
  9. 一种网络制式确定装置,其特征在于,包括:An apparatus for determining a network standard, comprising:
    处理器和收发接口;processor and transceiver interface;
    所述处理器用于控制显示器显示终端装置内安装的第一应用程序APP的第一选择栏,所述第一选择栏包括所述终端装置支持的至少两种网络制式;The processor is configured to control the display to display a first selection bar of a first application program APP installed in the terminal device, where the first selection bar includes at least two network standards supported by the terminal device;
    所述收发接口接收针对所述第一选择栏的第一操作,所述第一操作用于选择所述至少两种网络制式中的目标网络制式;The transceiver interface receives a first operation for the first selection field, where the first operation is used to select a target network standard among the at least two network standards;
    所述处理器还用于,在应用所述第一APP的过程中,确定所述终端装置的网络制式为所述目标网络制式。The processor is further configured to, in the process of applying the first APP, determine that the network standard of the terminal device is the target network standard.
  10. 根据权利要求1所述的装置,其特征在于,The device of claim 1, wherein:
    所述处理器还用于,确定所述第一APP在应用过程中的第一参数,根据所述第一参数,确定所述第一APP适用的网络制式,控制所述显示器显示所述第一APP的第一信息,所述第一信息包括:所述第一APP适用的网络制式。The processor is further configured to determine a first parameter of the first APP in the application process, determine a network standard applicable to the first APP according to the first parameter, and control the display to display the first The first information of the APP, where the first information includes: the network standard applicable to the first APP.
  11. 根据权利要求10所述的装置,其特征在于,The device of claim 10, wherein:
    所述处理器具体用于,如果所述终端装置的近期任务列表包括所述第一APP,控制所述显示器在所述近期任务列表中显示所述第一APP的第一信息;The processor is specifically configured to, if the recent task list of the terminal device includes the first APP, control the display to display the first information of the first APP in the recent task list;
    或者,所述处理器具体用于,确定所述终端装置的网络制式是否与所述第一APP适用的网络制式相同;Alternatively, the processor is specifically configured to determine whether the network standard of the terminal device is the same as the network standard applicable to the first APP;
    如果所述终端装置的网络制式与所述第一APP适用的网络制式不相同,在应用所述第一APP的过程中,控制所述显示器在所述第一APP的显示界面显示所述第一APP的第一信息。If the network standard of the terminal device is different from the network standard applicable to the first APP, in the process of applying the first APP, control the display to display the first APP on the display interface of the first APP The first information of the APP.
  12. 根据权利要求10所述的装置,其特征在于,The device of claim 10, wherein:
    所述第一参数包括以下参数中的至少一种:所述第一APP在第一时间段内的数据总量、所述第一APP的峰值下载速度、所述终端装置链接的基站的信号的质量和所述终端装置的剩余电量。The first parameter includes at least one of the following parameters: the total amount of data of the first APP in the first time period, the peak download speed of the first APP, and the signal of the base station to which the terminal device is linked. quality and remaining power of the terminal device.
  13. 根据权利要求12所述的装置,其特征在于,所述至少两种网络制式包括第一网络制式和第二网络制式,所述第一网络制式下的终端装置的功耗低于所述第二网络制式下的终端装置的功耗,所述第一网络制式下的终端装置的网速低于所述第二网络制式下的终端装置的网速;The device according to claim 12, wherein the at least two network standards include a first network standard and a second network standard, and the power consumption of a terminal device under the first network standard is lower than that of the second network standard. The power consumption of the terminal device under the network standard, the network speed of the terminal device under the first network standard is lower than the network speed of the terminal device under the second network standard;
    所述第一参数包括所述第一APP在第一时间段内的数据总量,所述处理器具体用于,所述第一APP在第一时间段内的数据总量大于第一阈值,确定所述第一APP适用的网络制式为所述第二网络制式;The first parameter includes the total amount of data of the first APP in the first time period, and the processor is specifically configured to: the total amount of data of the first APP in the first time period is greater than the first threshold, determining that the network standard applicable to the first APP is the second network standard;
    所述第一参数包括所述第一APP的峰值下载速度,所述处理器具体用于,所述第一APP的峰值下载速度大于第二阈值,确定所述第一APP适用的网络制式为所述第二网络制式;The first parameter includes the peak download speed of the first APP, and the processor is specifically configured to, when the peak download speed of the first APP is greater than the second threshold, determine that the network standard applicable to the first APP is all the second network standard;
    所述第一参数包括所述终端装置链接的基站的信号的质量,所述处理器具体用于,所述终端装置链接的基站的信号的质量大于第三阈值,确定所述第一APP适用的网络制式为所述信号对应的网络制式;The first parameter includes the quality of the signal of the base station linked to the terminal device, and the processor is specifically configured to, when the quality of the signal of the base station linked to the terminal device is greater than a third threshold, determine whether the first APP is applicable. The network standard is the network standard corresponding to the signal;
    所述第一参数包括所述终端装置的剩余电量,所述根据所述第一参数,所述处理器具体用于,如果所述终端装置的剩余电量小于第四阈值,确定所述第一APP适用的网络制式为所述第一网络制式。The first parameter includes the remaining power of the terminal device, and according to the first parameter, the processor is specifically configured to, if the remaining power of the terminal device is less than a fourth threshold, determine the first APP The applicable network standard is the first network standard.
  14. 根据权利要求9至13任一项所述的装置,其特征在于,The device according to any one of claims 9 to 13, characterized in that:
    所述第一选择栏还包括智能选项;The first selection bar also includes smart options;
    所述处理器还用于,接收针对所述智能选项的第二操作,在应用所述第一APP的过程中,根据所述第一APP在应用过程中的第一参数,确定所述终端装置的网络制式。The processor is further configured to receive a second operation for the smart option, and in the process of applying the first APP, determine the terminal device according to the first parameter of the first APP in the application process network format.
  15. 根据权利要求9至13任一项所述的装置,其特征在于,The device according to any one of claims 9 to 13, characterized in that:
    所述处理器还用于,存储所述第一APP与所述目标网络制式之间的对应关系,在所述第一APP在前台运行时,根据所述对应关系,确定所述终端装置的网络制式为所述目标网络制式。The processor is further configured to store the correspondence between the first APP and the target network standard, and when the first APP is running in the foreground, determine the network of the terminal device according to the correspondence The standard is the target network standard.
  16. 根据权利要求9至13任一项所述的装置,其特征在于,The device according to any one of claims 9 to 13, characterized in that:
    所述处理器具体用于,在所述第一APP打开之后的第二时间段内,控制所述显示器显示所述第一选择栏;The processor is specifically configured to, within a second time period after the first APP is opened, control the display to display the first selection bar;
    或者,or,
    所述处理器具体用于,在接收到针对所述第一APP的显示界面的第四操作之后的第三时间段内,控制所述显示器显示所述第一选择栏。The processor is specifically configured to, within a third time period after receiving a fourth operation on the display interface of the first APP, control the display to display the first selection bar.
  17. 一种终端装置,其特征在于,包括:A terminal device, characterized in that it includes:
    至少一个处理器和存储器,at least one processor and memory,
    所述存储器,用于存储程序指令;the memory for storing program instructions;
    所述处理器,用于调用并执行所述存储器中存储的程序指令,以使所述终端装置执行权利要求1-8任一项所述的网络制式确定方法。The processor is configured to call and execute the program instructions stored in the memory, so that the terminal device executes the method for determining a network standard according to any one of claims 1-8.
  18. 一种计算机可读存储介质,其特征在于,A computer-readable storage medium, characterized in that:
    所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得所述计算机执行如权利要求1-8任一项所述的网络制式确定方法。Instructions are stored in the computer-readable storage medium, which, when executed on a computer, cause the computer to execute the method for determining a network format according to any one of claims 1-8.
PCT/CN2021/138228 2020-12-30 2021-12-15 Method and apparatus for determining network standard WO2022143165A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011627518.X 2020-12-30
CN202011627518.XA CN114697953A (en) 2020-12-30 2020-12-30 Network type determining method and device

Publications (1)

Publication Number Publication Date
WO2022143165A1 true WO2022143165A1 (en) 2022-07-07

Family

ID=82133919

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/138228 WO2022143165A1 (en) 2020-12-30 2021-12-15 Method and apparatus for determining network standard

Country Status (2)

Country Link
CN (1) CN114697953A (en)
WO (1) WO2022143165A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130267209A1 (en) * 2012-04-10 2013-10-10 Seven Networks, Inc. Enhanced customer service for mobile carriers using real-time and historical mobile application and traffic or optimization data associated with mobile devices in a mobile network
CN105517082A (en) * 2015-11-28 2016-04-20 广东欧珀移动通信有限公司 Network type processing method and device in communication terminal, and terminal
CN107734584A (en) * 2017-09-30 2018-02-23 广东欧珀移动通信有限公司 The method and apparatus of network connection switching, computer equipment, readable storage medium storing program for executing
CN111314964A (en) * 2020-01-22 2020-06-19 维沃移动通信有限公司 Data flow control method and electronic equipment
CN111880706A (en) * 2020-07-23 2020-11-03 维沃移动通信有限公司 Function switching method and device, electronic equipment and readable storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105357403B (en) * 2015-11-28 2019-03-05 Oppo广东移动通信有限公司 Method for switching network, device and communication terminal in a kind of communication terminal
CN105376819B (en) * 2015-11-28 2019-04-16 Oppo广东移动通信有限公司 A kind of network formats switching method, device and terminal
CN105517081B (en) * 2015-11-28 2018-01-19 广东欧珀移动通信有限公司 Method for processing business, device and mobile terminal under a kind of hybrid network standard
CN105530676B (en) * 2015-11-28 2019-04-02 Oppo广东移动通信有限公司 Method for processing business, device and mobile terminal under a kind of hybrid network standard
CN107567082A (en) * 2017-10-12 2018-01-09 北京小米移动软件有限公司 The control method and terminal device of network mode

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130267209A1 (en) * 2012-04-10 2013-10-10 Seven Networks, Inc. Enhanced customer service for mobile carriers using real-time and historical mobile application and traffic or optimization data associated with mobile devices in a mobile network
CN105517082A (en) * 2015-11-28 2016-04-20 广东欧珀移动通信有限公司 Network type processing method and device in communication terminal, and terminal
CN107734584A (en) * 2017-09-30 2018-02-23 广东欧珀移动通信有限公司 The method and apparatus of network connection switching, computer equipment, readable storage medium storing program for executing
CN111314964A (en) * 2020-01-22 2020-06-19 维沃移动通信有限公司 Data flow control method and electronic equipment
CN111880706A (en) * 2020-07-23 2020-11-03 维沃移动通信有限公司 Function switching method and device, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN114697953A (en) 2022-07-01

Similar Documents

Publication Publication Date Title
CN109660842B (en) Method for playing multimedia data and electronic equipment
WO2020244623A1 (en) Air-mouse mode implementation method and related device
WO2020062159A1 (en) Wireless charging method and electronic device
WO2022100610A1 (en) Screen projection method and apparatus, and electronic device and computer-readable storage medium
CN111132234A (en) Data transmission method and corresponding terminal
CN112425201A (en) Service control method and electronic equipment
WO2023241209A9 (en) Desktop wallpaper configuration method and apparatus, electronic device and readable storage medium
WO2021121036A1 (en) Key customization method and device for folding device, and storage medium
CN113593567A (en) Method for converting video and sound into text and related equipment
CN109285563B (en) Voice data processing method and device in online translation process
WO2023071502A1 (en) Volume control method and apparatus, and electronic device
WO2022161036A1 (en) Method and apparatus for selecting antenna, electronic device, and readable storage medium
WO2022143165A1 (en) Method and apparatus for determining network standard
WO2021052408A1 (en) Electronic device display method and electronic device
CN113473013A (en) Display method and device for beautifying effect of image and terminal equipment
WO2022068654A1 (en) Interaction method and apparatus for terminal device
WO2022228241A1 (en) Terminal device control method, apparatus, and system
WO2022194107A1 (en) Webpage display method, device, and system
WO2022095581A1 (en) Data transmission method and terminal device
EP4137973A1 (en) Method and apparatus for applying file
CN113950037B (en) Audio playing method and terminal equipment
WO2024067110A1 (en) Card updating method and related apparatus
WO2022188632A1 (en) Theme display method and apparatus, terminal, and computer storage medium
WO2024067432A1 (en) Audio transmission method and system, and related apparatus
CN113672563A (en) File application method and device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21913906

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21913906

Country of ref document: EP

Kind code of ref document: A1