CN108990044A - SIM card communication check method and device - Google Patents

SIM card communication check method and device Download PDF

Info

Publication number
CN108990044A
CN108990044A CN201810884756.5A CN201810884756A CN108990044A CN 108990044 A CN108990044 A CN 108990044A CN 201810884756 A CN201810884756 A CN 201810884756A CN 108990044 A CN108990044 A CN 108990044A
Authority
CN
China
Prior art keywords
sim card
signal
operational order
parameter
network
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
Application number
CN201810884756.5A
Other languages
Chinese (zh)
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.)
Guangdong Power Grid Co Ltd
Qingyuan Power Supply Bureau of Guangdong Power Grid Co Ltd
Original Assignee
Guangdong Power Grid Co Ltd
Qingyuan Power Supply Bureau of Guangdong Power Grid 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 Guangdong Power Grid Co Ltd, Qingyuan Power Supply Bureau of Guangdong Power Grid Co Ltd filed Critical Guangdong Power Grid Co Ltd
Priority to CN201810884756.5A priority Critical patent/CN108990044A/en
Publication of CN108990044A publication Critical patent/CN108990044A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a kind of SIM card communication check method and devices.The SIM card communication check method is applied to the SIM card of at least two operators, this method comprises: receiving user to the operational order of SIM card;In signal detection instruction, the signal parameter of the compatible different network formats of SIM card is obtained, and signal parameter is subjected to default arithmetic operation and generates comprehensive parameters, comprehensive parameters are compared and the optimal SIM card of communication effect is selected according to comparing result;It will include that the handshaking information of SIM card information and communications parameter is sent to the response result of corresponding private network main website and reception private network main website according to corresponding acknowledgement mechanism in link detecting instruction.The present invention can automatically select the optimal operator of communication efficiency according to the signal parameter of different operators, avoid artificial selection bring error;Connection status between also detectable SIM card and private network main website, reduces maintenance work amoun.

Description

SIM card communication check method and device
Technical field
The present invention relates to fields of communication technology, in particular to a kind of SIM card communication check method and device.
Background technique
Existing China Mobile of China, China Unicom, the signal coverage areas of big operator of China Telecom three can substantially Meet people's lives demand, but since the signal covering facility that each operator is built puts into installation site, how many differences And the complexity of the electricity consumption situation of user, lead to still there is different blind spots in the covering of some regional signals.At present to appearance Because often first construction is thrown for such case of failure of the data exchange between internet-of-things terminal equipment caused by first signal problem Fortune solves the failure connection operator of appearance, and the solution period is longer and subproblem cannot solve always, in this way It results in acquiring this certain customers and monitors not in place, the low problem of acquisition index.Currently, signal detection apparatus in the market It has the following problems:
(1) it is only able to display the signal strength of SIM card detected, it is still necessary to manually carry out two according to the signal strength of detection Secondary selection can determine optimal operator, and, determine that there is still a need for the different network formats for considering same operator after operator Between switching brought by swinging of signal it is qualitative, meanwhile, there is also biggish subjectivity, accuracy rate are lower for artificial judgment.
(2) since SIM card need to can only be detected by the multilayers link such as runner public-network and Enterprise Special Network, existing detection device Whether SIM card can connect to public network, can not detect whether to can connect to private network, operation maintenance personnel is needed by main website personnel's joint debugging It can just be confirmed whether to connect main website, lack the authentication mechanism of intuitive intelligence.
Summary of the invention
In view of the above problems, the present invention provides a kind of SIM card communication check method and devices, to solve the prior art It is insufficient.
According to embodiment of the present invention, a kind of SIM card communication check method is provided, at least two operations are applied to The SIM card of quotient, this method comprises:
User is received to the operational order of the SIM card, wherein the operational order include signal detection operational order and Link detecting operational order;
When the operational order is signal detection operational order, the compatible different network formats of the SIM card are obtained Signal parameter, and the signal parameter is subjected to default arithmetic operation and generates comprehensive parameters, the comprehensive parameters are compared And the optimal SIM card of communication effect is selected according to comparing result;
It will include SIM card information according to corresponding acknowledgement mechanism when the operational order is link detecting operational order Corresponding private network main website is sent to the handshaking information of the communications parameter of private network main website and receives the response knot of the private network main website Fruit.
It is described " it is comprehensive that the signal parameter to be subjected to default arithmetic operation generation in above-mentioned SIM card communication check method Close parameter " include:
The signal parameter of the compatible each network formats of each SIM card is subjected to the first default arithmetic operation and generates net Network standard evaluation parameter;
All-network standard evaluation parameter is subjected to the comprehensive parameters that the second default arithmetic operation generates corresponding SIM card.
It is described " to compare the comprehensive parameters and according to comparing result in above-mentioned SIM card communication check method Select the optimal SIM card of communication effect " after further include:
The SIM card is selected to correspond to the optimum network standard of operator according to all comprehensive parameters of the optimal SIM card.
In above-mentioned SIM card communication check method, the signal parameter includes signal strength indication, signal stabilization value and letter Number candidate value.
In above-mentioned SIM card communication check method, the signal stabilization value is described by variance.
In above-mentioned SIM card communication check method, the signal candidate value passes through the institute that is communicated with the SIM card There is the quantity of base station to be described.
In above-mentioned SIM card communication check method, the default operation includes:
The signal strength, signal stabilization value and signal candidate value are sought into weighted average according to predefined weight.
In above-mentioned SIM card communication check method, the communications parameter includes access point name, default gateway, communication Address and port numbers.
In above-mentioned SIM card communication check method, the communications parameter is to preset or grasped according to the input of user It obtains.
It is described when the operational order is link detecting operational order in above-mentioned SIM card communication check method After " response result for receiving the private network main website " further include:
The handshaking information and the response result are recorded, a link detecting is generated and records and stores.
Another embodiment of the present invention provides a kind of SIM card communication check device, applied at least two operators SIM card, the device include:
Receiving module, for receiving user to the operational order of the SIM card, wherein the operational order includes signal Detect operational order and link detecting operational order;
Signal detection module, when the operational order is signal detection operational order, the signal detection module is used for The signal parameter of the compatible different network formats of the SIM card is obtained, and the signal parameter is subjected to default arithmetic operation life At comprehensive parameters, the comprehensive parameters are compared and the optimal SIM card of communication effect is selected according to comparing result;
Link detection module, when the operational order is link detecting operational order, the link detection module is used for According to corresponding acknowledgement mechanism by include SIM card information and private network main website communications parameter handshaking information be sent to it is corresponding specially Host stands and receives the response result of the private network main website.
A further embodiment of the invention provides a kind of terminal, which includes memory and place Device is managed, the memory runs the computer program so that the computer for storing computer program, the processor Terminal executes above-mentioned SIM card communication check method.
A further embodiment of the invention provides a kind of computer readable storage medium, the computer readable storage medium In be stored with above-mentioned SIM card communication check method.
SIM card communication check method and device of the present invention at least provides following technical effect: under complex environment, according to The signal parameter of the different network formats of the SIM card of different operators determines the optimal operator of communication efficiency, avoids due to people Work selects bring error and swinging of signal qualitative, improves communication efficiency and communication quality;It detects between SIM card and private network main website Connection status reduce maintenance work amoun instead of artificial joint debugging.
Detailed description of the invention
In order to illustrate more clearly of technical solution of the present invention, letter will be made to attached drawing needed in the embodiment below It singly introduces, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as to the present invention The restriction of protection scope.
Fig. 1 shows a kind of flow diagram of SIM card communication check method of first embodiment of the invention offer.
Fig. 2 shows a kind of schematic diagrames of signal stabilization provided in an embodiment of the present invention.
Fig. 3 shows a kind of schematic diagram of signal candidate provided in an embodiment of the present invention.
Fig. 4 shows a kind of flow diagram of SIM card communication check method of second embodiment of the invention offer.
Fig. 5 shows a kind of structural schematic diagram of SIM card communication check device provided in an embodiment of the present invention.
Main element symbol description:
100-SIM cartoon letters detection device;110- receiving module;120- signal detection module;130- link detection module.
Specific embodiment
Below in conjunction with attached drawing in the embodiment of the present invention, technical solution in the embodiment of the present invention carries out clear, complete Ground description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Usually exist The component of the embodiment of the present invention described and illustrated in attached drawing can be arranged and be designed with a variety of different configurations herein.Cause This, is not intended to limit claimed invention to the detailed description of the embodiment of the present invention provided in the accompanying drawings below Range, but it is merely representative of selected embodiment of the invention.Based on the embodiment of the present invention, those skilled in the art are not doing Every other embodiment obtained under the premise of creative work out, shall fall within the protection scope of the present invention.
In addition, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or Implicitly include one or more of the features.In the description of the present invention, the meaning of " plurality " is two or more, Unless otherwise specifically defined.
Unless otherwise defined, all technical and scientific terms used herein and belong to technical field of the invention The normally understood meaning of technical staff is identical.It is intended merely to herein in the term used in the description of multiple dimensioned scaling board The purpose of specific embodiment is described, it is not intended that the limitation present invention.Term " and or " used herein includes one or more Any and all combinations of a relevant listed item.
With reference to the accompanying drawing, it elaborates to a specific embodiment of the invention.
Embodiment 1
Fig. 1 shows a kind of flow diagram of SIM card communication check method of first embodiment of the invention offer.
The SIM card communication check method is applied to the SIM card of at least two operators.
In the present embodiment, according to operator of China company-information, the SIM card communication check method be usually applied to it is mobile, The SIM card of three operators of connection and telecommunications, in a certain region, the communication quality to the SIM card of three operator is detected. In the other embodiment of the present invention, which can be applied not only to mobile, connection and telecommunications three fortune The SIM card of quotient is sought, it can also be using the SIM card of other operators of subsequent generation.
Step S110 receives user to the operational order of SIM card.
Wherein, the operational order includes signal detection operational order and link detecting operational order.
Step S120 judges whether it is signal detection operational order.
Judge whether received user is signal detection operational order to the operational order of SIM card, is grasped if signal detection It instructs, advances to step S130;If link detecting operational order, step S140 is advanced to.
Step S130 obtains the signal parameter of the compatible different network formats of SIM card, and signal parameter is carried out default fortune It calculates operation and generates comprehensive parameters, comprehensive parameters are compared and the optimal SIM card of communication effect is selected according to comparing result.
In the present embodiment, the network formats include TD-LTE, FDD-LTE, TD-SCDMA, WCDMA, CDMA, CDMA2000 and GSM.In the other embodiment of the present invention, with the further development of network communication, the network formats may be used also To include other newborn network formats, for example, 5G network formats etc..
In current all-network standard, the compatible network formats of each operator are 3-4, as mobile network supports GSM (2G), TD-SCDMA (3G) and TD-LTE (4G);Connection network support GSM (2G), WCDMA (3G) and FDD-LTE (4G) or TD-LTE(4G);Telecommunication network supports CDMA (2G), CDMA2000 (3G) and FDD-LTE (4G).
According to the SIM card, compatible different network formats access corresponding network, and obtain the SIM card in correspondence Signal parameter in network.
For example, if the SIM card communication check method is applied to mobile SIM card, connection SIM card and telecommunications SIM card, according to Network formats access GSM network, TD-SCDMA network and the TD-LTE network that mobile SIM card is supported, and obtain the movement Signal parameter of the SIM card in GSM network, TD-SCDMA network and TD-LTE network;The network supported according to connection SIM card Standard accesses GSM network, WCDMA network and TD-LTE network or FDD-LTE network, and obtains the mobile SIM card in GSM net Signal parameter in network, WCDMA network and TD-LTE network or FDD-LTE network;The network system supported according to telecommunications SIM card Formula accesses cdma network, CDMA2000 network and FDD-LTE network, and obtain the telecommunications SIM card cdma network, Signal parameter in CDMA2000 network and FDD-LTE network.
The signal parameter of connected SIM card is acquired every preset time interval.
For example, acquiring signal parameter of the SIM card once connected in the network of different network formats every 1min.
In the present embodiment, the time interval can be preset.In the other embodiment of the present invention, can according to user demand or The customized setting time interval of environmental demand.
Wherein, the signal parameter includes signal strength indication, signal stabilization value and the signal candidate that the SIM card receives Value etc..
The signal strength indication is the RSSI value of the signal, and the mode that dBm or asu can be used is described, dBm or Asu is bigger, and signal strength is stronger.
Relationship in 2G or 3G network, between the dBm and the asu are as follows:
DBm=-113+2*asu;
It is assumed that the present signal quality that receives is -25dBm, then, corresponding asu is 44;If current signal is very poor, reach - 100dBm has been arrived, then, it should be just 7 if rounding up that corresponding asu, which is 6.5,.So asu can under normal circumstances Reach 10-30.Number is bigger, and corresponding signal strength is better.If the asu of received signal be greater than 35, signal quality be- 43dBm, then the whole network, which leads to around module 12, there may be base station.If the asu of received signal is less than 10, signal quality For -93dBm, then the whole network leads to module 12 apart from base station farther out, be not suitable for being communicated.
Relationship in 4G network, between the dBm and the asu are as follows:
DBm=-140+asu
The signal stabilization value is the numerical value for quantifying signal stabilization.
The signal stabilization value can be described by variance, and variance yields is smaller, and signal stabilization is stronger, signal stabilization It is worth bigger.The signal stabilization value can also be described by modes such as the fluctuating ranges of signal in predetermined time interval, wave Dynamic amplitude is smaller, and signal stabilization is stronger, and signal stabilization value is bigger.
It is illustrated in figure 2 a kind of schematic diagram of signal stabilization provided in an embodiment of the present invention.
For example, the signal strength indication that SIM card 1 obtains in a certain network formats is sampled acquisition, at collected 4 The signal strength indication at quarter is respectively as follows: 28,28.5,29 and 29;The signal strength indication that SIM card 2 obtains in a certain network formats into Line sampling acquisition, same moment collected 4 signal strength indications are respectively as follows: 19.5,14,19 and 27.
So, the signal strength indication variance of SIM card 1 are as follows:
DSIM1=[(28-28.625)2+(28.5-28.625)2+(29-28.625)2+(29-28.625)2]/4≈0.17;
The signal strength indication variance of SIM card 2 are as follows:
DSIM2=[(19.5-19.875)2+(14-19.875)2+(19-19.875)2+(27-19.875)2]/4≈21.55;
Compare DSIM1And DSIM2, due to DSIM1Less than DSIM2, it is known that, in same time interval, the corresponding signal of SIM card 1 Stability is stronger compared to the signal stabilization of SIM card 2.
For another example, within a preset time interval, the signal strength indication that SIM card 1 obtains in a certain network formats is sampled Acquisition, the curve that the signal strength indication at collected 4 moment is formed by connecting are A, and the signal strength of the SIM card 2 of acquisition connects Made of curve be B.In curve A, the difference of signal strength acquired in every two adjacent moment is smaller, and curve A is more flat Surely;In curve B, the difference of signal strength acquired in every two adjacent moment is relatively large, and curve B or more fluctuates larger. It will thus be seen that in 4min, the signal stabilization of SIM card 1 is higher than SIM card 2, and by the signal stabilization numerical value amount of progress Change obtains the signal stabilization value of SIM card.
The candidate value can be described by the quantity of all base stations communicated with the SIM card, Huo Zhetong The excessive base station carried out data transmission with the SIM card is broken down, and can carry out data biography with current SIM card around the base station The quantity of other defeated base stations is described.
As Fig. 3 shows a kind of schematic diagram of signal candidate provided in an embodiment of the present invention.
For example, if the number of base stations that can be communicated with SIM card in current environment is 6 the SIM card can be used as by 6 Signal candidate value.
Alternatively, being base station A if currently being communicated with SIM card, when base station A powers off suddenly or occur situations such as exception Under, cause base station A cannot be with SIM card normal communication, at this point, can be with SIM card 1 if there are also other base stations around the A of base station It is communicated, such as base station B, base station C, base station D, base station E and base station F, then, the candidate number of base stations of the SIM card is 5, that is, is waited Complement value is numerical value 5.
The signal parameter of the compatible each network formats of each SIM card is subjected to default arithmetic operation and generates comprehensive parameters.
The default operation includes:
The signal strength, signal stabilization value and signal candidate value are sought into weighted average according to predefined weight.
Corresponding network is accessed according to the compatible each network formats of each SIM card, obtains letter of the SIM card in the network After carrying out default arithmetic operation after number parameter, comprehensive parameters of the SIM card in the network of corresponding network standard are generated.
For example, comprehensive parameters=signal strength × m%+ signal stabilization value × n%+ candidate value × p%, wherein m%+n% + p%=1.
Wherein, m, n and p can be preset, can also be according to the customized setting of transmission requirement of current environment.
For example, if current transmission environment requires signal strength preferential, then settable m > n and m > p;If current transmission Environmental requirement signal stabilization is preferential, then settable n > m and n > p.
If presetting m=60, n=30, n=10, the signal parameter of mobile SIM card in gsm networks be 45,0.17 and 6;Signal parameter in TD-SCDMA network is 43,0.25,5;Signal parameter in TD-LTE network is 46,0.18 and 6. Wherein, signal strength indication is described in a manner of asu.
So, movement SIM card comprehensive parameters=45 × 60%+ (1/0.17) × 30%+6 in gsm networks × 10%=29.36;
Comprehensive parameters=43 × 60%+ (1/0.25) × 30%+5 of the movement SIM card in TD-SCDMA network × 10%=27.5;
Comprehensive parameters=46 × 60%+ (1/0.18) × 30%+6 × 10% of the movement SIM card in TD-LTE network =29.87.
The comprehensive parameters of the compatible all network formats of each SIM card are compared, are selected according to comparing result logical Interrogate the optimal SIM card of effect.
For example, if the signal parameter that is obtained in GSM network, TD-SCDMA network and TD-LTE network of mobile SIM card into Row operation, the comprehensive parameters obtained are respectively 38,39 and 42;If connection SIM card is in GSM network, WCDMA network and TD-LTE net Comprehensive parameters obtained in network or FDD-LTE network are 38,38 and 41;If telecommunications SIM card is in cdma network, CDMA2000 network And comprehensive parameters obtained in FDD-LTE network are 36,37 and 41;So, by comparing the comprehensive parameters of movement SIM, joining The comprehensive parameters of logical SIM card and the comprehensive parameters of telecommunications SIM card are it is found that mobile is the optimal operation of communication efficiency in current region Quotient.
Step S140, according to corresponding acknowledgement mechanism shaking hands the communications parameter including SIM card information and private network main website Information is sent to corresponding private network main website and receives the response result of private network main website.
Terminal will include the SIM card information and private network according to its acknowledgement mechanism between private network main website where SIM card The handshaking information of the communications parameter of main website is sent to corresponding private network main website, and the private network main website receives the handshaking information, and Handshaking information carries out automatic-answering back device verifying based on the received.Terminal is according to it between private network main website where usually judging SIM card Whether link normally sends shaking hands for " data calling survey together " or " Air conduct measurement " in main station system often through the staff of main website Terminal where information to the SIM card at scene, to judge whether link is normal, so needing the people that works from the background with two aspect of scene Member's cooperation aptitude test can replace the artificial joint debugging in backstage by this kind of mode, reduce maintenance work amoun.
Wherein, the SIM card information includes the SIM card operator, the network formats of the SIM card and described The identity code etc. of SIM card.
The communications parameter includes access point name, default gateway, address and port numbers of private network main website etc..
SIM card finds according to handshaking information to including link layer by layer between the private network main website and needs to forward the letter of shaking hands The address of each layer of link of breath.In the link layer by layer for reaching private network main website, every layer of link is all in accordance with received handshaking information Automatic-answering back device is carried out, if all links are all connected with success, which is sent to private network main website, and private network main website is held according to this The same automatic-answering back device of hand information, and the response result is sent to the main control module 14.If the handshaking information is in a certain layer Link transmission fails, then terminal where the link auto-returned failure information to SIM card.
Embodiment 2
Fig. 4 shows a kind of flow diagram of SIM card communication check method of second embodiment of the invention offer.
The SIM card communication check method is applied to the SIM card of at least two operators, this method comprises:
Step S210 receives user to the operational order of SIM card.
The operational order includes signal detection operational order and link detecting operational order.
Step S220 judges whether it is signal detection operational order.
Judge whether currently received operational order is signal detection operational order, it is preceding if signal detection operational order Proceed to step S230;If link detecting operational order, step S280 is advanced to.
Step S230 obtains the signal parameter of the compatible different network formats of SIM card.
The signal parameter of the compatible each network formats of each SIM card is carried out the first default arithmetic operation by step S240 Generate network formats evaluation parameter.
The first default arithmetic operation may include: by the signal strength, signal stabilization value and signal candidate value by Weighted average are sought according to predefined weight.
All-network standard evaluation parameter is carried out the synthesis that the second default operation generates corresponding SIM card by step S250 Parameter.
For example, the all-network standard evaluation parameter of every SIM is carried out operation of averaging, a comprehensive parameters are obtained, it will The comprehensive parameters of all SIM cards compare, and select the optimal SIM card of communication effect.
For example, if all network formats evaluation parameters of the mobile SIM card obtained are respectively as follows: 29.36,27.5 and 29.87 then
The comprehensive parameters of the movement SIM card=(29.36+27.5+29.87)/3=28.91;
If all network formats evaluation parameters of the SIM card of the connection obtained are respectively as follows: 27.45,25.5 and 29.91, So,
The comprehensive parameters of the connection SIM card=(27.45+25.5+29.91)/3=27.62;
If all network formats evaluation parameters of the SIM card of the telecommunications obtained are respectively as follows: 25.33,26.75 and 29.82, So,
The comprehensive parameters of the telecommunications SIM card=(25.33+26.75+29.82)/3=27.3.
Preferably, can also by by the network formats evaluation parameter of the different network formats of the SIM card according to predefined weight Weighted average are asked to obtain comprehensive parameters.
The comprehensive parameters of all SIM cards are compared and select communication effect best according to comparing result by step S260 SIM card.
The comprehensive parameters of all SIM cards of above-mentioned acquisition are compared, select communication effect best according to comparison result SIM card, determine the best operator of communication effect.
For example, if obtain movement, connection, the SIM card of telecommunications comprehensive parameters be respectively 28.91,27.62 and 27.3, It is learnt by comparison, mobile SIM card is the optimal SIM card of communication effect, and mobile is the optimal operator of communication effect.
Step S270 selects the SIM card to correspond to operator according to the all-network standard evaluation parameter of optimal SIM card Optimum network standard.
In the present embodiment, after selecting the optimal SIM card of communication effect according to step S260, by all of the best SIM card Network formats evaluation parameter compares, and selects the SIM card to correspond to the optimum network standard of operator according to comparing result.
For example, if optimal SIM card is mobile SIM card, GSM, TD-SCDMA and TD-LTE's of the mobile SIM card of acquisition Network formats evaluation parameter is respectively as follows: 29.36,27.5 and 29.87, which is compared, It is found that the optimal network formats of mobile communication effect are TD-LTE.
In other embodiments, after selecting the optimal SIM card of communication effect, a threshold value can also be preset, by the best SIM The all-network standard evaluation parameter of card is compared with the threshold value, preferential to select in the all-network standard for being more than the threshold value Selecting 4G is optimum network standard;If more than there is no 4G network formats in the all-network standard of the threshold value, then, successively with 3G net Network standard is preferential.
For example, if optimal SIM card is mobile SIM card, GSM, TD-SCDMA and TD-LTE's of the mobile SIM card of acquisition Network formats evaluation parameter is respectively as follows: 29.36,27.5 and 28.87.
If a default threshold value is 28, the network formats beyond 28 are GSM and TD-LTE, in the network formats for exceeding threshold value In, it is still preferential to choose although the network formats evaluation parameter of TD-LTE network is less than the network formats evaluation parameter of GSM network TD-LTE network formats are the mobile optimal network formats of communication effect.For another example, it if optimal SIM card is mobile SIM card, obtains The network formats evaluation parameter of GSM, TD-SCDMA and TD-LTE of the mobile SIM card taken are respectively as follows: 29.36,28.5 and 27.87。
If a default threshold value is 28, the network formats beyond 28 are GSM and TD-SCDMA, in the network formats for exceeding threshold value In, although the network formats evaluation parameter of TD-SCDMA network is less than the network formats evaluation parameter of GSM network, still preferential choosing Taking TD-SCDMA network standard is the mobile optimal network formats of communication effect.
If in the network formats beyond threshold value, only GSM, then choosing GSM is the mobile optimal network of communication effect Standard.
It is qualitative to solve swinging of signal brought by switching between the different network formats of same operator by this way And the influence of signal quality.
Step 280, the communications parameter is obtained.
The communications parameter is to preset or operated according to the input of user to obtain.
For example, when the SIM card is connected to fixed private network main website, for example, power grid main website, can pass through keyboard, touch The input modes such as screen preset the communications parameter and acknowledgement mechanism.
If the SIM card is connected to different private network main websites, since different private network main websites has different communications Parameter, the communications parameter for inputting the operation acquisition private network of being connected main website by user and selection acknowledgement mechanism are, it can be achieved that by institute It states SIM card to be connected in different private networks, the SIM card and the private network main website is communicated.
The communications parameter includes APN, default gateway, address and port numbers etc..
Handshaking information including SIM card information and communications parameter is sent to by step S290 according to corresponding acknowledgement mechanism Corresponding private network main website.
Step S300 receives the response result of private network main website.
The response result is successful connection or connection failure.
Step S310 records handshaking information and response result, generates a link detecting and record and store.
The private network master information, handshaking information and response result are generated into a link detecting record, which examined It surveys record to save into database, for the record as follow-up maintenance.
Embodiment 3
Fig. 5 shows a kind of structural schematic diagram of SIM card communication check device provided in an embodiment of the present invention.
The SIM card communication check device 100 includes: receiving module 110, signal detection module 120 and link detection module 130。
Receiving module 110, for receiving user to the operational order of the SIM card, wherein the operational order includes letter Number detection operational order and link detecting operational order.
Signal detection module 120, when the operational order is signal detection operational order, the signal detection module 120 carry out default operation for obtaining the signal parameter of the compatible different network formats of the SIM card, and by the signal parameter Operation generates comprehensive parameters, and the comprehensive parameters are compared and select the optimal SIM card of communication effect according to comparing result.
Link detection module 130, when the operational order is link detecting operational order, the link detection module 130 for being sent to corresponding private network for the handshaking information including SIM card information and communications parameter according to corresponding acknowledgement mechanism Main website and the response result for receiving the private network main website.
Another embodiment of the present invention also proposed a kind of terminal, which includes memory and place Device is managed, the memory runs the computer program so that the computer for storing computer program, the processor Terminal executes above-mentioned SIM card communication check method.
One more embodiment of the present invention also proposed a kind of computer storage medium, store above-mentioned SIM card communication inspection The computer program of survey method.
With this, the invention proposes a kind of SIM card communication check method and devices, according to the SIM card to different operators The signal parameters of different network formats determine the optimal operator of communication efficiency and the optimum network standard of the operator, avoid It is qualitative due to switching brought swinging of signal between the different network formats of artificial selection bring error and same operator And the influence of signal quality, improve communication efficiency and communication quality;Detect the connection status between SIM card and private network main website, generation For artificial joint debugging, maintenance work amoun is reduced.
In several embodiments provided herein, it should be understood that disclosed system and method can also pass through Other modes are realized.System embodiment described above is only schematical, for example, flow chart and structure in attached drawing Figure shows the system frame in the cards of the system of multiple embodiments according to the present invention, method and computer program product Structure, function and operation.In this regard, each box in flowchart or block diagram can represent a module, section or code A part, a part of the module, section or code includes one or more for implementing the specified logical function Executable instruction.It should also be noted that function marked in the box can also be to be different from the implementation as replacement The sequence marked in attached drawing occurs.For example, two continuous boxes can actually be basically executed in parallel, they are sometimes It can execute in the opposite order, this depends on the function involved.It is also noted that in structure chart and/or flow chart The combination of each box and the box in structure chart and/or flow chart, can function or movement as defined in executing it is dedicated Hardware based system realize, or can realize using a combination of dedicated hardware and computer instructions.
In addition, each functional module or unit in each embodiment of the present invention can integrate one independence of formation together Part, be also possible to modules individualism, an independent part can also be integrated to form with two or more modules.
It, can be with if the function is realized and when sold or used as an independent product in the form of software function module It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be intelligence Can mobile phone, personal computer, server or network equipment etc.) execute each embodiment the method for the present invention whole or Part steps.And storage medium above-mentioned include: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), Random access memory (RAM, Random Access Memory), magnetic or disk etc. be various to can store program code Medium.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.

Claims (10)

1. a kind of SIM card communication check method, which is characterized in that applied to the SIM card of at least two operators, this method packet It includes:
User is received to the operational order of the SIM card, wherein the operational order includes signal detection operational order and link Detect operational order;
When the operational order is signal detection operational order, the signal of the compatible different network formats of the SIM card is obtained Parameter, and the signal parameter is carried out default arithmetic operation and generates comprehensive parameters compares the comprehensive parameters and root The optimal SIM card of communication effect is selected according to comparing result;
When the operational order be link detecting operational order when, according to corresponding acknowledgement mechanism will include SIM card information and specially The handshaking information of the communications parameter at host station is sent to corresponding private network main website and receives the response result of the private network main website.
2. SIM card communication check method according to claim 1, which is characterized in that described " to carry out the comprehensive parameters To when according to the comparing result selection optimal SIM card of communication effect " after further include:
The SIM card is selected to correspond to the optimum network standard of operator according to all comprehensive parameters of the optimal SIM card.
3. SIM card communication check method according to claim 1, which is characterized in that the signal parameter includes that signal is strong Angle value, signal stabilization value and signal candidate value.
4. SIM card communication check method according to claim 3, which is characterized in that the signal stabilization value passes through variance It is described.
5. SIM card communication check method according to claim 3, which is characterized in that the signal candidate value by with institute The quantity for stating all base stations that SIM card is communicated is described.
6. SIM card communication check method according to claim 1, which is characterized in that the default operation includes:
Signal strength, signal stabilization value and signal candidate value are sought into weighted average according to predefined weight.
7. SIM card communication check method according to claim 1, which is characterized in that the communications parameter includes access point Title, default gateway, address and port numbers.
8. SIM card communication check method according to claim 1, which is characterized in that the communications parameter is to preset Or it is operated and is obtained according to the input of user.
9. SIM card communication check method according to claim 1, which is characterized in that described " to receive the private network main website After response result " further include:
The handshaking information and the response result are recorded, a link detecting is generated and records and stores.
10. a kind of SIM card communication check device, the SIM card applied at least two operators characterized by comprising
Receiving module, for receiving user to the operational order of the SIM card, wherein the operational order includes signal detection Operational order and link detecting operational order;
Signal detection module, when the operational order is signal detection operational order, the signal detection module is for obtaining The signal parameter of the compatible different network formats of the SIM card, and by the signal parameter carry out default arithmetic operation generate it is comprehensive Parameter is closed, the comprehensive parameters are compared and the optimal SIM card of communication effect is selected according to comparing result;
Link detection module, when the operational order is link detecting operational order, the link detection module is used for basis Handshaking information including SIM card information and the communications parameter of private network main website is sent to corresponding private network master by corresponding acknowledgement mechanism Stand and receive the response result of the private network main website.
CN201810884756.5A 2018-08-06 2018-08-06 SIM card communication check method and device Pending CN108990044A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810884756.5A CN108990044A (en) 2018-08-06 2018-08-06 SIM card communication check method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810884756.5A CN108990044A (en) 2018-08-06 2018-08-06 SIM card communication check method and device

Publications (1)

Publication Number Publication Date
CN108990044A true CN108990044A (en) 2018-12-11

Family

ID=64555085

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810884756.5A Pending CN108990044A (en) 2018-08-06 2018-08-06 SIM card communication check method and device

Country Status (1)

Country Link
CN (1) CN108990044A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110207776A (en) * 2019-06-28 2019-09-06 京源中科科技股份有限公司 Water meter, its data uploading method and equipment based on NB-IoT
CN110351707A (en) * 2019-08-22 2019-10-18 广东电网有限责任公司 A kind of metering automation terminal, metering system and metering method
CN111107597A (en) * 2019-12-28 2020-05-05 深圳市嘉创信息技术服务有限公司 Reliable switching method and device for communication module network

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1261170A1 (en) * 2001-05-24 2002-11-27 BRITISH TELECOMMUNICATIONS public limited company Method for providing network access to a mobile terminal and corresponding network
CN102413530A (en) * 2011-11-28 2012-04-11 华为终端有限公司 Multimode selection method and terminal
CN105025522A (en) * 2015-06-09 2015-11-04 国家电网公司 A power distribution automation system wireless communication channel automatic test system based on a Metlab
CN106817731A (en) * 2015-11-30 2017-06-09 华为终端(东莞)有限公司 The method for switching network and terminal device of terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1261170A1 (en) * 2001-05-24 2002-11-27 BRITISH TELECOMMUNICATIONS public limited company Method for providing network access to a mobile terminal and corresponding network
CN102413530A (en) * 2011-11-28 2012-04-11 华为终端有限公司 Multimode selection method and terminal
CN105025522A (en) * 2015-06-09 2015-11-04 国家电网公司 A power distribution automation system wireless communication channel automatic test system based on a Metlab
CN106817731A (en) * 2015-11-30 2017-06-09 华为终端(东莞)有限公司 The method for switching network and terminal device of terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
池智伟 等: "运用Wireshark排查GPRS终端通信故障的高级分析技术", 《电力系统通信》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110207776A (en) * 2019-06-28 2019-09-06 京源中科科技股份有限公司 Water meter, its data uploading method and equipment based on NB-IoT
CN110351707A (en) * 2019-08-22 2019-10-18 广东电网有限责任公司 A kind of metering automation terminal, metering system and metering method
CN111107597A (en) * 2019-12-28 2020-05-05 深圳市嘉创信息技术服务有限公司 Reliable switching method and device for communication module network

Similar Documents

Publication Publication Date Title
CN108990044A (en) SIM card communication check method and device
CN103906112B (en) The analysis method and system of COMMUNICATION NETWORK PERFORMANCES
CN108810955B (en) A kind of configuration method, node and the terminal at measurement interval
CN108184247A (en) Communication means, device, communication equipment and readable storage medium storing program for executing
CN103731865A (en) Wireless network coverage blind zone statistical method, mobile terminal and system
CN103067928A (en) Network coverage quality analytical method and system
CN106411627A (en) Network connection detection method and apparatus
CN106231595A (en) A kind of hotspot system of selection and system
CN108337125A (en) Intelligent hardware devices test method, cloud platform and background controller
CN109981196B (en) Network structure evaluation method and device
CN108770075A (en) network connection control method, mobile terminal and computer readable storage medium
CN108990077A (en) SIM card signal detecting method, device and terminal
CN113747482A (en) Method, system and terminal equipment for detecting and analyzing service network
CN110392162A (en) Environmental monitoring platform based on signal analysis
CN208445760U (en) SIM card communication check instrument
CN114167132A (en) Power consumption detection method and device of wireless terminal, electronic equipment and storage medium
CN106998563A (en) A kind of room subsystem method for early warning and device based on network performance
CN116436823B (en) State monitoring method of intelligent network card and related equipment
CN113283779A (en) Accurate analysis algorithm for positioning electricity stealing loss
CN105159806A (en) Terminal compatibility test system and operating method therefor
CN112202951A (en) Mobile phone compatibility testing method and related device
CN107360295A (en) A kind of test main frame and method
CN111007363A (en) Transmission line fault monitoring device, method and equipment and storage medium
CN111352763B (en) Information processing method and related product
CN107612634B (en) Antenna fault detection method and 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181211