Method, device, storage medium and server for updating emergency call data
Patent Information
- Application Number
- CN202210399935.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-15
- Publication Date
- 2026-08-28
- Estimated Expiration
- 2042-04-15
AI Technical Summary
[0003]有鉴于此,本发明实施例提供了一种更新紧急呼叫数据的方法、装置、存储介质和服务器,用以解决现有技术中紧急呼叫数据的更新效率降低的问题
[0037] The present invention provides a technical solution for updating emergency call data, including a method, apparatus, storage medium, and server. The method involves acquiring cell information of at least one cell, the cell information including a lifecycle state; identifying specific cell information from the at least one cell information, the lifecycle state of the specific cell information being a specific period state; generating a data modification script based on the specific cell information; and sending the data modification script to the core network so that the core network can update the emergency call data according to the data modification script, thereby improving the efficiency of emergency call data updates.
Smart Images

Figure CN116963033B_ABST
Abstract
Description
[Technical Field]
[0001] This invention relates to the field of communication technology, specifically to a method, apparatus, storage medium, and server for updating emergency call data. [Background Technology]
[0002] As network construction scales up, different network standards can coexist, increasing network complexity. Second-generation (2G), third-generation (3G), fourth-generation (4G), and the rapidly expanding fifth-generation (5G) networks all have different core networks, leading to significant differences in emergency identifier configuration methods. This places higher demands on the skills of technical personnel. Furthermore, with the diversification of services and changing user needs, the operations of adding, modifying, and deleting emergency identifiers for cells have become more frequent in routine maintenance. Current technology relies solely on staff to perform these operations, reducing the efficiency of updating emergency call data. [Summary of the Invention]
[0003] In view of this, embodiments of the present invention provide a method, apparatus, storage medium, and server for updating emergency call data, in order to solve the problem of reduced update efficiency of emergency call data in the prior art.
[0004] In a first aspect, embodiments of the present invention provide a method for updating emergency call data, comprising:
[0005] Obtain cell information for at least one cell, the cell information including lifecycle status;
[0006] Find specific cell information from at least one of the cell information, wherein the lifecycle state in the specific cell information is a specific cycle state;
[0007] Generate a data modification script based on specific cell information;
[0008] The data modification script is sent to the core network so that the core network can update the emergency call data according to the data modification script.
[0009] In one possible implementation, the specific cell information includes at least one first cell information, the specific period state is a first state, and before generating the data modification script based on the specific cell information, the method further includes:
[0010] Acquire at least one emergency identification data set;
[0011] The process of generating a data modification script based on specific cell information includes:
[0012] The data modification script is generated based on the center coordinates of multiple grid cells, at least one piece of information from the first cell, and at least one group of emergency identification data.
[0013] In one possible implementation, the specific cell information includes at least one second cell information, the specific period state is a network decommissioning state, and the step of generating a data modification script based on the specific cell information includes:
[0014] Generate a deletion instruction corresponding to each of the second cell information based on at least one of the second cell information;
[0015] The data modification script is generated based on at least one of the deletion instructions.
[0016] In one possible implementation, generating the data modification script based on the center coordinates of multiple grid cells, at least one piece of first cell information, and at least one set of emergency identification data includes:
[0017] Based on the center coordinates of the multiple grids and information of at least one first cell, a configuration data group corresponding to each first cell is generated;
[0018] A data modification script is generated based on at least one of the configuration data groups and the at least one emergency identification data group.
[0019] In one possible implementation, generating the data modification script based on at least one configuration data group and the at least one emergency identification data group includes:
[0020] From at least one of the emergency identification data groups, find the first emergency identification data group corresponding to the first configuration data group, wherein the user location information of the first emergency identification data group is the same as the user location information of the first configuration data group corresponding to the first emergency identification data group;
[0021] If any of the first configuration data groups is different from the first emergency identification data group corresponding to the first configuration data group, a modification instruction is generated based on the first configuration data group;
[0022] An add instruction is generated based on at least one second configuration data group, wherein the second configuration data group is at least one configuration data group other than the first configuration data group;
[0023] The data modification script is generated according to at least one of the said add instructions and at least one of the said modify instructions.
[0024] In one possible implementation, the cell information includes location coordinates, and the step of generating a configuration data group corresponding to each first cell based on the center location coordinates of the plurality of grids and at least one piece of first cell information includes:
[0025] Based on the center coordinates of the multiple grids and the location coordinates of each first cell, generate the district / county information corresponding to each first cell;
[0026] Based on the district / county information corresponding to each first cell and the first cell information of the first cell, a configuration data group corresponding to each first cell is generated.
[0027] In one possible implementation, before generating the district / county information corresponding to each first cell based on the center coordinates of the plurality of grids and the position coordinates of each first cell, the method further includes:
[0028] Based on the geographic information system map and district / county regions, the area to be located is divided into multiple grids, and the district / county regions include the area to be located.
[0029] Obtain the center position coordinates of each grid cell so that the center position coordinates of each grid cell correspond to the district / county information of the district / county region.
[0030] In a second aspect, embodiments of the present invention provide an apparatus for updating emergency call data, comprising:
[0031] The first acquisition module is used to acquire cell information of at least one cell, the cell information including lifecycle status;
[0032] A lookup module is used to find specific cell information from at least one of the cell information, wherein the lifecycle state in the specific cell information is a specific cycle state;
[0033] The first generation module is used to generate data modification scripts based on specific cell information;
[0034] The sending module is used to send the data modification script to the core network, so that the core network can update the emergency call data according to the data modification script.
[0035] Thirdly, embodiments of the present invention provide a storage medium comprising a stored program, wherein, when the program is executed, the device on which the storage medium is located executes the method for updating emergency call data as described in the first aspect or any possible implementation thereof.
[0036] Fourthly, embodiments of the present invention provide an electronic device, including a memory and a processor. The memory is used to store information including program instructions, and the processor is used to control the execution of the program instructions. When the program instructions are loaded and executed by the processor, they implement the steps of the method for updating emergency call data in the first aspect or any possible implementation of the first aspect.
[0037] The present invention provides a technical solution for updating emergency call data, including a method, apparatus, storage medium, and server. The method involves acquiring cell information of at least one cell, the cell information including a lifecycle state; identifying specific cell information from the at least one cell information, the lifecycle state of the specific cell information being a specific period state; generating a data modification script based on the specific cell information; and sending the data modification script to the core network so that the core network can update the emergency call data according to the data modification script, thereby improving the efficiency of emergency call data updates. [Attached Image Description]
[0038] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0039] Figure 1 A routing diagram for calling emergency special services provided in an embodiment of the present invention;
[0040] Figure 2 A flowchart illustrating a method for updating emergency call data provided in an embodiment of the present invention;
[0041] Figure 3 This is a schematic diagram of an automatic maintenance and update device provided in an embodiment of the present invention;
[0042] Figure 4 A flowchart illustrating another method for updating emergency call data provided in an embodiment of the present invention;
[0043] Figure 5 A flowchart illustrating a method for generating a data modification script, provided in an embodiment of the present invention;
[0044] Figure 6A flowchart illustrating another method for generating a data modification script provided in an embodiment of the present invention;
[0045] Figure 7 A flowchart illustrating another method for generating a data modification script provided in an embodiment of the present invention;
[0046] Figure 8 A flowchart illustrating another method for updating emergency call data provided in an embodiment of the present invention;
[0047] Figure 9 A flowchart illustrating another method for updating emergency call data provided in an embodiment of the present invention;
[0048] Figure 10 This is a schematic diagram of a device for updating emergency call data provided in an embodiment of the present invention;
[0049] Figure 11 This is a schematic diagram of a server provided in an embodiment of the present invention.
Detailed Implementation Methods
[0050] To better understand the technical solution of the present invention, the embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
[0051] It should be understood that the described embodiments are merely some, not all, of the embodiments of the present invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without inventive effort are within the scope of protection of the present invention.
[0052] The terminology used in the embodiments of this invention is for the purpose of describing particular embodiments only and is not intended to limit the invention. The singular forms “a,” “the,” and “the” as used in the embodiments of this invention and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise.
[0053] It should be understood that the term "and / or" used in this article is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Additionally, the character " / " in this article generally indicates that the preceding and following related objects have an "or" relationship.
[0054] It should be understood that although terms such as first, second, third, etc., may be used to describe numbers in embodiments of the present invention, these numbers should not be limited to these terms. These terms are only used to distinguish numbers from each other. For example, without departing from the scope of embodiments of the present invention, a first number may also be referred to as a second number, and similarly, a second number may also be referred to as a first number.
[0055] Depending on the context, the word "if" as used here can be interpreted as "when," "when," "in response to determination," or "in response to detection." Similarly, depending on the context, the phrase "if determination" or "if detection (of the stated condition or event)" can be interpreted as "when determination," "in response to determination," "when detection (of the stated condition or event)," or "in response to detection (of the stated condition or event)."
[0056] Emergency call services refer to emergency special services provided to users on the telecommunications network, such as fire alarms, police calls, medical emergencies, and traffic accident reports. Common emergency numbers include 110, 119, and 120. Currently, all operators' emergency call services comply with the "Route and Technical Implementation Requirements for Emergency Special Service Calls between Public Telecommunications Networks" issued by the former Ministry of Information Industry in 2005. Whether a user is a fixed-line or mobile user, they can dial a unified emergency number, ensuring their emergency call signal is connected to the nearest emergency call center.
[0057] When the emergency special services platform is not internally networked, calls to the platform should be routed by the telecommunications operator's exchange to ensure that emergency calls are routed to the appropriate platform. If the emergency special services platform is internally networked, the telecommunications operator only needs to route the corresponding emergency special services calls to that platform.
[0058] Within the local network, the numbers “XX” or “X” can be used as identifiers for the direction of emergency special services (hereinafter referred to as emergency identifiers). “XX” or “X” are emergency identifiers specified by the management department for each county (district), and X can be a natural number.
[0059] According to the scheme stipulated by the telecommunications regulatory authority, each telecommunications service operator shall have its originating telecommunications service operator's exchange add "XX" or "X" to the end of the emergency special service number as specified above, and then send it through its own gateway to the gateway office of the telecommunications service operator undertaking the transfer obligation. The gateway office of the telecommunications operator undertaking the transfer obligation identifies the different cities and counties (districts) where the caller is located by identifying the suffix "XX" or "X" of the emergency special service number, and transfers the emergency special service to the emergency special service platform of the county (district) where the caller is located; if the gateway office of the telecommunications service operator undertaking the transfer obligation receives an emergency special service number without a suffix, it shall connect to the emergency special service platform of the nearest gateway office (regional center).
[0060] Figure 1 A routing diagram for calling emergency special services provided in an embodiment of the present invention, such as... Figure 1 As shown, Figure 1The diagram shows the regional center, emergency platforms in multiple counties, user electronic devices, and exchange bureaus of other enterprises. The regional center includes gateway bureaus of other enterprises and gateway bureaus of enterprises undertaking switching obligations. The emergency platforms in multiple counties include emergency platforms in County 1, County 2, and County 3. The emergency platform in County 1 is primarily used to receive services with an emergency identifier of 01, the emergency platform in County 2 is primarily used to receive services with an emergency identifier of 02, and the emergency platform in County 3 is primarily used to receive services with an emergency identifier of 03. Figure 1 The diagram illustrates a user dialing the emergency number 120 via an electronic device. Upon receiving the emergency number, the exchange of another company adds an emergency identifier (03) to the emergency number 120 based on the user's location as County 3. The other company's exchange then forwards the emergency call with the emergency identifier 03 to the gateway exchange of another company in the regional center. The gateway exchange of the other company forwards the emergency call with the emergency identifier 03 to the gateway exchange of the company undertaking the forwarding obligation. The gateway exchange of the company undertaking the forwarding obligation, based on the emergency identifier 03 and the corresponding emergency identifier 03 in County 3, forwards the emergency call to the emergency platform of County 3.
[0061] Currently, the core network can configure an emergency identifier for any region. For example, the core network identifies different districts and counties by setting different emergency areas (EA); by configuring the emergency identifier corresponding to EA, the emergency identifier corresponding to different districts and counties is configured.
[0062] The core network can define one or more Location Area Codes (LACs) or Tracking Area Codes (TACs) as the primary coverage LAC or primary coverage TAC for a district or county. Based on the coverage area of the LAC or TAC, an emergency identifier corresponding to the coverage area of one or more LACs or TACs is configured, thus configuring the emergency identifier for the district or county. Cells within the coverage area of the LAC or TAC will use the emergency identifier configured by the core network as the emergency identifier for their respective district or county. When the coverage area of any LAC or TAC spans two or more districts or counties, staff need to configure the emergency identifier for the district or county where the cell is located for cells not within the coverage area of the primary coverage LAC or primary coverage TAC through the core network, reducing the efficiency of updating emergency call data.
[0063] To improve the efficiency of updating emergency call data, this invention provides a method for updating emergency call data. Figure 2 A flowchart illustrating a method for updating emergency call data provided in an embodiment of the present invention is shown below. Figure 2 As shown, the method includes:
[0064] Step 101: Obtain cell information for at least one cell, including the cell lifecycle status.
[0065] In this embodiment of the invention, the lifecycle state includes a first state, a decommissioning state, and an engineering state, wherein the first state includes an on-the-ground state or a temporary decommissioning state. Cell information also includes at least one of the following: network element name in the network management system, location information, base station information, network entry time, Evolved Universal Terrestrial Radio Access Network Cell Global Identifier (E-CGI), location area code information, and boundary cell type, wherein the location information includes longitude and latitude data. The network entry time is the time the cell is entered into the integrated resource management system or the planned activation time of the cell. The E-CGI is a unique QR code used to identify the cell, composed of the mobile country code, mobile network code, Evolved Node B Identifier (ENODEBID), and caller ID (CELLID). The location area code is used to identify different location areas; the location area code information is LAC or TAC. The boundary cell type is used to identify whether the cell is a boundary cell.
[0066] Currently, network operators possess equipment including a network management system, an integrated resource management system, and a core network system. The integrated resource management system includes cell information for at least one cell. The network element names in the cell information are the same as the cell names in the network management system. If the network management system modifies the cell name of any cell, the integrated resource management system will simultaneously modify the network element names in the network management system for that cell. The core network system includes at least one emergency identification data group. Figure 3 This is a schematic diagram of an automatic maintenance and update device provided in an embodiment of the present invention, as shown below. Figure 3 As shown, Figure 3 The diagram illustrates a network management system, an integrated resource management system, a server, and a core network system. The network management system is connected to the integrated resource management system, which in turn is connected to the server, and the server is connected to the core network system. This achieves interconnectivity between the network management system and the integrated resource management system, between the integrated resource management system and the server, and between the core network system and the server. The server collects cell information from at least one cell from the integrated resource management system.
[0067] Step 102: Find the specific cell information from at least one cell information, where the lifecycle state in the specific cell information is the specific cycle state.
[0068] In this embodiment of the invention, if the specific cell information includes at least one first cell information, then the lifecycle state in the specific cell information is the first state in the at least one first cell information; if the specific cell information includes at least one second cell information, then the lifecycle state in the specific cell information is the decommissioning state in the at least one second cell information; if the specific cell information includes at least one first cell information and at least one second cell information, then the lifecycle state in the specific cell information is the first state in the at least one first cell information and the decommissioning state in the at least one second cell information.
[0069] Step 103: Generate a data modification script based on specific cell information.
[0070] In this embodiment of the invention, when the specific cell information includes at least one first cell information, the server generates a data modification script based on the center coordinates of multiple grid cells, at least one first cell information, and at least one emergency identification data set. When the specific cell information includes at least one second cell information, the server generates a data modification script based on at least one second cell information. When the specific cell information includes at least one first cell information and at least one second cell information, the server generates a data modification script based on the center coordinates of multiple grid cells, at least one first cell information, at least one emergency identification data set, and at least one second cell information.
[0071] Step 104: Send the data modification script to the core network so that the core network can update the emergency call data according to the data modification script.
[0072] In this embodiment of the invention, after step 104, the core network receives a data modification script sent by the server. At least one emergency identification data group is updated according to the data modification script, saving manpower.
[0073] This invention provides a method for updating emergency call data, comprising: acquiring cell information of at least one cell, the cell information including a lifecycle state; identifying specific cell information from the at least one cell information, wherein the lifecycle state in the specific cell information is a specific cycle state; generating a data modification script based on the specific cell information; and sending the data modification script to the core network so that the core network can update the emergency call data according to the data modification script, thereby improving the efficiency of emergency call data updating.
[0074] Figure 4 A flowchart of another method for updating emergency call data provided in an embodiment of the present invention is shown below. Figure 4 As shown, the method includes:
[0075] Step 201: Obtain cell information and at least one emergency identification data set for at least one cell. The cell information includes lifecycle status.
[0076] In this embodiment of the invention, at least one cell information includes at least one first cell information and at least one third cell information; wherein, the lifecycle state of the first cell information is a first state, and the lifecycle state of the third cell information is an engineering state. At least one cell includes at least one first cell and at least one third cell; wherein, the lifecycle state of the first cell is a first state, and the lifecycle state of the third cell is an engineering state.
[0077] Step 202: Find at least one first cell information from at least one cell information. The lifecycle state of the first cell information is the first state.
[0078] In this embodiment of the invention, the lifecycle state includes a first state or an engineering state, wherein the first state includes an online state or a temporary offline state. The lifecycle state of the first cell information is either an online state or a temporary offline state.
[0079] Step 203: Generate a data modification script based on the center coordinates of multiple grids, at least one first cell information and at least one emergency identification data group.
[0080] In this embodiment of the invention, Figure 5 A flowchart illustrating a method for generating a data modification script provided in an embodiment of the present invention is shown below. Figure 5 As shown, step 203 may specifically include:
[0081] Step 2031: Generate a configuration data group corresponding to each first cell based on the center position coordinates of multiple grids and at least one first cell information.
[0082] In this embodiment of the invention, Figure 6 A flowchart of another method for generating a data modification script provided in an embodiment of the present invention is shown below. Figure 6 As shown, step 2031 may specifically include:
[0083] Step 2031a: Generate district / county information corresponding to each first cell based on the center coordinates of multiple grids and the location coordinates of each first cell. The cell information includes location coordinates.
[0084] In this embodiment of the invention, step 2031a includes: the server calculating the location coordinates of the first cell and the center coordinates of each grid using the minimum Euclidean distance formula, generating a first distance corresponding to the center coordinates of each grid; finding the minimum distance among multiple first distances; obtaining the center coordinates corresponding to the minimum distance; and generating the district / county information corresponding to the first cell based on the correspondence between the center coordinates and district / county information. For example, the location information of the cell includes the longitude and latitude data of the cell. The minimum Euclidean distance formula is... Where (x1, y1) are the location coordinates of the cell, x1 is the longitude data of the cell, and y1 is the latitude data of the cell; (x2, y2) are the center coordinates of any grid cell, x2 is the longitude data of the grid cell, and y2 is the latitude data of the grid cell.
[0085] Before step 2031a, the method further includes: dividing the area to be located into multiple grids based on the geographic information system map and the district / county area, wherein the district / county area includes the area to be located; obtaining the center coordinates of each grid so that the center coordinates of each grid correspond to the district / county information of the district / county area.
[0086] In this embodiment of the invention, the server selects any area within a district / county region as the area to be located; based on the geographic information system map and the district / county region, it divides the area to be located into multiple grids using the Mercator projection algorithm; it obtains the center coordinates of each grid; and it determines the grid number of each grid so that the grid number corresponds to the district / county information of the district / county region. The size of the grid can be proportional to the resolution of the geographic information system map. For example, the ratio of the grid size to the resolution of the geographic information system map can be 1. When the map resolution is 5 meters × 5 meters, the grid size is 5 meters × 5 meters.
[0087] Step 2031b: Generate a configuration data group corresponding to each first cell based on the district / county information and the first cell information of each first cell.
[0088] In this embodiment of the invention, the district / county information includes at least one of the following: country code, city / district code, area code, and region code. The cell information also includes at least one of the following: E-CGI and location area code. The configuration data group includes at least one of the following: location area code mapping name, user location information, country code, area code, and region code. The server generates a location area code mapping name based on the city / district code and location area code; generates user location information based on the E-CGI; and generates the configuration data group corresponding to the first cell based on the location area code mapping name, user location information, country code, area code, and region code.
[0089] Step 2032: Generate a data modification script based on at least one configuration data group and at least one emergency identification data group.
[0090] In this embodiment of the invention, Figure 7 A flowchart of another method for generating a data modification script provided in an embodiment of the present invention is shown below. Figure 7 As shown, step 2032 may specifically include:
[0091] Step 2032a: Find the first emergency identification data group corresponding to the first configuration data group from at least one emergency identification data group. The user location information of the first emergency identification data group is the same as the user location information of the first configuration data group corresponding to the first emergency identification data group.
[0092] In this embodiment of the invention, the server obtains user location information from any configuration data group; if, from the user location information of at least one emergency identification data group, the user location information of an emergency identification data group that is the same as the user location information of the configuration data group is found, then the configuration data group is the first configuration data group, and the emergency identification data group is the first emergency identification data group.
[0093] Step 2032b: If any first configuration data group is different from the first emergency identification data group corresponding to the first configuration data group, then generate a modification instruction based on the first configuration data group.
[0094] In this embodiment of the invention, the server determines whether the first configuration data group and the first emergency identification data group corresponding to the first configuration data group are the same; if it is determined that the first configuration data group and the first emergency identification data group corresponding to the first configuration data group are the same, then step 1061 is executed; if it is determined that the first configuration data group and the first emergency identification data group corresponding to the first configuration data group are different, then a modification instruction is generated according to the first configuration data group, and the modification instruction includes user location information.
[0095] Step 2032c: Generate an add instruction based on at least one second configuration data group, wherein the second configuration data group is a configuration data group other than the first configuration data group among at least one configuration data group.
[0096] In this embodiment of the invention, if the server cannot find user location information for an emergency identification data group that is identical to the user location information for a configuration data group from the user location information of at least one emergency identification data group, then the configuration data group is designated as the second configuration data group.
[0097] Step 2032d: Generate a data modification script based on at least one add instruction and at least one delete instruction.
[0098] In this embodiment of the invention, the data modification script includes at least one add instruction and at least one modify instruction.
[0099] Step 204: Send the data modification script to the core network so that the core network can update the emergency call data according to the data modification script.
[0100] This invention provides a method for updating emergency call data, comprising: acquiring cell information of at least one cell, the cell information including a lifecycle state; identifying specific cell information from the at least one cell information, wherein the lifecycle state in the specific cell information is a specific cycle state; generating a data modification script based on the specific cell information; and sending the data modification script to the core network so that the core network can update the emergency call data according to the data modification script, thereby improving the efficiency of emergency call data updating.
[0101] Figure 8 A flowchart of another method for updating emergency call data provided in an embodiment of the present invention is shown below. Figure 8 As shown, the method includes:
[0102] Step 301: Obtain cell information for at least one cell, including the lifecycle status.
[0103] In this embodiment of the invention, the cell information includes at least one second cell and at least one third cell, wherein the lifecycle status of the second cell is a decommissioned state, and the lifecycle status of the third cell is an engineering state. At least one cell includes at least one second cell and at least one third cell, wherein the lifecycle status of the second cell is a decommissioned state, and the lifecycle status of the third cell is an engineering state.
[0104] Step 302: Find the second cell information from at least one cell information. The lifecycle status of the second cell information is the decommissioning status.
[0105] Step 303: Generate a deletion instruction corresponding to each second cell based on at least one second cell information.
[0106] In this embodiment of the invention, the cell information includes E-CGI. The server generates a deletion instruction corresponding to each second cell based on the E-CGI of each second cell. The deletion instruction includes E-CGI.
[0107] Step 304: Generate a data modification script based on at least one deletion instruction.
[0108] In this embodiment of the invention, the data modification script includes at least one deletion instruction.
[0109] Step 305: Send the data modification script to the core network so that the core network can update the emergency call data according to the data modification script.
[0110] This invention provides a method for updating emergency call data, comprising: acquiring cell information of at least one cell, the cell information including a lifecycle state; identifying specific cell information from the at least one cell information, wherein the lifecycle state in the specific cell information is a specific cycle state; generating a data modification script based on the specific cell information; and sending the data modification script to the core network so that the core network can update the emergency call data according to the data modification script, thereby improving the efficiency of emergency call data updating.
[0111] Figure 9 A flowchart of another method for updating emergency call data provided in an embodiment of the present invention is shown below. Figure 9 As shown, the method includes:
[0112] Step 401: Obtain cell information and at least one emergency identification data set for at least one cell. The cell information includes lifecycle status.
[0113] In this embodiment of the invention, the cell information includes at least one first cell information and at least one second cell information, and also includes at least one third cell information. The lifecycle state of the first cell information is a first state, the lifecycle state of the second cell information is a decommissioned state, and the lifecycle state of the third cell information is an engineering state. At least one cell includes at least one first cell and at least one second cell, and also includes at least one third cell. The lifecycle state of the first cell is a first state, the lifecycle state of the second cell is a decommissioned state, and the lifecycle state of the third cell is an engineering state.
[0114] Step 402: Find the first cell information and the second cell information from at least one cell information. The life cycle status of the first cell information is the first state, and the life cycle status of the second cell information is the decommissioning state.
[0115] In this embodiment of the invention, step 402 can be referred to Figure 4 Step 202 in the illustrated embodiment and Figure 4 Step 302 in the illustrated embodiment.
[0116] Step 403: Generate a data modification script based on the center coordinates of multiple grids, at least one first cell information, at least one emergency identification data group, and at least one second cell information.
[0117] In this embodiment of the invention, step 403 can be referred to Figure 5 In steps 2031 to 2032 of the illustrated embodiment, the server generates at least one add instruction and at least one modify instruction based on the acquired center coordinates of multiple grids, at least one first cell information, and at least one emergency identification data group; and refers to Figure 8 In step 303 of the illustrated embodiment, the server generates at least one deletion instruction based on at least one second cell information. The server generates a data modification script based on at least one add instruction, at least one modify instruction, and at least one delete instruction.
[0118] Step 404: Send the data modification script to the core network so that the core network can update the emergency call data according to the data modification script.
[0119] This invention provides a method for updating emergency call data, comprising: acquiring cell information of at least one cell, the cell information including a lifecycle state; identifying specific cell information from the at least one cell information, wherein the lifecycle state in the specific cell information is a specific cycle state; generating a data modification script based on the specific cell information; and sending the data modification script to the core network so that the core network can update the emergency call data according to the data modification script, thereby improving the efficiency of emergency call data updating.
[0120] Figure 10 This is a schematic diagram of a device for updating emergency call data provided in an embodiment of the present invention, as shown below. Figure 10 As shown, the device includes: a first acquisition module 10, a search module 11, a first generation module 12, and a sending module 13.
[0121] The first acquisition module 10 is connected to the search module 11, the search module 11 is connected to the first generation module 12, and the first generation module 12 is connected to the sending module 13.
[0122] The first acquisition module 10 is used to acquire cell information of at least one cell, the cell information including lifecycle status; the search module 11 is used to search for specific cell information from the at least one cell information, the lifecycle status in the specific cell information being a specific cycle status; the first generation module 12 is used to generate a data modification script based on the specific cell information; the sending module 13 is used to send the data modification script to the core network, so that the core network can update the emergency call data according to the data modification script.
[0123] In this embodiment of the invention, the device further includes a second acquisition module 14. The second acquisition module 14 is connected to the first generation module 12. The second acquisition module 14 is used to acquire at least one emergency identification data group. The specific cell information includes at least one first cell information, and the specific period state is a first state. The first generation module 12 is specifically used to generate the data modification script based on the acquired center position coordinates of multiple grids, at least one first cell information, and at least one emergency identification data group.
[0124] In this embodiment of the invention, the specific cell information includes at least one second cell information, the specific period state is the network decommissioning state, and the first generation module 12 includes: a first generation submodule 121 and a second generation submodule 122. The first generation submodule 121 and the second generation submodule 122 are connected.
[0125] The first generation submodule 121 is used to generate a deletion instruction corresponding to each of the second cell information based on at least one of the second cell information; the second generation submodule 122 is used to generate the data modification script based on at least one of the deletion instructions.
[0126] In this embodiment of the invention, the first generation module 12 is specifically used to generate a configuration data group corresponding to each first cell based on the center position coordinates of the plurality of grids and at least one first cell information; and to generate a data modification script based on at least one configuration data group and at least one emergency identification data group.
[0127] In this embodiment of the invention, the first generation module 12 is specifically configured to: find the first emergency identification data group corresponding to the first configuration data group from at least one of the emergency identification data groups, wherein the user location information of the first emergency identification data group is the same as the user location information of the first configuration data group corresponding to the first emergency identification data group; if any of the first configuration data groups is different from the first emergency identification data group corresponding to the first configuration data group, then generate a modification instruction based on the first configuration data group; generate an addition instruction based on at least one second configuration data group, wherein the second configuration data group is a configuration data group other than the first configuration data group among at least one configuration data group; and generate the data modification script based on at least one addition instruction and at least one modification instruction.
[0128] In this embodiment of the invention, the first generation module 12 is specifically used to generate district / county information corresponding to each first cell based on the center position coordinates of the plurality of grids and the position coordinates of each first cell; and to generate configuration data group corresponding to each first cell based on the district / county information corresponding to each first cell and the first cell information of the first cell.
[0129] In this embodiment of the invention, the device further includes a division module 15 and a third acquisition module 16. The division module 15 is connected to the third acquisition module 16, and the third acquisition module 16 is connected to the first generation module 12.
[0130] The segmentation module 15 is used to divide the area to be located into multiple grids according to the geographic information system map and the district / county area, wherein the district / county area includes the area to be located; the third acquisition module 16 is used to acquire the center position coordinates of each grid so that the center position coordinates of each grid correspond to the district / county information of the district / county area.
[0131] In this embodiment of the invention, the first generation module 12 is specifically used to calculate the location coordinates of the first cell and the center location coordinates of each grid using the minimum Euclidean distance formula, and generate a first distance corresponding to the center location coordinates of each grid; find the minimum distance among the multiple first distances; obtain the center location coordinates corresponding to the minimum distance; and generate the district / county information corresponding to the first cell according to the correspondence between the center location coordinates and the district / county information.
[0132] In this embodiment of the invention, the first state includes being online or temporarily offline.
[0133] This invention provides an apparatus for updating emergency call data, comprising: acquiring cell information of at least one cell, the cell information including a lifecycle state; identifying specific cell information from the at least one cell information, wherein the lifecycle state in the specific cell information is a specific cycle state; generating a data modification script based on the specific cell information; and sending the data modification script to the core network so that the core network can update the emergency call data according to the data modification script, thereby improving the efficiency of emergency call data updating.
[0134] This invention provides a storage medium that includes a stored program. When the program runs, it controls the device where the storage medium is located to execute the steps of the above-described method for updating emergency call data. For a detailed description, please refer to the above-described method for updating emergency call data.
[0135] This invention provides a server, including a memory and a processor. The memory is used to store information including program instructions, and the processor is used to control the execution of the program instructions. When the program instructions are loaded and executed by the processor, they implement the steps of the above-described method for updating emergency call data. For a detailed description, please refer to the above-described method for updating emergency call data.
[0136] Figure 11 This is a schematic diagram of a server provided as an embodiment of the present invention. (See diagram below.) Figure 11As shown, the server 30 in this embodiment includes a processor 31, a memory 32, and a computer program 33 stored in the memory 32 and executable on the processor 31. When the computer program 33 is executed by the processor 31, it implements the method for updating emergency call data in the embodiment. To avoid repetition, it will not be described in detail here. Alternatively, when the computer program is executed by the processor 31, it implements the functions of each model / unit in the device for updating emergency call data in the embodiment. To avoid repetition, it will not be described in detail here.
[0137] Server 30 includes, but is not limited to, processor 31 and memory 32. Those skilled in the art will understand that... Figure 11 This is merely an example of server 30 and does not constitute a limitation on server 30. It may include more or fewer components than shown, or combine certain components, or different components. For example, server 30 may also include input / output devices, network access devices, buses, etc.
[0138] The processor 31 may be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor.
[0139] The memory 32 can be an internal storage unit of the server 30, such as the hard drive or RAM of the server 30. The memory 32 can also be an external storage device of the server 30, such as a plug-in hard drive, Smart Media Card (SMC), Secure Digital (SD) card, or Flash Card equipped on the server 30. Furthermore, the memory 32 can include both internal and external storage units of the server 30. The memory 32 is used to store computer programs and other programs and data required by the server 30. The memory 32 can also be used to temporarily store data that has been output or will be output.
[0140] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0141] In the embodiments provided by this invention, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection between devices or units through some interfaces, and may be electrical, mechanical, or other forms.
[0142] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0143] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or in the form of hardware plus software functional units.
[0144] The integrated units implemented as software functional units described above can be stored in a computer-readable storage medium. These software functional units, stored in a storage medium, include several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute some steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0145] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. A method for updating emergency call data, characterized in that, include: Obtain cell information for at least one cell, the cell information including lifecycle status; Find specific cell information from at least one of the cell information, wherein the lifecycle state in the specific cell information is a specific cycle state; wherein the specific cell information includes at least one first cell information, and the specific cycle state is a first state, the first state including a network status or a temporary network shutdown status; Acquire at least one emergency identification data set; A data modification script is generated based on the center coordinates of multiple grid cells, at least one piece of information from the first cell, and at least one group of emergency identification data. The data modification script is sent to the core network so that the core network can update the emergency call data according to the data modification script; The step of generating the data modification script based on the center coordinates of multiple grid cells, at least one piece of first cell information, and at least one emergency identification data group includes: Based on the center coordinates of the multiple grids and information of at least one first cell, a configuration data group corresponding to each first cell is generated; Generate a data modification script based on at least one of the configuration data groups and at least one emergency identification data group; The step of generating a data modification script based on at least one configuration data group and at least one emergency identification data group includes: From at least one of the emergency identification data groups, find the first emergency identification data group corresponding to the first configuration data group, wherein the user location information of the first emergency identification data group is the same as the user location information of the first configuration data group corresponding to the first emergency identification data group; If any of the first configuration data groups is different from the first emergency identification data group corresponding to the first configuration data group, a modification instruction is generated based on the first configuration data group; An add instruction is generated based on at least one second configuration data group, wherein the second configuration data group is at least one configuration data group other than the first configuration data group; The data modification script is generated according to at least one of the said add instructions and at least one of the said modify instructions.
2. The method according to claim 1, characterized in that, The specific cell information includes at least one second cell information, the specific period state is a network decommissioning state, and the method further includes: Generate a deletion instruction corresponding to each of the second cell information based on at least one of the second cell information; The data modification script is generated based on at least one of the deletion instructions.
3. The method according to claim 1, characterized in that, The cell information includes location coordinates. The step of generating a configuration data group corresponding to each first cell based on the center coordinates of the plurality of grids and at least one piece of first cell information includes: Based on the center coordinates of the multiple grids and the location coordinates of each first cell, generate the district / county information corresponding to each first cell; Based on the district / county information corresponding to each first cell and the first cell information of the first cell, a configuration data group corresponding to each first cell is generated.
4. The method according to claim 3, characterized in that, Before generating the district / county information corresponding to each first cell based on the center coordinates of the plurality of grids and the position coordinates of each first cell, the method further includes: Based on the geographic information system map and district / county regions, the area to be located is divided into multiple grids, and the district / county regions include the area to be located. Obtain the center position coordinates of each grid cell so that the center position coordinates of each grid cell correspond to the district / county information of the district / county region.
5. A device for updating emergency call data, characterized in that, include: The first acquisition module is used to acquire cell information of at least one cell, the cell information including lifecycle status; A lookup module is used to find specific cell information from at least one of the cell information, wherein the lifecycle state in the specific cell information is a specific cycle state; wherein the specific cell information includes at least one first cell information, and the specific cycle state is a first state, which includes a network status or a temporary network disconnection status; The first generation module is used to acquire at least one emergency identification data group; and to generate a data modification script based on the acquired center coordinates of multiple grids, at least one piece of information from the first cell, and at least one of the emergency identification data groups. The sending module is used to send the data modification script to the core network, so that the core network can update the emergency call data according to the data modification script; The first generation module is specifically used to generate a configuration data group corresponding to each first cell based on the center position coordinates of the multiple grids and at least one first cell information; Generate a data modification script based on at least one of the configuration data groups and at least one emergency identification data group; The first generation module is specifically used to find the first emergency identification data group corresponding to the first configuration data group from at least one of the emergency identification data groups, wherein the user location information of the first emergency identification data group is the same as the user location information of the first configuration data group corresponding to the first emergency identification data group. If any of the first configuration data groups is different from the first emergency identification data group corresponding to the first configuration data group, a modification instruction is generated based on the first configuration data group; An add instruction is generated based on at least one second configuration data group, wherein the second configuration data group is at least one configuration data group other than the first configuration data group; The data modification script is generated according to at least one of the said add instructions and at least one of the said modify instructions.
6. A storage medium, characterized in that, The storage medium includes a stored program, wherein, when the program is executed, it controls the device containing the storage medium to perform the method for updating emergency call data as described in any one of claims 1 to 4.
7. A server comprising a memory and a processor, the memory for storing information including program instructions, and the processor for controlling the execution of the program instructions, characterized in that, When the program instructions are loaded and executed by the processor, they implement the method steps for updating emergency call data as described in any one of claims 1 to 4.
Citation Information
Patent Citations
PCRF position script updating method and device, equipment and storage medium
CN110677544A