CN113438352B - Dialing processing method, mobile terminal and computer readable storage medium - Google Patents

Dialing processing method, mobile terminal and computer readable storage medium Download PDF

Info

Publication number
CN113438352B
CN113438352B CN202110553210.3A CN202110553210A CN113438352B CN 113438352 B CN113438352 B CN 113438352B CN 202110553210 A CN202110553210 A CN 202110553210A CN 113438352 B CN113438352 B CN 113438352B
Authority
CN
China
Prior art keywords
country code
mobile terminal
country
interface
international roaming
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.)
Active
Application number
CN202110553210.3A
Other languages
Chinese (zh)
Other versions
CN113438352A (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.)
Honor Device Co Ltd
Original Assignee
Honor Device 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 Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202210334057.XA priority Critical patent/CN114900576B/en
Priority to CN202110553210.3A priority patent/CN113438352B/en
Publication of CN113438352A publication Critical patent/CN113438352A/en
Priority to PCT/CN2022/092281 priority patent/WO2022242529A1/en
Application granted granted Critical
Publication of CN113438352B publication Critical patent/CN113438352B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/26Devices for calling a subscriber
    • H04M1/27Devices whereby a plurality of signals may be stored simultaneously
    • H04M1/274Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc
    • H04M1/2745Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips
    • H04M1/27485Appending a prefix to or inserting a pause into a dialling sequence

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

A dialing processing method and a mobile terminal relate to the technical field of communication. The method can intelligently identify the country code of the telephone number to be dialed by the user, and automatically add the country code in front of the telephone number, thereby improving the convenience of calling the international roaming user by the user. The method comprises the following steps: the mobile terminal displays a first interface of a dialing application, wherein the first interface comprises a dial plate; in response to the operation that a user inputs a target number on a dial, the mobile terminal determines at least one country code to which the target number belongs; the mobile terminal generates at least one international roaming number according to the target number and at least one country code; wherein, at least one country code corresponds to at least one international roaming number one to one; the mobile terminal displays a second interface; wherein the second interface comprises at least one international roaming number; in response to a user's operation of any one of the at least one international roaming number, the mobile terminal calls the any one international roaming number.

Description

Dialing processing method, mobile terminal and computer readable storage medium
Technical Field
The embodiment of the application relates to the technical field of communication, in particular to a dialing processing method and a mobile terminal.
Background
Currently, when a user dials a cross-country telephone, a mobile terminal in the market can support two dialing modes: the first is dialing in non-international roaming state; the second is to make a call in the international roaming state.
However, in either case, the user is required to manually add the international prefix and the country code to the number. For example, if the user needs to dial a number in germany, the user is required to manually add an international prefix and a german country code (i.e., +49) in front of the currently dialed number. Therefore, the dialing mode in the prior art is complex to operate, low in practicability and difficult to meet the instant requirement of a user.
Disclosure of Invention
The embodiment of the application provides a dialing processing method and a mobile terminal, which can intelligently identify the country code of a telephone number to be dialed by a user and automatically add the country code in front of the telephone number. Therefore, the user does not need to manually add the country code, and the convenience of calling the international roaming user by the user is improved.
In order to achieve the purpose, the technical scheme is as follows:
in a first aspect, an embodiment of the present application provides a dialing processing method, where the method includes: the mobile terminal displays a first interface of a dialing application, wherein the first interface comprises a dial. Further, in response to the operation that a user inputs a target number on the dial, the mobile terminal determines at least one country code to which the target number belongs; the mobile terminal generates at least one international roaming number according to the target number and at least one country code; the at least one country code corresponds to at least one international roaming number one to one, and each international roaming number comprises a target number and a corresponding country code. Then, the mobile terminal displays a second interface; wherein the second interface comprises at least one international roaming number; in response to a user's operation of any one of the at least one international roaming number, the mobile terminal calls the any one international roaming number.
Therefore, after the user inputs the target number, the mobile terminal can identify the country code of the target number, generate the international roaming number according to the country code and the target number, and display the international roaming number on an interface of the mobile terminal for the user to select. Therefore, roaming dialing can be realized without manually adding a country code by a user, and convenience of calling an international roaming user by the user is improved.
In an optional implementation manner, between the mobile terminal device generating at least one international roaming number according to the destination number and at least one country code and the mobile terminal displaying the second interface, the method further comprises: the mobile terminal determines the priority of each country code according to the attribution source of each country code and/or the using times of each country code in at least one country code. If at least two country codes with different attribution sources exist in the at least one country code, if the priority of the attribution source of any one of the at least two country codes with different attribution sources is higher, the priority of any one country code is higher; if at least two country codes with the same attribution source exist in the at least one country code, the priority of any one country code is higher if the use times of any one country code in the at least two country codes with the same attribution source are more. On the basis, the mobile terminal displays at least one international roaming number on the second interface in an order from high to low based on the priority of at least one country code.
As can be seen, the mobile terminal may determine a priority for each country code. The priority may characterize how often the user uses the corresponding country code. If the priority of a country code is higher, the higher the priority of the country code is, the higher the frequency of using the country code by the user is, so that the probability of using the country code is considered to be higher. Thus, displaying the international roaming numbers in order of the priority based on the country code from high to low allows the user to more easily select the international roaming number that may be used with a high probability.
In an optional embodiment, the attribution source comprises at least one of setting information, a Subscriber Identity Module (SIM) card, network residence information, contact information and a call record; the priority of the setting information, the SIM card, the network-resident information, the contact information and the call record is sequentially increased.
Understandably, the call records can better reflect the usual use habits of the users, so the priority is higher; and the contact information may characterize the potential for the user to use the country code and therefore its priority. In short, the priority of the attribution source is divided according to the use habits of the users, so that the result displayed by the mobile terminal according to the priority is more consistent with the use habits of the users.
In an alternative embodiment, the mobile terminal includes a preset country code list, and the preset country code list includes country codes commonly used by the user. Between the mobile terminal determining at least one country code to which the target number belongs and the mobile terminal displaying a second interface, the method further comprises: the mobile terminal screens out a first country code from at least one country code; the first country code belongs to a preset country code list; the mobile terminal generates at least one international roaming number according to the target number and at least one country code, and the method comprises the following steps: the mobile terminal generates a first international roaming number according to the target number and the first country code. On the basis, the mobile terminal displays the first international roaming number on the second interface.
Therefore, the mobile terminal can only display the international roaming number corresponding to the country code used by the user on the second interface, and the mobile terminal can be prevented from displaying too much invalid information.
In an alternative embodiment, the preset list of country codes comprises a number of country codes greater than or equal to the first number.
It is to be understood that when the number of country codes included in the country code list is greater than or equal to the first number, the user may be considered to have a need to dial in the roaming state. That is, when the user is deemed to have the dialing requirement in the roaming state, the mobile terminal may start the function of identifying the country code of the destination number and perform the subsequent corresponding operation. Therefore, when the mobile terminal serves users with different requirements, the mobile terminal can have an interface meeting the use requirements of the users, and is more personalized.
In an alternative embodiment, the preset country code list includes country codes extracted by the mobile terminal from the setting information, the SIM card, the network-resident information, the contact information and the call record.
In an alternative embodiment, the destination number of any one of the international roaming numbers is displayed according to a corresponding display format, and the display format corresponds to a country code included in any one of the international roaming numbers.
Therefore, the user can visually see the difference of the international roaming numbers corresponding to different country codes. For example, the destination number is "15112345678". The mobile terminal can recognize that the country code to which the number belongs is the german country code and the china international code, and then the target number is displayed in a display format corresponding to the german country code on the second interface (i.e. + 49-1511-; the target number is displayed in a display format corresponding to the Chinese country code (i.e., + 86-151-1234-5678).
In an optional implementation manner, the second interface further includes a matching result of the call record and/or the contact information and the target number and a matching result of the yellow page and the target number.
Therefore, the mobile terminal also has the function of number matching, and the dialing operation of the user is simplified.
In an alternative embodiment, the matching result of the call record and/or the contact information and the target number, the at least one international roaming number, and the matching result of the yellow page and the target number are arranged in sequence.
Therefore, the mobile terminal displays according to the sequence, and actually starts from the use habit of the user, so that the user can find the required number more quickly, and the dialing operation is simplified.
In an alternative embodiment, each international roaming number further includes an international prefix.
In a second aspect, an embodiment of the present application further provides a mobile terminal, including: one or more processors; a memory;
and one or more computer programs, wherein the one or more computer programs are stored in the memory, the one or more computer programs comprising instructions which, when executed by the mobile terminal, cause the mobile terminal to perform the method according to any of the first aspects.
Specifically, the mobile terminal displays a first interface of the dialing application, and the first interface includes a dial. Further, in response to the operation that a user inputs a target number on the dial, the mobile terminal determines at least one country code to which the target number belongs; the mobile terminal generates at least one international roaming number according to the target number and at least one country code; the at least one country code corresponds to at least one international roaming number one to one, and each international roaming number comprises a target number and a corresponding country code. Then, the mobile terminal displays a second interface; wherein the second interface includes at least one international roaming number; in response to a user's operation of any one of the at least one international roaming number, the mobile terminal calls the any one international roaming number.
Therefore, after the user inputs the target number, the mobile terminal can identify the country code of the target number, generate the international roaming number according to the country code and the target number, and display the international roaming number on an interface of the mobile terminal for the user to select. Therefore, roaming dialing can be realized without manually adding a country code by a user, and convenience of calling an international roaming user by the user is improved.
In an alternative embodiment, the mobile terminal determines the priority of each country code according to the attribution source of each country code and/or the number of uses of each country code in the at least one country code. If at least two country codes with different attribution sources exist in the at least one country code, if the priority of the attribution source of any one of the at least two country codes with different attribution sources is higher, the priority of any one country code is higher; if at least two country codes with the same attribution source exist in the at least one country code, the priority of any one country code is higher if the use times of any one country code in the at least two country codes with the same attribution source are more. On the basis, the mobile terminal displays at least one international roaming number on the second interface in an order from high to low based on the priority of at least one country code.
As can be seen, the mobile terminal may determine a priority for each country code. The priority may characterize how often the user uses the corresponding country code. If the priority of a country code is higher, the higher the priority of the country code is, the higher the frequency of using the country code by the user is, so that the probability of using the country code is considered to be higher. Thus, displaying the international roaming numbers in order of the priority based on the country code from high to low allows the user to more easily select the international roaming number that may be used with a high probability.
In an optional embodiment, the attribution source comprises at least one of setting information, a Subscriber Identity Module (SIM) card, network residence information, contact information and a call record; the priority of the setting information, the SIM card, the network-resident information, the contact information and the call record is sequentially increased.
Understandably, the call records can better reflect the usual use habits of the users, so the priority is higher; and the contact information may characterize the potential for the user to use the country code and therefore its priority. In short, the priority of the attribution source is divided according to the use habits of the users, so that the result displayed by the mobile terminal according to the priority is more consistent with the use habits of the users.
In an alternative embodiment, the mobile terminal includes a preset country code list, and the preset country code list includes country codes commonly used by the user. The mobile terminal can also screen out a first country code from at least one country code; the first country code belongs to a preset country code list; the mobile terminal generates at least one international roaming number according to the target number and at least one country code, and the method comprises the following steps: the mobile terminal generates a first international roaming number according to the target number and the first country code. On the basis, the mobile terminal displays the first international roaming number on the second interface.
Therefore, the mobile terminal can only display the international roaming number corresponding to the country code used by the user on the second interface, and the mobile terminal can be prevented from displaying too much invalid information.
In an alternative embodiment, the preset list of country codes includes a number of country codes greater than or equal to the first number.
It is to be understood that when the number of country codes included in the country code list is greater than or equal to the first number, the user may be considered to have a need to dial in the roaming state. That is, when the user is deemed to have the dialing requirement in the roaming state, the mobile terminal may start the function of identifying the country code of the destination number and perform the subsequent corresponding operation. Therefore, when the mobile terminal serves users with different requirements, the mobile terminal can have an interface which meets the use requirements of the users, and is more personalized.
In an alternative embodiment, the preset country code list includes country codes extracted by the mobile terminal from the setting information, the SIM card, the network-resident information, the contact information and the call record.
In an alternative embodiment, the destination number of any one of the international roaming numbers is displayed according to a corresponding display format, and the display format corresponds to a country code included in any one of the international roaming numbers.
Therefore, the user can visually see the difference of the international roaming numbers corresponding to different country codes. For example, the destination number is "15112345678". The mobile terminal can recognize that the country code to which the number belongs is the german country code and the china international code, and then the target number is displayed in a display format corresponding to the german country code on the second interface (i.e. + 49-1511-; the target number is displayed in a display format corresponding to the Chinese country code (i.e., + 86-151-1234-5678).
In an optional implementation manner, the second interface further includes a matching result of the call record and/or the contact information and the target number and a matching result of the yellow page and the target number.
Therefore, the mobile terminal also has the function of number matching, and the dialing operation of the user is simplified.
In an optional embodiment, the matching result of the call record and/or the contact information and the target number, the at least one international roaming number, and the matching result of the yellow page and the target number are arranged in sequence.
Therefore, the mobile terminal displays according to the sequence, and actually starts from the use habit of the user, so that the user can find the required number more quickly, and the dialing operation is simplified.
In an alternative embodiment, each international roaming number further includes an international prefix.
In a third aspect, an embodiment of the present application provides a computer-readable storage medium, which includes computer instructions, and when the computer instructions are executed on a mobile terminal, the mobile terminal is caused to perform the method according to any one of the first aspect.
In a fourth aspect, the present application provides a computer program product, which when run on a mobile terminal, causes the mobile terminal to execute the voice interaction method according to any one of the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip system, where the chip system is applied to a mobile terminal. The chip system includes one or more interface circuits and one or more processors; the interface circuit and the processor are interconnected through a line; the interface circuit is used for receiving signals from a memory of the mobile terminal and sending the signals to the processor, and the signals comprise computer instructions stored in the memory; the computer instructions, when executed by the processor, cause the mobile terminal to perform the method of the first aspect and any of its possible designs, as described above.
It should be understood that the mobile terminal according to the second aspect, the computer storage medium according to the third aspect, the computer program product according to the fourth aspect, and the chip system according to the fifth aspect are all configured to execute the corresponding method provided above, and therefore, the beneficial effects that can be achieved by the mobile terminal according to the second aspect, the computer program product according to the fourth aspect, and the chip system according to the fifth aspect can refer to the beneficial effects in the corresponding method provided above, and are not described herein again.
Drawings
Fig. 1 is a schematic diagram of a system architecture according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application;
fig. 3 is an interface diagram of a mobile terminal according to an embodiment of the present disclosure;
fig. 4 is an interface diagram of a mobile terminal according to an embodiment of the present application;
fig. 5 is an interface switching diagram of a mobile terminal according to an embodiment of the present application;
fig. 6A is an interface diagram of a mobile terminal according to an embodiment of the present application;
fig. 6B is an interface diagram of a mobile terminal according to an embodiment of the present application;
FIG. 7 is a source of a list of country codes provided by an embodiment of the present application;
fig. 8A is an interface switching diagram of a mobile terminal according to an embodiment of the present application;
fig. 8B is an interface switching diagram of a mobile terminal according to an embodiment of the present application;
fig. 9A is an interface switching diagram of a mobile terminal according to an embodiment of the present application;
fig. 9B is an interface switching diagram of a mobile terminal according to an embodiment of the present application;
fig. 10 is an interface diagram of a mobile terminal according to an embodiment of the present application;
fig. 11 is an interface diagram of a mobile terminal according to an embodiment of the present application;
fig. 12 is an interface diagram of a mobile terminal according to an embodiment of the present application;
fig. 13A is a flowchart of querying a country code affiliation list according to an embodiment of the present application;
FIG. 13B illustrates a manner of determining country code priority according to an embodiment of the present application;
fig. 14 is an interface diagram of a mobile terminal according to an embodiment of the present application;
fig. 15 is a flowchart of a dialing processing method according to an embodiment of the present application;
fig. 16 is a schematic diagram of a chip system according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. In the description of the present application, unless otherwise specified, "at least one" means one or more, "a plurality" means two or more. In addition, in order to facilitate clear description of technical solutions of the embodiments of the present application, in the embodiments of the present application, terms such as "first" and "second" are used to distinguish the same items or similar items having substantially the same functions and actions. Those skilled in the art will appreciate that the terms "first," "second," etc. do not denote any order or quantity, nor do the terms "first," "second," etc. denote any order or importance.
For the convenience of understanding the embodiments of the present application, a brief description of some identification information in a mobile communication network is provided below.
The country code, also known as country code, is used to identify the country. For example, the chinese country code is 86, the cambodia country code is 855, the indian country code is 91, the german country code is 49, and so on.
The international prefix code, also called international prefix, is a group of numbers added in front when a country dials abroad. For example, China is going to call out to append 00 to the country code of the target user, and foreign phones from Cambodia are required to append 001 to the country code of the target user. The "+" can be substituted.
A Mobile Country Code (MCC), which is used to uniquely identify a country to which a mobile subscriber belongs, consists of three digits. For example, MCC 460 in China. It should be noted that a country may be assigned multiple MCCs, such as MCCs in the united states including 310, 311, and 316.
The Mobile Network Code (MNC) is used for identifying a mobile network to which a mobile client belongs, and is composed of 2-3 digits. For example, the MNC of the china mobile system is 00, 02, 04, 07, the MNC of the china unicom for mobile communications (GSM) system is 01, 06, 09, the MNC of the china telecommunication Code Division Multiple Access (CDMA) system is 03, 05, and the MNC of the china iron communication system is 20.
A Mobile Subscriber Identification Number (MSIN) is an identification number of a mobile subscriber, and is used to uniquely identify the mobile subscriber.
Yellow page is the telephone directory of the industry and business according to the property and product category.
Public Land Mobile Networks (PLMNs) are networks established and operated by governments or other approved operators for the purpose of providing land mobile services to the public. Further, the PLMN is constituted by MCC and MNC. I.e., PLMN — MCC + MNC.
A Registered PLMN (RPLMN) is a PLMN that the mobile terminal has registered before the last power-off or network disconnection.
And the home PLMN (home PLMN, HPLMN) is the PLMN to which the mobile terminal user belongs.
A user controlled PLMN (UPLMN), is a parameter associated with PLMN selection stored on a Subscriber Identity Module (SIM) card of a mobile terminal.
Operator controlled PLMN (OPLMN) is a PLMN selection related parameter stored on the SIM card of the mobile terminal.
Fig. 1 is a schematic diagram of a system architecture according to an embodiment of the present disclosure. The system may include a first terminal device, a second terminal device, and one or more base stations. Data exchange between the first terminal device and the second terminal device may be performed via one or more base stations. The first terminal device and the second terminal device are both provided with dialing Applications (APPs). The first terminal device may be a telephone call-out terminal, and the second terminal device may be a telephone access terminal; alternatively, the first terminal device may be a telephone incoming terminal and the second terminal device may be a telephone outgoing terminal.
In this embodiment, taking the example that the first terminal device or the second terminal device shown in fig. 1 is a mobile terminal 200 (e.g., a mobile phone), a structure of the first terminal device or the second terminal device provided in this embodiment is illustrated. As shown in fig. 2, the mobile terminal 200 (e.g., a handset) may include: the mobile communication device comprises a processor 210, an external memory interface 220, an internal memory 221, a Universal Serial Bus (USB) interface 230, a charging management module 240, a power management module 241, a battery 242, an antenna 1, an antenna 2, a mobile communication module 250, a wireless communication module 260, an audio module 270, a speaker 270A, a receiver 270B, a microphone 270C, an earphone interface 270D, a sensor module 280, keys 290, a motor 291, an indicator 292, a camera 293, a display 294, a SIM card interface 295 and the like.
The sensor module 280 may include a pressure sensor, a gyroscope sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, and the like.
It is to be understood that the illustrated structure of the present embodiment does not constitute a specific limitation to the mobile terminal 200. In other embodiments, mobile terminal 200 may include more or fewer components than shown, or combine certain components, or split certain components, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 210 may include one or more processing units, such as: the processor 210 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a memory, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. The different processing units may be separate devices or may be integrated into one or more processors.
The controller may be a neural center and a command center of the mobile terminal 200. The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution.
A memory may also be provided in processor 210 for storing instructions and data. In some embodiments, the memory in the processor 210 is a cache memory. The memory may hold instructions or data that have just been used or recycled by processor 210. If the processor 210 needs to use the instruction or data again, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 210, thereby increasing the efficiency of the system.
In some embodiments, processor 210 may include one or more interfaces. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and/or a Universal Serial Bus (USB) interface, etc.
It should be understood that the connection relationship between the modules illustrated in this embodiment is only an exemplary illustration, and does not limit the structure of the mobile terminal 200. In other embodiments, the mobile terminal 200 may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The charge management module 240 is configured to receive a charging input from a charger. The charger may be a wireless charger or a wired charger. The charging management module 240 may also supply power to the mobile terminal through the power management module 241 while charging the battery 242.
The power management module 241 is used to connect the battery 242, the charging management module 240 and the processor 210. The power management module 241 receives input from the battery 242 and/or the charging management module 240, and provides power to the processor 210, the internal memory 221, the external memory, the display 294, the camera 293, and the wireless communication module 260. In some embodiments, the power management module 241 and the charging management module 240 may also be disposed in the same device.
The wireless communication function of the mobile terminal 200 may be implemented by the antenna 1, the antenna 2, the mobile communication module 250, the wireless communication module 260, a modem processor, a baseband processor, and the like. In some embodiments, antenna 1 of the mobile terminal 200 is coupled to the mobile communication module 250 and antenna 2 is coupled to the wireless communication module 260, such that the mobile terminal 200 may communicate with networks and other devices via wireless communication techniques.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in mobile terminal 200 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 250 may provide a solution including wireless communication of 2G/3G/4G/5G, etc. applied on the mobile terminal 200. The mobile communication module 250 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 250 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation.
The mobile communication module 250 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 250 may be disposed in the processor 210. In some embodiments, at least some of the functional modules of the mobile communication module 250 may be disposed in the same device as at least some of the modules of the processor 210.
The wireless communication module 260 may provide solutions for wireless communication applied to the mobile terminal 200, including WLAN (e.g., wireless fidelity, Wi-Fi) network, Bluetooth (BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and the like.
The wireless communication module 260 may be one or more devices integrating at least one communication processing module. The wireless communication module 260 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 210. The wireless communication module 260 may also receive a signal to be transmitted from the processor 210, frequency-modulate and amplify the signal, and convert the signal into electromagnetic waves via the antenna 2 to radiate the electromagnetic waves.
The mobile terminal 200 implements display functions through the GPU, the display screen 294, and the application processor, etc. The GPU is a microprocessor for image processing, and is connected to the display screen 294 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 210 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 294 is used to display images, video, and the like. The display screen 294 includes a display panel.
The mobile terminal 200 may implement a photographing function through the ISP, the camera 293, the video codec, the GPU, the display screen 294, and the application processor. The ISP is used to process the data fed back by the camera 293. The camera 293 is used to capture still images or video. In some embodiments, mobile terminal 200 may include 1 or N cameras 293, N being a positive integer greater than 1.
The external memory interface 220 may be used to connect an external memory card, such as a Micro SD card, to extend the memory capability of the mobile terminal 200. The external memory card communicates with the processor 210 through the external memory interface 220 to implement a data storage function. For example, files such as music, video, etc. are saved in an external memory card.
Internal memory 221 may be used to store computer-executable program code, including instructions. The processor 210 executes various functional applications of the mobile terminal 200 and data processing by executing instructions stored in the internal memory 221. For example, in the present embodiment, the processor 210 may execute instructions stored in the internal memory 221, and the internal memory 221 may include a program storage area and a data storage area.
The storage program area may store an operating system, an application program (such as a telephone dialing function, a sound playing function, an image playing function, and the like) required by at least one function, and the like. The storage data area may store data (e.g., audio data, a phonebook, etc.) created during use of the mobile terminal 200, and the like. In addition, the internal memory 221 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (UFS), and the like.
The mobile terminal 200 may implement an audio function through the audio module 270, the speaker 270A, the receiver 270B, the microphone 270C, the earphone interface 270D, and the application processor. Such as music playing, recording, etc.
The keys 290 include a power-on key, a volume key, etc. The keys 290 may be mechanical keys. Or may be touch keys. The motor 291 may generate a vibration cue. The motor 291 can be used for both incoming call vibration prompting and touch vibration feedback. Indicator 292 may be an indicator light that may be used to indicate a state of charge, a change in charge, or may be used to indicate a message, missed call, notification, etc. The SIM card interface 295 is used to connect a SIM card. The SIM card can be attached to and detached from the mobile terminal 200 by being inserted into the SIM card interface 295 or being pulled out of the SIM card interface 295. The mobile terminal 200 may support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 295 may support a Nano SIM card, a Micro SIM card, a SIM card, etc.
Currently, when a mobile terminal dials an overseas number at home or dials a phone number in a roaming state, a user is required to add an international prefix and a country code in front of the currently dialed phone number. For example, as shown in fig. 3, if the mobile terminal (regardless of whether it is in a roaming state) needs to dial a number in germany, the user is required to manually add an international prefix and a german country code (i.e., +49) in front of the currently dialed number. As shown in fig. 4, if a mobile terminal dials a national number while in an international roaming state, the user is required to manually add an international prefix and a chinese country code (i.e., +86) in front of the currently dialed number. Therefore, the dialing mode in the prior art is complex to operate, low in practicability and difficult to meet the instant requirement of a user.
The embodiment of the application provides a dialing processing method which is applied to a mobile terminal. The method can intelligently identify at least one country code to which a telephone number to be dialed by a user belongs, and generate at least one international roaming number according to the telephone number and the at least one country code. In addition, the mobile terminal may display the international roaming number, and call any one of the at least one international roaming number (e.g., number a) in response to a user's operation on the any one international roaming number. Therefore, the user does not need to manually add the country code, and the convenience of calling the international roaming user by the user is improved.
For convenience of understanding, the dialing processing method provided by the embodiment of the present application is specifically described below with reference to the accompanying drawings.
Taking the current user as xiao ming as an example, as shown in fig. 5 (a), a main interface (i.e., desktop) 501 of the xiao ming mobile phone includes an icon 502 of a dialing application. The handset may receive a click operation of the icon 502 of the dialing application by the user, and in response to the click operation, the handset may enter a dialing interface 503 as shown in (b) of fig. 5. The dialing interface 503 may include a dial 504, a call log 505, and the like. As shown in fig. 6A, in response to a user's operation of inputting a destination number (i.e., the number "8230571") at the dial 504, the cellular phone may display the destination number (i.e., the number "8230571") and the three types of matching results on the dial interface 503. The three types of matching results are respectively a matching result of the target number and the call record (and/or the contact list), an international number identification result and a matching result of the target number and the yellow page. Illustratively, the result of the match of the destination number to the call record (or contact list) may include the telephone number of Sam in display area 506. The international number recognition result may include a result that the destination number is displayed in a display format corresponding to a different country code in the display area 507. The result of matching the destination number with the yellow page may include the yellow page number in the display area 508 (a-center service hot line "400-.
Illustratively, the matching result in the display area 506 may be the telephone number of the contact Sam (15182305718). If the user determines that the telephone number to be dialed is Sam, the display area 506 may be clicked. After the mobile phone detects the operation of the user clicking the display area 506, as shown in fig. 6B, the mobile phone may jump to a call interface 701. The call interface 701 may display Sam's avatar 702, phone number 703, number home 704 (i.e., Beijing), and function buttons 705 (e.g., record, pause, video call, mute, etc.). Therefore, in the process of inputting the target number by the user, the mobile phone can perform intelligent matching in real time to determine whether the call record and/or the contact list comprise the number input by the user. If the call log and/or the contact list includes the number input by the user, the mobile phone may display the matching result in the display area 506. Therefore, even if the user does not remember the complete telephone number, the user can find the complete number in the call record and/or the contact list through intelligent matching, and convenience is provided for the user.
Still as shown in FIG. 6A, an A-center service hotline "400-" 88230571 "may be displayed in the display area 508. It is understood that the a-center service hot line "400-. Similarly, if the user determines that the telephone number to be dialed is the A-center service hotline "400- > 88230571," the user may click on display area 508. The handset detects the user's operation of clicking the display area 508, and may call "400-. Therefore, the user can inquire the complete number through one part of the telephone number without memorizing a plurality of yellow page numbers by himself, and the user experience is improved.
In the display area 507, the word "international number identification" indicates that the area is used for displaying an international roaming number. The international roaming number comprises an international prefix, a country code and a target number displayed according to a display format corresponding to the country code. For example, according to the e.164 number formatting scheme, the handset may recognize that the country to which the number "8230571" belongs may be the united states, debye, etc. Therefore, the mobile phone can automatically add the international prefix and the American country code before the number '8230571', and can format and display the number '8230571' in a display format corresponding to the American country code. The mobile phone can also automatically add an international prefix and a debye country code before the number 8230571, and format and display the number 8230571 in a display format corresponding to the debye country code. For example, if the number "8230571" is displayed in the display format corresponding to the American country code, "+ 1-823 and 057-1". If the number "8230571" is displayed in the display format corresponding to the Dubai country code, it is "+ 971-. Therefore, the mobile phone can automatically identify the possible country code of the number input by the user, automatically add the country code in front of the input number and display the input number in the display format corresponding to the country code, the manual addition of the user is not needed, and the international long-distance operation of the user is simplified.
Of course, it should be noted that, in another alternative embodiment, the display format of the destination number may not be limited. That is, the mobile phone does not need to display the target number according to the display format corresponding to the country code, and the country code is added in front of the target number. Further, since each international roaming number needs to include an international prefix and may be replaced with "+", it will not be described hereinafter that the international prefix is added before the number (destination number) input by the user.
It should be noted that the e.164 number formatting scheme is an international public telephone number (PSTN) scheme defined by the international telecommunications union, which is used in Public Switched Telephone Networks (PSTN) and some data networks, and defines both the number length and the number display format. Illustratively, it defines the number length of Chinese telephone numbers as 11 digits, in the display format "xxx-xxxx-xxxx". For another example, it is defined that a german telephone number has a number length of 11 digits and a display format of "xxxx-xxxxxxx". As another example, a phone number defining the United states has a number length of 7 digits in a display format of "xxx-xxx-x"; the number defining the telephone number for debye is 7 digits in length and is shown in the format "xxx-xxxx". In an alternative embodiment, the handset may directly call the relevant function or interface of the integrated e.164 number formatting scheme, identify the country code and display format to which the number may correspond.
In the dial interface 503, the display area 506, the display area 507, and the display area 508 may be arranged in this order. The arrangement mode starts from the use habit of the user, so that the user can more quickly find the required number, and the dialing operation is simplified. Of course, in other embodiments, the display regions 506, 507, and 508 may not be arranged in a strict order, and may be arranged arbitrarily.
In an alternative embodiment, when the country code corresponding to the input number belongs to a preset country code list, the mobile phone adds the country code before the number. Where the list of country codes may include one or more country codes, each of which may be used to indicate a possible home for the number.
Illustratively, as shown in fig. 7, the country codes included in the country code list may include the following sources:
1. and setting information. It is to be understood that the handset may extract the country code from the setting information. The setting information may include information on a country code, information on a region, etc. in the cellular phone. For example, the mobile phone may receive an operation by the user, and in response to the operation, the mobile phone may set a default country code. Illustratively, as shown in (a) of fig. 8A, the mobile phone may display a main interface 801, and an icon 802 of a dialing application is included in the main interface 801. The mobile phone may receive a click operation of the icon 802 of the dialing application by the user, and in response to the click operation, the mobile phone may display a dialing interface 803 as shown in (b) in fig. 8A. A details icon 804 may be included in the dialing interface 803. The handset may receive a user click operation on the details icon 804, and in response to the operation, as shown in (c) of fig. 8A, the handset may display a plurality of options (or entries) on the dialing interface 803, such as a call recording option, a harassment interception option, a setting option 805, and the like. The user may click the setting option 805 when the user needs to set the call related function of the mobile phone. When the cell phone detects an operation of clicking the setting option 805, as shown in (a) in fig. 8B, the cell phone may enter the phone setting interface 806. The phone settings interface 806 may include a strange number identification option, a call log merge option, a home and country code option 807, and the like. The mobile phone may receive a click operation of the location and country code option 807 by the user, and in response to the click operation, as shown in (B) in fig. 8B, the mobile phone may enter a location setting interface 808, and the location setting interface 808 may include a display location option, a country code setting option 809, and the like. The cellular phone may receive a click operation of the country code setting option 809 by the user, and in response to the operation, as shown in (c) in fig. 8B, the cellular phone may display a country code selection box 810. The country code selection box 810 includes each country and its corresponding country code. For example, it may include china and its corresponding country code (i.e., 86), the united states and its corresponding country code (i.e., 1), germany and its corresponding country code (i.e., 49), etc. Therefore, the user can select the default country code according to actual requirements, and the mobile phone can directly extract the default country code from the setting information.
Or, the mobile phone may read a default region in the system setting, and determine a country code corresponding to the default region. The procedure for setting the default zone may refer to the following interface. As shown in (a) of fig. 9A, the cellular phone may display a home interface 901, and the home interface 901 may include a setting icon 902. The cellular phone may receive an operation of the user clicking the setting icon 902, and in response to the operation, the cellular phone may display the setting interface 903 as shown in (b) in fig. 9A. The settings interface 903 may include wireless and network entries, device connection entries, application and notification entries, battery entries, system entries 904, and the like. The cellular phone can receive an operation of the system entry 904 by the user, and in response to the operation, the cellular phone can display a system setting interface 905 as shown in (c) in fig. 9A. The system settings interface 905 may include system update options, system navigation options, language and input methods options 906, and the like. The handset may receive an operation of the language and input method option 906 by the user, and in response to the operation, as shown in (a) of fig. 9B, the handset may display a language and input method setting interface 907. Illustratively, language and input method settings interface 907 may include language and locale options 908, input method options, and the like. If the user desires to set a language and locale, the language and locale option 908 can be clicked. When the cellular phone detects an operation of the user clicking on the language and region option 908, the cellular phone may enter a language region setting interface 909 as shown in (B) of fig. 9B. The language locale preference setting interface 909 may include a language option and a locale option 910. The currently set region (e.g., china) may be displayed in region option 910. If the user needs to change the region, the region option 910 may be clicked. The cell phone may receive an operation of the user clicking on the region option 910, and in response to the operation, the cell phone may enter a select region interface 911 as shown in (c) of fig. 9B. The select area interface 911 may be used by a user to select a plurality of areas (e.g., Egypt, Argentina, etc.). Therefore, the user can select the region according to the actual requirement, the mobile phone can directly extract the region from the setting information, and the country code corresponding to the region is used as the default country code.
2. And a SIM card. It will be appreciated that the handset may extract the country code from the SIM card. The SIM card includes an Integrated Circuit Card Identity (ICCID) and an International Mobile Subscriber Identity (IMSI). The ICCID is a unique identification code of the SIM card, and the length of the ICCID is 20 bits, and may include numbers and letters. Wherein, the first two digits of the ICCID are numbers used for representing the international number. The 3 rd bit and the 4 th bit are numbers and are used for representing the country code. Bits 5 and 6 are also numbers, which can be used as operator codes with the first 4 digits. For example, the carrier code for china mobile is: 898600, 898602, 898607; the operator codes of china unicom are: 898601, 898606, 898609; the carrier codes of the Chinese telecom are: 898603, 898611. Wherein, the international number is '89', and the country code is '86'. IMSI is a number that is internationally assigned to uniquely identify a mobile subscriber. The IMSI has 15 digits in total, and the structure is as follows: MCC + MNC + MSIN. Therefore, the home country of the SIM card can be determined by reading the first 3 digits of the IMSI, so as to determine the country code corresponding to the SIM card. Thus, the mobile phone can read the ICCID or IMSI through a related Application Programming Interface (API), thereby determining the country code corresponding to the SIM card. It should be noted that, at present, many mobile phones can support adding a plurality of SIM cards, the home country of each SIM card may be different, and the mobile phone can determine the home country of each SIM card, thereby determining the corresponding country code. In an alternative embodiment, the handset may generate the sub-list of SIM card country codes based on the country code obtained from the SIM card.
3. And (4) network residing information. The handset can extract the country code from the network presence information. It can be understood that after the mobile phone is powered on, the network signal can be searched. If the mobile phone searches the signals of RPLMN, HPLMN, UPLMN and OPLMN, the mobile phone immediately tries to reside. After the mobile phone successfully resides in the network, the MNC of the resident mobile network can be obtained, and the corresponding country code is determined according to the MNC. It should be noted that the mobile phone may reside in different PLMNs, and different PLMNs may have different MNCs, so as to correspond to different country codes. Thus, the handset may generate a sub-list of camping country codes based on the country code obtained from the camped PLMN.
4. Contact information. That is, the cell phone may extract the country code from the contact information. The mobile phone can store contact information, and the contact information comprises contact names, contact numbers and other contents. The mobile phone can extract the country code from the contact number. For example, as shown in FIG. 10, the cell phone may display a contact interface 1001, where the contact interface 1001 may include a contact name (i.e., Xiaohong), a contact number (i.e., "+ 86-151-. Thus, the mobile phone can extract the country code corresponding to the number from the contact number (i.e. 86). In an alternative embodiment, the mobile phone may extract different country codes from different contact information, and the mobile phone may generate a contact country code sub-list based on the country code obtained from the contact list.
5. And recording the call. That is, the handset may extract the country code from the call log. It will be appreciated that the user may make and/or receive calls using a cell phone. The mobile phone can generate a call record every time when calling out or receiving a call. Each call record may include call status (incoming, outgoing, ringing, etc.), time, and number. Therefore, the mobile phone can determine the corresponding country code according to the number in each call record. Illustratively, as shown in fig. 11, the handset may display a call log list 1101. The call log list 1101 may include call logs of minds and contacts or strangers. For example, the call log 1102 shows that the Mingmen called the German number "+ 49-1511-. The call log 1103 indicates that the TOM received the call at 3.1 days, and the number of the TOM is belonged to sikawa, so as to determine that the country code corresponding to the TOM is the chinese country code (i.e., 86). In an alternative embodiment, the mobile phone may extract different country codes from different call records, and the mobile phone may generate a sub-list of the country codes of the call records based on the country codes obtained from the call records.
It should be noted that, when the mobile phone collects the country code from the above source, the mobile phone may perform deduplication processing on the country code. For example, the mobile phone determines the default country code as a chinese country code according to the setting information; the mobile phone determines that the SIM card country code sublist comprises a Chinese country code and an American country code; the mobile phone determines that the network-resident country code sublist comprises the Chinese country code; the mobile phone determines that the contact country code sublist comprises a Chinese country code, a Japanese country code and a German country code; the handset determines that the sub-list of the country codes of the call records comprises a Chinese country code, a Japanese country code and a German country code. Thus, the mobile phone obtains a union set of the default country code, the SIM card country code sublist, the network-resident country code sublist, the contact country code sublist, and the call record country code sublist, i.e. an available country code list. The list of country codes includes: chinese country code, american country code, japanese country code, and german country code.
By analyzing the source of the country code list, the country codes in the country code list may include the country codes that have been used by the user (i.e., the country codes included in the sub-list of country codes of the call record) and the country codes that may be used by the user (i.e., the country codes included in the other sub-lists). In other words, the country codes included in the country code list are the country codes that the user may probably use. The country codes identified by the mobile phone are screened through the country code list, so that the situation that the mobile phone displays too much redundant information (namely the country codes which are not used by the user with high probability) can be avoided, and the display content is simplified.
Illustratively, the country code list may include a chinese country code and a U.S. country code. After the handset detects that the user inputs a number (e.g., the number "8230571"), it can be identified that the country code corresponding to the number may be the united states country code, debye country code, etc. according to the e.164 formatting scheme. In this way, if it is not necessary to filter the country code recognized by the mobile phone, as shown in fig. 6A, the mobile phone may add the american country code and the debye country code before the number "8230571" in the display area 507, and format and display the number "8230571" in the display format corresponding to the american country code and the display format corresponding to the debye country code, respectively. On the other hand, if the country code identified by the mobile phone is selected according to the country code list, as shown in fig. 12, the mobile phone may add the united states country code (+1) only before the number "8230571" in the display area 1201, and format and display the number "8230571" in a display format corresponding to the united states country code. It is understood that since the debye country code does not belong to the country code list, it is considered that the user will not dial the telephone number belonging to the debye with a high probability, and therefore the mobile phone formats and displays the number only in the display area 1201 according to the display format of the american country code, and it is possible to reduce the number of invalid messages displayed by the mobile phone.
In an optional implementation manner, the mobile phone may start the intelligent international number identification function when the number of country codes included in the country code list is greater than or equal to a preset number. The intelligent international number identification function is used for indicating that the mobile phone can automatically identify the country code to which the number input by the user belongs, and adding the country code in front of the input number. Illustratively, the predetermined number may be any integer number such as 2, 3, etc. Therefore, the use habit of the user can be fitted more, and the phenomenon that the mobile phone displays information which is not needed by the user is avoided.
In an alternative embodiment, the handset may determine a priority for each country code in the list of country codes, and format and display the numbers in order of priority. The higher the priority of the country code, the higher the probability that the user uses the country code can be considered.
For example, the handset may prioritize the country code from two aspects:
in a first aspect, country codes belonging to different sub-lists of country codes, there may be the following priority order: the country code included in the call record country code sublist > the country code included in the contact country code sublist > the country code included in the network-resident country code sublist > the country code included in the SIM card country code sublist > the default country code.
It should be noted that, since the country code list includes the deduplicated country code, this means that there may be cases where the same country code is included in several country code sub-lists. To avoid the problem of confusion of priority caused by one country code belonging to multiple country code sub-lists, for example, taking the case that the country code list includes country code a, the handset may determine the attribution of each country code according to the flowchart shown in fig. 13A. As shown in fig. 13A, the mobile phone may first determine whether the sub-list of the country code of the call record includes the country code a, and if the sub-list of the country code of the call record includes the country code a, it may be determined that the country code a belongs to the sub-list of the country code of the call record. If the sub-list of the country code of the call record does not include the country code a, the mobile phone can further determine whether the sub-list of the country code of the contact person includes the country code a. If the contact country code sub-list includes the country code a, it may be determined that the country code a belongs to the contact country code sub-list. If the contact country code sub-list does not include the country code a, the mobile phone may further determine whether the network-resident country code sub-list includes the country code a. If the network-resident country code sublist includes the country code a, it may be determined that the country code a belongs to the network-resident country code sublist. If the network-resident country code sub-list does not include the country code a, the mobile phone may further determine whether the SIM card country code sub-list includes the country code a. If the SIM card country code sublist includes the country code a, it may be determined that the country code a belongs to the SIM card country code sublist. If the SIM card country code sublist does not include the country code a, it may be determined that the country code a is the default country code.
For example, the country codes included in the country code list, the call record country code sub-list, the contact country code sub-list, the network residence country code sub-list, the SIM card country code sub-list, and the default country code may be as shown in table 1:
thus, according to the flow of fig. 13A, it can be determined that the chinese country code, the american country code, and the japanese country code belong to the call record country code sub-list, the german country code belongs to the contact country code sub-list, and the uk country code belongs to the network-resident country code sub-list. In other words, the priority between the Chinese country code, the American country code, the Japanese country code, the German country code, and the British country code is in the following order: chinese country code, american country code, japanese country code > german country code > british country code.
TABLE 1
Figure BDA0003076093170000131
In the second aspect, as shown in fig. 13B, the country codes belonging to the same country code sublist have higher priority as the usage number (appearance number, network residence number) thereof is higher.
For the country code belonging to the sub-list of the country code of the call record, the mobile phone can count the number of times of using the country code in the call record. For a country code that is categorized in the contact country code sub-list, the mobile phone may count the number of occurrences of the country code in the contact. For the country code belonging to the network residing country code sublist, the mobile phone can count the number of times that the mobile phone resides in the network signal corresponding to the country code.
Illustratively, still taking table 1 as an example, if the usage times of the chinese country code in the call record is 100 times, the usage times of the american country code in the call record is 5 times, and the usage times of the japanese country code in the call record is 20 times, the priorities among the chinese country code, the american country code, the japanese country code, the german country code, and the uk country code are in the following order: china country code > japan country code > usa country code > german country code > uk country code. On this basis, if the mobile phone detects that the user inputs a number, the country code possibly corresponding to the number can be determined according to the e.164 number formatting scheme and the country code list, and the number is formatted and displayed according to the priority order.
For example, as shown in fig. 14, the cellular phone may receive an operation of inputting a number "15112345678" by the user, and in response to the operation, the cellular phone may determine that the number is 11 digits in length. The mobile phone can determine that the number may correspond to a chinese country code and a german country code according to the e.164 number formatting scheme and the country code list. Since the priority of the Chinese country code is higher than that of the German country code, the mobile phone adds the Chinese country code before the number "15112345678" in the display area 1401, displays the number "15112345678" in the display format corresponding to the Chinese country code (i.e., + 86-151-1234-2345678), and adds the German country code before the number "15112345678" in the display area 1402, and displays the number "15112345678" in the display format corresponding to the German country code (i.e., +49-1511-234567), and the display area 1401 is located above the display area 1402, so that the user can select the Chinese country code with higher priority more conveniently.
It can be understood that the priority of the country code is determined based on the two aspects, and the use habit of the user can be reflected more accurately. Therefore, the mobile phone can display the numbers after formatting according to the use habits of the user, and the effect of enabling the user to find the required country codes more quickly is achieved.
In another alternative embodiment, the mobile terminal may also directly determine the priority order of the country codes it recognizes. It can be understood that the country code identified by the mobile terminal device may not belong to the preset country code list, or may belong to the preset country code list. For the country codes belonging to the preset country code list, the priority may be determined according to the method shown in fig. 13A and 13B, which is not described herein again. For country codes which do not belong to a preset country code list, the priority of the country code is defaulted to be the lowest; therefore, the number corresponding to the country code of the mobile terminal is displayed behind other country codes.
Fig. 15 is a flowchart of a dialing processing method according to an embodiment of the present application. The method comprises the following steps:
s101, the mobile terminal displays a first interface of a dialing application, wherein the first interface comprises a dial.
For example, the first interface may be a dialing interface 503 as shown in (b) of fig. 5 or a dialing interface 803 as shown in (b) of fig. 8A. The dial may be a dial 504 as shown in fig. 5 (b).
S102, responding to the operation that a user inputs a target number on a dial, the mobile terminal determines at least one country code to which the target number belongs.
It will be appreciated that the mobile terminal may identify at least one country code to which the destination number belongs according to an e.164 number formatting scheme.
S103, the mobile terminal generates at least one international roaming number according to the target number and at least one country code.
The at least one country code corresponds to at least one international roaming number one to one, and each international roaming number comprises a target number and a corresponding country code.
That is, the mobile terminal adds the at least one country code and the international prefix to the destination number, thereby generating at least one international roaming number. For example, the destination number is "8230571", and the at least one country code includes a U.S. country code (i.e., 1) and a debye country code (i.e., 971), the mobile terminal adds the U.S. country code to the destination number "8230571" to obtain an international roaming number of 1 (i.e., + 1-8230571); the mobile terminal adds the country code to the destination number "8230571" to obtain the international roaming number 2 (i.e., +971 and 8230571).
And S104, displaying the second interface by the mobile terminal. Wherein the second interface includes at least one international roaming number.
Illustratively, the second interface may be a dialing interface 503 as shown in fig. 6A. The at least one international roaming number may be the content shown in the display area 507 of FIG. 6A, for example, "+ 1-823-.
In an alternative embodiment, the destination number of the international roaming number is displayed according to a corresponding display format, and the display format corresponds to a country code included in the international roaming number.
In an optional implementation manner, the second interface may further include a matching result of the call record and/or the contact information and the destination number and a matching result of the yellow page and the destination number. For example, the matching result of the call record and/or the contact information with the destination number may include the content in the display area 506 in fig. 6A, i.e. the telephone number "151-; the matching result of the yellow page and the destination number may include the content in the display area 508 as shown in fig. 6A, i.e. the a-center service hot line "400-.
In an alternative embodiment, the matching result of the call record and/or the contact information and the destination number, the at least one entry, and the matching result of the yellow page and the destination number may be arranged in sequence.
In an alternative embodiment, the mobile terminal includes a preset country code list, and the preset country code list includes country codes commonly used by the user. The preset country code list comprises country codes extracted by the mobile terminal from the setting information, the SIM card, the network residence information, the contact information and the call record.
In an alternative embodiment, the preset list of country codes includes a number of country codes greater than or equal to the first number.
In an alternative embodiment, the mobile terminal may determine a priority of each country code according to the attribution source of each country code and/or the number of uses of each country code in the at least one country code, and display the at least one international roaming number on the second interface in an order from high to low based on the priority of the at least one country code.
If at least two country codes with different attribution sources exist in the at least one country code, if the priority of the attribution source of any one of the at least two country codes with different attribution sources is higher, the priority of any one country code is higher; if at least two country codes with the same attribution source exist in at least one country code, if the use times of any one of the at least two country codes with the same attribution source are more, the priority of any one of the country codes is higher.
The attribution source comprises at least one item of setting information, a Subscriber Identity Module (SIM) card, network residence information, contact person information and a call record; and the priority of the setting information, the SIM card, the network residence information, the contact information and the call record is sequentially increased.
In an alternative embodiment, the mobile terminal may screen the at least one country code for a first country code; the first country code belongs to a preset country code list, a first international roaming number is generated according to the target number and the first country code, and the first international roaming number is displayed on a second interface.
And S105, responding to the operation of the user on any one international roaming number in the at least one international roaming number, and calling any one international roaming number by the mobile terminal.
Embodiments of the present application also provide a chip system, as shown in fig. 16, which includes at least one processor 1601 and at least one interface circuit 1602. The processor 1601 and the interface circuit 1602 may be interconnected by a line. For example, the interface circuit 1602 may be used to receive signals from other devices (e.g., the memory of a mobile terminal). Also for example, the interface circuit 1602 may be used to send signals to other devices, such as the processor 1601. Illustratively, the interface circuit 1602 may read instructions stored in a memory and send the instructions to the processor 1601. The instructions, when executed by the processor 1601, may cause the mobile terminal to perform the various steps in the embodiments described above. Of course, the chip system may further include other discrete devices, which is not specifically limited in this embodiment of the present application.
The embodiment of the present application further provides a computer storage medium, where the computer storage medium includes computer instructions, and when the computer instructions are run on the mobile terminal, the mobile terminal is enabled to execute each function or step executed by the mobile phone in the foregoing method embodiment.
The embodiment of the present application further provides a computer program product, which when running on a mobile terminal, enables the mobile terminal to execute each function or step executed by the mobile phone in the above method embodiment.
Through the description of the foregoing embodiments, it will be clear to those skilled in the art that, for convenience and simplicity of description, only the division of the functional modules is illustrated, and in practical applications, the above function distribution may be completed by different functional modules as needed, that is, the internal structure of the apparatus may be divided into different functional modules to complete all or part of the above described functions. For the specific working processes of the system, the apparatus and the unit described above, reference may be made to the corresponding processes in the foregoing method embodiments, and details are not described here again.
Each functional unit in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in the form of hardware, or may also be implemented in the form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially implemented or make a contribution to the prior art, or all or part of the technical solutions may be implemented in the form of a software product stored in a storage medium and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) or a processor to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media that can store program code, such as flash memory, removable hard drive, read-only memory, random-access memory, magnetic or optical disk, etc.
The above description is only a specific implementation of the embodiments of the present application, but the scope of the embodiments of the present application is not limited thereto, and any changes or substitutions within the technical scope disclosed in the embodiments of the present application should be covered by the scope of the embodiments of the present application. Therefore, the protection scope of the embodiments of the present application shall be subject to the protection scope of the claims.

Claims (12)

1. A method of dial processing, the method comprising:
the method comprises the steps that a mobile terminal displays a first interface of a dialing application, wherein the first interface comprises a dial plate;
in the process that a user inputs a target number on the dial plate, the mobile terminal determines at least one country code to which the target number belongs in real time, wherein the target number does not include the country code;
the mobile terminal generates at least one international roaming number according to the target number and the at least one country code; wherein the at least one country code corresponds to the at least one international roaming number one to one, and each international roaming number includes the destination number and the corresponding country code;
the mobile terminal displays a second interface; wherein the second interface includes the at least one international roaming number;
and responding to the operation of the user on any one international roaming number in the at least one international roaming number, and calling the any international roaming number by the mobile terminal.
2. The dial processing method according to claim 1, wherein between the mobile terminal device generating at least one international roaming number based on the destination number and the at least one country code and the mobile terminal displaying a second interface, the method further comprises:
the mobile terminal determines the priority of each country code according to the attribution source of each country code in the at least one country code and/or the using times of each country code; if at least two country codes with different attribution sources exist in the at least one country code, if the priority of the attribution source of any one of the at least two country codes with different attribution sources is higher, the priority of any one of the country codes is higher; if at least two country codes with the same attribution source exist in the at least one country code, if the use times of any one country code in the at least two country codes with the same attribution source are more, the priority of the any one country code is higher;
the mobile terminal displays a second interface, including:
and the mobile terminal displays the at least one international roaming number on the second interface according to the ranking of the priority of the at least one country code from high to low.
3. The dial-up processing method according to claim 2, wherein the attribution source includes at least one of setting information, a Subscriber Identity Module (SIM) card, network-resident information, contact information, and a call record; and the priority of the setting information, the SIM card, the network residence information, the contact information and the call record is sequentially increased.
4. The dial processing method according to any of claims 1 to 3, wherein the mobile terminal includes a preset country code list, the preset country code list including country codes commonly used by the user;
between the mobile terminal determining at least one country code to which the target number belongs and the mobile terminal displaying a second interface, the method further comprises:
the mobile terminal screens out a first country code from the at least one country code; the first country code belongs to the preset country code list;
the mobile terminal generates at least one international roaming number according to the target number and the at least one country code, and the method comprises the following steps:
the mobile terminal generates a first international roaming number according to the target number and the first country code;
the mobile terminal displays the second interface, including:
and the mobile terminal displays the first international roaming number on the second interface.
5. The dial processing method of claim 4, wherein the preset country code list includes a number of country codes greater than or equal to a first number.
6. The dial-up processing method of claim 4, wherein the preset country code list comprises country codes extracted by the mobile terminal from setup information, a SIM card, network residence information, contact information and a call record.
7. The dial processing method according to any one of claims 1 to 3, wherein the destination number in any one of the international roaming numbers is displayed in a corresponding display format corresponding to a country code included in the any one of the international roaming numbers.
8. The dial processing method according to any of claims 1 to 3, wherein the second interface further comprises a result of matching a call record and/or contact information with the destination number and a result of matching a yellow page with the destination number.
9. The dialing processing method of claim 8, wherein the matching results of the call records and/or contact information and the destination number, the at least one international roaming number, and the matching results of the yellow pages and the destination number are arranged in sequence.
10. The dial processing method according to any of claims 1 to 3, wherein each of the international roaming numbers further includes an international prefix.
11. A mobile terminal, comprising: one or more processors; a memory;
and one or more computer programs, wherein the one or more computer programs are stored in the memory, the one or more computer programs comprising instructions which, when executed by the mobile terminal, cause the mobile terminal to perform the method of any of claims 1-10.
12. A computer readable storage medium comprising computer instructions which, when run on a mobile terminal, cause the mobile terminal to perform the method of any one of claims 1-10.
CN202110553210.3A 2021-05-20 2021-05-20 Dialing processing method, mobile terminal and computer readable storage medium Active CN113438352B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN202210334057.XA CN114900576B (en) 2021-05-20 2021-05-20 Dialing processing method and mobile terminal
CN202110553210.3A CN113438352B (en) 2021-05-20 2021-05-20 Dialing processing method, mobile terminal and computer readable storage medium
PCT/CN2022/092281 WO2022242529A1 (en) 2021-05-20 2022-05-11 Dialing processing method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110553210.3A CN113438352B (en) 2021-05-20 2021-05-20 Dialing processing method, mobile terminal and computer readable storage medium

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202210334057.XA Division CN114900576B (en) 2021-05-20 2021-05-20 Dialing processing method and mobile terminal

Publications (2)

Publication Number Publication Date
CN113438352A CN113438352A (en) 2021-09-24
CN113438352B true CN113438352B (en) 2022-05-27

Family

ID=77802534

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202210334057.XA Active CN114900576B (en) 2021-05-20 2021-05-20 Dialing processing method and mobile terminal
CN202110553210.3A Active CN113438352B (en) 2021-05-20 2021-05-20 Dialing processing method, mobile terminal and computer readable storage medium

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN202210334057.XA Active CN114900576B (en) 2021-05-20 2021-05-20 Dialing processing method and mobile terminal

Country Status (2)

Country Link
CN (2) CN114900576B (en)
WO (1) WO2022242529A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114900576B (en) * 2021-05-20 2023-06-20 荣耀终端有限公司 Dialing processing method and mobile terminal

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104539786A (en) * 2014-11-24 2015-04-22 小米科技有限责任公司 Terminal dialing method, device and equipment
CN111163204A (en) * 2019-12-25 2020-05-15 上海博泰悦臻电子设备制造有限公司 Dialing control method and device

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004059956A1 (en) * 2002-12-31 2004-07-15 Oenel Aslan Tekin A method and a mobile terminal to simplify international calls
CN101640727A (en) * 2009-08-18 2010-02-03 中兴通讯股份有限公司 Method and terminal for intelligent dialing
CN102946598B (en) * 2012-11-05 2015-03-18 天翼电信终端有限公司 International roaming call method
US20140162728A1 (en) * 2012-12-06 2014-06-12 Oleg Khokhlov System and method for phone number prefix entry
CN104468936A (en) * 2013-09-12 2015-03-25 中国电信股份有限公司 Dialing method and system
CN105554851A (en) * 2015-12-22 2016-05-04 努比亚技术有限公司 Quick network searching method and device for mobile terminal
CN112770000B (en) * 2016-03-31 2023-02-03 华为技术有限公司 Call processing method and mobile terminal
CN106131820B (en) * 2016-06-14 2019-09-17 腾讯科技(深圳)有限公司 The method and apparatus of country code are provided in international call business
CN106210232A (en) * 2016-06-30 2016-12-07 维沃移动通信有限公司 The storage method of the telephone number of a kind of mobile terminal and mobile terminal
CN106507320B (en) * 2016-10-31 2019-09-27 维沃移动通信有限公司 A kind of the determination method and mobile terminal of destination number
CN114900576B (en) * 2021-05-20 2023-06-20 荣耀终端有限公司 Dialing processing method and mobile terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104539786A (en) * 2014-11-24 2015-04-22 小米科技有限责任公司 Terminal dialing method, device and equipment
CN111163204A (en) * 2019-12-25 2020-05-15 上海博泰悦臻电子设备制造有限公司 Dialing control method and device

Also Published As

Publication number Publication date
CN114900576B (en) 2023-06-20
CN114900576A (en) 2022-08-12
CN113438352A (en) 2021-09-24
WO2022242529A1 (en) 2022-11-24

Similar Documents

Publication Publication Date Title
CN113613238B (en) SIM module management method and electronic equipment
US6782278B2 (en) Dialing method for dynamically simplifying international call in cellular phone
JP4059605B2 (en) Portable communication device and automatic call processing method
KR101456625B1 (en) Method and apparatus for speed dial by mobile country code/mobile network code in mobile communication system
CN108235828B (en) Network searching display method and device of terminal equipment and terminal equipment
US8761716B2 (en) Device and method for processing emergency call in a portable terminal
US6751481B2 (en) Dialing method for effecting international call in intelligent cellular phone
JP2002345046A (en) Method and device for switching a plurality of sim cards for portable telephone
CN101494927A (en) Multi-standby mobile terminal and user identification card selection method for the same
CN106888495B (en) Network access method and terminal
CN110225176B (en) Contact person recommendation method and electronic device
CN113382363B (en) Method and device for sending messages based on different networks
CN113438352B (en) Dialing processing method, mobile terminal and computer readable storage medium
KR100825406B1 (en) Voice inform service system and service support method using the same for mobile phone
US8874087B2 (en) Initiating communication from a mobile terminal by using a selected shortcut number
KR101003642B1 (en) Method of providing phone book by mobile communication terminal for roaming service and method of registering phone number for the same, and mobile communication terminal thereof
CN101820516A (en) Method for searching for mobile phone television channels
KR100983141B1 (en) Mobile communication system for international roaming processing and control method thereof, mobile communication apparatus used in the system and control method thereof
KR20100093701A (en) Mutistandby terminal and method for offering call waiting sound thereof
CN106899733B (en) Intelligent terminal and system address book telephone number processing method and device
CN108718450B (en) Telephone card control method, device, storage medium and mobile terminal
WO2019218787A1 (en) Network marking method and device, readable storage medium, and mobile terminal
JP2006121756A (en) Portable communication device
KR20020038331A (en) Method for transmitting short message in mobile communication terminal
JP2005012269A (en) Cellular phone, and control program of cellular phone

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
GR01 Patent grant
GR01 Patent grant