CN110519454A - Incoming number processing method and processing device - Google Patents

Incoming number processing method and processing device Download PDF

Info

Publication number
CN110519454A
CN110519454A CN201910774232.5A CN201910774232A CN110519454A CN 110519454 A CN110519454 A CN 110519454A CN 201910774232 A CN201910774232 A CN 201910774232A CN 110519454 A CN110519454 A CN 110519454A
Authority
CN
China
Prior art keywords
incoming number
incoming
roaming
area code
terminal device
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
CN201910774232.5A
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.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo Chongqing Intelligent Technology Co Ltd filed Critical Oppo Chongqing Intelligent Technology Co Ltd
Priority to CN201910774232.5A priority Critical patent/CN110519454A/en
Publication of CN110519454A publication Critical patent/CN110519454A/en
Pending legal-status Critical Current

Links

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/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • 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/72484User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events

Abstract

This application discloses a kind of incoming number processing method and processing devices, and wherein this method is applied to terminal device, comprising: receive incoming call requests, incoming call requests include: incoming number;Judge whether terminal device is in roaming state;If terminal device is in roaming state, the area that terminal device is currently located is obtained;Roaming flag is carried out to incoming number, roaming flag includes: area, this method carries out roaming flag to incoming number under roaming state based on the judgement and terminal device for whether being in roaming state to terminal device, to determine that the ground area code of incoming number avoids incoming number from saving mistake or dials mistake in conjunction with roaming flag when saving incoming number and perhaps dialing incoming number.

Description

Incoming number processing method and processing device
Technical field
This application involves electronic technology field more particularly to a kind of incoming number processing method and processing devices.
Background technique
Currently, after terminal device receives incoming call, it will usually incoming number is saved, so as to subsequent communications.However, when terminal is set It is standby that incoming number will not carry the ground area code of roaming place in roaming state and when receiving the incoming call of roaming place number, thus The incoming number of preservation will not carry the ground area code of roaming place, cause to exist when dialing incoming number and dial asking for mistake Topic.
Summary of the invention
The purpose of the application is intended to solve one of above-mentioned technical problem at least to a certain extent.
For this purpose, first purpose of the application is to propose a kind of incoming number processing method, it is applied to terminal device, it should Method based on the judgement and terminal device that roaming state whether is in terminal device under roaming state to incoming number into Row roaming flag, to can determine incoming number in conjunction with roaming flag when saving incoming number or dialing incoming number Ground area code avoids incoming number from saving mistake or dials mistake.
Second purpose of the application is to propose a kind of incoming number processing unit.
The third purpose of the application is to propose a kind of electronic equipment.
The 4th purpose of the application is to propose a kind of computer readable storage medium.
In order to achieve the above object, the application first aspect embodiment proposes a kind of incoming number processing method, it is applied to eventually End equipment, this method comprises: receiving incoming call requests, incoming call requests include: incoming number;Judge whether terminal device is in roaming State;If terminal device is in roaming state, the area that terminal device is currently located is obtained;Roaming mark is carried out to incoming number Note, roaming flag includes: area.
The incoming number processing method of the embodiment of the present application, by receiving incoming call requests, the incoming call requests include: incoming call Number;Judge whether terminal device is in roaming state;If the terminal device is in roaming state, obtains the terminal and set The standby area being currently located;Roaming flag is carried out to the incoming number, the roaming flag includes: the area.This method Incoming number is overflow under roaming state based on the judgement and terminal device for whether being in roaming state to terminal device Vernier note, to can determine the area of incoming number in conjunction with roaming flag when saving incoming number or dialing incoming number Number, it avoids incoming number from saving mistake or dials mistake.
In order to achieve the above object, the application second aspect embodiment proposes a kind of incoming number processing unit, it is applied to eventually End equipment, the device include: receiving module, and for receiving incoming call requests, the incoming call requests include: incoming number;Judge mould Block, for judging whether terminal device is in roaming state;Module is obtained, for being in roaming state in the terminal device When, obtain the area that the terminal device is currently located;Mark module, for carrying out roaming flag, institute to the incoming number Stating roaming flag includes: the area.
The incoming number processing unit of the embodiment of the present application, by receiving incoming call requests, the incoming call requests include: incoming call Number;Judge whether terminal device is in roaming state;If the terminal device is in roaming state, obtains the terminal and set The standby area being currently located;Roaming flag is carried out to the incoming number, the roaming flag includes: the area.The device Incoming number is overflow under roaming state based on the judgement and terminal device for whether being in roaming state to terminal device Vernier note, to can determine the area of incoming number in conjunction with roaming flag when saving incoming number or dialing incoming number Number, it avoids incoming number from saving mistake or dials mistake.
In order to achieve the above object, the application third aspect embodiment proposes a kind of electronic equipment, which includes: to deposit Reservoir, processor and storage on a memory and the computer program that can run on a processor, processor execution institute When stating program, incoming number processing method described in the application first aspect embodiment is realized.
In order to achieve the above object, the application fourth aspect embodiment proposes a kind of computer readable storage medium, deposit thereon Computer program is contained, which realizes that incoming number described in the application first aspect embodiment is handled when being executed by processor Method.
The additional aspect and advantage of the application will be set forth in part in the description, and will partially become from the following description It obtains obviously, or recognized by the practice of the application.
Detailed description of the invention
The above-mentioned and/or additional aspect and advantage of the application is from combining in description of the following accompanying drawings to embodiment by change It obtains obviously and is readily appreciated that, in which:
Fig. 1 is the flow diagram according to the incoming number processing method of the application one embodiment;
Fig. 2 is the flow diagram according to the incoming number processing method of the application another embodiment;
Fig. 3 is the flow diagram according to the incoming number processing method of the application another embodiment;
Fig. 4 is the structural schematic diagram according to the incoming number processing unit of the application one embodiment;
Fig. 5 is the structural schematic diagram according to the incoming number processing unit of the application another embodiment;
Fig. 6 is the structural schematic diagram according to the incoming number processing unit of the application another embodiment;
Fig. 7 shows the block diagram for being suitable for the example electronic device for being used to realize the application embodiment.
Specific embodiment
Presently filed embodiment is described below in detail, the example of the embodiment is shown in the accompanying drawings, wherein from beginning Same or similar element or element with the same or similar functions are indicated to same or similar label eventually.Below by ginseng The embodiment for examining attached drawing description is exemplary, and is only used for explaining the application, and should not be understood as the limitation to the application.
Below with reference to the accompanying drawings the incoming number processing method and processing device of the embodiment of the present application is described.
Fig. 1 is a kind of flow diagram of incoming number processing method provided by the embodiments of the present application.It should be noted that The incoming number processing method of the embodiment of the present application can be applied to terminal device.Wherein, in embodiments herein, terminal is set The standby hardware device can for mobile phone etc. with incoming call handling function.
As shown in Figure 1, the incoming number processing method the following steps are included:
Step 101, incoming call requests are received, incoming call requests include: incoming number.
In the embodiment of the present application, terminal device can receive the incoming call requests of other equipment, can wherein wrap in incoming call requests Incoming number is included but is not limited to, other equipment can be such as mobile phone, fixed-line telephone etc..In the present embodiment, it is with terminal device It is illustrated for mobile phone.
Step 102, judge whether terminal device is in roaming state.
Understandable to be, terminal device is under roaming state and non-roaming state, in received incoming call requests Incoming number is different.For example, terminal device is under non-roaming state, if receiving the incoming call requests of this country, eventually The incoming number that end equipment is shown does not carry national ground area code;If receiving non-originating incoming call requests, terminal device is aobvious The incoming number shown carries the ground area code of the country where incoming number.Wherein, this country refers to the state of registration of terminal device.Again For example, terminal device is under non-originating A state roaming state, if receiving A state incoming call requests, the incoming call number that mobile phone is shown Code with not carrying A state area code;If receiving non-A state incoming call requests, such as national incoming call requests are received, what mobile phone was shown comes Therefore the ground area code of country where the electric local number portability incoming number after receiving incoming call requests, judges whether terminal device is located In roaming state.
In the embodiment of the present application, it can detect the area whether terminal device leaves itself registration, be moved to another Area, judges whether terminal device is in roaming state.If detecting that terminal device leaves the area of itself registration, move Another area is moved, then terminal device is in roaming state.If detecting that terminal device does not leave itself registration Area is moved to another area, then terminal device is in non-roaming state.
Step 103, if terminal device is in roaming state, the area that terminal device is currently located is obtained.
Further, if it is judged that terminal device is in roaming state, then the area that terminal device is currently located is obtained. Wherein, it should be noted that area refers to country, or does not set up the area of country.
As an example, when terminal device is in roaming state, the end can be obtained according to the positioning function of terminal device End equipment is currently located area.
Step 104, roaming flag is carried out to incoming number, roaming flag includes: area.
In the embodiment of the present application, judge that terminal device is in roaming state, obtain the ground that terminal device is currently located After area, roaming flag can be carried out to incoming number, wherein roaming flag may include but be not limited to roaming area.For example, at end Recording incoming number is the incoming number of roaming area in the background data base of end equipment.
In the present embodiment, by the setting of roaming flag, so that it is subsequent when saving or calling back incoming number, if incoming call Do not carried in number ground area code, then can carry out definitely area code in conjunction with roaming flag, so that it is guaranteed that incoming number save correctly with And clawback is correct.
It as an example, can also be to receiving as shown in Fig. 2, after carrying out roaming flag to incoming number Incoming number is stored, the specific steps are as follows:
Step 201, incoming number storage request is received, incoming number storage request includes: incoming call No. the first to be stored Code.
Step 202, judge in the first incoming number whether to include ground area code.
In the embodiment of the present application, whether can include ground by first incoming number by the structure decision of the first incoming number Area code.
For example, for example, the first incoming number is cell phone incoming call, the structure of the cell phone incoming call number including ground area code is such as Under: ground area code+phone number;Do not include ground area code cell phone incoming call directly display phone number;For another example, the first incoming number For fixed-line telephone incoming call, the fixed-line telephone incoming number structure including ground area code is as follows: ground area code+area code+fixed number;It does not wrap The fixed-line telephone incoming number structure for including ground area code is as follows: area code+fixed number;Therefore, the knot of the first incoming number can be passed through Structure judges whether first incoming number includes ground area code.
It should be noted that it is above-mentioned provide for judge in the first incoming number whether include area code example, be Understanding in order to facilitate this field to the application, can not be as the specific restriction to it, that is to say, that can also pass through other Whether technological means judges in the first incoming number to include ground area code, be not especially limited to this application to realize.
Step 203, if not including ground area code in the first incoming number, and there are roaming flags for the first incoming number, then exist Regional corresponding ground area code in corresponding roaming flag is added before first incoming number, and with storing addition first after area code Electric number.
Specifically, when user stores received incoming number, terminal device can receive incoming number storage and ask It asks, wherein incoming number storage request may include but be not limited to the first incoming number to be stored.Later, terminal device can be sentenced It whether include ground area code in disconnected first incoming number.If without including area code, and incoming call No. the first in the first incoming number Code is deposited there are when roaming flag, then adding in corresponding roaming flag regional corresponding ground area code before the first incoming number The first incoming number after storage addition ground area code.If in the first incoming number not including ground area code or the first incoming number There are roaming flag, terminal device directly stores first incoming number.
In order to ensure the correctness in the corresponding area of storage number is optionally added corresponding before the first incoming number Regional corresponding ground area code in roaming flag, and can be shown to user before the first incoming number after area code with storing addition Area in the corresponding roaming flag of first incoming number, so that user confirms whether area is correct;Receiving user over the ground When the confirmation instruction in area, regional corresponding ground area code in corresponding roaming flag is added before the first incoming number, and store and add The first incoming number after adding ground area code.
For example, for example, when receiving the incoming call of A state, can be directed in the case that user mobile phone is in the roaming of A state Incoming number addition carries the roaming flag in A state area;After end of conversation, user carries out preservation contact person to the incoming number When operation, whether mobile phone can determine whether in the incoming number to include ground area code, if without including ground area code, mobile phone in incoming number Roaming flag with obtaining A state area code can be inquired, and inquires user whether this incoming number is A state number, user clicks confirmation Words just area code and are stored with adding A state automatically before incoming number.
It, can also be to receiving as shown in figure 3, after carrying out roaming flag to incoming number as another example Incoming number is dialed, the specific steps are as follows:
Step 301, it receives incoming number and dials request, it includes: incoming call No. the second to be dialed that incoming number, which dials request, Code.
Step 302, judge in the second incoming number whether to include ground area code.
In the embodiment of the present application, when user calls back received incoming number, incoming call No. the second can equally be passed through It whether include ground area code in code structure decision second incoming number.For details, reference can be made to step 202 in Fig. 2 embodiment, the application It repeats no more.
Step 303, if not including ground area code in the second incoming number, and there are roaming flags for the second incoming number, then obtain The area that terminal device is currently located is taken, judges the ground in the area roaming flag corresponding with the second incoming number being currently located Whether area is consistent.
Further, if without including ground area code in the second incoming number, but there are roaming flags for second number, connect , then the area that terminal device is currently located is obtained, and judge the area roaming corresponding with the second incoming number being currently located Whether the area in label is consistent.
Step 304, if the area in the area roaming flag corresponding with the second incoming number being currently located is inconsistent, Regional corresponding ground area code in corresponding roaming flag is added before the second incoming number, and with dialing addition second after area code Incoming number.
Specifically, if the area roaming flag corresponding with the second incoming number that the terminal device got is currently located In area it is inconsistent, then regional corresponding ground area code is added in corresponding roaming flag before the second incoming number, and dial The second incoming number after addition ground area code.If area and the second incoming number pair that the terminal device got is currently located Area in the roaming flag answered is consistent, can directly dial second incoming number.
In order to ensure the correctness in the corresponding area of dialing numbers, optionally, added before the second incoming number corresponding Regional corresponding ground area code in roaming flag, and with dialing addition before the second incoming number after area code shows the to user Area in the corresponding roaming flag of two incoming numbers, so that user is confirmed whether to carry out dialing operation;Receiving user's When instruction is dialed in confirmation, regional corresponding ground area code in corresponding roaming flag is added before the second incoming number, and dial and add The second incoming number after adding ground area code.
For example, for example, when receiving the incoming call of A state, can be directed in the case that user mobile phone is in the roaming of A state Incoming number addition carries the roaming flag in A state area;After end of conversation, when user calls back the incoming number, mobile phone meeting Whether regional and in incoming number roaming flag the area where judging current phone is consistent, if the ground where current phone Area in area and incoming number roaming flag is consistent, that is, mobile phone is currently still in the roaming of A state, can directly dial this Electric number is conversed, if the area where current phone and the area in incoming number roaming flag are inconsistent, that is, Mobile phone is in non-A state, then A state ground area code is added before incoming number, and prompt user, this number is A state number, to User is confirmed whether to dial, if user's confirmation is dialed, using the number after addition ground area code as dialing numbers.
The incoming number processing method of the embodiment of the present application, by receiving incoming call requests, incoming call requests include: incoming call number Code;Judge whether terminal device is in roaming state;If terminal device is in roaming state, obtains terminal device and be currently located Area;Roaming flag is carried out to incoming number, roaming flag includes: area.This method is based on whether being in terminal device The judgement of roaming state and terminal device carry out roaming flag to incoming number under roaming state, thus saving incoming call number Code or the ground area code that can determine incoming number when dialing incoming number in conjunction with roaming flag, avoid incoming number from saving mistake Or dial mistake.
Corresponding with the incoming number processing method that above-mentioned several embodiments provide, a kind of embodiment of the application also provides A kind of incoming number processing unit, since incoming number processing unit provided by the embodiments of the present application and above-mentioned several embodiments mention The incoming number processing method of confession is corresponding, therefore is also applied for this implementation in the embodiment of aforementioned incoming call number processing method The incoming number processing unit that example provides, is not described in detail in the present embodiment.Fig. 4 is according to the application one embodiment The structural schematic diagram of incoming number processing unit.As shown in figure 4, the incoming number processing unit includes: receiving module 410, sentences Disconnected module 420 obtains module 430, mark module 440.
Wherein, receiving module 410, for receiving incoming call requests, incoming call requests include: incoming number;
Judgment module 420, for judging whether terminal device is in roaming state;Module 430 is obtained, for setting in terminal When for being in roaming state, the area that terminal device is currently located is obtained;Mark module 440, for being overflow to incoming number Vernier note, roaming flag includes: area.
As a kind of possible implementation of the embodiment of the present application, as shown in figure 5, on the basis of shown in Fig. 4, incoming call number Code processing unit further include: first processing module 450.
Wherein, receiving module 410 are also used to receive incoming number storage request, and incoming number storage request includes: wait deposit First incoming number of storage;Judgment module 420 is also used to judge in the first incoming number whether include ground area code;First processing Module 450, for not including ground area code in the first incoming number, and the first incoming number is there are when roaming flag, first Regional corresponding ground area code in corresponding roaming flag is added before incoming number, and stores incoming call No. the first after addition ground area code Code.
As a kind of possible implementation of the embodiment of the present application, as shown in fig. 6, on the basis of shown in Fig. 4, incoming call number Code processing unit further include: Second processing module 460.
Wherein, receiving module 410 are also used to receive incoming number and dial request, and it includes: wait dial that incoming number, which dials request, The second incoming number beaten;Judgment module 420 is also used to judge in the second incoming number whether include ground area code;Obtain module 430, it is also used in the second incoming number not include ground area code, and the second incoming number obtains terminal there are when roaming flag The area that equipment is currently located, in the area roaming flag corresponding with the second incoming number for judging to be currently located it is regional whether Unanimously;Second processing module 460, for the area in the area roaming flag corresponding with the second incoming number being currently located When inconsistent, regional corresponding ground area code in corresponding roaming flag is added before the second incoming number, and dials addition area The second incoming number after number.
The incoming number processing unit of the embodiment of the present application, by receiving incoming call requests, incoming call requests include: incoming call number Code;Judge whether terminal device is in roaming state;If terminal device is in roaming state, obtains terminal device and be currently located Area;Roaming flag is carried out to incoming number, roaming flag includes: area.The device is based on whether being in terminal device The judgement of roaming state and terminal device carry out roaming flag to incoming number under roaming state, thus saving incoming call number Code or the ground area code that can determine incoming number when dialing incoming number in conjunction with roaming flag, avoid incoming number from saving mistake Or dial mistake.
In order to realize above-described embodiment, the embodiment of the present application also proposes a kind of electronic equipment, and Fig. 7 mentions for the embodiment of the present application The electronic devices structure schematic diagram of confession.The electronic equipment includes: memory 1001, processor 1002 and is stored in memory 1001 Computer program that is upper and being run on processor 1002.
Processor 1002 realizes the incoming number processing method provided in above-described embodiment when executing described program.
Further, the electronic equipment further include:
Communication interface 1003, for the communication between memory 1001 and processor 1002.
Memory 1001, for storing the computer program that can be run on processor 1002.
Memory 1001 may include high speed RAM memory, it is also possible to further include nonvolatile memory (non- Volatile memory), a for example, at least magnetic disk storage.
Processor 1002 realizes incoming number processing method described in above-described embodiment when for executing described program.
If memory 1001, processor 1002 and the independent realization of communication interface 1003, communication interface 1003, memory 1001 and processor 1002 can be connected with each other by bus and complete mutual communication.The bus can be industrial standard Architecture (Industry Standard Architecture, referred to as ISA) bus, external equipment interconnection (Peripheral Component, referred to as PCI) bus or extended industry-standard architecture (Extended Industry Standard Architecture, referred to as EISA) bus etc..The bus can be divided into address bus, data/address bus, control Bus processed etc..Only to be indicated with a thick line in figure convenient for indicating, it is not intended that an only bus or a type of total Line.
Optionally, in specific implementation, if memory 1001, processor 1002 and communication interface 1003, are integrated in one It is realized on block chip, then memory 1001, processor 1002 and communication interface 1003 can be completed mutual by internal interface Communication.
Processor 1002 may be a central processing unit (Central Processing Unit, referred to as CPU), or Person is specific integrated circuit (Application Specific Integrated Circuit, referred to as ASIC) or quilt It is configured to implement one or more integrated circuits of the embodiment of the present application.
In order to realize above-described embodiment, the application also proposes a kind of computer readable storage medium, is stored thereon with calculating Machine program, the program realize incoming number processing method described in the embodiment of the present application when being executed by processor.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example Point is contained at least one embodiment or example of the application.In the present specification, schematic expression of the above terms are not It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office It can be combined in any suitable manner in one or more embodiment or examples.In addition, without conflicting with each other, the skill of this field Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples It closes and combines.
In addition, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or Implicitly include at least one this feature.In the description of the present application, the meaning of " plurality " is at least two, such as two, three It is a etc., unless otherwise specifically defined.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes It is one or more for realizing custom logic function or process the step of executable instruction code module, segment or portion Point, and the range of the preferred embodiment of the application includes other realization, wherein can not press shown or discussed suitable Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, Lai Zhihang function, this should be by the application Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set It is standby and use.For the purpose of this specification, " computer-readable medium ", which can be, any may include, stores, communicates, propagates or pass Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment It sets.The more specific example (non-exhaustive list) of computer-readable medium include the following: there is the electricity of one or more wirings Interconnecting piece (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory (ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable Medium, because can then be edited, be interpreted or when necessary with it for example by carrying out optical scanner to paper or other media His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the application can be realized with hardware, software, firmware or their combination.Above-mentioned In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage Or firmware is realized.Such as, if realized with hardware in another embodiment, following skill well known in the art can be used Any one of art or their combination are realized: have for data-signal is realized the logic gates of logic function from Logic circuit is dissipated, the specific integrated circuit with suitable combinational logic gate circuit, programmable gate array (PGA), scene can compile Journey gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, can integrate in a processing module in each functional unit in each embodiment of the application It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould Block both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such as Fruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computer In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although having been shown and retouching above Embodiments herein is stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as the limit to the application System, those skilled in the art can be changed above-described embodiment, modify, replace and become within the scope of application Type.

Claims (12)

1. a kind of incoming number processing method is applied to terminal device, which comprises the following steps:
Incoming call requests are received, the incoming call requests include: incoming number;
Judge whether terminal device is in roaming state;
If the terminal device is in roaming state, the area that the terminal device is currently located is obtained;
Roaming flag is carried out to the incoming number, the roaming flag includes: the area.
2. the method according to claim 1, wherein it is described to the incoming number carry out roaming flag after, Further include:
Incoming number storage request is received, the incoming number storage request includes: the first incoming number to be stored;
Judge in first incoming number whether to include ground area code;
If not including ground area code in first incoming number, and there are roaming flags for first incoming number, then described Regional corresponding ground area code in corresponding roaming flag is added before first incoming number, and with storing addition first after area code Electric number.
3. according to the method described in claim 2, it is characterized in that, adding corresponding roaming mark before first incoming number Regional corresponding ground area code in note, and with storing addition before the first incoming number after area code, further includes:
The area in the corresponding roaming flag of first incoming number is shown to user, so that whether just user confirms area Really;
It is described that regional corresponding ground area code in corresponding roaming flag is added before first incoming number, comprising:
When receiving confirmation instruction of the user to the area, corresponding roaming flag is added before first incoming number Middle area corresponding ground area code, and store the first incoming number after addition ground area code.
4. according to the method described in claim 2, it is characterized by further comprising:
If including that ground area code or first incoming number do not have roaming flag in first incoming number, store First incoming number.
5. the method according to claim 1, wherein it is described to the incoming number carry out roaming flag after, Further include:
It receives incoming number and dials request, it includes: the second incoming number to be dialed that the incoming number, which dials request,;
Judge in second incoming number whether to include ground area code;
If not including ground area code in second incoming number, and there are roaming flags for second incoming number, then obtain end The area that end equipment is currently located judges the ground in the area roaming flag corresponding with second incoming number being currently located Whether area is consistent;
If regional inconsistent in corresponding with second incoming number roaming flag in area being currently located, described the Regional corresponding ground area code in corresponding roaming flag is added before two incoming numbers, and dials the second incoming call after addition ground area code Number.
6. according to the method described in claim 5, it is characterized in that, adding corresponding roaming mark before second incoming number Regional corresponding ground area code in note, and dial before the second incoming number after addition ground area code, further includes:
The area in the corresponding roaming flag of second incoming number is shown to user, so that user is confirmed whether to dial Operation;
It is described that regional corresponding ground area code in corresponding roaming flag is added before second incoming number, comprising:
When instruction is dialed in the confirmation for receiving user, added before second incoming number regional in corresponding roaming flag Corresponding ground area code, and dial the second incoming number after addition ground area code.
7. according to the method described in claim 5, it is characterized by further comprising:
If the area in corresponding with second incoming number roaming flag in area being currently located is unanimously, alternatively, described the Include that ground area code or second incoming number do not have roaming flag in two incoming numbers, then dials second incoming call Number.
8. a kind of incoming number processing unit is applied to terminal device characterized by comprising
Receiving module, for receiving incoming call requests, the incoming call requests include: incoming number;
Judgment module, for judging whether terminal device is in roaming state;
Module is obtained, for obtaining the area that the terminal device is currently located when the terminal device is in roaming state;
Mark module, for carrying out roaming flag to the incoming number, the roaming flag includes: the area.
9. device according to claim 8, which is characterized in that further include: first processing module;
The receiving module is also used to receive incoming number storage request, and the incoming number storage request includes: to be stored First incoming number;
The judgment module is also used to judge in first incoming number whether include ground area code;
The first processing module, for not including in first incoming number area code, and first incoming number There are when roaming flag, adding in corresponding roaming flag regional corresponding ground area code before first incoming number, and deposit The first incoming number after storage addition ground area code.
10. device according to claim 8, which is characterized in that further include: Second processing module;
The receiving module is also used to receive incoming number and dials request, and it includes: to be dialed that the incoming number, which dials request, Second incoming number;
The judgment module is also used to judge in second incoming number whether include ground area code;
The acquisition module is also used in second incoming number not include ground area code, and second incoming number is deposited In roaming flag, the area that terminal device is currently located is obtained, judges the area being currently located and second incoming number Whether the area in corresponding roaming flag is consistent;
The Second processing module, in the area roaming flag corresponding with second incoming number being currently located When area is inconsistent, regional corresponding ground area code in corresponding roaming flag is added before second incoming number, and dial The second incoming number after addition ground area code.
11. a kind of electronic equipment characterized by comprising memory, processor and storage on a memory and can located The computer program run on reason device when the processor executes described program, is realized as described in any in claim 1-7 Incoming number processing method.
12. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor The incoming number processing method as described in any in claim 1-7 is realized when execution.
CN201910774232.5A 2019-08-21 2019-08-21 Incoming number processing method and processing device Pending CN110519454A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910774232.5A CN110519454A (en) 2019-08-21 2019-08-21 Incoming number processing method and processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910774232.5A CN110519454A (en) 2019-08-21 2019-08-21 Incoming number processing method and processing device

Publications (1)

Publication Number Publication Date
CN110519454A true CN110519454A (en) 2019-11-29

Family

ID=68626936

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910774232.5A Pending CN110519454A (en) 2019-08-21 2019-08-21 Incoming number processing method and processing device

Country Status (1)

Country Link
CN (1) CN110519454A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1441557A2 (en) * 2003-01-22 2004-07-28 Samsung Electronics Co., Ltd. Mobile terminal for automatically managing the country code and method for storing/finding a phone number using the same
CN1777207A (en) * 2004-11-17 2006-05-24 三星电子株式会社 Method for automatically originating international call and mobile communication terminal using the same
CN104539786A (en) * 2014-11-24 2015-04-22 小米科技有限责任公司 Terminal dialing method, device and equipment
CN106210232A (en) * 2016-06-30 2016-12-07 维沃移动通信有限公司 The storage method of the telephone number of a kind of mobile terminal and mobile terminal
CN106507320A (en) * 2016-10-31 2017-03-15 维沃移动通信有限公司 A kind of determination method of destination number and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1441557A2 (en) * 2003-01-22 2004-07-28 Samsung Electronics Co., Ltd. Mobile terminal for automatically managing the country code and method for storing/finding a phone number using the same
CN1777207A (en) * 2004-11-17 2006-05-24 三星电子株式会社 Method for automatically originating international call and mobile communication terminal using the same
CN104539786A (en) * 2014-11-24 2015-04-22 小米科技有限责任公司 Terminal dialing method, device and equipment
CN106210232A (en) * 2016-06-30 2016-12-07 维沃移动通信有限公司 The storage method of the telephone number of a kind of mobile terminal and mobile terminal
CN106507320A (en) * 2016-10-31 2017-03-15 维沃移动通信有限公司 A kind of determination method of destination number and mobile terminal

Similar Documents

Publication Publication Date Title
CN101267615A (en) A mobile phone information prompt method and mobile phone using this method
CN102857993A (en) Communication processing method and device and first communication terminal
CN105744581A (en) Network switching method and device based on eSIM (Embedded Subscriber Identity Module) card, and mobile terminal
CN105847506B (en) Communication means, device and the mobile terminal of mobile terminal
CN110519454A (en) Incoming number processing method and processing device
JPH0964977A (en) Electronic exchange
US6757376B1 (en) Method for registering phone number in telephone
JP2000270077A (en) Portable telephone set
JPH01188151A (en) Communication terminal equipment
CN109697356A (en) Application software permission adaptation method and device
CN113890934B (en) Call transfer setting method, device, storage medium, controller and communication equipment
CN101267616A (en) A mobile phone prompt information management method and the mobile phone using this method
JPS6367065A (en) Incoming rejecting system
JP3313245B2 (en) Representative selection method for extension terminals
CN115002282A (en) Call record write-back method, device, equipment and storage medium
KR900003667B1 (en) Calling time setting method
JPH01288156A (en) Charging system for operator handling call
CN107295200A (en) A kind of automatic telephone transfer method
JPH04104554A (en) Method and device for call back of private branch exchange
JPS6342563A (en) Intra-office connection call recording system
JPH05260186A (en) Abbreviated dialing system
CN108366165A (en) A kind of method and terminal device of request call
JPH0421245A (en) Automatic answering telephone set with priority recording function
JPH03280770A (en) Private branch of automatic exchange system
JPH01215171A (en) Reservation connection system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20191129

RJ01 Rejection of invention patent application after publication