CN111459528B - Frequency band upgrading method, system, storage medium and mobile terminal - Google Patents

Frequency band upgrading method, system, storage medium and mobile terminal Download PDF

Info

Publication number
CN111459528B
CN111459528B CN202010249632.7A CN202010249632A CN111459528B CN 111459528 B CN111459528 B CN 111459528B CN 202010249632 A CN202010249632 A CN 202010249632A CN 111459528 B CN111459528 B CN 111459528B
Authority
CN
China
Prior art keywords
modem
frequency band
mobile terminal
file
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010249632.7A
Other languages
Chinese (zh)
Other versions
CN111459528A (en
Inventor
俞斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Chengyi Technology Consulting Co ltd
Original Assignee
TCL Mobile Communication Technology Ningbo Ltd
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 TCL Mobile Communication Technology Ningbo Ltd filed Critical TCL Mobile Communication Technology Ningbo Ltd
Priority to CN202010249632.7A priority Critical patent/CN111459528B/en
Publication of CN111459528A publication Critical patent/CN111459528A/en
Application granted granted Critical
Publication of CN111459528B publication Critical patent/CN111459528B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/656Updates while running
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M11/00Telephonic communication systems specially adapted for combination with other electrical systems
    • H04M11/06Simultaneous speech and data transmission, e.g. telegraphic transmission over the same conductors
    • H04M11/066Telephone sets adapted for data transmision

Abstract

The application provides a frequency band upgrading method, a frequency band upgrading system, a storage medium and a mobile terminal. According to the method and the device, the modem is restarted and the modem file is loaded when the mobile terminal does not call any frequency band, when the mobile terminal calls a frequency band, first binary data corresponding to the frequency band except the frequency band in the modem file is obtained, address content and corresponding length corresponding to the first binary data are copied to the modem, when the mobile terminal does not call the frequency band, second binary data corresponding to the frequency band are obtained, address content and corresponding length corresponding to the second binary data are copied to the modem, and therefore the corresponding problem can be solved without restarting the mobile terminal when the mobile terminal upgrades the frequency band, and convenience is brought to users.

Description

Frequency band upgrading method, system, storage medium and mobile terminal
Technical Field
The present application relates to the field of mobile communications technologies, and in particular, to a method and a system for upgrading a frequency band, a storage medium, and a mobile terminal.
Background
At present, although the functions of the mobile terminal are more and more complex, the mobile terminal often comprises camera shooting, a touch screen, WIFI, bluetooth and the like, the communication and data functions with the base station are still the most basic and important. With the increase of users and the improvement of requirements of people on communication functions such as speed, low time delay and the like, the frequency bands used for communication by the mobile terminal are more and more increased, and meanwhile, the opportunities of people going far are more and more increased, which makes the mobile terminal need to support various frequency bands around the world, so that problems are inevitably caused when the frequency bands are arranged in the mobile terminal, the whole radio frequency software needs to be updated when the problems occur currently, that is, the whole radio frequency software needs to be updated by brushing a MODEM (MODEM) file, and the mobile terminal needs to be restarted when the file is brushed.
Therefore, the application provides a frequency band upgrading method, a frequency band upgrading system, a storage medium and a mobile terminal, so as to solve the problems.
Disclosure of Invention
The embodiment of the application provides a frequency band upgrading method, a frequency band upgrading system, a storage medium and a mobile terminal, and solves the problem that when the mobile terminal performs frequency band upgrading, the mobile terminal is restarted to be flushed with modem files to repair the frequency band.
According to a first aspect of the present application, an embodiment of the present application provides a frequency band upgrading method, applied to a mobile terminal, where the frequency band upgrading method includes: obtaining a modem file; judging whether the mobile terminal invokes any frequency band or not; restarting a modem and loading the modem file when judging that the mobile terminal does not call any frequency band; when judging that the mobile terminal calls a frequency band, acquiring first binary data corresponding to the frequency band except the frequency band in the modem file; copying address content corresponding to the first binary data and corresponding length into the modem; when the mobile terminal does not call the frequency band, acquiring second binary data corresponding to the frequency band; and copying the address content corresponding to the second binary data and the corresponding length into the modem.
Further, the step of obtaining the modem file includes: detecting whether the modem file is complete; and storing the modem file into a memory when the integrity of the modem file is detected.
Further, in the step of detecting whether the modem file is complete, the method includes: dividing the modem file into a plurality of pieces of data at intervals of designated bits; performing specified logic operation on the segments of data, and judging that the modem file is complete when the result of the specified logic operation is a specified value; and when the result of the appointed logic operation is a non-appointed value, judging that the modem file is incomplete.
Further, when it is determined that the mobile terminal does not invoke any frequency band, the step of restarting the modem and loading the modem file includes: turning off the modem; updating the modem file into the modem; the modem is restarted.
According to a second aspect of the present application, an embodiment of the present application provides a frequency band upgrade system, applied to a mobile terminal, the frequency band upgrade system includes: the acquisition module is used for acquiring the modem file; the judging module is used for judging whether the mobile terminal invokes any frequency band; the loading module is used for restarting the modem and loading the modem file when judging that the mobile terminal does not call any frequency band; the first acquisition module is used for acquiring first binary data corresponding to a frequency band except the frequency band in the modem file when judging that the mobile terminal calls the frequency band; the first copying module is used for copying the address content corresponding to the first binary data and the corresponding length into the modem; the second acquisition module is used for acquiring second binary data corresponding to the frequency band when the mobile terminal does not call the frequency band; and the second copying module is used for copying the address content corresponding to the second binary data and the corresponding length into the modem.
Further, the acquisition module includes: the detection module is used for detecting whether the modem file is complete; and the storage module is used for storing the modem file into a memory when the integrity of the modem file is detected.
Further, the detection module includes: the dividing module is used for dividing the modem file into a plurality of pieces of data at intervals of designated bits; the logic operation module is used for carrying out appointed logic operation on the plurality of segments of data, and judging that the modem file is complete when the result of the appointed logic operation is an appointed value; and when the result of the specified logic operation is a non-specified value, judging that the modem file is incomplete.
Further, the loading module includes: a closing module for closing the modem; an updating module for updating the modem file into the modem; and a restarting module for restarting the modem.
According to a third aspect of the present application, embodiments of the present application provide a storage medium having stored therein a plurality of instructions adapted to be loaded by a processor to perform the above-described frequency band upgrade method.
According to a fourth aspect of the present application, an embodiment of the present application provides a mobile terminal, which includes a processor and a memory, where the processor is electrically connected to the memory, the memory is configured to store instructions and data, and the processor is configured to execute steps in the above-mentioned frequency band upgrading method.
The embodiment of the application provides a frequency band upgrading method, a system, a storage medium and a mobile terminal, wherein a modem file is obtained, when the mobile terminal does not call any frequency band, the modem is restarted and the modem file is loaded, when the mobile terminal calls a frequency band, first binary data corresponding to the frequency band except the frequency band in the modem file is obtained, address content and corresponding length corresponding to the first binary data are copied to the modem, when the frequency band is disconnected, second binary data corresponding to the frequency band is obtained, address content and corresponding length corresponding to the second binary data are copied to the modem, and therefore the corresponding problem can be solved without restarting the mobile terminal when the mobile terminal performs frequency band upgrading, and convenience is brought to users.
Drawings
Technical solutions and other advantageous effects of the present application will be made apparent from the following detailed description of specific embodiments of the present application with reference to the accompanying drawings.
Fig. 1 is a schematic flow chart of steps of a method for upgrading a frequency band according to an embodiment of the present application.
Fig. 2 is a schematic flow chart of step S11 shown in fig. 1.
Fig. 3 is a flow chart of step S21 shown in fig. 2.
Fig. 4 is a schematic flow chart of step S13 shown in fig. 1.
Fig. 5 is a schematic structural diagram of a frequency band upgrading system according to an embodiment of the present application.
Fig. 6 is a schematic structural diagram of the acquisition module shown in fig. 5.
Fig. 7 is a schematic structural diagram of the detection module shown in fig. 6.
Fig. 8 is a schematic structural diagram of the loading module shown in fig. 5.
Fig. 9 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application.
Fig. 10 is a schematic diagram of a specific structure of a mobile terminal according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It will be apparent that the described embodiments are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
The terms first, second, third and the like in the description and in the claims of the present application and in the above-described figures, if any, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the objects so described may be interchanged where appropriate. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion.
In the detailed description, the drawings and examples set forth below to describe the principles disclosed herein are for illustration only and are not to be construed as limiting the scope of the disclosure. Those skilled in the art will understand that the principles of the present application may be implemented in any suitably arranged system. Exemplary embodiments will be described in detail, examples of which are illustrated in the accompanying drawings. Further, a mobile terminal according to an exemplary embodiment will be described in detail with reference to the accompanying drawings. Like reference symbols in the drawings indicate like elements.
The terminology used in this detailed description is for the purpose of describing particular embodiments only and is not intended to be limiting of the concepts of the application. The use of expressions in the singular encompasses plural forms of expressions unless the context clearly dictates otherwise. In this specification, it should be understood that terms such as "comprises," "comprising," "includes," and "including" are intended to specify the presence of the stated features, integers, steps, actions, or combinations thereof, disclosed in the specification, but are not intended to preclude the presence or addition of one or more other features, integers, steps, actions, or groups thereof. Like reference numerals in the drawings refer to like parts.
In the description of the present application, it should be noted that, unless explicitly specified and limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be either fixedly connected, detachably connected, or integrally connected, for example; can be mechanically connected, electrically connected or can be communicated with each other; can be directly connected or indirectly connected through an intermediate medium, and can be communicated with the inside of two elements or the interaction relationship of the two elements. The specific meaning of the terms in this application will be understood by those of ordinary skill in the art as the case may be.
The following disclosure provides many different embodiments or examples for implementing different structures of the present application. In order to simplify the disclosure of the present application, the components and arrangements of specific examples are described below. Of course, they are merely examples and are not intended to limit the present application. Furthermore, the present application may repeat reference numerals and/or letters in the various examples, which are for the purpose of brevity and clarity, and which do not in themselves indicate the relationship between the various embodiments and/or arrangements discussed. In addition, the present application provides examples of various specific processes and materials, but one of ordinary skill in the art may recognize the application of other processes and/or the use of other materials.
Specifically, referring to fig. 1, an embodiment of the present application provides a frequency band upgrading method, which is used for a mobile terminal, and includes the following steps.
Step S11, obtaining a modem file.
In the embodiment of the application, the latest modem file is acquired in advance on the server and stored in the mobile terminal.
See fig. 2. Step S11 specifically includes the following steps.
Step S21, detecting whether the modem file is complete.
Referring to fig. 3, step S21 specifically includes the following steps.
Step S31, the modem file is divided into a plurality of pieces of data at intervals of designated bits.
In the embodiment of the present application, the MODEM file may be, for example, 100 mbytes in size, and may be divided into several segments, for example, 1M is one segment.
Step S32, performing specified logic operation on the segments of data, and judging that the modem file is complete when the result of the specified logic operation is a specified value; and when the result of the appointed logic operation is a non-appointed value, judging that the modem file is incomplete.
In this embodiment of the present application, the specified logic operation may be a first and then second and then the operation result should be a specified value, because a certain redundant field needs to be added to ensure that the logic operation is a specified value after the MODEM file is generated; or writing the value after the logic operation in the MODEM file itself, and then reading the specified value from the MODEM file itself, so that the specified values of different MODEM files can be different.
And step S22, when the completeness of the modem file is detected, storing the modem file into a memory.
In the embodiment of the application, the memory is a power-down nonvolatile memory, so that the loss of the modem file caused by unexpected shutdown of the mobile terminal can be avoided.
Step S12, judging whether the mobile terminal invokes any frequency band.
And step S13, restarting the modem and loading the modem file when judging that the mobile terminal does not call any frequency band.
In the embodiment of the application, when the mobile terminal does not call any frequency band, the modem is restarted and the modem file is loaded, so that the frequency band is updated.
Referring to fig. 4, step S13 specifically includes the following steps.
Step S41, the modem is turned off.
Step S42, updating the modem file to the modem.
Step S43, the modem is restarted.
With continued reference to fig. 1, step S14 is performed to obtain first binary data corresponding to a frequency band except the frequency band in the modem file when it is determined that the mobile terminal invokes the frequency band.
Step S15, copying the address content corresponding to the first binary data and the corresponding length into the modem.
In this embodiment, before the step of copying the address content and the corresponding length corresponding to the first binary data into a partition of the memory in the modem, an identifier needs to be set to indicate that the frequency band upgrade is not completed.
And S16, when the mobile terminal does not call the frequency band, acquiring second binary data corresponding to the frequency band.
And S17, copying the address content corresponding to the second binary data and the corresponding length into the modem.
In this embodiment, after the step of copying the address content and the corresponding length corresponding to the second binary data into a partition of the memory in the modem, a bit identifier is cleared to indicate that the frequency band upgrade is completed.
Referring to fig. 5, an embodiment of the present application provides a frequency band upgrading system, where the frequency band upgrading method is used for a mobile terminal, and the frequency band upgrading system includes an obtaining module 501, a judging module 502, a loading module 503, a first obtaining module 504, a first copying module 505, a second obtaining module 506, and a second copying module 507.
The acquisition module 501 is configured to acquire a modem file.
In the embodiment of the application, the latest modem file is acquired in advance on the server and stored in the mobile terminal.
See fig. 6. The obtaining module 501 specifically includes: the detection module 601 and the storage module 602.
The detection module 601 is configured to detect whether the modem file is complete.
Referring to fig. 7, the detection module 601 specifically includes a segmentation module 701 and a logic operation module 702.
The partitioning module 701 is configured to partition the modem file into a plurality of pieces of data every other designated bit.
In the embodiment of the present application, the MODEM file may be, for example, 100 mbytes in size, and may be divided into several segments, for example, 1M is one segment.
The logic operation module 702 is connected to the division module 701. The logic operation module 702 is configured to perform a specified logic operation on the pieces of data. When the result of the appointed logic operation is an appointed value, judging that the modem file is complete; and when the result of the appointed logic operation is a non-appointed value, judging that the modem file is incomplete.
In this embodiment of the present application, the specified logic operation may be a first and then second and then the operation result should be a specified value, because a certain redundant field needs to be added to ensure that the logic operation is a specified value after the MODEM file is generated; or writing the value after the logic operation in the MODEM file itself, and then reading the specified value from the MODEM file itself, so that the specified values of different MODEM files can be different.
The storage module 602 is connected to the detection module 601. The storage module 602 is configured to store the modem file into the memory when the integrity of the modem file is detected.
In the embodiment of the application, the memory is a power-down nonvolatile memory, so that the loss of the modem file caused by unexpected shutdown of the mobile terminal can be avoided.
The judging module 502 is connected with the acquiring module 501. The judging module 502 is configured to judge whether the mobile terminal invokes any frequency band.
The loading module 503 is connected to the judging module 502. The loading module 503 is configured to restart the modem and load the modem file when it is determined that the mobile terminal does not invoke any frequency band.
In the embodiment of the application, when the mobile terminal does not call any frequency band, the modem is restarted and the modem file is loaded, so that the frequency band is updated.
Referring to fig. 8, the loading module 503 specifically includes: a shutdown module 801, an update module 802, and a restart module 803.
The shutdown module 801 is used to shut down the modem.
The update module 802 is connected to the shutdown module 801. The updating module 802 is configured to update the modem file into the modem.
The restart module 803 is connected to the update module 802. The restart module 803 is configured to restart the modem.
With continued reference to fig. 5, the first acquisition module 504 is coupled to the loading module 503. The first obtaining module 504 is configured to obtain, when it is determined that the mobile terminal invokes a frequency band, first binary data corresponding to a frequency band other than the frequency band in the modem file.
The first replication module 505 is connected to the first acquisition module 504. The first copying module 505 is configured to copy the address content corresponding to the first binary data and the corresponding length into the modem.
In this embodiment, before the step of copying the address content and the corresponding length corresponding to the first binary data into a partition of the memory in the modem, an identifier needs to be set to indicate that the frequency band upgrade is not completed.
The second acquisition module 506 is connected to the first replication module 505. The second obtaining module 506 is configured to obtain second binary data corresponding to the frequency band when the frequency band is disconnected.
The second copy module 507 is connected to the second acquisition module 506. The second copying module 507 is configured to copy the address content corresponding to the second binary data and the corresponding length to the modem.
In this embodiment, after the step of copying the address content and the corresponding length corresponding to the second binary data into a partition of the memory in the modem, a bit identifier is cleared to indicate that the frequency band upgrade is completed.
Referring to fig. 9, the embodiment of the present application further provides a mobile terminal 900, where the mobile terminal 900 may be a mobile phone, a tablet, a computer, or other devices. As shown in fig. 9, the mobile terminal 900 includes a processor 901 and a memory 902. The processor 901 is electrically connected to the memory 902.
The processor 901 is a control center of the mobile terminal 900, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by running or loading an application program stored in the memory 902 and calling data stored in the memory 902, thereby performing overall monitoring of the mobile terminal.
In this embodiment, the mobile terminal 900 is provided with a plurality of storage partitions, where the plurality of storage partitions include a system partition and a target partition, and the processor 901 in the mobile terminal 900 loads instructions corresponding to the processes of one or more application programs into the memory 902 according to the following steps, and the processor 901 executes the application programs stored in the memory 902, so as to implement various functions:
obtaining a modem file;
judging whether the mobile terminal invokes any frequency band or not;
restarting a modem and loading the modem file when judging that the mobile terminal does not call any frequency band;
when judging that the mobile terminal calls a frequency band, acquiring first binary data corresponding to the frequency band except the frequency band in the modem file;
copying address content corresponding to the first binary data and corresponding length into the modem;
when the mobile terminal does not call the frequency band, acquiring second binary data corresponding to the frequency band; and
and copying the address content corresponding to the second binary data and the corresponding length into the modem.
Referring to fig. 10, fig. 10 shows a specific block diagram of a mobile terminal 1000 according to an embodiment of the present application, where the mobile terminal 1000 may be used to implement the frequency band upgrading method provided in the foregoing embodiment. The mobile terminal 1000 can be a cell phone or tablet. The mobile terminal 1000 includes the following components.
The RF circuit 1010 is configured to receive and transmit electromagnetic waves, and to perform mutual conversion between the electromagnetic waves and the electrical signals, thereby communicating with a communication network or other devices. RF circuitry 1010 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and so forth. The RF circuitry 1010 may communicate with various networks such as the internet, intranets, wireless networks, or other devices via wireless networks. The wireless network may include a cellular telephone network, a wireless local area network, or a metropolitan area network. The wireless network may use various communication standards, protocols, and technologies including, but not limited to, global system for mobile communications (Global System for Mobile Communication, GSM), enhanced mobile communications technology (Enhanced Data GSM Environment, EDGE), wideband code division multiple access technology (Wideband Code Division Multiple Access, WCDMA), code division multiple access technology (Code Division Access, CDMA), time division multiple access technology (Time Division Multiple Access, TDMA), wireless fidelity technology (Wireless Fidelity, wi-Fi) (e.g., american society of electrical and electronic engineers standard IEEE802.11a, IEEE 802.11.11 b, IEEE802.11g, and/or IEEE802.11 n), internet telephony (Voice over Internet Protocol, voIP), worldwide interoperability for microwave access (Worldwide Interoperability for Microwave Access, wi-Max), other protocols for mail, instant messaging, and short messaging, and any other suitable communication protocols, even those not currently developed.
The memory 1020 may be used to store software programs and modules, such as program instructions/modules corresponding to the frequency band upgrade method in the above embodiments, and the processor 1080 executes the software programs and modules stored in the memory 1020, thereby performing various functional applications and data processing, that is, implementing the functions of the frequency band upgrade method. Memory 1020 may include high-speed random access memory, but may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory. In some examples, memory 1020 may further include memory located remotely from processor 1080 and may be connected to mobile terminal 1000 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input unit 1030 may be used for receiving input numeric or character information and generating keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 1030 may include a touch-sensitive surface 1031 and other input devices 1032. The touch-sensitive surface 1031, also referred to as a touch display screen or touch pad, may collect touch operations thereon or thereabout by a user (e.g., operations of the user on the touch-sensitive surface 1031 or thereabout using any suitable object or accessory such as a finger, stylus, etc.), and actuate the corresponding connection device according to a pre-set program. Alternatively, the touch sensitive surface 1031 may comprise two parts, a touch detection device and a touch controller. The touch detection device detects the touch azimuth of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device and converts it into touch point coordinates, which are then sent to the processor 1080 and can receive commands from the processor 1080 and execute them. In addition, the touch sensitive surface 1031 may be implemented in a variety of types, such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch-sensitive surface 1031, the input unit 1030 may include other input devices 1032. In particular, other input devices 1032 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a track ball, a mouse, a joystick, etc.
The display unit 1040 may be used to display information input by a user or information provided to a user and various graphical user interfaces of the mobile terminal 1000, which may be composed of graphics, text, icons, video, and any combination thereof. The display unit 1040 may include a display panel 1041, and alternatively, the display panel 1041 may be configured in the form of an LCD (Liquid Crystal Display ), an OLED (Organic Light-Emitting Diode), or the like. Further, the touch sensitive surface 1031 can overlay the display panel 1041, and upon detection of a touch operation thereon or thereabout by the touch sensitive surface 1031, is communicated to the processor 1080 to determine a type of touch event, and the processor 1080 then provides a corresponding visual output on the display panel 1041 based on the type of touch event. Although in fig. 10 the touch-sensitive surface 1031 and the display panel 1041 are implemented as two separate components for input and output functions, in some embodiments the touch-sensitive surface 1031 may be integrated with the display panel 1041 to implement the input and output functions.
The mobile terminal 1000 can also include at least one sensor 1050, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 1041 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 1041 and/or the backlight when the mobile terminal 1000 moves to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and the direction when the mobile phone is stationary, and can be used for applications of recognizing the gesture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. that may also be configured with the mobile terminal 1000 are not described in detail herein.
Audio circuitry 1060, speaker 1061, microphone 1062 may provide an audio interface between a user and mobile terminal 1000. Audio circuit 1060 may transmit the received electrical signal after audio data conversion to speaker 1061 for conversion by speaker 1061 into an audio signal output; on the other hand, microphone 1062 converts the collected sound signals into electrical signals, which are received by audio circuit 1060 and converted into audio data, which are processed by audio data output processor 1080 for transmission to, for example, another terminal via RF circuit 1010 or for output to memory 1020 for further processing. Audio circuitry 1060 may also include an ear bud jack to provide communication of a peripheral ear bud with mobile terminal 1000.
The mobile terminal 1000 can facilitate user email, web browsing, streaming media access, etc., via a transmission module 1070 (e.g., wi-Fi module) that provides wireless broadband internet access to the user. Although fig. 10 shows a transmission module 1070, it is to be understood that it does not belong to the necessary constitution of the mobile terminal 1000, and can be omitted entirely as required within the scope not changing the essence of the invention.
Processor 1080 is a control center of mobile terminal 1000 and connects the various parts of the overall handset using various interfaces and lines, and performs the various functions of mobile terminal 1000 and processes data by running or executing software programs and/or modules stored in memory 1020 and invoking data stored in memory 1020, thereby performing overall monitoring of the handset. Optionally, processor 1080 may include one or more processing cores; in some embodiments, processor 1080 may integrate an application processor primarily handling operating systems, user interfaces, applications, and the like, with a modem processor primarily handling wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 1080.
The mobile terminal 1000 can also include a power source 1090 (e.g., a battery) for powering the various components, which can, in some embodiments, be logically connected to the processor 1080 by a power management system so as to perform functions such as managing charging, discharging, and power consumption by the power management system. The power source 1090 may also include one or more of any of a direct current or alternating current power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the mobile terminal 1000 can also include a camera (e.g., front camera, rear camera), a bluetooth module, etc., and will not be described in detail herein. In particular, in this embodiment, the display unit of the mobile terminal is a touch screen display, the mobile terminal further includes a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for:
obtaining a modem file;
judging whether the mobile terminal invokes any frequency band or not;
restarting a modem and loading the modem file when judging that the mobile terminal does not call any frequency band;
when judging that the mobile terminal calls a frequency band, acquiring first binary data corresponding to the frequency band except the frequency band in the modem file;
copying address content corresponding to the first binary data and corresponding length into the modem;
when the mobile terminal does not call the frequency band, acquiring second binary data corresponding to the frequency band; and
and copying the address content corresponding to the second binary data and the corresponding length into the modem.
In the implementation, each module may be implemented as an independent entity, or may be combined arbitrarily, and implemented as the same entity or several entities, and the implementation of each module may be referred to the foregoing method embodiment, which is not described herein again.
Those of ordinary skill in the art will appreciate that all or a portion of the steps of the various methods of the above embodiments may be performed by instructions or by controlling associated hardware, which may be stored in a computer-readable storage medium and loaded and executed by a processor. To this end, embodiments of the present application provide a storage medium having stored therein a plurality of instructions capable of being loaded by a processor to perform steps in any of the frequency band upgrade methods provided by embodiments of the present application.
Wherein the storage medium may include: read Only Memory (ROM), random access Memory (RAM, random Access Memory), magnetic or optical disk, and the like.
The instructions stored in the storage medium may perform steps in any frequency band upgrading method provided in the embodiments of the present application, so that the beneficial effects that any frequency band upgrading method provided in the embodiments of the present application can be achieved, which are detailed in the previous embodiments and are not described herein. The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
The embodiment of the application provides a frequency band upgrading method, a system, a storage medium and a mobile terminal, wherein a modem file is obtained, when the mobile terminal does not call any frequency band, the modem is restarted and the modem file is loaded, when the mobile terminal calls a frequency band, first binary data corresponding to the frequency band except the frequency band in the modem file is obtained, address content and corresponding length corresponding to the first binary data are copied to the modem, when the mobile terminal does not call the frequency band, second binary data corresponding to the frequency band is obtained, address content and corresponding length corresponding to the second binary data are copied to the modem, and therefore the corresponding problem can be solved without restarting the mobile terminal when the mobile terminal performs frequency band upgrading, and convenience is brought to users.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to related descriptions of other embodiments.
The above describes in detail a method, a system, a storage medium and a mobile terminal for upgrading a frequency band provided by the embodiments of the present application, and specific examples are applied to describe the principles and implementations of the present application, where the description of the above embodiments is only used to help understand the technical solution and core ideas of the present application; those of ordinary skill in the art will appreciate that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.

Claims (10)

1. The frequency band upgrading method is applied to a mobile terminal and is characterized by comprising the following steps of:
obtaining a modem file;
judging whether the mobile terminal invokes any frequency band or not;
restarting a modem and loading the modem file when judging that the mobile terminal does not call any frequency band;
when judging that the mobile terminal calls a frequency band, acquiring first binary data corresponding to the frequency band except the frequency band in the modem file;
copying address content corresponding to the first binary data and corresponding length into the modem;
when the mobile terminal does not call the frequency band, acquiring second binary data corresponding to the frequency band; and
and copying the address content corresponding to the second binary data and the corresponding length into the modem.
2. The method for upgrading a frequency band as set forth in claim 1, wherein the step of acquiring the modem file includes:
detecting whether the modem file is complete; and
and when the modem file is detected to be complete, storing the modem file into a memory.
3. The method for upgrading a frequency band as set forth in claim 2, wherein the step of detecting whether the modem file is complete comprises:
dividing the modem file into a plurality of pieces of data at intervals of designated bits; and
performing specified logic operation on the segments of data, and judging that the modem file is complete when the result of the specified logic operation is a specified value; and when the result of the appointed logic operation is a non-appointed value, judging that the modem file is incomplete.
4. The band upgrading method according to claim 1, wherein the step of restarting the modem and loading the modem file when it is judged that the mobile terminal does not call any band, comprises:
turning off the modem;
updating the modem file into the modem; and
the modem is restarted.
5. A frequency band upgrading system applied to a mobile terminal, the frequency band upgrading system comprising:
the acquisition module is used for acquiring the modem file;
the judging module is used for judging whether the mobile terminal invokes any frequency band;
the loading module is used for restarting the modem and loading the modem file when judging that the mobile terminal does not call any frequency band;
the first acquisition module is used for acquiring first binary data corresponding to a frequency band except the frequency band in the modem file when judging that the mobile terminal calls the frequency band;
the first copying module is used for copying the address content corresponding to the first binary data and the corresponding length into the modem;
the second acquisition module is used for acquiring second binary data corresponding to the frequency band when the mobile terminal does not call the frequency band; and
and the second copying module is used for copying the address content corresponding to the second binary data and the corresponding length into the modem.
6. The frequency band upgrade system of claim 5, wherein the acquisition module comprises:
the detection module is used for detecting whether the modem file is complete; and
and the storage module is used for storing the modem file into a memory when the integrity of the modem file is detected.
7. The frequency band upgrade system of claim 6, wherein the detection module comprises:
the dividing module is used for dividing the modem file into a plurality of pieces of data at intervals of designated bits; and
the logic operation module is used for carrying out specified logic operation on the segments of data, and judging that the modem file is complete when the result of the specified logic operation is a specified value; and when the result of the specified logic operation is a non-specified value, judging that the modem file is incomplete.
8. The frequency band upgrade system of claim 5, wherein the loading module comprises:
a closing module for closing the modem;
an updating module for updating the modem file into the modem; and
and the restarting module is used for restarting the modem.
9. A storage medium having stored therein a plurality of instructions adapted to be loaded by a processor to perform the frequency band upgrade method of any one of claims 1 to 4.
10. A mobile terminal, comprising a processor and a memory, the processor being electrically connected to the memory, the memory being configured to store instructions and data, the processor being configured to perform the steps of the frequency band upgrade method of any one of claims 1 to 4.
CN202010249632.7A 2020-04-01 2020-04-01 Frequency band upgrading method, system, storage medium and mobile terminal Active CN111459528B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010249632.7A CN111459528B (en) 2020-04-01 2020-04-01 Frequency band upgrading method, system, storage medium and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010249632.7A CN111459528B (en) 2020-04-01 2020-04-01 Frequency band upgrading method, system, storage medium and mobile terminal

Publications (2)

Publication Number Publication Date
CN111459528A CN111459528A (en) 2020-07-28
CN111459528B true CN111459528B (en) 2024-01-09

Family

ID=71682510

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010249632.7A Active CN111459528B (en) 2020-04-01 2020-04-01 Frequency band upgrading method, system, storage medium and mobile terminal

Country Status (1)

Country Link
CN (1) CN111459528B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6640334B1 (en) * 1999-09-27 2003-10-28 Nortel Networks Limited Method and apparatus of remotely updating firmware of a communication device
CN106406948A (en) * 2016-09-13 2017-02-15 乐视控股(北京)有限公司 Configuration file downloading method and device
WO2017024688A1 (en) * 2015-08-11 2017-02-16 上海斐讯数据通信技术有限公司 Control method and system capable of system upgrade without interrupting services
CN106789231A (en) * 2016-12-16 2017-05-31 广东美晨通讯有限公司 The method and device that a kind of data update
CN106789169A (en) * 2016-11-28 2017-05-31 努比亚技术有限公司 A kind of radio frequency parameter update method and the network equipment, terminal
CN107835088A (en) * 2017-09-26 2018-03-23 深圳市亿兆互联技术有限公司 A kind of LoRa terminal devices over-the-air upgrade method and system
CN110022405A (en) * 2019-03-29 2019-07-16 惠州Tcl移动通信有限公司 Radio frequency parameter method of adjustment, device and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6640334B1 (en) * 1999-09-27 2003-10-28 Nortel Networks Limited Method and apparatus of remotely updating firmware of a communication device
WO2017024688A1 (en) * 2015-08-11 2017-02-16 上海斐讯数据通信技术有限公司 Control method and system capable of system upgrade without interrupting services
CN106406948A (en) * 2016-09-13 2017-02-15 乐视控股(北京)有限公司 Configuration file downloading method and device
CN106789169A (en) * 2016-11-28 2017-05-31 努比亚技术有限公司 A kind of radio frequency parameter update method and the network equipment, terminal
CN106789231A (en) * 2016-12-16 2017-05-31 广东美晨通讯有限公司 The method and device that a kind of data update
CN107835088A (en) * 2017-09-26 2018-03-23 深圳市亿兆互联技术有限公司 A kind of LoRa terminal devices over-the-air upgrade method and system
CN110022405A (en) * 2019-03-29 2019-07-16 惠州Tcl移动通信有限公司 Radio frequency parameter method of adjustment, device and storage medium

Also Published As

Publication number Publication date
CN111459528A (en) 2020-07-28

Similar Documents

Publication Publication Date Title
CN106502703B (en) Function calling method and device
WO2018120905A1 (en) Message reminding method for terminal, and terminal
WO2018049934A1 (en) Data migration method and terminals
EP2869604B1 (en) Method, apparatus and device for processing a mobile terminal resource
CN110046497B (en) Function hook realization method, device and storage medium
CN111008090B (en) Battery electric quantity control method and device, storage medium and terminal equipment
EP3671451A1 (en) Method of automatically releasing resource occupied by background process of terminal, storage medium and terminal
CN111432387B (en) Many-to-many switching module, multi-machine wireless communication system and communication method thereof
CN111026457B (en) Hardware configuration method and device, storage medium and terminal equipment
CN111045737B (en) Equipment identifier acquisition method, device, terminal equipment and storage medium
US20160314036A1 (en) Method and Apparatus for Repairing Dynamic Link Library File
CN111459528B (en) Frequency band upgrading method, system, storage medium and mobile terminal
CN106817370B (en) Method and device for transmitting network data
CN112261634B (en) Bluetooth transmission control method and device, terminal equipment and storage medium
CN106210325B (en) Method, device and terminal for setting incoming call ringtone of social application
CN111193558B (en) Radio frequency parameter calibration method and device, storage medium and mobile terminal
CN111897916B (en) Voice instruction recognition method, device, terminal equipment and storage medium
CN112367428A (en) Electric quantity display method and system, storage medium and mobile terminal
CN112199245B (en) Mobile terminal screen detection method, system, storage medium and mobile terminal
CN106681845B (en) Method and device for managing communication messages
CN112243269B (en) Method and device for downloading data and mobile terminal
CN112235806B (en) Bluetooth parameter configuration method and device, storage medium and mobile terminal
CN111405649B (en) Information transmission method and device and mobile terminal
CN105278967B (en) System updating method, device and system of mobile terminal
CN112492576B (en) Long-distance voice dialing method, long-distance voice dialing device, storage medium and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20240125

Address after: 510000 Building 1, No. 106 Fengze East Road, Nansha District, Guangzhou City, Guangdong Province X1301-D010825 (Cluster Registration) (JM)

Patentee after: Guangzhou Chengyi Technology Consulting Co.,Ltd.

Guo jiahuodiqu after: Zhong Guo

Address before: 10 / F, No.5 Lane 999, Yangfan Road, high tech Zone, Ningbo City, Zhejiang Province

Patentee before: TCL mobile communication technology (Ningbo) Co.,Ltd.

Guo jiahuodiqu before: Zhong Guo

TR01 Transfer of patent right