CN111163204A - Dialing control method and device - Google Patents

Dialing control method and device Download PDF

Info

Publication number
CN111163204A
CN111163204A CN201911357844.0A CN201911357844A CN111163204A CN 111163204 A CN111163204 A CN 111163204A CN 201911357844 A CN201911357844 A CN 201911357844A CN 111163204 A CN111163204 A CN 111163204A
Authority
CN
China
Prior art keywords
dialing
target number
area code
country code
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911357844.0A
Other languages
Chinese (zh)
Inventor
应宜伦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Pateo Electronic Equipment Manufacturing Co Ltd
Original Assignee
Shanghai Pateo Electronic Equipment Manufacturing 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 Shanghai Pateo Electronic Equipment Manufacturing Co Ltd filed Critical Shanghai Pateo Electronic Equipment Manufacturing Co Ltd
Priority to CN201911357844.0A priority Critical patent/CN111163204A/en
Publication of CN111163204A publication Critical patent/CN111163204A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72457User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72469User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephone Function (AREA)

Abstract

The invention provides a dialing control method and a dialing control device, which are applied to a dialing terminal, wherein the dialing control method comprises the following steps: acquiring a target number; acquiring the position information of a dialing terminal; if the position information of the dialing terminal is not matched with the country code and/or area code of the target number, the country code and/or area code corresponding to the target number is automatically added during dialing. The dialing control method and the dialing control device provided by the invention can automatically add the country code and the area code before the dialed number during dialing, thereby improving the dialing experience of a user.

Description

Dialing control method and device
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a dialing control method and apparatus.
Background
After the telephone number is stored in the current mobile communication equipment such as mobile phone (an operation terminal including bluetooth equipment such as a car machine), the user does not automatically judge whether to add information such as country code or area code when dialing according to the location of the communication equipment, so that the user must manually input the area code/country code and then input the telephone number when the communication equipment is used in other countries or areas.
When a user dials a telephone number, a country code and/or an area code need to be input according to a target number and position information of the communication equipment, on one hand, the country code and/or the area code is troublesome to memorize or inquire, and on the other hand, the country code and/or the area code is long and easy to be wrongly recorded or wrongly input. Therefore, the existing dialing mode not only has low dialing efficiency, but also has complex operation.
Therefore, a dialing control method and apparatus are needed to solve the above problems.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a dialing control method and a dialing control device, which can automatically add a country code and/or an area code before dialing a number when dialing.
The technical problem to be solved by the invention is realized by adopting the following technical scheme:
a dialing control method is applied to a dialing terminal and comprises the following steps: acquiring a target number; acquiring the position information of a dialing terminal; if the position information of the dialing terminal is not matched with the country code and/or area code of the target number, the country code and/or area code corresponding to the target number is automatically added during dialing.
In a preferred embodiment of the present invention, the step of obtaining the destination number includes: the dialing terminal stores the destination number and its corresponding country code and/or area code in advance.
In a preferred embodiment of the present invention, the step of obtaining the destination number includes: judging whether the target number contains a country code and/or an area code; if yes, the target number is used as a dial-out number; if not, the step of obtaining the position information of the dialing terminal is carried out.
In a preferred embodiment of the present invention, the step of obtaining the destination number includes: judging whether the target number is a special number; if the target number is a special number, the target number input by the user is used as a dial-out number; and if the target number is not the special number, the step of acquiring the position information of the dialing terminal is carried out.
In a preferred embodiment of the present invention, the step of obtaining the location information of the dialing terminal itself includes: and after the country code and/or area code corresponding to the dialing terminal is obtained according to the position information, the country code and/or area code corresponding to the target number is obtained.
In a preferred embodiment of the present invention, if the location information of the dialing terminal does not match the country code and/or area code of the destination number, the step of automatically adding the country code and/or area code corresponding to the destination number during dialing comprises: judging whether the target number is the same as the country code corresponding to the dialing terminal; if the country codes are the same, identifying the type of the target number according to a preset rule, wherein the type of the target number comprises: fixed telephone numbers and cell phone numbers.
In a preferred embodiment of the present invention, if the country codes are the same, the step of identifying the type of the target number according to the preset rule includes: when the destination number is a fixed telephone number, judging whether the area code of the destination number is the same as the area code of the dialing terminal; and when the target number is a mobile phone number, taking the target number input by the user as a dialing number.
In a preferred embodiment of the present invention, if the location information of the dialing terminal does not match the country code and/or area code of the destination number, the step of automatically adding the country code and/or area code corresponding to the destination number during dialing includes: and if the country code and/or the area code of the dialing terminal and the target number are not matched, adding the country code and/or the area code corresponding to the target number into a number display area of the dialing interface for displaying.
A dial control device comprising: a memory, a processor and a dial control program stored on the memory and executable on the processor, the dial control program being configured to implement the steps of the dial control method as in any one of the above solutions.
The technical effect achieved by adopting the technical scheme is as follows: when a user dials the telephone number later, whether the dialed telephone number contains a country code/area code is judged, when the dialed telephone number does not contain the country code and the area code, the country and the area where the current dialing terminal is located are obtained firstly, then the comparison is carried out between the country code and the area code stored in the telephone number, if the corresponding country code is not consistent with the area code, the country code and the area code are added before the dialed number automatically during dialing, and the dialing experience of the user is improved.
The foregoing description is only an overview of the technical solutions of the present invention, and in order to make the technical means of the present invention more clearly understood, the present invention may be implemented in accordance with the content of the description, and in order to make the above and other objects, features, and advantages of the present invention more clearly understood, the following preferred embodiments are specifically described in detail with reference to the accompanying drawings.
Drawings
Fig. 1 is a flowchart of a dialing control method according to a first embodiment of the present invention;
fig. 2 is a schematic structural diagram of a dialing control device according to a second embodiment of the present invention.
Detailed Description
To further illustrate the technical measures and effects taken by the present invention to achieve the intended objects, embodiments of the present invention will be described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar functions throughout. While the present invention has been described in connection with the preferred embodiments, it is to be understood that the invention is not limited to the disclosed embodiments, but is intended to cover various modifications, equivalent arrangements, and specific embodiments thereof.
Referring to fig. 1, fig. 1 is a flowchart illustrating a dialing control method according to a first embodiment of the present invention. It should be noted that the dialing terminal of this embodiment may be a communication device with a function of making a call, such as a mobile phone and a tablet computer.
Specifically, in the present embodiment, the number of the dial terminal is defaulted to the mobile phone number.
As shown in fig. 1, the dialing control method includes the following steps:
step S11: and acquiring a target number.
Specifically, a user performs a dialing operation in a dialing interface, and when the dialing terminal detects that the user performs the dialing operation, a destination number input by the user is acquired, where the destination number may be a telephone number, a mobile phone number, or another special number.
In one embodiment, step S11: obtaining a destination number, previously comprising: the dialing terminal stores the destination number and its corresponding country code and/or area code in advance.
Specifically, when the user stores contact information including a destination number to an address book using a dial terminal, location information (country/region/province, etc.) of the current dial terminal is acquired through a location module. And automatically judges whether a country code/area code, etc., has been added according to a destination number input by the user. If the code is input, the fields such as area code/country code are stored separately; if not, setting the location of the user as the location of the target number, and automatically storing the area code/country code into the area corresponding to the country code/area code in the address book.
In one embodiment, step S11: acquiring a target number, and then: judging whether the target number contains a country code and/or an area code; if yes, the target number is used as a dial-out number; if not, the step of obtaining the position information of the dialing terminal is carried out.
Specifically, the dialing terminal judges whether the destination number includes a country code and/or an area code according to the word number length of the destination number, and when the length of the destination number is inconsistent with the fixed number, the mobile phone number and the special number, the dialing terminal confirms that the destination number includes the country code and/or the area code.
In one embodiment, step S11: acquiring a target number, and then: judging whether the target number is a special number; if the target number is a special number, the target number input by the user is used as a dial-out number; and if the target number is not the special number, the step of acquiring the position information of the dialing terminal is carried out.
Particularly, when the special number is dialed, no country code and/or area code, such as an emergency number, an alarm number and the like, is required to be added.
Step S12: and acquiring the position information of the dialing terminal.
Specifically, when a user wants to dial a target number, the dialing terminal obtains the position information of the dialing terminal through the positioning module.
In one embodiment, step S12: acquiring the position information of the dialing terminal, and then: and after the country code and/or area code corresponding to the dialing terminal is obtained according to the position information, the country code and/or area code corresponding to the target number is obtained.
Specifically, the country code and/or area code corresponding to the dialing terminal and the country code and/or area code corresponding to the destination number are compared to judge whether the attributions of the dialing terminal and the destination number are the same, and when the attributions are different, the dialing terminal dials the destination number and needs to add the country code and/or area code.
Step S13: if the position information of the dialing terminal is not matched with the country code and/or area code of the target number, the country code and/or area code corresponding to the target number is automatically added during dialing.
Specifically, when the location or the attribution of the dialing terminal is different from the location or the attribution of the target number, the dialing terminal dials the target number and needs to add a country code and/or an area code corresponding to the location or the attribution of the target number. Therefore, after the country code and/or area code corresponding to the target number is determined, the country code and/or area code can be added in front of the target number, so that the function of automatically adding the country code and/or area code can be realized, and the user operation is simplified.
In one embodiment, step S13: if the position information of the dialing terminal is not matched with the country code and/or area code of the target number, the country code and/or area code corresponding to the target number is automatically added during dialing, and the method comprises the following steps: judging whether the target number is the same as the country code corresponding to the dialing terminal; if the country codes are the same, identifying the type of the target number according to a preset rule, wherein the type of the target number comprises: fixed telephone numbers and cell phone numbers.
Specifically, the area code is not required to be added when a mobile phone number is dialed in China, and only the local number can be dialed without adding the area code when a fixed telephone is dialed, so that the area code is required to be added when a fixed telephone number in other places is dialed.
In one embodiment, if the country codes are the same, the step of identifying the type of the target number according to the preset rule includes: when the destination number is a fixed telephone number, judging whether the area code of the destination number is the same as the area code of the dialing terminal; and when the target number is a mobile phone number, taking the target number input by the user as a dialing number.
In one embodiment, step S13: if the position information of the dialing terminal is not matched with the country code and/or area code of the target number, the country code and/or area code corresponding to the target number is automatically added during dialing, and the method comprises the following steps: and if the country code and/or the area code of the dialing terminal and the target number are not matched, adding the country code and/or the area code corresponding to the target number into a number display area of the dialing interface for displaying.
In the dialing control method provided by the embodiment, when a user stores a telephone number in mobile communication equipment such as a mobile phone, the country code and the area code of the telephone number are stored. When a user dials the telephone number later, whether the dialed telephone number contains a country code/area code is judged, when the dialed telephone number does not contain the country code and the area code, the country and the area where the current dialing terminal is located are obtained firstly, then the comparison is carried out between the country code and the area code stored in the telephone number, if the corresponding country code is not consistent with the area code, the country code and the area code are added before the dialed number automatically during dialing, and the dialing experience of the user is improved.
Fig. 2 is a schematic structural diagram of a dialing control device according to a second embodiment of the present invention.
As shown in fig. 2, a dialing control apparatus according to a second embodiment of the present invention includes: a memory 10, a processor 20 and a dial control program stored on the memory and executable on the processor, the dial control program being configured to implement the steps of the dial control method as in the first embodiment.
It should be understood that, although the steps in the flowchart of fig. 1 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least a portion of the steps in fig. 1 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, in different orders, and may be performed alternately or at least partially with respect to other steps or other steps.
The preferred embodiments of the present invention have been described in detail with reference to the accompanying drawings, but the present invention is not limited to the specific details of the above embodiments, the above embodiments are exemplary, and are not to be construed as limiting the present invention, and various simple modifications can be made to the technical solution of the present invention within the scope of the technical idea of the present invention, and these simple modifications all belong to the protection scope of the present invention.

Claims (9)

1. A dialing control method is characterized in that the dialing control method is applied to a dialing terminal and comprises the following steps:
acquiring a target number;
acquiring the position information of a dialing terminal;
if the position information of the dialing terminal is not matched with the country code and/or area code of the target number, the country code and/or area code corresponding to the target number is automatically added and dialed during dialing.
2. The dial control method of claim 1 wherein the step of obtaining the destination number is preceded by the steps of:
and the dialing terminal prestores the target number and a country code and/or an area code corresponding to the target number.
3. The dial control method of claim 1 wherein the step of obtaining the destination number is followed by the step of:
judging whether the target number contains a country code and/or an area code;
if yes, the target number is used as a dialing number;
and if not, entering the step of acquiring the position information of the dialing terminal.
4. The dial control method of claim 1 wherein the step of obtaining the destination number is followed by the step of:
judging whether the target number is a special number or not;
if the target number is a special number, the target number input by the user is used as a dial-out number;
and if the target number is not a special number, entering the step of acquiring the position information of the dialing terminal.
5. The dial control method of claim 1, wherein the step of obtaining the location information of the dial terminal itself is followed by:
and acquiring the country code and/or area code corresponding to the target number after acquiring the country code and/or area code corresponding to the dialing terminal according to the position information.
6. The dialing control method according to claim 1, wherein if the location information of the dialing terminal does not match the country code and/or area code of the destination number, the step of automatically adding the country code and/or area code corresponding to the destination number during dialing comprises:
judging whether the target number is the same as the country code corresponding to the dialing terminal;
if the country codes are the same, identifying the type of the target number according to a preset rule, wherein the type of the target number comprises: fixed telephone numbers and cell phone numbers.
7. The dialing control method of claim 6, wherein if the country codes are the same, the step of identifying the type of the destination number according to a preset rule comprises:
when the target number is a fixed telephone number, judging whether the area code of the target number is the same as the area code of the dialing terminal;
and when the target number is a mobile phone number, taking the target number input by the user as a dialing number.
8. The dialing control method according to claim 1, wherein if the location information of the dialing terminal does not match the country code and/or area code of the destination number, the step of automatically adding the country code and/or area code corresponding to the destination number during dialing comprises:
and if the country code and/or the area code of the target number are not matched, adding the country code and/or the area code corresponding to the target number to a number display area of the dialing interface for display.
9. A dial control device, comprising: a memory, a processor and a dial control program stored on the memory and executable on the processor, the dial control program being configured to implement the steps of the dial control method according to any of claims 1 to 8.
CN201911357844.0A 2019-12-25 2019-12-25 Dialing control method and device Pending CN111163204A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911357844.0A CN111163204A (en) 2019-12-25 2019-12-25 Dialing control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911357844.0A CN111163204A (en) 2019-12-25 2019-12-25 Dialing control method and device

Publications (1)

Publication Number Publication Date
CN111163204A true CN111163204A (en) 2020-05-15

Family

ID=70556726

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911357844.0A Pending CN111163204A (en) 2019-12-25 2019-12-25 Dialing control method and device

Country Status (1)

Country Link
CN (1) CN111163204A (en)

Cited By (1)

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

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101640727A (en) * 2009-08-18 2010-02-03 中兴通讯股份有限公司 Method and terminal for intelligent dialing
CN102958037A (en) * 2011-08-25 2013-03-06 联芯科技有限公司 Dialing method and dialing device for mobile terminal
CN104468936A (en) * 2013-09-12 2015-03-25 中国电信股份有限公司 Dialing method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101640727A (en) * 2009-08-18 2010-02-03 中兴通讯股份有限公司 Method and terminal for intelligent dialing
CN102958037A (en) * 2011-08-25 2013-03-06 联芯科技有限公司 Dialing method and dialing device for mobile terminal
CN104468936A (en) * 2013-09-12 2015-03-25 中国电信股份有限公司 Dialing method and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113438352A (en) * 2021-05-20 2021-09-24 荣耀终端有限公司 Dialing processing method and mobile terminal
CN113438352B (en) * 2021-05-20 2022-05-27 荣耀终端有限公司 Dialing processing method, mobile terminal and computer readable storage medium
WO2022242529A1 (en) * 2021-05-20 2022-11-24 荣耀终端有限公司 Dialing processing method and mobile terminal

Similar Documents

Publication Publication Date Title
US8081992B2 (en) System and method for displaying the geographic location associated with a phone call received on a phone-equipped mobile device
US8036706B2 (en) Method for accessing an additional service provided by an IC card toolkit applet
EP3352437B1 (en) A method for controlling a communications device and communications device
JPH08500952A (en) Memory dialing method for cellular phones
US11134143B2 (en) Call processing method and mobile terminal
CN103685734B (en) A kind of polymorphic type communication integration method and device
CN104683971A (en) Communication method and terminal
US20090034705A1 (en) System and method to adjust caller id information
CN103856324A (en) Identity confirmation method, communication request method, and electronic device
CN103369506A (en) Card selection prompting method of multi-card terminal and multi-card mobile terminal
CN101351000A (en) Method for showing information and communication terminal
CN102868829A (en) Communication method and device
EP2031845B1 (en) Telephone apparatus
CN111163204A (en) Dialing control method and device
CN105979552B (en) Method and system for using manual PLMN selection mode
WO2008079936A1 (en) Methods and apparatus for dial string to contact matching in a wireless communication device
CN105744503B (en) Information processing method and electronic equipment
CN105376384A (en) Dialing method and terminal
CN104270506A (en) Call processing method and device based on short number
CN104202459A (en) Major number and minor number integrated address book management method and client
CN104981032B (en) Information processing method and device
CN101087445B (en) A method and terminal device for triggering SMS sending based on called number
CN108418964B (en) Incoming call prompting method, device and system and computer readable storage medium
CN108463985A (en) A kind of call handling method, terminal and system
EP2306691A1 (en) Method of and apparatus for generating an operational telephone number for establishing a communication via a telephone network from a contact number on a mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
CB03 Change of inventor or designer information

Inventor after: Ying Zhenkai

Inventor before: Ying Yilun

CB03 Change of inventor or designer information
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Room 208, building 4, 1411 Yecheng Road, Jiading District, Shanghai, 201821

Applicant after: Botai vehicle networking technology (Shanghai) Co.,Ltd.

Address before: Room 208, building 4, 1411 Yecheng Road, Jiading District, Shanghai, 201821

Applicant before: SHANGHAI PATEO ELECTRONIC EQUIPMENT MANUFACTURING Co.,Ltd.

CB02 Change of applicant information
RJ01 Rejection of invention patent application after publication

Application publication date: 20200515

RJ01 Rejection of invention patent application after publication