CN109068311A - A kind of display methods, terminal and storage medium - Google Patents
A kind of display methods, terminal and storage medium Download PDFInfo
- Publication number
- CN109068311A CN109068311A CN201810859046.7A CN201810859046A CN109068311A CN 109068311 A CN109068311 A CN 109068311A CN 201810859046 A CN201810859046 A CN 201810859046A CN 109068311 A CN109068311 A CN 109068311A
- Authority
- CN
- China
- Prior art keywords
- spn
- network
- test
- terminal
- mapping table
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/02—Processing of mobility data, e.g. registration information at HLR [Home Location Register] or VLR [Visitor Location Register]; Transfer of mobility data, e.g. between HLR, VLR or external networks
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephonic Communication Services (AREA)
Abstract
The embodiment of the present application discloses a kind of display methods, terminal and storage medium, applied to terminal, terminal is communicatively coupled with server is updated, this method may include: to store test SPN and network identity mapping table in SPN file from reception service provider names SPN file in server is updated;When detecting to be registered to first network, from test SPN first SPN corresponding with first network mark is searched in network identity mapping table, first network is identified as the corresponding network identity of first network;First SPN is shown in the status bar of current display interface.
Description
Technical field
This application involves the communications field more particularly to a kind of display methods, terminal and storage medium.
Background technique
Operator name (SPN, Service Provide Name) be exactly current distribution subscriber identification card (SIM,
Subscriber Identification Module) operator title, SPN need to meet global system for mobile communications alliance
(GSMA, Global System for Mobile Communications Alliance) agreement provides name, when terminal is unrestrained
When swimming over to other countries and being registered to public land mobile network (PLMN, Public Land Mobile Network), due to
The network operator stored in the SPN.xml file of terminal maintenance is limited, will lead to SPN and does not meet GSMA agreement regulation, at this point,
The display mistake of SPN, maintenance personnel need to modify SPN.xml file according to operator's name as defined in GSMA agreement, modify
Compiled version after the completion, and over the air (OTA, Over-the-Air Technology) software upgrading is carried out, at end
The status bar at end correctly shows SPN, in this way, will lead to, the step of terminal shows correct SPN is cumbersome, and time-consuming.
Summary of the invention
The embodiment of the present application provides a kind of display methods, terminal and storage medium, can simplify terminal and show correct SPN
The step of, shorten the time-consuming that terminal shows correct SPN.
The technical solution of the application is achieved in that
The embodiment of the present application provides a kind of display methods, is applied to terminal, which is characterized in that the terminal and more new demand servicing
Device is attached, which comprises
Service provider names SPN file is received from the update server, stores test in the SPN file
SPN and network identity mapping table;
When detecting to be registered to first network, first is searched from the test SPN and network identity mapping table
Corresponding first SPN of network identity, the first network are identified as the corresponding network identity of the first network;
First SPN is shown in the status bar of current display interface.
In the above-mentioned methods, described after receiving service provider names SPN file in the update server, it is described
Before searching corresponding first SPN of first network mark in the SPN list, the method also includes:
The SPN file is updated in more new database;
SPN file is parsed, at least one test SPN and network identity corresponding relationship are obtained;
At least one of described test SPN and network identity corresponding relationship are added in storage container, the test is formed
SPN and network identity mapping table.
In the above-mentioned methods, described that first network mark is searched from the test SPN and network identity mapping table
Corresponding first SPN, comprising:
Obtain the corresponding first network mark of the first network;
The storage container is called, the test SPN and network identity mapping table are parsed from the storage container;
From at least one of described test SPN and network identity corresponding relationship, search corresponding with first network mark
The first SPN.
In the above-mentioned methods, described to call the storage container, the test SPN and net are parsed from the storage container
Network identifies mapping table, comprising:
Initial SPN and network identity mapping table are searched from configuration file;
When not finding a SPN from the initial SPN and network mark mapping table, deposited described in calling
Storage container;
The test SPN and network identity mapping table are parsed from the storage container.
In the above-mentioned methods, the network identity is public land mobile network PLMN number.
The embodiment of the present application provides a kind of terminal, and the terminal is attached with server is updated, and the terminal includes: place
Manage device, receiver, display memory and communication bus, the receiver, for receiving service from the update server
Provider's title SPN file stores test SPN and network identity mapping table in the SPN file;The processor is used
In executing the operation program stored in the memory, to perform the steps of
When detecting to be registered to first network, first is searched from the test SPN and network identity mapping table
Corresponding first SPN of network identity, the first network are identified as the corresponding network identity of the first network;
The display, for showing the first SPN in the status bar of current display interface.
In above-mentioned terminal, the processor is also used to for the SPN file being updated in more new database;Parse SPN
File obtains at least one test SPN and network identity corresponding relationship;It will at least one described test SPN and network identity pair
It should be related to and be added in storage container, form the test SPN and network identity mapping table.
In above-mentioned terminal, the processor is also used to obtain the corresponding first network mark of the first network;
The storage container is called, the test SPN and network identity mapping table are parsed from the storage container;From it is described to
One item missing is tested in SPN and network identity corresponding relationship, and first SPN corresponding with first network mark is searched.
In above-mentioned terminal, the processor is also used to search the pass corresponding with network identity initial SPN from configuration file
It is table;When not finding a SPN from the initial SPN and network mark mapping table, the storage is called
Container;The test SPN and network identity mapping table are parsed from the storage container.
In above-mentioned terminal, the network identity is public land mobile network PLMN number.
The embodiment of the present application provides a kind of storage medium, is stored thereon with computer program, is applied to terminal, and feature exists
In realization such as any of the above-described display methods when the computer program is executed by processor.
The embodiment of the present application provides a kind of display methods, terminal and storage medium, is applied to terminal, the terminal and updates
Server is attached, and receives service provider names SPN file in server from updating, test SPN is stored in SPN file
With network identity mapping table;When detecting to be registered to first network, from test SPN and network identity mapping table
It searches first network and identifies corresponding first SPN, first network is identified as the corresponding network identity of first network;By the first SPN
It is shown in the status bar of current display interface.Using above method implementation, updates in server and maintain a test
Store the SPN's and network tested in SPN and network identity mapping table, test SPN and network mapping table
Corresponding relationship, when terminal detects to be registered to first network, terminal is according to from the SPN file got in update server
It searches first network and identifies corresponding first SPN, and the first SPN is shown in the status bar of current display interface, herein mistake
Cheng Zhong, terminal obtain the corresponding relationship of the SPN and network that test from updating in server, without modifying terminal profile
In SPN.xml file, the process of go forward side by side row variation version and OTA software upgrading, so that simplifying terminal shows correct SPN
The step of, shorten the time-consuming that terminal shows correct SPN.
Detailed description of the invention
Fig. 1 is a kind of flow chart one of display methods provided by the embodiments of the present application;
Fig. 2 is the interface display diagram that a kind of illustrative terminal provided by the embodiments of the present application shows SPN;
Fig. 3 is a kind of flowchart 2 of display methods provided by the embodiments of the present application;
Fig. 4 is a kind of flow chart of illustrative display methods provided by the embodiments of the present application;
Fig. 5 is a kind of structural schematic diagram of terminal 1 provided by the embodiments of the present application.
Specific embodiment
It should be appreciated that specific embodiment described herein is only used to explain the application.It is not used to limit the application.
Embodiment one
The embodiment of the present application provides a kind of display methods, as shown in Figure 1, be applied to terminal, terminal and update server into
Row connection, this method may include:
S101, service provider names SPN file is received in server from updating, store in SPN file test SPN with
Network identity mapping table.
A kind of display methods provided by the embodiments of the present application is suitable for showing on SOT state of termination column under the scene of SPN.
In the embodiment of the present application, update server is root more new system (RUS, Root Update System) server.
In the embodiment of the present application, when terminal is under data network or wireless network, establishes and connect with RUS server automatically
It connects.
In the embodiment of the present application, the different PLMN numbers of tester's test corresponding difference SPN, the PLMN that test is obtained
Number and SPN corresponding relationship form a SPN file, are stored in RUS server.
In the embodiment of the present application, SPN file format is SPN.xml file.
In the embodiment of the present application, after RUS server update SPN file, RUS file is sent to by RUS server
Side application processor (AP, Application Processor) of the side terminal AP, terminal saves SPN.xml file to update
In database, and XML file is parsed, obtains at least one test SPN and network identity corresponding relationship, at least one is tested
SPN and network identity corresponding relationship are added in storage container, to form test SPN and network identity mapping table.
In the embodiment of the present application, storage container is HashMap container.
S102, when detecting to be registered to first network, from test SPN and network identity mapping table in search first
Corresponding first SPN of network identity, first network are identified as the corresponding network identity of first network.
After terminal receives SPN file from update server, terminal will detect to be registered to first network
When, from test SPN first SPN corresponding with first network mark is searched in network identity mapping table.
In the embodiment of the present application, when terminal resides in first network, terminal searches the corresponding first network of first network
Mark.
In the embodiment of the present application, network identity is PLMN number.
In the embodiment of the present application, terminal calls HashMap container, and test SPN and net are parsed from HashMap container
Network identifies mapping table, and later, terminal is corresponding with first network mark is searched in network identity mapping table from test SPN
The first SPN.
Illustratively, it tests SPN and network identity mapping table is as shown in table 1:
Table 1PLMN and SPN mapping table
Wherein, numeric is the corresponding number of PLMN, these stored in table 1 are the SPN for China, each
Item all includes two elements, PLMN and SPN;When terminal determines that the PLMN for the network being currently resident is 46001, terminal is from table
Determine that SPN is CHINA-UNICOM in 1.
S103, the first SPN is shown in the status bar of current display interface.
When terminal finds corresponding first SPN of first network mark from test SPN and network identity mapping table
Later, the first SPN will be shown and be suffered in the status bar of current display interface by terminal.
In the embodiment of the present application, terminal shows in the status bar of current display interface according to the display format of the first SPN
One SPN.
Illustratively, as shown in Fig. 2, when determining the first SPN is " CHINA MOBILE " word string, " CHINA is searched
The display format of MOBILE " word string is " China Mobile ", at this point, showing " China in the upper left corner of the current display interface of mobile phone
It is mobile ".
A test SPN and network identity mapping table, the test are maintained it is understood that updating in server
The corresponding relationship that the SPN and network that test are stored in SPN and network mapping table, when terminal detects to be registered to first
When network, terminal according to first network searched in server in the SPN file that gets identifying corresponding first SPN from updating,
And show the first SPN in the status bar of current display interface, in the process, terminal is tested from acquisition in server is updated
The corresponding relationship of the SPN and network that arrive, without modifying the SPN.xml file in terminal profile, row variation version of going forward side by side
It shortens terminal to simplify the step of terminal shows correct SPN with the process of OTA software upgrading and shows correct SPN
Time-consuming.
Embodiment two
The embodiment of the present application provides a kind of display methods, as shown in figure 3, terminal is attached with server is updated, the party
Method may include:
S201, update server send service provider names SPN file to terminal, and test SPN is stored in SPN file
With network identity mapping table.
A kind of display methods provided by the embodiments of the present application is suitable for showing on SOT state of termination column under the scene of SPN.
In the embodiment of the present application, when terminal is under data network or wireless network, establishes and connect with RUS server automatically
It connects.
In the embodiment of the present application, the different PLMN numbers of tester's test corresponding difference SPN, the PLMN that test is obtained
Number and SPN corresponding relationship form a SPN file, are stored in RUS server.
In the embodiment of the present application, SPN file format is SPN.xml file.
SPN file is updated in more new database by S202, terminal.
After terminal receives SPN file from update server, SPN file will be updated to more new database by terminal
It suffers.
In the embodiment of the present application, after RUS server update SPN file, RUS file is sent to by RUS server
The side terminal AP, the side terminal AP save SPN.xml file into more new database.
In the embodiment of the present application, terminal is from searching test SPN and net not stored in more new database in SPN.xml file
Network identifies corresponding relationship, and not stored test SPN and network identity corresponding relationship are updated in more new database, at this time more
The when updated SPN.xml file stored in new database.
S203, terminal parse SPN file, obtain at least one test SPN and network identity corresponding relationship.
After SPN file is updated in more new database by terminal, terminal will parse SPN file, obtain at least one
Item test SPN and network identity corresponding relationship.
In the embodiment of the present application, after SPN file is updated in more new database, terminal parses terminal in the side AP
SPN file obtains at least one test SPN and network identity corresponding relationship.
At least one test SPN and network identity corresponding relationship are added in storage container by S204, terminal, composition test
SPN and network identity mapping table.
After terminal obtains at least one test SPN and network identity corresponding relationship, terminal will survey at least one
Examination SPN and network identity corresponding relationship are added in storage container, composition test SPN and network identity mapping table.
In the embodiment of the present application, at least one test SPN and network identity corresponding relationship are added to storage container by terminal
In, to form test SPN and network identity mapping table.
In the embodiment of the present application, storage container is HashMap container.
S205, when terminal detects to be registered to first network, terminal searches initial SPN and network mark from configuration file
Know mapping table, first network is identified as the corresponding network identity of first network.
When at least one test SPN and network identity corresponding relationship are added in storage container by terminal, composition tests SPN
After network identity mapping table, terminal will search just from configuration file when detecting to be registered to first network
Beginning SPN and network identity mapping table.
In the embodiment of the present application, when terminal resides in first network, terminal searches the corresponding first network of first network
Mark.
In the embodiment of the present application, network identity is PLMN number.
In the embodiment of the present application, terminal searches developer from configuration file and initial SPN in the terminal is stored in advance
With network identity mapping table.
In the embodiment of the present application, all initial SPN are stored in spn-conf.xml files by developer, the meeting in compiling
Be copied to out system etc in catalogue, the load of etc/spn-conf.xml file is come in initialization, into
Row XML parsing, is stored in each single item in the HashMap of mCarrierSpnMap.
S206, when terminal does not find a SPN from initial SPN and network mark mapping table, terminal is from depositing
Parsing test SPN and network identity mapping table in storage container.
When terminal searches initial SPN and after network identity mapping table from configuration file, terminal will be from initial
The first SPN is searched in SPN and network mark mapping table, when terminal does not mark mapping table from initial SPN and network
In when finding a SPN, terminal will parse test SPN and network identity mapping table from storage container.
In the embodiment of the present application, terminal searches first network mark pair from initial SPN and network mark mapping table
The first SPN answered.
Specifically, terminal is searched under system etc catalogue, to be registered to the first PLMN (first network mark) corresponding
First SPN.
In the embodiment of the present application, when terminal does not find the first SPN from initial SPN and network mark mapping table
When, terminal parses test SPN and network identity mapping table from storage container.
In the embodiment of the present application, terminal calls HashMap container, and test SPN and net are parsed from HashMap container
Network identifies mapping table.
S207, terminal are searched corresponding with first network mark from least one test SPN and network identity corresponding relationship
The first SPN.
After terminal parses test SPN and network identity mapping table from storage container, terminal will be from least
In one test SPN and network identity corresponding relationship, first SPN corresponding with first network mark is searched.
In the embodiment of the present application, terminal from test SPN and network identity mapping table at least one of test SPN with
In network identity corresponding relationship, first SPN corresponding with first network mark is searched.
Illustratively, it tests SPN and network identity mapping table is as shown in table 1:
1 PLMN of table and SPN mapping table
Numeric= | Spn= |
46000 | CHIAN MOBILE |
46001 | CHN-UNICOM |
46002 | CHINA MOBILE |
46003 | CHINA TELECOM |
46007 | CHINA MOBILE |
46008 | CHINA MOBILE |
46009 | CHN-UNICOM |
Wherein, numeric is the corresponding number of PLMN, these stored in table 1 are the SPN for China, each
Item all includes two elements, PLMN and SPN;When terminal determines that the PLMN for the network being currently resident is 46001, terminal is from table
Determine that SPN is CHINA-UNICOM in 1.
S208, terminal show the first SPN in the status bar of current display interface.
When terminal is from least one test SPN and network identity corresponding relationship, lookup is corresponding with first network mark
After first SPN, the first SPN will be shown and be suffered in the status bar of current display interface by terminal.
In the embodiment of the present application, terminal shows in the status bar of current display interface according to the display format of the first SPN
One SPN.
Illustratively, as shown in Fig. 2, when determining the first SPN is " CHINA MOBILE ", in current display interface
The upper left corner shows " China Mobile ".
Illustratively, as shown in figure 4, terminal shows the process of SPN are as follows:
1, PhoneAPP (terminal applies processor side) obtains Spn.xml (service provider names file) number from server
According to, and Spn.xml data are saved in ROMUPDATE.db (read-only memory more new database).
2, whether PhoneAPP judges in ROMUPDATE.db to include Spn.xml data.
3, when in ROMUPDATE.db not including Spn.xml data, 1 is returned.
4, when in ROMUPDATE.db including Spn.xml data, PhoneAPP saves Spn.xml data to mobile phone, and
XML file is parsed, forms HashMap (Hash mapping) container, and go to 7 execution.
5, when SIM (subscriber identification card) card is registered to plmn (public land mobile network), terminal is in/etc mesh
Spn.xml lookup under record is registered to the corresponding Spn of plmn.
6, when Spn.xml of the terminal under/etc catalogue, which is found, is registered to the corresponding Spn of plmn, 9 are executed.
7, terminal calls the HashMap data in HashMap container, and is parsed.
8, it is searched in the Spn data that terminal analytically goes out and is registered to the corresponding Spn of plmn.
9, terminal shows display Spn in status bar.
A test SPN and network identity mapping table, the test are maintained it is understood that updating in server
The corresponding relationship that the SPN and network that test are stored in SPN and network mapping table, when terminal detects to be registered to first
When network, terminal according to first network searched in server in the SPN file that gets identifying corresponding first SPN from updating,
And show the first SPN in the status bar of current display interface, in the process, terminal is tested from acquisition in server is updated
The corresponding relationship of the SPN and network that arrive, without modifying the SPN.xml file in terminal profile, row variation version of going forward side by side
It shortens terminal to simplify the step of terminal shows correct SPN with the process of OTA software upgrading and shows correct SPN
Time-consuming.
Embodiment three
Fig. 5 is the composed structure schematic diagram one for the terminal 1 that the embodiment of the present application proposes, in practical applications, based on implementation
Under example one to the same inventive concept of embodiment two, as shown in figure 5, the terminal 1 of the embodiment of the present application includes: processor 10, deposits
Reservoir 11, receiver 12, display 13 and communication bus 14.During specific embodiment, above-mentioned processor 10 can be with
For application-specific IC (ASIC, Application Specific Integrated Circuit), Digital Signal Processing
Device (DSP, Digital Signal Processor), Digital Signal Processing terminal (DSPD, Digital Signal
Processing Device), programmable logic terminal (PLD, Programmable Logic Device), field programmable gate
Array (FPGA, Field Programmable Gate Array), CPU, controller, in microcontroller, microprocessor at least
It is a kind of.It is to be appreciated that for different equipment, the electronic device for realizing above-mentioned processor function can also be it is other,
The embodiment of the present application is not especially limited.
In embodiments herein, above-mentioned communication bus 14 is for realizing processor 10, memory 11,12 and of receiver
Connection communication between display 13;Above-mentioned receiver 12, for receiving service provider names SPN in the update server
File stores test SPN and network identity mapping table in the SPN file;Above-mentioned processor 10 is for executing storage
The operation program stored in device 11, to perform the steps of
When detecting to be registered to first network, first is searched from the test SPN and network identity mapping table
Corresponding first SPN of network identity, the first network are identified as the corresponding network identity of the first network;
Aforementioned display device 13, for showing the first SPN in the status bar of current display interface.
In the embodiment of the present application, further, above-mentioned processor 10 is also used to the SPN file being updated to update
In database;SPN file is parsed, at least one test SPN and network identity corresponding relationship are obtained;It will at least one described test
SPN and network identity corresponding relationship are added in storage container, form the test SPN and network identity mapping table.
In the embodiment of the present application, further, above-mentioned processor 10 is also used to obtain the corresponding institute of the first network
State first network mark;The storage container is called, it is corresponding with network identity that the test SPN is parsed from the storage container
Relation table;From at least one of described test SPN and network identity corresponding relationship, search corresponding with first network mark
First SPN.
In the embodiment of the present application, further, above-mentioned processor 10 is also used to search initial SPN from configuration file
With network identity mapping table;The first SPN is found when not marking in mapping table from the initial SPN and network
When, call the storage container;The test SPN and network identity mapping table are parsed from the storage container.
In the embodiment of the present application, further, the network identity is public land mobile network PLMN number.
The terminal that the embodiment of the present application proposes receives service provider names SPN file from updating, SPN text in server
Test SPN and network identity mapping table are stored in part;When detecting to be registered to first network, from test SPN and net
Network, which identifies, searches corresponding first SPN of first network mark in mapping table, it is corresponding that first network is identified as first network
Network identity;First SPN is shown in the status bar of current display interface.It can be seen that the end that the embodiment of the present application proposes
End updates and maintains a test SPN and network identity mapping table, test SPN and network corresponding relationship in server
The corresponding relationship that the SPN and network that test are stored in table, when terminal detects to be registered to first network, terminal according to from
It updates and searches corresponding first SPN of first network mark in the SPN file got in server, and the first SPN is shown
In the status bar of current display interface, in the process, terminal obtains pair of the SPN and network that test from updating in server
It should be related to, without modifying the SPN.xml file in terminal profile, the mistake of go forward side by side row variation version and OTA software upgrading
Journey shortens the time-consuming that terminal shows correct SPN to simplify the step of terminal shows correct SPN.
The embodiment of the present application provides a kind of storage medium, and above-mentioned storage medium is stored with one or more program, above-mentioned
One or more program can be executed by one or more processor, be applied in terminal, when which is executed by processor
Realize the method such as embodiment one to embodiment two.
Specifically, the corresponding program instruction of one of the present embodiment display methods is read or is held by an electronic equipment
When row, include the following steps:
Service provider names SPN file is received from the update server, stores test in the SPN file
SPN and network identity mapping table;
When detecting to be registered to first network, first is searched from the test SPN and network identity mapping table
Corresponding first SPN of network identity, the first network are identified as the corresponding network identity of the first network;
First SPN is shown in the status bar of current display interface.
In embodiments herein, further, service provider names SPN text is received from the update server
After part, before searching corresponding first SPN of first network mark in the SPN list, said one or multiple programs
It is executed by said one or multiple processors, also performs the steps of
The SPN file is updated in more new database;
SPN file is parsed, at least one test SPN and network identity corresponding relationship are obtained;
At least one of described test SPN and network identity corresponding relationship are added in storage container, the test is formed
SPN and network identity mapping table.
It is further, described to be looked into from the test SPN and network identity mapping table in embodiments herein
It looks for first network to identify corresponding first SPN, said one or multiple programs to be executed by said one or multiple processors,
Implement following steps:
Obtain the corresponding first network mark of the first network;
The storage container is called, the test SPN and network identity mapping table are parsed from the storage container;
From at least one of described test SPN and network identity corresponding relationship, search corresponding with first network mark
The first SPN.
It is further, described to call the storage container in embodiments herein, it is parsed from the storage container
The test SPN and network identity mapping table, said one or multiple programs are by said one or multiple processors
It executes, implements following steps:
Initial SPN and network identity mapping table are searched from configuration file;
When not finding a SPN from the initial SPN and network mark mapping table, deposited described in calling
Storage container;
The test SPN and network identity mapping table are parsed from the storage container.
In embodiments herein, further, the network identity is public land mobile network PLMN number.
It should be noted that, in this document, the terms "include", "comprise" 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 a ...", 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, the technical solution of the application 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 application.
The above, the only preferred embodiment of the application, are not intended to limit the protection scope of the application.
Claims (11)
1. a kind of display methods is applied to terminal, which is characterized in that the terminal is attached with server is updated, the side
Method includes:
Service provider names SPN file is received from the update server, store in the SPN file test SPN with
Network identity mapping table;
When detecting to be registered to first network, first network is searched from the test SPN and network identity mapping table
Corresponding first SPN is identified, the first network is identified as the corresponding network identity of the first network;
First SPN is shown in the status bar of current display interface.
2. the method according to claim 1, wherein described receive service provider from the update server
It is described before searching corresponding first SPN of first network mark in the SPN list after title SPN file, the method
Further include:
The SPN file is updated in more new database;
SPN file is parsed, at least one test SPN and network identity corresponding relationship are obtained;
At least one of described test SPN and network identity corresponding relationship are added in storage container, form the test SPN and
Network identity mapping table.
3. according to the method described in claim 2, it is characterized in that, described from the test SPN and network identity corresponding relationship
First network is searched in table identifies corresponding first SPN, comprising:
Obtain the corresponding first network mark of the first network;
The storage container is called, the test SPN and network identity mapping table are parsed from the storage container;
From at least one of described test SPN and network identity corresponding relationship, institute corresponding with first network mark is searched
State the first SPN.
4. according to the method described in claim 3, it is characterized in that, described call the storage container, from the storage container
The middle parsing test SPN and network identity mapping table, comprising:
Initial SPN and network identity mapping table are searched from configuration file;
When not finding a SPN from the initial SPN and network mark mapping table, the storage is called to hold
Device;
The test SPN and network identity mapping table are parsed from the storage container.
5. method according to claim 1-4, which is characterized in that the network identity is public land mobile network
Network PLMN number.
6. a kind of terminal, which is characterized in that the terminal is attached with server is updated, and the terminal includes: processor, connects
Receive device, display memory and communication bus, the receiver, for receiving service provider's name from the update server
Claim SPN file, test SPN and network identity mapping table are stored in the SPN file;The processor is for executing institute
The operation program stored in memory is stated, to perform the steps of
When detecting to be registered to first network, first network is searched from the test SPN and network identity mapping table
Corresponding first SPN is identified, the first network is identified as the corresponding network identity of the first network;
The display, for showing the first SPN in the status bar of current display interface.
7. terminal according to claim 6, which is characterized in that
The processor is also used to for the SPN file being updated in more new database;SPN file is parsed, at least one is obtained
Test SPN and network identity corresponding relationship;At least one of described test SPN and network identity corresponding relationship are added to storage to hold
In device, the test SPN and network identity mapping table are formed.
8. terminal according to claim 7, which is characterized in that
The processor is also used to obtain the corresponding first network mark of the first network;The storage container is called,
The test SPN and network identity mapping table are parsed from the storage container;From at least one of described test SPN and net
Network identifies in corresponding relationship, searches first SPN corresponding with first network mark.
9. terminal according to claim 8, which is characterized in that
The processor is also used to search initial SPN and network identity mapping table from configuration file;When not from described first
When finding a SPN in beginning SPN and network mark mapping table, the storage container is called;Hold from the storage
The test SPN and network identity mapping table are parsed in device.
10. according to the described in any item terminals of claim 6-9, which is characterized in that the network identity is mobile for public land
Network PLMN number.
11. a kind of storage medium, is stored thereon with computer program, it is applied to terminal, which is characterized in that the computer program quilt
Processor realizes the method according to claim 1 to 5 when executing.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810859046.7A CN109068311A (en) | 2018-07-31 | 2018-07-31 | A kind of display methods, terminal and storage medium |
PCT/CN2019/088980 WO2020024687A1 (en) | 2018-07-31 | 2019-05-29 | Display method, terminal, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810859046.7A CN109068311A (en) | 2018-07-31 | 2018-07-31 | A kind of display methods, terminal and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109068311A true CN109068311A (en) | 2018-12-21 |
Family
ID=64832101
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810859046.7A Pending CN109068311A (en) | 2018-07-31 | 2018-07-31 | A kind of display methods, terminal and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN109068311A (en) |
WO (1) | WO2020024687A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020024687A1 (en) * | 2018-07-31 | 2020-02-06 | Oppo广东移动通信有限公司 | Display method, terminal, and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1756423A (en) * | 2004-09-28 | 2006-04-05 | 华为技术有限公司 | Method for displaying current network operator information |
CN105592443A (en) * | 2014-10-22 | 2016-05-18 | 中国移动通信集团公司 | Over-the-air-technology-based display updating method and system for terminal title, and equipment |
CN107391544A (en) * | 2017-05-24 | 2017-11-24 | 阿里巴巴集团控股有限公司 | Processing method, device, equipment and the computer storage media of column data storage |
CN109408132A (en) * | 2017-08-15 | 2019-03-01 | 腾讯科技(深圳)有限公司 | A kind of configuration file processing method and server, user terminal, storage medium |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104602317A (en) * | 2014-12-31 | 2015-05-06 | 小米科技有限责任公司 | Service provider display method and device and mobile terminal |
US10834554B2 (en) * | 2016-05-24 | 2020-11-10 | Blackberry Limited | Customization of device configuration settings |
CN107634845B (en) * | 2017-07-18 | 2020-11-24 | 深圳市有方科技股份有限公司 | Adaptation method and device for operator network |
CN109068311A (en) * | 2018-07-31 | 2018-12-21 | Oppo广东移动通信有限公司 | A kind of display methods, terminal and storage medium |
-
2018
- 2018-07-31 CN CN201810859046.7A patent/CN109068311A/en active Pending
-
2019
- 2019-05-29 WO PCT/CN2019/088980 patent/WO2020024687A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1756423A (en) * | 2004-09-28 | 2006-04-05 | 华为技术有限公司 | Method for displaying current network operator information |
CN105592443A (en) * | 2014-10-22 | 2016-05-18 | 中国移动通信集团公司 | Over-the-air-technology-based display updating method and system for terminal title, and equipment |
CN107391544A (en) * | 2017-05-24 | 2017-11-24 | 阿里巴巴集团控股有限公司 | Processing method, device, equipment and the computer storage media of column data storage |
CN109408132A (en) * | 2017-08-15 | 2019-03-01 | 腾讯科技(深圳)有限公司 | A kind of configuration file processing method and server, user terminal, storage medium |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020024687A1 (en) * | 2018-07-31 | 2020-02-06 | Oppo广东移动通信有限公司 | Display method, terminal, and storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2020024687A1 (en) | 2020-02-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10187798B2 (en) | Terminal device having subscriber identity device and method for selecting profile thereof | |
CN104159276B (en) | The network search method and device of multimode terminal | |
CN104850301A (en) | Method and system for classifying application icons on system desktop | |
CN101986739A (en) | Method for setting language by mobile terminal and mobile terminal | |
CN105578590B (en) | A kind of the whole network leads to the network registering method and terminal of terminal | |
CN105871600A (en) | Application upgrade package detection method, server, and application program upgrade method and system | |
CN109246280B (en) | Address book cloud processing method and device, computer equipment and readable storage medium | |
US20120108228A1 (en) | Method for identifying a mobile telephone | |
CN109068311A (en) | A kind of display methods, terminal and storage medium | |
US10015727B2 (en) | Automatic detection of a network operator for a mobile network device | |
CN105933518B (en) | A kind of operator's icon display method and mobile terminal | |
CN109525698B (en) | SIM card identification configuration method, storage medium and mobile phone | |
US10802714B2 (en) | Optimizing access to universal integrated circuit card (UICC) files in a user equipment (UE) | |
KR100746836B1 (en) | Mobile terminal for loading subscriber indentify information using by internal file system, and method thereof | |
CN105511851B (en) | A method of extension Android system resource load | |
CN113190565B (en) | Data updating method and device, storage medium and electronic device | |
CN112423288B (en) | Dialing analysis method, device, computer equipment and storage medium | |
CN111641940B (en) | Method, terminal, device and storage medium for limiting cross-country download of eSIM (embedded subscriber identity Module) card | |
CN114389981A (en) | Detection method and device for edge server 5G module and storage medium | |
CN113691998A (en) | User identification card compatibility testing method and device and communication module | |
CN106713581A (en) | Communication number identification method, terminal and system | |
US20200014783A1 (en) | Global Dialing Format | |
CN106100904A (en) | Equipment method of attachment and equipment connection system | |
CN105653280A (en) | Method and device for displaying screen saver of application program and mobile terminal | |
CN113515436A (en) | Interface testing method and device |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181221 |
|
RJ01 | Rejection of invention patent application after publication |