WO2019037065A1 - Method and device for matching emergency number - Google Patents

Method and device for matching emergency number Download PDF

Info

Publication number
WO2019037065A1
WO2019037065A1 PCT/CN2017/098930 CN2017098930W WO2019037065A1 WO 2019037065 A1 WO2019037065 A1 WO 2019037065A1 CN 2017098930 W CN2017098930 W CN 2017098930W WO 2019037065 A1 WO2019037065 A1 WO 2019037065A1
Authority
WO
WIPO (PCT)
Prior art keywords
emergency number
mobile terminal
emergency
list
country code
Prior art date
Application number
PCT/CN2017/098930
Other languages
French (fr)
Chinese (zh)
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 深圳传音通讯有限公司
Priority to PCT/CN2017/098930 priority Critical patent/WO2019037065A1/en
Publication of WO2019037065A1 publication Critical patent/WO2019037065A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones

Definitions

  • the present invention relates to the field of mobile communication technologies, and in particular, to an emergency number matching method and a matching device when a mobile terminal has a card.
  • an emergency telephone number In daily life, users of mobile terminals may encounter some situations (such as natural disasters, car accidents, robberies, etc.), and need to call the emergency number in the local emergency number list through the mobile terminal for help.
  • the identification of an emergency telephone number is usually to store a fixed list of emergency numbers in the terminal system, such as police, fire, ambulance, etc., when the number dialed by the user falls within the emergency number list, regardless of What state the terminal is in at the time (such as a keyboard lock, no SIM card, no service, etc.), the terminal system will allow the emergency number to be dialed and try to connect to the emergency telephone service.
  • the emergency number list in the terminal is derived from three parts: the first part comes from the emergency number sent by the mobile network registered by the terminal; the second part comes from the subscriber identity module (SIM, Subscriber Identity Module) card inserted in the terminal equipment. The emergency number carried; the third part comes from the emergency number preset by the terminal itself.
  • SIM Subscriber Identity Module
  • the list of emergency numbers in the terminal is currently large. Some of them are composed of the emergency number preset by the terminal itself, and the emergency number preset by the terminal itself can still be dialed when the SIM card is not inserted or the service is limited.
  • the emergency numbers of different countries or regions in the world are different.
  • the emergency number preset by the terminal itself is usually preset according to the place of sale of the terminal. For example, the mobile phone sold in China will preset 110 ( ⁇ ), 119 ( Fire alarm), 120 (first aid) and other emergency numbers; while the mobile phone sold in the United States will preset the 911 alarm number; the mobile phone sold in the UK will preset the 999 alarm number; the mobile phone sold in Germany will preset 110 (alarm).
  • Emergency numbers such as 112 (fire alarm); mobile phones sold in India will be preset with emergency numbers such as 100 (alarm), 101 (fire), 102 (first aid).
  • the current emergency number configuration method may cause the mobile terminal to be unable to dial the emergency number of the roaming place. For example, when the mobile terminal roams from China to India, the mobile terminal cannot dial 119. Switch on the fire alarm in India. This may cause irreparable damage to the personal and property of the mobile terminal user.
  • the invention provides an emergency number matching method and a matching device, which ensures that a mobile terminal with a card can obtain a correct country code under any circumstances, thereby obtaining a correct emergency number matching the country code, and ensuring that the mobile terminal is in the You can dial the emergency number accurately during international roaming.
  • the present invention provides an emergency number matching device, which is disposed in a mobile terminal, and the emergency number matching device includes:
  • a storage module for storing an emergency number mapping table and a current emergency number list
  • SIM card or a USIM card for storing a PLMN list
  • a processing module configured to determine whether a wireless communication function of the mobile terminal is available, and to update a current emergency number list and a PLMN list;
  • a wireless communication module configured to search for a communication network and register the mobile terminal in the communication network
  • a country code judging module configured to compare the current country code obtained by the extracting module with the country code obtained by the mobile terminal last time
  • the query module is configured to query an emergency number mapping table in the storage module according to the current country name or the current country code to obtain a list of emergency numbers matching the current country name or country code;
  • a calling module configured to initiate an emergency call according to the emergency number
  • An emergency number determining module configured to convert the emergency number of the place of sale into a corresponding emergency number in the current emergency number list
  • a GPS module is used to determine the name of the country in which the mobile terminal is currently located.
  • the emergency number mapping table includes: a country name of each country in the world, a country code corresponding to the country name, and a list of emergency numbers corresponding to the country code.
  • the current emergency number table is used to store a list of emergency numbers matching the country code, and move Each time the terminal obtains a list of emergency numbers matching the new country code, the current emergency number list is updated.
  • the PLMN list is used to store a public land mobile network information PLMN ID obtained by the mobile terminal from a currently registered communication network, where the public land mobile network information PLMN ID includes a country code MCC and an operator code MNC, and the mobile terminal each time After registering to the new communication network, update the PLMN list.
  • the emergency number determination module includes:
  • a number type determining module configured to determine a type of the emergency number of the place of sale dialed by the user
  • the number conversion module is configured to query the current emergency number list according to the type of the emergency number, obtain an emergency number that is consistent with the dialing type, and use the emergency number as the emergency number dialed by the calling module.
  • the present invention also provides a mobile terminal including an emergency number matching device.
  • the present invention also provides an emergency number matching method, comprising the steps of: a preset emergency number mapping table in a mobile terminal, the emergency number mapping table includes a country name of each country in the world, a country code corresponding to the country name, and a list of emergency numbers corresponding to the country code;
  • the mobile terminal registers with the searched communication network, obtains the public land mobile network information PLMN ID of the communication network, obtains the country code from the public land mobile network information, and obtains the national code according to the country code query emergency number mapping table.
  • Emergency number list ;
  • the country code is obtained from the public land mobile network information obtained by the mobile terminal last registration to the communication network, and the emergency number mapping table is obtained according to the country code to obtain an emergency matching the country code. List of numbers;
  • the GPS module is used to determine the current country name of the mobile terminal, and the emergency number mapping table is queried according to the country name to obtain the country code MCC matching the country name, thereby obtaining an emergency matching the country code.
  • a list of numbers is used to determine the current country name of the mobile terminal, and the emergency number mapping table is queried according to the country name to obtain the country code MCC matching the country name, thereby obtaining an emergency matching the country code.
  • the mobile terminal And storing the public land mobile network information PLMN ID in a PLMN list, where the public land mobile network information PLMN ID includes a country code MCC and an operator code MNC, and the mobile terminal updates the PLMN after each registration to the new communication network. List.
  • the emergency number list matching the country code is stored in the current emergency number list, and the current emergency number list is updated each time the mobile terminal obtains the emergency number list matching the new country code.
  • the emergency number dialed by the user After determining the emergency number list matching the country code, if the emergency number dialed by the user is consistent with the emergency number in the current emergency number list, an emergency call is directly initiated according to the emergency number; if the emergency number dialed by the user and the mobile terminal Emergency number column corresponding to the country code of the place of sale If the emergency number in the table is the same, the emergency number dialed by the user is converted into the corresponding emergency number in the current emergency number list, and the call is initiated according to the converted emergency number.
  • the method for converting the emergency number dialed by the user into the corresponding emergency number in the current emergency number table includes the following steps:
  • the current emergency number list is queried according to the type of the emergency number, and an emergency number matching the type of the dial is obtained, and the emergency number is used as the emergency number dialed by the calling module.
  • the invention obtains the emergency number list matching the country code by acquiring the country code of the communication network registered by the mobile terminal, and when the mobile terminal is temporarily off-network, the RPLMN obtained from the last registration of the mobile terminal to the communication network
  • the country code is obtained in the information to obtain a matching emergency number list.
  • the card operator's country code is used for emergency number matching.
  • the invention ensures that the mobile terminal with the card can obtain the correct country code under any circumstances, thereby obtaining the correct emergency number matching the country code, and ensuring that the mobile terminal can accurately dial the emergency number during international roaming.
  • the invention is simple to implement, convenient to popularize, and has a wide application range.
  • FIG. 1 is a schematic structural view of an emergency number matching device provided by the present invention.
  • FIG. 2 is a schematic diagram of an emergency number mapping table.
  • Figure 3 is a schematic diagram of a PLMN list.
  • FIG. 4 is a schematic structural diagram of an emergency number determination module.
  • FIG. 5 is a flowchart of an emergency number matching method provided by the present invention.
  • FIG. 6 is a flow chart of a method for converting an emergency number of a place of sale to a corresponding emergency number in a current emergency number list.
  • the mobile terminal can be implemented in various forms.
  • the terminals described in the present invention may include, for example, mobile phones, smart phones, notebook computers, digital broadcast receivers, personal digital assistants (PDAs), tablet computers (PADs), portable multimedia players (PMPs), navigation devices, and the like.
  • PDAs personal digital assistants
  • PADs tablet computers
  • PMPs portable multimedia players
  • Navigation devices and the like.
  • Mobile terminal Those skilled in the art will appreciate that configurations in accordance with embodiments of the present invention can be applied to fixed types of terminals in addition to components that are specifically for mobile purposes.
  • the communication system can be a global mobile communication system (Global System for Time Division Multiple Access (TDMA)). Mobile Communications, GSM), general packet radio service (GPRS) or enhanced data rates for GSM evolution (EDGE), which is commonly known as 2G network.
  • GSM Global System for Time Division Multiple Access
  • GPRS general packet radio service
  • EDGE enhanced data rates for GSM evolution
  • the communication system may also be a Universal Mobile Telecommunications System (UMTS) using Wideband Code Division Multiple Access (WCDMA), which is commonly known as a 3G network.
  • WCDMA Wideband Code Division Multiple Access
  • the communication system may also be a long-term evolution using orthogonal frequency-division multiplexing (OFDM) and/or orthogonal frequency-division multiple access (OFDMA).
  • OFDM orthogonal frequency-division multiplexing
  • OFDMA orthogonal frequency-division multiple access
  • LTE Long Term Evolution
  • LTE-A Advanced Long Term Evolution
  • 3GPP Rel-11 3GPP Rel-11 standard
  • the communication system is not limited to the above, and any system that can provide communication services for mobile terminals is included in the scope of the communication system of the present invention.
  • GSM Global System for Mobile communications
  • WCDMA Wideband Code Division Multiple Access
  • the 3GPP TS 22.100 specification states that WCDMA terminals should be able to support access to WCDMA networks via GSM SIM cards.
  • the WCDMA network can only provide users with the services that the GSM system can provide (WCDMA-specific services, such as video and high-speed data communication cannot be provided). Whether the user can access the WCDMA network through the GSM SIM card is controlled by the WCDMA network operator.
  • the 3GPP TS 22.101 specification states that UMTS The system should allow WCDMA users to access the GSM network through the GSM terminal.
  • the Universal Integrated Circuit Card is a removable smart card used to store information such as user information, authentication keys, phone books, and short messages.
  • user information such as user information, authentication keys, phone books, and short messages.
  • UICC Universal Integrated Circuit Card
  • a UICC card is a general term for a smart card that defines physical characteristics.
  • the UICC card can include a variety of logical applications, such as a Subscriber Identity Module (SIM), a Universal Subscriber Identity Module (USIM), and other Application (e-wallet, etc.).
  • the SIM card is a smart card used by mobile terminals in the GSM network, and is used to store various parameters and related user information, such as user subscription information, authentication keys, user preference information, and short messages.
  • the SIM card contains the following information: 1. International Mobile Subscriber Identity (IMSI): User identity for access authentication. 2. Mobile Subscriber ISDN Number (MSISDN, Mobile Subscriber ISDN Number): mobile subscriber's mobile number 3, key Ki, encryption algorithm A3, A8, used for authentication 4, mobile country code (MCC, Mobile Country Code), attribution MACMN Mobile Network Code (MNC): Network ID.
  • IMSI International Mobile Subscriber Identity
  • MSISDN Mobile Subscriber ISDN Number
  • Ki encryption algorithm A3, A8, used for authentication 4
  • MCC Mobile Country Code
  • MNC Mobile Network Code
  • the USIM card is used in a WCDMA network to store user subscription information, authentication information, payment methods, user short messages, and the like.
  • the USIM card contains the following information: 1. International Mobile Subscriber Identity (IMSI): The IMSI is a unique identifier assigned to each user. The identifier is invisible to the user, but is visible. IMSI is used as a user ID for authentication purposes. Its private user identity is equivalent to IMSI in the IP Multimedia Subsystem (IMS). 2.
  • MSISDN Mobile Subscriber ISDN Number: stores one or more telephone numbers assigned to the user in the domain. Its public user identity in IMS is equivalent to MSISDN. 3.
  • Encryption Key (CK, Cipher Key) and Integrity Key (IK, Integrity Key): These keys are used for encryption and integrity protection of data in the air interface.
  • the USIM stores the keys used in the circuit domain and the packet domain separately.
  • Short Message Service (SMS): The USIM can store short messages and related data, such as sender, receiver, status, and so on. 5.
  • Short message parameters This field is used to store configuration data related to SMS services, such as SMS center address and supported protocols. and many more.
  • Multimedia message service (MMS) user connectivity parameter This field is used to store configuration data related to the MMS service, such as the MMS server address and the MMS gateway address.
  • MMS User Preferences This field is used to store user preference information related to the MMS service, such as sending a report flag, priority, expiration information, and the like.
  • the USIM card authentication mechanism adopts two-way authentication (in addition to the network authentication user, the user also authenticates the network), which has high security.
  • Each contact in the USIM card phonebook can correspond to multiple numbers or nicknames compared to the SIM card phonebook.
  • the USIM card interface rate is greatly improved (230 kbps).
  • USIM can support 4 concurrent logic applications at the same time.
  • the UICC card generally includes two modules, USIM and SIM. At this time, it is called a composite USIM card (it can be compatible with GSM terminals and WCDMA terminals). If the UICC includes only the USIM module, it is called a pure USIM card.
  • the WCDMA terminal has backward compatibility on the machine card interface, and is compatible with USIM cards (composite USIM cards and pure USIM cards) and GSM SIM cards.
  • the GSM terminal is compatible with the GSM SIM card and the WCDMA composite USIM card, and is not compatible with the pure USIM card.
  • WCDMA dual-mode terminals can be connected to a GSM wireless network or a WCDMA wireless network regardless of whether a SIM card or a USIM card (a composite USIM card or a pure USIM card) is inserted.
  • the GSM terminal can only be connected to the GSM wireless network by inserting a SIM card or a composite USIM card.
  • the SIM card can be applied to GSM, WCDMA, TD-SCDMA systems.
  • the USIM card can be applied to GSM, WCDMA, and TD-SCDMA systems.
  • the base station of the communication system sends a broadcast system message, and the broadcast system message includes three types: MIB (Master Information Block), SB (Scheduling Block), and SIB (System Information Block).
  • the main information block MIB includes a PLMN (Public Land Mobile-communication Network) information, and the public land mobile network PLMN is established by the government or its approved operator to provide the land mobile communication service for the public.
  • the operating network each operator's network has a corresponding PLMN number for identification, and the public land mobile network PLMN ID consists of two parts, namely the mobile country code MCC (mobility country code) and the operator code MNC (Mobile Network Code) ), MCC country code can uniquely identify a country.
  • MCC mobile country code
  • MNC Mobile Network Code
  • the invention obtains the country code (MCC) through the network registered by the mobile terminal, and then matches the local emergency number, so that the mobile terminal can obtain the correct local emergency number in different countries.
  • MCC country code
  • the code and the mobile terminal can also match the correct emergency number in the case of a short off-network or a flight mode, ensuring a correct match between the emergency number and the country.
  • the present invention provides an emergency number matching device, which is disposed in a mobile terminal, and the emergency number matching device includes:
  • a storage module 101 configured to store an emergency number mapping table and a current emergency number list
  • SIM card or USIM card 102 for storing a PLMN list
  • the processing module 103 is configured to determine whether the wireless communication function of the mobile terminal is available, and to update the current emergency number list and the PLMN list;
  • a wireless communication module 104 configured to search for a communication network and register the mobile terminal in the communication network;
  • the extracting module 105 is configured to extract the country code; the extracting module may acquire the PLMN ID information of the current communication network, and further extract the country code MCC of the country in which the country is located as the current country code; or the extracting module may be from the SIM
  • the PLMN list in the card or USIM card obtains the PLMN ID information of the communication network registered by the mobile terminal before the last shutdown or off-network, that is, the RPLMN information (Registered PLMN registered PLMN information), and further extracts the country from the RPLMN information.
  • Code MCC as the current country code
  • the country code judging module 106 is configured to compare the current country code obtained by the extracting module with the country code obtained by the mobile terminal last time;
  • the query module 107 is configured to query the emergency number mapping table in the storage module according to the current country name or the current country code to obtain a list of emergency numbers matching the current country name or country code;
  • the calling module 108 is configured to initiate an emergency call according to the emergency number
  • the emergency number determining module 109 is configured to convert the emergency number of the place of sale into a corresponding emergency number in the current emergency number table;
  • the GPS module 110 is configured to determine a country name where the mobile terminal is currently located.
  • the emergency number mapping table includes: a country name, a country code corresponding to the country name, and a list of emergency numbers corresponding to the country code.
  • the emergency number mapping table includes the country name of each country in the world and its corresponding country code, and a list of emergency numbers corresponding to the country code.
  • China's country code is 460
  • emergency number list contains 110 ( ⁇ police), 119 (fire alarm), 120 (first aid), etc.
  • India's country code is 404
  • emergency number list contains 100 ( ⁇ police), 101 (Fire alarm), 102 (first aid), etc.
  • the country code for the United States is 310, and the emergency number list contains the 911 alarm number.
  • the current emergency number list is updated in real time.
  • the PLMN list is updated in real time, and the PLMN list is used to store PLMN ID information acquired by the mobile terminal from the currently registered communication network, where the PLMN ID information includes: country code MCC and carrier code MNC.
  • the PLMN ID information includes: country code MCC and carrier code MNC.
  • China Mobile's PLMN is 46000, of which 460 is the country code, 00 is the carrier code;
  • China Unicom's PLMN is 46001, of which 460 is the country code and 01 is the carrier code.
  • the emergency number determining module 109 includes:
  • the number type determining module 1091 is configured to determine the type of the emergency number of the place of sale dialed by the user; the type should at least include: alarm, fire, first aid, etc.;
  • the number conversion module 1092 is configured to query the current emergency number list according to the type of the emergency number, obtain an emergency number that is consistent with the dialing type, and use the emergency number as the emergency number dialed by the calling module.
  • the storage module 101 can adopt a storage medium in a mobile terminal, and the storage medium can adopt a flash memory, a hard disk, a multimedia card, a card type memory (for example, SD or DX memory, etc.), a random access memory (RAM), Static Random Access Memory (SRAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), Programmable Read Only Memory (PROM), magnetic memory, magnetic disk, optical disk, and the like.
  • RAM random access memory
  • SRAM Static Random Access Memory
  • ROM Read Only Memory
  • EEPROM Electrically Erasable Programmable Read Only Memory
  • PROM Programmable Read Only Memory
  • the processing module 103, the extraction module 105, the country code determination module 106, the query module 107, the call module 108, and the emergency number determination module 109 can all be implemented based on a processor in the mobile terminal, and the processor can adopt a digital signal.
  • DSP digital signal processing device
  • PLD programmable logic device
  • FPGA field programmable gate array
  • the wireless communication module 104 is implemented by a wireless communication device in a mobile terminal.
  • the present invention provides an emergency number matching method, which includes the following steps:
  • Step S1 Establish an emergency number mapping table and a current emergency number list in the storage module of the mobile terminal, and establish a PLMN list in the SIM card or the USIM card;
  • the emergency number mapping table pre-stores the country code of each country in the world and a list of emergency numbers corresponding thereto;
  • the PLMN list is used to store PLMN ID information acquired by the mobile terminal from the currently registered communication network, and the PLMN ID information includes a country code MCC and an operator code MNC;
  • the current emergency number table is used to store a list of emergency numbers corresponding to the current country code MCC;
  • Step S2 The mobile terminal performs boot initialization to ensure that the GPS function of the mobile terminal is enabled
  • Step S3 the processing module determines whether the wireless communication function of the mobile terminal is available, if it is not available, indicating that the mobile terminal may be in flight mode or other abnormal conditions, proceed to step S9, if available, proceed to step S4;
  • Step S4 the wireless communication module performs a network search, if the communication network is searched, proceed to step S5, if the communication network is not searched, proceed to step S10;
  • Step S5 The wireless communication module registers and registers with the searched communication network, and the extraction module acquires the PLMN ID information of the current communication network, and the processing module updates the PLMN list in the SIM card or the USIM card to the current PLMN ID information, and the extraction module further Extracting the country code MCC of the country of the country from the PLMN ID information, as the current country code, proceeding to step S6;
  • Step S6 the country code judging module compares the extracted current country code with the country code obtained by the mobile terminal last time, if they are consistent, proceed to step S7, if not, proceed to step S11;
  • Step S7 the emergency number determination module determines whether the emergency number dialed by the user is consistent with the emergency number in the current emergency number list, if the agreement, the call module initiates an emergency call according to the emergency number, if not, proceed to step S8;
  • Step S8 The emergency number determining module determines whether the emergency number dialed by the user is consistent with the emergency number in the emergency number list corresponding to the country code of the place where the mobile terminal is issued. If the number is the same, the emergency number determining module converts the emergency number of the place of sale into The corresponding emergency number in the current emergency number list, and the calling module initiates a call to the converted emergency number;
  • Step S9 the GPS module determines the current country name of the mobile terminal, the query module queries the emergency number mapping table in the storage module according to the current country name, obtains the country code MCC matching the country name, as the current country code, proceeds to step S6;
  • Step S10 The extraction module obtains PLMN ID information of the communication network registered by the mobile terminal before the last shutdown or off-network, that is, RPLMN information (Registered PLMN registered PLMN information), from the PLMN list in the SIM card or the USIM card.
  • the extracting module further extracts the country code MCC from the RPLMN information as the current country code, and proceeds to step S6;
  • Step S11 The query module queries the emergency number mapping table in the storage module according to the current country code to obtain an emergency number list matching the current country code, and proceeds to step S12;
  • Step S12 The processing module updates the current emergency number list in the storage module to the emergency number list matching the current country code, and proceeds to step S7.
  • step S8 the method for converting the emergency number of the place of sale into the corresponding emergency number in the current emergency number table specifically includes the following steps:
  • Step S8.1 The number type determining module determines the type of the emergency number of the place of sale dialed by the user; the type should at least include: alarm, fire, first aid, etc.;
  • Step S8.2 The number conversion module queries the current emergency number list according to the type of the emergency number, obtains an emergency number that is consistent with the dialing type, and uses the emergency number as the emergency number dialed by the calling module.
  • the place of sale and the card operator of the mobile terminal are both in China, the mobile terminal user roams from China to India, the mobile terminal registers with the local communication network in India, and the mobile terminal user encounters an emergency situation. You need to make a medical emergency call.
  • the emergency number matching device in the mobile terminal implements emergency number matching according to the following methods:
  • the mobile terminal After roaming to India and registering with the local communication network in India, the mobile terminal has acquired the country code of India and updated the emergency number list and PLMN list to the emergency number of India and the PLMN ID information of India when the mobile terminal user
  • the extraction module acquires the mobile terminal from the last time shutdown of the PLMN list in the SIM card or the USIM card.
  • the extraction module further extracts the Indian country code MCC from the RPLMN information, as the current country code, determines the use and India.
  • the country code corresponds to the emergency number list of India
  • the emergency number determining module determines that the emergency number 120 dialed by the user is inconsistent with the emergency number in the current list of Indian emergency numbers, and the emergency number determining module further determines the 120 emergency number dialed by the mobile terminal user.
  • the invention obtains the emergency number list matching the country code by acquiring the country code of the communication network registered by the mobile terminal, and when the mobile terminal is temporarily off-network, the RPLMN obtained from the last registration of the mobile terminal to the communication network Get the country code in the message to get the match
  • the emergency number list when the mobile terminal cannot use the wireless communication function, the card operator's country code is used for emergency number matching.
  • the invention ensures that the mobile terminal with the card can obtain the correct country code under any circumstances, thereby obtaining the correct emergency number matching the country code, and ensuring that the mobile terminal can accurately dial the emergency number during international roaming.
  • the invention is simple to implement, convenient to popularize, and has a wide application range.

Landscapes

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

Abstract

A method and device for matching an emergency number. An emergency number mapping table is preconfigured in a mobile terminal; the mobile terminal is registered to a communication network found after search, obtains a mobile country code (MCC) from public land mobile network information, and queries the emergency number mapping table according to the MCC to obtain an emergency number list matching the MCC; when the mobile terminal cannot be registered to the communication network, the mobile terminal obtains the MCC from public land mobile network information obtained by the mobile terminal in the last registration to a communication network; when the wireless communication function is not available, the mobile terminal determines, using a GPS module, the name of the country where the mobile terminal is currently located, and queries the emergency number mapping table according to the name of the country to obtain an MCC matching the name of the country, so as to obtain an emergency number list matching the MCC. The present invention ensures that a mobile terminal having a card can obtain an accurate MCC in any situations, so as to obtain an accurate emergency number matching the MCC, thereby ensuring that the mobile terminal can make an accurate call using the emergency number during international roaming.

Description

一种紧急号码匹配方法及匹配装置Emergency number matching method and matching device 技术领域Technical field
本发明涉及移动通信技术领域,尤其涉及一种移动终端有卡时的紧急号码匹配方法及匹配装置。The present invention relates to the field of mobile communication technologies, and in particular, to an emergency number matching method and a matching device when a mobile terminal has a card.
背景技术Background technique
在日常生活中,移动终端的使用者可能会遇到一些情况(例如天然灾害、车祸事故、抢劫等),需要通过移动终端拨打本地紧急号码列表中的紧急号码来寻求帮助。目前,对于紧急电话号码的辨识通常是将一组固定的紧急号码列表储存于终端系统内,如匪警,火警,救护等,当使用者拨出的号码落在该紧急号码列表内时,无论终端当时处于什么状态(如键盘锁、无SIM卡、无服务等),终端系统皆会允许拨出紧急号码并尝试连接紧急电话服务。In daily life, users of mobile terminals may encounter some situations (such as natural disasters, car accidents, robberies, etc.), and need to call the emergency number in the local emergency number list through the mobile terminal for help. At present, the identification of an emergency telephone number is usually to store a fixed list of emergency numbers in the terminal system, such as police, fire, ambulance, etc., when the number dialed by the user falls within the emergency number list, regardless of What state the terminal is in at the time (such as a keyboard lock, no SIM card, no service, etc.), the terminal system will allow the emergency number to be dialed and try to connect to the emergency telephone service.
终端内的紧急号码列表来源于三个部分:第一部分来自于终端注册的移动网络所下发的紧急号码;第二部分来自终端设备中插入的用户标识模块(SIM,Subscriber Identity Module)卡上预先携带的紧急号码;第三部分来自终端自身预置的紧急号码。目前,绝大多移动网络均已不再向注册本网络的终端下发紧急号码,而且很多运营商所发布的SIM卡中也不会携带紧急号码,因此,目前终端内的紧急号码列表中绝大部分都是由终端自身预置的紧急号码来组成,而且终端自身预置的紧急号码能够在没有插入SIM卡或者服务受限时仍旧可以进行拨打。The emergency number list in the terminal is derived from three parts: the first part comes from the emergency number sent by the mobile network registered by the terminal; the second part comes from the subscriber identity module (SIM, Subscriber Identity Module) card inserted in the terminal equipment. The emergency number carried; the third part comes from the emergency number preset by the terminal itself. At present, most mobile networks no longer send emergency numbers to terminals that register with the network, and many SIM cards issued by operators do not carry emergency numbers. Therefore, the list of emergency numbers in the terminal is currently large. Some of them are composed of the emergency number preset by the terminal itself, and the emergency number preset by the terminal itself can still be dialed when the SIM card is not inserted or the service is limited.
全球不同国家或地区的紧急号码是不相同的,终端自身所预置的紧急号码通常根据终端的发售地来进行预置,例如:在中国发售的手机会预置110(匪警),119(火警),120(急救)等紧急号码;而在美国发售的手机会预置911报警号码;在英国发售的手机会预置999报警号码;在德国发售的手机会预置110(匪警),112(火警)等紧急号码;在印度发售的手机会预置100(匪警),101(火警),102(急救)等紧急号码。The emergency numbers of different countries or regions in the world are different. The emergency number preset by the terminal itself is usually preset according to the place of sale of the terminal. For example, the mobile phone sold in China will preset 110 (匪警), 119 ( Fire alarm), 120 (first aid) and other emergency numbers; while the mobile phone sold in the United States will preset the 911 alarm number; the mobile phone sold in the UK will preset the 999 alarm number; the mobile phone sold in Germany will preset 110 (alarm). Emergency numbers such as 112 (fire alarm); mobile phones sold in India will be preset with emergency numbers such as 100 (alarm), 101 (fire), 102 (first aid).
各国紧急号码各不相同,而且配置也不一致。同样是110,在中国是紧 急号码,但是在其他国家可能是运营商服务号码,不可以视为紧急号码进行处理。Emergency numbers vary from country to country and configurations are inconsistent. The same is 110, it is tight in China. An urgent number, but in other countries it may be an operator service number and cannot be treated as an emergency number.
一般来说,当移动终端在进行国际漫游时,采用目前的紧急号码的配置方法就会造成移动终端无法拨打漫游地的紧急号码,例如,移动终端从中国漫游至印度时,移动终端拨打119无法接通印度的火警电话。这可能会对移动终端用户的人身和财产造成无法弥补的损害。Generally, when the mobile terminal is performing international roaming, the current emergency number configuration method may cause the mobile terminal to be unable to dial the emergency number of the roaming place. For example, when the mobile terminal roams from China to India, the mobile terminal cannot dial 119. Switch on the fire alarm in India. This may cause irreparable damage to the personal and property of the mobile terminal user.
发明的公开Disclosure of invention
本发明提供一种紧急号码匹配方法及匹配装置,保证了有卡的移动终端在任何情况下都可以获得正确的国家码,从而得到与国家码相匹配的正确的紧急号码,保证了移动终端在国际漫游时可以准确拔打紧急号码。The invention provides an emergency number matching method and a matching device, which ensures that a mobile terminal with a card can obtain a correct country code under any circumstances, thereby obtaining a correct emergency number matching the country code, and ensuring that the mobile terminal is in the You can dial the emergency number accurately during international roaming.
为了达到上述目的,本发明提供一种紧急号码匹配装置,其设置在移动终端中,该紧急号码匹配装置包含:In order to achieve the above object, the present invention provides an emergency number matching device, which is disposed in a mobile terminal, and the emergency number matching device includes:
存储模块,其用于存储紧急号码映射表和当前紧急号码表;a storage module for storing an emergency number mapping table and a current emergency number list;
SIM卡或USIM卡,其用于存储PLMN列表;a SIM card or a USIM card for storing a PLMN list;
处理模块,其用于判断移动终端的无线通信功能是否可以使用,以及用于更新当前紧急号码表和PLMN列表;a processing module, configured to determine whether a wireless communication function of the mobile terminal is available, and to update a current emergency number list and a PLMN list;
无线通信模块,用于搜索通信网络并将移动终端注册登记到通信网络中;a wireless communication module, configured to search for a communication network and register the mobile terminal in the communication network;
提取模块,用于提取国家码;An extraction module for extracting a country code;
国家码判断模块,用于将提取模块获得的当前国家码与移动终端上一次获得的国家码进行比较;a country code judging module, configured to compare the current country code obtained by the extracting module with the country code obtained by the mobile terminal last time;
查询模块,用于根据当前国家名称或当前国家码查询存储模块中的紧急号码映射表,获得与当前国家名称或国家码匹配的紧急号码列表;The query module is configured to query an emergency number mapping table in the storage module according to the current country name or the current country code to obtain a list of emergency numbers matching the current country name or country code;
呼叫模块,用于根据紧急号码发起紧急呼叫;a calling module, configured to initiate an emergency call according to the emergency number;
紧急号码确定模块,用于将发售地的紧急号码转换为当前紧急号码表中对应的紧急号码;An emergency number determining module, configured to convert the emergency number of the place of sale into a corresponding emergency number in the current emergency number list;
GPS模块,用于确定移动终端当前所处的国家名称。A GPS module is used to determine the name of the country in which the mobile terminal is currently located.
所述的紧急号码映射表包含:世界上各个国家的国家名称、与国家名称对应的国家码、以及与国家码对应的紧急号码列表。The emergency number mapping table includes: a country name of each country in the world, a country code corresponding to the country name, and a list of emergency numbers corresponding to the country code.
所述的当前紧急号码表用于存储与国家码相匹配的紧急号码列表,移动 终端每一次获得与新的国家码匹配的紧急号码列表后,更新当前紧急号码表。The current emergency number table is used to store a list of emergency numbers matching the country code, and move Each time the terminal obtains a list of emergency numbers matching the new country code, the current emergency number list is updated.
所述的PLMN列表用于存储移动终端从当前注册登记的通信网络中获取的公共陆地移动网络信息PLMN ID,该公共陆地移动网络信息PLMN ID包含国家码MCC和运营商码MNC,移动终端每一次注册登记到新的通信网络后,更新PLMN列表。The PLMN list is used to store a public land mobile network information PLMN ID obtained by the mobile terminal from a currently registered communication network, where the public land mobile network information PLMN ID includes a country code MCC and an operator code MNC, and the mobile terminal each time After registering to the new communication network, update the PLMN list.
所述的紧急号码确定模块包含:The emergency number determination module includes:
号码类型确定模块,用于确定用户拨打的发售地紧急号码的类型;a number type determining module, configured to determine a type of the emergency number of the place of sale dialed by the user;
号码转换模块,用于根据紧急号码的类型查询当前紧急号码列表,获得与拨打类型一致的紧急号码,将该紧急号码作为供呼叫模块拨打的紧急号码。The number conversion module is configured to query the current emergency number list according to the type of the emergency number, obtain an emergency number that is consistent with the dialing type, and use the emergency number as the emergency number dialed by the calling module.
本发明还提供一种移动终端,该移动终端包含紧急号码匹配装置。The present invention also provides a mobile terminal including an emergency number matching device.
本发明还提供一种紧急号码匹配方法,包含以下步骤:移动终端中预置紧急号码映射表,该紧急号码映射表包含了世界上各个国家的国家名称、与国家名称对应的国家码、以及与国家码对应的紧急号码列表;The present invention also provides an emergency number matching method, comprising the steps of: a preset emergency number mapping table in a mobile terminal, the emergency number mapping table includes a country name of each country in the world, a country code corresponding to the country name, and a list of emergency numbers corresponding to the country code;
移动终端注册登记到搜索到的通信网络,获得该通信网络的公共陆地移动网络信息PLMN ID,从公共陆地移动网络信息中获得国家码,根据国家码查询紧急号码映射表获得与国家码相匹配的紧急号码列表;The mobile terminal registers with the searched communication network, obtains the public land mobile network information PLMN ID of the communication network, obtains the country code from the public land mobile network information, and obtains the national code according to the country code query emergency number mapping table. Emergency number list;
当移动终端无法注册登记到通信网络时,从移动终端上一次注册登记到通信网络而获得的公共陆地移动网络信息中获得国家码,根据国家码查询紧急号码映射表获得与国家码相匹配的紧急号码列表;When the mobile terminal is unable to register to the communication network, the country code is obtained from the public land mobile network information obtained by the mobile terminal last registration to the communication network, and the emergency number mapping table is obtained according to the country code to obtain an emergency matching the country code. List of numbers;
当移动终端无法使用无线通信功能时,采用GPS模块确定移动终端当前所处的国家名称,根据国家名称查询紧急号码映射表获得与国家名称匹配的国家码MCC,进而获得与国家码相匹配的紧急号码列表。When the mobile terminal cannot use the wireless communication function, the GPS module is used to determine the current country name of the mobile terminal, and the emergency number mapping table is queried according to the country name to obtain the country code MCC matching the country name, thereby obtaining an emergency matching the country code. A list of numbers.
将所述的公共陆地移动网络信息PLMN ID存储在PLMN列表中,该公共陆地移动网络信息PLMN ID包含国家码MCC和运营商码MNC,移动终端每一次注册登记到新的通信网络后,更新PLMN列表。And storing the public land mobile network information PLMN ID in a PLMN list, where the public land mobile network information PLMN ID includes a country code MCC and an operator code MNC, and the mobile terminal updates the PLMN after each registration to the new communication network. List.
将与国家码相匹配的紧急号码列表存储在当前紧急号码表中,移动终端每一次获得与新的国家码匹配的紧急号码列表后,更新当前紧急号码表。The emergency number list matching the country code is stored in the current emergency number list, and the current emergency number list is updated each time the mobile terminal obtains the emergency number list matching the new country code.
在确定了与国家码相匹配的紧急号码列表后,如果用户拨打的紧急号码与当前紧急号码表中的紧急号码一致,则直接根据该紧急号码发起紧急呼叫;如果用户拨打的紧急号码与移动终端发售地的国家码对应的紧急号码列 表中的紧急号码一致,则将用户拨打的紧急号码转换为当前紧急号码表中对应的紧急号码,根据转换后的紧急号码发起呼叫。After determining the emergency number list matching the country code, if the emergency number dialed by the user is consistent with the emergency number in the current emergency number list, an emergency call is directly initiated according to the emergency number; if the emergency number dialed by the user and the mobile terminal Emergency number column corresponding to the country code of the place of sale If the emergency number in the table is the same, the emergency number dialed by the user is converted into the corresponding emergency number in the current emergency number list, and the call is initiated according to the converted emergency number.
所述的将用户拨打的紧急号码转换为当前紧急号码表中对应的紧急号码的方法具体包含以下步骤:The method for converting the emergency number dialed by the user into the corresponding emergency number in the current emergency number table includes the following steps:
确定用户拨打的发售地紧急号码的类型;Determining the type of emergency number dialed by the user;
根据紧急号码的类型查询当前紧急号码列表,获得与拨打类型一致的紧急号码,将该紧急号码作为供呼叫模块拨打的紧急号码。The current emergency number list is queried according to the type of the emergency number, and an emergency number matching the type of the dial is obtained, and the emergency number is used as the emergency number dialed by the calling module.
本发明通过获取移动终端注册登记的通信网络的国家码来获得与国家码相匹配的紧急号码列表,而当移动终端暂时脱网时,则从移动终端上一次注册登记到通信网络而获得的RPLMN信息中获得国家码,从而获得相匹配的紧急号码列表,当移动终端无法使用无线通信功能时,则采用卡运营商的国家码来进行紧急号码匹配。本发明保证了有卡的移动终端在任何情况下都可以获得正确的国家码,从而得到与国家码相匹配的正确的紧急号码,保证了移动终端在国际漫游时可以准确拔打紧急号码。本发明实现简单,便于普及,具有很广阔的适用范围。The invention obtains the emergency number list matching the country code by acquiring the country code of the communication network registered by the mobile terminal, and when the mobile terminal is temporarily off-network, the RPLMN obtained from the last registration of the mobile terminal to the communication network The country code is obtained in the information to obtain a matching emergency number list. When the mobile terminal cannot use the wireless communication function, the card operator's country code is used for emergency number matching. The invention ensures that the mobile terminal with the card can obtain the correct country code under any circumstances, thereby obtaining the correct emergency number matching the country code, and ensuring that the mobile terminal can accurately dial the emergency number during international roaming. The invention is simple to implement, convenient to popularize, and has a wide application range.
附图的简要说明BRIEF DESCRIPTION OF THE DRAWINGS
图1是本发明提供的一种紧急号码匹配装置的结构示意图。1 is a schematic structural view of an emergency number matching device provided by the present invention.
图2是紧急号码映射表的示意图。2 is a schematic diagram of an emergency number mapping table.
图3是PLMN列表的示意图。Figure 3 is a schematic diagram of a PLMN list.
图4是紧急号码确定模块的结构示意图。4 is a schematic structural diagram of an emergency number determination module.
图5是本发明提供的一种紧急号码匹配方法的流程图。FIG. 5 is a flowchart of an emergency number matching method provided by the present invention.
图6是将发售地的紧急号码转换为当前紧急号码列表中对应的紧急号码的方法流程图。6 is a flow chart of a method for converting an emergency number of a place of sale to a corresponding emergency number in a current emergency number list.
实现本发明的最佳方式The best way to implement the invention
以下根据图1~图6,具体说明本发明的较佳实施例。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, preferred embodiments of the present invention will be specifically described with reference to Figs.
移动终端可以各种形式来实施。例如,本发明中描述的终端可以包括诸如移动电话、智能电话、笔记本电脑、数字广播接收器、个人数字助理(PDA)、平板电脑(PAD)、便携式多媒体播放器(PMP)、导航装置等等的移动终端, 本领域技术人员将理解的是,除了特别用于移动目的的元件之外,根据本发明的实施方式的构造也能够应用于固定类型的终端。The mobile terminal can be implemented in various forms. For example, the terminals described in the present invention may include, for example, mobile phones, smart phones, notebook computers, digital broadcast receivers, personal digital assistants (PDAs), tablet computers (PADs), portable multimedia players (PMPs), navigation devices, and the like. Mobile terminal, Those skilled in the art will appreciate that configurations in accordance with embodiments of the present invention can be applied to fixed types of terminals in addition to components that are specifically for mobile purposes.
移动终端在开机后,会自动进行网络搜索和初始化,通过基站连接通信系统,所述的通信系统可为采用时分多工接入(Time Division Multiple Access,TDMA)的全球移动通讯系统(Global System for Mobile Communications,GSM)、通用封包无线服务系统(general packet radio service,GPRS)或GSM增强数据率演进系统(enhanced data rates for GSM evolution,EDGE),也就是我们俗称的2G网络。或者,所述的通信系统还可为采用宽带码分多址接入(Wideband Code Division Multiple Access,WCDMA)的通用移动电信系统(Universal Mobile Telecommunications System,UMTS),也就是我们俗称的3G网络。或者,所述的通信系统还可为采用正交频分多工(orthogonal frequency-division multiplexing,OFDM)及/或正交频分多址接入(orthogonal frequency-division multiple access,OFDMA)的长期演进系统(Long Term Evolution,LTE)(如3GPP Rel-8/9/10标准)、先进长期演进系统(LTE-Advanced,LTE-A)(如3GPP Rel-11标准)或先进长期演进系统的后继者,也就是我们俗称的4G网络。所述的通信系统并不局限于上述所列,任何可以为移动终端提供通信服务的系统都包含在本发明的通信系统的范围内。After the mobile terminal is powered on, it automatically performs network search and initialization, and connects to the communication system through the base station. The communication system can be a global mobile communication system (Global System for Time Division Multiple Access (TDMA)). Mobile Communications, GSM), general packet radio service (GPRS) or enhanced data rates for GSM evolution (EDGE), which is commonly known as 2G network. Alternatively, the communication system may also be a Universal Mobile Telecommunications System (UMTS) using Wideband Code Division Multiple Access (WCDMA), which is commonly known as a 3G network. Alternatively, the communication system may also be a long-term evolution using orthogonal frequency-division multiplexing (OFDM) and/or orthogonal frequency-division multiple access (OFDMA). System (Long Term Evolution, LTE) (such as 3GPP Rel-8/9/10 standard), Advanced Long Term Evolution (LTE-A) (such as 3GPP Rel-11 standard) or the successor of advanced long-term evolution system That is what we call the 4G network. The communication system is not limited to the above, and any system that can provide communication services for mobile terminals is included in the scope of the communication system of the present invention.
GSM和WCDMA都是基于GSM-MAP核心网,GSM网络可以平滑演进到WCDMA系统。目前欧洲、亚洲、非洲有很多国家已经建立WCDMA系统。所谓的WCDMA和GSM之间的国际漫游是指GSM(或者WCDMA)用户漫游到国外的WCDMA(GSM)网络,利用拜访地WCDMA(GSM)网络来为其提供业务服务。Both GSM and WCDMA are based on the GSM-MAP core network, and the GSM network can be smoothly evolved to the WCDMA system. At present, many countries in Europe, Asia and Africa have established WCDMA systems. The so-called international roaming between WCDMA and GSM refers to a WCDMA (GSM) network in which a GSM (or WCDMA) user roams abroad, and provides a service service by using a visited WCDMA (GSM) network.
由于各个国家发展的情况存在一定的差异,例如有的国家只存在GSM网络(比如中国),而有的国家则只建设了WCDMA网络(例如日本),而没有GSM网络。为此3GPP TS 22.100规范指出,WCDMA终端应该可以支持通过GSM的SIM卡来访问WCDMA网络。当然此时WCDMA网络只能为用户提供GSM系统所能提供的那些业务(WCDMA的特有业务,例如视频、高速数据通信无法提供)。用户是否可以通过GSM的SIM卡来访问WCDMA网络由该WCDMA网络运营商控制。同时3GPP TS 22.101规范指出UMTS 系统应该允许WCDMA用户通过GSM终端来访问GSM网。Due to the differences in the development of various countries, for example, some countries only have GSM networks (such as China), while others only build WCDMA networks (such as Japan), but not GSM networks. To this end, the 3GPP TS 22.100 specification states that WCDMA terminals should be able to support access to WCDMA networks via GSM SIM cards. Of course, at this time, the WCDMA network can only provide users with the services that the GSM system can provide (WCDMA-specific services, such as video and high-speed data communication cannot be provided). Whether the user can access the WCDMA network through the GSM SIM card is controlled by the WCDMA network operator. At the same time, the 3GPP TS 22.101 specification states that UMTS The system should allow WCDMA users to access the GSM network through the GSM terminal.
通用集成电路卡(UICC,Universal Integrated Circuit Card)是一种可移动智能卡,它用于存储用户信息、鉴权密钥、电话簿、短消息等信息。在GSM和3GPP规范中,用户想正常的使用各种业务都必须依靠移动终端中的UICC卡。如果移动终端中没有UICC卡,那么用户只能使用紧急呼叫业务(例如110、119)。UICC卡是定义了物理特性的智能卡的总称,UICC卡可以包含多种逻辑应用,例如用户标识模块(SIM,Subscriber Identity Module)、通用用户标识模块(USIM,Universal Subscriber Identity Module),还可以包含其它应用(电子钱包等)。The Universal Integrated Circuit Card (UICC) is a removable smart card used to store information such as user information, authentication keys, phone books, and short messages. In the GSM and 3GPP specifications, users who want to use various services normally must rely on the UICC card in the mobile terminal. If there is no UICC card in the mobile terminal, the user can only use the emergency call service (for example, 110, 119). A UICC card is a general term for a smart card that defines physical characteristics. The UICC card can include a variety of logical applications, such as a Subscriber Identity Module (SIM), a Universal Subscriber Identity Module (USIM), and other Application (e-wallet, etc.).
SIM卡是GSM网络中移动终端所使用的智能卡,它用于存储各种参数和相关用户信息,例如用户签约信息、鉴权密钥、用户的优选信息、以及短信息。SIM卡中包含下列信息:1、国际移动用户标识(IMSI,International Mobile Subscriber Identity):用户身份标识,用于接入鉴权。2、移动用户ISDN号码(MSISDN,Mobile Subscriber ISDN Number):移动用户的手机号码3、密钥Ki、加密算法A3、A8,用于鉴权4、移动国家码(MCC,Mobile Country Code)、归属PLMN的移动网络码(MNC,Mobile Network Code):网络标识。The SIM card is a smart card used by mobile terminals in the GSM network, and is used to store various parameters and related user information, such as user subscription information, authentication keys, user preference information, and short messages. The SIM card contains the following information: 1. International Mobile Subscriber Identity (IMSI): User identity for access authentication. 2. Mobile Subscriber ISDN Number (MSISDN, Mobile Subscriber ISDN Number): mobile subscriber's mobile number 3, key Ki, encryption algorithm A3, A8, used for authentication 4, mobile country code (MCC, Mobile Country Code), attribution MACMN Mobile Network Code (MNC): Network ID.
USIM卡用于WCDMA网络中,用于存储用户签约信息、鉴权信息、付费方式、用户短消息等。USIM卡中包含下列信息:1、国际移动用户标识(IMSI,International Mobile Subscriber Identity):IMSI是分配给每个用户的唯一标识,该标识对用户来说是不可见的,而对网络来说是可见的。IMSI作为用户标识用于鉴权目的。在IP多媒体子系统(IMS,IP Multimedia Subsystem)中其私有用户标识等价于IMSI。2、移动用户ISDN号码(MSISDN,Mobile Subscriber ISDN Number):在该域中存储了分配给用户的一个或者多个电话号码。在IMS中其公共用户标识等价于MSISDN。3、加密密钥(CK,Cipher Key)和完整性密钥(IK,Integrity Key):这些密钥用于空中接口中数据的加密和完整性保护。USIM单独存储在电路域和分组域使用的密钥。4、短消息(SMS,Short Message Service):USIM可以存储短消息以及相关的数据,例如发送者、接收者、状态等。5、短消息参数:该域用于存储与SMS业务有关的配置数据,例如SMS中心地址、支持的协议 等等。6、多媒体消息业务(MMS,Multimedia Message Service)用户连接性参数:该域用于存储与MMS业务相关的配置数据,例如MMS服务器地址、MMS网关地址。7、MMS用户优选信息:该域用于存储与MMS业务有关的用户优选信息,例如发送报告标志、优先级、到期信息等。The USIM card is used in a WCDMA network to store user subscription information, authentication information, payment methods, user short messages, and the like. The USIM card contains the following information: 1. International Mobile Subscriber Identity (IMSI): The IMSI is a unique identifier assigned to each user. The identifier is invisible to the user, but is visible. IMSI is used as a user ID for authentication purposes. Its private user identity is equivalent to IMSI in the IP Multimedia Subsystem (IMS). 2. Mobile Subscriber ISDN Number (MSISDN): stores one or more telephone numbers assigned to the user in the domain. Its public user identity in IMS is equivalent to MSISDN. 3. Encryption Key (CK, Cipher Key) and Integrity Key (IK, Integrity Key): These keys are used for encryption and integrity protection of data in the air interface. The USIM stores the keys used in the circuit domain and the packet domain separately. 4. Short Message Service (SMS): The USIM can store short messages and related data, such as sender, receiver, status, and so on. 5. Short message parameters: This field is used to store configuration data related to SMS services, such as SMS center address and supported protocols. and many more. 6. Multimedia message service (MMS) user connectivity parameter: This field is used to store configuration data related to the MMS service, such as the MMS server address and the MMS gateway address. 7. MMS User Preferences: This field is used to store user preference information related to the MMS service, such as sending a report flag, priority, expiration information, and the like.
相对于SIM卡的单向鉴权(网络鉴权用户),USIM卡鉴权机制采用双向鉴权(除了网络鉴权用户外,用户也鉴权网络),有很高的安全性。与SIM卡电话薄相比,USIM卡电话薄中每个联系人可以对应多个号码或者昵称。相对SIM卡机卡接口速率,USIM卡机卡接口速率大大提高(230kbps)。相对SIM卡对逻辑应用的支持,USIM可以同时支持4个并发逻辑应用。Compared with the one-way authentication of the SIM card (network authentication user), the USIM card authentication mechanism adopts two-way authentication (in addition to the network authentication user, the user also authenticates the network), which has high security. Each contact in the USIM card phonebook can correspond to multiple numbers or nicknames compared to the SIM card phonebook. Compared with the SIM card interface rate, the USIM card interface rate is greatly improved (230 kbps). Compared to SIM card support for logic applications, USIM can support 4 concurrent logic applications at the same time.
目前UICC卡一般同时包括USIM和SIM两个模块,此时称为复合USIM卡(它可以兼容GSM终端和WCDMA终端),如果UICC中只包括USIM模块,那么称为纯USIM卡。WCDMA终端在机卡接口上具备后向兼容性,兼容USIM卡(复合USIM卡和纯USIM卡)和GSM的SIM卡。GSM终端兼容GSM的SIM卡和WCDMA的复合USIM卡,不兼容纯USIM卡。WCDMA双模终端无论插入SIM卡或者USIM卡(复合USIM卡或者纯USIM卡)都可以接入GSM无线网络或者WCDMA无线网络。GSM终端插入SIM卡或复合USIM卡只能接入GSM无线网络。SIM卡可以应用于GSM、WCDMA、TD-SCDMA系统中。USIM卡可以应用于GSM、WCDMA、TD-SCDMA系统中。At present, the UICC card generally includes two modules, USIM and SIM. At this time, it is called a composite USIM card (it can be compatible with GSM terminals and WCDMA terminals). If the UICC includes only the USIM module, it is called a pure USIM card. The WCDMA terminal has backward compatibility on the machine card interface, and is compatible with USIM cards (composite USIM cards and pure USIM cards) and GSM SIM cards. The GSM terminal is compatible with the GSM SIM card and the WCDMA composite USIM card, and is not compatible with the pure USIM card. WCDMA dual-mode terminals can be connected to a GSM wireless network or a WCDMA wireless network regardless of whether a SIM card or a USIM card (a composite USIM card or a pure USIM card) is inserted. The GSM terminal can only be connected to the GSM wireless network by inserting a SIM card or a composite USIM card. The SIM card can be applied to GSM, WCDMA, TD-SCDMA systems. The USIM card can be applied to GSM, WCDMA, and TD-SCDMA systems.
通信系统的基站会发出广播系统消息,广播系统消息中包含MIB(Master Information Block,主信息块)、SB(Scheduling Block,调度块)、SIB(System Information Block,系统信息块)三种。其中主信息块MIB中包含PLMN(Public Land Mobile-communication Network,公众陆地移动网络)信息,该公众陆地移动网络PLMN是由政府或它所批准的经营者为公众提供陆地移动通信业务目的而建立和经营的网络,每个运营商的网络都有对应的PLMN号码进行标识,而公众陆地移动网络PLMN ID由两部分组成,即移动国家码MCC(mobility country code)以及运营商码MNC(Mobile Network Code),MCC国家码可以唯一标识一个国家。The base station of the communication system sends a broadcast system message, and the broadcast system message includes three types: MIB (Master Information Block), SB (Scheduling Block), and SIB (System Information Block). The main information block MIB includes a PLMN (Public Land Mobile-communication Network) information, and the public land mobile network PLMN is established by the government or its approved operator to provide the land mobile communication service for the public. The operating network, each operator's network has a corresponding PLMN number for identification, and the public land mobile network PLMN ID consists of two parts, namely the mobile country code MCC (mobility country code) and the operator code MNC (Mobile Network Code) ), MCC country code can uniquely identify a country.
本发明通过移动终端注册的网络来获取国家码(MCC),然后匹配当地的紧急号码,这样便能使得移动终端在不同国家获取到正确的当地紧急号 码,并且使得移动终端在短暂脱网或开启飞行模式等情况下,也可以匹配到正确的紧急号码,保证了紧急号码与国家的正确匹配。The invention obtains the country code (MCC) through the network registered by the mobile terminal, and then matches the local emergency number, so that the mobile terminal can obtain the correct local emergency number in different countries. The code and the mobile terminal can also match the correct emergency number in the case of a short off-network or a flight mode, ensuring a correct match between the emergency number and the country.
如图1所示,本发明提供一种紧急号码匹配装置,其设置在移动终端中,该紧急号码匹配装置包含:As shown in FIG. 1, the present invention provides an emergency number matching device, which is disposed in a mobile terminal, and the emergency number matching device includes:
存储模块101,其用于存储紧急号码映射表和当前紧急号码表;a storage module 101, configured to store an emergency number mapping table and a current emergency number list;
SIM卡或USIM卡102,其用于存储PLMN列表;a SIM card or USIM card 102 for storing a PLMN list;
处理模块103,其用于判断移动终端的无线通信功能是否可以使用,以及用于更新当前紧急号码表和PLMN列表;The processing module 103 is configured to determine whether the wireless communication function of the mobile terminal is available, and to update the current emergency number list and the PLMN list;
无线通信模块104,用于搜索通信网络并将移动终端注册登记到通信网络中;a wireless communication module 104, configured to search for a communication network and register the mobile terminal in the communication network;
提取模块105,用于提取国家码;该提取模块可以获取当前通信网络的PLMN ID信息,并进一步从PLMN ID信息中提取所在国家的国家码MCC,作为当前国家码;或者该提取模块可以从SIM卡或USIM卡中的PLMN列表中获取移动终端在上一次关机或脱网之前注册登记到的通信网络的PLMN ID信息,即RPLMN信息(Registered PLMN已登记PLMN信息),进一步从RPLMN信息中提取国家码MCC,作为当前国家码;The extracting module 105 is configured to extract the country code; the extracting module may acquire the PLMN ID information of the current communication network, and further extract the country code MCC of the country in which the country is located as the current country code; or the extracting module may be from the SIM The PLMN list in the card or USIM card obtains the PLMN ID information of the communication network registered by the mobile terminal before the last shutdown or off-network, that is, the RPLMN information (Registered PLMN registered PLMN information), and further extracts the country from the RPLMN information. Code MCC, as the current country code;
国家码判断模块106,用于将提取模块获得的当前国家码与移动终端上一次获得的国家码进行比较;The country code judging module 106 is configured to compare the current country code obtained by the extracting module with the country code obtained by the mobile terminal last time;
查询模块107,用于根据当前国家名称或当前国家码查询存储模块中的紧急号码映射表,获得与当前国家名称或国家码匹配的紧急号码列表;The query module 107 is configured to query the emergency number mapping table in the storage module according to the current country name or the current country code to obtain a list of emergency numbers matching the current country name or country code;
呼叫模块108,用于根据紧急号码发起紧急呼叫;The calling module 108 is configured to initiate an emergency call according to the emergency number;
紧急号码确定模块109,用于将发售地的紧急号码转换为当前紧急号码表中对应的紧急号码;The emergency number determining module 109 is configured to convert the emergency number of the place of sale into a corresponding emergency number in the current emergency number table;
GPS模块110,用于确定移动终端当前所处的国家名称。The GPS module 110 is configured to determine a country name where the mobile terminal is currently located.
如图2所示,所述的紧急号码映射表包含:国家名称、与国家名称对应的国家码、以及与国家码对应的紧急号码列表。As shown in FIG. 2, the emergency number mapping table includes: a country name, a country code corresponding to the country name, and a list of emergency numbers corresponding to the country code.
较佳地,紧急号码映射表中包含了世界上各个国家的国家名称及其对应的国家码,以及与国家码对应的紧急号码列表。比如:中国的国家码是460,紧急号码列表中包含110(匪警),119(火警),120(急救)等;印度的国家码是404,紧急号码列表中包含100(匪警),101(火警),102(急救)等; 美国的国家码是310,紧急号码列表中包含911报警号码。Preferably, the emergency number mapping table includes the country name of each country in the world and its corresponding country code, and a list of emergency numbers corresponding to the country code. For example: China's country code is 460, emergency number list contains 110 (匪 police), 119 (fire alarm), 120 (first aid), etc.; India's country code is 404, emergency number list contains 100 (匪 police), 101 (Fire alarm), 102 (first aid), etc.; The country code for the United States is 310, and the emergency number list contains the 911 alarm number.
所述的当前紧急号码表进行实时更新。The current emergency number list is updated in real time.
如图3所示,所述的PLMN列表进行实时更新,该PLMN列表用于存储移动终端从当前注册的通信网络中获取的PLMN ID信息,该PLMN ID信息包含:国家码MCC和运营商码MNC。例如:中国移动的PLMN为46000,其中,460是国家码,00是运营商码;中国联通的PLMN为46001,其中,460是国家码,01是运营商码。As shown in FIG. 3, the PLMN list is updated in real time, and the PLMN list is used to store PLMN ID information acquired by the mobile terminal from the currently registered communication network, where the PLMN ID information includes: country code MCC and carrier code MNC. . For example, China Mobile's PLMN is 46000, of which 460 is the country code, 00 is the carrier code; China Unicom's PLMN is 46001, of which 460 is the country code and 01 is the carrier code.
如图4所示,进一步地,所述的紧急号码确定模块109包含:As shown in FIG. 4, further, the emergency number determining module 109 includes:
号码类型确定模块1091,用于确定用户拨打的发售地紧急号码的类型;该类型至少应该包含:匪警、火警、急救等;The number type determining module 1091 is configured to determine the type of the emergency number of the place of sale dialed by the user; the type should at least include: alarm, fire, first aid, etc.;
号码转换模块1092,用于根据紧急号码的类型查询当前紧急号码列表,获得与拨打类型一致的紧急号码,将该紧急号码作为供呼叫模块拨打的紧急号码。The number conversion module 1092 is configured to query the current emergency number list according to the type of the emergency number, obtain an emergency number that is consistent with the dialing type, and use the emergency number as the emergency number dialed by the calling module.
所述的存储模块101可以采用移动终端中的存储介质,所述的存储介质可以采用闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘等等。The storage module 101 can adopt a storage medium in a mobile terminal, and the storage medium can adopt a flash memory, a hard disk, a multimedia card, a card type memory (for example, SD or DX memory, etc.), a random access memory (RAM), Static Random Access Memory (SRAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), Programmable Read Only Memory (PROM), magnetic memory, magnetic disk, optical disk, and the like.
所述的处理模块103、提取模块105、国家码判断模块106、查询模块107、呼叫模块108、紧急号码确定模块109都可以基于移动终端中的处理器实现,所述的处理器可以采用数字信号处理器(DSP)、数字信号处理装置(DSPD)、可编程逻辑装置(PLD)、现场可编程门阵列(FPGA)等等。The processing module 103, the extraction module 105, the country code determination module 106, the query module 107, the call module 108, and the emergency number determination module 109 can all be implemented based on a processor in the mobile terminal, and the processor can adopt a digital signal. Processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), and the like.
所述的无线通信模块104采用移动终端中的无线通信设备实现。The wireless communication module 104 is implemented by a wireless communication device in a mobile terminal.
如图5所示,本发明提供一种紧急号码匹配方法,包含以下步骤:As shown in FIG. 5, the present invention provides an emergency number matching method, which includes the following steps:
步骤S1、在移动终端的存储模块中建立紧急号码映射表和当前紧急号码表,在SIM卡或USIM卡中建立PLMN列表;Step S1: Establish an emergency number mapping table and a current emergency number list in the storage module of the mobile terminal, and establish a PLMN list in the SIM card or the USIM card;
该紧急号码映射表中预先存储了世界上各个国家的国家码和与之对应的紧急号码列表;The emergency number mapping table pre-stores the country code of each country in the world and a list of emergency numbers corresponding thereto;
该PLMN列表用于存储移动终端从当前注册的通信网络中获取的PLMN ID信息,PLMN ID信息包含国家码MCC和运营商码MNC; The PLMN list is used to store PLMN ID information acquired by the mobile terminal from the currently registered communication network, and the PLMN ID information includes a country code MCC and an operator code MNC;
所述的当前紧急号码表用于存储与当前国家码MCC对应的紧急号码列表;The current emergency number table is used to store a list of emergency numbers corresponding to the current country code MCC;
步骤S2、移动终端进行开机初始化,确保移动终端的GPS功能开启;Step S2: The mobile terminal performs boot initialization to ensure that the GPS function of the mobile terminal is enabled;
步骤S3、处理模块判断移动终端的无线通信功能是否可以使用,如果无法使用,说明移动终端可能处于飞行模式或发生其他异常情况,则进行步骤S9,如果可以使用,进行步骤S4;Step S3, the processing module determines whether the wireless communication function of the mobile terminal is available, if it is not available, indicating that the mobile terminal may be in flight mode or other abnormal conditions, proceed to step S9, if available, proceed to step S4;
步骤S4、无线通信模块进行网络搜索,如果搜索到通信网络,则进行步骤S5,如果未搜索到通信网络,则进行步骤S10;Step S4, the wireless communication module performs a network search, if the communication network is searched, proceed to step S5, if the communication network is not searched, proceed to step S10;
步骤S5、无线通信模块注册登记到搜索到的通信网络中,提取模块获取当前通信网络的PLMN ID信息,处理模块将SIM卡或USIM卡中的PLMN列表更新为当前的PLMN ID信息,提取模块进一步从PLMN ID信息中提取所在国家的国家码MCC,作为当前国家码,进行步骤S6;Step S5: The wireless communication module registers and registers with the searched communication network, and the extraction module acquires the PLMN ID information of the current communication network, and the processing module updates the PLMN list in the SIM card or the USIM card to the current PLMN ID information, and the extraction module further Extracting the country code MCC of the country of the country from the PLMN ID information, as the current country code, proceeding to step S6;
步骤S6、国家码判断模块将提取到的当前国家码与移动终端上一次获得的国家码进行比较,如果一致,进行步骤S7,如果不一致,进行步骤S11;Step S6, the country code judging module compares the extracted current country code with the country code obtained by the mobile terminal last time, if they are consistent, proceed to step S7, if not, proceed to step S11;
步骤S7、紧急号码确定模块判断用户拨打的紧急号码是否与当前紧急号码表中的紧急号码一致,如果一致,则呼叫模块根据该紧急号码发起紧急呼叫,如果不一致,则进行步骤S8;Step S7, the emergency number determination module determines whether the emergency number dialed by the user is consistent with the emergency number in the current emergency number list, if the agreement, the call module initiates an emergency call according to the emergency number, if not, proceed to step S8;
步骤S8、紧急号码确定模块判断用户拨打的紧急号码是否与移动终端发售地的国家码对应的紧急号码列表中的紧急号码一致,如果一致,则紧急号码确定模块将该发售地的紧急号码转换为当前紧急号码表中对应的紧急号码,呼叫模块对转换后的紧急号码发起呼叫;Step S8: The emergency number determining module determines whether the emergency number dialed by the user is consistent with the emergency number in the emergency number list corresponding to the country code of the place where the mobile terminal is issued. If the number is the same, the emergency number determining module converts the emergency number of the place of sale into The corresponding emergency number in the current emergency number list, and the calling module initiates a call to the converted emergency number;
步骤S9、GPS模块确定移动终端当前所处的国家名称,查询模块根据当前国家名称查询存储模块中的紧急号码映射表,获得与国家名称匹配的国家码MCC,作为当前国家码,进行步骤S6;步骤S10、提取模块从SIM卡或USIM卡中的PLMN列表中获取移动终端在上一次关机或脱网之前注册登记到的通信网络的PLMN ID信息,即RPLMN信息(Registered PLMN已登记PLMN信息),提取模块进一步从RPLMN信息中提取国家码MCC,作为当前国家码,进行步骤S6;Step S9, the GPS module determines the current country name of the mobile terminal, the query module queries the emergency number mapping table in the storage module according to the current country name, obtains the country code MCC matching the country name, as the current country code, proceeds to step S6; Step S10: The extraction module obtains PLMN ID information of the communication network registered by the mobile terminal before the last shutdown or off-network, that is, RPLMN information (Registered PLMN registered PLMN information), from the PLMN list in the SIM card or the USIM card. The extracting module further extracts the country code MCC from the RPLMN information as the current country code, and proceeds to step S6;
步骤S11、查询模块根据当前国家码查询存储模块中的紧急号码映射表,获得与当前国家码匹配的紧急号码列表,进行步骤S12; Step S11: The query module queries the emergency number mapping table in the storage module according to the current country code to obtain an emergency number list matching the current country code, and proceeds to step S12;
步骤S12、处理模块将存储模块中的当前紧急号码表更新为与当前国家码匹配的紧急号码列表,进行步骤S7。Step S12: The processing module updates the current emergency number list in the storage module to the emergency number list matching the current country code, and proceeds to step S7.
如图6所示,在步骤S8中,所述的将发售地的紧急号码转换为当前紧急号码表中对应的紧急号码的方法具体包含以下步骤:As shown in FIG. 6, in step S8, the method for converting the emergency number of the place of sale into the corresponding emergency number in the current emergency number table specifically includes the following steps:
步骤S8.1、号码类型确定模块确定用户拨打的发售地紧急号码的类型;该类型至少应该包含:匪警、火警、急救等;Step S8.1: The number type determining module determines the type of the emergency number of the place of sale dialed by the user; the type should at least include: alarm, fire, first aid, etc.;
步骤S8.2、号码转换模块根据紧急号码的类型查询当前紧急号码列表,获得与拨打类型一致的紧急号码,将该紧急号码作为供呼叫模块拨打的紧急号码。Step S8.2: The number conversion module queries the current emergency number list according to the type of the emergency number, obtains an emergency number that is consistent with the dialing type, and uses the emergency number as the emergency number dialed by the calling module.
在本发明的一个实施例中,移动终端的发售地和卡运营商都是中国,移动终端用户从中国国际漫游到印度,移动终端注册登记到印度当地的通信网络,移动终端用户遇到突发情况,需要拨打医疗紧急电话,但此时移动终端发生异常,无法连接到通信网络,则移动终端中的紧急号码匹配装置按照以下方法实现紧急号码匹配:In an embodiment of the present invention, the place of sale and the card operator of the mobile terminal are both in China, the mobile terminal user roams from China to India, the mobile terminal registers with the local communication network in India, and the mobile terminal user encounters an emergency situation. You need to make a medical emergency call. However, if the mobile terminal is abnormal and cannot connect to the communication network, the emergency number matching device in the mobile terminal implements emergency number matching according to the following methods:
移动终端在漫游到印度并注册登记到印度当地的通信网络后,已经获取了印度的国家码,并将紧急号码列表和PLMN列表更新为印度的紧急号码和印度的PLMN ID信息,当移动终端用户根据中国的紧急号码拨打急救电话120时,由于移动终端的无线通信模块脱网,无法注册登记到通信网络中,则提取模块从SIM卡或USIM卡中的PLMN列表中获取移动终端在上一次关机或脱网之前注册登记到的通信网络的PLMN ID信息,即RPLMN信息(Registered PLMN已登记PLMN信息),提取模块进一步从RPLMN信息中提取印度的国家码MCC,作为当前国家码,确定使用与印度的国家码对应的印度的紧急号码列表,紧急号码确定模块判断用户拨打的紧急号码120与当前的印度紧急号码列表中的紧急号码不一致,紧急号码确定模块进一步确定移动终端用户拨打的120紧急号码与中国国家码对应的紧急号码列表中的急救紧急号码一致,则紧急号码确定模块锁定印度的紧急号码列表中对应的急救紧急号码为102,呼叫模块自动拨打102紧急号码。After roaming to India and registering with the local communication network in India, the mobile terminal has acquired the country code of India and updated the emergency number list and PLMN list to the emergency number of India and the PLMN ID information of India when the mobile terminal user When the emergency telephone number 120 is dialed according to the emergency number in China, since the wireless communication module of the mobile terminal is off-network and cannot be registered in the communication network, the extraction module acquires the mobile terminal from the last time shutdown of the PLMN list in the SIM card or the USIM card. Or the PLMN ID information of the communication network registered before the off-network, that is, the RPLMN information (Registered PLMN registered PLMN information), the extraction module further extracts the Indian country code MCC from the RPLMN information, as the current country code, determines the use and India. The country code corresponds to the emergency number list of India, and the emergency number determining module determines that the emergency number 120 dialed by the user is inconsistent with the emergency number in the current list of Indian emergency numbers, and the emergency number determining module further determines the 120 emergency number dialed by the mobile terminal user. List of emergency numbers corresponding to China country code Consistent aid emergency number, emergency number is an emergency number list is determined emergency locking module Indian emergency number corresponding to 102, 102 to automatically dial an emergency call module number.
本发明通过获取移动终端注册登记的通信网络的国家码来获得与国家码相匹配的紧急号码列表,而当移动终端暂时脱网时,则从移动终端上一次注册登记到通信网络而获得的RPLMN信息中获得国家码,从而获得相匹配的 紧急号码列表,当移动终端无法使用无线通信功能时,则采用卡运营商的国家码来进行紧急号码匹配。本发明保证了有卡的移动终端在任何情况下都可以获得正确的国家码,从而得到与国家码相匹配的正确的紧急号码,保证了移动终端在国际漫游时可以准确拔打紧急号码。本发明实现简单,便于普及,具有很广阔的适用范围。The invention obtains the emergency number list matching the country code by acquiring the country code of the communication network registered by the mobile terminal, and when the mobile terminal is temporarily off-network, the RPLMN obtained from the last registration of the mobile terminal to the communication network Get the country code in the message to get the match The emergency number list, when the mobile terminal cannot use the wireless communication function, the card operator's country code is used for emergency number matching. The invention ensures that the mobile terminal with the card can obtain the correct country code under any circumstances, thereby obtaining the correct emergency number matching the country code, and ensuring that the mobile terminal can accurately dial the emergency number during international roaming. The invention is simple to implement, convenient to popularize, and has a wide application range.
尽管本发明的内容已经通过上述优选实施例作了详细介绍,但应当认识到上述的描述不应被认为是对本发明的限制。在本领域技术人员阅读了上述内容后,对于本发明的多种修改和替代都将是显而易见的。因此,本发明的保护范围应由所附的权利要求来限定。 Although the present invention has been described in detail by the preferred embodiments thereof, it should be understood that the foregoing description should not be construed as limiting. Various modifications and alterations of the present invention will be apparent to those skilled in the art. Therefore, the scope of the invention should be defined by the appended claims.

Claims (9)

  1. 一种紧急号码匹配装置,其设置在移动终端中,其特征在于,该紧急号码匹配装置包含:An emergency number matching device is disposed in a mobile terminal, wherein the emergency number matching device comprises:
    存储模块(101),其用于存储紧急号码映射表和当前紧急号码表;a storage module (101) for storing an emergency number mapping table and a current emergency number list;
    SIM卡或USIM卡(102),其用于存储PLMN列表;a SIM card or USIM card (102) for storing a PLMN list;
    处理模块(103),其用于判断移动终端的无线通信功能是否可以使用,以及用于更新当前紧急号码表和PLMN列表;a processing module (103), configured to determine whether a wireless communication function of the mobile terminal is usable, and for updating a current emergency number list and a PLMN list;
    无线通信模块(104),用于搜索通信网络并将移动终端注册登记到通信网络中;a wireless communication module (104) for searching a communication network and registering the mobile terminal with the communication network;
    提取模块(105),用于提取国家码;An extraction module (105) for extracting a country code;
    国家码判断模块(106),用于将提取模块获得的当前国家码与移动终端上一次获得的国家码进行比较;The country code judging module (106) is configured to compare the current country code obtained by the extracting module with the country code obtained by the mobile terminal last time;
    查询模块(107),用于根据当前国家名称或当前国家码查询存储模块中的紧急号码映射表,获得与当前国家名称或国家码匹配的紧急号码列表;The query module (107) is configured to query the emergency number mapping table in the storage module according to the current country name or the current country code to obtain a list of emergency numbers matching the current country name or country code;
    呼叫模块(108),用于根据紧急号码发起紧急呼叫;a calling module (108), configured to initiate an emergency call according to the emergency number;
    紧急号码确定模块(109),用于将发售地的紧急号码转换为当前紧急号码表中对应的紧急号码;The emergency number determining module (109) is configured to convert the emergency number of the place of sale into a corresponding emergency number in the current emergency number table;
    GPS模块(110),用于确定移动终端当前所处的国家名称。The GPS module (110) is used to determine the name of the country in which the mobile terminal is currently located.
  2. 如权利要求1所述的紧急号码匹配装置,其特征在于,所述的紧急号码映射表包含:世界上各个国家的国家名称、与国家名称对应的国家码、以及与国家码对应的紧急号码列表;The emergency number matching apparatus according to claim 1, wherein said emergency number mapping table includes: a country name of each country in the world, a country code corresponding to the country name, and a list of emergency numbers corresponding to the country code. ;
    所述的当前紧急号码表用于存储与国家码相匹配的紧急号码列表,移动终端每一次获得与新的国家码匹配的紧急号码列表后,更新当前紧急号码表。The current emergency number list is used to store a list of emergency numbers matching the country code, and the mobile terminal updates the current emergency number list each time it obtains a list of emergency numbers matching the new country code.
    所述的PLMN列表用于存储移动终端从当前注册登记的通信网络中获取的公共陆地移动网络信息PLMN ID,该公共陆地移动网络信息PLMN ID包含国家码MCC和运营商码MNC,移动终端每一次注册登记 到新的通信网络后,更新PLMN列表。The PLMN list is used to store a public land mobile network information PLMN ID obtained by the mobile terminal from a currently registered communication network, where the public land mobile network information PLMN ID includes a country code MCC and an operator code MNC, and the mobile terminal each time Registration After the new communication network, the PLMN list is updated.
  3. 如权利要求1所述的紧急号码匹配装置,其特征在于,所述的紧急号码确定模块(109)包含:The emergency number matching device according to claim 1, wherein said emergency number determining module (109) comprises:
    号码类型确定模块(1091),用于确定用户拨打的发售地紧急号码的类型;a number type determining module (1091) for determining a type of the emergency number of the place of sale dialed by the user;
    号码转换模块(1092),用于根据紧急号码的类型查询当前紧急号码列表,获得与拨打类型一致的紧急号码,将该紧急号码作为供呼叫模块拨打的紧急号码。The number conversion module (1092) is configured to query the current emergency number list according to the type of the emergency number, obtain an emergency number consistent with the dialing type, and use the emergency number as the emergency number dialed by the calling module.
  4. 一种移动终端,其特征在于,该移动终端包含如权利要求1-3中任意一项所述的紧急号码匹配装置。A mobile terminal, characterized in that the mobile terminal comprises the emergency number matching device according to any one of claims 1-3.
  5. 一种紧急号码匹配方法,其特征在于,包含以下步骤:移动终端中预置紧急号码映射表,该紧急号码映射表包含了世界上各个国家的国家名称、与国家名称对应的国家码、以及与国家码对应的紧急号码列表;An emergency number matching method, comprising: a preset emergency number mapping table in a mobile terminal, where the emergency number mapping table includes a country name of each country in the world, a country code corresponding to the country name, and a list of emergency numbers corresponding to the country code;
    移动终端注册登记到搜索到的通信网络,获得该通信网络的公共陆地移动网络信息PLMN ID,从公共陆地移动网络信息中获得国家码,根据国家码查询紧急号码映射表获得与国家码相匹配的紧急号码列表;The mobile terminal registers with the searched communication network, obtains the public land mobile network information PLMN ID of the communication network, obtains the country code from the public land mobile network information, and obtains the national code according to the country code query emergency number mapping table. Emergency number list;
    当移动终端无法注册登记到通信网络时,从移动终端上一次注册登记到通信网络而获得的公共陆地移动网络信息中获得国家码,根据国家码查询紧急号码映射表获得与国家码相匹配的紧急号码列表;When the mobile terminal is unable to register to the communication network, the country code is obtained from the public land mobile network information obtained by the mobile terminal last registration to the communication network, and the emergency number mapping table is obtained according to the country code to obtain an emergency matching the country code. List of numbers;
    当移动终端无法使用无线通信功能时,采用GPS模块确定移动终端当前所处的国家名称,根据国家名称查询紧急号码映射表获得与国家名称匹配的国家码MCC,进而获得与国家码相匹配的紧急号码列表。When the mobile terminal cannot use the wireless communication function, the GPS module is used to determine the current country name of the mobile terminal, and the emergency number mapping table is queried according to the country name to obtain the country code MCC matching the country name, thereby obtaining an emergency matching the country code. A list of numbers.
  6. 如权利要求5所述的紧急号码匹配方法,其特征在于,将所述的公共陆地移动网络信息PLMN ID存储在PLMN列表中,该公共陆地移动网络信息PLMN ID包含国家码MCC和运营商码MNC,移动终端每一次注册登记到新的通信网络后,更新PLMN列表。The emergency number matching method according to claim 5, wherein said public land mobile network information PLMN ID is stored in a PLMN list, and the public land mobile network information PLMN ID includes a country code MCC and an operator code MNC. The mobile terminal updates the PLMN list each time it registers with the new communication network.
  7. 如权利要求6所述的紧急号码匹配方法,其特征在于,将与国家码相匹配的紧急号码列表存储在当前紧急号码表中,移动终端每一次获得与新的国家码匹配的紧急号码列表后,更新当前紧急号码表。The emergency number matching method according to claim 6, wherein the emergency number list matching the country code is stored in the current emergency number list, and the mobile terminal obtains the emergency number list matching the new country code each time. , update the current emergency number list.
  8. 如权利要求7所述的紧急号码匹配方法,其特征在于,在确定了与国家码 相匹配的紧急号码列表后,如果用户拨打的紧急号码与当前紧急号码表中的紧急号码一致,则直接根据该紧急号码发起紧急呼叫;如果用户拨打的紧急号码与移动终端发售地的国家码对应的紧急号码列表中的紧急号码一致,则将用户拨打的紧急号码转换为当前紧急号码表中对应的紧急号码,根据转换后的紧急号码发起呼叫。The emergency number matching method according to claim 7, wherein the country code is determined After the matching emergency number list, if the emergency number dialed by the user is consistent with the emergency number in the current emergency number list, an emergency call is directly sent according to the emergency number; if the emergency number dialed by the user corresponds to the country code of the place where the mobile terminal is sold If the emergency number in the emergency number list is the same, the emergency number dialed by the user is converted into the corresponding emergency number in the current emergency number list, and the call is initiated according to the converted emergency number.
  9. 如权利要求8所述的紧急号码匹配方法,其特征在于,所述的将用户拨打的紧急号码转换为当前紧急号码表中对应的紧急号码的方法具体包含以下步骤:The emergency number matching method according to claim 8, wherein the method for converting the emergency number dialed by the user into the corresponding emergency number in the current emergency number list comprises the following steps:
    确定用户拨打的发售地紧急号码的类型;Determining the type of emergency number dialed by the user;
    根据紧急号码的类型查询当前紧急号码列表,获得与拨打类型一致的紧急号码,将该紧急号码作为供呼叫模块拨打的紧急号码。 The current emergency number list is queried according to the type of the emergency number, and an emergency number matching the type of the dial is obtained, and the emergency number is used as the emergency number dialed by the calling module.
PCT/CN2017/098930 2017-08-25 2017-08-25 Method and device for matching emergency number WO2019037065A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/098930 WO2019037065A1 (en) 2017-08-25 2017-08-25 Method and device for matching emergency number

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/098930 WO2019037065A1 (en) 2017-08-25 2017-08-25 Method and device for matching emergency number

Publications (1)

Publication Number Publication Date
WO2019037065A1 true WO2019037065A1 (en) 2019-02-28

Family

ID=65439293

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/098930 WO2019037065A1 (en) 2017-08-25 2017-08-25 Method and device for matching emergency number

Country Status (1)

Country Link
WO (1) WO2019037065A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102104675A (en) * 2009-12-18 2011-06-22 深圳富泰宏精密工业有限公司 Emergency service number setting system and method
WO2015117318A1 (en) * 2014-07-16 2015-08-13 中兴通讯股份有限公司 Dialling method, device and terminal
US20150304830A1 (en) * 2014-04-17 2015-10-22 Spreadtrum Communications (Shanghai) Co., Ltd. Method and apparatus for processing emergency call of communication terminal
CN105847565A (en) * 2016-03-31 2016-08-10 乐视控股(北京)有限公司 Emergency communication number determination method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102104675A (en) * 2009-12-18 2011-06-22 深圳富泰宏精密工业有限公司 Emergency service number setting system and method
US20150304830A1 (en) * 2014-04-17 2015-10-22 Spreadtrum Communications (Shanghai) Co., Ltd. Method and apparatus for processing emergency call of communication terminal
WO2015117318A1 (en) * 2014-07-16 2015-08-13 中兴通讯股份有限公司 Dialling method, device and terminal
CN105847565A (en) * 2016-03-31 2016-08-10 乐视控股(北京)有限公司 Emergency communication number determination method and device

Similar Documents

Publication Publication Date Title
CN111314908B (en) Wireless communication method, network equipment and terminal equipment
Willassen Forensics and the GSM mobile telephone system
US9609507B2 (en) Method of device-assisted enhanced SIM replacement
US9992760B2 (en) Method for updating RPLMN information and user equipment
US11729840B2 (en) Access point name determination for mission critical services
WO2019037064A1 (en) Emergency number matching method and device
US20200351761A1 (en) System and method for monitoring mobile data configuration access point names
TW201246866A (en) Method of handling attach procedure and related communication device
CN111869182A (en) Wireless communication network authentication
US9226327B2 (en) Providing services based on radio access network type information
PT2759154T (en) Managing mobile device identities
US10390210B2 (en) Access method, user equipment and server
US11617069B2 (en) Providing emergency location information
EP3020217B1 (en) Automatic detection of a network operator for a mobile network device
KR100882938B1 (en) Method For Opening the Service Using the OTAOver-The-Air Activation in WCDMAWideband Code Division Multiple Access Mobile Phone
CN106792646B (en) Communication connection establishing method and electronic equipment
CN110602752A (en) Method for reporting position relation
WO2019037065A1 (en) Method and device for matching emergency number
KR20170132252A (en) A method and a chip for detecting damage to at least one configuration parameter
WO2019153252A1 (en) Wireless communication method, network device, and terminal device
EP4243348A1 (en) Registering a user equipment to a communication network
KR20090090745A (en) Global roaming service system and its method using by a mobile communication terminal

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: 17922476

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: 17922476

Country of ref document: EP

Kind code of ref document: A1