CN108566638B - A kind of method and mobile terminal of more new configuration file - Google Patents

A kind of method and mobile terminal of more new configuration file Download PDF

Info

Publication number
CN108566638B
CN108566638B CN201711350890.9A CN201711350890A CN108566638B CN 108566638 B CN108566638 B CN 108566638B CN 201711350890 A CN201711350890 A CN 201711350890A CN 108566638 B CN108566638 B CN 108566638B
Authority
CN
China
Prior art keywords
configuration file
geographical location
mobile terminal
operator
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
CN201711350890.9A
Other languages
Chinese (zh)
Other versions
CN108566638A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201711350890.9A priority Critical patent/CN108566638B/en
Publication of CN108566638A publication Critical patent/CN108566638A/en
Application granted granted Critical
Publication of CN108566638B publication Critical patent/CN108566638B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • H04W8/24Transfer of terminal data
    • H04W8/245Transfer of terminal data from a network towards a terminal

Abstract

The present invention provides the methods and mobile terminal of a kind of more new configuration file, which comprises receives the first configuration file download link that server is sent;Wherein, the corresponding operator identifier of the first configuration file and geographical location are carried in the download link;It logs in the download link and downloads the first configuration file;First configuration file is added in corresponding second configuration file in the geographical location in targeted carrier's software configuration file, to update second configuration file.So that the area for updating or changing occurs in configuration file for user, new configuration file is automatically updated, so that user can enjoy unobstructed network in any one location, promotes the usage experience of user.

Description

A kind of method and mobile terminal of more new configuration file
Technical field
The present invention relates to fields of communication technology, more particularly to the method and mobile terminal of a kind of more new configuration file.
Background technique
With the continuous development of mobile terminal technology, the mobile terminals such as mobile phone using more more and more universal, China at present Mobile terminal all supports that the whole network is logical, can cover most communication patterns and basic frequency range substantially.The logical mobile terminal of the whole network Design be to identify local networks information in order to realize that global most of carrier network parameter automatically configures, enjoy unimpeded Without hindrance local networks.
However, since the setting of different zones network also has a different configurations, terminal is either from hardware or software Quotient, all in the presence of local networks cannot be compatible with, so that the problem of web experience difference.Such as: due to an operator in mobile terminal A MBN (modem software configuration binary, operator's software configuration) file can only be configured, when certain When the network of a certain area A adjusts or configures special, certain configuration files then need in the area A in operator MBN for operator Adjust, if without be adaptively adjusted user the area A using network can not normal use, web experience is poor.
Summary of the invention
The embodiment of the present invention provides the method and mobile terminal of a kind of more new configuration file, to solve to exist in the prior art Configuration file the problem of cannot timely updating.
In order to solve the above-mentioned technical problem, the present invention is implemented as follows: a kind of method of more new configuration file, comprising: Receive the first configuration file download link that server is sent;Wherein, the first configuration file pair is carried in the download link The operator identifier answered and geographical location;It logs in the download link and downloads the first configuration file;By the first configuration text Part is added in corresponding second configuration file in the geographical location in targeted carrier's software configuration file, described in updating Second configuration file, wherein the corresponding operator identifier of targeted carrier's software configuration file and the first configuration text The corresponding operator identifier of part is consistent.
In a first aspect, the embodiment of the invention also provides a kind of mobile terminal, the mobile terminal includes:
Receiving module, for receiving the first configuration file download link of server transmission;Wherein, in the download link Carry the corresponding operator identifier of the first configuration file and geographical location;Download module, for logging in the download link Download the first configuration file;Adding module, for first configuration file to be added to targeted carrier's software configuration file In corresponding second configuration file in the geographical location in, to update second configuration file;Wherein, the target operation The corresponding operator identifier of quotient's software configuration file operator identifier corresponding with first configuration file is consistent.
Second aspect the embodiment of the invention provides a kind of mobile terminal, including processor, memory and is stored in described It is real when the computer program is executed by the processor on memory and the computer program that can run on the processor The step of method of the existing more new configuration file.
The third aspect, the embodiment of the invention provides a kind of computer readable storage medium, the computer-readable storage Computer program is stored on medium, and the side of more new configuration file as mentioned is realized when the computer program is executed by processor The step of method.
In embodiments of the present invention, when finding in corresponding geographical location there are when the first configuration file, mobile terminal according to According to the corresponding link of the first configuration file, the first configuration file of downloading is added to identical operator and geographical location is corresponding The second configuration file in, to be updated to the second configuration file so that user configuration file occur update or variation Area, automatically update new configuration file, so that user can enjoy unobstructed network in any one location, promote making for user With experience.Such as: when user reaches the area B from the area A, the corresponding network in the area B is adjusted, in order to enable user is in B Area's lower network can be used normally, then downloads the corresponding configuration file in the area B.
Detailed description of the invention
Fig. 1 be a kind of method of more new configuration file of the embodiment of the present invention one step flow chart '
Fig. 2 is a kind of step flow chart of the method for more new configuration file of the embodiment of the present invention two;
Fig. 3 is a kind of structural block diagram of mobile terminal of the embodiment of the present invention three;
Fig. 4 is a kind of structural block diagram of mobile terminal of the embodiment of the present invention four;
Fig. 5 is a kind of hardware structural diagram of mobile terminal of the embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
Embodiment one
Referring to Fig.1, a kind of step flow chart of the method for more new configuration file of the embodiment of the present invention one is shown.
The method of more new configuration file provided in an embodiment of the present invention the following steps are included:
Step 101: receiving the first configuration file download link that server is sent.
Wherein, the corresponding operator identifier of the first configuration file and geographical location are carried in download link.
When the network in the corresponding geographical location of the first configuration file occurs to update, adjust, server is sent out to mobile terminal The first configuration file download link is sent, mobile terminal can download the first configuration file updated according to download link.
Step 102: logging in download link and download the first configuration file.
When detecting that mobile terminal is in data connection state, logs in download link and download the first configuration file.Its In, a kind of opportunity of the first configuration file of preferred downloading, which is that mobile terminal is in, goes out screen state and is in wireless network connection The first configuration file to be downloaded when state, downloads the first configuration file under the state, speed of download is fast, without not expending flow, and The power consumption of mobile terminal can be reduced.
Step 103: the geographical location that the first configuration file is added in targeted carrier's software configuration file is corresponding In second configuration file, to update the second configuration file.
Wherein, the corresponding operator identifier of targeted carrier's software configuration file operator corresponding with the first configuration file Mark is consistent.
Since the first configuration file is corresponding with geographical location and operator, such as: when the first configuration file pair of downloading The operator answered is movement, when geographical location is the area A, then by the area A under the first configuration file add value mobile operator In corresponding second configuration file, wherein there may be the other configurations files under the area A, second to match in the second configuration file New text may also then be established when configuration file is not present under the area A there is no the corresponding configuration file in the area A by setting file Part folder, is added under the first configuration file to new folder.
In embodiments of the present invention, when finding in corresponding geographical location there are when the first configuration file, mobile terminal according to According to the corresponding link of the first configuration file, the first configuration file of downloading is added to identical operator and geographical location is corresponding The second configuration file in, to be updated to the second configuration file so that user configuration file occur update or variation Area, automatically update new configuration file, so that user enjoys unobstructed network in any one location, promote user uses body It tests.Such as: when user reaches the area B from the area A, the corresponding network in the area B is adjusted, in order to enable user is under the area B Network can be used normally, then downloads the corresponding configuration file in the area B.
Embodiment two
Referring to Fig. 2, a kind of step flow chart of the method for more new configuration file of the embodiment of the present invention two is shown.
The method of more new configuration file provided in an embodiment of the present invention the following steps are included:
Step 201: detecting the geographical location of mobile terminal, geographical location is sent to server.
Server receives the geographical location that mobile terminal is sent;Judgement updates in the profile list, if exists and ground Manage the first configuration file of location matches;If it exists, it determines the download link of the first configuration file, and download link is sent to Mobile terminal.
Step 202: receiving the download link for the first configuration file that the foundation geographical location that server is sent determines.
Wherein, the corresponding operator identifier of the first configuration file and geographical location are carried in download link.
It should be noted that mobile terminal sends geographical location to server in real time, when discovery, which exists, to be updated, then to shifting Dynamic terminal sends download link, no matter so that user take office where area, smooth network can be enjoyed, promote the use of user Experience.
Step 203: obtaining the first version number of the first configuration file carried in download link.
It should be noted that the purpose that the first version that the first configuration file is carried in download link is good, it can be according to Relationship between the corresponding version number of the configuration file prestored in one version number and mobile terminal determines the need for completing pair The update of configuration file.
Step 204: whether there is the second configuration file corresponding with download link in detection mobile terminal;If so, holding Row step 205, if it is not, thening follow the steps 207.
In the step, when mobile terminal has configuration file corresponding with download link, then subsequent step is needed to be implemented If rapid 205 illustrate the geography position be not present in mobile terminal with downloading connection corresponding second configuration file to step 206 Network under setting may redeploy, and need to download the first configuration file under the geographical location, directly retain storage downloading Link, to facilitate the downloading to the first configuration file.
Step 205: if so, judging whether first version number is higher than the corresponding second edition number of the second configuration file.
If there is the second configuration file corresponding with download link in mobile terminal, show to have in the second configuration file a Other configuration file updates, then judges whether the version number of the first configuration file is higher than the version number of the second configuration file, if First version number is below or equal to the second edition number, then deletes download link, show that mobile terminal is locally stored second matches It sets file not needing to update, download link is deleted, reduce the occupancy of memory space.
Step 206: if first version number is higher than the second edition number, retaining download link.
If first version number is higher than the second edition number, retain download link, with for subsequent to the first configuration file It obtains, i.e. the update to the second configuration file.
Step 207: if the second configuration file corresponding with download link is not present in mobile terminal, retaining downloading chain It connects.
If corresponding second configuration file is not present in mobile terminal, download link is stored to corresponding position, with Facilitate the subsequent acquisition to the first configuration file.
Step 208: logging in download link and download the first configuration file.
When detecting that mobile terminal is in data connection state, logs in download link and downloads the first configuration file, A kind of middle preferred data connection state is, mobile terminal is in the screen state and when in wireless network connection state of going out, downloading First configuration file is downloaded the first configuration file under the state, is subtracted while can increasing the speed of downloading, and not expend flow The power consumption of small mobile terminal.
Step 209: the geographical location that the first configuration file is added in targeted carrier's software configuration file is corresponding In second configuration file, to update the second configuration file.
Wherein, the corresponding operator identifier of targeted carrier's software configuration file operator corresponding with the first configuration file Mark is consistent.
Since the first configuration file is corresponding with geographical location and operator, such as: when the first configuration file pair of downloading The operator answered is movement, when geographical location is the area A, then by the area A under the first configuration file add value mobile operator In corresponding second configuration file, wherein there may be the other configurations files under the area A, second to match in the second configuration file New text may also then be established when configuration file is not present under the area A there is no the corresponding configuration file in the area A by setting file Part folder, is added under the first configuration file to new folder.
Step 210: determining the first operator identifier and the first geographical location of the current operator that Communications service is provided.
After being updated to configuration file, in each mobile terminal-opening or SIM card plug/replacement, that is, need again When obtaining network signal, then it needs to be determined that currently providing the first operator identifier and current first of the operator of Communications service Geographical location information, to facilitate determination is subsequent whether to need to load other configurations file basis.
Step 211: searching and loaded with the first from the corresponding operator's software configuration file of the first operator identifier Manage the corresponding third configuration file in position.
Such as determining that the current operator for providing Communications service is movement, current first geographical location is the area A.From second Third configuration file is obtained in configuration file, includes the first configuration file in third configuration file, and third configuration file pair The operator answered is movement, and corresponding geographical location is the area A.
Third configuration file is loaded, so that user is under the area A, network be can be used normally.
Step 212: setting reference geographical location for the first geographical location, set reference configuration for third configuration file File.
The first geographical location of label is reference geographical location, using third configuration file as reference configuration file, i.e., instantly When secondary terminal is switched on, the configuration file of load is third configuration file.
When terminal is switched on again or when SIM card plug/switching, needs to load reference configuration file, what is loaded at this time matches Setting file is third configuration file.
When the following are being switched on again with mobile terminal, load third configuration file the case where be illustrated.
If detecting mobile terminal-opening, the second geographical location when mobile terminal-opening is determined.
When mobile terminal-opening, reference configuration file is loaded, determines current second geographical location, such as: it determines current Second geographical location is the area B.
Judge whether the first geographical location is consistent with the second geographical location.
Determine corresponding first geographical location of reference configuration file, such as: the first geographical location is the area A, then with judging A Whether area is consistent with the area B.
If inconsistent, searched in the corresponding operator's software configuration file of the first operator identifier and the second geographical position It sets corresponding 4th configuration file and loads.
Such as: when the first geographical location is the area A, the second geographical location is the area B, then the first geographical location is with the second It is inconsistent to manage position, then is lookup the 4th configuration file corresponding with the area B in mobile corresponding MBN file from operator, and Load the 4th configuration file.
Reference geographical location is revised as the second geographical location, sets reference configuration file for the 4th configuration file.
Since the configuration file currently loaded is the 4th configuration file, then reference geographical location is revised as the second geographical position It sets, the 4th configuration file is revised as reference configuration file, when mobile terminal-opening next time, the configuration file of load is the Four configuration files.
By the modification to reference configuration file, facilitate subsequent when the corresponding geographical location of reference configuration file and mobile whole When holding the geographical location obtained in real time inconsistent, corresponding configuration file is searched according to the geographical location obtained, does not influence network Operation.
When the following are being switched with SIM card, load third configuration file the case where be illustrated.
If detecting, mobile terminal SIM switches, and determines and provides the second of the second operator of Communications service after SIM card switches Operator identifier and third geographical location;Determine corresponding first operator identifier of third configuration file;Judge the first operation Whether quotient matches with the second operator;If mismatching, from the corresponding operator's software configuration file of the second operator, search Configuration file corresponding with third geographical location simultaneously loads.
It should be noted that for example: when operator from mobile handoff be connection when, first load third configuration file, that is, join Configuration file is examined, determines the corresponding operator of third configuration file, when the corresponding operator of third configuration file is mobile, then The corresponding configuration file in third geographical location is searched from the corresponding operator's software of connection.Third geographical location is sent to clothes Business device, server judges that the geographical location whether there is more new configuration file under connection, if so, according to the embodiment of the present invention two In step execute, if it is not, being then loaded directly into configuration file corresponding with third geographical location.
In embodiments of the present invention, when finding in corresponding geographical location there are when the first configuration file, mobile terminal according to According to the corresponding link of the first configuration file, the first configuration file of downloading is added to identical operator and geographical location is corresponding The second configuration file in, to be updated to the second configuration file so that user configuration file occur update or variation Area, automatically update new configuration file, so that user can enjoy unobstructed network in any one location, promote making for user With experience.Such as: when user reaches the area B from the area A, the corresponding network in the area B is adjusted, in order to enable user is in B Area's lower network can be used normally, then downloads the corresponding configuration file in the area B, in addition, by automatically updating configuration file, it is mobile Manufacturer terminal saves the exploitation maintenance cost of multiple MBN.
Embodiment three
Referring to Fig. 3, a kind of structural block diagram of mobile terminal of the embodiment of the present invention three is shown.
Mobile terminal provided in an embodiment of the present invention includes: receiving module 301, and first for receiving server transmission is matched Set file download link;Wherein, the corresponding operator identifier of the first configuration file and geography are carried in the download link Position;Download module 302 downloads the first configuration file for logging in the download link;Adding module 303, being used for will be described First configuration file is added in corresponding second configuration file in the geographical location in targeted carrier's software configuration file, To update second configuration file;Wherein, the corresponding operator identifier of targeted carrier's software configuration file with it is described The corresponding operator identifier of first configuration file is consistent.
In embodiments of the present invention, when finding in corresponding geographical location there are when the first configuration file, mobile terminal according to According to the corresponding link of the first configuration file, the first configuration file of downloading is added to identical operator and geographical location is corresponding The second configuration file in, to be updated to the second configuration file so that user configuration file occur update or variation Area, automatically update new configuration file, so that user can enjoy unobstructed network in any one location, promote making for user With experience.Such as: when user reaches the area B from the area A, the corresponding network in the area B is adjusted, in order to enable user is in B Area's lower network can be used normally, then downloads the corresponding configuration file in the area B.
Example IV
Referring to Fig. 4, a kind of structural block diagram of mobile terminal of the embodiment of the present invention four is shown.
Mobile terminal provided in an embodiment of the present invention includes: receiving module 401, and first for receiving server transmission is matched Set file download link;Wherein, the corresponding operator identifier of the first configuration file and geography are carried in the download link Position;Download module 402 downloads the first configuration file for logging in the download link;Adding module 403, being used for will be described First configuration file is added in corresponding second configuration file in the geographical location in targeted carrier's software configuration file, To update second configuration file;Wherein, the corresponding operator identifier of targeted carrier's software configuration file with it is described The corresponding operator identifier of first configuration file is consistent.
Preferably, the mobile terminal further include: the first determining module 404, being used for will be described in the adding module 403 First configuration file is added in corresponding second configuration file in the geographical location in targeted carrier's software configuration file, After updating second configuration file, the first operator identifier and first of the current operator that Communications service is provided is determined Geographical location;First searches loading module 405, with from the corresponding operator's software configuration file of first operator identifier It searches and loads third configuration file corresponding with first geographical location;Setup module 406, for geographical by described first Position is set as reference geographical location, sets reference configuration file for the third configuration file.
Preferably, the mobile terminal further include: the second determining module 407, being used for will be described in the setup module 406 First geographical location is set as reference geographical location, after setting reference configuration file for the third configuration file, if inspection Mobile terminal-opening is measured, the second geographical location when determining mobile terminal-opening;First judgment module 408, it is described for judging Whether the first geographical location and second geographical location are consistent;Second searches loading module 409, if being used for the judgment module Judging result be it is inconsistent, then in the corresponding operator's software configuration file of first operator identifier search with it is described Corresponding 4th configuration file in second geographical location simultaneously loads;Modified module 410, for the reference geographical location to be revised as The 4th configuration file is set reference configuration file by second geographical location.
Preferably, the mobile terminal further include: third determining module 411, being used for will be described in the setup module 406 First geographical location is set as reference geographical location, after setting reference configuration file for the third configuration file, if It detects that mobile terminal SIM switches, determines and the second operator identifier of the second operator of Communications service is provided after SIM card switches And third geographical location;4th determining module 412, for determining the corresponding first operation trade mark of the third configuration file Know;Second judgment module 413, for judging whether first operator matches with second operator;Third, which is searched, to be added Module 414 is carried, if the judging result for second judgment module is to mismatch, from corresponding operator, the second operator In software configuration file, searches configuration file corresponding with the third geographical location and load.
Preferably, the receiving module 401 includes: detection sub-module 4011, for detecting the geographical location of mobile terminal, The geographical location is sent to server;Receiving submodule 4012, for receiving that the server sends according to describedly Manage the download link for first configuration file that position determines.
Preferably, the corresponding first version number of first configuration file, the shifting are also carried in the download link Dynamic terminal further include: version obtains module 415, for receiving the first configuration text that server is sent in the receiving module 401 After part download link, the first version number of the first configuration file carried in the download link is obtained;Detection module 416, For detecting in mobile terminal with the presence or absence of the second configuration file corresponding with the download link;Third judgment module 417 is used If be in the testing result of the detection module it is yes, it is corresponding to judge whether the first version number is higher than second configuration file The second edition number;First reservation module 418 retains institute if being higher than the second edition number for the first version number State download link.
Preferably, the mobile terminal further include: the second reservation module 4019, for being detected in the detection module 416 After whether there is the second configuration file corresponding with the download link in mobile terminal, if the detection knot of the detection module Fruit be it is no, then retain the download link.
Mobile terminal provided in an embodiment of the present invention can be realized mobile terminal in the embodiment of the method for Fig. 1 to Fig. 2 and realize Each process, to avoid repeating, which is not described herein again.
In embodiments of the present invention, when finding in corresponding geographical location there are when the first configuration file, mobile terminal according to According to the corresponding link of the first configuration file, the first configuration file of downloading is added to identical operator and geographical location is corresponding The second configuration file in, to be updated to the second configuration file so that user configuration file occur update or variation Area, automatically update new configuration file, so that user can enjoy unobstructed network in any one location, promote making for user With experience.Such as: when user reaches the area B from the area A, the corresponding network in the area B is adjusted, in order to enable user is in B Area's lower network can be used normally, then downloads the corresponding configuration file in the area B, in addition, by automatically updating configuration file, it is mobile Manufacturer terminal saves the exploitation maintenance cost of multiple MBN.
Embodiment five
A kind of hardware structural diagram of Fig. 5 mobile terminal of each embodiment to realize the present invention.
The mobile terminal 500 includes but is not limited to: radio frequency unit 501, network module 502, audio output unit 503, defeated Enter unit 504, sensor 505, display unit 506, user input unit 507, interface unit 508, memory 509, processor The components such as 510 and power supply 511.It will be understood by those skilled in the art that mobile terminal structure shown in Fig. 5 is not constituted Restriction to mobile terminal, mobile terminal may include than illustrating more or fewer components, perhaps combine certain components or Different component layouts.In embodiments of the present invention, mobile terminal include but is not limited to mobile phone, tablet computer, laptop, Palm PC, car-mounted terminal, wearable device and pedometer etc..
Wherein, radio frequency unit 501, for receiving the first configuration file download link of server transmission;
Processor 510 downloads the first configuration file for logging in the download link;First configuration file is added In corresponding second configuration file in the geographical location into targeted carrier's software configuration file, matched with updating described second Set file;Wherein, the corresponding operator identifier of targeted carrier's software configuration file is corresponding with first configuration file Operator identifier it is consistent.
In embodiments of the present invention, when finding in corresponding geographical location there are when the first configuration file, mobile terminal according to According to the corresponding link of the first configuration file, the first configuration file of downloading is added to identical operator and geographical location is corresponding The second configuration file in, to be updated to the second configuration file so that user configuration file occur update or variation Area, automatically update new configuration file, so that user enjoys unobstructed network in any one location, promote user uses body It tests.Such as: when user reaches the area B from the area A, the corresponding network in the area B is adjusted, in order to enable user is under the area B Network can be used normally, then downloads the corresponding configuration file in the area B.It should be understood that in the embodiment of the present invention, radio frequency unit 501 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, the downlink data from base station is connect After receipts, handled to processor 510;In addition, the data of uplink are sent to base station.In general, radio frequency unit 501 includes but is not limited to Antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, radio frequency unit 501 is also It system can be communicated by wireless communication with network and other equipment.
Mobile terminal provides wireless broadband internet by network module 502 for user and accesses, and such as user is helped to receive It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 503 can be received by radio frequency unit 501 or network module 502 or in memory 509 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 503 can also be provided and be moved The relevant audio output of specific function that dynamic terminal 500 executes is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 503 includes loudspeaker, buzzer and receiver etc..
Input unit 504 is for receiving audio or video signal.Input unit 504 may include graphics processor (Graphics Processing Unit, GPU) 5041 and microphone 5042, graphics processor 5041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 506.Through graphics processor 5041, treated that picture frame can be deposited Storage is sent in memory 509 (or other storage mediums) or via radio frequency unit 501 or network module 502.Mike Wind 5042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be The format output that mobile communication base station can be sent to via radio frequency unit 501 is converted in the case where telephone calling model.
Mobile terminal 500 further includes at least one sensor 505, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 5061, and proximity sensor can close when mobile terminal 500 is moved in one's ear Display panel 5061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify mobile terminal posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes Sensor 505 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 506 is for showing information input by user or being supplied to the information of user.Display unit 506 can wrap Display panel 5061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 5061.
User input unit 507 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family setting and the related key signals input of function control.Specifically, user input unit 507 include touch panel 5071 and Other input equipments 5072.Touch panel 5071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 5071 or in touch panel 5071 Neighbouring operation).Touch panel 5071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch controller;Touch control Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 510, receiving area It manages the order that device 510 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Seed type realizes touch panel 5071.In addition to touch panel 5071, user input unit 507 can also include other input equipments 5072.Specifically, other input equipments 5072 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 5071 can be covered on display panel 5061, when touch panel 5071 is detected at it On or near touch operation after, send processor 510 to determine the type of touch event, be followed by subsequent processing device 510 according to touching The type for touching event provides corresponding visual output on display panel 5061.Although in Fig. 5, touch panel 5071 and display Panel 5061 is the function that outputs and inputs of realizing mobile terminal as two independent components, but in some embodiments In, can be integrated by touch panel 5071 and display panel 5061 and realize the function that outputs and inputs of mobile terminal, it is specific this Place is without limitation.
Interface unit 508 is the interface that external device (ED) is connect with mobile terminal 500.For example, external device (ED) may include having Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 508 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and By one or more elements that the input received is transferred in mobile terminal 500 or can be used in 500 He of mobile terminal Data are transmitted between external device (ED).
Memory 509 can be used for storing software program and various data.Memory 509 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 509 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 510 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 509, and calls and is stored in storage Data in device 509 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Managing device 510 may include one or more processing units;Preferably, processor 510 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 510.
Mobile terminal 500 can also include the power supply 511 (such as battery) powered to all parts, it is preferred that power supply 511 Can be logically contiguous by power-supply management system and processor 510, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
In addition, mobile terminal 500 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 510, and memory 509 is stored in On memory 509 and the computer program that can run on the processor 510, the computer program are executed by processor 510 Each process of the above-mentioned more new configuration file embodiment of the method for Shi Shixian, and identical technical effect can be reached, to avoid repeating, Which is not described herein again.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, the computer program realize each process of above-mentioned more new configuration file embodiment of the method when being executed by processor, And identical technical effect can be reached, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, Such as read-only memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, letter Claim RAM), magnetic or disk etc..
It should be noted that, in this document, term " including ", " including " or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence " including one ... ", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form belongs within protection of the invention.

Claims (16)

1. a kind of method of more new configuration file, which is characterized in that the described method includes:
Receive the first configuration file download link that server is sent;Wherein, the first configuration text is carried in the download link The corresponding operator identifier of part and geographical location;
It logs in the download link and downloads the first configuration file;
First configuration file is added to the geographical location corresponding second in targeted carrier's software configuration file In configuration file, to update second configuration file;Wherein, the corresponding operator of targeted carrier's software configuration file It is consistent to identify operator identifier corresponding with first configuration file.
2. the method according to claim 1, wherein first configuration file is added to target fortune described It seeks in corresponding second configuration file in the geographical location in quotient's software configuration file, to update second configuration file After step, the method also includes:
Determine the first operator identifier and the first geographical location of the current operator that Communications service is provided;
It searches and loads and the described first geographical position from the corresponding operator's software configuration file of first operator identifier Set corresponding third configuration file;
Reference geographical location is set by first geographical location, sets reference configuration text for the third configuration file Part.
3. according to the method described in claim 2, it is characterized in that, being set as by first geographical location with reference to geographical position After the step of setting, setting reference configuration file for the third configuration file, the method also includes:
If detecting mobile terminal-opening, the second geographical location when mobile terminal-opening is determined;
Judge whether first geographical location and second geographical location are consistent;
If inconsistent, searched and second ground in the corresponding operator's software configuration file of first operator identifier Corresponding 4th configuration file in reason position simultaneously loads;
The reference geographical location is revised as second geographical location, sets reference configuration for the 4th configuration file File.
4. according to the method described in claim 2, it is characterized in that, being set as by first geographical location with reference to geographical position After the step of setting, setting reference configuration file for the third configuration file, the method also includes:
If detecting, mobile terminal SIM card switches, and determines the second fortune of the second operator that Communications service is provided after SIM card switches Seek trade mark knowledge and third geographical location;
Determine corresponding first operator identifier of the third configuration file;
Judge whether first operator matches with second operator;
If mismatching, from the corresponding operator's software configuration file of the second operator, search and the third geographical location Corresponding configuration file simultaneously loads.
5. the method according to claim 1, wherein the first configuration file downloading for receiving server and sending The step of link, comprising:
The geographical location for detecting mobile terminal, is sent to server for the geographical location;
Receive the download link for first configuration file determined according to the geographical location that the server is sent.
6. the method according to claim 1, wherein also carrying the first configuration text in the download link The corresponding first version number of part, it is described reception server send the first configuration file download link the step of after, it is described Method further include:
Obtain the first version number of the first configuration file carried in the download link;
It detects and whether there is the second configuration file corresponding with the download link in mobile terminal;
If so, judging whether the first version number is higher than the corresponding second edition number of second configuration file;
If the first version number is higher than the second edition number, retain the download link.
7. according to the method described in claim 6, it is characterized in that, in the detection mobile terminal with the presence or absence of with it is described under After carrying the step of linking corresponding second configuration file, the method also includes:
If the second configuration file corresponding with the download link is not present in the mobile terminal, retain the downloading chain It connects.
8. a kind of mobile terminal, which is characterized in that the mobile terminal includes:
Receiving module, for receiving the first configuration file download link of server transmission;Wherein, it is carried in the download link There are the corresponding operator identifier of the first configuration file and geographical location;
Download module downloads the first configuration file for logging in the download link;
Adding module, for first configuration file to be added to the geographical position in targeted carrier's software configuration file It sets in corresponding second configuration file, to update second configuration file;Wherein, targeted carrier's software configuration file Corresponding operator identifier operator identifier corresponding with first configuration file is consistent.
9. mobile terminal according to claim 8, which is characterized in that the mobile terminal further include:
First determining module, for first configuration file to be added to targeted carrier's software configuration in the adding module In corresponding second configuration file in the geographical location in file, after updating second configuration file, determine current The first operator identifier and the first geographical location of the operator of Communications service are provided;
First searches loading module, with the lookup from first operator identifier corresponding operator's software configuration file and adds Carry third configuration file corresponding with first geographical location;
The third configuration file is arranged for setting reference geographical location for first geographical location for setup module For reference configuration file.
10. mobile terminal according to claim 9, which is characterized in that the mobile terminal further include:
Second determining module, for setting reference geographical location for first geographical location in the setup module, by institute It states third configuration file to be set as after reference configuration file, if detecting mobile terminal-opening, when determining mobile terminal-opening The second geographical location;
First judgment module, for judging whether first geographical location and second geographical location are consistent;
Second search loading module, if for the judgment module judging result be it is inconsistent, in first operator It identifies and searches the 4th configuration file corresponding with second geographical location in corresponding operator's software configuration file and load;
Modified module, for the reference geographical location to be revised as second geographical location, by the 4th configuration file It is set as reference configuration file.
11. mobile terminal according to claim 9, which is characterized in that the mobile terminal further include:
Third determining module will for setting reference geographical location for first geographical location in the setup module The third configuration file is set as after reference configuration file, if detecting, mobile terminal SIM switches, and determines that SIM card switches The second operator identifier and the third geographical location of second operator of Communications service are provided afterwards;
4th determining module, for determining corresponding first operator identifier of the third configuration file;
Second judgment module, for judging whether first operator matches with second operator;
Third searches loading module, if the judging result for second judgment module is to mismatch, from the second operator In corresponding operator's software configuration file, searches configuration file corresponding with the third geographical location and load.
12. mobile terminal according to claim 8, which is characterized in that the receiving module includes:
The geographical location is sent to server for detecting the geographical location of mobile terminal by detection sub-module;
Receiving submodule, first configuration file determined according to the geographical location sent for receiving the server Download link.
13. mobile terminal according to claim 8, which is characterized in that also carry described first in the download link The corresponding first version number of configuration file, the mobile terminal further include:
Version obtain module, for the receiving module receive server send the first configuration file download link after, Obtain the first version number of the first configuration file carried in the download link;
Detection module, for detecting in mobile terminal with the presence or absence of the second configuration file corresponding with the download link;
Third judgment module, if the testing result for the detection module be it is yes, judge whether the first version number is higher than The corresponding second edition number of second configuration file;
First reservation module retains the download link if being greater than the second edition number for the first version number.
14. mobile terminal according to claim 13, which is characterized in that the mobile terminal further include:
Second reservation module, it is corresponding with the download link for whether there is in detection module detection mobile terminal After second configuration file, if the testing result of the detection module be it is no, retain the download link.
15. a kind of mobile terminal, which is characterized in that including processor, memory and be stored on the memory and can be in institute The computer program run on processor is stated, such as claim 1 to 7 is realized when the computer program is executed by the processor Any one of described in more new configuration file method the step of.
16. a kind of computer readable storage medium, which is characterized in that store computer journey on the computer readable storage medium Sequence, the more new configuration file as described in any one of claims 1 to 7 is realized when the computer program is executed by processor The step of method.
CN201711350890.9A 2017-12-15 2017-12-15 A kind of method and mobile terminal of more new configuration file Active CN108566638B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711350890.9A CN108566638B (en) 2017-12-15 2017-12-15 A kind of method and mobile terminal of more new configuration file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711350890.9A CN108566638B (en) 2017-12-15 2017-12-15 A kind of method and mobile terminal of more new configuration file

Publications (2)

Publication Number Publication Date
CN108566638A CN108566638A (en) 2018-09-21
CN108566638B true CN108566638B (en) 2019-08-20

Family

ID=63529392

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711350890.9A Active CN108566638B (en) 2017-12-15 2017-12-15 A kind of method and mobile terminal of more new configuration file

Country Status (1)

Country Link
CN (1) CN108566638B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109688576B (en) * 2018-11-13 2022-05-27 东信和平科技股份有限公司 Method and system for intelligently downloading Profile
CN109587252A (en) * 2018-12-10 2019-04-05 上海闻泰电子科技有限公司 Loading method, device, electronic equipment and the storage medium of operator parameter
CN115002747B (en) * 2022-08-02 2022-12-23 荣耀终端有限公司 Parameter updating method, system, terminal equipment and chip system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104955023A (en) * 2015-06-26 2015-09-30 努比亚技术有限公司 Mobile terminal and method for updating network parameters
CN107318099A (en) * 2017-05-02 2017-11-03 深圳市万普拉斯科技有限公司 Modem configuration files processing method, device and mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102630081B (en) * 2012-03-22 2015-03-11 华为终端有限公司 Operator configuration information loading method and terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104955023A (en) * 2015-06-26 2015-09-30 努比亚技术有限公司 Mobile terminal and method for updating network parameters
CN107318099A (en) * 2017-05-02 2017-11-03 深圳市万普拉斯科技有限公司 Modem configuration files processing method, device and mobile terminal

Also Published As

Publication number Publication date
CN108566638A (en) 2018-09-21

Similar Documents

Publication Publication Date Title
CN109921943A (en) One kind matching network method and terminal
CN110198545A (en) A kind of secondary cell group adding method, terminal device and host node
CN107770768A (en) A kind of data network restoration methods, mobile terminal
CN106879055B (en) Wireless network scanning control method and related equipment
CN108566304A (en) Interface control method, electronic equipment and computer readable storage medium
CN108566638B (en) A kind of method and mobile terminal of more new configuration file
CN109996305A (en) A kind of communication means, mobile terminal and base station
CN108768775A (en) Information processing method, electronic equipment and computer storage media
CN109862504A (en) A kind of display methods and terminal device
CN108595201A (en) A kind of application program update method and mobile terminal
CN108541015A (en) A kind of signal strength reminding method and mobile terminal
CN110022553A (en) A kind of subscriber identification card management method and mobile terminal
CN107959952A (en) A kind of detection method and terminal of different system cell
CN110198553A (en) A kind of secondary cell group delet method, terminal device and network node
CN108495349A (en) A kind of switching method and mobile terminal of carrier network
CN109195191A (en) A kind of cell reselection control method and terminal
CN109144537A (en) The method, apparatus that mobile terminal and wearable device upgrade automatically
CN109101327A (en) A kind of switching of light application and mobile terminal
CN108021379A (en) A kind of upgrade method of application program, mobile terminal and server
CN107864474A (en) A kind of MBN update methods and mobile terminal
CN109284146A (en) A kind of light application open method and mobile terminal
CN109445660A (en) A kind of wearable device control method, mobile terminal and wearable device
CN109743469A (en) A kind of communication means and mobile terminal based on VOLTE
CN106506623B (en) A kind of data transmission method and equipment
CN108199926A (en) A kind of building method, relevant device and the system of mobile terminal virtual system

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