CN108737956A - Method for controlling dialing, electronic equipment in terminal device and storage medium - Google Patents

Method for controlling dialing, electronic equipment in terminal device and storage medium Download PDF

Info

Publication number
CN108737956A
CN108737956A CN201810420056.0A CN201810420056A CN108737956A CN 108737956 A CN108737956 A CN 108737956A CN 201810420056 A CN201810420056 A CN 201810420056A CN 108737956 A CN108737956 A CN 108737956A
Authority
CN
China
Prior art keywords
dialing
terminal device
user
card
procedure
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810420056.0A
Other languages
Chinese (zh)
Other versions
CN108737956B (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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201810420056.0A priority Critical patent/CN108737956B/en
Publication of CN108737956A publication Critical patent/CN108737956A/en
Application granted granted Critical
Publication of CN108737956B publication Critical patent/CN108737956B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/02Access restriction performed under specific conditions
    • H04W48/04Access restriction performed under specific conditions based on user or terminal location or mobility data, e.g. moving direction, speed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/02Processing of mobility data, e.g. registration information at HLR [Home Location Register] or VLR [Visitor Location Register]; Transfer of mobility data, e.g. between HLR, VLR or external networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals

Abstract

This application discloses method for controlling dialing, electronic equipment and the computer storage medias in a kind of terminal device.The method includes:The dial instruction triggered in terminal device where receiving;The acquisition of the terminal device geographic location is initiated according to the dial instruction;Judge whether the corresponding dialing procedure of the dial instruction is in roaming state according to the terminal device geographic location;If the dialing procedure is in the roaming state, dialing circumscription logic is triggered, the dialing procedure is controlled by the dialing circumscription logic and executes or cancel dialing.Since dialing procedure is controlled by dialing control logic, so that after receiving dial instruction terminal device be not directed through dial instruction instruction user's ID card dial, therefore, present application addresses dial to be triggered the technical issues of carrying out by user completely performed by equipment.

Description

Method for controlling dialing, electronic equipment in terminal device and storage medium
Technical field
This application involves computer application technology, more particularly to method for controlling dialing, electricity in a kind of terminal device Sub- equipment and computer readable storage medium.
Background technology
Nowadays, the user for much often travelling to and fro between different service areas (ground and Hong Kong in such as) selects using support double card Terminal device (hereinafter referred to as double card equipment), it is therefore an objective to can different service areas use corresponding SIM card (Subscriber Identification Module, user's ID card) is made a phone call.
Currently, the dialing procedure of double card equipment is:It is controlled logical after detecting the operation that user touches SIM card virtual key It crosses corresponding SIM card and executes dialing.Wherein, SIM card virtual key refers to the virtual key being shown in equipment dialing interface, with installation It is corresponded in the SIM card in equipment, user executes dialing by touching SIM card virtual key triggering equipment by corresponding SIM card.It is existing Some dialing interfaces are as shown in Figure 1 and Figure 2.
The above-mentioned prior art will cause:If user touches SIM card virtual key, but uses SIM corresponding to the virtual key It is roaming (such as touching the card virtual key dialing of interior ground in Hongkong) that card, which carries out call, since the dialing that equipment executes is Completely by user trigger carry out, equipment will respond touch of the user to SIM card virtual key, execute dialing, at this point, if with Family carries out the call of long period, then will produce a large amount of roaming charges.
Therefore, the problem of being triggered progress by user completely of dialling performed by equipment in the prior art should be improved.
Apply for content
The technical issues of carrying out is triggered by user completely in order to solve to dial performed by equipment present in the relevant technologies, this Application provides method for controlling dialing, electronic equipment and the computer readable storage medium in a kind of terminal device.
A kind of method for controlling dialing in terminal device, the method includes:
The dial instruction triggered in terminal device where receiving;
The acquisition of the terminal device geographic location is initiated according to the dial instruction;
Judge the corresponding dialing procedure of the dial instruction whether in unrestrained according to the terminal device geographic location Free state;
If the dialing procedure is in the roaming state, dialing circumscription logic is triggered, the dialing procedure is controlled Dialing is executed or cancels in the dialing circumscription logic.
In one exemplary embodiment, the dial instruction triggered in terminal device where the reception, including:
The dialing procedure initiated in the terminal device is monitored, the dialing for initiating the triggered generation of dialing procedure is obtained Instruction, the dial instruction indicate to execute the user's ID card of the dialing procedure in the terminal device.
In one exemplary embodiment, described that the dial instruction pair is judged according to the terminal device geographic location Whether the dialing procedure answered is in roaming state, including:
Obtain the number attribution information of the user's ID card;
Determine whether the terminal device geographic location is in user's body according to the number attribution information In the service area of part card.
In one exemplary embodiment, the terminal device is double card equipment, if the dialing procedure is in institute Roaming state is stated, then triggers dialing circumscription logic, the dialing procedure, which is controlled by the dialing circumscription logic execution or cancels, to be dialled Before number, the method further includes:
Obtain the number attribution information of another user's ID card;
Determine whether the terminal device geographic location is in another use according to the number attribution information In the service area of family ID card;
If the terminal device geographic location is in the service area of another user's ID card, if described The dialing procedure is in the roaming state, then triggers dialing circumscription logic, and the dialing procedure is controlled by the dialing limit Logic processed executes or cancels dialing, including:
Cancel and dials and dialing is executed by another user's ID card.
In one exemplary embodiment, described that the terminal device geographic location is initiated according to the dial instruction It obtains, including:
The terminal device geographic location is obtained according to dial instruction triggering, the geographic location is obtained GPS positioning function and/or WiFi network access function by being configured in the terminal device is taken to execute.
In one exemplary embodiment, described that the geographical position in terminal device place is obtained according to dial instruction triggering It sets, including:
The funcall priority obtained according to geographical location is executed, it is described dial to call the WiFi network access function The acquisition of terminal device geographic location described in number instruction execution;
If the geographical location performed by the WiFi network access function obtains failure, the GPS positioning work(is called The acquisition of the terminal device geographic location can be executed.
In one exemplary embodiment, if the dialing procedure is in the roaming state, dialing limit is triggered Logic processed, the dialing procedure are controlled by the dialing circumscription logic and execute or cancel dialing, including:
If the dialing procedure is in the roaming state, initiates roaming to user and remind, carried by the roaming The request user that wakes up selects the processing to the dialing procedure;
Receive the dialing process instruction that user generates dialing procedure selection;
Dialing is executed according to the dialing process instruction or cancels dialing.
In one exemplary embodiment, if the dialing procedure is in the roaming state, dialing limit is triggered Logic processed, the dialing procedure are controlled by the dialing circumscription logic and execute or cancel dialing, including:
According to user setting, dialing is cancelled automatically to the dialing procedure in the roaming state.
A kind of electronic equipment, the electronic equipment include:
Processor;
Memory is stored with computer-readable instruction on the memory, and the computer-readable instruction is by the processing When device executes, foregoing method is realized.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor When row, foregoing method is realized.
The technical solution that embodiments herein provides can include the following benefits:
After receiving dial instruction, terminal device geographic location is obtained for the dial instruction, judges this group accordingly Whether number corresponding dialing procedure of instruction is in roaming state, if the dialing procedure be in roaming state, triggers dialing and limiting Logic processed.Since dialing procedure is controlled by dialing control logic so that terminal device is not directly logical after receiving dial instruction The user's ID card for crossing dial instruction instruction dials, and therefore, present application addresses dial performed by equipment completely by user The technical issues of triggering carries out.
It should be understood that above general description and following detailed description is merely exemplary, this can not be limited Application.
Description of the drawings
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the application Example, and in the specification together principle for explaining the application.
Fig. 1 is a kind of schematic diagram of dialing interface of existing double card equipment;
Fig. 2 is the schematic diagram of another dialing interface of existing double card equipment;
Fig. 3 is the schematic diagram according to the application implementation environment shown in an exemplary embodiment;
Fig. 4 is a kind of block diagram of device shown according to an exemplary embodiment;
Fig. 5 is the flow chart of the method for controlling dialing in a kind of terminal device shown according to an exemplary embodiment;
Fig. 6 is the flow chart according to the details of the step 350 shown in an exemplary embodiment;
Fig. 7 is the flow chart according to the details of the step 330 shown in an exemplary embodiment;
Fig. 8 is the flow chart according to the details of the step 370 shown in Fig. 5 corresponding embodiments;
Fig. 9 is the block diagram of the dialing control device in a kind of terminal device shown according to an exemplary embodiment.
Specific implementation mode
Here will explanation be executed to exemplary embodiment in detail, the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with it is such as appended The example of consistent device and method of some aspects be described in detail in claims, the application.
Fig. 1 is a kind of schematic diagram of dialing interface of existing double card equipment.As shown in Figure 1, dialing interface is configured with SIM card 2 virtual key of 1 virtual key and SIM card, user are dialled by touching 1 virtual key control terminal equipment of SIM card by built-in SIM card 1 It makes a phone call, similarly, can also be made a phone call by SIM card 2 by touching 2 virtual key control terminal equipment of SIM card.
Currently, user can show on the next stage interface at setting interface or lower several levels interface modification SIM card virtual key Show text, with the number attribution of this reminding of SIM card 1,2.
But, on the one hand, the next stage interface at interface need to be arranged even in the modification of shown text on SIM card virtual key Lower several levels interface carries out, and courses of action are long, operating procedure is more.On the other hand, the side of shown text on SIM card virtual key is changed There is no solve the problems, such as that the performed dialing of current device is triggered by user completely to carry out for formula.
Fig. 2 is the schematic diagram of another dialing interface of existing double card equipment.As shown in Fig. 2, being only included in dialing interface One SIM card virtual key.
Currently, certain customers can set a SIM card to acquiescence dial number card so that only occur one on dialing interface SIM card virtual key, user can by touch dialing interface in list of numbers or touch the SIM card virtual key control device into Row dialing.This mode is also carried out without solving the problems, such as that the performed dialing of current device is triggered by user completely.
Fig. 3 is the schematic diagram according to the application implementation environment shown in an exemplary embodiment.As shown in figure 3, the application Implementation environment include terminal device 110 and realize 110 telephonic communication of terminal device base station 130.
Terminal device 110 is the electronic equipment for having communication function, such as smart mobile phone.User passes through terminal device 110 Dialing is initiated, the phone thus initiated under the action of base station 130 between the terminal device 110 and other terminal devices 110 is logical News.
In the telephonic communication established by base station 130, terminal device 110 is divided for caller device 111 and is called Equipment 113, caller device 111 initiate to call by base station 130 to called equipment 113.
Terminal device 110 is double card or more card apparatus, that is to say, that user can install several in terminal device 110 User's ID card.Double card or the terminal device 110 more blocked can be received or be initiated calling by any of which user's ID card.
Currently, the initiation and reception of calling are realized by the entity SIM card being installed in terminal device 110, but In the application, do not limit whether user's ID card is entity SIM card, the user's ID card in the application can also be virtual SIM Card or other devices that realization communication can be combined with terminal device 110.
Fig. 4 is a kind of block diagram of device shown according to an exemplary embodiment.The device can be that terminal shown in Fig. 3 is set Standby 110, which is a kind of electronic equipment having communication function, such as smart mobile phone.
As shown in figure 4, device 200 may include following one or more components:Processing component 202, memory 204, electricity Source component 206, multimedia component 208, audio component 210, sensor module 214 and communication component 216.
The integrated operation of 202 usual control device 200 of processing component, such as with display, call, data communication, phase Machine operates and record operates associated operation etc..Processing component 202 may include one or more processors 218 to execute Instruction, to complete all or part of step of following methods.In addition, processing component 202 may include one or more modules, Convenient for the interaction between processing component 202 and other assemblies.For example, processing component 202 may include multi-media module, with convenient Interaction between multimedia component 208 and processing component 202.
Memory 204 is configured as storing various types of data to support the operation in device 200.These data are shown Example includes the instruction for any application program or method that operate on the device 200.Memory 204 can be by any kind of Volatibility or non-volatile memory device or combination thereof are realized, such as static RAM (Static Random Access Memory, abbreviation SRAM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, abbreviation EEPROM), Erasable Programmable Read Only Memory EPROM (Erasable Programmable Read Only Memory, abbreviation EPROM), programmable read only memory (Programmable Red- Only Memory, abbreviation PROM), read-only memory (Read-Only Memory, abbreviation ROM), magnetic memory, flash Device, disk or CD.One or more modules are also stored in memory 204, which is configured to by this One or more processors 218 execute, to complete all or part of step in method as follows.
Power supply module 206 provides electric power for the various assemblies of device 200.Power supply module 206 may include power management system System, one or more power supplys and other generated with for device 200, management and the associated component of distribution electric power.
Multimedia component 208 is included in the screen of one output interface of offer between described device 200 and user.One In a little embodiments, screen may include liquid crystal display (Liquid Crystal Display, abbreviation LCD) and touch panel. If screen includes touch panel, screen may be implemented as touch screen, to receive input signal from the user.Touch panel Including one or more touch sensors to sense the gesture on touch, slide, and touch panel.The touch sensor can be with The boundary of a touch or slide action is not only sensed, but also detects duration associated with the touch or slide operation and pressure Power.Screen can also include display of organic electroluminescence (Organic Light Emitting Display, abbreviation OLED).
Audio component 210 is configured as output and/or input audio signal.For example, audio component 210 includes a Mike Wind (Microphone, abbreviation MIC), when device 200 is in operation mode, such as call model, logging mode and speech recognition mould When formula, microphone is configured as receiving external audio signal.The received audio signal can be further stored in memory 204 or via communication component 216 send.In some embodiments, audio component 210 further includes a loud speaker, for exporting Audio signal.
Sensor module 214 includes one or more sensors, and the state for providing various aspects for device 200 is commented Estimate.For example, sensor module 214 can detect the state that opens/closes of device 200, the relative positioning of component, sensor group Part 214 can be with the position change of 200 1 components of detection device 200 or device and the temperature change of device 200.At some In embodiment, which can also include Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 216 is configured to facilitate the communication of wired or wireless way between device 200 and other equipment.Device 200 can access the wireless network based on communication standard, such as WiFi (Wireless-Fidelity, Wireless Fidelity).Show at one In example property embodiment, communication component 216 receives broadcast singal or broadcast from external broadcasting management system via broadcast channel Relevant information.In one exemplary embodiment, the communication component 216 further includes near-field communication (Near Field Communication, abbreviation NFC) module, to promote short range communication.For example, radio frequency identification (Radio can be based in NFC module Frequency Identification, abbreviation RFID) technology, Infrared Data Association (Infrared Data Association, abbreviation IrDA) technology, ultra wide band (Ultra Wideband, abbreviation UWB) technology, Bluetooth technology and other skills Art is realized.
In the exemplary embodiment, device 200 can be by one or more application application-specific integrated circuit (Application Specific Integrated Circuit, abbreviation ASIC), it is digital signal processor, digital signal processing appts, programmable Logical device, field programmable gate array, controller, microcontroller, microprocessor or other electronic components are realized, for executing Following methods.
Fig. 5 is the flow chart of the method for controlling dialing in a kind of terminal device shown according to an exemplary embodiment.It should Method device 200 can execute as shown in Figure 4, so that device 200 is responded user and trigger the dial instruction generated, control device 200 Execute or cancel dialing.In one exemplary embodiment, caller device 111 executes this method as shown in Figure 2, makes caller device 111 response users trigger the dial instruction generated, and control caller device 111 executes or cancel dialing.As shown in figure 5, the terminal Method for controlling dialing in equipment includes the following steps.
Step 310, the dial instruction triggered in terminal device where receiving.
Dial instruction is that user triggers generation.When user initiates dialing procedure, the controlled generation dial instruction of terminal device.
Under the manipulation of user, the dial logic configured is triggered terminal device, for example, listening to user to the boundary that dials The touch of user's ID card virtual key in face, at this point, accordingly generate dial instruction, in this regard, process that terminal device is run or The dial instruction that thread sends the process corresponding to dialing application that receives or thread.
Dial instruction indicates the initiation dialled in terminal device, in addition to this, further indicate initiate dialing it is corresponding User's ID card.
Configured with the user's ID card corresponding to jack per station ownership place in terminal device, to be adapted under different scenes Telephonic communication demand.In this terminal device, dial instruction generates the dialing for initiating corresponding user's ID card, still, Before the dialing that dial instruction be used to initiate corresponding user's ID card, dial instruction thus is executed in terminal device Dialing control.
That is, in terminal device, the dial instruction generated does not initiate corresponding dialing directly.
It should remark additionally herein, a user's ID card virtual key is triggered in terminal device, and therefore generates phase The dial instruction answered can be user to be realized by the user's ID card selection carried out in dialing interface, can also be by According to what is carried out in advance for the priority of user's ID card configuration (such as setting a user's ID card to acquiescence card), only limit herein In for example, being defined not to this.
Step 330, according to the acquisition of dial instruction initiating terminal equipment geographic location.
After receiving dial instruction, dial instruction obtains terminal device geographic location thus.Terminal device institute Refer to the place that terminal device is located at, such as Guangdong Province, the Hong Kong Special Administrative Region in geographical location, can also be more accurate Location information, such as Enterprises of Futian District, Hong Kong University.
It should be appreciated that the acquisition geographically set where terminal device is realized by the initiation of terminal device self poisoning , corresponding as a result, obtained terminal device geographic location is the existence form of latitude and longitude information.
Specifically, the acquisition of terminal device geographic location can be by obtaining terminal device connected network (example Such as LAN) information obtained by, can also be by terminal device carry out satellite positioning obtained by, can also be and pass through it Obtained by its mode, herein without limiting, it can be configured according to terminal device and realize that the hardware of positioning is flexibly realized.
Step 350, judge the corresponding dialing procedure of dial instruction whether in unrestrained according to terminal device geographic location Free state.
Roaming state refers to that terminal device is made a phone call by specific user's ID card, but the terminal device is located at the use Outside service area corresponding to the ID card of family, for example, being stuck in Hongkong group by being registered in the user identity of CONTINENTAL AREA OF CHINA It makes a phone call.
After obtaining terminal device geographic location, according to terminal device geographic location when receiving dial instruction, And contained user identity card information in dial instruction, you can judge dialing procedure corresponding to dial instruction whether in roaming shape State.
Step 370, if dialing procedure is in roaming state, dialing circumscription logic is triggered, dialing procedure, which is controlled by, to be dialled Number circumscription logic executes or cancels dialing.
Dialing circumscription logic is stored in terminal device, is carried out when executed to the dialing procedure in roaming state The instruction of limitation.
When the dialing procedure that terminal device is initiated is in roaming state, whether which, which can carry out to completion, is dialled Number, it is to be controlled by dialing circumscription logic.
If it is judged that the dialing procedure corresponding to dial instruction is in roaming state, then dialing circumscription logic is triggered, Dialing is executed or cancelled under the control of the dialing circumscription logic.
If it is judged that the dialing procedure corresponding to dial instruction is not at roaming state, does not then trigger dialing limitation and patrol Volume, in one exemplary embodiment, terminal device can trigger the dial instruction generated directly in response to user, execute dialing.
For Client-initiated one-stage dialing process, after executing or cancelling dialing, which terminates.
The circumscription logic that dials is added in the receiving time point of dial instruction and between the execution time point of dialing, is passed through Dialing circumscription logic adds, and provides buffering between user initiates dialing and terminal device executes dialing, therefore, works as user When user's ID card but user having been selected to be not on the corresponding service area of the user's ID card, terminal device will not directly pass through The user's ID card dials, and is also just addressed the performed dialing of current device and is triggered the problem of carrying out by user completely.
In one exemplary embodiment, step 310 includes:
The dialing procedure initiated in monitor terminal equipment obtains the dial instruction for initiating the triggered generation of dialing procedure, dials Number instruction instruction terminal equipment in execute dialing procedure user's ID card.
In a particular application, user can be dialled by the user's ID card virtual key initiation touched in dialing interface Journey, terminal device carry out the generation of dial instruction after detecting the touch of user, which indicates the touched use of user The corresponding user's ID card of family ID card virtual key.
In this embodiment, step included by step 350 is as shown in Figure 6.
Fig. 6 is the flow chart according to the details of the step 350 shown in an exemplary embodiment.As shown in fig. 6, step 350 Including:
Step 351, the number attribution information of user's ID card is obtained.
Number attribution information can indicate the area that user's ID card is registered in, such as China's Mainland, Hong-Kong. Number attribution information storage belongs to the essential information of user's ID card in user's ID card and/or terminal device.
Step 353, determine whether terminal device geographic location is in user's ID card according to number attribution information Service area in.
Number attribution information indicates the area that user's ID card is registered in, and so can determine that user's ID card Service area indicates the ground that user's ID card is registered in for example, the number attribution information of user's ID card is Guangdong Province Area is Guangdong Province, then China (hereinafter referred to as inland of China) in addition to Hongkong and Macro Tai Area is all the service area of the user's ID card.
Accordingly, it is determined that behind the service area of user's ID card and terminal device geographic location, you can judge terminal device Whether geographic location is in the service area of user's ID card.For example, if the service area of user's ID card is in China Ground, terminal device geographic location are Guangdong Province, then terminal device geographic location is in the service of the user's ID card In area.
In one exemplary embodiment, terminal device is a pair of card apparatus, before step 370, the method for controlling dialing It is further comprising the steps of:Obtain the number attribution information of another user's ID card;It is determined eventually according to the number attribution information Whether end equipment geographic location is in the service area of another user's ID card.
If terminal device geographic location is in the service area of another user's ID card, step 370 includes Following steps:Cancel and dials and dialing is executed by another user's ID card.
Assuming that having installed card A and card B in double card equipment, user triggers the dial instruction instruction generated and executes dialing procedure User's ID card is card A, then before step 370, also obtains the number attribution information of card B and determine double card equipment place , if in the service area in card B, cancel passing through automatically and block group that A is initiated whether in the service area for blocking B in geographical location Number, and dialing is executed by card B.
This embodiment enables double card equipment to trigger the dial instruction cancellation generated automatically according to user and execute dialing. For example, blocking in installing one in double card equipment, Hong Kong card, which is in Hongkong, If the card that user triggers the dial instruction instruction generated is to block interiorly, which can cancel automatically by interior blocks initiation The dialing, and execute dialing automatically by Hong Kong card.
In one exemplary embodiment, step 330 includes:
It is triggered according to dial instruction and obtains terminal device geographic location, the acquisition of geographic location is set by terminal The GPS positioning function and/or WiFi network access function of standby middle configuration execute.
When, there are when the data of equipment geographic location, data being directly read, if terminal device in terminal device In be not present equipment geographic location data, then call positioning logic to position terminal device.
The acquisition modes of terminal device geographic location include but not limited to:GPS(Global Positioning System, global positioning system), WiFi.
In this embodiment, step included by step 330 is as shown in Figure 7.
Fig. 7 is the flow chart according to the details of the step 330 shown in an exemplary embodiment.As shown in fig. 7, step 330 Including:
Step 331, the funcall priority obtained according to geographical location is executed, it is to dial to call WiFi network access function The acquisition of number instruction execution terminal device geographic location.
In a particular application, the calling priority of WiFi network access function is set above to the tune of GPS positioning function With priority, i.e., when can obtain terminal device geographic location by WiFi network access function, never call GPS positioning work( Can, in order to avoid power consumption.
Step 333, if the geographical location performed by WiFi network access function obtains failure, GPS positioning work(is called The acquisition of terminal device geographic location can be executed.
Little power consumption is positioned by WiFi, but can not then be positioned by WiFi in the area of not WiFi, therefore, is being passed through After WiFi positioning failures, GPS positioning function is called to obtain terminal device geographic location.
Fig. 8 is the flow chart according to the details of the step 370 shown in Fig. 5 corresponding embodiments.As shown in figure 8, step 370 is wrapped It includes:
Step 371, it if dialing procedure is in roaming state, initiates roaming to user and reminds, asked by roaming to remind User is asked to select the processing to dialing procedure.
Roaming, which is reminded, to be carried out for the dialing procedure in roaming state, and therefore, dialing procedure is not at roaming shape When state, terminal device triggers the dial instruction generated according to user and directly executes dialing, never calls dialing circumscription logic.
When dialing procedure is in roaming state, control terminal equipment is initiated roaming to user and is reminded.Roam the mode reminded Can be:
1, it generates roaming and reminds pop-up, the pop-up of control screen display, interior pop-up includes that prompt user uses this user's body Part card, which carries out dialing, may will produce the content of text of roaming charges, and can obtain the virtual key of user's touch operation, the void Quasi- key is divided into "Yes" part and "No" part, if user touches "Yes" part, dialing is executed by current user identities card, If user selects "No" part, dialing procedure is terminated, or dialing is executed automatically by other user's ID cards.
2, voice prompt is reported to user, and phonetic order input by user is obtained after starting to report, it is defeated according to user The phonetic order entered executes or cancels dialing.
It should be appreciated that it is to be selected the processing of dialing procedure for issuing the user with request with obtaining user that roaming, which is reminded, , in this application, do not limit the mode that roaming is reminded.
Step 373, the dialing process instruction that user generates dialing procedure selection is received.
After initiating roaming to user and reminding, waits for user's input to select the processing of dialing procedure, it is defeated to receive user After the processing selection entered, reason selection according to this generates dialing process instruction, to complete this time to dial according to the dialing process instruction Number process.
Step 375, it executes dialing according to dialing process instruction or cancels and dial.
After receiving dialing process instruction, dial according to the dialing process instruction execution/cancellation, so far, this dialled Journey is completed, and later, when receiving user and initiating the operation of new one-stage dialing process, new one-stage dialing process starts, before pressing State flow processing.
The mode that roaming is reminded, which is initiated, to user on the one hand greatly eliminates roaming caused by user falsely drops user's ID card Take loss, on the other hand, user that the user's ID cards of roaming charges is made a phone call need to be will produce by this also can be by the use Family ID card is made a phone call.
In another embodiment, step 370 includes:
According to user setting, dialing is cancelled automatically to the dialing procedure in roaming state.
User can also be configured, and so that terminal device is reminded without roaming, when user has selected to will produce roaming charges User's ID card when, forbidding dialling automatically, making user that can not be made a phone call by will produce the user's ID card of roaming charges, grasp The operating procedure for making interface and user side is all more concise.
The application of the application in the specific implementation scenario is illustrated below.
When dialing interface detects that user touches the corresponding virtual key of Hongkong card, corresponding dial instruction is generated, Instruction executes dialing by Hongkong card, at this point, obtaining terminal device geographic location, learns that terminal device is located at Hong Kong Area, therefore, this time dialing procedure is not in roaming state, and terminal device executes dialing by Hongkong card.
When dialing interface detects that user touches the corresponding virtual key of Continental Area card, corresponding dial instruction is generated, Instruction executes dialing by Continental Area card, at this point, obtaining terminal device geographic location, learns that terminal device is located at Hong Kong Area, therefore, this time dialing procedure is in roaming state, and terminal device carries out roaming prompting, and request user chooses whether to pass through This Continental Area card executes dialing, and being selected as user is that then by the Continental Area, card executes dialing, and user's is selected as It is no, then cancel dialing, terminates this dialing procedure.
It is the device embodiment of the application below.
Fig. 9 is the block diagram of the dialing control device in a kind of terminal device shown according to an exemplary embodiment.Such as Fig. 9 Shown, which includes:
Command reception module 910, the dial instruction for being triggered in terminal device where receiving.
Position acquisition module 930, for the acquisition according to dial instruction initiating terminal equipment geographic location.
Judgment module 950, for judging that the corresponding dialing procedure of dial instruction is according to terminal device geographic location It is no to be in roaming state.
Control module 970, when dialing procedure is in roaming state, for triggering dialing circumscription logic, dialing procedure is controlled Dialing is executed or cancels in dialing circumscription logic.
The application also provides a kind of electronic equipment, which includes:
Processor;
Memory is stored with computer-readable instruction on the memory, when which is executed by processor, Realize method as previously shown.
The electronic equipment can be Fig. 2 shown devices 200.
In one exemplary embodiment, the application also provides a kind of computer readable storage medium, is stored thereon with calculating Machine program when the computer program is executed by processor, realizes method as previously shown.
It should be understood that the application is not limited to the precision architecture for being described above and being shown in the accompanying drawings, and And various modifications and change can be being executed without departing from the scope.Scope of the present application is only limited by the accompanying claims.

Claims (10)

1. the method for controlling dialing in a kind of terminal device, which is characterized in that the method includes:
The dial instruction triggered in terminal device where receiving;
The acquisition of the terminal device geographic location is initiated according to the dial instruction;
Judge the corresponding dialing procedure of the dial instruction whether in roaming shape according to the terminal device geographic location State;
If the dialing procedure is in the roaming state, dialing circumscription logic is triggered, the dialing procedure is controlled by institute It states dialing circumscription logic and executes or cancel dialing.
2. according to the method described in claim 1, it is characterized in that, the dialing triggered in terminal device where the reception refers to It enables, including:
The dialing procedure initiated in the terminal device is monitored, the dialing for obtaining initiation the triggered generation of dialing procedure refers to It enables, the dial instruction indicates to execute the user's ID card of the dialing procedure in the terminal device.
3. according to the method described in claim 2, it is characterized in that, described judge according to the terminal device geographic location Whether the corresponding dialing procedure of the dial instruction is in roaming state, including:
Obtain the number attribution information of the user's ID card;
Determine whether the terminal device geographic location is in the user's ID card according to the number attribution information Service area in.
4. according to the method described in claim 3, it is characterized in that, the terminal device is double card equipment, if described Dialing procedure is in the roaming state, then triggers dialing circumscription logic, and the dialing procedure is controlled by the dialing limitation and patrols It collects before executing or cancelling dialing, the method further includes:
Obtain the number attribution information of another user's ID card;
Determine whether the terminal device geographic location is in another user's body according to the number attribution information In the service area of part card;
If the terminal device geographic location is in the service area of another user's ID card, if described Dialing procedure is in the roaming state, then triggers dialing circumscription logic, and the dialing procedure is controlled by the dialing limitation and patrols It collects and executes or cancel dialing, including:
Cancel and dials and dialing is executed by another user's ID card.
5. according to the method described in claim 1, it is characterized in that, described initiate the terminal device according to the dial instruction The acquisition of geographic location, including:
The terminal device geographic location is obtained according to dial instruction triggering, the acquisition of the geographic location is logical It crosses the GPS positioning function configured in the terminal device and/or WiFi network access function executes.
6. according to the method described in claim 5, it is characterized in that, described obtain the terminal according to dial instruction triggering Equipment geographic location, including:
The funcall priority obtained according to geographical location is executed, it is that the dialing refers to call the WiFi network access function Enable the acquisition for executing the terminal device geographic location;
If the geographical location performed by the WiFi network access function obtains failure, the GPS positioning function is called to hold The acquisition of the row terminal device geographic location.
7. if according to the method described in claim 1, it is characterized in that, the dialing procedure is in the roaming shape State then triggers dialing circumscription logic, and the dialing procedure is controlled by the dialing circumscription logic and executes or cancel dialing, including:
If the dialing procedure is in the roaming state, initiates roaming to user and remind, asked by roaming prompting User is asked to select the processing to the dialing procedure;
Receive the dialing process instruction that user generates dialing procedure selection;
Dialing is executed according to the dialing process instruction or cancels dialing.
8. if according to the method described in claim 1, it is characterized in that, the dialing procedure is in the roaming shape State then triggers dialing circumscription logic, and the dialing procedure is controlled by the dialing circumscription logic and executes or cancel dialing, including:
According to user setting, dialing is cancelled automatically to the dialing procedure in the roaming state.
9. a kind of electronic equipment, which is characterized in that the electronic equipment includes:
Processor;
Memory is stored with computer-readable instruction on the memory, and the computer-readable instruction is held by the processor When row, such as claim 1 to 8 any one of them method is realized.
10. a kind of computer readable storage medium, which is characterized in that be stored thereon with computer program, the computer program When being executed by processor, such as claim 1 to 8 any one of them method is realized.
CN201810420056.0A 2018-05-04 2018-05-04 Dialing control method in terminal equipment, electronic equipment and storage medium Active CN108737956B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810420056.0A CN108737956B (en) 2018-05-04 2018-05-04 Dialing control method in terminal equipment, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810420056.0A CN108737956B (en) 2018-05-04 2018-05-04 Dialing control method in terminal equipment, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN108737956A true CN108737956A (en) 2018-11-02
CN108737956B CN108737956B (en) 2021-09-03

Family

ID=63937189

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810420056.0A Active CN108737956B (en) 2018-05-04 2018-05-04 Dialing control method in terminal equipment, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN108737956B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1994028688A1 (en) * 1993-05-28 1994-12-08 Telefonaktiebolaget Lm Ericsson A method for handling calls to a non-registered mobile subscriber in a mobile telephone system
CN1917692A (en) * 2005-08-15 2007-02-21 华为技术有限公司 Method and system for indicating roam status of called party
CN101459888A (en) * 2009-01-07 2009-06-17 华为技术有限公司 One card multiple number processing method, system and gateway equipment
CN101730185A (en) * 2008-10-17 2010-06-09 华为技术有限公司 Method, system and device for limiting call of calling user
CN102958037A (en) * 2011-08-25 2013-03-06 联芯科技有限公司 Dialing method and dialing device for mobile terminal
CN102970419A (en) * 2012-11-07 2013-03-13 东莞宇龙通信科技有限公司 Communication method of mobile terminal and mobile terminal
CN104125552A (en) * 2014-06-30 2014-10-29 北京得实达康系统集成有限公司 Network transmission principle based number transmission achieving method and system
CN105101125A (en) * 2014-04-18 2015-11-25 小米科技有限责任公司 Method and device for setting call forwarding
CN106878977A (en) * 2017-01-20 2017-06-20 维沃移动通信有限公司 The method of calling and mobile terminal of a kind of telephone number

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1994028688A1 (en) * 1993-05-28 1994-12-08 Telefonaktiebolaget Lm Ericsson A method for handling calls to a non-registered mobile subscriber in a mobile telephone system
CN1917692A (en) * 2005-08-15 2007-02-21 华为技术有限公司 Method and system for indicating roam status of called party
CN101730185A (en) * 2008-10-17 2010-06-09 华为技术有限公司 Method, system and device for limiting call of calling user
CN101459888A (en) * 2009-01-07 2009-06-17 华为技术有限公司 One card multiple number processing method, system and gateway equipment
CN102958037A (en) * 2011-08-25 2013-03-06 联芯科技有限公司 Dialing method and dialing device for mobile terminal
CN102970419A (en) * 2012-11-07 2013-03-13 东莞宇龙通信科技有限公司 Communication method of mobile terminal and mobile terminal
CN105101125A (en) * 2014-04-18 2015-11-25 小米科技有限责任公司 Method and device for setting call forwarding
CN104125552A (en) * 2014-06-30 2014-10-29 北京得实达康系统集成有限公司 Network transmission principle based number transmission achieving method and system
CN106878977A (en) * 2017-01-20 2017-06-20 维沃移动通信有限公司 The method of calling and mobile terminal of a kind of telephone number

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
HYO JIN JO: "Efficient Privacy-Preserving Authentication in Wireless Mobile Networks", 《 IEEE TRANSACTIONS ON MOBILE COMPUTING 》 *
崔荣起等: "GSM网络边界漫游问题分析", 《合作经济与科技》 *

Also Published As

Publication number Publication date
CN108737956B (en) 2021-09-03

Similar Documents

Publication Publication Date Title
CN105101366B (en) Method for controlling mobile terminal and mobile terminal
CN107820331A (en) Call method, device, computer equipment and readable storage medium storing program for executing
CN104951335B (en) The processing method and processing device of application program installation kit
CN102045700A (en) Mobile device and operation method thereof
CN104735671A (en) Malicious call recognition method and device
CN103179266A (en) Mobile terminal and controlling method thereof
CN104967573B (en) A kind of monitoring method and terminal of data traffic
CN104092810B (en) One does not disturb control method, device and mobile terminal
CN105138400B (en) Application program self-starting management method and device
CN107027157B (en) Location updating method and device
CN108601097A (en) Networking control method, device, equipment and the computer storage media of double-terminal
CN105101125B (en) The setting method and device of call forwarding
CN103744574A (en) Method and device for turning off alarm clock of mobile terminal and mobile terminal
CN105764085A (en) Abnormal electricity consumption detection method and terminal
CN101742592B (en) Switching method for communication conversation modes and the system and mobile terminal thereof.
CN103544457B (en) The recognition methods of a kind of near field communication tag, device and mobile terminal
CN105554282A (en) Alarm control method and device for mobile terminal, and mobile terminal
KR20120012906A (en) METHOD FOR displaying data service usage of mobile terminal
CN107172612B (en) Control method for wireless communication in mobile terminal and mobile terminal
CN107864279A (en) Indicating mode switching method, device, computer installation and computer-readable recording medium
CN103095528A (en) Method and device for operating application for detecting network flow
CN108255282A (en) A kind of terminal processes management method and terminal
CN108737956A (en) Method for controlling dialing, electronic equipment in terminal device and storage medium
CN106126488A (en) Information storage means and device
CN106792526B (en) The disable time of the band of position determines method and terminal

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