The disclosure relates to the field of wireless communication, in particular to a network upgrading-adaptive telephone number upgrading method and device for a wireless terminal.
Along with the continuous development of a wireless mobile communication technology, operators pay more and more attention to whether an original data service can be adapted to an upgraded network or not. Voice communication is the most important widely-used service, which inevitably causes the problem whether the network can be compatible with an original telephone number or not after being upgraded. If the network cannot be compatible with the original telephone number after being upgraded, it is necessary to consider whether the telephone number can be automatically upgraded according to network number upgrading rules or not.
At present, wireless data terminal service does not take such a condition into account, and different software services are often provided according to network upgrading rules of different operators, so that good user experiences cannot be provided, increasing requirements of a communication network cannot be met, and abilities of the operators in quickly responding to the market are further influenced.
The embodiments of the disclosure provide a network upgrading-adaptive telephone number upgrading method and device for a wireless terminal, which can better solve the problem that a telephone number of the wireless terminal cannot be adaptively upgraded after a network is upgraded.
According to one embodiment of the disclosure, a network upgrading-adaptive telephone number upgrading method for a wireless terminal is provided, including that:
an initialization unit of a terminal device acquires telephone numbers to be upgraded, and backs up the telephone numbers for use during the recovery of the telephone numbers;
the initialization unit of the terminal device acquires storage positions where the telephone numbers to be upgraded are stored;
a number upgrading unit of the terminal device acquires number upgrading rules from a network side through the wireless terminal, and upgrades the telephone numbers in the storage positions according to the number upgrading rules; and
a number writing unit of the terminal device covers the telephone numbers in the storage positions with the upgraded telephone numbers.
In the described embodiment, the wireless terminal acquiring the number upgrading rules from the network side includes that:
the wireless terminal acquires the number upgrading rules from the network side by accessing a cloud or through a Subscriber Identity Module Card Took Kit (STK).
In the described embodiment, after the initialization unit of the terminal device acquires the storage positions of the telephone numbers, the method further includes that:
a number backup unit of the terminal device backs up the acquired telephone numbers, wherein a backup file of the telephone numbers is named after backup time and a storage position of the backup file.
In the described embodiment, after the number writing unit of the terminal device stores the upgraded telephone numbers in the corresponding storage positions, the method further includes that:
a number searching unit of the terminal device searches for the corresponding backup file according to the backup time;
the number backup unit of the terminal device deletes the telephone numbers in the corresponding storage positions; and
the number writing unit of the terminal device covers the telephone numbers in the storage positions with the telephone numbers in the backup file.
In the described embodiment, the number upgrading rules include offset before upgrading, an offset content before upgrading, offset after upgrading and an offset content after upgrading.
In the described embodiment, the telephone numbers to be upgraded are stored in the terminal device or a Subscriber Identity Module/Universal Subscriber Identity Module (SIM/USIM) card of the wireless terminal.
According to another embodiment of the disclosure, a network upgrading-adaptive telephone number upgrading device for a wireless terminal is provided, wherein
an operator stores network upgrading rules at a network side after a network is upgraded, and the device includes the following units arranged on a terminal device:
an initialization unit, configured to acquire telephone numbers to be upgraded, back up the telephone numbers for use during the recovery of the telephone numbers and acquire storage positions where the telephone numbers to be upgraded are stored;
a number upgrading unit, configured to acquire number upgrading rules from the network side through the wireless terminal, and upgrade the telephone numbers in the storage positions according to the number upgrading rules; and
a number writing unit, configured to cover the telephone numbers in the storage positions with the upgraded telephone numbers.
In the described embodiment,
the number upgrading unit is further configured to acquire the number upgrading rules from the network side by accessing a cloud through the wireless terminal or through an STK.
In the described embodiment, the terminal device further includes:
a number backup unit, configured to back up the acquired telephone numbers, wherein a backup file of the telephone numbers is named after backup time and a storage position of the backup file.
In the described embodiment, the terminal device further includes:
a number searching unit, configured to search for a corresponding backup file according to the backup time; and
a number recovery unit, configured to delete the telephone numbers in the corresponding storage positions and cover the telephone numbers in the storage positions with the telephone numbers in the found backup file through the number writing unit.
Compared with the related art, convenience is brought to telephone number upgrading management after the network of the operator is upgraded, user experiences are improved, and a risk after the network of the operator is upgraded is lowered.
The exemplary embodiments of the disclosure are described below with reference to the drawings in detail, and it should be understood that the exemplary embodiments described below are only adopted to describe and explain the disclosure and not intended to limit the disclosure.
S101: a terminal device is power-up, and the wireless terminal management component runs.
The wireless USB modulator demodulator is plugged into the terminal device, the terminal device is power-up, and the wireless terminal management component starts running. Wherein the terminal device includes equipment such as a Personal Computer (PC) or a notebook computer, the SIM/USIM card is placed in the wireless USB modulator demodulator, and the wireless USB modulator demodulator functions in reading information from the SIM/USIM card, receiving a signal from a base station and performing dialup access, thereby realizing connection to a wireless network.
The wireless terminal management component is a human-computer interaction interface installed on the terminal device, and communicates with the wireless terminal through a serial port. Wherein the wireless terminal includes a USB modulator demodulator, a wireless data card and the like, and the wireless USB modulator demodulator is adopted in the embodiment. The wireless terminal management component mainly functions in registering to the current wireless network through the wireless terminal and acquiring upgrading rules of the current network, thereby upgrading telephone numbers stored in the terminal device or the SIM/USIM card. The wireless terminal management component includes an initialization unit, a number backup unit, a number upgrading unit, a number searching unit, a number recovery unit and a number writing unit.
S102: the wireless terminal is initialized.
The initialization unit starts an initialization flow for the initialization of the wireless terminal, specifically including initialization of the serial port, reading of the wireless USB modulator demodulator and a network state, reading of the telephone numbers in the SIM/USIM card, acquisition of storage positions of the telephone numbers to be upgraded and the like.
S103: whether the wireless terminal is registered to the network or not is judged.
The wireless terminal management component judges whether the wireless terminal is registered to the network or not, continues executing S103 if the wireless terminal is not registered to the network, otherwise acquires a current network registration state, and executes S104.
S104: whether a user is required to upgrade the telephone numbers or not is judged.
The wireless terminal management component prompts the wireless terminal user whether to upgrade the telephone numbers or not after detecting that the network is upgraded, executes S105 if the wireless terminal user selects to upgrade the telephone numbers, otherwise executes S111.
S105: the telephone numbers are backed up.
In case of successful network registration, if the user requires number upgrading, the number backup unit backs up all the telephone numbers read from the SIM/USIM card during the initialization, and a backup file is named after “position+time”, wherein “position” refers to a position selected by the user for the storage of the backup file, and “time” refers to current backup time.
S106: whether backup is successful or not is judged.
The wireless terminal management component judges whether the telephone numbers are successfully backed up or not, executes S107 if the telephone numbers are successfully backed up, otherwise executes S111.
S107: number upgrading rules are acquired.
The wireless terminal management component communicates with the wireless terminal through the serial port. The wireless terminal management component communicates with the wireless terminal under the support of a serial port communication protocol including a standard Attention (AT) instruction specified by a 3rd Generation Partnership Project (3GPP) protocol. The AT instruction is adopted to read or write the telephone numbers of the SIM/USIM card and acquire the upgrading rules of the current network.
After successful backup, the number upgrading unit acquires the number upgrading rules of the current network by accessing the cloud through the wireless terminal or through the STK, wherein the upgrading rules are in a format of “offset before upgrading”, “offset content before upgrading”, “offset after upgrading” and “offset content after upgrading”. Specifically, the number upgrading unit expands an instruction according to “AT+instruction name?”, and transmits the instruction to the wireless terminal to acquire the number upgrading rules of the current network, and a result parameter returned by the wireless terminal is (“offset before upgrading”, “offset content before upgrading”, “offset after upgrading” and “offset content after upgrading”), wherein “offset before upgrading” represents the positions of the numbers before upgrading, the “offset content before upgrading” represents number contents under the offset before upgrading, the “offset after upgrading” represents the positions of the numbers after upgrading, and the “offset content after upgrading” represents the number contents under the offset after the upgrading of the numbers.
S108: the telephone numbers are upgraded according to the number upgrading rules.
The number upgrading unit upgrades all the telephone numbers consistent with the upgrading rules in the storage positions in the SIM/USIM card in batches according to the acquired number upgrading rules. For example, a telephone number 8615212345678 to be upgraded is required to be upgraded by modifying 86 into 396, the offset before upgrading is 0, the offset content before upgrading is 86, the offset after upgrading is 0, the offset content after upgrading is 396, and the telephone number can be adaptively upgraded to be 39615212345678 according to the four number upgrading rules.
S109: whether upgrading is successful or not is judged.
The wireless terminal management component judges whether the telephone numbers are successfully upgraded or not, executes S110 if the telephone numbers are successfully upgraded, otherwise executes S111.
S110: the telephone numbers are updated.
The wireless terminal management component transmits the AT instruction to the wireless terminal, and the number upgrading unit writes the upgraded new telephone numbers into the corresponding storage positions in the SIM/USIM card in batches to cover all the original telephone numbers consistent with the upgrading rules in the storage positions in the SIM/USIM card.
S111: the number upgrading flow is ended.
If the user selects to upgrade telephone numbers in the terminal device, i.e. the PC or the notebook computer, the wireless terminal management component reads the telephone numbers from the PC or the notebook computer, backs up and upgrades the read telephone numbers according to the number upgrading rules acquired from the network side, and stores the upgraded telephone numbers in the corresponding storage positions in the PC or the notebook computer. When the telephone numbers are recovered, the telephone numbers in the backup file are read, and the read telephone numbers are rewritten into the corresponding storage positions in the PC or the notebook computer. In a word, the flow of upgrading the telephone numbers in the PC or the notebook computer is similar to that of upgrading the telephone numbers in the SIM/USIM card, and an only difference is where the telephone numbers are read and stored.
S201: a terminal device is power-up, and a wireless terminal management component runs.
S202: the wireless terminal management component performs initialization.
An initialization unit starts an initialization flow for the initialization of the wireless terminal, specifically including initialization of a serial port, reading of a wireless USB modulator demodulator and a network state, reading of telephone numbers in a SIM/USIM card and the like.
S203: whether the wireless terminal is registered to a network or not is judged.
The wireless terminal management component judges whether the wireless terminal is registered to the network or not, continues executing S203 if the wireless terminal is not registered to the network, otherwise executes S204.
S204: whether a user is required to recover the telephone numbers or not is judged.
The wireless terminal management component prompts the user whether to recover the telephone numbers or not, executes S205 if the user selects to recover the telephone numbers, otherwise executes S209.
S205: backup time is selected.
The wireless terminal management component prompts the user to input or select the backup time.
S206: the corresponding telephone numbers are searched according to the backup time.
A number searching unit searches all backup files for backup files consistent with the backup time according to the backup time input or selected by the user.
S207: all the telephone numbers in the SIM/USIM card are deleted in batches.
The wireless terminal management component transmits an AT deletion instruction to the serial port to delete all the telephone numbers in the SIM/USIM card in batches.
S208: the found number backup files are written into the SIM card in batches.
A number writing unit transmits an AT writing instruction to the serial port to write the found telephone numbers into the corresponding storage positions in the SIM/USIM card in batches.
S209: the number recovery flow is ended.
The initialization unit 301 is configured to acquire telephone numbers to be upgraded, back up the telephone numbers for use during the recovery of the telephone numbers and acquire storage positions where the telephone numbers to be upgraded are stored. Specifically, the initialization unit 301 is configured to initialize the wireless terminal, read a network registration state and read the telephone numbers from the SIM/USIM card or a terminal device side.
The number upgrading unit 303 is configured to acquire number upgrading rules from a network side through the wireless terminal and upgrade the telephone numbers in the storage positions according to the number upgrading rules. The number upgrading unit acquires the number upgrading rules from the network side by accessing a cloud through the wireless terminal or through an STK, and upgrades the telephone numbers in the storage positions according to the upgrading rules fed back by the wireless terminal.
The number writing unit 306 is configured to cover the telephone numbers in the storage positions with the upgraded telephone numbers. After the numbers are successfully upgraded, the number writing unit 306 rewrites the upgraded telephone numbers to the corresponding storage positions, and is also configured to rewrite the backed-up numbers to the corresponding storage positions. Specifically, when the storage positions selected by a user are in the terminal device side, all the telephone numbers in the terminal device side are deleted; in case of recovery operation, the telephone numbers in the storage positions in the terminal device side are covered by all the telephone numbers in a backup file found by the number searching unit 304; and in case of number upgrading operation, the telephone numbers upgraded by the number upgrading unit 303 are rewritten to the terminal device side. If the storage positions selected by the user are in a SIM/USIM side, an AT instruction is transmitted to delete all the telephone numbers in the SIM/USIM card; in case of upgrading operation, all the telephone numbers upgraded by the number upgrading unit 303 are written into the SIM/USIM card through the AT instruction; and in case of recovery operation, all the telephone numbers in the backup file found by the number searching unit 304 are rewritten into the SIM/USIM card.
The number backup unit 302 is configured to back up the acquired telephone numbers, wherein the backup file of the telephone numbers is named after backup time and a storage position of the backup file. Specifically, the number backup unit 302 automatically backs up the corresponding telephone numbers according to the storage positions selected by the user and current storage time.
The number searching unit 304 is configured to search the corresponding backup file according to the backup time or a backup time period.
The number recovery unit 305 is configured to delete the telephone numbers in the corresponding storage positions and cover the telephone numbers in the storage positions with the telephone numbers in the backup file found by the number writing unit. The number recovery unit 305 calls the number searching unit 304 to search the corresponding backup file according to the time period selected by the user, and calls the number writing unit 306 to write the found backup file in the corresponding storage position.
From the above, according to the embodiment of the disclosure, the telephone numbers are adaptively upgraded according to upgrading rules of different networks, and the embodiment of the disclosure can be adapted to the continuous upgrading of the networks as well as the upgrading of different networks of different operators, so that the problem that changes in the telephone number upgrading rules inevitably cause changes in wireless terminal software in conventional customization is solved, an intelligence effect of automatically upgrading the telephone numbers according to different upgrading rules of different networks is achieved, and meanwhile, the risk after the network upgrading of the operator is greatly reduced.
The above is not intended to limit the disclosure, although describing the embodiment of the disclosure in detail, and those skilled in the art can make various modifications according to the principle described by the embodiment of the disclosure. Therefore, these modifications made according to the principle described by the embodiment of the disclosure shall fall within the scope of protection as defined by the appended claims of the disclosure.
Number | Date | Country | Kind |
---|---|---|---|
2012 1 0156117 | May 2012 | CN | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2012/087733 | 12/27/2012 | WO | 00 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2013/170612 | 11/21/2013 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
6959192 | Cannon | Oct 2005 | B1 |
20040204117 | Weiner | Oct 2004 | A1 |
20090176486 | Jung | Jul 2009 | A1 |
20100190493 | Zoeckler | Jul 2010 | A1 |
20120036361 | Tyhurst | Feb 2012 | A1 |
Number | Date | Country |
---|---|---|
1249112 | Mar 2000 | CN |
1284820 | Feb 2001 | CN |
1780292 | May 2006 | CN |
102711090 | Oct 2012 | CN |
2357011 | Jun 2001 | GB |
9838820 | Sep 1998 | WO |
Entry |
---|
International Search Report for corresponding application PCT/CN2012/087733 filed Dec. 27, 2012; Mail date Apr. 4, 2013. |
European Search Report for corresponding application EP 12 87 7061: Report dated May 29, 2015. |
Number | Date | Country | |
---|---|---|---|
20150156628 A1 | Jun 2015 | US |