WO2019210615A1 - 终端设备中的拨号控制方法、装置、电子设备及存储介质 - Google Patents

终端设备中的拨号控制方法、装置、电子设备及存储介质 Download PDF

Info

Publication number
WO2019210615A1
WO2019210615A1 PCT/CN2018/101562 CN2018101562W WO2019210615A1 WO 2019210615 A1 WO2019210615 A1 WO 2019210615A1 CN 2018101562 W CN2018101562 W CN 2018101562W WO 2019210615 A1 WO2019210615 A1 WO 2019210615A1
Authority
WO
WIPO (PCT)
Prior art keywords
dialing
terminal device
instruction
identity card
user identity
Prior art date
Application number
PCT/CN2018/101562
Other languages
English (en)
French (fr)
Inventor
蔡锦升
Original Assignee
平安科技(深圳)有限公司
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 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2019210615A1 publication Critical patent/WO2019210615A1/zh

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/36User authentication by graphic or iconic representation
    • 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

Definitions

  • the present application relates to the field of computer application technologies, and in particular, to a dial control method, apparatus, electronic device, and computer readable storage medium in a terminal device.
  • dual-card terminal devices (hereinafter referred to as dual-card devices) in order to be able to use the corresponding SIM card in different service areas (Subscriber Identification) Module, user ID card) Make a call.
  • the dialing process of the dual card device is: after detecting that the user touches the virtual key of the SIM card, the dialing is controlled by the corresponding SIM card.
  • the virtual key of the SIM card refers to a virtual key displayed in the dialing interface of the device, and corresponds to the SIM card installed in the device. The user triggers the device to perform dialing through the corresponding SIM card by touching the virtual key of the SIM card.
  • the existing dialing interface is shown in Figure 1 and Figure 2.
  • the present application provides a dialing control method, device, electronic device, and computer readable storage medium in the terminal device.
  • a dialing control method in a terminal device comprising:
  • dialing restriction logic is triggered, the dialing process being controlled by the dialing restriction logic to perform or cancel dialing.
  • a dialing control device in a terminal device characterized in that the device comprises:
  • the instruction receiving module is configured to receive a dialing instruction triggered in the terminal device
  • a location obtaining module configured to initiate acquisition of a geographical location of the terminal device according to the dialing instruction
  • the determining module is configured to determine, according to the geographic location of the terminal device, whether the dialing process corresponding to the dialing instruction is in a roaming state;
  • a control module configured to trigger a dialing restriction logic that is controlled by the dialing restriction logic to perform or cancel dialing if the dialing process is in the roaming state.
  • An electronic device comprising:
  • a memory having stored thereon computer readable instructions that, when executed by the processor, implement the method as previously described.
  • a computer readable storage medium having stored thereon a computer program that, when executed by a processor, implements the method as previously described.
  • the terminal device After receiving the dialing instruction, obtaining the geographical location of the terminal device for the dialing instruction, determining whether the dialing process corresponding to the dialing instruction is in a roaming state, and if the dialing process is in a roaming state, triggering the dialing restriction logic. Since the dialing process is controlled by the dialing control logic, the terminal device does not directly dial the user identity card indicated by the dialing instruction after receiving the dialing instruction. Therefore, the present application solves the technical problem that the dialing performed by the device is completely triggered by the user. .
  • 1 is a schematic diagram of a dialing interface of an existing dual card device.
  • FIG. 2 is a schematic diagram of another dialing interface of an existing dual card device.
  • FIG. 3 is a schematic diagram of an implementation environment of the present application, according to an exemplary embodiment.
  • FIG. 4 is a block diagram of an apparatus, according to an exemplary embodiment.
  • FIG. 5 is a flowchart of a dialing control method in a terminal device according to an exemplary embodiment.
  • FIG. 6 is a flow diagram showing the details of step 350, in accordance with an exemplary embodiment.
  • FIG. 7 is a flow diagram showing the details of step 330, in accordance with an exemplary embodiment.
  • FIG 8 is a flow diagram of the details of step 370 shown in accordance with the corresponding embodiment of Figure 5.
  • FIG. 9 is a block diagram of a dialing control apparatus in a terminal device according to an exemplary embodiment.
  • FIG. 1 is a schematic diagram of a dialing interface of an existing dual card device.
  • the dialing interface is configured with a SIM card 1 virtual key and a SIM card 2 virtual key.
  • the user controls the terminal device to make a call through the built-in SIM card 1 by touching the virtual key of the SIM card 1 , similarly, or by touching the SIM.
  • the card 2 virtual key controls the terminal device to make a call through the SIM card 2.
  • the user can modify the text displayed on the virtual key of the SIM card in the next-level interface or the lower-level interface of the setting interface, thereby prompting the attribution of the numbers of the SIM cards 1 and 2.
  • the modification of the text displayed on the virtual key of the SIM card needs to be performed on the next level interface or even the lower level interface of the setting interface, and the operation path is long and the operation steps are many.
  • modifying the way the text displayed on the virtual key of the SIM card does not solve the problem that the dialing performed by the current device is completely triggered by the user.
  • FIG. 2 is a schematic diagram of another dialing interface of an existing dual card device. As shown in Figure 2, only one SIM card virtual key is included in the dialing interface. Currently, some users will set a SIM card as the default dialing card, so that only one SIM card virtual key appears on the dialing interface. The user can control the device to dial by touching the number list in the dialing interface or touching the SIM card virtual key. This method also does not solve the problem that the dialing performed by the current device is completely triggered by the user.
  • FIG. 3 is a schematic diagram of an implementation environment of the present application, according to an exemplary embodiment.
  • the implementation environment of the present application includes a terminal device 110 and a base station 130 that implements telephone communication of the terminal device 110.
  • the terminal device 110 is an electronic device having a communication function, such as a smart phone.
  • the user initiates dialing through the terminal device 110, thereby initiating telephone communication between the terminal device 110 and the other terminal device 110 under the action of the base station 130.
  • the terminal device 110 is divided into a calling device 111 and a called device 113, and the calling device 111 initiates a call to the called device 113 through the base station 130.
  • the terminal device 110 is a dual card or multi-card device, that is, the user can install a plurality of user identity cards in the terminal device 110.
  • the dual card or multi-card terminal device 110 is capable of receiving or initiating a call through any of the user identity cards.
  • the initiation and reception of the call is implemented by the physical SIM card installed in the terminal device 110.
  • the user identity card is not limited to be a physical SIM card, and the user identity card in the present application may also be virtual.
  • apparatus 200 can include one or more of the following components: processing component 202, memory 204, power component 206, multimedia component 208, audio component 210, sensor component 214, and communication component 216.
  • Processing component 202 typically controls the overall operation of device 200, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations, and the like.
  • Processing component 202 can include one or more processors 218 to execute instructions to perform all or part of the steps of the methods described below.
  • processing component 202 can include one or more modules to facilitate interaction between component 202 and other components.
  • processing component 202 can include a multimedia module to facilitate interaction between multimedia component 208 and processing component 202.
  • Memory 204 is configured to store various types of data to support operation at device 200. Examples of such data include instructions for any application or method operating on device 200.
  • Memory 204 can be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (Static Random) Access Memory (SRAM), electrically erasable programmable read only memory (Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (Programmable) Red-Only Memory (PROM), Read-Only Memory (ROM), magnetic memory, flash memory, disk or optical disk. Also stored in memory 204 is one or more modules that are configured to be executed by the one or more processors 218 to perform all or part of the steps in the method shown below.
  • SRAM static random access memory
  • EEPROM Electrically erasable programmable read only memory
  • EPROM Erasable Programmable Read Only Memory
  • PROM Programmable Read Only Memory
  • ROM Read
  • Power component 206 provides power to various components of device 200.
  • Power component 206 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for device 200.
  • the multimedia component 208 includes a screen between the device 200 and the user that provides an output interface.
  • the screen may include a liquid crystal display (Liquid Crystal) Display, referred to as LCD) and touch panel. If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user.
  • the touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensor may sense not only the boundary of the touch or sliding action, but also the duration and pressure associated with the touch or slide operation.
  • the screen can also include an organic electroluminescent display (Organic Light Emitting Display (OLED).
  • OLED Organic Light Emitting Display
  • the audio component 210 is configured to output and/or input an audio signal.
  • the audio component 210 includes a microphone (Microphone, MIC for short) that is configured to receive an external audio signal when the device 200 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode.
  • the received audio signal may be further stored in memory 204 or transmitted via communication component 216.
  • audio component 210 also includes a speaker for outputting an audio signal.
  • Sensor assembly 214 includes one or more sensors for providing status assessment of various aspects to device 200.
  • sensor assembly 214 can detect an open/closed state of device 200, relative positioning of components, and sensor assembly 214 can also detect changes in position of one component of device 200 or device 200 and temperature changes of device 200.
  • the sensor assembly 214 can also include a magnetic sensor, a pressure sensor, or a temperature sensor.
  • Communication component 216 is configured to facilitate wired or wireless communication between device 200 and other devices.
  • the device 200 can access a wireless network based on a communication standard, such as WiFi (Wireless-Fidelity).
  • communication component 216 receives broadcast signals or broadcast associated information from an external broadcast management system via a broadcast channel.
  • the communication component 216 also includes a Near Field Communication (NFC) module to facilitate short range communication.
  • NFC Near Field Communication
  • the NFC module can be based on radio frequency identification (Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth technology and other technologies to achieve.
  • RFID Radio Frequency Identification
  • IrDA Infrared Data Association
  • UWB Ultra Wideband
  • device 200 may be implemented by one or more application specific integrated circuits (Application) Specific Integrated Circuit (ASIC), digital signal processor, digital signal processing device, programmable logic device, field programmable gate array, controller, microcontroller, microprocessor or other electronic component implementation for performing the following method.
  • ASIC Application specific integrated circuits
  • ASIC Application Specific Integrated Circuit
  • FIG. 5 is a flowchart of a dialing control method in a terminal device according to an exemplary embodiment.
  • the method can be performed by the apparatus 200 of FIG. 4, causing the apparatus 200 to perform or cancel dialing in response to a dialing command generated by a user trigger.
  • the method is performed by the calling device 111 shown in FIG. 2, causing the calling device 111 to control the calling device 111 to perform or cancel dialing in response to a dialing command generated by the user trigger.
  • the dialing control method in the terminal device includes the following steps.
  • Step 310 Receive a dialing instruction triggered in a terminal device.
  • the dialing command is generated by the user.
  • the terminal device controls the dialing instruction.
  • the terminal device is triggered by the user, and the configured dialing logic is triggered.
  • the user touches the virtual key of the user identity card in the dialing interface.
  • a dialing instruction is generated accordingly, and the terminal device runs the process.
  • the thread will receive the dialing command sent by the process or thread corresponding to the dialing application.
  • the dialing instruction indicates the initiation of the dialing in the terminal device, and in addition, indicates the user identity card corresponding to the initiated dialing.
  • a user identity card corresponding to a different number attribution location is configured in the terminal device to adapt to the telephone communication requirements in different scenarios.
  • the dialing instruction generates a dialing for initiating the corresponding user identity card, but the dialing control in the terminal device is performed for the dialing instruction before the dialing instruction is used to initiate the dialing of the corresponding user identity card. .
  • the generated dialing instruction does not directly initiate the corresponding dialing.
  • a user identity card virtual key in the terminal device is triggered, and thus a corresponding dialing instruction is generated, which may be implemented by the user through the user identity card selection performed on the dialing interface, or may be in advance.
  • the priority configured for the user identity card (for example, setting a user identity card as the default card) is limited to the example and is not limited.
  • Step 330 Initiate acquisition of a geographic location where the terminal device is located according to the dialing instruction.
  • the geographical location of the terminal equipment refers to the location where the terminal equipment is located, such as Guangdongzhou, Hong Kong Special Administrative Region, or more accurate location information, such as Futian District of Shenzhen and Hong Kong University.
  • the geographical location of the terminal device is obtained through the initiation of the positioning of the terminal device. Accordingly, the geographic location of the obtained terminal device is the existence form of the latitude and longitude information.
  • the obtaining of the geographic location of the terminal device may be obtained by obtaining information about a network connected to the terminal device (for example, a local area network), or may be obtained by performing satellite positioning on the terminal device, or may be obtained by other means. It is not limited here, and can be flexibly implemented according to hardware configured to implement positioning by the terminal device.
  • Step 350 Determine, according to the geographic location of the terminal device, whether the dialing process corresponding to the dialing instruction is in a roaming state.
  • the roaming state means that the terminal device makes a call through a specific user identity card, but the terminal device is located outside the service area corresponding to the user identity card, for example, a call is made in the Hong Kong region through a user identity card registered in the mainland China region.
  • the dialing process corresponding to the dialing instruction After obtaining the geographical location of the terminal device, according to the geographical location of the terminal device when receiving the dialing instruction, and the user identity card information included in the dialing instruction, it can be determined whether the dialing process corresponding to the dialing instruction is roaming.
  • Step 370 If the dialing process is in a roaming state, the dialing restriction logic is triggered, and the dialing process is controlled by the dialing restriction logic to perform or cancel the dialing.
  • the dialing restriction logic is an instruction stored in the terminal device to restrict the dialing process in the roaming state when executed.
  • the dialing restriction logic is triggered, and the dialing is performed or cancelled under the control of the dialing restriction logic.
  • the dialing restriction logic is not triggered.
  • the terminal device may directly perform the dialing in response to the dialing instruction generated by the user trigger.
  • the dialing process is terminated after the dialing is performed or cancelled.
  • the dialing restriction logic is added between the receiving time point of the dialing instruction and the execution time point of the dialing.
  • the setting of the dialing restriction logic provides a buffer between the user initiating the dialing and the terminal device performing the dialing. Therefore, when the user When the user identity card is selected but the user is not located in the service area corresponding to the user identity card, the terminal device does not dial directly through the user identity card, thereby solving the problem that the dialing performed by the current device is completely triggered by the user.
  • step 310 includes:
  • the user can initiate a dialing process by touching a virtual key of the user identity card in the dialing interface. After detecting the touch of the user, the terminal device generates a dialing instruction, where the dialing instruction indicates the virtual key of the user identity card touched by the user. The corresponding user ID card.
  • step 350 the steps included in step 350 are as shown in FIG. 6.
  • FIG. 6 is a flow diagram showing the details of step 350, in accordance with an exemplary embodiment. As shown in Figure 6, step 350 includes:
  • Step 351 Acquire information about the number attribution of the user identity card.
  • the number attribution information can indicate the region in which the user identity card is registered, such as mainland China, Hong Kong, China.
  • the number attribution information is stored in the user identity card and/or the terminal device and belongs to the basic information of the user identity card.
  • Step 353 Determine, according to the number attribution information, whether the geographical location of the terminal device is in the service area of the user identity card.
  • the number attribution information indicates the area where the user identity card is registered, thereby being able to determine the service area of the user identity card.
  • the number attribution information of the user identity card is Guangdong province, that is, the user identity card is registered.
  • the region is Guangdongzhou, and China's Hong Kong, Macao and Taiwan regions (hereinafter referred to as venue China) are the service areas for the user ID card.
  • the geographical location of the terminal device is in the service area of the user identity card. For example, if the service area of the user identity card is the mainland of China and the geographical location of the terminal device is Guangdong province, the geographical location of the terminal device is in the service area of the user identity card.
  • the terminal device is a dual card device.
  • the dialing control method further includes the steps of: acquiring the number attribution information of the other user identity card; determining the terminal according to the number attribution information. Whether the geographical location of the device is in the service area of the other user ID card.
  • step 370 includes the steps of canceling the dialing and performing dialing through the other user identity card.
  • the card attribution information of the card B is also obtained and determined. Whether the geographical location of the dual card device is in the service area of the card B, if it is in the service area of the card B, the dialing initiated by the card A is automatically canceled, and the dialing is performed through the card B.
  • This embodiment enables the dual card device to automatically cancel and perform dialing in accordance with a dialing command generated by the user trigger.
  • a dual-card device is equipped with a mainland card and a Hong Kong card. The location of the dual-card device is in Hong Kong. If the card indicated by the user triggers the dialing instruction is a mainland card, the dual-card device will be automatically cancelled. The dialing initiated by the yearly card and automatic dialing through the Hong Kong card.
  • step 330 includes:
  • the location of the location of the terminal device is triggered according to the dialing instruction, and the obtaining of the geographical location is performed by the GPS positioning function and/or the WiFi network access function configured in the terminal device.
  • the data can be directly read. If the geographical location data of the device does not exist in the terminal device, the positioning logic is called to locate the terminal device.
  • the location of the location where the terminal device is obtained includes but is not limited to: GPS (Global Positioning System, Global Positioning System, WiFi.
  • step 330 the steps included in step 330 are as shown in FIG.
  • FIG. 7 is a flow diagram showing the details of step 330, in accordance with an exemplary embodiment. As shown in FIG. 7, step 330 includes:
  • Step 331 According to the function call priority of performing the geographic location acquisition, the WiFi network access function is invoked to perform the acquisition of the geographical location of the terminal device for the dialing instruction.
  • the calling priority of the WiFi network access function is set to be higher than the calling priority of the GPS positioning function, that is, when the location of the terminal device is obtained by the WiFi network access function, the GPS positioning function is not invoked, so as to avoid Power consumption.
  • Step 333 If the geographic location acquisition performed by the WiFi network access function fails, the GPS positioning function is invoked to perform acquisition of the geographic location where the terminal device is located.
  • the location of the terminal device is less than that of the terminal device.
  • FIG 8 is a flow diagram of the details of step 370 shown in accordance with the corresponding embodiment of Figure 5. As shown in Figure 8, step 370 includes:
  • Step 371 If the dialing process is in the roaming state, initiate a roaming reminder to the user, and request the user to select the processing of the dialing process through the roaming reminder.
  • the roaming reminder is performed for the dialing process in the roaming state. Therefore, when the dialing process is not in the roaming state, the terminal device directly performs dialing according to the dialing instruction generated by the user triggering, and does not invoke the dialing restriction logic.
  • the controlling terminal device When the dialing process is in the roaming state, the controlling terminal device initiates a roaming reminder to the user.
  • the way to roam reminders can be:
  • the roaming reminder is for making a request to the user to obtain a user's processing choice for the dialing process.
  • the manner of roaming reminder is not limited.
  • Step 373 Receive a dialing processing instruction generated by the user to select the dialing process.
  • step 375 dialing or canceling dialing is performed according to the dialing processing instruction.
  • the dialing processing instruction After receiving the dialing processing instruction, the dialing processing instruction is executed/canceled according to the dialing processing instruction. At this point, the dialing process is completed, and after receiving the operation of the user to initiate a new dialing process, a new dialing process starts, according to the foregoing process. Just handle it.
  • the method of initiating a roaming reminder to the user greatly eliminates the loss of roaming charges caused by the user's misselection of the user identity card.
  • the user who needs to make a call through the user identity card that generates the roaming fee can also pass the user identity.
  • the card makes a call.
  • step 370 includes:
  • the dialing process in the roaming state is automatically canceled.
  • the user can also set the terminal device so that the terminal device does not perform the roaming reminder.
  • the user selects the user identity card that generates the roaming fee, the user automatically disables the dialing, so that the user cannot make a call through the user identity card that generates the roaming fee, and the operation interface and The user side steps are more concise.
  • the dialing interface detects that the user touches the virtual key corresponding to the Hong Kong regional card, a corresponding dialing instruction is generated to instruct the dialing through the Hong Kong regional card.
  • the geographical location of the terminal device is obtained, and the terminal device is located in the Hong Kong area.
  • the dialing process is not in the roaming state, and the terminal device performs dialing through the Hong Kong regional card.
  • a corresponding dialing instruction is generated to instruct the dialing through the mainland area card.
  • the geographical location of the terminal device is obtained, and the terminal device is located in the Hong Kong area.
  • the dialing process is in a roaming state, and the terminal device performs a roaming reminder, requesting the user to select whether to perform dialing through the mainland area card. If the user's choice is yes, the dialing is performed through the mainland area card, and if the user's choice is no, the dialing is cancelled. , terminate the dialing process.
  • FIG. 9 is a block diagram of a dialing control apparatus in a terminal device according to an exemplary embodiment. As shown in Figure 9, the device includes:
  • the instruction receiving module 910 is configured to receive a dialing instruction triggered in the terminal device.
  • the location obtaining module 930 is configured to initiate acquisition of a geographic location of the terminal device according to the dialing instruction.
  • the determining module 950 is configured to determine, according to the geographic location of the terminal device, whether the dialing process corresponding to the dialing instruction is in a roaming state.
  • the control module 970 is configured to trigger the dialing restriction logic if the dialing process is in a roaming state, and the dialing process is controlled by the dialing restriction logic to perform or cancel the dialing.
  • the application also provides an electronic device, the electronic device comprising:
  • a memory having stored thereon computer readable instructions that, when executed by the processor, implement the method as previously described.
  • the electronic device can be the device 200 shown in FIG.
  • the present application also provides a computer readable storage medium having stored thereon a computer program that, when executed by a processor, implements the method as previously described.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)

Abstract

一种终端设备中的拨号控制方法、装置、电子设备以及计算机可读存储介质。所述方法包括:接收所在终端设备中触发的拨号指令(310);根据所述拨号指令发起所述终端设备所在地理位置的获取(330);根据所述终端设备所在地理位置判断所述拨号指令对应的拨号过程是否处于漫游状态(350);如果所述拨号过程处于所述漫游状态,则触发拨号限制逻辑,所述拨号过程受控于所述拨号限制逻辑执行或取消拨号(370)。由于拨号过程受控于拨号控制逻辑,使得在接收到拨号指令后终端设备不直接通过拨号指令指示的用户身份卡进行拨号,因此,解决了设备所执行拨号完全受用户触发进行的技术问题。

Description

终端设备中的拨号控制方法、装置、电子设备及存储介质 技术领域
本申请要求2018年5月4日递交、发明名称为“终端设备中的拨号控制方法、电子设备及存储介质”的中国专利申请CN201810420056.0的优先权,在此通过引用将其全部内容合并于此。
本申请涉及计算机应用技术领域,特别涉及一种终端设备中的拨号控制方法、装置、电子设备以及计算机可读存储介质。
背景技术
现如今,很多经常往返于不同服务区(例如内地和香港)的用户选择使用支持双卡的终端设备(以下简称双卡设备),目的是能够在不同的服务区使用对应的SIM卡(Subscriber Identification Module,用户身份卡)拨打电话。
目前,双卡设备的拨号过程为:在检测到用户触摸SIM卡虚拟键的操作后,受控通过对应的SIM卡执行拨号。其中,SIM卡虚拟键是指显示于设备拨号界面内的虚拟键,与安装于设备内的SIM卡对应,用户通过触摸SIM卡虚拟键触发设备通过对应的SIM卡执行拨号。现有的拨号界面如图1、图2所示。
发明人意识到,用户如果触摸了SIM卡虚拟键,但使用该虚拟键所对应SIM卡进行通话是漫游的(例如在香港地区触摸了内地卡虚拟键拨号),由于设备执行的拨号是完全受用户触发进行的,设备将会响应用户对SIM卡虚拟键的触摸,执行拨号,此时,如果用户进行较长时间的通话,则会产生大量漫游费。
因此,应对现有技术中设备所执行拨号完全受用户触发进行的问题进行改进。
技术问题
为了解决相关技术中存在的设备所执行拨号完全受用户触发进行的技术问题,本申请提供了一种终端设备中的拨号控制方法、装置、电子设备以及计算机可读存储介质。
技术解决方案
一种终端设备中的拨号控制方法,所述方法包括:
接收所在终端设备中触发的拨号指令;
根据所述拨号指令发起所述终端设备所在地理位置的获取;
根据所述终端设备所在地理位置判断所述拨号指令对应的拨号过程是否处于漫游状态;
如果所述拨号过程处于所述漫游状态,则触发拨号限制逻辑,所述拨号过程受控于所述拨号限制逻辑执行或取消拨号。
一种终端设备中的拨号控制装置,其特征在于,所述装置包括:
指令接收模块,配置为接收所在终端设备中触发的拨号指令;
位置获取模块,配置为根据所述拨号指令发起所述终端设备所在地理位置的获取;
判断模块,配置为根据所述终端设备所在地理位置判断所述拨号指令对应的拨号过程是否处于漫游状态;
控制模块,配置为如果所述拨号过程处于所述漫游状态,则触发拨号限制逻辑,所述拨号过程受控于所述拨号限制逻辑执行或取消拨号。
一种电子设备,所述电子设备包括:
处理器;
存储器,所述存储器上存储有计算机可读指令,所述计算机可读指令被所述处理器执行时,实现如前所述的方法。
一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时,实现如前所述的方法。
有益效果
本申请的实施例提供的技术方案可以包括以下有益效果:
在接收到拨号指令后,为该拨号指令获取终端设备所在地理位置,据此判断该拨号指令对应的拨号过程是否处于漫游状态,如果该拨号过程处于漫游状态,则触发拨号限制逻辑。由于拨号过程受控于拨号控制逻辑,使得在接收到拨号指令后终端设备不直接通过拨号指令指示的用户身份卡进行拨号,因此,本申请解决了设备所执行拨号完全受用户触发进行的技术问题。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性的,并不能限制本申请。
附图说明
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本申请的实施例,并于说明书一起用于解释本申请的原理。
图1是现有双卡设备的一种拨号界面的示意图。
图2是现有双卡设备的另一种拨号界面的示意图。
图3是根据一示例性实施例示出的本申请实施环境的示意图。
图4是根据一示例性实施例示出的一种装置的框图。
图5是根据一示例性实施例示出的一种终端设备中的拨号控制方法的流程图。
图6是根据一示例性实施例示出的步骤350的细节的流程图。
图7是根据一示例性实施例示出的步骤330的细节的流程图。
图8是根据图5对应实施例示出的步骤370的细节的流程图。
图9是根据一示例性实施例示出的一种终端设备中的拨号控制装置的框图。
本发明的实施方式
这里将详细地对示例性实施例执行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本申请的一些方面相一致的装置和方法的例子。
图1是现有双卡设备的一种拨号界面的示意图。如图1所示,拨号界面配置有SIM卡1虚拟键及SIM卡2虚拟键,用户通过触摸SIM卡1虚拟键控制终端设备通过内置的SIM卡1拨打电话,同理,也可通过触摸SIM卡2虚拟键控制终端设备通过SIM卡2拨打电话。当前,用户可以在设置界面的下一级界面或下数级界面修改SIM卡虚拟键上所显示文本,以此提示SIM卡1、2的号码归属地。
但是,一方面,SIM卡虚拟键上所显示文本的修改需在设置界面的下一级界面甚至下数级界面进行,操作路径长、操作步骤多。另一方面,修改SIM卡虚拟键上所显示文本的方式并没有解决当前设备所执行拨号完全受用户触发进行的问题。
图2是现有双卡设备的另一种拨号界面的示意图。如图2所示,拨号界面内只包括一个SIM卡虚拟键。当前,部分用户会将一张SIM卡设置为默认拨号卡,使得拨号界面上只出现一个SIM卡虚拟键,用户可以通过触摸拨号界面内的号码列表或触摸该SIM卡虚拟键控制设备进行拨号。此方式也没有解决当前设备所执行拨号完全受用户触发进行的问题。
图3是根据一示例性实施例示出的本申请实施环境的示意图。如图3所示,本申请的实施环境包含终端设备110以及实现终端设备110电话通讯的基站130。
终端设备110是具备通讯功能的电子设备,例如智能手机。用户通过终端设备110发起拨号,由此在基站130的作用下发起该终端设备110与其它终端设备110之间的电话通讯。在通过基站130建立的一次电话通讯中,将终端设备110分为主叫设备111和被叫设备113,主叫设备111通过基站130向被叫设备113发起呼叫。
终端设备110是双卡或多卡设备,也就是说,用户能够在终端设备110中装设数张用户身份卡。双卡或多卡的终端设备110能够通过其中任一用户身份卡接收或发起呼叫。
目前,呼叫的发起和接收是通过安装于终端设备110中的实体SIM卡实现的,但在本申请中,不限定用户身份卡是否为实体SIM卡,本申请中的用户身份卡也可以是虚拟SIM卡或其它能够与终端设备110组合实现通讯的装置。
图4是根据一示例性实施例示出的一种装置的框图。该装置可以是图3所示终端设备110,该装置是一种具备通讯功能的电子设备,例如智能手机。如图4所示,装置200可以包括以下一个或多个组件:处理组件202,存储器204,电源组件206,多媒体组件208,音频组件210,传感器组件214以及通信组件216。
处理组件202通常控制装置200的整体操作,诸如与显示,电话呼叫,数据通信,相机操作以及记录操作相关联的操作等。处理组件202可以包括一个或多个处理器218来执行指令,以完成下述的方法的全部或部分步骤。此外,处理组件202可以包括一个或多个模块,便于处理组件202和其他组件之间的交互。例如,处理组件202可以包括多媒体模块,以方便多媒体组件208和处理组件202之间的交互。
存储器204被配置为存储各种类型的数据以支持在装置200的操作。这些数据的示例包括用于在装置200上操作的任何应用程序或方法的指令。存储器204可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(Static Random Access Memory,简称SRAM),电可擦除可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,简称EEPROM),可擦除可编程只读存储器(Erasable Programmable Read Only Memory,简称EPROM),可编程只读存储器(Programmable Red-Only Memory,简称PROM),只读存储器(Read-Only Memory,简称ROM),磁存储器,快闪存储器,磁盘或光盘。存储器204中还存储有一个或多个模块,该一个或多个模块被配置成由该一个或多个处理器218执行,以完成如下所示方法中的全部或者部分步骤。
电源组件206为装置200的各种组件提供电力。电源组件206可以包括电源管理系统,一个或多个电源,及其他与为装置200生成、管理和分配电力相关联的组件。
多媒体组件208包括在所述装置200和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(Liquid Crystal Display,简称LCD)和触摸面板。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。屏幕还可以包括有机电致发光显示器(Organic Light Emitting Display,简称OLED)。
音频组件210被配置为输出和/或输入音频信号。例如,音频组件210包括一个麦克风(Microphone,简称MIC),当装置200处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器204或经由通信组件216发送。在一些实施例中,音频组件210还包括一个扬声器,用于输出音频信号。
传感器组件214包括一个或多个传感器,用于为装置200提供各个方面的状态评估。例如,传感器组件214可以检测到装置200的打开/关闭状态,组件的相对定位,传感器组件214还可以检测装置200或装置200一个组件的位置改变以及装置200的温度变化。在一些实施例中,该传感器组件214还可以包括磁传感器,压力传感器或温度传感器。
通信组件216被配置为便于装置200和其他设备之间有线或无线方式的通信。装置200可以接入基于通信标准的无线网络,如WiFi(Wireless-Fidelity,无线保真)。在一个示例性实施例中,通信组件216经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件216还包括近场通信(Near Field Communication,简称NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(Radio Frequency Identification,简称RFID)技术,红外数据协会(Infrared Data Association,简称IrDA)技术,超宽带(Ultra Wideband,简称UWB)技术,蓝牙技术和其他技术来实现。
在示例性实施例中,装置200可以被一个或多个应用专用集成电路(Application Specific Integrated Circuit,简称ASIC)、数字信号处理器、数字信号处理设备、可编程逻辑器件、现场可编程门阵列、控制器、微控制器、微处理器或其他电子元件实现,用于执行下述方法。
图5是根据一示例性实施例示出的一种终端设备中的拨号控制方法的流程图。该方法可以由图4所示装置200执行,使装置200响应用户触发产生的拨号指令,控制装置200执行或取消拨号。在一示例性实施例中,该方法由图2所示主叫设备111执行,使主叫设备111响应用户触发产生的拨号指令,控制主叫设备111执行或取消拨号。如图5所示,该终端设备中的拨号控制方法包括以下步骤。
步骤310,接收所在终端设备中触发的拨号指令。
拨号指令是用户触发产生的。用户发起拨号过程时,终端设备受控产生拨号指令。终端设备在用户的操控下,所配置的拨号逻辑被触发,例如,监听到用户对拨号界面内用户身份卡虚拟键的触摸,此时,相应生成拨号指令,对此,终端设备所运行的进程或线程将接收到拨号应用所对应进程或线程发送的拨号指令。
拨号指令指示了终端设备中拨号的发起,除此之外,还指示了所发起拨号对应的用户身份卡。
终端设备内配置有对应于不同号码归属地的用户身份卡,以适应于不同场景下的电话通讯需求。在此终端设备中,拨号指令生成用于发起所对应用户身份卡的拨号,但是,在拨号指令被用于发起所对应用户身份卡的拨号之前,将为此拨号指令执行终端设备中的拨号控制。
也就是说,在终端设备中,所生成的拨号指令并不直接发起所对应的拨号。
在此应当补充说明的是,终端设备中一用户身份卡虚拟键被触发,并因此生成相应的拨号指令,可以是用户通过在拨号界面所进行的用户身份卡选择实现的,也可以是按照预先为用户身份卡配置的优先级(例如将一用户身份卡设置为默认卡)进行的,在此仅限于举例说明,不对此进行限定。
步骤330,根据拨号指令发起终端设备所在地理位置的获取。
在接收到拨号指令之后,为此拨号指令获取终端设备所在地理位置。终端设备所在地理位置是指终端设备所位于的地点,例如广东省、香港特别行政区,也可以是更为准确的位置信息,例如深圳市福田区、香港大学。
应当理解,终端设备所在地理地置的获取是通过终端设备自身定位的发起实现的,由此,与之相对应的,所获得终端设备所在地理位置是经纬度信息的存在形式。
具体的,终端设备所在地理位置的获取可以是通过获得终端设备所连接网络(例如局域网)的信息所得到,也可以是通过对终端设备进行卫星定位所得到,还可以是通过其它方式所得到,在此不进行限定,可根据终端设备所配置实现定位的硬件灵活实现。
步骤350,根据终端设备所在地理位置判断拨号指令对应的拨号过程是否处于漫游状态。
漫游状态是指终端设备通过特定的用户身份卡拨打电话,但该终端设备位于该用户身份卡所对应的服务区外,例如,通过注册于中国大陆地区的用户身份卡在香港地区拨打电话。
获得终端设备所在地理位置后,根据接收到拨号指令时终端设备所在地理位置,以及拨号指令中所含用户身份卡信息,即可判断拨号指令所对应拨号过程是否处于漫游状态。
步骤370,如果拨号过程处于漫游状态,则触发拨号限制逻辑,拨号过程受控于拨号限制逻辑执行或取消拨号。
拨号限制逻辑是存储于终端设备中、在被执行时对处于漫游状态的拨号过程进行限制的指令。
终端设备所发起的拨号过程处于漫游状态时,该拨号过程是否能够进行至完成拨号,是受到拨号限制逻辑控制的。
如果判断出拨号指令所对应的拨号过程处于漫游状态,则触发拨号限制逻辑,在该拨号限制逻辑的控制下执行或取消拨号。
如果判断出拨号指令所对应的拨号过程不处于漫游状态,则不触发拨号限制逻辑,在一示例性实施例中,终端设备可以直接响应用户触发产生的拨号指令,执行拨号。
对于用户发起的一次拨号过程,执行或取消拨号后,该拨号过程终止。
拨号限制逻辑是加设在拨号指令的接收时间点和拨号的执行时间点之间的,通过拨号限制逻辑的加设,在用户发起拨号和终端设备执行拨号之间提供了缓冲,因此,当用户选择了用户身份卡但用户并不位于该用户身份卡对应的服务区时,终端设备不会直接通过该用户身份卡进行拨号,也就得以解决当前设备所执行拨号完全受用户触发进行的问题。
在一示例性实施例中,步骤310包括:
监听终端设备中发起的拨号过程,获得发起拨号过程所触发生成的拨号指令,拨号指令指示终端设备中执行拨号过程的用户身份卡。
在具体应用中,用户可以通过触摸拨号界面内的用户身份卡虚拟键发起拨号过程,终端设备在检测到用户的触摸后,进行拨号指令的生成,该拨号指令指示用户所触摸用户身份卡虚拟键对应的用户身份卡。
在此实施例中,步骤350所包括步骤如图6所示。
图6是根据一示例性实施例示出的步骤350的细节的流程图。如图6所示,步骤350包括:
步骤351,获取用户身份卡的号码归属地信息。
号码归属地信息能够指示用户身份卡所注册于的地区,例如中国大陆、中国香港。号码归属地信息存储于用户身份卡和/或终端设备中,属于用户身份卡的基本信息。
步骤353,根据号码归属地信息确定终端设备所在地理位置是否处于用户身份卡的服务区内。
号码归属地信息指示了用户身份卡所注册于的地区,由此能够确定用户身份卡的服务区,例如,用户身份卡的号码归属地信息是广东省,即指示了用户身份卡所注册于的地区是广东省,则中国除港澳台地区外(以下简称中国内地)都是该用户身份卡的服务区。
因此,确定用户身份卡的服务区和终端设备所在地理位置后,即可判断终端设备所在地理位置是否处于用户身份卡的服务区内。例如,如果用户身份卡的服务区是中国内地,终端设备所在地理位置是广东省,则终端设备所在地理位置处于该用户身份卡的服务区内。
在一示例性实施例中,终端设备是一双卡设备,在步骤370之前,该拨号控制方法还包括以下步骤:获取另一用户身份卡的号码归属地信息;根据该号码归属地信息确定终端设备所在地理位置是否处于该另一用户身份卡的服务区内。
如果终端设备所在地理位置处于该另一用户身份卡的服务区内,则步骤370包括以下步骤:取消拨号并通过该另一用户身份卡执行拨号。
假设双卡设备中装设了卡A和卡B,用户触发产生的拨号指令指示执行拨号过程的用户身份卡为卡A,则在步骤370之前,还获取卡B的号码归属地信息并确定该双卡设备所在地理位置是否处于卡B的服务区内,如果处于卡B的服务区内,则自动取消通过卡A发起的拨号,并通过卡B执行拨号。
此实施例使得双卡设备能够自动根据用户触发产生的拨号指令取消和执行拨号。例如,双卡设备中装设一张内地卡、一张香港卡,该双卡设备所在地理位置处于香港地区,如果用户触发产生的拨号指令指示的卡是内地卡,该双卡设备会自动取消通过内地卡发起的该拨号,并自动通过香港卡执行拨号。
在一示例性实施例中,步骤330包括:
根据拨号指令触发获取终端设备所在地理位置,所在地理位置的获取通过终端设备中配置的GPS定位功能和/或WiFi网络接入功能执行。
当终端设备中存在设备所在地理位置数据时,直接读取数据即可,如果终端设备中不存在设备所在地理位置数据,则调用定位逻辑对终端设备进行定位。
终端设备所在地理位置的获取方式包括但不限于:GPS(Global Positioning System,全球定位系统)、WiFi。
在此实施例中,步骤330所包括步骤如图7所示。
图7是根据一示例性实施例示出的步骤330的细节的流程图。如图7所示,步骤330包括:
步骤331,根据执行地理位置获取的功能调用优先级,调用WiFi网络接入功能为拨号指令执行终端设备所在地理位置的获取。
在具体应用中,将WiFi网络接入功能的调用优先级设置为高于GPS定位功能的调用优先级,即通过WiFi网络接入功能能够获得终端设备所在地理位置时,不调用GPS定位功能,以免耗电。
步骤333,如果WiFi网络接入功能所执行的地理位置获取失败,则调用GPS定位功能执行终端设备所在地理位置的获取。
通过WiFi定位耗电少,但在没有WiFi的地区则无法通过WiFi定位,因此,在通过WiFi定位失败后,调用GPS定位功能获取终端设备所在地理位置。
图8是根据图5对应实施例示出的步骤370的细节的流程图。如图8所示,步骤370包括:
步骤371,如果拨号过程处于漫游状态,则向用户发起漫游提醒,通过漫游提醒请求用户选择对拨号过程的处理。
漫游提醒是针对处于漫游状态的拨号过程进行的,因此,拨号过程不处于漫游状态时,终端设备根据用户触发产生的拨号指令直接执行拨号,不调用拨号限制逻辑。
拨号过程处于漫游状态时,控制终端设备向用户发起漫游提醒。漫游提醒的方式可以是:
1、  生成漫游提醒弹窗,控制屏幕显示该弹窗,弹窗内包括提示用户使用此用户身份卡进行拨号可能会产生漫游费的文本内容,以及能够获取用户触摸操作的虚拟键,该虚拟键分为“是”部分和“否”部分,如果用户触摸“是”部分,则通过当前用户身份卡执行拨号,如果用户选择“否”部分,则终止拨号过程,或自动通过其它用户身份卡执行拨号。
2、  向用户播报语音提示,并在开始播报后获取用户输入的语音指令,根据用户输入的语音指令执行或取消拨号。
应当理解,漫游提醒是用于向用户发出请求,以得到用户对拨号过程的处理选择的,在本申请中,不限定漫游提醒的方式。
步骤373,接收用户对所述拨号过程选择生成的拨号处理指令。
在向用户发起漫游提醒后,等待用户输入对拨号过程的处理选择,接收到用户输入的处理选择后,根据该处理选择生成拨号处理指令,以根据该拨号处理指令完成此次拨号过程。
步骤375,根据拨号处理指令执行拨号或取消拨号。
接收到拨号处理指令后,按照该拨号处理指令执行/取消拨号,至此,此次拨号过程完成,之后,当接收到用户发起新一次拨号过程的操作时,新的一次拨号过程开始,按前述流程处理即可。
向用户发起漫游提醒的方式一方面极大消除了用户误选用户身份卡造成的漫游费损失,另一方面,需通过该会产生漫游费的用户身份卡拨打电话的用户也能够通过该用户身份卡拨打电话。
在另一实施例中,步骤370包括:
按照用户设置,对处于漫游状态的拨号过程自动取消执行拨号。
用户也可以进行设置,使终端设备不进行漫游提醒,当用户选择了会产生漫游费的用户身份卡时,自动禁止拨号,使用户无法通过会产生漫游费的用户身份卡拨打电话,操作界面和用户侧的操作步骤都更为简明。
以下对本申请在具体实施场景中的应用进行说明。
在拨号界面检测到用户触摸香港地区卡对应的虚拟键时,产生对应的拨号指令,指示通过香港地区卡执行拨号,此时,获取终端设备所在地理位置,得知终端设备位于香港地区,因此,此次拨号过程并不处于漫游状态,终端设备通过香港地区卡执行拨号。
在拨号界面检测到用户触摸大陆地区卡对应的虚拟键时,产生对应的拨号指令,指示通过大陆地区卡执行拨号,此时,获取终端设备所在地理位置,得知终端设备位于香港地区,因此,此次拨号过程处于漫游状态,终端设备进行漫游提醒,请求用户选择是否通过此大陆地区卡执行拨号,用户的选择为是,则通过该大陆地区卡执行拨号,用户的选择为否,则取消拨号,终止此次拨号过程。
以下是本申请的装置实施例。
图9是根据一示例性实施例示出的一种终端设备中的拨号控制装置的框图。如图9所示,该装置包括:
指令接收模块910,配置为接收所在终端设备中触发的拨号指令。
位置获取模块930,配置为根据拨号指令发起终端设备所在地理位置的获取。
判断模块950,配置为根据终端设备所在地理位置判断拨号指令对应的拨号过程是否处于漫游状态。
控制模块970,配置为如果拨号过程处于漫游状态,则触发拨号限制逻辑,拨号过程受控于拨号限制逻辑执行或取消拨号。
本申请还提供一种电子设备,该电子设备包括:
处理器;
存储器,该存储器上存储有计算机可读指令,该计算机可读指令被处理器执行时,实现如前所示的方法。
该电子设备可以是图2所示装置200。
在一示例性实施例中,本申请还提供一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时,实现如前所示的方法。
应当理解的是,本申请并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围执行各种修改和改变。本申请的范围仅由所附的权利要求来限制。

Claims (32)

  1. 一种终端设备中的拨号控制方法,其特征在于,所述方法包括:
    接收所在终端设备中触发的拨号指令;
    根据所述拨号指令发起所述终端设备所在地理位置的获取;
    根据所述终端设备所在地理位置判断所述拨号指令对应的拨号过程是否处于漫游状态;
    如果所述拨号过程处于所述漫游状态,则触发拨号限制逻辑,所述拨号过程受控于所述拨号限制逻辑执行或取消拨号。
  2. 根据权利要求1所述的方法,其特征在于,所述接收所在终端设备中触发的拨号指令,包括:
    监听所述终端设备中发起的拨号过程,获得发起所述拨号过程所触发生成的拨号指令,所述拨号指令指示所述终端设备中执行所述拨号过程的用户身份卡。
  3. 根据权利要求2所述的方法,其特征在于,所述根据所述终端设备所在地理位置判断所述拨号指令对应的拨号过程是否处于漫游状态,包括:
    获取所述用户身份卡的号码归属地信息;
    根据所述号码归属地信息确定所述终端设备所在地理位置是否处于所述用户身份卡的服务区内。
  4. 根据权利要求3所述的方法,其特征在于,所述终端设备是双卡设备,所述如果所述拨号过程处于所述漫游状态,则触发拨号限制逻辑,所述拨号过程受控于所述拨号限制逻辑执行或取消拨号之前,所述方法还包括:
    获取另一用户身份卡的号码归属地信息;
    根据所述号码归属地信息确定所述终端设备所在地理位置是否处于所述另一用户身份卡的服务区内;
    如果所述终端设备所在地理位置处于所述另一用户身份卡的服务区内,所述如果所述拨号过程处于所述漫游状态,则触发拨号限制逻辑,所述拨号过程受控于所述拨号限制逻辑执行或取消拨号,包括:
    取消拨号并通过所述另一用户身份卡执行拨号。
  5. 根据权利要求1所述的方法,其特征在于,所述根据所述拨号指令发起所述终端设备所在地理位置的获取,包括:
    根据所述拨号指令触发获取所述终端设备所在地理位置,所述所在地理位置的获取通过所述终端设备中配置的GPS定位功能和/或WiFi网络接入功能执行。
  6. 根据权利要求5所述的方法,其特征在于,所述根据所述拨号指令触发获取所述终端设备所在地理位置,包括:
    根据执行地理位置获取的功能调用优先级,调用所述WiFi网络接入功能为所述拨号指令执行所述终端设备所在地理位置的获取;
    如果所述WiFi网络接入功能所执行的地理位置获取失败,则调用所述GPS定位功能执行所述终端设备所在地理位置的获取。
  7. 根据权利要求1所述的方法,其特征在于,所述如果所述拨号过程处于所述漫游状态,则触发拨号限制逻辑,所述拨号过程受控于所述拨号限制逻辑执行或取消拨号,包括:
    如果所述拨号过程处于所述漫游状态,则向用户发起漫游提醒,通过所述漫游提醒请求用户选择对所述拨号过程的处理;
    接收用户对所述拨号过程选择生成的拨号处理指令;
    根据所述拨号处理指令执行拨号或取消拨号。
  8. 根据权利要求1所述的方法,其特征在于,所述如果所述拨号过程处于所述漫游状态,则触发拨号限制逻辑,所述拨号过程受控于所述拨号限制逻辑执行或取消拨号,包括:
    按照用户设置,对处于所述漫游状态的所述拨号过程自动取消执行拨号。
  9. 一种终端设备中的拨号控制装置,其特征在于,所述装置包括:
    指令接收模块,配置为接收所在终端设备中触发的拨号指令;
    位置获取模块,配置为根据所述拨号指令发起所述终端设备所在地理位置的获取;
    判断模块,配置为根据所述终端设备所在地理位置判断所述拨号指令对应的拨号过程是否处于漫游状态;
    控制模块,配置为如果所述拨号过程处于所述漫游状态,则触发拨号限制逻辑,所述拨号过程受控于所述拨号限制逻辑执行或取消拨号。
  10. 根据权利要求9所述的装置,其特征在于,所述指令接收模块进一步配置为监听所述终端设备中发起的拨号过程,获得发起所述拨号过程所触发生成的拨号指令,所述拨号指令指示所述终端设备中执行所述拨号过程的用户身份卡。
  11. 根据权利要求10所述的装置,其特征在于,所述判断模块包括:
    归属地获取单元,配置为获取所述用户身份卡的号码归属地信息;
    定位单元,根据所述号码归属地信息确定所述终端设备所在地理位置是否处于所述用户身份卡的服务区内。
  12. 根据权利要求11所述的装置,其特征在于,所述终端设备是双卡设备,所述装置还包括:
    归属地获取模块,配置为获取另一用户身份卡的号码归属地信息;
    定位模块,配置为根据所述号码归属地信息确定所述终端设备所在地理位置是否处于所述另一用户身份卡的服务区内;
    如果所述终端设备所在地理位置处于所述另一用户身份卡的服务区内,所述控制模块进一步配置为取消拨号并通过所述另一用户身份卡执行拨号。
  13. 根据权利要求9所述的装置,其特征在于,所述位置获取模块进一步配置为根据所述拨号指令触发获取所述终端设备所在地理位置,所述所在地理位置的获取通过所述终端设备中配置的GPS定位功能和/或WiFi网络接入功能执行。
  14. 根据权利要求13所述的装置,其特征在于,所述位置获取模块包括:
    联网定位单元,配置为根据执行地理位置获取的功能调用优先级,调用所述WiFi网络接入功能为所述拨号指令执行所述终端设备所在地理位置的获取;
    卫星定位单元,配置为如果所述WiFi网络接入功能所执行的地理位置获取失败,则调用所述GPS定位功能执行所述终端设备所在地理位置的获取。
  15. 根据权利要求9所述的装置,其特征在于,所述控制模块包括:
    提醒单元,配置为如果所述拨号过程处于所述漫游状态,则向用户发起漫游提醒,通过所述漫游提醒请求用户选择对所述拨号过程的处理;
    指令接收单元,配置为接收用户对所述拨号过程选择生成的拨号处理指令;
    响应单元,配置为根据所述拨号处理指令执行拨号或取消拨号。
  16. 根据权利要求9所述的装置,其特征在于,所述控制模块进一步配置为按照用户设置,对处于所述漫游状态的所述拨号过程自动取消执行拨号。
  17. 一种电子设备,其特征在于,所述电子设备包括:
    处理器;
    存储器,所述存储器上存储有计算机可读指令,所述计算机可读指令被所述处理器执行时,实现以下步骤:
    接收所在终端设备中触发的拨号指令;
    根据所述拨号指令发起所述终端设备所在地理位置的获取;
    根据所述终端设备所在地理位置判断所述拨号指令对应的拨号过程是否处于漫游状态;
    如果所述拨号过程处于所述漫游状态,则触发拨号限制逻辑,所述拨号过程受控于所述拨号限制逻辑执行或取消拨号。
  18. 根据权利要求17所述的设备,其特征在于,所述接收所在终端设备中触发的拨号指令,包括:
    监听所述终端设备中发起的拨号过程,获得发起所述拨号过程所触发生成的拨号指令,所述拨号指令指示所述终端设备中执行所述拨号过程的用户身份卡。
  19. 根据权利要求17所述的设备,其特征在于,所述接收所在终端设备中触发的拨号指令,包括:
    监听所述终端设备中发起的拨号过程,获得发起所述拨号过程所触发生成的拨号指令,所述拨号指令指示所述终端设备中执行所述拨号过程的用户身份卡。
  20. 根据权利要求19所述的设备,其特征在于,所述终端设备是双卡设备,所述如果所述拨号过程处于所述漫游状态,则触发拨号限制逻辑,所述拨号过程受控于所述拨号限制逻辑执行或取消拨号之前,还包括:
    获取另一用户身份卡的号码归属地信息;
    根据所述号码归属地信息确定所述终端设备所在地理位置是否处于所述另一用户身份卡的服务区内;
    如果所述终端设备所在地理位置处于所述另一用户身份卡的服务区内,所述如果所述拨号过程处于所述漫游状态,则触发拨号限制逻辑,所述拨号过程受控于所述拨号限制逻辑执行或取消拨号,包括:
    取消拨号并通过所述另一用户身份卡执行拨号。
  21. 根据权利要求17所述的设备,其特征在于,所述根据所述拨号指令发起所述终端设备所在地理位置的获取,包括:
    根据所述拨号指令触发获取所述终端设备所在地理位置,所述所在地理位置的获取通过所述终端设备中配置的GPS定位功能和/或WiFi网络接入功能执行。
  22. 根据权利要求21所述的设备,其特征在于,所述根据所述拨号指令触发获取所述终端设备所在地理位置,包括:
    根据执行地理位置获取的功能调用优先级,调用所述WiFi网络接入功能为所述拨号指令执行所述终端设备所在地理位置的获取;
    如果所述WiFi网络接入功能所执行的地理位置获取失败,则调用所述GPS定位功能执行所述终端设备所在地理位置的获取。
  23. 根据权利要求17所述的设备,其特征在于,所述如果所述拨号过程处于所述漫游状态,则触发拨号限制逻辑,所述拨号过程受控于所述拨号限制逻辑执行或取消拨号,包括:
    如果所述拨号过程处于所述漫游状态,则向用户发起漫游提醒,通过所述漫游提醒请求用户选择对所述拨号过程的处理;
    接收用户对所述拨号过程选择生成的拨号处理指令;
    根据所述拨号处理指令执行拨号或取消拨号。
  24. 根据权利要求17所述的设备,其特征在于,所述如果所述拨号过程处于所述漫游状态,则触发拨号限制逻辑,所述拨号过程受控于所述拨号限制逻辑执行或取消拨号,包括:
    按照用户设置,对处于所述漫游状态的所述拨号过程自动取消执行拨号。
  25. 一种计算机可读存储介质,其特征在于,其上存储有计算机程序,所述计算机程序被处理器执行时,实现以下步骤:
    接收所在终端设备中触发的拨号指令;
    根据所述拨号指令发起所述终端设备所在地理位置的获取;
    根据所述终端设备所在地理位置判断所述拨号指令对应的拨号过程是否处于漫游状态;
    如果所述拨号过程处于所述漫游状态,则触发拨号限制逻辑,所述拨号过程受控于所述拨号限制逻辑执行或取消拨号。
  26. 根据权利要求25所述的介质,其特征在于,所述接收所在终端设备中触发的拨号指令,包括:
    监听所述终端设备中发起的拨号过程,获得发起所述拨号过程所触发生成的拨号指令,所述拨号指令指示所述终端设备中执行所述拨号过程的用户身份卡。
  27. 根据权利要求26所述的介质,其特征在于,所述根据所述终端设备所在地理位置判断所述拨号指令对应的拨号过程是否处于漫游状态,包括:
    获取所述用户身份卡的号码归属地信息;
    根据所述号码归属地信息确定所述终端设备所在地理位置是否处于所述用户身份卡的服务区内。
  28. 根据权利要求27所述的介质,其特征在于,所述终端设备是双卡设备,所述如果所述拨号过程处于所述漫游状态,则触发拨号限制逻辑,所述拨号过程受控于所述拨号限制逻辑执行或取消拨号之前,还包括:
    获取另一用户身份卡的号码归属地信息;
    根据所述号码归属地信息确定所述终端设备所在地理位置是否处于所述另一用户身份卡的服务区内;
    如果所述终端设备所在地理位置处于所述另一用户身份卡的服务区内,所述如果所述拨号过程处于所述漫游状态,则触发拨号限制逻辑,所述拨号过程受控于所述拨号限制逻辑执行或取消拨号,包括:
    取消拨号并通过所述另一用户身份卡执行拨号。
  29. 根据权利要求25所述的介质,其特征在于,所述根据所述拨号指令发起所述终端设备所在地理位置的获取,包括:
    根据所述拨号指令触发获取所述终端设备所在地理位置,所述所在地理位置的获取通过所述终端设备中配置的GPS定位功能和/或WiFi网络接入功能执行。
  30. 根据权利要求29所述的介质,其特征在于,所述根据所述拨号指令触发获取所述终端设备所在地理位置,包括:
    根据执行地理位置获取的功能调用优先级,调用所述WiFi网络接入功能为所述拨号指令执行所述终端设备所在地理位置的获取;
    如果所述WiFi网络接入功能所执行的地理位置获取失败,则调用所述GPS定位功能执行所述终端设备所在地理位置的获取。
  31. 根据权利要求25所述的介质,其特征在于,所述如果所述拨号过程处于所述漫游状态,则触发拨号限制逻辑,所述拨号过程受控于所述拨号限制逻辑执行或取消拨号,包括:
    如果所述拨号过程处于所述漫游状态,则向用户发起漫游提醒,通过所述漫游提醒请求用户选择对所述拨号过程的处理;
    接收用户对所述拨号过程选择生成的拨号处理指令;
    根据所述拨号处理指令执行拨号或取消拨号。
  32. 根据权利要求25所述的介质,其特征在于,所述如果所述拨号过程处于所述漫游状态,则触发拨号限制逻辑,所述拨号过程受控于所述拨号限制逻辑执行或取消拨号,包括:
    如果所述拨号过程处于所述漫游状态,则向用户发起漫游提醒,通过所述漫游提醒请求用户选择对所述拨号过程的处理;
    接收用户对所述拨号过程选择生成的拨号处理指令;
    根据所述拨号处理指令执行拨号或取消拨号。
PCT/CN2018/101562 2018-05-04 2018-08-21 终端设备中的拨号控制方法、装置、电子设备及存储介质 WO2019210615A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810419532.7A CN108650416A (zh) 2018-05-04 2018-05-04 终端设备中模式切换的实现方法、装置、电子设备及介质
CN201810419532.7 2018-05-04

Publications (1)

Publication Number Publication Date
WO2019210615A1 true WO2019210615A1 (zh) 2019-11-07

Family

ID=63749374

Family Applications (2)

Application Number Title Priority Date Filing Date
PCT/CN2018/101563 WO2019210616A1 (zh) 2018-05-04 2018-08-21 终端设备中模式切换的实现方法、装置、电子设备及介质
PCT/CN2018/101562 WO2019210615A1 (zh) 2018-05-04 2018-08-21 终端设备中的拨号控制方法、装置、电子设备及存储介质

Family Applications Before (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/101563 WO2019210616A1 (zh) 2018-05-04 2018-08-21 终端设备中模式切换的实现方法、装置、电子设备及介质

Country Status (2)

Country Link
CN (1) CN108650416A (zh)
WO (2) WO2019210616A1 (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1561135A (zh) * 2004-03-10 2005-01-05 中兴通讯股份有限公司 一种基于phs网络的根据位置限制呼叫的实现方法
CN1859718A (zh) * 2005-04-26 2006-11-08 华为技术有限公司 一种精确漫游限制的方法
CN104159328A (zh) * 2013-05-14 2014-11-19 索尼公司 识别卡信息的提示方法、移动终端以及电子设备
CN105101125A (zh) * 2014-04-18 2015-11-25 小米科技有限责任公司 呼叫转移的设置方法及装置

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101969500A (zh) * 2010-09-17 2011-02-09 惠州Tcl移动通信有限公司 一种基于手机的自动回复方法及具有自动回复功能的手机
CN105430190A (zh) * 2015-12-16 2016-03-23 广东欧珀移动通信有限公司 一种情景模式设置方法及装置
CN107656686A (zh) * 2016-07-25 2018-02-02 中兴通讯股份有限公司 情景模式切换方法及装置
CN106506332A (zh) * 2016-10-31 2017-03-15 宇龙计算机通信科技(深圳)有限公司 自动回复方法及装置
CN106603850A (zh) * 2016-12-21 2017-04-26 珠海市魅族科技有限公司 一种来电提醒的方法及装置
CN106953975B (zh) * 2017-03-21 2020-03-31 广东小天才科技有限公司 智能终端运行管理方法、装置及智能终端
CN106951766A (zh) * 2017-04-10 2017-07-14 广东小天才科技有限公司 智能终端的场景模式切换方法及装置
CN107179862A (zh) * 2017-05-24 2017-09-19 广东小天才科技有限公司 一种移动设备的操作模式切换方法及装置
CN107911540A (zh) * 2017-11-08 2018-04-13 维沃移动通信有限公司 情景模式切换方法及终端设备
CN107943395A (zh) * 2017-11-20 2018-04-20 珠海市魅族科技有限公司 一种来电处理方法、装置、计算机装置及计算机可读存储介质

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1561135A (zh) * 2004-03-10 2005-01-05 中兴通讯股份有限公司 一种基于phs网络的根据位置限制呼叫的实现方法
CN1859718A (zh) * 2005-04-26 2006-11-08 华为技术有限公司 一种精确漫游限制的方法
CN104159328A (zh) * 2013-05-14 2014-11-19 索尼公司 识别卡信息的提示方法、移动终端以及电子设备
CN105101125A (zh) * 2014-04-18 2015-11-25 小米科技有限责任公司 呼叫转移的设置方法及装置

Also Published As

Publication number Publication date
WO2019210616A1 (zh) 2019-11-07
CN108650416A (zh) 2018-10-12

Similar Documents

Publication Publication Date Title
US9756045B2 (en) Method, device and computer-readable medium for enabling virtual subscriber identity module card
CN106020943B (zh) 应用程序双开启方法及装置
US20200205211A1 (en) Unmanned aerial vehicle access method and device
US9961608B2 (en) Seamless call transitions
EP3016443B1 (en) Communication method and terminal
EP3136689B1 (en) Method and apparatus for accessing server
EP3745747A1 (en) Method and apparatus for controlling electronic device
CN108629178B (zh) 应用程序的资源访问权限配置方法及装置
US11284398B2 (en) Communication link configuration method and device
US11968557B2 (en) MDT information notifying method and MDT information receiving method
EP3322227B1 (en) Methods and apparatuses for controlling wireless connection, computer program and recording medium
US20220256497A1 (en) Methods and apparatuses for receiving paging signaling, and methods and apparatuses for transmitting paging signaling
EP3173925B1 (en) Interface display method and apparatus, computer program and recording medium
CN107463372B (zh) 一种数据驱动的页面更新方法和装置
US20220408238A1 (en) Verification information processing method and apparatus, terminal device and storage medium
CN116133044A (zh) 小区类型指示方法及装置
WO2020227925A1 (zh) 网络注册方法、装置、系统及存储介质
US20170075671A1 (en) Method and apparatus for installing application and smart device using the same
CN106933111B (zh) 一种控制设备的方法及装置
JP2016529595A (ja) 位置特定方法、装置、プログラム、及び記録媒体
WO2019210615A1 (zh) 终端设备中的拨号控制方法、装置、电子设备及存储介质
CN108737956B (zh) 终端设备中的拨号控制方法、电子设备及存储介质
US20220174650A1 (en) Methods and apparatuses for configuring a control region
CN107766722B (zh) 一种应用软件安装处理方法、装置及电子设备
US20240219506A1 (en) Locating method and apparatus, electronic device, and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18917338

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18917338

Country of ref document: EP

Kind code of ref document: A1