WO2020113374A1 - 一种数据管理方法、数据管理装置及移动终端 - Google Patents

一种数据管理方法、数据管理装置及移动终端 Download PDF

Info

Publication number
WO2020113374A1
WO2020113374A1 PCT/CN2018/118932 CN2018118932W WO2020113374A1 WO 2020113374 A1 WO2020113374 A1 WO 2020113374A1 CN 2018118932 W CN2018118932 W CN 2018118932W WO 2020113374 A1 WO2020113374 A1 WO 2020113374A1
Authority
WO
WIPO (PCT)
Prior art keywords
mobile terminal
configuration file
number list
emergency number
area
Prior art date
Application number
PCT/CN2018/118932
Other languages
English (en)
French (fr)
Inventor
欧征东
Original Assignee
深圳市欢太科技有限公司
Oppo广东移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市欢太科技有限公司, Oppo广东移动通信有限公司 filed Critical 深圳市欢太科技有限公司
Priority to PCT/CN2018/118932 priority Critical patent/WO2020113374A1/zh
Priority to CN201880098813.5A priority patent/CN112956216A/zh
Publication of WO2020113374A1 publication Critical patent/WO2020113374A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information

Definitions

  • the present application belongs to the field of data processing technology, in particular to a data management method, a data management device, a mobile terminal, and a computer-readable storage medium.
  • Mobile terminals generally have an emergency call function.
  • the mobile terminal When the mobile terminal has no signal or even a Subscriber Identification (Module, SIM) card, it can also dial emergency numbers through the Global System for Global Communications (GSM) network.
  • GSM Global System for Global Communications
  • mobile terminals need to have built-in emergency numbers for different countries or regions in advance, so that users in different countries or regions can call the corresponding emergency numbers.
  • This application provides a data management method, a data management device, a mobile terminal, and a computer-readable storage medium, which can improve the management efficiency of the emergency number built in the mobile terminal, so that non-professionals can also respond to the emergency built in the mobile terminal.
  • the number is updated and maintained.
  • the first aspect of the present application provides a data management method.
  • the above data management method includes:
  • the target emergency number list is an emergency number list related to the area where the mobile terminal is currently located;
  • a second aspect of the present application provides a data management device.
  • the data management device includes:
  • the list obtaining unit is used to analyze the preset configuration file to obtain the emergency number list of each area stored in the configuration file;
  • An area determination unit used to obtain the area where the mobile terminal is currently located
  • a list filtering unit configured to filter a list of target emergency numbers from the list of emergency numbers in each of the above regions, wherein the target emergency number list is a list of emergency numbers related to the region where the mobile terminal is currently located;
  • the list storage unit is used for storing the above-mentioned target emergency number list.
  • a third aspect of the present application provides a mobile terminal.
  • the mobile terminal includes a memory, a processor, and a computer program stored in the memory and executable on the processor.
  • the processor executes the computer program as described above. The steps of the method of the first aspect.
  • a fourth aspect of the present application provides a computer-readable storage medium that stores a computer program, and when the computer program is executed by a processor, implements the steps of the method of the first aspect described above.
  • a fifth aspect of the present application provides a computer program product.
  • the computer program product includes a computer program.
  • the computer program is executed by one or more processors, the steps of the method of the first aspect described above are implemented.
  • FIG. 1 is a schematic diagram of an implementation process of a data management method provided by an embodiment of the present application.
  • FIG. 2 is a schematic diagram of another implementation process of the data management method provided by the embodiment of the present application.
  • FIG. 3 is a schematic diagram of another implementation process of the data management method provided by the embodiment of the present application.
  • FIG. 4 is a structural block diagram of a data management device provided by an embodiment of the present application.
  • FIG. 5 is a schematic diagram of a mobile terminal provided by an embodiment of the present application.
  • the data management method in the embodiment of the present application includes:
  • step 101 the preset configuration file is parsed to obtain the emergency number list of each area stored in the configuration file;
  • the above configuration file is a file preset by the staff of the mobile terminal manufacturer before the mobile terminal leaves the factory.
  • the format of the configuration file may be an Extensible Markup Language (eXtensible Markup Language, XML) format; of course, configuration files in other formats may also be used, which is not limited herein. Since the mobile terminal often cannot directly read the content of the configuration file, the mobile terminal needs to first analyze the configuration file to obtain the emergency number list of each area stored in the configuration file.
  • the above emergency number list includes but is not limited to public security alarm numbers, medical emergency numbers and fire alarm numbers.
  • the staff of the mobile terminal manufacturer may define keywords in the configuration file of the above XML format by means of the keyword: element List* (where * can be used to represent numbers) and Corresponding keyword: Attribute ListEccNumber to store the list of emergency numbers in each area.
  • element List* where * can be used to represent numbers
  • Attribute ListEccNumber to store the list of emergency numbers in each area.
  • the above List* represents a list name, that is, different regions, and multiple ListEccNumbers can be stored under one List*; the above ListEccNumber represents an emergency number. In this way, even non-R&D personnel can use the above-defined keywords to find and maintain the emergency number corresponding to a certain area.
  • the above configuration file is parsed according to different computer programming languages (such as C/C++ or Java, etc.). You can use the recommended XML parsing method, or you can customize extended parsing, etc. . After the analysis is completed, a list of emergency numbers in different areas is obtained.
  • step 102 the area where the mobile terminal is currently located is acquired
  • step 102 includes:
  • step A1 Detect whether the mobile terminal is connected to the communication network, if yes, perform step A2, if not, perform step A4;
  • the SIM card slot of the mobile terminal you can first detect whether a SIM card is inserted into the SIM card slot of the mobile terminal; if the SIM card slot of the mobile terminal does not have a SIM card inserted, you can determine that the mobile terminal is not connected to the communication network; if the SIM card slot of the mobile terminal has a SIM card Insert, then continue to detect whether the current mobile terminal has a communication signal, if the current mobile terminal has a communication signal, confirm that the mobile terminal has access to the communication network, if the current mobile terminal has no communication signal, determine that the mobile terminal is currently not connected to the communication network.
  • the mobile terminal when the mobile terminal accesses the communication network, the mobile terminal can be positioned through the communication network, for example, the current location of the mobile terminal is obtained through the base station positioning service of the mobile terminal.
  • the mobile terminal when there is a communication network, often the mobile terminal can also receive the network signal.
  • the GPS module of the mobile terminal can also be activated, and the current position of the mobile terminal can be obtained through GPS module positioning.
  • other positioning methods may also be used, and the above positioning operation is not limited here.
  • the base station positioning cannot be performed; meanwhile, although the GPS module can work without the communication network, the mobile terminal can only obtain the current area without the communication network Can not judge the area where the coordinates are located. Therefore, a user input box can currently be output to receive the user position manually input by the user.
  • a wireless fidelity Wireless-Fidelity, Wi-Fi
  • Wi-Fi Wireless-Fidelity
  • A5. Based on the input user location, determine the area where the mobile terminal is currently located.
  • step 103 in the emergency number list of each area, a target emergency number list is screened;
  • the target emergency number list is an emergency number list related to the area where the mobile terminal is currently located. After determining the area where the mobile terminal is currently located in step 102, it is possible to search in the emergency number list of each area obtained in step 101 based on the area where the mobile terminal is currently located, and filter to obtain the target emergency number list. Optionally, if the corresponding target emergency number list cannot be queried, an error message may be reported to a preset server to remind the mobile terminal manufacturer that the current emergency number list in the area needs to be maintained.
  • step 104 the above-mentioned target emergency number list is stored.
  • the obtained target emergency number list is stored in a file directly accessible by the mobile terminal, for example, the target emergency number list is stored in a preset database of the mobile terminal.
  • the target emergency number list is stored in a preset database of the mobile terminal.
  • step 101 may be specifically:
  • the preset configuration file is parsed to obtain an emergency number list of each area stored in the configuration file.
  • the configuration file may be parsed when the user enters the emergency call request for the first time to obtain the emergency number list of each area stored in the configuration file and perform subsequent steps 102 to 104.
  • the mobile terminal is immediately triggered to display the target emergency number list for the user to select an emergency number and make a call.
  • step 101 may also be specifically:
  • the mobile terminal When the mobile terminal is turned on, it parses the preset configuration file to obtain a list of emergency numbers for each area stored in the configuration file.
  • the configuration file may be parsed when the mobile terminal is turned on for the first time to obtain an emergency number list of each area stored in the configuration file and perform subsequent steps 102 to 104.
  • the mobile terminal since the mobile terminal has stored the above-mentioned target emergency number list in a file that can be directly accessed when it is turned on, therefore, when the user encounters an emergency and needs to make an emergency call, he can quickly retrieve The target emergency number list improves the response speed of the mobile terminal when the user needs an emergency call.
  • non-developers can also maintain the emergency numbers of each area, which can improve the emergency numbers built into the mobile terminal. Management efficiency; and, after parsing, the mobile terminal will store the obtained target emergency number list in a database or other directly accessible file to improve the speed and efficiency of subsequent retrieval of the target emergency number list.
  • the data management method in the embodiment of the present application includes:
  • step 201 the preset configuration file is parsed to obtain the emergency number list of each area stored in the configuration file;
  • step 202 the area where the mobile terminal is currently located is acquired
  • step 203 in the emergency number list of each area, a target emergency number list is selected, wherein the target emergency number list is an emergency number list related to the area where the mobile terminal is currently located;
  • step 204 store the above target emergency number list
  • the above steps 201, 202, 203, and 204 are respectively the same as or similar to the above steps 101, 102, 103, and 104.
  • step 205 the modification time of the above configuration file is monitored
  • the modification time of the configuration file is monitored, so that the target emergency number list can be subsequently performed based on the maintenance update operation of the configuration file by the staff of the mobile terminal manufacturer Update.
  • step 206 when it is monitored that the modification time of the configuration file changes, return to the above step of parsing the preset configuration file to obtain the emergency number list of each area stored in the configuration file, so as to achieve Update of the above list of target emergency numbers.
  • the modification time of the configuration file changes when it is monitored that the modification time of the configuration file changes, return to the above step 201 and subsequent steps, and check whether the target emergency number list obtained this time is the same as the stored target emergency number list, If they are the same, it is considered that the current maintenance of the configuration file does not affect the current target emergency number list, and there is no need to update it; otherwise, if the detection finds that the target emergency number list obtained this time is different from the stored target emergency number list , Then update the stored target emergency number list based on the target emergency number list obtained this time.
  • non-developers can also maintain the emergency numbers of each area, which can improve the emergency numbers built into the mobile terminal.
  • Management efficiency and when the configuration file is subsequently updated, the stored target emergency number list is updated simultaneously; and the mobile terminal will store the obtained target emergency number list in a database or other directly accessible after parsing In the document, the speed and efficiency of the subsequent retrieval of the target emergency number list are improved.
  • the data management method in the embodiment of the present application includes:
  • step 301 the preset configuration file is parsed to obtain the emergency number list of each area stored in the configuration file;
  • step 302 the area where the mobile terminal is currently located is acquired
  • step 303 in the emergency number list of each area, a target emergency number list is selected, wherein the target emergency number list is an emergency number list related to the area where the mobile terminal is currently located;
  • step 304 store the above-mentioned target emergency number list
  • the above steps 301, 302, 303, and 304 are respectively the same as or similar to the above steps 101, 102, 103, and 104.
  • step 305 monitor the area where the mobile terminal is currently located
  • the target emergency number list after storing the target emergency number list, the area where the mobile terminal is currently located is monitored. Once the area where the mobile terminal is currently located changes, the target emergency number list needs to be updated .
  • step 306 when it is monitored that the area where the mobile terminal is currently located changes, return to the step of parsing the preset configuration file to obtain the emergency number list of each area stored in the configuration file, to Realize the update of the above-mentioned target emergency number list.
  • non-developers can also maintain the emergency numbers of each area, which can improve the emergency numbers built into the mobile terminal. Management efficiency; and, after parsing, the mobile terminal will store the obtained target emergency number list in a database or other directly accessible file to improve the speed and efficiency of subsequent retrieval of the target emergency number list. Subsequently, even if the location of the mobile terminal changes, the target emergency number list can be updated in time.
  • Embodiment 4 of the present application provides a data management apparatus.
  • the above data management apparatus may be integrated into a mobile terminal.
  • the data management apparatus 400 in the embodiment of the present application includes:
  • the list obtaining unit 401 is used to analyze the preset configuration file to obtain the emergency number list of each area stored in the configuration file;
  • the area determining unit 402 is used to obtain the area where the mobile terminal is currently located;
  • the list filtering unit 403 is configured to filter a list of target emergency numbers from the list of emergency numbers in each area, wherein the target emergency number list is a list of emergency numbers related to the area where the mobile terminal is currently located;
  • the list storage unit 404 is used to store the above-mentioned target emergency number list.
  • the above list obtaining unit 401 is specifically configured to parse the preset configuration file when receiving the input emergency call request to obtain an emergency number list of each area stored in the configuration file.
  • the above list obtaining unit 401 is specifically configured to parse the preset configuration file when the mobile terminal is turned on to obtain an emergency number list of each area stored in the configuration file.
  • the list storage unit 404 is specifically configured to store the target emergency number list in the preset database of the mobile terminal.
  • the above-mentioned area determination unit 402 includes:
  • the detection subunit is used to detect whether the above mobile terminal accesses the communication network
  • a positioning subunit configured to locate the mobile terminal through the communication network if the mobile terminal has access to the communication network
  • the first area determination subunit is used to determine the area where the mobile terminal is currently located based on the positioning result.
  • the above-mentioned area determination unit 402 further includes:
  • a receiving subunit configured to receive the input user location if the mobile terminal does not access the communication network
  • the second area determination subunit is used to determine the area where the mobile terminal is currently located based on the input user position.
  • the above data management device 400 further includes:
  • the first monitoring unit is used to monitor the modification time of the above configuration file
  • the first refreshing unit is configured to trigger the operation of the list obtaining unit when the modification time of the configuration file is monitored to update the target emergency number list.
  • the above data management device 400 further includes:
  • a second monitoring unit configured to monitor the area where the mobile terminal is currently located
  • the second refreshing unit is used to trigger the operation of the list obtaining unit when it is monitored that the area where the mobile terminal is currently located changes to update the target emergency number list.
  • the format of the above configuration file is an extensible markup language XML format.
  • the data management device can store the emergency numbers of each area in the configuration file, so that non-developers can also maintain the emergency numbers of each area, which can enhance the built-in mobile terminal.
  • the efficiency of emergency number management; and, after parsing, the mobile terminal will store the obtained target emergency number list in a database or other directly accessible file to improve the speed and efficiency of subsequent retrieval of the target emergency number list.
  • the mobile terminal in the embodiment of the present application includes: a memory 501, one or more processors 502 (only one is shown in FIG. 5) and stored in the memory 501 A computer program that can be run on a processor.
  • the memory 501 is used to store software programs and modules.
  • the processor 502 executes various functional applications and data processing by running the software programs and units stored in the memory 501 to obtain resources corresponding to the preset events. Specifically, the processor 502 implements the following steps by running the above computer program stored in the memory 501:
  • the target emergency number list is an emergency number list related to the area where the mobile terminal is currently located;
  • the foregoing analyzes the preset configuration file to obtain the A list of emergency numbers stored in each area, including:
  • the preset configuration file is parsed to obtain the emergency number list of each area stored in the configuration file.
  • the foregoing parsing the preset configuration file to obtain the emergency number list of each area stored in the configuration file includes:
  • the preset configuration file is parsed to obtain an emergency number list of each area stored in the configuration file.
  • the above-mentioned storage of the above-mentioned target emergency number list includes:
  • the above-mentioned target emergency number list is stored in the preset database of the above-mentioned mobile terminal.
  • the above-mentioned acquiring the area where the mobile terminal is currently located includes:
  • the area where the mobile terminal is currently located is determined.
  • the processor 502 runs the computer program stored in the memory 501 The following steps are also implemented:
  • the above mobile terminal does not access the communication network, it receives the input user location;
  • the area where the mobile terminal is currently located is determined.
  • the processor 502 stores The above computer program of the memory 501 also implements the following steps:
  • the processor 502 stores The above computer program of the memory 501 also implements the following steps:
  • the format of the configuration file is an extensible markup language XML format.
  • the above mobile terminal may be a mobile communication device such as a smart phone or a tablet computer with a communication function, which is not limited herein. Further, as shown in FIG. 5, the above mobile terminal may further include: one or more input devices 503 (only one is shown in FIG. 5) and one or more output devices 504 (only one is shown in FIG. 5).
  • the memory 501, the processor 502, the input device 503, and the output device 504 are connected through a bus 505.
  • the so-called processor 502 may be a central processing unit (Central Processing Unit, CPU), and the processor may also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP) , Application Specific Integrated Circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • the general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
  • the input device 503 may include a keyboard, a touchpad, a fingerprint sensor (for collecting user's fingerprint information and fingerprint direction information), a microphone, etc.
  • the output device 504 may include a display, a speaker, and the like.
  • the memory 501 may include a read-only memory and a random access memory, and provide instructions and data to the processor 502. Part or all of the memory 501 may also include non-volatile random access memory. For example, the memory 501 may also store device type information.
  • non-developers can also maintain the emergency numbers of each area, which can improve the emergency numbers built into the mobile terminal. Management efficiency; and, after parsing, the mobile terminal will store the obtained target emergency number list in a database or other directly accessible file to improve the speed and efficiency of subsequent retrieval of the target emergency number list.
  • each functional unit and module is used as an example for illustration.
  • the above-mentioned functions can be allocated by different functional units
  • Module completion means that the internal structure of the above device is divided into different functional units or modules to complete all or part of the functions described above.
  • the functional units and modules in the embodiments may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above integrated unit may use hardware It can also be implemented in the form of software functional units.
  • the specific names of each functional unit and module are only for the purpose of distinguishing each other, and are not used to limit the protection scope of the present application.
  • the disclosed device and method may be implemented in other ways.
  • the system embodiments described above are only schematic.
  • the division of the above-mentioned modules or units is only a division of logical functions.
  • there may be other divisions for example, multiple units or components may be combined Or it can be integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place or may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • the above integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a computer-readable storage medium.
  • the present application can implement all or part of the processes in the methods of the above embodiments, and can also be completed by instructing relevant hardware through a computer program.
  • the above computer program can be stored in a computer readable storage medium, and the computer program When executed by the processor, the steps of the foregoing method embodiments may be implemented.
  • the above-mentioned computer program includes computer program code, and the above-mentioned computer program code may be in the form of source code, object code, executable file or some intermediate form.
  • the above-mentioned computer-readable storage medium may include: any entity or device capable of carrying the above-mentioned computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer-readable memory, read-only memory (ROM, Read-Only Memory ), Random Access Memory (RAM, Random Access Memory), electrical carrier signals, telecommunications signals and software distribution media, etc.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • electrical carrier signals telecommunications signals and software distribution media, etc.
  • the content contained in the above computer-readable storage medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in jurisdictions.
  • computer-readable storage The medium does not include electrical carrier signals and telecommunications signals.

Landscapes

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

Abstract

一种数据管理方法、数据管理装置、移动终端及计算机可读存储介质,其中,该数据管理方法包括:对预设的配置文件进行解析,得到所述配置文件中所存储的各个区域的紧急号码列表(101);获取移动终端当前所处的区域(102);在所述各个区域的紧急号码列表中,筛选得到目标紧急号码列表,其中,所述目标紧急号码列表为与所述移动终端当前所处的区域相关的紧急号码列表(103);存储所述目标紧急号码列表(104)。可提升对移动终端中所内置的紧急号码的管理效率,使得非专业人员也能够对移动终端所内置的紧急号码进行更新维护。

Description

一种数据管理方法、数据管理装置及移动终端 技术领域
本申请属于数据处理技术领域,尤其一种数据管理方法、数据管理装置、移动终端及计算机可读存储介质。
背景技术
移动终端普遍具备紧急呼叫功能,能够在移动终端没有信号甚至没有插入用户身份识别(Subscriber Identification Module,SIM)卡时,也能够通过全球移动通信系统(Global System For Mobile Communications,GSM)网络拨打紧急号码。当前,移动终端需要预先内置好不同国家或区域的紧急号码,以便不同国家或区域的用户,能呼叫对应的紧急号码。
发明内容
本申请提供一种数据管理方法、数据管理装置、移动终端及计算机可读存储介质,可提升对移动终端中所内置的紧急号码的管理效率,使得非专业人员也能够对移动终端所内置的紧急号码进行更新维护。
本申请的第一方面提供了一种数据管理方法,上述数据管理方法包括:
对预设的配置文件进行解析,得到上述配置文件中所存储的各个区域的紧急号码列表;
获取移动终端当前所处的区域;
在上述各个区域的紧急号码列表中,筛选得到目标紧急号码列表,其中,上述目标紧急号码列表为与上述移动终端当前所处的区域相关的紧急号码列表;
存储上述目标紧急号码列表。
本申请的第二方面提供了一种数据管理装置,上述数据管理装置包括:
列表获取单元,用于对预设的配置文件进行解析,得到上述配置文件中所存储的各个区域的紧急号码列表;
区域确定单元,用于获取移动终端当前所处的区域;
列表筛选单元,用于在上述各个区域的紧急号码列表中,筛选得到目标紧急号码列表,其中,上述目标紧急号码列表为与上述移动终端当前所处的区域相关的紧急号码列表;
列表存储单元,用于存储上述目标紧急号码列表。
本申请的第三方面提供了一种移动终端,上述移动终端包括存储器、处理器以及存储在上述存储器中并可在上述处理器上运行的计算机程序,上述处理器执行上述计算机程序时实现如上述第一方面的方法的步骤。
本申请的第四方面提供了一种计算机可读存储介质,上述计算机可读存储介质存储有 计算机程序,上述计算机程序被处理器执行时实现如上述第一方面的方法的步骤。
本申请的第五方面提供了一种计算机程序产品,上述计算机程序产品包括计算机程序,上述计算机程序被一个或多个处理器执行时实现如上述第一方面的方法的步骤。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1是本申请实施例提供的数据管理方法的一种实现流程示意图;
图2是本申请实施例提供的数据管理方法的另一种实现流程示意图;
图3是本申请实施例提供的数据管理方法的又一种实现流程示意图;
图4是本申请实施例提供的数据管理装置的结构框图;
图5是本申请实施例提供的移动终端的示意图。
具体实施方式
以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、技术之类的具体细节,以便透彻理解本申请实施例。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本申请。在其它情况中,省略对众所周知的系统、装置、电路以及方法的详细说明,以免不必要的细节妨碍本申请的描述。
为了说明本申请上述的技术方案,下面通过具体实施例来进行说明。
实施例1
下面对本申请实施例提供的一种数据管理方法进行描述,请参阅图1,本申请实施例中的数据管理方法包括:
在步骤101中,对预设的配置文件进行解析,得到上述配置文件中所存储的各个区域的紧急号码列表;
在本申请实施例中,上述配置文件是在移动终端出厂前就由移动终端厂商的工作人员预先设置好的文件。具体地,该配置文件的格式可以为可拓展标记语言(eXtensible Markup Language,XML)格式;当然,也可以采用其它格式的配置文件,此处不作限定。由于移动终端往往无法直接读取到该配置文件的内容,因而,移动终端需要先对该配置文件进行解析操作,以此得到上述配置文件中所存储的各个区域的紧急号码列表。上述紧急号码列表中,包括但不限于公安报警号码、医疗急救号码及消防报警号码。
可选地,当上述配置文件的格式为XML格式时,移动终端厂商的工作人员可在上述XML格式的配置文件中,通过定义关键字:元素List*(此处的*可用于表示数字)及对应的关键字:属性ListEccNumber来存储各个区域紧急号码列表。其中,上述List*表示列表名,也即不同区域,一个List*下可以存储有多个ListEccNumber;上述ListEccNumber表示紧急号码。这样一来,即使是非研发人员,也可以通过上述已定义好的关键字来查找并维护某一区域所对应的紧急号码。在解析上述XML格式的配置文件时,根据计算机编程语言的不同(例如有C/C++或Java等)对上述配置文件进行相应的解析,可以采用推荐的XML解析方式,也可以自定义扩展解析等。在解析结束后,得到各个不同区域的紧急号码列表。
在步骤102中,获取移动终端当前所处的区域;
在本申请实施例中,可以认为上述移动终端当前所处的区域与使用该移动终端的用户当前所处的区域一致。具体地,上述步骤102包括:
A1、检测所述移动终端是否接入通信网路,若是,则执行步骤A2,若否,则执行步骤A4;
其中,可以首先检测移动终端的SIM卡槽是否插入有SIM卡;若移动终端的SIM卡槽没有SIM卡插入,则可确定移动终端未接入通信网络;若移动终端的SIM卡槽有SIM卡插入,则继续检测当前移动终端是否有通信信号,若当前移动终端有通信信号,则确认移动终端已接入通信网络,若当前移动终端没有通信信号,则确定移动终端当前未接入通信网络。
A2、通过所述通信网络对所述移动终端进行定位;
其中,在移动终端接入通信网络时,可以通过所述通信网络对所述移动终端进行定位,例如,通过上述移动终端的基站定位服务获取到上述移动终端的当前位置。可选地,在有通信网络时,往往移动终端也能够接收到网络信号,此时,也还可以启动移动终端的GPS模块,通过GPS模块定位获取到上述移动终端的当前位置。当前,也可以采用其它定位方法,此处不对上述定位操作作出限定。
A3、基于定位结果,确定所述移动终端当前所处的区域;
A4、接收输入的用户位置;
其中,当移动终端没有接入通信网络时,基站定位无法执行;同时,虽然GPS模块可以在没有通信网络的情况下工作,但在没有通信网络的情况下,移动终端只能获得当前所处区域的坐标,而无法对该坐标所处的区域作出判断,因而,当前可以输出一用户输入框,用以接收用户人工输入的用户位置。可选地,若当前没有接入通信网络,则也还可以检测移动终端是否接入有无线保真(Wireless-Fidelity,Wi-Fi)网络, 若上述移动终端接入了Wi-Fi网络,则可以通过上述Wi-Fi网络获取到移动终端的当前位置。
A5、基于所述输入的用户位置,确定所述移动终端当前所处的区域。
在步骤103中,在上述各个区域的紧急号码列表中,筛选得到目标紧急号码列表;
在本申请实施例中,上述目标紧急号码列表为与上述移动终端当前所处的区域相关的紧急号码列表。在通过步骤102确定了移动终端当前所处的区域后,可以基于上述移动终端当前所处的区域在步骤101得到的各个区域的紧急号码列表中进行查找,筛选得到目标紧急号码列表。可选地,若无法查询到相应的目标紧急号码列表,则可以向一预设的服务器上报错误信息,用以提示移动终端厂商需要对当前该区域的紧急号码列表进行维护。
在步骤104中,存储上述目标紧急号码列表。
在本申请实施例中,将得到的上述目标紧急号码列表存储于移动终端可以直接访问的文件中,例如,将所述目标紧急号码列表存储于所述移动终端的预设数据库中。这样一来,后续只要移动终端的所处区域及上述配置文件没有发生变化,则移动终端在需要调用该目标紧急号码时,就不再需要再取解析上述配置文件,而是可以直接访问上述预设数据库即可获得上述目标紧急号码列表,可提升调取上述目标紧急号码列表的效率。
可选地,在一种应用场景中,上述步骤101可以具体为:
当接收到输入的紧急呼叫请求时,对预设的配置文件进行解析,得到所述配置文件中所存储的各个区域的紧急号码列表。
其中,可以是在用户第一次输入紧急呼叫请求时对上述配置文件进行解析,得到上述配置文件中所存储的各个区域的紧急号码列表并执行后续的步骤102至104。并且,在此种应用场景下,一旦得到了目标紧急号码列表,则立刻触发上述移动终端显示该目标紧急号码列表,供用户选择紧急号码并进行呼叫。
可选地,在另一种应用场景中,上述步骤101也可以具体为:
当所述移动终端开机时,对预设的配置文件进行解析,得到所述配置文件中所存储的各个区域的紧急号码列表。
其中,也可以是在上述移动终端第一次开机时对上述配置文件进行解析,得到上述配置文件中所存储的各个区域的紧急号码列表并执行后续的步骤102至104。在此种应用场景下,由于移动终端在开机时就已经将上述目标紧急号码列表存入了可直接访问的文件中,因而,后续在用户遭遇紧急情况需要进行紧急呼叫时,可迅速调取得到该目标紧急号码列表,提升用户在需要紧急呼叫时移动终端的反应速度。
由上可见,通过本申请实施例,通过将各个区域的紧急号码存储在配置文件中,可使得非研发人员也能对各个区域的紧急号码进行维护,能够提升对移动终端中所内置的紧急号码的管理效率;并且,移动终端会在解析后将得到的目标紧急号码列表存储于数据库或其他可直接访问的文件中,提升后续调取目标紧急号码列表的速度及效率。
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。
实施例2
在上述实施例1的基础上,下面对本申请实施例提供的另一种数据管理方法进行描述,请参阅图2,本申请实施例中的数据管理方法包括:
在步骤201中,对预设的配置文件进行解析,得到上述配置文件中所存储的各个区域的紧急号码列表;
在步骤202中,获取移动终端当前所处的区域;
在步骤203中,在上述各个区域的紧急号码列表中,筛选得到目标紧急号码列表,其中,上述目标紧急号码列表为与上述移动终端当前所处的区域相关的紧急号码列表;
在步骤204中,存储上述目标紧急号码列表;
在本申请实施例中,上述步骤201、202、203及204分别与上述步骤101、102、103及104相同或相似,具体可参照上述步骤101、102、103及104,此处不作赘述。
在步骤205中,对上述配置文件的修改时间进行监控;
在本申请实施例中,在存储了上述目标紧急号码列表之后,监控上述配置文件的修改时间,使得后续能够基于移动终端厂商的工作人员对该配置文件的维护更新操作对上述目标紧急号码列表进行更新。
在步骤206中,当监控到上述配置文件的修改时间发生变化时,返回执行上述对预设的配置文件进行解析,得到上述配置文件中所存储的各个区域的紧急号码列表的步骤,以实现对上述目标紧急号码列表的更新。
在本申请实施例中,当监控到上述配置文件的修改时间发生变化时,返回执行上述步骤201及后续步骤,并检测本次得到的目标紧急号码列表是否与已存储的目标紧急号码列表相同,若相同,则认为本次对配置文件的维护不影响当前的目标紧急号码列表,无需对其进行更新;否则,若检测发现本次得到的目标紧急号码列表与已存储的目标紧急号码列表不相同,则基于本次得到的目标紧急号码列表对上述已存储的目标紧急号码列表进行更新。
由上可见,通过本申请实施例,通过将各个区域的紧急号码存储在配置文件中,可使 得非研发人员也能对各个区域的紧急号码进行维护,能够提升对移动终端中所内置的紧急号码的管理效率,并在后续对配置文件进行更新时,同步对已存储的目标紧急号码列表进行更新;并且,移动终端会在解析后将得到的目标紧急号码列表存储于数据库或其他可直接访问的文件中,提升后续调取目标紧急号码列表的速度及效率。
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。
实施例3
在上述实施例1的基础上,下面对本申请实施例提供的又一种数据管理方法进行描述,请参阅图3,本申请实施例中的数据管理方法包括:
在步骤301中,对预设的配置文件进行解析,得到上述配置文件中所存储的各个区域的紧急号码列表;
在步骤302中,获取移动终端当前所处的区域;
在步骤303中,在上述各个区域的紧急号码列表中,筛选得到目标紧急号码列表,其中,上述目标紧急号码列表为与上述移动终端当前所处的区域相关的紧急号码列表;
在步骤304中,存储上述目标紧急号码列表;
在本申请实施例中,上述步骤301、302、303及304分别与上述步骤101、102、103及104相同或相似,具体可参照上述步骤101、102、103及104,此处不作赘述。
在步骤305中,对上述移动终端当前所处的区域进行监控;
在本申请实施例中,在存储了上述目标紧急号码列表之后,监控上述移动终端当前所处的区域,一旦上述移动终端当前所处的区域发生了更改,则需要对上述目标紧急号码列表进行更新。
在步骤306中,当监控到上述移动终端当前所处的区域发生变化时,返回执行上述对预设的配置文件进行解析,得到上述配置文件中所存储的各个区域的紧急号码列表的步骤,以实现对上述目标紧急号码列表的更新。
在本申请实施例中,当监控到上述移动终端当前所处的区域发生变化时,返回执行上述步骤201及后续步骤,通常来说,不同区域(也即不同国家/地区)的紧急号码往往是不一样的,因而一旦发现上述移动终端当前所处的区域发生变化,则意味着当前移动终端所存储的目标紧急号码列表已不在适用于当前所处的区域,需要基于当前所处的区域对上述目标紧急号码列表进行更新。
由上可见,通过本申请实施例,通过将各个区域的紧急号码存储在配置文件中,可使得非研发人员也能对各个区域的紧急号码进行维护,能够提升对移动终端中所内置的紧急 号码的管理效率;并且,移动终端会在解析后将得到的目标紧急号码列表存储于数据库或其他可直接访问的文件中,提升后续调取目标紧急号码列表的速度及效率。后续即使移动终端所处的位置发生了变化,也可以及时对目标紧急号码列表进行更新。
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。
实施例4
本申请实施例4提供了一种数据管理装置,上述数据管理装置可集成于移动终端中,如图4所示,本申请实施例中的数据管理装置400包括:
列表获取单元401,用于对预设的配置文件进行解析,得到上述配置文件中所存储的各个区域的紧急号码列表;
区域确定单元402,用于获取移动终端当前所处的区域;
列表筛选单元403,用于在上述各个区域的紧急号码列表中,筛选得到目标紧急号码列表,其中,上述目标紧急号码列表为与上述移动终端当前所处的区域相关的紧急号码列表;
列表存储单元404,用于存储上述目标紧急号码列表。
可选地,上述列表获取单元401,具体用于当接收到输入的紧急呼叫请求时,对预设的配置文件进行解析,得到上述配置文件中所存储的各个区域的紧急号码列表。
可选地,上述列表获取单元401,具体用于当上述移动终端开机时,对预设的配置文件进行解析,得到上述配置文件中所存储的各个区域的紧急号码列表。
可选地,上述列表存储单元404,具体用于将上述目标紧急号码列表存储于上述移动终端的预设数据库中。
可选地,上述区域确定单元402,包括:
检测子单元,用于检测上述移动终端是否接入通信网路;
定位子单元,用于若上述移动终端已接入通信网络,则通过上述通信网络对上述移动终端进行定位;
第一区域确定子单元,用于基于定位结果,确定上述移动终端当前所处的区域。
可选地,上述区域确定单元402还包括:
接收子单元,用于若上述移动终端未接入通信网络,则接收输入的用户位置;
第二区域确定子单元,用于基于上述输入的用户位置,确定上述移动终端当前所处的区域。
可选地,上述数据管理装置400还包括:
第一监控单元,用于对上述配置文件的修改时间进行监控;
第一刷新单元,用于当监控到上述配置文件的修改时间发生变化时,触发上述列表获取单元的运行,以实现对上述目标紧急号码列表的更新。
可选地,上述数据管理装置400还包括:
第二监控单元,用于对上述移动终端当前所处的区域进行监控;
第二刷新单元,用于当监控到上述移动终端当前所处的区域发生变化时,触发上述列表获取单元的运行,以实现对上述目标紧急号码列表的更新。
可选地,上述配置文件的格式为可扩展标记语言XML格式。
由上可见,通过本申请实施例,数据管理装置通过将各个区域的紧急号码存储在配置文件中,可使得非研发人员也能对各个区域的紧急号码进行维护,能够提升对移动终端中所内置的紧急号码的管理效率;并且,移动终端会在解析后将得到的目标紧急号码列表存储于数据库或其他可直接访问的文件中,提升后续调取目标紧急号码列表的速度及效率。
实施例5
本申请实施例提供了一种移动终端,请参阅图5,本申请实施例中的移动终端包括:存储器501,一个或多个处理器502(图5中仅示出一个)及存储在存储器501上并可在处理器上运行的计算机程序。其中:存储器501用于存储软件程序以及模块,处理器502通过运行存储在存储器501的软件程序以及单元,从而执行各种功能应用以及数据处理,以获取上述预设事件对应的资源。具体地,处理器502通过运行存储在存储器501的上述计算机程序时实现以下步骤:
对预设的配置文件进行解析,得到上述配置文件中所存储的各个区域的紧急号码列表;
获取移动终端当前所处的区域;
在上述各个区域的紧急号码列表中,筛选得到目标紧急号码列表,其中,上述目标紧急号码列表为与上述移动终端当前所处的区域相关的紧急号码列表;
存储上述目标紧急号码列表。
假设上述为第一种可能的实施方式,则在第一种可能的实施方式作为基础而提供的第二种可能的实施方式中,上述对预设的配置文件进行解析,得到上述配置文件中所存储的各个区域的紧急号码列表,包括:
当接收到输入的紧急呼叫请求时,对预设的配置文件进行解析,得到上述配置文件中所存储的各个区域的紧急号码列表。
在上述第一种可能的实施方式作为基础而提供的第三种可能的实施方式中,上述对预 设的配置文件进行解析,得到上述配置文件中所存储的各个区域的紧急号码列表,包括:
当上述移动终端开机时,对预设的配置文件进行解析,得到上述配置文件中所存储的各个区域的紧急号码列表。
在上述第一种可能的实施方式作为基础而提供的第四种可能的实施方式中,上述存储上述目标紧急号码列表,包括:
将上述目标紧急号码列表存储于上述移动终端的预设数据库中。
在上述第一种可能的实施方式作为基础而提供的第五种可能的实施方式中,上述获取移动终端当前所处的区域,包括:
检测上述移动终端是否接入通信网路;
若上述移动终端已接入通信网络,则通过上述通信网络对上述移动终端进行定位;
基于定位结果,确定上述移动终端当前所处的区域。
在上述第五种可能的实施方式作为基础而提供的第六种可能的实施方式中,在上述检测上述移动终端是否接入通信网路之后,处理器502通过运行存储在存储器501的上述计算机程序时还实现以下步骤:
若上述移动终端未接入通信网络,则接收输入的用户位置;
基于上述输入的用户位置,确定上述移动终端当前所处的区域。
在上述第一种可能的实施方式作为基础,或者上述第二种可能的实施方式作为基础,或者上述第三种可能的实施方式作为基础,或者上述第四种可能的实施方式作为基础,或者上述第五种可能的实施方式作为基础,或者上述第六种可能的实施方式作为基础而提供的第七种可能的实施方式中,在上述存储上述目标紧急号码列表之后,处理器502通过运行存储在存储器501的上述计算机程序时还实现以下步骤:
对上述配置文件的修改时间进行监控;
当监控到上述配置文件的修改时间发生变化时,返回执行上述对预设的配置文件进行解析,得到上述配置文件中所存储的各个区域的紧急号码列表的步骤,以实现对上述目标紧急号码列表的更新。
在上述第一种可能的实施方式作为基础,或者上述第二种可能的实施方式作为基础,或者上述第三种可能的实施方式作为基础,或者上述第四种可能的实施方式作为基础,或者上述第五种可能的实施方式作为基础,或者上述第六种可能的实施方式作为基础而提供的第八种可能的实施方式中,在上述存储上述目标紧急号码列表之后,处理器502通过运行存储在存储器501的上述计算机程序时还实现以下步骤:
对上述移动终端当前所处的区域进行监控;
当监控到上述移动终端当前所处的区域发生变化时,返回执行上述对预设的配置文件进行解析,得到上述配置文件中所存储的各个区域的紧急号码列表的步骤,以实现对上述目标紧急号码列表的更新。
在上述第一种可能的实施方式作为基础,或者上述第二种可能的实施方式作为基础,或者上述第三种可能的实施方式作为基础,或者上述第四种可能的实施方式作为基础,或者上述第五种可能的实施方式作为基础,或者上述第六种可能的实施方式作为基础而提供的第九种可能的实施方式中,上述配置文件的格式为可扩展标记语言XML格式。
上述移动终端可以是智能手机、具备通信功能的平板电脑等移动通信设备,此处不作限定。进一步,如图5所示,上述移动终端还可包括:一个或多个输入设备503(图5中仅示出一个)和一个或多个输出设备504(图5中仅示出一个)。存储器501、处理器502、输入设备503和输出设备504通过总线505连接。
应当理解,在本申请实施例中,所称处理器502可以是中央处理单元(Central Processing Unit,CPU),该处理器还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
输入设备503可以包括键盘、触控板、指纹采传感器(用于采集用户的指纹信息和指纹的方向信息)、麦克风等,输出设备504可以包括显示器、扬声器等。
存储器501可以包括只读存储器和随机存取存储器,并向处理器502提供指令和数据。存储器501的一部分或全部还可以包括非易失性随机存取存储器。例如,存储器501还可以存储设备类型的信息。
由上可见,通过本申请实施例,通过将各个区域的紧急号码存储在配置文件中,可使得非研发人员也能对各个区域的紧急号码进行维护,能够提升对移动终端中所内置的紧急号码的管理效率;并且,移动终端会在解析后将得到的目标紧急号码列表存储于数据库或其他可直接访问的文件中,提升后续调取目标紧急号码列表的速度及效率。
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将上述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。实施例中的各功能单元、模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中,上述集成 的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。另外,各功能单元、模块的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。上述系统中单元、模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者外部设备软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
在本申请所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的系统实施例仅仅是示意性的,例如,上述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通讯连接可以是通过一些接口,装置或单元的间接耦合或通讯连接,可以是电性,机械或其它的形式。
上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
上述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读存储介质中。基于这样的理解,本申请实现上述实施例方法中的全部或部分流程,也可以通过计算机程序来指令相关的硬件来完成,上述的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。其中,上述计算机程序包括计算机程序代码,上述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。上述计算机可读存储介质可以包括:能够携带上述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机可读存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、电载波信号、电信信号以及软件分发介质等。需要说明的是,上述计算机可读存储介质包含的内容可以根据司法管辖区内立法和专利实践的要求进行适当的增减,例如在某些司法管辖区,根据立法和专利实践,计算机可读存储介质不包括是电载波信号和电信信号。
以上上述实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围,均应包含在本申请的保护范围之内。

Claims (20)

  1. 一种数据管理方法,其特征在于,包括:
    对预设的配置文件进行解析,得到所述配置文件中所存储的各个区域的紧急号码列表;
    获取移动终端当前所处的区域;
    在所述各个区域的紧急号码列表中,筛选得到目标紧急号码列表,其中,所述目标紧急号码列表为与所述移动终端当前所处的区域相关的紧急号码列表;
    存储所述目标紧急号码列表。
  2. 如权利要求1所述的数据管理方法,其特征在于,所述对预设的配置文件进行解析,得到所述配置文件中所存储的各个区域的紧急号码列表,包括:
    当接收到输入的紧急呼叫请求时,对预设的配置文件进行解析,得到所述配置文件中所存储的各个区域的紧急号码列表。
  3. 如权利要求1所述的数据管理方法,其特征在于,所述对预设的配置文件进行解析,得到所述配置文件中所存储的各个区域的紧急号码列表,包括:
    当所述移动终端开机时,对预设的配置文件进行解析,得到所述配置文件中所存储的各个区域的紧急号码列表。
  4. 如权利要求1所述的数据管理方法,其特征在于,所述存储所述目标紧急号码列表,包括:
    将所述目标紧急号码列表存储于所述移动终端的预设数据库中。
  5. 如权利要求1所述的数据管理方法,其特征在于,所述获取移动终端当前所处的区域,包括:
    检测所述移动终端是否接入通信网路;
    若所述移动终端已接入通信网络,则通过所述通信网络对所述移动终端进行定位;
    基于定位结果,确定所述移动终端当前所处的区域。
  6. 如权利要求5所述的数据管理方法,其特征在于,在所述检测所述移动终端是否接入通信网路之后,还包括:
    若所述移动终端未接入通信网络,则接收输入的用户位置;
    基于所述输入的用户位置,确定所述移动终端当前所处的区域。
  7. 如权利要求1至6任一项所述的数据管理方法,其特征在于,在所述存储所述目标紧急号码列表之后,还包括:
    对所述配置文件的修改时间进行监控;
    当监控到所述配置文件的修改时间发生变化时,返回执行所述对预设的配置文件 进行解析,得到所述配置文件中所存储的各个区域的紧急号码列表的步骤,以实现对所述目标紧急号码列表的更新。
  8. 如权利要求1至6任一项所述的数据管理方法,其特征在于,在所述存储所述目标紧急号码列表之后,还包括:
    对所述移动终端当前所处的区域进行监控;
    当监控到所述移动终端当前所处的区域发生变化时,返回执行所述对预设的配置文件进行解析,得到所述配置文件中所存储的各个区域的紧急号码列表的步骤,以实现对所述目标紧急号码列表的更新。
  9. 如权利要求1至6任一项所述的数据管理方法,其特征在于,所述配置文件的格式为可扩展标记语言XML格式。
  10. 一种数据管理装置,其特征在于,包括:
    列表获取单元,用于对预设的配置文件进行解析,得到所述配置文件中所存储的各个区域的紧急号码列表;
    区域确定单元,用于获取移动终端当前所处的区域;
    列表筛选单元,用于在所述各个区域的紧急号码列表中,筛选得到目标紧急号码列表,其中,所述目标紧急号码列表为与所述移动终端当前所处的区域相关的紧急号码列表;
    列表存储单元,用于存储所述目标紧急号码列表。
  11. 一种移动终端,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现如下步骤:
    对预设的配置文件进行解析,得到所述配置文件中所存储的各个区域的紧急号码列表;
    获取移动终端当前所处的区域;
    在所述各个区域的紧急号码列表中,筛选得到目标紧急号码列表,其中,所述目标紧急号码列表为与所述移动终端当前所处的区域相关的紧急号码列表;
    存储所述目标紧急号码列表。
  12. 如权利要求11所述的移动终端,其特征在于,所述处理器执行所述计算机程序时,所述对预设的配置文件进行解析,得到所述配置文件中所存储的各个区域的紧急号码列表,包括:
    当接收到输入的紧急呼叫请求时,对预设的配置文件进行解析,得到所述配置文件中所存储的各个区域的紧急号码列表。
  13. 如权利要求11所述的移动终端,其特征在于,所述对预设的配置文件进行解析,得到所述配置文件中所存储的各个区域的紧急号码列表,包括:
    当所述移动终端开机时,对预设的配置文件进行解析,得到所述配置文件中所存储的各个区域的紧急号码列表。
  14. 如权利要求11所述的移动终端,其特征在于,所述处理器执行所述计算机程序时,所述存储所述目标紧急号码列表,包括:
    将所述目标紧急号码列表存储于所述移动终端的预设数据库中。
  15. 如权利要求11所述的移动终端,其特征在于,所述获取移动终端当前所处的区域,包括:
    检测所述移动终端是否接入通信网路;
    若所述移动终端已接入通信网络,则通过所述通信网络对所述移动终端进行定位;
    基于定位结果,确定所述移动终端当前所处的区域。
  16. 如权利要求15所述的移动终端,其特征在于,在所述检测所述移动终端是否接入通信网路之后,所述处理器执行所述计算机程序时还实现以下步骤:
    若所述移动终端未接入通信网络,则接收输入的用户位置;
    基于所述输入的用户位置,确定所述移动终端当前所处的区域。
  17. 如权利要求11至16任一项所述的移动终端,其特征在于,在所述存储所述目标紧急号码列表之后,所述处理器执行所述计算机程序时还实现以下步骤:
    对所述配置文件的修改时间进行监控;
    当监控到所述配置文件的修改时间发生变化时,返回执行所述对预设的配置文件进行解析,得到所述配置文件中所存储的各个区域的紧急号码列表的步骤,以实现对所述目标紧急号码列表的更新。
  18. 如权利要求11至16任一项所述的移动终端,其特征在于,在所述存储所述目标紧急号码列表之后,所述处理器执行所述计算机程序时还实现以下步骤:
    对所述移动终端当前所处的区域进行监控;
    当监控到所述移动终端当前所处的区域发生变化时,返回执行所述对预设的配置文件进行解析,得到所述配置文件中所存储的各个区域的紧急号码列表的步骤,以实现对所述目标紧急号码列表的更新。
  19. 如权利要求11至16任一项所述的移动终端,其特征在于,所述配置文件的格式为可扩展标记语言XML格式。
  20. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至9任一项所述方法的 步骤。
PCT/CN2018/118932 2018-12-03 2018-12-03 一种数据管理方法、数据管理装置及移动终端 WO2020113374A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2018/118932 WO2020113374A1 (zh) 2018-12-03 2018-12-03 一种数据管理方法、数据管理装置及移动终端
CN201880098813.5A CN112956216A (zh) 2018-12-03 2018-12-03 一种数据管理方法、数据管理装置及移动终端

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/118932 WO2020113374A1 (zh) 2018-12-03 2018-12-03 一种数据管理方法、数据管理装置及移动终端

Publications (1)

Publication Number Publication Date
WO2020113374A1 true WO2020113374A1 (zh) 2020-06-11

Family

ID=70974073

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/118932 WO2020113374A1 (zh) 2018-12-03 2018-12-03 一种数据管理方法、数据管理装置及移动终端

Country Status (2)

Country Link
CN (1) CN112956216A (zh)
WO (1) WO2020113374A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102014374A (zh) * 2010-11-26 2011-04-13 中兴通讯股份有限公司 一种预设文件的处理方法及移动终端
CN104105055A (zh) * 2013-04-11 2014-10-15 中国移动通信集团公司 一种通信处理方法及装置
US20150304830A1 (en) * 2014-04-17 2015-10-22 Spreadtrum Communications (Shanghai) Co., Ltd. Method and apparatus for processing emergency call of communication terminal
CN105848121A (zh) * 2016-03-25 2016-08-10 努比亚技术有限公司 漫游呼叫装置和方法
CN107343263A (zh) * 2017-06-26 2017-11-10 上海与德科技有限公司 一种紧急号码的呼叫方法及装置

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4019563B2 (ja) * 1999-07-27 2007-12-12 ソニー株式会社 移動体通信装置及び移動体通信方法
US20150223271A1 (en) * 2009-09-04 2015-08-06 Zomm, Llc Wireless security device and method to place emergency calls
CN105282723A (zh) * 2014-06-25 2016-01-27 小米科技有限责任公司 紧急呼叫控制方法和装置及紧急呼叫方法和装置
CN107302757A (zh) * 2017-06-26 2017-10-27 上海与德科技有限公司 紧急号码的呼叫方法及装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102014374A (zh) * 2010-11-26 2011-04-13 中兴通讯股份有限公司 一种预设文件的处理方法及移动终端
CN104105055A (zh) * 2013-04-11 2014-10-15 中国移动通信集团公司 一种通信处理方法及装置
US20150304830A1 (en) * 2014-04-17 2015-10-22 Spreadtrum Communications (Shanghai) Co., Ltd. Method and apparatus for processing emergency call of communication terminal
CN105848121A (zh) * 2016-03-25 2016-08-10 努比亚技术有限公司 漫游呼叫装置和方法
CN107343263A (zh) * 2017-06-26 2017-11-10 上海与德科技有限公司 一种紧急号码的呼叫方法及装置

Also Published As

Publication number Publication date
CN112956216A (zh) 2021-06-11

Similar Documents

Publication Publication Date Title
US9807218B2 (en) Method for filtering spam in electronic device and the electronic device
WO2016197461A1 (zh) 应用软件权限推荐方法、装置、系统及存储介质
CN109388671B (zh) 数据处理方法、装置、设备及存储介质
KR20170023746A (ko) 티켓 정보 표시 방법, 장치, 프로그램 및 컴퓨터가 판독가능한 기록매체
CN110134653B (zh) 一种利用日志辅助数据库审计方法及系统
CN109582547A (zh) 电子装置、监控数据告警方法及存储介质
US20190214000A1 (en) Systems and methods of interpreting speech data
CN108595965B (zh) 防止界面控件的属性信息被窃取的方法及其装置
CN108509541B (zh) 一种消息读取方法、消息读取装置及移动终端
CN109656592B (zh) 卡片管理方法、装置、终端及计算机可读存储介质
CN111782728A (zh) 一种数据同步方法、装置、电子设备及介质
CN112291419A (zh) 终端消息提醒显示的方法、装置、终端及计算机可读存储介质
CN106790380A (zh) 数据上报方法及装置
WO2018152978A1 (zh) 提醒更改账号绑定电话号码的方法及装置和计算机存储介质
WO2020113374A1 (zh) 一种数据管理方法、数据管理装置及移动终端
CN111124627B (zh) 应用程序的调起者确定方法、装置、终端及存储介质
US9813927B2 (en) Mobile terminal flow identification method and apparatus
CN113329117B (zh) 针对电话本应用中的电话记录数据的处理方法及装置
CN115617748A (zh) 物料清单信息解析方法、装置、设备及存储介质
CN106155736B (zh) 软件安装启动类型检测方法、装置及用户终端
KR20170054497A (ko) 정보 표시 방법, 단말 및 서버
CN113204558A (zh) 数据表结构自动更新方法和装置
CN111538746A (zh) 一种信息处理方法、装置、存储介质和设备
WO2014173129A1 (en) Mobile terminal flow identification method and apparatus
WO2016095500A1 (zh) 空中下载消息过滤的方法、装置及计算机存储介质

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 15.10.2021)

122 Ep: pct application non-entry in european phase

Ref document number: 18941963

Country of ref document: EP

Kind code of ref document: A1