CN106792635A - A kind of device and method for accessing data network - Google Patents

A kind of device and method for accessing data network Download PDF

Info

Publication number
CN106792635A
CN106792635A CN201611127914.XA CN201611127914A CN106792635A CN 106792635 A CN106792635 A CN 106792635A CN 201611127914 A CN201611127914 A CN 201611127914A CN 106792635 A CN106792635 A CN 106792635A
Authority
CN
China
Prior art keywords
mbn
efs
parameters
file
modem
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
CN201611127914.XA
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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201611127914.XA priority Critical patent/CN106792635A/en
Publication of CN106792635A publication Critical patent/CN106792635A/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
    • H04W8/183Processing at user equipment or user record carrier
    • 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 device and method for accessing data network, described device includes:Detection module, control module and processing module;Detection module, in the corresponding MBN deactivation processes of the first SIM, and in the corresponding 2nd MBN activations of the second SIM, when NV parameters or EFS file exceptions that the 2nd MBN includes is detected, sends triggering command to control module;Control module, for restarting modem Modem subsystems according to triggering command, or control Modem configuration modules reacquire NV parameter and the EFS file related to the 2nd MBN;Processing module, for making the second SIM be linked into data network according to the NV parameters reloaded and initialize and EFS files for restarting the acquisition of Modem subsystems, or the NV parameter related to the 2nd MBN and EFS files that are reacquired according to Modem configuration modules.

Description

A kind of device and method for accessing data network
Technical field
The present invention relates to intelligent terminal technical field, espespecially a kind of device and method for accessing data network.
Background technology
At present, the logical mobile phone of the whole network of double-card dual-standby, all supports the client identification module of Domestic Carriers substantially (Subscriber Identification Module, SIM) hot plug, switching of data service etc. is operated, particularly China Telecommunications (China Telecom, CT) block with China Mobile (China MobileCommunication Corporation, CMCC) card, CHINAUNICOM (China Unicom, CU) card can simultaneously be used, and can serve as main card (data service cards) Use.
Current SIM card is that specific fortune corresponding with SIM is configured in mobile phone with the implementation method that operator mutually binds Seek non-volatile memory (NV, Non-volatile) parameter, embedded file system (EFS, the Embedded File of business System) file and application program (APP, Application), enable mobile phone to access the network of the operator of binding and add Carry the APP of the operator.NV parameters refer to the corresponding configuration parameter of each module of preservation in mobile phone, such as marking mobile phone to permit Perhaps carrier network registered etc.;EFS files are for accessing the ID card No. of mobile phone, wireless network card physical address and net The important information component that network is set.NV parameters and EFS files are the significant components of the network that access carrier is provided.
And different types of SIM, CT cards as described above, CMCC, CU card, when mobile phone runs, the parameter of configuration It is incomplete same.In hot plug process, particularly there is the process of changing card, the modem configuration that is activated before card is such as changed When binary file (Modem Configuration Binary, MBN) is inconsistent with MBN needed for current hot plug card, relate to And the operation such as deactivation, the activation to MBN, during this, it is related to the renewal operation of NV parameters, EFS files etc..In MBN During deactivating and activating, hung up if there is MBN, search tactful associated documents (the such as policyman file) hang-up of net (suspended) abnormal conditions such as, after SIM completes initialization, it will the situation that can not search net occur, and, if having Searching the related configuration file loading error of net possibly even causes to crash.
The content of the invention
The following is the general introduction of the theme to describing in detail herein.This general introduction is not to limit the protection model of claim Enclose.
A kind of device and method for accessing data network is the embodiment of the invention provides, can realize activating and going in MBN In activation, when related NV parameters and EFS files occur abnormal, it is ensured that mobile phone normally accesses data network.
To achieve these goals, a kind of device for accessing data network is the embodiment of the invention provides, including:Detection mould Block, control module and processing module;
The detection module, in the corresponding MBN deactivation processes of the first SIM, and in the second SIM In corresponding 2nd MBN activations, when NV parameters or EFS file exceptions that the 2nd MBN includes is detected, send triggering and refer to Make control module;
The control module, for restarting modem Modem subsystems, or control Modem according to triggering command Configuration module reacquires NV parameter and the EFS file related to the 2nd MBN;
The processing module, for according to the 2nd MBN for reloading and the initializing ginsengs for restarting the acquisition of Modem subsystems The included NV parameters of number and EFS files make the second SIM be linked into data network, or according to Modem configuration module weights The new NV parameter related to the 2nd MBN for obtaining and EFS files make the second SIM be linked into data network.
Optionally, the detection module detects the NV parameters or EFS file exceptions that the 2nd MBN includes, including following Any combination of one or two kinds of case above:
File status are abnormal, file integrality is abnormal, file generated exception, and file is in suspended state, and client is to text Part does not recover.
Optionally, the control module restarts Modem subsystems according to triggering command, including:
Control application processor AP issues Modem subsystem instruction of restarting, NV parameters included by the 2nd MBN and EFS files are reloaded and initialized.
Optionally, the control module control Modem configuration modules reacquire the NV parameter related to the 2nd MBN With EFS files, including:
Control Modem configuration modules notify the client of each submodule, the client of each submodule reacquire with 2nd MBN related NV parameters and EFS files.
Optionally,
The detection module, is additionally operable to be reacquired and the 2nd MBN phases when control module control Modem configuration modules The NV parameters and EFS files of pass, the NV parameters and EFS files for detecting reacquisition are normal, send networking instruction to treatment mould Block;
The processing module, after receiving the networking instruction, according to Modem configuration modules reacquisition and second MBN related NV parameters and EFS files makes the second SIM be linked into data network.
To achieve these goals, the embodiment of the present invention additionally provides a kind of method for accessing data network, methods described Including:
In the corresponding MBN deactivation processes of the first SIM, and in the corresponding 2nd MBN activation of the second SIM During, when NV parameters or EFS file exceptions that the 2nd MBN includes is detected, send triggering command;
Modem subsystems are restarted according to the triggering command, or control Modem configuration modules are reacquired and second MBN related NV parameters and EFS files;
NV parameters according to included by restarting the 2nd MBN parameters reloaded and initialize of Modem subsystems acquisition And EFS files make the second SIM be linked into data network, or according to the reacquisition of Modem configuration modules and the 2nd MBN Related NV parameters and EFS files makes the second SIM be linked into data network.
Optionally, it is described to detect NV parameters or EFS file exceptions that the 2nd MBN includes including following a kind of or Any combination of two or more situations:
File status are abnormal, file integrality is abnormal, file generated exception, and file is in suspended state, and client is to text Part does not recover.
Optionally, it is described that Modem subsystems are restarted according to triggering command, including:
Control AP issues Modem subsystem instruction of restarting, and the NV parameters and EFS files included by the 2nd MBN add again Carry and initialize.
Optionally, the control Modem configuration modules reacquire NV parameter and the EFS file related to the 2nd MBN, bag Include:
Control Modem configuration modules notify that the client of the client of each submodule, each submodule reacquires phase Close NV parameters and EFS files.
Optionally, methods described also includes:
When control Modem configuration modules reacquire NV parameter and the EFS file related to the 2nd MBN, detect again The NV parameters and EFS files of acquisition are normal, send networking instruction;
According to it is described networking instruction, and according to Modem configuration modules reacquire the NV parameter related to the 2nd MBN and EFS files make the second SIM be linked into data network.
The embodiment of the present invention also provides a kind of computer-readable recording medium, and be stored with computer executable instructions, described The above method is realized when computer executable instructions are performed.
Compared with prior art, it is provided in an embodiment of the present invention access data network device and method, MBN activation and In deactivation process, when related NV parameters and EFS files occur abnormal, updated by modem or modem Subsystem restarts the mode of (Subsystem restart, SSR), reconfigures relevant parameter, it is ensured that mobile phone normally accesses data Network.
After reading and understanding accompanying drawing and describing in detail, it can be appreciated that other aspects.
Brief description of the drawings
Accompanying drawing is used for providing further understanding technical scheme, and constitutes a part for specification, with this The embodiment of application is used to explain together the technical scheme of the application, does not constitute the limitation to technical scheme.Attached In figure:
Fig. 1 is an optional hardware architecture diagram for optional mobile terminal for realizing the embodiment of the present invention;
Fig. 2 is the schematic diagram of the device of access data network provided in an embodiment of the present invention;
Fig. 3 is the method flow diagram of access data network provided in an embodiment of the present invention;
Fig. 4 is the method flow diagram of the access data network of present application example one.
Fig. 5 is the method flow diagram of the access data network of present application example two.
The realization of the application purpose, functional characteristics and advantage will be described further referring to the drawings in conjunction with the embodiments.
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.
The mobile terminal of each embodiment of the invention is realized referring now to Description of Drawings.In follow-up description, use For represent element such as " module ", " part " or " unit " suffix only for being conducive to the explanation of the application, itself Not specific meaning.Therefore, " module " can be used mixedly with " part ".
Mobile terminal can be implemented in a variety of manners.For example, the terminal described in the embodiment of the present invention can include it is all Such as mobile phone, smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (flat board electricity Brain), PMP (portable media player), the mobile terminal of guider etc..
Fig. 1 is an optional hardware architecture diagram for optional mobile terminal for realizing the embodiment of the present invention.
Mobile terminal 1 00 can include wireless communication unit 110, A/V (audio/video) input block 120, user input Unit 130, sensing unit 140, output unit 150, memory 160, interface unit 170, controller 180 and power subsystem 190 Etc..Fig. 1 shows the mobile terminal with various assemblies, it should be understood that being not required for implementing all groups for showing Part.More or less component can alternatively be implemented.The element of mobile terminal will be discussed in more detail below.
Wireless communication unit 110 generally includes one or more assemblies, and it allows mobile terminal 1 00 and wireless communication system Or the radio communication between network.For example, wireless communication unit can include broadcasting reception module 111, mobile communication module 112nd, at least one of wireless Internet module 113, short range communication module 114 and location information module 115.
Broadcasting reception module 111 receives broadcast singal and/or broadcast via broadcast channel from external broadcast management server Relevant information.Broadcast channel can include satellite channel and/or terrestrial channel.Broadcast management server can be generated and sent The broadcast singal and/or broadcast related information generated before the server or reception of broadcast singal and/or broadcast related information And send it to the server of terminal.Broadcast singal can include TV broadcast singals, radio signals, data broadcasting Signal etc..And, broadcast singal may further include the broadcast singal combined with TV or radio signals.Broadcast phase Pass information can also be provided via mobile communications network, and in this case, broadcast related information can be by mobile communication mould Block 112 is received.Broadcast singal can exist in a variety of manners, for example, it can be with the electronics of DMB (DMB) The form of program guide (EPG), the electronic service guidebooks (ESG) of digital video broadcast-handheld (DVB-H) etc. and exist.Broadcast Receiver module 111 can receive signal and broadcast by using various types of broadcast systems.Especially, broadcasting reception module 111 Can be wide by using such as multimedia broadcasting-ground (DMB-T), DMB-satellite (DMB-S), digital video Broadcast-hand-held (DVB-H), forward link media (MediaFLO@) Radio Data System, received terrestrial digital broadcasting integrated service Etc. (ISDB-T) digit broadcasting system receives digital broadcasting.Broadcasting reception module 111 may be constructed such that and be adapted to provide for extensively Broadcast the various broadcast systems and above-mentioned digit broadcasting system of signal.Via broadcasting reception module 111 receive broadcast singal and/ Or broadcast related information can be stored in memory 160 (or other types of storage medium).
Mobile communication module 112 sends radio signals to base station (for example, access point, node B etc.), exterior terminal And at least one of server and/or receive from it radio signal.Such radio signal can be logical including voice Words signal, video calling signal or the various types of data for sending and/or receiving according to text and/or Multimedia Message.
Wireless Internet module 113 supports the Wi-Fi (Wireless Internet Access) of mobile terminal.The module can be internally or externally It is couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by the module can include WLAN (WLAN) (Wi-Fi), Wibro (WiMAX), Wimax (worldwide interoperability for microwave accesses), HSDPA (high-speed downlink packet access) etc..
Short range communication module 114 is the module for supporting junction service.Some examples of short-range communication technology include indigo plant ToothTM, radio frequency identification (RFID), Infrared Data Association (IrDA), ultra wide band (UWB), purple honeybeeTMEtc..
Location information module 115 is the module for checking or obtaining the positional information of mobile terminal.Location information module Typical case be GPS (global positioning system).According to current technology, GPS module 115 is calculated and comes from three or more satellites Range information and correct time information and the Information application triangulation for calculating, so as to according to longitude, latitude Highly accurately calculate three-dimensional current location information.Currently, defended using three for calculating the method for position and temporal information Star and the position that is calculated by using other satellite correction and the error of temporal information.Additionally, GPS module 115 Can be by Continuous plus current location information in real time come calculating speed information.
A/V input blocks 120 are used to receive audio or video signal.A/V input blocks 120 can include the He of camera 121 Microphone 1220, the static map that 121 pairs, camera is obtained in Video Capture pattern or image capture mode by image capture apparatus The view data of piece or video is processed.Picture frame after treatment may be displayed on display unit 151.At camera 121 Picture frame after reason can be stored in memory 160 (or other storage mediums) or carried out via wireless communication unit 110 Send, two or more cameras 1210 can be provided according to the construction of mobile terminal.Microphone 122 can be in telephone relation mould Sound (voice data) is received via microphone in formula, logging mode, speech recognition mode etc. operational mode, and can be by Such acoustic processing is voice data.Audio (voice) data after treatment can be changed in the case of telephone calling model For the form that can be sent to mobile communication base station via mobile communication module 112 is exported.Microphone 122 can implement all kinds Noise eliminate (or suppress) algorithm eliminating (or suppression) in the noise for receiving and producing during sending audio signal or Person disturbs.
User input unit 130 can generate key input data to control each of mobile terminal according to the order of user input Plant operation.User input unit 130 allows the various types of information of user input, and can include keyboard, metal dome, touch Plate (for example, detection due to being touched caused by resistance, pressure, electric capacity etc. change sensitive component), roller, rocking bar etc. Deng.Especially, when touch pad is superimposed upon on display unit 151 in the form of layer, touch-screen can be formed.
Sensing unit 140 detects the current state of mobile terminal 1 00, (for example, mobile terminal 1 00 opens or closes shape State), the presence or absence of the contact (that is, touch input) of the position of mobile terminal 1 00, user for mobile terminal 1 00, mobile terminal The acceleration or deceleration movement of 100 orientation, mobile terminal 1 00 and direction etc., and generate for controlling mobile terminal 1 00 The order of operation or signal.For example, when mobile terminal 1 00 is embodied as sliding-type mobile phone, sensing unit 140 can be sensed The sliding-type phone is opened or closed.In addition, sensing unit 140 can detect power subsystem 190 whether provide electric power or Whether person's interface unit 170 couples with external device (ED).Sensing unit 140 can will be combined below including proximity transducer 1410 Touch-screen is described to this.
Interface unit 170 is connected the interface that can pass through with mobile terminal 1 00 as at least one external device (ED).For example, External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing Line FPDP, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Identification module can be that storage uses each of mobile terminal 1 00 for verifying user Kind of information and subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) can be included Etc..In addition, the device (hereinafter referred to as " identifying device ") with identification module can take the form of smart card, therefore, know Other device can be connected via port or other attachment means with mobile terminal 1 00.Interface unit 170 can be used for reception and come from The input (for example, data message, electric power etc.) of the external device (ED) and input that will be received is transferred in mobile terminal 1 00 One or more elements can be used for transmitting data between mobile terminal and external device (ED).
In addition, when mobile terminal 1 00 is connected with external base, interface unit 170 can serve as allowing by it by electricity Power provides to the path of mobile terminal 1 00 from base or can serve as allowing the various command signals being input into from base to pass through it It is transferred to the path of mobile terminal.Be can serve as recognizing that mobile terminal is from the various command signals or electric power of base input The no signal being accurately fitted within base.Output unit 150 is configured to provide defeated with vision, audio and/or tactile manner Go out signal (for example, audio signal, vision signal, alarm signal, vibration signal etc.).Output unit 150 can include display Unit 151, dio Output Modules 152, alarm unit 153 etc..
Display unit 151 may be displayed on the information processed in mobile terminal 1 00.For example, when mobile terminal 1 00 is in electricity During words call mode, display unit 151 can show and converse or other communicate (for example, text messaging, multimedia file Download etc.) related user interface (UI) or graphic user interface (GUI).When mobile terminal 1 00 is in video calling pattern Or during image capture mode, display unit 151 can show the image of capture and/or the image of reception, show video or figure UI or GUI of picture and correlation function etc..
Meanwhile, when display unit 151 and touch pad in the form of layer it is superposed on one another to form touch-screen when, display unit 151 can serve as input unit and output device.Display unit 151 can include liquid crystal display (LCD), thin film transistor (TFT) In LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. at least It is a kind of.Some in these displays may be constructed such that transparence to allow user to be watched from outside, and this is properly termed as transparent Display, typical transparent display can be, for example, TOLED (transparent organic light emitting diode) display etc..According to specific Desired implementation method, mobile terminal 1 00 can include two or more display units (or other display devices), for example, moving Dynamic terminal can include outernal display unit (not shown) and inner display unit (not shown).Touch-screen can be used to detect touch Input pressure and touch input position and touch input area.
Dio Output Modules 152 can mobile terminal be in call signal reception pattern, call mode, logging mode, It is that wireless communication unit 110 is received or in memory 160 when under the isotypes such as speech recognition mode, broadcast reception mode The voice data transducing audio signal of middle storage and it is output as sound.And, dio Output Modules 152 can be provided and movement The audio output (for example, call signal receives sound, message sink sound etc.) of the specific function correlation that terminal 100 is performed. Dio Output Modules 152 can include loudspeaker, buzzer etc..
Alarm unit 153 can provide output and be notified to mobile terminal 1 00 with by event.Typical event can be with Including calling reception, message sink, key signals input, touch input etc..In addition to audio or video is exported, alarm unit 153 can in a different manner provide output with the generation of notification event.For example, alarm unit 153 can be in the form of vibrating Output is provided, when calling, message or some other entrance communication (incoming communication) are received, alarm list Unit 153 can provide tactile output (that is, vibrating) to notify to user.Exported by providing such tactile, even if When in pocket of the mobile phone of user in user, user also can recognize that the generation of various events.Alarm unit 153 The output of the generation of notification event can be provided via display unit 151 or dio Output Modules 152.
Memory 160 can store software program for the treatment and control operation performed by controller 180 etc., Huo Zheke Temporarily to store oneself data (for example, telephone directory, message, still image, video etc.) through exporting or will export.And And, memory 160 can store the vibration of various modes on being exported when touching and being applied to touch-screen and audio signal Data.
Memory 160 can include the storage medium of at least one type, and the storage medium includes flash memory, hard disk, many Media card, card-type memory (for example, SD or DX memories etc.), random access storage device (RAM), static random-access storage Device (SRAM), read-only storage (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc..And, mobile terminal 1 00 can perform memory with by network connection The network storage device cooperation of 160 store function.
The overall operation of the generally control mobile terminal of controller 180.For example, controller 180 is performed and voice call, data Communication, video calling etc. related control and treatment.In addition, controller 180 can be included for reproducing (or playback) many matchmakers The multi-media module 1810 of volume data, multi-media module 1810 can be constructed in controller 180, or can be structured as and control Device processed 180 is separated.Controller 180 can be with execution pattern identifying processing, the handwriting input that will be performed on the touchscreen or figure Piece draws input and is identified as character or image.
Power subsystem 190 receives external power or internal power under the control of controller 180 and provides operation each unit Appropriate electric power needed for part and component.
Various implementation methods described herein can be with use such as computer software, hardware or its any combination of calculating Machine computer-readable recording medium is implemented.Implement for hardware, implementation method described herein can be by using application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can Programming gate array (FPGA), processor, controller, microcontroller, microprocessor, it is designed to perform function described herein At least one in electronic unit is implemented, and in some cases, such implementation method can be implemented in controller 180. For software implementation, the implementation method of such as process or function can with allow to perform the single of at least one function or operation Software module is implemented.Software code can be come by the software application (or program) write with any appropriate programming language Implement, software code can be stored in memory 160 and performed by controller 180.
So far, oneself according to its function through describing mobile terminal.Below, for the sake of brevity, will description such as board-type, Straight plate type mobile terminal in various types of mobile terminals of oscillating-type, slide type mobile terminal etc. is as an example.This hair Bright embodiment can be applied to polytype mobile terminal, and be not limited to straight plate type mobile terminal.
Based on above-mentioned mobile terminal hardware configuration, the device and method of the access data network of the embodiment of the present invention is proposed Each embodiment.
Fig. 2 is the schematic diagram of the device of access data network provided in an embodiment of the present invention, and the device can be carried on hand On the mobile terminals such as machine.As shown in Fig. 2 the device of the access data network that the present embodiment is provided, including:Detection module, control Module and processing module;
The detection module, in the corresponding MBN deactivation processes of the first SIM, and in the second SIM In corresponding 2nd MBN activations, when NV parameters or EFS file exceptions that the 2nd MBN includes is detected, send and touch Send instructions to control module;
The control module, for restarting Modem (modem) subsystem, or control according to the triggering command Modem configuration modules reacquire NV parameter and the EFS file related to the 2nd MBN;
The processing module, for being wrapped according to the 2nd MBN parameters for reinitializing for restarting the acquisition of Modem subsystems The NV parameters and EFS files for including make the second SIM be linked into data network, or are reacquired according to Modem configuration modules The NV parameter related to the 2nd MBN and EFS files the second SIM is linked into data network.
In implementing, mobile terminal stores the MBN files of each operator, is preserved in the MBN files of each operator The NV parameters and EFS files of correspondence operator.If for example, the operator that mobile terminal is preserved includes the first operator, second Operator and the 3rd operator, then mobile terminal preserve respectively the MBN files of the first operator, the second operator MBN text Part and the MBN files of the 3rd operator.Wherein, in the MBN files of the first operator the NV parameters including the first operator with And EFS files;NV parameters and EFS files including the second operator in the MBN files of the second operator;3rd operator Then include the NV parameters and EFS files of the 3rd operator in MBN files.Mobile terminal is activating the MBN files of the operator Afterwards, the NV parameters of the operator according to belonging to SIM and EFS files access the data network that the operator belonging to SIM provides Network.
In the present embodiment, the deactivation, refer to disconnect the first SIM data network connection, make the first SIM without Method by data network need the Business Processing of data network again.
Can be by DDS (the Dual Data State, double card data corresponding to the first SIM of detection and the second SIM State) whether the state of machine judge the first SIM and the second SIM in deactivating or state of activation.Wherein, DDS machines, Refer to double card data state machine, can be used to embody the data use state of SIM.
Status information according to the first SIM and the data state machine of the second SIM can be accurately judged to the first SIM And second SIM whether deactivated or activated.And follow-up operation is selected according to the deactivation judged result.Can The wasting of resources for avoiding erroneous judgement from causing follow-up unnecessary treatment to bring.
In the present embodiment, the detection module detects NV parameters that the 2nd MBN includes or EFS files are different Often, including following one or two kinds of case above any combination:
File status are abnormal, file integrality is abnormal, file generated exception, and file is in suspended state, and client is to text Part does not recover.
In the present embodiment, the control module restarts Modem subsystems according to triggering command, including:
Control AP (application processor) issues Modem subsystem instruction of restarting, when Modem subsystems are restarted, Modem The parameter of each submodule and client (Client) is initialized, NV parameters and EFS file weights included by the 2nd MBN New loading and initialization;
Specifically, restarted according to the 2nd MBN Parameter File sending modems that the second SIM is matched by AP lateral roots Order, the 2nd MBN Parameter Files will be activated after modem is restarted, and a MBN Parameter Files enter un-activation shape State, subsequently into searching the net stage, mobile terminal after the 2nd MBN files are activated, the NV parameters according to included by the 2nd MBN files And EFS files access data network, that is, realize the NV parameters and EFS files of operator according to belonging to the second SIM Access the network that the operator belonging to the second SIM provides.
In the present embodiment, by restarting modem, the network parameter file second that the second SIM of activation is matched MBN, then according to activation after the 2nd MBN re-start and search net operation, to access corresponding data network.So by again The method of initialization, it is to avoid deactivate in a MBN, in the 2nd MBN activations due to the extremely caused access number of file According to the problem of network failure.
In the present embodiment, the control module control Modem configuration modules reacquire the NV related to current SIM card Parameter and EFS files, including:
Control Modem configurations (Modem configure, MCFG) module notifies each client of each MCFG submodules, Reacquire correlation NV parameters and EFS files.
In the present embodiment, the detection module, is additionally operable to reacquire correlation when each client of MCFG submodules NV parameters and EFS files, the NV parameters and EFS files for detecting reacquisition are normal, send networking instruction to processing module;
The processing module, after receiving the networking instruction, according to Modem configuration modules reacquisition and second MBN related NV parameters and EFS files makes the second SIM be linked into data network.
In the present embodiment, correlation NV parameters and EFS files are reacquired by each client of MCFG submodules, It is normal, it is necessary to further detected in order to ensure the related NV parameters that reacquire and EFS files, when detecting reacquisition NV parameters and EFS files it is normal, send networking instruction to processing module, after processing module receives the networking instruction, according to The NV parameter related to the 2nd MBN and EFS files that Modem configuration modules are reacquired make the second SIM be linked into data network Network.Such implementation method, increased the reliability of data renewal, reduce further the risk of networking failure.
In the present embodiment, because MBN files include the NV parameters of operator and EFS files, mobile terminal can be by The NV parameters and EFS files of the operator that MBN files include distinguish in typing mobile terminal for storing NV parameters Module and in the module for storing EFS files.Each client of each MCFG modules can to search in memory module with 2nd MBN related NV parameters and EFS files.
In the prior art, because a SIM card can only configure the NV parameters of operator, an EFS files, in order to be able to make Second SIM of two operators remains to be linked into data network, it is necessary to deactivate the in mobile phone after mobile terminal is inserted The NV parameters of one operator, EFS files, and activate NV parameters, the EFS files of the second operator.When user carries out hot plug card When, if because exception occur in MBN activation and deactivation process, these exceptions often lead to not search net, the serious problems such as deadlock, In the embodiment of the present invention, by the inspection of the files such as crucial NV, EFS, in initialization procedure, by reinitializing related ginseng Count the problem to avoid prior art from existing.
The embodiment of the present invention preserves the NV parameters and EFS files of each operator by using MBN files, can basis Operator's informaiton belonging to SIM finds corresponding MBN files, and deactivates and activate the NV ginsengs preserved in the MBN files Number and EFS files, determine NV parameters and EFS file exceptions in deactivation and activation, reload MBN files The NV parameters for inside including are accessed with EFS files, the EFS files of NV parameters and operator according to the operator after reloading The network that operator belonging to SIM provides, its access procedure simple and fast.
In MBN activation and deactivation process, related NV parameters and EFS file configurations etc. abnormal the embodiment of the present invention occur When, the mode of (Subsystem restart, SSR), weight are restarted by modem renewal or modem subsystem New configuration relevant parameter, it is ensured that mobile phone normally accesses data network.
The device of hardware configuration and access data network based on above-mentioned mobile terminal, proposes connecing for the embodiment of the present invention The method for entering data network.
Fig. 3 is the method flow diagram of access data network provided in an embodiment of the present invention.As shown in figure 3, the present embodiment is carried The method of the access data network of confession, is applied in the mobile terminals such as mobile phone, the described method comprises the following steps:
In the corresponding MBN deactivation processes of the first SIM, and in the corresponding 2nd MBN activation of the second SIM During, when NV parameters or EFS file exceptions that the 2nd MBN includes is detected, send triggering command;
Modem subsystems are restarted according to the triggering command, or control Modem configuration modules are reacquired and described the Two MBN related NV parameters and EFS files;
NV parameters and EFS according to included by restarting the 2nd MBN parameters for reinitializing of Modem subsystems acquisition File makes the second SIM be linked into data network, or according to the related to the 2nd MBN of Modem configuration modules reacquisition NV parameters and EFS files make the second SIM be linked into data network.
In the present embodiment, it is described to detect NV parameters or EFS file exceptions that the 2nd MBN includes, including with next Any combination of kind or two or more situations:
File status are abnormal, file integrality is abnormal, file generated exception, and file is in suspended state, and client is to text Part does not recover.
In the present embodiment, it is described that Modem subsystems are restarted according to triggering command, including:
Control AP issues Modem subsystem instruction of restarting, and the NV parameters and EFS files included by the 2nd MBN add again Carry and initialize.
In the present embodiment, the control Modem configuration modules reacquire the NV parameter related to current SIM card and EFS files, including:
Control Modem configuration modules notify each client of each MCFG submodules, reacquire correlation NV parameters and EFS File.
In the present embodiment, methods described also includes:
When each client of MCFG submodules reacquires correlation NV parameters and EFS files, reacquisition is detected NV parameters and EFS files are normal, send networking instruction;
According to it is described networking instruction, and according to Modem configuration modules reacquire the NV parameter related to the 2nd MBN and EFS files make the second SIM be linked into data network.
The treatment details of other methods on the access data network is referred to the dress of above-mentioned access data network The description put, therefore repeated no more in this.
The application of the present processes embodiment is illustrated below by way of multiple examples.
Example one:
Fig. 4 is the method flow diagram of the access data network of present application example one.As shown in figure 4, the side that this example is provided Method is comprised the following steps:
Step 401:SIM is inserted into terminal;
Step 402:Judge whether original MBN matches with the type of current SIM card, be then to perform step 407, otherwise perform step Rapid 403;
Step 403:Deactivate original MBN;
Step 404:Select and activate current MBN;
Step 405:Judge whether key NV parameter items and EFS files are normal, are then to perform step 407, otherwise perform step Rapid 406;
Step 406:Modem configuration modules update or restart Modem subsystems;
Step 407:Perform activation card, search net, registered network operation.
Specifically, a flag bit Flag can be set when implementing, and initial value is flag=0.For example, working as In preceding MBN (i.e. the 2nd MBN) activation, inspection of the increase to policyman files, the state comprising policyman files, The integrality of policyman files, former MBN (i.e. a MBN) deactivates and whether there is exception in current MBN activations, With the presence or absence of exception, whether policyman's is in suspended states to MBN generation policyman, and other client are No situation for not recovering (resume) also to policyman etc.;If in MBN deactivations with the 2nd MBN activations, There is exception in policyman, then flag=1.
For the platform that (SSR) scheme is restarted using Modem subsystems, issued by AP (application processor) side The instruction that Modem subsystems are restarted, when Modem subsystems are restarted, the parameter of each submodule of Modem and client (Client) Initialized, MBN parameters are reloaded and initialized;
For the platform using Modem refresh schemes, then (modemconfigure, MCFG) mould is configured by modem Block is initiated, while notifying each Client client of each MCFG modules, re-reads related NV parameters and EFS files, this During, if key NV parameters and EFS file checkings pass through, flag=0, terminal can carry out normal activation card, search net, Registered network etc..
Example two:
Fig. 5 is the method flow diagram of the access data network of present application example two.As shown in figure 5, the side that this example is provided Method is comprised the following steps:
Step 501:SIM is inserted into terminal;
Step 502:Judge whether original MBN matches with the type of current SIM card, be then to perform step 508, otherwise perform step Rapid 503;
Step 503:Deactivate original MBN;
Step 504:Select and activate current MBN;
Step 505:Judge whether key NV parameter items and EFS files are normal, are then to perform step 508, otherwise perform step Rapid 506;
Step 506:Modem configuration modules update or restart Modem subsystems;
Step 507:Judge whether key NV parameter items and EFS files are normal, are then to perform step 508, otherwise perform step Rapid 506;
Step 508:Perform activation card, search net, registered network operation.
In the present embodiment, after reacquiring correlation NV parameters and EFS files, in order to ensure the related NV ginsengs for reacquiring Count normal with EFS files, it is necessary to further be detected, when the NV parameters and EFS files that detect reacquisition are normal, according to The NV parameter related to the 2nd MBN and EFS files for reacquiring make the second SIM be linked into data network.Such implementation Mode, increased the reliability of data renewal, reduce further the risk of networking failure.
In the prior art, because a SIM card can only configure the NV parameters of operator, an EFS files, in order to be able to make Second SIM of two operators remains to be linked into data network, it is necessary to deactivate the in mobile phone after mobile terminal is inserted The NV parameters of one operator, EFS files, and activate NV parameters, the EFS files of the second operator.When user carries out hot plug card When, if because exception occur in MBN activation and deactivation process, these exceptions often lead to not search net, the serious problems such as deadlock, In the embodiment of the present invention, by the inspection of the files such as crucial NV, EFS, in initialization procedure, by reinitializing related ginseng Count the problem to avoid prior art from existing.
In MBN activation and deactivation process, related NV parameters and EFS file configurations etc. abnormal the embodiment of the present invention occur When, the mode of (Subsystem restart, SSR), weight are restarted by modem renewal or modem subsystem New configuration relevant parameter, it is ensured that mobile phone normally accesses data network.
Additionally, the embodiment of the present invention also provides a kind of computer-readable recording medium, be stored with computer executable instructions, The computer executable instructions realize above-mentioned method when being performed.
It should be noted that herein, term " including ", "comprising" or its any other variant be intended to non-row His property is included, so that process, method, article or device including a series of key elements not only include those key elements, and And also include other key elements being not expressly set out, or also include for this process, method, article or device institute are intrinsic Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Also there is other identical element in the process of key element, method, article or device.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably implementation method.Based on such understanding, technical scheme is substantially done to prior art in other words The part for going out contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are used to so that a station terminal equipment (can be mobile phone, computer, clothes Business device, air-conditioner, or network equipment etc.) perform method described in each embodiment of the invention.
The preferred embodiments of the present invention are these are only, the scope of the claims of the invention is not thereby limited, it is every to utilize this hair Equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.

Claims (10)

1. it is a kind of access data network device, it is characterised in that including:Detection module, control module and processing module;
The detection module, in the corresponding MBN deactivation processes of the first SIM and corresponding in the second SIM The 2nd MBN activations in, when NV parameters or EFS file exceptions that the 2nd MBN includes is detected, send triggering command to Control module;
The control module, for restarting modem Modem subsystems, or control Modem configurations according to triggering command Module reacquires NV parameter and the EFS file related to the 2nd MBN;
The processing module, for according to the 2nd MBN parameters institute reloaded and initialize for restarting the acquisition of Modem subsystems Including NV parameters and EFS files the second SIM is linked into data network, or obtained again according to Modem configuration modules The NV parameter related to the 2nd MBN and EFS files for taking make the second SIM be linked into data network.
2. device according to claim 1, it is characterised in that the detection module detects the NV ginsengs that the 2nd MBN includes Number or EFS file exceptions, including following one or two kinds of case above any combination:
File status are abnormal, file integrality is abnormal, file generated exception, and file is in suspended state, client to file not Recover.
3. device according to claim 1, it is characterised in that the control module restarts Modem according to triggering command System, including:
Control application processor AP issues Modem subsystem instruction of restarting, NV parameters and EFS included by the 2nd MBN File is reloaded and initialized.
4. device according to claim 1, it is characterised in that the control module control Modem configuration modules are obtained again NV parameter and the EFS file related to the 2nd MBN is taken, including:
Control Modem configuration modules notify the client of each submodule, the client of each submodule reacquire with it is described 2nd MBN related NV parameters and EFS files.
5. device according to claim 1, it is characterised in that
The detection module, is additionally operable to when control module control Modem configuration module reacquisitions are related to the 2nd MBN NV parameters and EFS files, the NV parameters and EFS files for detecting reacquisition are normal, send networking instruction to processing module;
The processing module, after receiving the networking instruction, according to the reacquisition of Modem configuration modules and the 2nd MBN Related NV parameters and EFS files makes the second SIM be linked into data network.
6. it is a kind of access data network method, it is characterised in that methods described includes:
In the corresponding MBN deactivation processes of the first SIM, and in the corresponding 2nd MBN activations of the second SIM In, when NV parameters or EFS file exceptions that the 2nd MBN includes is detected, send triggering command;
Modem subsystems are restarted according to the triggering command, or control Modem configuration modules are reacquired and the 2nd MBN phases The NV parameters and EFS files of pass;
According to restart Modem subsystems acquisition the 2nd MBN parameters reloaded and initialize included by NV parameters and EFS files make the second SIM be linked into data network, or according to the related to the 2nd MBN of Modem configuration modules reacquisition NV parameters and EFS files the second SIM is linked into data network.
7. method according to claim 6, it is characterised in that described to detect NV parameters or the EFS that the 2nd MBN includes File exception, including following one or two kinds of case above any combination:
File status are abnormal, file integrality is abnormal, file generated exception, and file is in suspended state, client to file not Recover.
8. method according to claim 6, it is characterised in that described that Modem subsystems are restarted according to triggering command, bag Include:
Control AP issue Modem subsystem instruction of restarting, the NV parameters and EFS files included by the 2nd MBN reload and Initialization.
9. method according to claim 6, it is characterised in that the control Modem configuration modules are reacquired and second MBN related NV parameters and EFS files, including:
Control Modem configuration modules notify that the client of the client of each submodule, each submodule reacquires correlation NV Parameter and EFS files.
10. method according to claim 6, it is characterised in that methods described also includes:
When control Modem configuration modules reacquire NV parameter and the EFS file related to the 2nd MBN, reacquisition is detected NV parameters and EFS files it is normal, send networking instruction;
According to the networking instruction, and according to the NV parameter related to the 2nd MBN and EFS of the reacquisition of Modem configuration modules File makes the second SIM be linked into data network.
CN201611127914.XA 2016-12-09 2016-12-09 A kind of device and method for accessing data network Pending CN106792635A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611127914.XA CN106792635A (en) 2016-12-09 2016-12-09 A kind of device and method for accessing data network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611127914.XA CN106792635A (en) 2016-12-09 2016-12-09 A kind of device and method for accessing data network

Publications (1)

Publication Number Publication Date
CN106792635A true CN106792635A (en) 2017-05-31

Family

ID=58877714

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611127914.XA Pending CN106792635A (en) 2016-12-09 2016-12-09 A kind of device and method for accessing data network

Country Status (1)

Country Link
CN (1) CN106792635A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108038015A (en) * 2017-12-08 2018-05-15 宇龙计算机通信科技(深圳)有限公司 The method, apparatus and terminal of write operation are carried out to NV
CN109890026A (en) * 2019-01-31 2019-06-14 维沃移动通信有限公司 A kind of file loading method and terminal device
CN110475241A (en) * 2019-08-08 2019-11-19 宇龙计算机通信科技(深圳)有限公司 Loading method, device and the electronic equipment of MBN file
CN112468979A (en) * 2019-09-06 2021-03-09 华为技术有限公司 SIM card drop recovery method of electronic equipment and electronic equipment
CN112533193A (en) * 2020-11-30 2021-03-19 福州汇思博信息技术有限公司 Configuration method and terminal for realizing different network requirements
CN112540777A (en) * 2020-10-29 2021-03-23 福建联迪商用设备有限公司 Method and terminal for supporting dynamic read-write of NV (network video) parameters
CN114416204A (en) * 2022-01-19 2022-04-29 上海龙旗科技股份有限公司 Method and equipment for reading PLMN configuration file by terminal equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013061275A1 (en) * 2011-10-28 2013-05-02 Renesas Mobile Corporation Processing system, wireless device and method
GB2499927A (en) * 2013-05-01 2013-09-04 Samsung Electronics Co Ltd Mobile device with faster reading/start-up from multiple Identity Module slots, Module/Modem association switching and SIM Toolkit command management
CN105101162A (en) * 2015-07-13 2015-11-25 广东欧珀移动通信有限公司 Method and device for automatically loading MBN (ModemConfiguration Binary File)
CN105530626A (en) * 2015-12-22 2016-04-27 东莞酷派软件技术有限公司 Network mode configuration method and mobile terminal
CN105828316A (en) * 2015-07-30 2016-08-03 维沃移动通信有限公司 Method for adapting subscriber identification module card and mobile terminal
CN105959451A (en) * 2016-06-29 2016-09-21 宇龙计算机通信科技(深圳)有限公司 MBN loading method and mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013061275A1 (en) * 2011-10-28 2013-05-02 Renesas Mobile Corporation Processing system, wireless device and method
GB2499927A (en) * 2013-05-01 2013-09-04 Samsung Electronics Co Ltd Mobile device with faster reading/start-up from multiple Identity Module slots, Module/Modem association switching and SIM Toolkit command management
CN105101162A (en) * 2015-07-13 2015-11-25 广东欧珀移动通信有限公司 Method and device for automatically loading MBN (ModemConfiguration Binary File)
CN105828316A (en) * 2015-07-30 2016-08-03 维沃移动通信有限公司 Method for adapting subscriber identification module card and mobile terminal
CN105530626A (en) * 2015-12-22 2016-04-27 东莞酷派软件技术有限公司 Network mode configuration method and mobile terminal
CN105959451A (en) * 2016-06-29 2016-09-21 宇龙计算机通信科技(深圳)有限公司 MBN loading method and mobile terminal

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108038015A (en) * 2017-12-08 2018-05-15 宇龙计算机通信科技(深圳)有限公司 The method, apparatus and terminal of write operation are carried out to NV
CN109890026A (en) * 2019-01-31 2019-06-14 维沃移动通信有限公司 A kind of file loading method and terminal device
CN109890026B (en) * 2019-01-31 2021-12-07 维沃移动通信有限公司 File loading method and terminal equipment
CN110475241A (en) * 2019-08-08 2019-11-19 宇龙计算机通信科技(深圳)有限公司 Loading method, device and the electronic equipment of MBN file
CN112468979A (en) * 2019-09-06 2021-03-09 华为技术有限公司 SIM card drop recovery method of electronic equipment and electronic equipment
WO2021042894A1 (en) * 2019-09-06 2021-03-11 华为技术有限公司 Method for recovering sim card of electronic device from card drop, and electronic device
CN112468979B (en) * 2019-09-06 2022-02-25 华为技术有限公司 SIM card drop recovery method of electronic equipment and electronic equipment
CN112540777A (en) * 2020-10-29 2021-03-23 福建联迪商用设备有限公司 Method and terminal for supporting dynamic read-write of NV (network video) parameters
CN112533193A (en) * 2020-11-30 2021-03-19 福州汇思博信息技术有限公司 Configuration method and terminal for realizing different network requirements
CN114416204A (en) * 2022-01-19 2022-04-29 上海龙旗科技股份有限公司 Method and equipment for reading PLMN configuration file by terminal equipment
CN114416204B (en) * 2022-01-19 2023-10-03 上海龙旗科技股份有限公司 Method and equipment for terminal equipment to read PLMN configuration file

Similar Documents

Publication Publication Date Title
CN106792635A (en) A kind of device and method for accessing data network
CN104915582B (en) unlocking method and device
CN104951206A (en) Icon hiding method and device
CN106909900A (en) fingerprint identification method and device
CN105120054B (en) Information processing method and mobile terminal
CN106506548A (en) The defence installation of cross-site scripting attack and method
CN106909851A (en) A kind of secure storage method of data and device
CN105094532A (en) Method and device for data access
CN104836884A (en) Standby unlocking method of mobile terminal, and mobile terminal
CN105573916B (en) Fault detection method and mobile terminal
CN106792713A (en) A kind of recognition methods of pseudo-base station note, mobile terminal and base station equipment
CN106648324A (en) Hidden icon operating method, device and terminal
CN106598538A (en) Method and system for updating instruction set
CN106488035A (en) A kind of mobile terminal and control method
CN106919840A (en) The detection method and device of a kind of Malware
CN106791195A (en) A kind of operation processing method and device
CN106658470A (en) Master card setting device and method
CN105120091A (en) Mobile terminal and maloperation prompting apparatus and method thereof
CN107092510A (en) Mobile terminal and its firmware upgrade method and device
CN104915103B (en) The method and mobile terminal of arranging desktop icons
CN106685925A (en) Antitheft tracing method and terminal
CN106792644A (en) Mobile terminal, server and information processing method
CN106569690A (en) Mistaken touch prevention device and method
CN104915299B (en) The date storage method and device of multi-memory card
CN104751074A (en) Image display processing 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: 20170531

RJ01 Rejection of invention patent application after publication