CN106507434A - A kind of data processing method and device - Google Patents

A kind of data processing method and device Download PDF

Info

Publication number
CN106507434A
CN106507434A CN201610932897.0A CN201610932897A CN106507434A CN 106507434 A CN106507434 A CN 106507434A CN 201610932897 A CN201610932897 A CN 201610932897A CN 106507434 A CN106507434 A CN 106507434A
Authority
CN
China
Prior art keywords
data
value
time
data communication
reinstalled
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.)
Granted
Application number
CN201610932897.0A
Other languages
Chinese (zh)
Other versions
CN106507434B (en
Inventor
陈忠平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Oneplus Technology Shenzhen Co Ltd
Original Assignee
Oneplus Technology Shenzhen 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 Oneplus Technology Shenzhen Co Ltd filed Critical Oneplus Technology Shenzhen Co Ltd
Priority to CN201610932897.0A priority Critical patent/CN106507434B/en
Publication of CN106507434A publication Critical patent/CN106507434A/en
Application granted granted Critical
Publication of CN106507434B publication Critical patent/CN106507434B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/17Selecting a data network PoA [Point of Attachment]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/19Connection re-establishment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/20Manipulation of established connections

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present patent application discloses a kind of data processing method and device, belongs to moving communicating field, and the method includes:When the system that detects starts for the first time or system is resumed Default Value or when system is reinstalled as quickly as possible, data communication facility is closed;When meeting pre-conditioned, turn-on data communication function, to obtain the data for Packet data service activation.The data processing equipment is the corresponding virtual bench of said method.By when system first time startup or system are resumed Default Value or system is reinstalled as quickly as possible, after postponing Preset Time, being then turned on data communication facility.The method and device that the application is provided can be avoided when the data for Packet data service activation are obtained, due to some service routines do not load complete and cause obtain for Packet data service activation error in data or unsuccessful acquisition be used for Packet data service activation data, and caused Packet data service activation request failure.

Description

A kind of data processing method and device
Technical field
The present invention relates to moving communicating field, in particular to a kind of data processing method and device.
Background technology
Swash in the packet data protocol (Packet Data Protocol, PDP) to mobile communication terminal (such as mobile phone) When living, can there is the situation of activation failure.For example, after mobile communication terminal start for the first time or factory reset are started shooting, by Loading sequencing in each service routine (for example, the Service components in android system) in mobile communication terminal Difference, exists between each service routine and relies on, when the information for PDP activation is obtained by each service routine, if Partial service program is not loaded and is completed, and causes that the information of PDP activation is not acquired or information is invalid, then cause PDP activation Failure.
For example, after mobile communication terminal start for the first time or factory reset start, for reading user's identification mould The service routine of the ICCID that block (Subscriber Identification Module, SIM) blocks is not loaded when completing, just Correct subid (ID that system is generated by ICCID) cannot be found, and causes PDP activation request failure.For another example, use National code (Mobile Country Code, MCC), operator's code in reading SIM card (Mobile Network Code, MNC service routine) is not loaded when completing, then exception just occurs when reading MCC, MNC, it is impossible to match and correctly connect Access point title (Access Point Name, APN), and cause PDP activation request failure.
Content of the invention
It is an object of the invention to provide a kind of data processing method and device, to improve above-mentioned problem.
In a first aspect, embodiments providing a kind of data processing method, mobile communication terminal is applied to.The side Method includes:When the system that detects starts for the first time or system is resumed Default Value or when system is reinstalled as quickly as possible, data are closed Communication function;When meeting pre-conditioned, turn-on data communication function, to obtain the data for Packet data service activation.
Further, after the step of described closing data communication facility, methods described also includes:Turn-on data is communicated Before function, the data for Packet data service activation obtained before data communication facility is closed of storage are deleted.
Further, startup or system are resumed Default Value or system by again to the described system that detects of working as the first time During installation, before closing data communication facility, methods described also includes:Judge that whether the state value that pre-sets is first to preset Value, if the state value is not the first preset value, it is determined that system starts for the first time or system is resumed Default Value or system It is reinstalled as quickly as possible, the state value is revised as the first preset value.
Further, described when meeting pre-conditioned, turn-on data communication function is used for grouped data industry to obtain The data of business activation, including:After time delay Preset Time, turn-on data communication function is activated for Packet data service with obtaining Data.
Further, the Preset Time is 1 second.
Second aspect, embodiments provides a kind of data processing equipment, is applied to mobile communication terminal, the dress Put including:Closing unit and delayed start-up unit.The closing unit is used for starting for the first time or system quilt when the system that detects When factory reset or system are reinstalled as quickly as possible, data communication facility is closed.The delayed start-up unit is used for pre- when meeting If during condition, turn-on data communication function, to obtain the data for Packet data service activation.
Further, described device also includes:Unit is deleted, for deletion storage before data communication facility is closed The data for Packet data service activation for obtaining.
Further, described device also includes:Judging unit, for judging that whether the state value that pre-sets is first pre- If value, if the state value is not the first preset value, it is determined that system starts for the first time or system is resumed Default Value or is System is reinstalled as quickly as possible, and the state value is revised as the first preset value.
Further, the delayed start-up unit, specifically for time delay Preset Time after, turn-on data communication function, with Obtain the data for Packet data service activation.
Further, the Preset Time is 1 second.
Data processing method provided in an embodiment of the present invention and device, in the system that detects, unlatching, system are extensive for the first time When multiple Default Value or system are reinstalled as quickly as possible, system closes data communication facility, and now, system will not initiate grouped data industry Business activation request, when meeting pre-conditioned, is then turned on data communication facility.Within this period that system is closed, system can To complete the loading of respective services program, calling between respective services program prepares more abundant.Therefore, in system for the first time Open, system is resumed Default Value or when system is reinstalled as quickly as possible, can avoid obtaining for Packet data service activation Data when, due to some service routines do not load complete and cause obtain for Packet data service activation error in data Or the unsuccessful data obtained for Packet data service activation, and cause Packet data service activation request failure.
Other features and advantages of the present invention will be illustrated in subsequent specification, also, are partly become from specification It is clear that or being understood by implementing the embodiment of the present invention.The purpose of the present invention and other advantages can pass through in saying for being write In bright book, claims and accompanying drawing, specifically noted structure is realizing and obtain.
Description of the drawings
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to institute in embodiment The accompanying drawing for using is needed to be briefly described, it should be apparent that, drawings in the following description are only some enforcements of the present invention Example, for those of ordinary skill in the art, on the premise of not paying creative work, can be being obtained according to these accompanying drawings Obtain other accompanying drawings.By, shown in accompanying drawing, the above and other purpose of the present invention, feature and advantage will become apparent from.Whole In accompanying drawing, identical reference indicates identical part.Accompanying drawing, emphasis are not drawn by actual size equal proportion scaling deliberately It is the purport for illustrating the present invention.
Fig. 1 shows the structured flowchart of mobile communication terminal provided in an embodiment of the present invention;
Fig. 2 shows a kind of method flow diagram of data processing method that one embodiment of the invention is provided;
Fig. 3 shows a kind of method flow diagram of data processing method that another embodiment of the present invention is provided;
Fig. 4 shows a kind of functional block diagram of data processing equipment that one embodiment of the invention is provided;
Fig. 5 shows a kind of functional block diagram of data processing equipment that another embodiment of the present invention is provided.
Specific embodiment
Below in conjunction with accompanying drawing in the embodiment of the present invention, to the embodiment of the present invention in technical scheme carry out clear, complete Ground description, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiment.Generally exist The component of the embodiment of the present invention described and illustrated in accompanying drawing can be arranged and be designed with a variety of configurations herein.Cause This, is not intended to limit claimed invention to the detailed description of the embodiments of the invention for providing in the accompanying drawings below Scope, but it is merely representative of the selected embodiment of the present invention.Embodiments of the invention are based on, those skilled in the art are not doing The every other embodiment obtained on the premise of going out creative work, belongs to the scope of protection of the invention.
It should be noted that:Similar label and letter represent similar terms in following accompanying drawing, therefore, once a certain Xiang Yi It is defined in individual accompanying drawing, then in subsequent accompanying drawing which further need not be defined and be explained.Meanwhile, the present invention's In description, term " first ", " second " etc. are only used for distinguishing description, and it is not intended that indicating or hint relative importance.
Fig. 1 is referred to, Fig. 1 shows the mobile communication terminal of the embodiment of the present invention.Mobile communication terminal 110 includes:Number According to processing meanss, memory 112, storage control 113, processor 114, Peripheral Interface 115, input unit 116, display 117 and SIM interface circuit 118.
Data processing equipment, memory 112, storage control 113, processor 114, Peripheral Interface 115, input unit 116th, display 117 and SIM interface circuit 118 are directly or indirectly electrically connected with each other, to realize the transmission of data Or interaction.For example, these elements can pass through one or more communication bus each other or holding wire is realized being electrically connected with.Described Data processing equipment includes that at least one can be stored in the memory in the form of software or firmware (firmware) or solid Change the software function module in the operating system (operating system, OS) of mobile communication terminal 110.The processor 114 are used for executing the executable module stored in memory, software function module that for example described data processing equipment includes or Computer program.
Wherein, memory 112 may be, but not limited to, random access memory (Random Access Memory, RAM), read-only storage (Read Only Memory, ROM), programmable read only memory (Programmable Read- Only Memory, PROM), erasable read-only memory (Erasable Programmable Read-Only Memory, EPROM), electricallyerasable ROM (EEROM) (Electric Erasable Programmable Read-Only Memory, EEPROM) etc..Wherein, memory 112 is used for storage program, and the processor 114 is executed described after execute instruction is received Program, the method performed by the mobile communication terminal 110 of the stream process definition that aforementioned embodiment of the present invention any embodiment is disclosed Can apply in processor 114, or realized by processor 114.
A kind of possibly IC chip of processor 114, the disposal ability with signal.Above-mentioned processor can be General processor, including central processing unit (Central Processing Unit, abbreviation CPU), network processing unit (Network Processor, abbreviation NP) etc.;Can also be digital signal processor (DSP), special IC (ASIC), ready-made programmable Gate array (FPGA) or other PLDs, discrete gate or transistor logic, discrete hardware components.Can be with Disclosed each method, step and logic diagram in realization or the execution embodiment of the present invention.General processor can be micro- place Reason device or the processor can also be any conventional processors etc..
The Peripheral Interface 115 is by various input/output devices coupled to processor 114 and memory 112.At some In embodiment, Peripheral Interface, processor 114 and storage control 113 can be realized in one single chip.In some other reality In example, they can be realized by independent chip respectively.
Input unit 116 is used for being supplied to user input data realizes interacting for user and mobile communication terminal 110.Described Input unit 116 may be, but not limited to, keyboard etc..
Display 117 provides interactive interface (such as user operation circle between mobile communication terminal 110 and user Face) or refer to user for display image data.In the present embodiment, the display 117 can be liquid crystal display.
It should be noted that when input unit 116 is the virtual key shown on display 117, input unit 116 with Display 117 is integrated into touch control display.Then in the touch control display, display 117 can be to support single-point and multi-point touch Capacitance type touch control screen or resistance type touch control screen of operation etc..Support that single-point and multi-point touch operation refer to that touch control display can sense To the touch control operation that one or more positions on the touch control display are produced simultaneously, and the touch control operation that this is sensed Processor is transferred to be calculated and processed.
SIM interface circuit 118 is used for connecting SIM, at the draw-in groove of mobile communication terminal 110.When SIM exists When mobile communication terminal 110 is started shooting, the processor of mobile communication terminal 110 can normally read and write SIM by SIM interface circuit Information in card.SIM blocks for subscriber identification module (Subscriber Identification Module, SIM), also referred to as Subscriber identification card or Subscriber Identity Module, it are actually the intelligent cards for including large scale integrated circuit, are used for The significant data of storage user and information.SIM internal memory is contained:Integrated circuit card identification code (Integrate circuit Card identity, ICCID), MCC, MNC and temporary mobile subscriber identity, subscriber authentication key, band of position identification code Deng.When SIM inserts mobile communication terminal 110, SIM is connected with SIM interface circuit, and mobile communication terminal 110 can Detect SIM to be inserted in draw-in groove, the system of mobile communication terminal 110 is by the information in service routine reading SIM card.
When mobile communication terminal 110 needs to access the mobile communications networks such as 2G, 3G or 4G, mainly include three below mistake Journey:
(1) data field attachment.The purpose of attaching process is that system is determined whether according to the subscription data of mobile communication terminal Mobile communication terminal is allowed to carry out data service access in the network routing area domain of current request.
(2) PDP activation.Corresponding authentication license is obtained by PDP activation, is distributed corresponding IPv6 addresses, is set up terminal Data channel between packet domain.
By taking 3G network as an example, PDP activation process is initiated by mobile communication terminal.Terminal initiates " activation PDP to SGSN first Context request " message, carries APN (Access Point Name, APN), the information such as service quality in message; SGSN searches the address of corresponding GGSN in HLR according to the APN carried in message, after obtaining GGSN addresses, then sends out to GGSN Send " creating PDP Context request ";GGSN can carry out label by local/DHCP/RADIUS and weigh and distribute IPv6 ground to terminal Location or address prefix, and other specification, such as qos parameter etc., and authenticating result and parameters are carried in " response wound Build in PDP Context request information, be sent to SGSN, " receiving activation PDP Context request " is sent to terminal again from SGSN and is disappeared Each parameter configuration is passed to mobile communication terminal, so as to complete PDP activation process by breath.
(3) Operational Visit.After PDP activation, from terminal to the IPv6 application datas passage in 3G nested designs domain Open.
Fig. 2 is referred to, Fig. 2 shows a kind of data processing method provided in an embodiment of the present invention.The embodiment of the present invention is Based on SIM already inserted in draw-in groove, i.e., SIM is connected with SIM interface circuit.The data processing method is applied to Mobile communication terminal is stated, methods described includes:
Step S201:When detecting, system first time starts or system is resumed Default Value or system is reinstalled as quickly as possible When, close data communication facility.
Wherein, system starts for the first time and is opened when referring to that mobile communication terminal dispatches from the factory first.System is resumed Default Value Data outside referring to the setting of user in system or being stored in system process are eliminated, and return to mobile communication terminal and dispatch from the factory When default conditions, it should be noted that when system is resumed Default Value, mobile communication terminal is in open state.System Be reinstalled as quickly as possible and refer to that the system of mobile communication terminal is covered by new system, it should be noted that system be reinstalled as quickly as possible can With the system being not required before being reinstalled by the system replacement of redaction, and system is when being reinstalled as quickly as possible, mobile communication end End is in open state.
When mobile communication terminal is started shooting for the first time, mobile communication terminal needs installation system, decompresses systemimage, is All service routines of system are loaded.When first time, start was completed, all service routines of mobile communication terminal are stored in In the user data storage domain of mobile communication terminal.Wherein, the memory space of the corresponding mobile communication terminal in user data storage domain.
When starting shooting for second, the installation of system will not be carried out again, system can be directly invoked by registration table and be Every program module in system, it is also possible to store parameter or the configuration for directly reading and calling service routine in domain in user data Etc. data.
When mobile communication terminal is resumed Default Value or system is reinstalled as quickly as possible, the data of mobile communication terminal storage Can be eliminated, then the data cached of respective services program in system is also cleared, now, need when mobile communication terminal starts Reload respective services program.
Mobile communication terminal is able to detect that system starts for the first time or system is resumed Default Value or system by again Install, specifically, the script for configuration service program can be just performed when installing first time in system, at second During installation, would not be performed.Therefore, by detecting whether the script is performed, it is able to detect that whether service routine is added Carry.So as to judge whether it is that first time starts or system is resumed Default Value or system is reinstalled as quickly as possible.
Alternatively, it is also possible to arrange a state value when mobile communication terminal dispatches from the factory, by the monitoring energy of state value Enough judge whether it is that system is installed for the first time or system is resumed Default Value or system is reinstalled as quickly as possible, specific embodiment party Formula, introduces in follow-up embodiment.
The application program for being responsible for data communication facility is provided with mobile communication terminal, and for example, radio, it are responsible for The management of the equipment such as the wireless signal of mobile communication terminal, bluetooth, Wi-Fi.As a kind of embodiment, data communication is closed The mode of function is that mobile communication terminal closes radio.When data communication facility is closed, mobile communication terminal cannot send PDP activation asks server corresponding to operator.
Step S202:When meeting pre-conditioned, turn-on data communication function is activated for Packet data service with obtaining Data.
Meeting pre-conditioned can be:The system detectio of mobile communication terminal is loaded to respective services program or sets up Into wherein, the respective services program is used for obtaining the data for Packet data service activation.Meet pre-conditioned can be with It is:The duration for closing data communication facility meets a Preset Time, and the Preset Time is according to specific application scenarios Set, the respective services program in the system in Preset Time has been loaded and completed, in theory, tune between each service routine With smooth.
Therefore, when meeting pre-conditioned, system turn-on data communication function is obtained for Packet data service activation Data.Wherein, it is related to network that the data for activating for Packet data service include that the data being stored in SIM also include Data.For example, including the related data of the SIMs such as iccid and subid, and the number that the network such as servicestates is related According to.
After above-mentioned data for Packet data service activation are got, system initiates PDP activation request, in activation After request success, mobile communication terminal networks, and can surf the Net.
Fig. 3 is referred to, Fig. 3 shows a kind of data processing method provided in an embodiment of the present invention.The data processing method Above-mentioned mobile communication terminal is applied to, methods described includes:
Step S301:Judge whether the state value for pre-setting is the first preset value.
If the state value is not the first preset value, execution step S302.If the state value is the first preset value, flow process Terminate.
Wherein, the state value is default when mobile communication terminal dispatches from the factory.As a kind of embodiment, state value May be provided in the phone processes of mobile communication terminal and in nonsystematic.Mobile communication terminal when dispatching from the factory, definition status Being worth for a string variable, and initial value null, i.e. mobile communication terminal being assigned when dispatching from the factory, the value of state value is sky. When mobile communication terminal is resumed factory-said value or system is reinstalled as quickly as possible, the value corresponding to state value is cleared, state value It is changed into null again.
As a kind of embodiment, the first preset value is defined as false.Assume when system boot, mobile logical The value of the system reading state value of letter terminal, the value of reading are the first preset value, then decision-making system be not start for the first time or System is not resumed Default Value or system is not reinstalled as quickly as possible.
Assume when system boot, the value of the system reading state value of mobile communication terminal, the value of reading is null. Mobile communication terminal judges that the value of read state value is not the first preset value false, then be judged to that system starts for the first time Or system is resumed Default Value or system is reinstalled as quickly as possible.
Therefore, the value of the state value for reading when system is not false, decides that system starts for the first time or system is extensive Multiple Default Value or system are reinstalled as quickly as possible.
Step S302:Determine that system starts for the first time or system is resumed Default Value or system is reinstalled as quickly as possible, close State value is revised as the first preset value by data communication facility.
It is not the first preset value when state value is read, then decision-making system starts for the first time or system is resumed Default Value Or system is reinstalled as quickly as possible.In order to avoid, when start next time, decision-making system starts for the first time or system is resumed out again Factory is arranged or system is reinstalled as quickly as possible, and state value is revised as the first preset value.So, when next normal boot-strap, it is The state value that system reads is exactly the first preset value, would not be judged to system for the first time startup or system be resumed Default Value or System is reinstalled as quickly as possible.Therefore, start in decision-making system for the first time or system is resumed Default Value or system is reinstalled as quickly as possible Afterwards, state value is revised as the first preset value false.
Step S303:Delete storage close data communication facility before obtain for Packet data service activation Data.
Used as a kind of embodiment, system is provided with empty for the storage of the data of Packet data service activation for storage Between, the data for PDP activation are stored in the memory space.When system carries out PDP activation, can be empty in the storage The interior data obtained for PDP activation.Therefore, swash for PDP in order to avoid obtaining before data communication facility is closed Data living are wrong data, are being judged to that system starts for the first time or system is resumed Default Value or system is reinstalled as quickly as possible Afterwards, the number for Packet data service activation obtained before data communication facility is closed of memory space memory storage is deleted According to.For example, all data in memory space are removed.
Step S304:After time delay Preset Time, turn-on data communication function, to obtain for Packet data service activation Data.
Preset Time is set according to specific application scenarios, and the respective services program in the system in Preset Time is Loading is completed, and in theory, calling between each service routine is smooth.Preferably, Preset Time is 1 second, the time of 1 second Chosen according to many experiments result, can either ensure that within this time period, the respective services program of system is all Loading installation, can reduce the time of user's wait, it is to avoid the available machine time is too long again.
The embodiment of time delay Preset Time can be:When the operation for closing data communication facility is executed, record is current Moment, with the current time as starting point, before end of time arrives, continuously off data communication facility.Then current time It is above-mentioned Preset Time with the time span between the end of time.
When data communication facility is closed, mobile communication terminal cannot send PDP activation ask corresponding to operator Server.Now, the data for PDP activation obtained before data communication facility is closed are eliminated.Avoid due to number The data for PDP activation that obtained before being closed according to communication function are incorrect and cause PDP activation request failure, so as to Cause that mobile communication terminal obtained before data communication facility is closed for PDP activation data when, grouped data Business cannot be enabled, and user cannot be surfed the Net by SIM.
When data communication facility is unlocked, system can be gone automatically to obtain automatically by respective services program and be swashed with PDP Data living related, for example, the data (for example, ICCID, SUBID, MCC and MNC etc.) related to SIM and with network phase The data (for example, servicestates) of pass.Then, obtain after mobile communication terminal is by being unlocked in data communication facility The data for Packet data service activation for taking initiate PDP activation request, to complete PDP activation.
In addition, the specific embodiment of step S304, can also refer to step S202 in above-mentioned Fig. 2, here is no longer gone to live in the household of one's in-laws on getting married State.
In addition, after the value of state value is once modified to false, mobile communication terminal be resumed Default Value or When system is reinstalled as quickly as possible, if the value of state value remains false, system cannot execute this method, can cause mobile communication end Cannot surf the Net when factory reset or system are reinstalled as quickly as possible at end.Therefore, when system is resumed Default Value or system quilt When reinstalling, the state value is emptied.
Specifically, the value of state value is stored in outside the system process of mobile communication terminal, namely is stored in mobile communication In the caching of terminal.And work as that mobile communication terminal is resumed Default Value or system is reinstalled as quickly as possible, mobile communication terminal slow Deposit and can be cleared, then now the value of state value is also cleared, that is, be changed into null.
Furthermore, in order to avoid the value of the system reading state value of mobile communication terminal is null, returns a null and lead Cause system gets muddled, and when the value of reading state value is null, state value is entered as the second preset value, for example, by second Preset value is defined as true.System again reads off the value of state value, and the value of the state value of reading is the second preset value true, then sentence It is not the first preset value false to be set to state value, i.e., system starts for the first time or system is resumed Default Value or system quilt Reinstall.
Fig. 4 is referred to, Fig. 4 shows a kind of data processing equipment provided in an embodiment of the present invention.The data processing equipment 400 are applied to above-mentioned mobile communication terminal 110, and data processing equipment 400 includes:Closing unit 401 and delayed start-up unit 402.
Closing unit 401 is used for when the system that detects starts for the first time or system is resumed Default Value or system by again During installation, data communication facility is closed.
Delayed start-up unit 402 is used for when meeting pre-conditioned, and turn-on data communication function is used for packet count to obtain Data according to activation of service.
It should be noted that each unit in the present embodiment can be by software code realization, now, above-mentioned each unit Can be stored in the memory 112 of mobile communication terminal 110.Above each unit equally can be by hardware such as IC chip Realize.
Those skilled in the art can be understood that, for convenience and simplicity of description, the system of foregoing description, Device and the specific work process of unit, may be referred to the corresponding process in preceding method embodiment, will not be described here.
Fig. 5 is referred to, Fig. 5 shows a kind of data processing equipment provided in an embodiment of the present invention.The data processing equipment 500 are applied to above-mentioned mobile communication terminal 110, and data processing equipment 500 includes:Judging unit 501, closing unit 502, deletion Unit 503 and delayed start-up unit 504.
Whether judging unit 501 is the first preset value for the state value that judgement pre-sets, if the state value is not First preset value, it is determined that system starts for the first time or system is resumed Default Value or system is reinstalled as quickly as possible, by the shape State value is revised as the first preset value.
Closing unit 502 is used for when the system that detects starts for the first time or system is resumed Default Value or system by again During installation, data communication facility is closed.
Delete unit 503 be used for delete storage close data communication facility before obtain for Packet data service The data of activation.
After delayed start-up unit 504 is used for time delay Preset Time, turn-on data communication function is used for grouped data to obtain The data of activation of service.
In addition, data processing equipment 500 also includes changing unit, modification unit is used for dispatching from the factory when detecting system and be resumed When setting or system are reinstalled as quickly as possible, the state value is emptied.
It should be noted that each unit in the present embodiment can be by software code realization, now, above-mentioned each unit Can be stored in the memory 112 of mobile communication terminal 110.Above each unit equally can be by hardware such as IC chip Realize.
Those skilled in the art can be understood that, for convenience and simplicity of description, the system of foregoing description, Device and the specific work process of unit, may be referred to the corresponding process in preceding method embodiment, will not be described here.
In sum, data processing method provided in an embodiment of the present invention and device, open for the first time in the system that detects, When system is resumed Default Value or system is reinstalled as quickly as possible, system closes data communication facility, and now, system will not be initiated point Group data service activation request, after postponing Preset Time, is then turned on data communication facility.Within this period that system is closed, The respective services program of system is all loaded and is completed, and calling between respective services program is made adequate preparation.Therefore, in system for the first time Open, system is resumed Default Value or when system is reinstalled as quickly as possible, and the multinomial service routine in system is due to will be by again In the case of loading, can avoid when the data for Packet data service activation are obtained, as some service routines do not add Carry and complete and cause the error in data activated for Packet data service for obtaining or unsuccessful acquisition to be used for grouped data industry The data of business activation, and cause Packet data service activation request failure.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, it is also possible to pass through Other modes are realized.Device embodiment described above is only schematically, for example flow chart and block diagram in accompanying drawing Show the device of multiple embodiments according to the present invention, the architectural framework in the cards of method and computer program product, Function and operation.At this point, each square frame in flow chart or block diagram can represent the one of module, program segment or a code Part, a part the holding comprising one or more logic functions for realization regulation of the module, program segment or code Row instruction.It should also be noted that in some are as the implementations that replaces, the function that marked in square frame can also be being different from The order marked in accompanying drawing occurs.For example, two continuous square frames can essentially be executed substantially in parallel, and they are sometimes Can execute in the opposite order, this is depending on involved function.It is also noted that every in block diagram and/or flow chart Individual square frame and the combination of block diagram and/or the square frame in flow chart, can use the special base for executing the function or action of regulation Realize in the system of hardware, or can combine to realize with specialized hardware and computer instruction.
In addition, each functional module in each embodiment of the invention can integrate to form an independent portion Divide, or modules individualism, it is also possible to which two or more modules are integrated to form an independent part.
If the function is realized using in the form of software function module and as independent production marketing or when using, can be with It is stored in a computer read/write memory medium.Such understanding is based on, technical scheme is substantially in other words The part contributed by prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, is used including some instructions so that a computer equipment (can be individual People's computer, server, or network equipment etc.) execute all or part of step of each embodiment methods described of the invention. And aforesaid storage medium includes:USB flash disk, portable hard drive, read-only storage (ROM, Read-Only Memory), arbitrary access Memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.Need It is noted that herein, such as first and second or the like relational terms are used merely to an entity or operation Make a distinction with another entity or operation, and not necessarily require or imply these entities or exist between operating any this Actual relation or order.And, term " including ", "comprising" or its any other variant are intended to nonexcludability Comprising so that a series of process, method, article or equipment including key elements not only includes those key elements, but also wrapping Other key elements being not expressly set out are included, or also includes intrinsic for this process, method, article or equipment wanting Element.In the absence of more restrictions, the key element for being limited by sentence "including a ...", it is not excluded that including described wanting Also there is other identical element in the process of element, method, article or equipment.
The preferred embodiments of the present invention are the foregoing is only, the present invention is not limited to, for the skill of this area For art personnel, the present invention can have various modifications and variations.All within the spirit and principles in the present invention, made any repair Change, equivalent, improvement etc., should be included within the scope of the present invention.It should be noted that:Similar label and letter exist Similar terms is represented in figure below, therefore, once being defined in a certain Xiang Yi accompanying drawing, is then not required in subsequent accompanying drawing Which is further defined and be explained.
The above, the only specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention described should be defined by scope of the claims.

Claims (10)

1. a kind of data processing method, it is characterised in that be applied to mobile communication terminal, methods described includes:
When the system that detects starts for the first time or system is resumed Default Value or when system is reinstalled as quickly as possible, data communication is closed Function;
When meeting pre-conditioned, turn-on data communication function, to obtain the data for Packet data service activation.
2. method according to claim 1, it is characterised in that after described closing data communication facility, methods described Also include:
Before turn-on data communication function, delete storage close data communication facility before obtain for grouped data industry The data of business activation.
3. method according to claim 1, it is characterised in that described start for the first time or system quilt when the system that detect When factory reset or system are reinstalled as quickly as possible, before closing data communication facility, methods described also includes:
Judge whether the state value for pre-setting is the first preset value, if the state value is not the first preset value, it is determined that be System starts for the first time or system is resumed Default Value or system is reinstalled as quickly as possible, and the state value is revised as first and is preset Value.
4. method according to claim 1, it is characterised in that described when meeting pre-conditioned, turn-on data is communicated Function, to obtain the data for Packet data service activation, including:
After time delay Preset Time, turn-on data communication function, to obtain the data for Packet data service activation.
5. method according to claim 4, it is characterised in that the Preset Time is 1 second.
6. a kind of data processing equipment, it is characterised in that be applied to mobile communication terminal, described device includes:
Closing unit, for when detecting, system first time starts or system is resumed Default Value or system is reinstalled as quickly as possible When, close data communication facility;
Delayed start-up unit, for when meeting pre-conditioned, turn-on data communication function is used for Packet data service to obtain The data of activation.
7. device according to claim 6, it is characterised in that described device also includes:
Delete unit, for delete storage close data communication facility before obtain for Packet data service activation Data.
8. device according to claim 6, it is characterised in that described device also includes:
Judging unit, for judging whether the state value that pre-sets is the first preset value, if the state value is not first pre- If value, it is determined that system starts for the first time or system is resumed Default Value or system is reinstalled as quickly as possible, and the state value is repaiied It is changed to the first preset value.
9. device according to claim 8, it is characterised in that:
The delayed start-up unit, specifically for time delay Preset Time after, turn-on data communication function, with obtain be used for packet count Data according to activation of service.
10. device according to claim 9, it is characterised in that the Preset Time is 1 second.
CN201610932897.0A 2016-10-24 2016-10-24 Data processing method and device Active CN106507434B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610932897.0A CN106507434B (en) 2016-10-24 2016-10-24 Data processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610932897.0A CN106507434B (en) 2016-10-24 2016-10-24 Data processing method and device

Publications (2)

Publication Number Publication Date
CN106507434A true CN106507434A (en) 2017-03-15
CN106507434B CN106507434B (en) 2020-02-14

Family

ID=58319699

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610932897.0A Active CN106507434B (en) 2016-10-24 2016-10-24 Data processing method and device

Country Status (1)

Country Link
CN (1) CN106507434B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110798514A (en) * 2019-10-18 2020-02-14 中国联合网络通信集团有限公司 Service processing method and device
CN113079500A (en) * 2019-12-18 2021-07-06 东莞宇龙通信科技有限公司 Terminal activation method and device, storage medium and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103533528A (en) * 2013-09-30 2014-01-22 华为终端有限公司 Method and terminal for activating PDN (packet data network)
CN103906092A (en) * 2014-03-28 2014-07-02 宇龙计算机通信科技(深圳)有限公司 Method and device for updating access point information
CN104704866A (en) * 2014-06-30 2015-06-10 华为技术有限公司 Method for re-establishing PDN connection, reset center server, mobile management network element and data network gateway

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103533528A (en) * 2013-09-30 2014-01-22 华为终端有限公司 Method and terminal for activating PDN (packet data network)
CN103906092A (en) * 2014-03-28 2014-07-02 宇龙计算机通信科技(深圳)有限公司 Method and device for updating access point information
CN104704866A (en) * 2014-06-30 2015-06-10 华为技术有限公司 Method for re-establishing PDN connection, reset center server, mobile management network element and data network gateway

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110798514A (en) * 2019-10-18 2020-02-14 中国联合网络通信集团有限公司 Service processing method and device
CN110798514B (en) * 2019-10-18 2022-09-27 中国联合网络通信集团有限公司 Service processing method and device
CN113079500A (en) * 2019-12-18 2021-07-06 东莞宇龙通信科技有限公司 Terminal activation method and device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN106507434B (en) 2020-02-14

Similar Documents

Publication Publication Date Title
US8806478B2 (en) Customizing operating system based on detected carrier
JP6638890B2 (en) Dynamic subscriber identification module
CN102143575B (en) Improved registration with mobile telecommunication service provider
RU2524368C2 (en) Wireless communication device, method of providing access to wireless communication, base station and method of providing crossover to wireless communication network
EP2617239B1 (en) Controlled access to a wireless network
US8862113B2 (en) Subscriber identity module activation during active data call
US8875127B2 (en) Operating system customization
US9038060B2 (en) Automatically installing operating system specific to a detected network
WO2016003690A1 (en) Apparatus and method for controlling wireless network access and wireless data traffic
EP2747485A1 (en) Terminal frequency-band adaptation method and terminal
CN107005832B (en) Network registration method and device for terminal and terminal
CN103686788A (en) Terminal and network parameter configuration method and device thereof
EP1665849B9 (en) System, method and wireless communication device for over the air area code update
CN112673659A (en) Method and electronic device for automatically switching between multiple profiles in an ESIM
KR20140096268A (en) Managing mobile device identities
EP3145230B1 (en) Method and device for controlling subscriber identity module card of mobile terminal
CN106507434A (en) A kind of data processing method and device
CN105979552B (en) Method and system for using manual PLMN selection mode
CN110035496B (en) Cloud platform switching method and system and electronic equipment
CN106851616B (en) Network service state updating method and device
CN104717680A (en) Wireless connection test method and device
CN113365260B (en) Profile downloading method and device, intelligent terminal and storage medium
US20240095023A1 (en) Method for modifying a test profile in an integrated circuit card, corresponding integrated circuit card, testing method and apparatus
CN115767509A (en) Parameter configuration method and device, terminal equipment and storage medium
TWI571764B (en) Multi-line mobile communication device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant