WO2017219177A1 - Identifier mapping method and system - Google Patents

Identifier mapping method and system Download PDF

Info

Publication number
WO2017219177A1
WO2017219177A1 PCT/CN2016/086359 CN2016086359W WO2017219177A1 WO 2017219177 A1 WO2017219177 A1 WO 2017219177A1 CN 2016086359 W CN2016086359 W CN 2016086359W WO 2017219177 A1 WO2017219177 A1 WO 2017219177A1
Authority
WO
WIPO (PCT)
Prior art keywords
user equipment
identifier
real
information
location information
Prior art date
Application number
PCT/CN2016/086359
Other languages
French (fr)
Chinese (zh)
Inventor
刘志敏
孔涛
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2016/086359 priority Critical patent/WO2017219177A1/en
Publication of WO2017219177A1 publication Critical patent/WO2017219177A1/en

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
    • H04W4/029Location-based management or tracking services
    • 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 invention relates to the field of communications, and in particular, to a method and system for mapping user identifiers.
  • LBS Location Based Service
  • LaaS Location Information as a Service
  • LBS basic location service
  • LIS Location Insight Service
  • the basic location service is directly open based on location data, such as acquiring real-time/historical single-point location points of specific users, acquiring real-time/historical multi-point locations (trajectories), geo-fencing, etc., and the ability to open basic location services can be supported. Two sub-scenes of real-time location and historical location.
  • Advanced location analysis mainly analyzes and excavates the location points of specific time, space and crowds, establishes the population movement trajectory model, completes regional analysis, path analysis, crowd location attribute mining, etc. Advanced location analysis can also support real-time location and historical location. Two scenarios.
  • the location capability is open, and the core network needs to provide an identity mapping application programming interface (API) to support local applications.
  • API application programming interface
  • the centralized deployment-operator gateway mode location capability requires the carrier gateway itself to provide identity mapping capability.
  • the real-time location information and the information required for the identity mapping are in the core network device, such as a PGW (packet data network gateway), a mobility management entity (Mobility Management Entity, MME), and the like. Distribution, but based on security considerations, The PGW and the MME do not support providing an open interface to a third-party application device or a third-party application (Application, APP) installed on the third-party application device, and the service anchor point opened by the base station side to the third-party application device is only The third-party application device provides the temporary identifier and the location information of the user equipment, and does not provide the permanent identifier information of the user equipment, so that the third-party application device cannot obtain the real-time location information of the user according to the user identifier.
  • PGW packet data network gateway
  • MME mobility management entity
  • MME mobility management entity
  • Distribution but based on security considerations, The PGW and the MME do not support providing an open interface to a third-party application device or a third
  • the present invention provides a method and system for identifying a mapping, and establishing a mapping relationship between a temporary identifier of a user equipment and a permanent identifier, so that the third-party application device obtains real-time location information of the user equipment according to the identifier of the user equipment.
  • the present invention provides a method for identifying a mapping, the method comprising: a unified intelligent center receiving first network information sent by a core network device (which may include one or more devices in a PGW, an MME, or a serving gateway SGW),
  • the data information includes a temporary identifier of the user equipment and a permanent identifier of the user equipment;
  • the unified intelligent center establishes an identifier mapping relationship between the temporary identifier and the permanent identifier according to the first data information; and the unified intelligent center receives the second data information sent by the service anchor point.
  • the second data information includes a temporary identifier of the user equipment and real-time location information of the user equipment; the unified intelligent center associates the permanent identifier of the user equipment with the real-time location information according to the identifier mapping relationship and the temporary identifier in the second data information, and The real-time location information of the user equipment is saved, so that the third-party application device obtains the location information of the user equipment according to the temporary identifier or the permanent identifier of the user equipment.
  • the location information of the user equipment may include real-time location information of the user equipment and historical location information of the user equipment.
  • the identifier mapping method provided by the present invention establishes the mapping relationship between the temporary identifier of the user equipment and the permanent identifier by the unified intelligent center, and according to the identifier mapping relationship of the user equipment and the user in the second data information received from the service anchor point.
  • the temporary identifier of the device, the permanent identifier of the user equipment and the real-time bit of the user equipment corresponding to the temporary identifier of the user equipment received from the service anchor The information is associated with the third-party application device to obtain the real-time location information or historical location information of the user equipment according to the permanent identifier or the temporary identifier of the user equipment, that is, the real-time user number in the area is obtained according to the area information, and the specified area is entered or left. amount of users.
  • the method further includes:
  • the unified intelligent center performs the first scheduling processing on the real-time location information of the saved user equipment, and the first scheduling processing is performed on the saved user equipment according to the requirements of the third-party application device, or according to the needs of the user of the third-party application device.
  • the real-time location information is logically arranged, and the corresponding logical orchestration interface (or the calling interface) is obtained, so that the third-party application device obtains the location information of the user equipment according to the temporary identifier or the permanent identifier of the user equipment.
  • the method is convenient for the third-party application device to obtain the location information of the user equipment, and the third-party application device can obtain the real-time location information or historical location information of the user equipment directly through the arranged call interface according to the requirement.
  • the method further includes:
  • the unified intelligent center receives the real-time location call request sent by the third-party application device, and the real-time location call request carries the temporary identifier or permanent identifier of the user equipment; the unified intelligent center acquires the real-time location information of the user equipment according to the real-time location call request; The real-time location information of the obtained user equipment is sent to the third-party application device, or the unified smart center stores the acquired real-time location information of the user equipment in the first storage space, and sends the address information of the first storage space to the third party.
  • the device is configured to obtain the real-time location information of the user equipment according to the address information of the first storage space.
  • the unified intelligent center acquires the location information of the user equipment according to the real-time location call request, including:
  • the unified intelligent center performs the second processing on the real-time location information of the saved user equipment according to the real-time location invocation request, and obtains real-time location information of the user equipment;
  • the unified intelligent center acquires the permanent identifier of the user equipment according to the identifier mapping relationship and the temporary identifier of the user equipment, and according to the obtained permanent identifier and the real-time location call request, the saved The real-time location information of the user equipment is subjected to a second scheduling process to obtain real-time location information of the user equipment.
  • the real-time location call request further includes temporary identification or permanent One or more of the identified identification type, the first uniform resource locator URL, the first area information, or the first time period information.
  • the method further includes:
  • the unified intelligent center receives the historical location call request sent by the third-party application device, and the historical location call request carries the temporary identifier or permanent identifier of the user equipment; the unified intelligent center invokes the request according to the historical location to obtain the historical location information of the user equipment; The historical location information is sent to the third-party application device, or the unified smart center stores the historical location information in the second storage space, and sends the address information of the second storage space to the third-party application device, so that the third-party application device can The address information of the second storage space acquires historical location information of the user equipment.
  • the unified intelligent center acquires historical location information of the user equipment according to the historical location call request, including:
  • the unified intelligent center performs a third scheduling process on the real-time location information of the saved user equipment according to the historical location call request, to obtain historical location information of the user equipment;
  • the unified smart center is based on Identifying the mapping relationship and the temporary identifier of the user equipment, obtaining the permanent identifier of the user equipment, and performing the third processing on the real-time location information of the saved user equipment according to the obtained permanent identifier and the historical location call request, to obtain the historical location of the user equipment. information.
  • the historical location call request further includes temporary identification or permanent One or more of the identified identification type, the second uniform resource locator URL, the second area information, or the second time period information.
  • the unified intelligent center receives the REST interface through the characterization state transition One or both of a real-time location call request or a historical location call request sent by a third-party application device.
  • the temporary identifier includes Tunnel Endpoint Identifier TEID, S1 Application Protocol Identifier S1APID, Temporary Mobile User Identity S-TMSI, Protocol IP Interconnected between Networks, Media Access Control MAC Address; Permanent Identity including Mobile Subscriber Number MSISDN, International Mobile Identity IMEI, International One of the mobile subscriber identity IMSIs.
  • the unified intelligent center receiving core network device The first data message sent, including:
  • the unified intelligent center receives the first data information sent by the core network device through the user data packet protocol UDP.
  • the unified intelligent center receives the second data information that is sent by the service anchor, and includes:
  • Unified Smart Center receives service anchors by unifying the So interface between the intelligent center and the service anchor The second data information sent by the point.
  • the So interface supports the tunnel endpoint identifier TEID, the S1 application protocol S1APID, and the temporary mobile user identity S- One or more of the TMSI, the protocol IP address interconnected by the network, and the media access control MAC address.
  • the method further includes:
  • the Unified Intelligence Center stores the identity mapping relationship in the real-time database RTDB.
  • the present invention provides a system comprising:
  • a receiving unit configured to receive first data information that is sent by a core network device (which may include one or more of a PGW, an MME, and an SGW), where the first data information includes a temporary identifier of the user equipment and a permanent identifier of the user equipment;
  • a core network device which may include one or more of a PGW, an MME, and an SGW
  • Establishing a unit configured to establish, according to the first data information, an identifier mapping relationship between the temporary identifier and the permanent identifier;
  • the receiving unit is further configured to receive second data information that is sent by the service anchor, where the second data information includes a temporary identifier of the user equipment and real-time location information of the user equipment;
  • the association unit is configured to associate the permanent identifier of the user equipment with the real-time location information according to the identifier mapping relationship and the temporary identifier in the second data information, and save the real-time location information of the user equipment, so that the third-party application device is used according to the user.
  • the temporary identifier or permanent identifier of the device obtains the location information of the user equipment.
  • the location information of the user equipment may include real-time location information of the user equipment and historical location information of the user equipment.
  • the system establishes the mapping relationship between the temporary identifier of the user equipment and the permanent identifier according to the first data information sent by the received core network device, and receives the mapping relationship according to the identifier of the user equipment and receives the identifier from the service anchor.
  • the temporary identifier of the user equipment in the second data information, the permanent identifier of the user equipment and the temporary identifier of the user equipment received from the service anchor The real-time location information of the corresponding user equipment is associated with the real-time location information of the user equipment, and the real-time location information or historical location information of the user equipment is obtained according to the permanent identifier or the temporary identifier of the user equipment, that is, the real-time user quantity in the area is obtained according to the area information. The number of users entering or leaving the specified area.
  • system further includes:
  • a scheduling unit configured to perform first scheduling processing on the real-time location information of the saved user equipment, where the first scheduling processing is performed according to the requirements of the third-party application device, or according to the needs of the user of the third-party application device
  • the real-time location information of the user equipment is logically arranged, and the corresponding logical orchestration interface (or the calling interface) is obtained, so that the third-party application device obtains the location information of the user equipment according to the temporary identifier or the permanent identifier of the user equipment.
  • the third-party application device is convenient for obtaining the location information of the user equipment, and the third-party application device can obtain the real-time location information or historical location information of the user equipment directly through the arranged call interface according to requirements.
  • the system further includes an acquiring unit and a sending unit;
  • the receiving unit is further configured to receive a real-time location call request sent by the third-party application device, where the real-time location call request carries a temporary identifier or a permanent identifier of the user equipment;
  • An obtaining unit configured to acquire real-time location information of the user equipment according to the real-time location calling request
  • a sending unit configured to send the acquired real-time location information of the user equipment to the third-party application device, or a sending unit, configured to store the acquired real-time location information of the user equipment in the first storage space, and store the first storage space
  • the address information is sent to the third-party application device, so that the third-party application device obtains the real-time location information of the user device according to the address information of the first storage space.
  • the acquiring unit performs a second scheduling process on the saved real-time location information of the user equipment according to the real-time location invocation request.
  • Real-time location information of the user device or,
  • the acquiring unit acquires the permanent identifier of the user equipment according to the identifier mapping relationship and the temporary identifier of the user equipment, and invokes the request according to the obtained permanent identifier and the real-time location call request to the saved user.
  • the real-time location information of the device is subjected to a second programming process to obtain real-time location information of the user equipment.
  • the real-time location call request further includes temporary identification or permanent The identifier type of the identifier, the first uniform resource locator URL of the data obtained by the third-party application device from the unified smart center, the first area information, or one or more pieces of information in the first time period information.
  • the receiving unit is further configured to receive a historical location call request sent by the third-party application device, where the historical location call request carries a temporary identifier or a permanent identifier of the user equipment;
  • the obtaining unit is further configured to acquire a historical location information of the user equipment according to the historical location call request;
  • the sending unit is further configured to send the historical location information to the third-party application device, or the sending unit is further configured to store the historical location information in the second storage space, and send the address information of the second storage space to the third-party application.
  • the device is configured to obtain the historical location information of the user equipment according to the address information of the second storage space.
  • the acquiring unit performs a third scheduling process on the real-time location information of the saved user equipment according to the historical location call request, to obtain historical location information of the user equipment;
  • the obtaining unit If the historical location call request carries the temporary identifier of the user equipment, the obtaining unit according to the identifier The mapping relationship and the temporary identifier of the user equipment acquire the permanent identifier of the user equipment, and perform the third processing on the saved real-time location information of the user equipment according to the obtained permanent identifier and the historical location call request, to obtain the historical location information of the user equipment. .
  • the historical location call request further includes a temporary identifier or permanent The identifier type of the identifier, the one or more information of the second uniform resource locator URL, the second area information, or the second time period information obtained by the third-party application device from the unified smart center.
  • the receiving unit receives the One or both of the real-time location call request or the historical location call request sent by the three-party application device.
  • the temporary identifier includes Tunnel Endpoint Identifier TEID, S1 Application Protocol Identifier S1APID, Temporary Mobile User Identity S-TMSI, Protocol IP Interconnected between Networks, Media Access Control MAC Address; Permanent Identity including Mobile Subscriber Number MSISDN, International Mobile Identity IMEI, International One of the mobile subscriber identity IMSIs.
  • the receiving unit includes:
  • the receiving unit includes:
  • the second data information sent by the service anchor is received by unifying the So interface between the intelligent center and the service anchor.
  • the So interface supports the tunnel endpoint identifier TEID, the S1 application protocol S1APID, and the temporary mobile user identity S- One or more of the TMSI, the protocol IP address interconnected by the network, and the media access control MAC address.
  • system further includes:
  • a storage unit configured to store the identity mapping relationship in the real-time database RTDB.
  • the unified intelligent center establishes the mapping relationship between the temporary identifier of the user equipment and the permanent identifier, and the real-time location calling interface, so that the third-party application device passes the real-time location according to the permanent identifier of the user equipment.
  • the calling interface obtains the real-time location information of the user equipment or obtains the number of real-time users in the area and the users entering or leaving the designated area according to the area information.
  • FIG. 1 is a schematic structural diagram of a unified intelligent center according to an embodiment of the present invention.
  • FIG. 2 is a schematic structural diagram of a unified intelligent center according to an embodiment of the present invention.
  • FIG. 3 is a flowchart of an identifier mapping method according to an embodiment of the present invention.
  • FIG. 4 is a flowchart of another method for marking mapping according to an embodiment of the present invention.
  • FIG. 5 is a flowchart of another method for marking mapping according to an embodiment of the present invention.
  • FIG. 6 is a schematic flowchart of a method for establishing an identity mapping relationship according to an embodiment of the present disclosure
  • FIG. 7 is a schematic flowchart of a method for establishing an identity mapping relationship according to an embodiment of the present disclosure
  • FIG. 8 is a schematic flowchart of a method for establishing an identity mapping relationship according to an embodiment of the present disclosure
  • FIG. 9 is a schematic structural diagram of a system according to an embodiment of the present invention.
  • the user identifier used by the UL (UMTS-LTE) system on the radio access network (RAN) side is a temporary identifier
  • the user identifier provided when the application side invokes the capability open API is The permanent identifier establishes a mapping relationship between the temporary identifier and the permanent identifier through the capability open system, so that the third-party application APP can obtain the real-time user context and real-time location information according to the user identifier.
  • the UL system or the UMTS-LTE system is an abbreviation of a Long Term Evolution (LTE) system and a Universal Mobile Telecommunications System (UMTS) system.
  • LTE Long Term Evolution
  • UMTS Universal Mobile Telecommunications System
  • FIG. 1 is a schematic structural diagram of a unified intelligent center according to an embodiment of the present invention.
  • the capability open system includes a data source 100, a unified smart center 200, and a core network device 300.
  • the data source 100 may include a Lampsite/Pico (small base station) and a service anchor (Service Anchor), and the Service Anchor may process data information uploaded by the Lampsite/Pico through the So interface, and the data information may include Temporary identification and positioning data for the user. Service Anchor performs location calculation on the received positioning data to obtain real-time location information.
  • Lampsite/Pico small base station
  • Service Anchor Service Anchor
  • the unified intelligent center 200 is configured to receive data information sent by the core network device 300, establish an identity mapping relationship, and logically arrange an application mapping interface (Application Program Interface) according to the identifier mapping relationship and the received data source 100.
  • API Application Program Interface
  • real-time location API real-time location API
  • historical location API real-time location API
  • location information location information.
  • the unified intelligent center 200 includes a real-time location analysis component 210, an identity mapping database 220, an identity mapping API 230, a real-time location API 240, a historical location data analysis component 250, and a historical location API 260.
  • the unified smart center 200 is configured to receive information sent by the core network device 300, such as a PGW, an MME, or a Serving GateWay (SGW), where the information may include a temporary identifier and a permanent identifier of the user; and the information is established according to the received information.
  • the mapping relationship is identified, and the established identity mapping relationship is stored in the identifier mapping database 240.
  • the mapping is performed according to the identifier mapping relationship, and may be encapsulated, and the identifier mapping relationship is encapsulated into an identifier mapping API 230 that can support third-party APP calls.
  • the identity mapping API can use the Restful interface protocol and the JDBC query identifier mapping information.
  • the Restful interface is also called a representational state transfer (REST) interface; JDBC (Java Data Base Connectivity) provides unified access to a database of various relationships, which is used to execute SQL statements.
  • the Java API is composed of a set of classes and interfaces written in the Java language.
  • the interface between the core network device 300 and the unified intelligent center 200 can be communicated by using a User Datagram Protocol (UDP) interface protocol, and the data information is sent to the unified intelligent center 200.
  • UDP User Datagram Protocol
  • the real-time location analysis component 210 is configured to receive data information sent by the data source, and obtain the temporary user identifier and real-time location information of the user from the received data information.
  • the temporary identifier of the user and the identifier mapping relationship in the identifier mapping database 220 the permanent identifier of the user is determined, the permanent identifier is associated with the real-time location information, and logically arranged according to requirements, and the real-time location API 240 is obtained.
  • logical orchestration is a kind of software programming, or a process of defining how to process real-time location information of user equipment according to those parameters.
  • the data information associated with the permanent identifier of the user equipment and the real-time location information is stored in the historical location data analysis component, and the data information in the historical analysis module is logically arranged according to requirements to obtain a historical location.
  • API 260 the data information associated with the permanent identifier of the user equipment and the real-time location information is stored in the historical location data analysis component, and the data information in the historical analysis module is logically arranged according to requirements to obtain a historical location.
  • the Lampsite/Pico, the Service Anchor, and the unified intelligent center 200 in the data source 100 can communicate through the So interface, and the So interface supports the report tunnel endpoint identifier (TEID). ), S1 application protocol identity (S1APID), temporary mobile subscriber identity (System) Architecture Evolution-Temporary Mobile Subscriber Identity (S-TMSI), one or more of Internet Protocol (IP) and Media Access Control (MAC) addresses.
  • S1-AP is the interface between the eNodeB and the SGW.
  • the communication between the unified intelligent center 200 and the third-party application APP provided by the embodiment of the present invention uses a northbound interface, and the northbound interface is an interface for the manufacturer or the operator to access and manage the network, that is, The interface provided upwards.
  • the unified intelligent center 200 and the third-party APP use the Restful interface protocol and the JDBC query to identify the mapping information.
  • the identifier mapping database uses an independent RTDB to store the identifier mapping relationship, supports millisecond (ms) level response, and the query result returns in real time, and can return the query result within 50 ms; and supports opening to OTT (Over The Top), and supports Authentication of OTT.
  • OTT refers to a platform that provides various application services to users through the Internet.
  • FIG. 2 is a schematic structural diagram of a unified intelligent center according to an embodiment of the present invention.
  • the unified smart center 800 includes a receiver 810, a transmitter 820, a processor 830, a memory 840, a communication interface 850, and a communication bus 860.
  • the receiver 810, the transmitter 820, the processor 830, the memory 840, and the communication interface 850 are connected by a communication bus 860 and complete communication with each other.
  • the receiver 810, the transmitter receives a signal input by an external device through a communication interface or transmits corresponding data or an instruction to an external device, and the memory 840 is used to store the instruction and the data.
  • the processor 830 is configured to call instructions in the memory.
  • the processor 830 may be a central processing unit (CPU), and the processor 830 may also be another general-purpose processor, a digital signal processor (DSP), an application specific integrated circuit. (Application Specific Integrated Circuit, ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, etc.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the communication bus 860 may include a power bus, a control bus, and the like in addition to the data bus. Status signal bus, etc. However, for clarity of description, various buses are labeled as communication bus 860 in the figure.
  • Memory 840 can include read only memory and random access memory and provides instructions and data to the processor. A portion of the memory may also include a non-volatile random access memory. For example, the memory can also store information of the device type.
  • FIG. 3 is a schematic flowchart diagram of a mapping method according to an embodiment of the present invention.
  • the execution body of the method 400 is a Unified Intelligence Center (UIC) 200 shown in FIG. 1.
  • the method 400 includes the following steps:
  • S410 Receive first data information sent by the core network device, where the first data information includes a temporary identifier of the user equipment and a permanent identifier of the user equipment.
  • the core network device may include one or more devices in the PGW, the MME, or the SGW.
  • the temporary identifier of the user equipment may include one of a tunnel endpoint identifier TEID, an S1 application protocol identifier S1APID, a temporary mobile subscriber identity S-TMSI, a protocol IP interconnected between networks, and a media access control MAC address.
  • the permanent identity of the user equipment may include one of a mobile subscriber number MSISDN, an international mobile identity IMEI, and an international mobile subscriber identity IMSI.
  • the unified intelligent center receives data information sent by one device or multiple devices of the PGW, MME or SGW through the user data packet protocol UDP, that is, the first data information.
  • the unified intelligent center may send the PGW Radius message sent by the received PGW.
  • the PGW Radius message may include an IP, an Access Point Name (APN), and an international mobile subscriber identity.
  • IMSI International Mobile Subscriber Identity
  • IMEI International Mobile Equipment Identity
  • MSISDN Mobile Station International ISDN number
  • PGW Address wireless access technology (radio acess Technology, RAT), RNT type, timestamp (TimeStamp), Serving GPRS Support Node (SGSN) address, QoS Profile, Gateway GPRS Support Node (GGSN) address, NASIP Address and other information.
  • the information sent by the MME that the unified intelligent center can receive is called MME CHR.
  • the MME CHR can include the System Architecture Evolution-Temporary Mobile Subscriber Identity (S-TMSI), S1APID, IMSI, MSISDN, and TimeStamp.
  • S-TMSI System Architecture Evolution-Temporary Mobile Subscriber Identity
  • S1APID S1APID
  • IMSI IMSI
  • MSISDN MSISDN
  • TimeStamp TimeStamp
  • Information such as MME UE S1APID, eNB UE S1APID, APN, and the like.
  • the unified intelligent center can receive the IMSI and TEID information in the SGW message sent by the SGW.
  • the unified intelligent center may separately receive data information sent by the PGW, the MME, or the SGW, or may simultaneously receive data information sent by the PGW, the MME, or the SGW. In the embodiment of the present invention, the unified intelligent center can also receive data information sent by other core network devices.
  • the unified intelligent center parses the received first data information sent by the core network device, and obtains the correspondence between the temporary identifier and the permanent identifier of the user equipment from the first data information, for example, unified intelligence.
  • the center needs to parse the temporary identifier (IP) and permanent identifier (IMSI or MSISDN) of the user in the PGW Radius message, or parse the MME CHR to obtain the temporary identifier (S-TMSI) and the permanent identifier (IMSI or MSISDN), or parse the SGW packet.
  • TEID temporary identifier
  • IMSI permanent identifier
  • the mapping relationship between the temporary identifier and the permanent identifier may be established, for example, the correspondence between the temporary identifier MAC address and the permanent identifier IMSI or MSISDN, etc., in the embodiment of the present invention.
  • the mapping relationship between the temporary identifier and the permanent identifier can be established according to the requirements, and the types of the temporary identifier and the permanent identifier are not limited herein.
  • S430 Receive second data information sent by the service anchor, where the second data information includes a temporary identifier of the user equipment and real-time location information of the user equipment.
  • the service anchor can be used as a data source.
  • the temporary identifier of the user equipment is an identifier used in a certain period of time or a certain data transmission process, for example, TEID, S1APID, S-TMSI, IP or MAC address.
  • the real-time location information is the location information of the user equipment at the time. Real-time location information can be expressed in latitude and longitude.
  • the unified intelligent center receives the data information including the temporary identifier of the user equipment and the real-time location information of the user equipment sent by the service anchor in real time, that is, the second data information.
  • the unified intelligent center receives the real-time location information of the user equipment from the service anchor point, and obtains the real-time location information of the user equipment from the core network device, and the obtained real-time location information of the user equipment is more accurate, and the obtained location is obtained. The information is more accurate.
  • the unified intelligent center when the unified intelligent center receives the temporary identifier of the user equipment and the real-time location information of the user equipment sent by the service anchor, the temporary identifier corresponding to the temporary identifier and the permanent identifier corresponding to the temporary identifier in the mapping relationship of the user equipment will be determined.
  • the permanent identification information is associated with the real-time location information of the user equipment, and the associated real-time location information is saved. So that the third-party application device obtains the location information of the user equipment from the unified smart center through the permanent identifier of the user equipment or the temporary identifier of the user equipment, and information related to real-time location information of the user equipment, for example, according to real-time location information of the user equipment. , count the number of user devices in a specified area, and so on.
  • the location information of the user equipment includes real-time location information and historical location information of the user equipment, and the real-time location information may be understood as the current time, and the location information of the user equipment in a certain period of time after the current time.
  • the historical location information can be understood as the location information of the user equipment according to a certain moment in the past or a certain period of time.
  • the unified intelligent center needs to continuously receive the data information sent by the core network device, so as to establish an identifier mapping relationship between the temporary identifier of the online user and the permanent identifier, or update the identifier mapping relationship of the unified intelligent center, for example, Delete the mapping between the temporary identifier of the user equipment that has been offline and the identifier of the permanent identifier; update the mapping relationship of the temporary identifier, and so on.
  • the unified intelligent center also needs to receive the data information sent by the service anchor in real time or periodically for storage, perform real-time location data analysis or historical location data analysis on the stored data, so that the third-party application data can acquire real-time location information of the user equipment according to requirements. And historical location information.
  • the identifier mapping method provided by the present invention establishes the mapping relationship between the temporary identifier of the user equipment and the permanent identifier by the unified intelligent center, and according to the identifier mapping relationship of the user equipment and the user in the second data information received from the service anchor point.
  • the temporary identifier of the device associates the permanent identifier of the user equipment with the real-time location information of the user equipment corresponding to the temporary identifier of the user equipment received from the service anchor, and implements the permanent identifier or temporary of the third-party application device according to the user equipment.
  • the identifier acquires real-time location information or historical location information of the user equipment, that is, the number of real-time users in the area and the number of users entering or leaving the designated area are obtained according to the area information.
  • the method 400 further includes:
  • the unified intelligent center performs the first processing on the real-time location information of the saved user equipment, so that the third-party application device obtains the location information of the user equipment according to the temporary identifier or permanent identifier of the user equipment.
  • the unified intelligent center may perform processing on the real-time location information of the saved user equipment according to preset scheduling logic, for example, determining a real-time location of the user equipment in a certain time period or an area.
  • the storage location of the information so that the unified smart center receives the request for obtaining the location information of the user equipment sent by the third-party application device (which may include a real-time location call request and/or a historical location call request), and is arranged according to the defined logic. Get the location information of the user device.
  • the unified intelligent center may further perform programming according to the identifier mapping relationship, and obtain an identifier mapping API.
  • the real-time location information and the identifier mapping relationship of the saved user equipment may be arranged to obtain various real-time location APIs, and Various historical location APIs.
  • the method 400 further includes:
  • the unified intelligent center receives a real-time location call request sent by a third-party application device, and the real-time location call request carries a temporary identifier or a permanent identifier of the user equipment.
  • the real-time location call request is used to invoke real-time location information of the user equipment, or data information related to real-time location information, for example, the number of user equipments in a specified area, and the user equipment entering or leaving a specified area. Information such as quantity.
  • the unified smart center may receive a real-time location call request sent by the third-party application device through the real-time location API.
  • the parameter in the real-time location call request may include a temporary identifier or a permanent identifier of the user equipment, and may also include a temporary identifier or a permanent identifier identifier type, a first uniform resource locator (URL), a first region information, or a One or more pieces of information in a period of time information.
  • the type of the identifier may be one of, for example, IP, IMIS, MSISDN, IMEI, and MAC.
  • the first URL is a storage address of the real-time location information of the user equipment obtained by the third-party application device from the unified intelligent center. In brief, the first URL is a storage address of the unified intelligent center storing the real-time location information.
  • the first time period information is a certain time period after the current time.
  • the unified intelligent center acquires real-time location information of the user equipment according to the real-time location call request.
  • the unified intelligent center performs the second scheduling process on the real-time location information of the saved user equipment according to the real-time location invocation request, and obtains the real-time operation of the user equipment.
  • Location information or,
  • the unified intelligent center acquires the permanent identifier of the user equipment according to the identifier mapping relationship and the temporary identifier of the user equipment, and according to the obtained permanent identifier and the real-time location call request, the saved Real-time location information of the user equipment
  • the second arrangement process is performed to obtain real-time location information of the user equipment.
  • the second programming process is to process the real-time location information of the user equipment according to the parameter of the real-time location call request, and the real-time location information of the user equipment may be directly obtained according to the parameter of the real-time location call request, or the request may be invoked according to the real-time location.
  • the parameter obtains other information such as statistical information related to the real-time location information of the user equipment.
  • the discrete location query the unified intelligent center receives the real-time location call request sent by the third-party application device, and the request includes the temporary identifier or the permanent identifier of the user equipment, and the identifier type corresponding to the temporary identifier or the permanent identifier, and the unified intelligent center according to the real-time
  • the location call request acquires real-time location information of the user equipment (relative coordinates: longitude, latitude, floor, etc.), location information confidence (or accuracy of location information), and relative timestamp (that is, the time point reported by the location information) ).
  • the real-time location invocation request includes a permanent identifier of the user equipment, a specified time period information, and a specified area information
  • it is used to determine the number of user equipments in the specified time period and the designated area, and unified intelligence.
  • the center obtains the number of user equipments in the specified time period and the designated area according to the specified time period information, the specified area information, and the permanent identification information of the user equipment.
  • the unified smart center receives the real-time location call request sent by the third-party application device, and the real-time location call request includes the specified time period (the start date and the end date) And the area information of the specified area, the unified intelligent center according to the real-time location call request to obtain the number of user equipments in the specified area within the specified time period, and the timestamp reported by the real-time location information of the user equipment.
  • the real-time location invocation request includes the temporary identifier of the user equipment
  • the unified intelligent center determines the permanent identifier of the user equipment according to the temporary identifier and the mapping relationship of the user equipment, and then according to the permanent identifier of the user equipment.
  • the real-time location information of the real-time location call request acquires real-time location information of the user equipment or acquires other information related to the real-time location information of the user equipment.
  • the unified intelligent center may be based on the user equipment.
  • the temporary identifier determines the permanent identifier of the user equipment through the identifier mapping API; and obtains the real-time location information of the user equipment through the real-time location API. In order to reduce the amount of computing in the unified smart center, while reducing the power consumption of the unified smart center.
  • the unified intelligent center sends the obtained real-time location information of the user equipment to the third-party application device, or the unified intelligent center stores the acquired real-time location information of the user equipment in the first storage space, and the address of the first storage space. The information is sent to a third-party application device.
  • the unified intelligent center obtains the real-time location information of the user equipment according to the real-time location call request, the real-time location information of the obtained user equipment is sent to the third-party application device.
  • the acquired real-time location information may be stored in a space (the first storage space).
  • the storage space The storage address that can be associated with the URL mentioned in S450 is an address or a different address.
  • the URL in the S450 is an address of the unified intelligent center storing real-time location information
  • the storage address of the first storage space may be an address for storing data information on a server other than the unified intelligent center.
  • the unified intelligent center obtains the real-time location information from the URL storage address corresponding to the unified smart center according to the URL in the real-time location call request, but needs to process the real-time location information in the URL storage address to obtain the real-time location call.
  • the unified intelligent center logically processes the real-time location information in the URL storage address, and stores the processed result data in a storage space, and the storage address of the storage space can be the same as the URL storage address.
  • the processed result data is stored in the storage space corresponding to the URL storage address of the unified smart center; the storage address of the storage space may also be different from the URL storage address, for example, the processing result data is stored.
  • the unified intelligent center sends the storage address information of the first storage space to the third-party application device, so that the third-party application device obtains the real-time location information of the user device according to the address information of the first storage space.
  • the method 400 further includes:
  • the unified intelligent center receives a historical location call request sent by a third-party application device, and the historical location call request carries a temporary identifier or a permanent identifier of the user equipment.
  • the historical location call request is used to invoke historical location information of the user equipment, or data information related to historical location information, for example, the number of user equipments in a specified area, entering or leaving a certain designation before the current time. Information such as the number of user devices in the area.
  • the unified smart center can receive the historical location call request sent by the third-party application device through the historical location API.
  • the historical location call request may include a temporary identifier or a permanent identifier of the user equipment, and may also temporarily identify or permanently identify one of the identifier type, the second uniform resource locator URL, the second area information, or the second time period information. Multiple information.
  • the type of the identifier may be one of, for example, IP, IMIS, MSISDN, IMEI, and MAC.
  • the second URL is a storage address of the real-time location information of the user equipment obtained by the third-party application device from the unified smart center. In brief, the second URL is a storage address of the unified smart center storing the real-time location information.
  • the second time period information is a certain time period before the current time.
  • the unified intelligent center invokes the request according to the historical location, and obtains historical location information of the user equipment.
  • the unified intelligent center performs a third scheduling process on the real-time location information of the saved user equipment according to the historical location call request, and obtains the history of the user equipment. Location information; or,
  • the unified intelligent center acquires the permanent identifier of the user equipment according to the identifier mapping relationship and the temporary identifier of the user equipment, and invokes the request according to the obtained permanent identifier and the historical location.
  • the real-time location information of the user equipment is processed in a third manner to obtain historical location information of the user equipment.
  • the third arrangement processing is to process the historical location information of the user equipment according to the parameter of the historical location call request by the unified intelligent center, and obtain historical location information or historical location information of the user equipment. Relevant statistical information, and other information.
  • the unified smart center may determine the permanent identifier of the user equipment by using the identifier mapping API, and then obtain the historical location information according to the parameter in the historical location call request and Historical location information related information.
  • the process of acquiring the historical location information of the user equipment by the unified intelligent center is similar to the process of acquiring the real-time location information of the user equipment by the unified intelligent center, and is not described here for brevity.
  • the S475 unified intelligent center sends the historical location information to the third-party application device, or the unified smart center stores the historical location information in the second storage space, and sends the address information of the second storage space to the third-party application device.
  • the unified intelligent center When the unified intelligent center acquires the historical location information of the user equipment according to the historical location call request, the obtained historical location information is sent to the third-party application device. Or the unified intelligent center stores the obtained historical location information in a storage space (second storage space), where the storage address of the second storage space may be a storage address in the unified intelligent center, or may be outside the unified intelligent center. The storage address on the other server is sent to the third-party application device, so that the third-party application device obtains the historical location information according to the address information of the second storage space.
  • a storage space second storage space
  • the unified intelligent center may separately receive a real-time location call request or a historical location call request sent by a third-party application device, or may simultaneously receive a real-time location call request and history sent by a third-party application device.
  • the location calls the request.
  • the embodiments of the present invention are not limited in any way.
  • the size of the sequence numbers of the above processes does not mean the order of execution, and the order of execution of each process should be determined by its function and internal logic, and should not be directed to the embodiments of the present invention.
  • the implementation process constitutes any limitation.
  • the unified intelligent center may receive a real-time location call request and/or a historical location call sent by the third-party application device by using the characterization state transfer REST interface. request.
  • the unified intelligent center receives the second data information sent by the service anchor, including:
  • the unified intelligent center receives the second data information sent by the service anchor by unifying the So interface between the intelligent center and the service anchor.
  • the So interface supports one or more of a tunnel endpoint identifier TEID, an S1 application protocol S1APID, a temporary mobile user identity S-TMSI, a protocol IP address interconnected between networks, and a media access control MAC address.
  • the method 400 further includes:
  • the Unified Intelligence Center stores the identity mapping relationship in a Real Time Data Base (RTDB).
  • RTDB Real Time Data Base
  • the independent real-time database RTDB has real-time performance, can support millisecond (ms) level response, and the real-time return of query results can return the query result within 50ms, so that the third-party application device can quickly and efficiently query data through the unified intelligent center. Complete the data query. And RTDB supports opening to OTT and supports authentication of OTT.
  • the temporary identifier of the user equipment and the identifier mapping of the permanent identifier are established, and the third-party application queries the real-time user context and the real-time location according to the temporary identifier or permanent identifier of the user equipment.
  • the temporary identifier of the user equipment is used in the UL (UMTS-LTE) system on the radio access network RAN side, and the application side uses the permanent identifier of the user equipment, and is in the security consideration that the core network is not open to the third-party application device.
  • the three-party application device cannot query the real-time user context and real-time location information.
  • LTE Long Term Evolution
  • UMTS Universal Mobile Telecommunications System
  • UL Universal Mobile Telecommunications System
  • TD-SCDMA Time Division-Synchronous Code Division Multiple Access
  • the capability open system provided by the embodiment of the present invention not only supports the mutual mapping between multiple identifiers, but also can be applied to multiple scenarios.
  • the following describes the mapping relationship between multiple scenarios in combination with FIG. 6 to FIG. The process is described in detail.
  • FIG. 6 is a schematic flowchart of a method for establishing an identity mapping relationship according to an embodiment of the present invention.
  • the method 500 can be applied to a scenario in which a different manufacturer (PGW produced by a related manufacturer) or a Huawei PGW exists in the network, parses the PGW Radius information, and establishes an identity mapping relationship.
  • PGW produced by a related manufacturer
  • Huawei PGW exists in the network
  • Radius is the Remote Authentication Dial In User Service (RADIUS) protocol, which is defined in IETF's RFCs 2865 and 2866.
  • RADIUS is a client/server protocol based on UDP.
  • the method 500 can include three phases:
  • the packet gateway receives an activation request (Active Request) sent by the user.
  • Active Request an activation request
  • the packet gateway is a packet gateway (UGW) produced by Huawei, and can support multiple gateways in the form of network element functions, such as: PGW, SGW, GGSN (Gateway GPRS Support Node), in the service function. Any combination of multiple network elements is supported, and a device maintained by the packet gateway UGW is unified in operation. Among them, the packet gateway UGW can enable the CCD function of the Radius.
  • GGW packet gateway
  • the packet gateway sends an access request (Access Request) to the server according to the activation request, and sends a copy to the unified intelligent center (UIC).
  • Access Request an access request
  • UICC unified intelligent center
  • the packet gateway UGW sends an Accounting Start Request (Accounting Start Request) to the server according to the access response message, and sends a copy to the unified intelligent center, where the start charging request includes the temporary identifier and the permanent identifier of the user equipment.
  • Accounting Start Request Accounting Start Request
  • S525 The unified intelligent center establishes an identity mapping relationship according to the start charging request, and saves the identity mapping relationship.
  • the server sends an Accounting Response message (Accounting Response) to the packet gateway UGW according to the start charging request.
  • Accounting Response Accounting Response
  • the packet gateway UGW sends an activation response message (Active Accept) to the user equipment (UE) according to the charging response message.
  • the user equipment when the user needs to go online, the user equipment (UE) sends an activation request (Active Request) to the packet gateway UGW, and the packet gateway UGW sends an access request to the Radius Server according to the activation request, and copies the access request.
  • UE user equipment
  • the packet gateway UGW sends an access request to the Radius Server according to the activation request, and copies the access request.
  • Sended to UIC; Radius Server authenticates according to the received access request and obtains access rights.
  • Radio Resource Server sends an access response to the packet gateway UGW to notify the packet gateway UGW user device to obtain access rights; packet gateway UGW Sending a start charging request to the Radius Server according to the access response, and copying it to the Unified Intelligence Center (UIC), which may include: APN, IP, IMSI, RAT Type, MSISDN, etc., and may also say that the start
  • the billing request includes the temporary identifier (IP) and the permanent identifier (IMSI, MSISDN) of the user; the UIC establishes an identifier mapping relationship according to the user temporary identifier (IP) and the permanent identifier (IMSI, MSISDN) in the start charging request, and The identifier mapping relationship is saved to the real-time database, so that the third-party APP obtains the user context information through the identifier mapping API or When queries to quickly return results.
  • UIC Unified Intelligence Center
  • the Radius Server further performs authorization verification according to the received start charging request to authorize the service, and sends an Accounting Response message (Accounting Response) to the packet gateway UGW; the packet gateway UGW is based on the charging response message. Send an Active Accept message to the user equipment.
  • Accounting Response Accounting Response
  • the UGW sends an Interim-Updata Request message to the Radius Server, and sends the message to the UIC.
  • the temporary update request message includes the temporary identifier and the permanent identifier of the user.
  • the UIC establishes an identity mapping relationship according to the temporary update request, and saves the relationship.
  • the method further includes:
  • the Radius Server sends a temporary update response message (Interim-Update Response) to the UGW according to the temporary update request.
  • the UGW sends a temporary update request to the Radius Server, and copies the UIC; the UIC can obtain the temporary identifier of the user from the temporary update request and Permanently identify and establish an identity mapping relationship based on the obtained temporary and permanent identifiers of the user, and store them in the real-time database.
  • the Radius Server also sends a temporary update response message to the UGW according to the temporary update request.
  • S555 The UGW receives a Deactivate PDP Context Request sent by the user.
  • the UGW sends an Accounting Stop Request to the Radius Server, and sends a copy to the UIC.
  • the stop charging request includes the temporary identifier and the permanent identifier of the user.
  • S565 The UIC deletes the identifier mapping relationship corresponding to the temporary identifier according to the stop charging request.
  • the UIC obtains the session identifier ID according to the stop-accounting request, and obtains the temporary identifier of the user according to the session identifier ID and the link quintuple; and deletes the identifier mapping relationship corresponding to the temporary identifier according to the temporary identifier of the user.
  • the Radius Server sends a stop charging response message to the UGW according to the deactivation charging request.
  • the UGW sends a Packet Data Protocol (PDP) context information (Deactivate PDP Context Accept) to the user equipment according to the deactivation charging request.
  • PDP Packet Data Protocol
  • the UGW when the user needs to go offline, sending a deactivated PDP context request to the UGW, that is, sending a stop PDP context request to the UGW; the UGW sends a stop charging request to the Radius Server and the UIC according to the received deactivated PDP context request,
  • the request includes a temporary identifier and a permanent identifier of the deactivated PDP context requesting user; the UIC resolves the stop charging request, and stops charging.
  • the mapping relationship between the identifier IMSI and the MSISDN corresponding to the temporary identifier is deleted according to the temporary identifier IP of the user.
  • the Radius Server needs to authorize the offline of the user according to the stop charging request, and sends a stop charging response message to the UGW; the UGW stops the PDP context according to the stop charging response message, and Notify the user device.
  • the method 500 is applicable to non-roaming and Local Breakout roaming scenarios, and supports MV multi-vendor PGW.
  • FIG. 7 is a schematic flowchart of a method for establishing an identity mapping relationship according to an embodiment of the present invention.
  • the method 600 can be applied to a scenario in which an MME exists, parsing MME CHR control plane information, and establishing an identity mapping relationship.
  • the method 600 includes the following steps:
  • the Unified Intelligence Center subscribes to the MME CHR (Calling History Record) event stream to the Trace Server.
  • the tracking server further subscribes to the MME for the MME CHR event flow.
  • the MME opens a CHR reporting switch, receives a user online request, and records an MME CHR event flow.
  • the MME reports the MME CHR event flow to the tracking server according to the user online request, and the MME CHR event stream carries the temporary identifier and the permanent identifier of the user.
  • the tracking server reports the MME CHR event flow to the unified intelligent center.
  • the unified intelligent center acquires the temporary identifier and the permanent identifier of the user according to the MME CHR event flow, and establishes an identifier mapping relationship.
  • the tracking server may be a U2000-TraceServer.
  • the MME opens the CHR reporting switch and receives the Attach, RAU, Handover, and Bearer initiated by the user.
  • the processes initiated by the user on the Internet are called user online requests; the MME sends the IMSI, MSISDN to the unified intelligent center through the tracking server according to the online request of the user.
  • the Unified Intelligence Center can store identity mapping relationships in a real-time database.
  • the capability open system when the capability open system establishes an identity mapping relationship and generates an identity mapping API, a real-time location API, and a historical location API, the capability opening system can be opened to a service anchor or to a third party.
  • the application device is open, and the third-party application device invokes the corresponding API to obtain the user information.
  • the method 600 is applicable to non-roaming, Local Breakout roaming, and HomeRouted roaming scenarios.
  • the method when querying user information, the method may include:
  • the service anchor receives the original location data reported by the user to determine real-time location information, and queries the identifier mapping relationship in a local cache (Cache).
  • the service anchor has processing capability, and can calculate original location data information reported by the user, and obtain temporary identification information of the user, such as S-TMSI.
  • S-TMSI temporary identification information of the user
  • the service anchor performs the query according to the temporary identifier S-TMSI and the timestamp (Timestamp).
  • the API may be invoked to obtain the user information.
  • the service anchor point may send a query request to the unified intelligent center (UIC), from the identifier mapping database (real-time database).
  • the query where the query request may include the temporary identifier S-TMSI and the timestamp (Timestamp) of the user, and when the identifier mapping relationship is queried, the unified intelligent center Returns S-TMSI, IMSI, MSISDN information.
  • FIG. 8 is a schematic flowchart of a method for establishing an identity mapping relationship according to an embodiment of the present invention.
  • the method 700 can be applied to the SGW to sink to a local scenario, and the unified intelligent center parses the SGW context information to establish an identity mapping relationship.
  • the method 700 includes the following steps:
  • the unified intelligent center subscribes to all user contexts to the tracking server (TraceServer);
  • TraceServer organizes all user contexts, and subscribes to the user context to the SGW;
  • the SGW re-establishes a connection with the bearer S1-U of the eNodeB.
  • S720 The SGW reports the newly added or changed user context to the S1-U connection TraceServer of the eNodeB, where the user context includes the temporary identifier of the user and the permanent identifier of the user.
  • the TraceServer reports the user context to the unified intelligent center according to the user context reported by the user SGW.
  • the unified intelligent center acquires the temporary identifier and the permanent identifier of the user according to the user context, and establishes an identifier mapping relationship.
  • the unified intelligent center subscribes to the user context to the tracking server U2000 (TraceServer), where the user context is the user context of all users; the TraceServer merges the user context subscription requirements of all applications of all users, and performs the SGW to the SGW. Subscription; when the user switches, switching from the macro network to the Lampsite (small base station) or from the Lampsite to the macro network, the SGW needs to re-establish the bearer S1-U with the base station (eNodeB); the SGW sends the user to the unified intelligent center through the TraceServer.
  • TraceServer tracking server U2000
  • the TraceServer merges the user context subscription requirements of all applications of all users, and performs the SGW to the SGW. Subscription; when the user switches, switching from the macro network to the Lampsite (small base station) or from the Lampsite to the macro network, the SGW needs to re-establish the bearer S1-U with the base station (eNodeB); the SGW sends the user
  • the user context includes a temporary identifier (TEID) and a permanent identifier (IMSI, MSISDN) of the user;
  • the unified intelligent center parses the user context, and obtains a temporary identifier (TEID) and a permanent identifier (IMSI) of the user from the user context. , MSISDN), and establish a mapping relationship.
  • TEID temporary identifier
  • IMSI permanent identifier
  • the unified intelligent center may store the identifier mapping relationship in the identifier mapping database, and the identifier mapping data may be a real-time database, so that the query result can be quickly returned during the query process, and the query speed is improved.
  • the method 700 is applicable to a scenario where the SGW sinks and is distributed.
  • S735 The unified intelligent center sends a subscription location stream to the service anchor (Service Anchor);
  • the service anchor performs processing according to the original location data information uploaded by the user, and obtains real-time location information of the user.
  • the service anchor sends the real-time location information and the temporary identifier of the user to the unified intelligent center;
  • the unified intelligent center receives the temporary identifier and real-time location information of the user, and obtains real-time location information and permanent identifier information according to the established mapping relationship.
  • the unified intelligent center may receive the temporary identifier, real-time location information, and timestamp of the user sent by the Service Anchor, and may be represented as TEID, Location(x, y, z), Timestamp, respectively, and according to The user's temporary identifier TEID and timestamp Timestamp obtain the user's permanent identifier MSISDN from the unified intelligent center, and obtain Location (x, y, z), MSISDN, and Timestamp.
  • the service anchor may further query the user identifier to the unified intelligent center to perform identity mapping.
  • mapping method provided by the present invention can also be applied to the PGW Radius and the MME CHR in the scenario where the PGW and the MME are present, and establish an identity mapping relationship.
  • the specific process is similar to the mapping method flow shown in FIG. 6 and FIG. 7 , and is not described here for brevity.
  • the mapping relationship between the identifiers supports the private network IPv4, S-TMSI, S1APID, IMSI, MSISDN, IMEI, PGW Address, and SGW Address.
  • the PGW Address and SGW Address can be queried according to the user identifier IP, S-TMSI, IMSI, MSISDN.
  • Figure 6 to Figure 8 detail the analysis of PGW Radius information in the UL system, establish an identity mapping database: support mapping of private network IP to IMSI, MSISDN; parse MME CHR control plane Information, establish a user context database, support mapping to IMSI/MSISDN through S-TMSI; parse SGW user context information, establish user context database, support TEID mapping to IMSI, MSISDN, and the mapping method provided by the present invention can also be applied to Wifi connection After entering the system, the AC Radius packet can be parsed and the mapping between the MAC address and the IMSI is supported.
  • FIG. 9 is a schematic structural diagram of a system according to an embodiment of the present invention.
  • the system 900 can include a receiving unit 910, an establishing unit 920, and an associating unit 930.
  • the receiving unit 910 is configured to receive first data information that is sent by the core network device, where the first data information includes a temporary identifier of the user equipment and a permanent identifier of the user equipment.
  • the establishing unit 920 is configured to establish, according to the first data information, an identifier mapping relationship between the temporary identifier and the permanent identifier.
  • the receiving unit 910 is further configured to receive second data information that is sent by the service anchor, where the second data information includes a temporary identifier of the user equipment and real-time location information of the user equipment.
  • the association unit 930 is configured to associate the permanent identifier of the user equipment with the real-time location information according to the identifier mapping relationship and the temporary identifier in the second data information, and save the real-time location information of the user equipment for use by the third-party application device.
  • the temporary identifier or permanent identifier of the user equipment acquires location information of the user equipment.
  • the receiving unit 910 in the system receives the data information including the temporary identifier or the permanent identifier of the user equipment, that is, the first data information, which is sent by the PGW, the MME, and/or the SGW.
  • the first data information may be charging information of the user equipment.
  • the establishing unit 920 parses the temporary identifier of the user equipment in the first data information and the permanent identifier corresponding to the user equipment, and establishes an identifier mapping relationship between the temporary identifier and the permanent identifier.
  • the receiving unit 910 further receives the data information of the temporary identifier and the real-time location information that is sent by the service anchor, including the user equipment, by the association unit 930 according to the identifier mapping relationship and the user equipment in the data information sent by the service anchor point.
  • the temporary identifier determines the permanent identifier of the user equipment, associates the permanent identifier with the real-time location information of the user equipment, and stores the associated real-time location information, so that the third-party application device can be based on the temporary identifier or permanent identifier of the user equipment.
  • the user context of the user equipment or the real-time location information and historical location information of the user equipment are obtained through the system.
  • the system provided by the present invention establishes a mapping relationship between the temporary identifier of the user equipment and the permanent identifier, and according to the identifier mapping relationship of the user equipment and the temporary identifier of the user equipment in the second data information received from the service anchor, Associating the permanent identifier of the user equipment with the real-time location information of the user equipment that is received from the service anchor and corresponding to the temporary identifier of the user equipment, the third-party application device obtains the user equipment according to the permanent identifier or the temporary identifier of the user equipment.
  • Real-time location information or historical location information that is, the number of real-time users in the area and the number of users entering or leaving the designated area according to the area information.
  • the temporary identifier of the user equipment may include: the temporary identifier includes a tunnel endpoint identifier TEID, an S1 application protocol identifier S1APID, a temporary mobile user identity S-TMSI, a protocol IP interconnected between the networks, One of the media access control MAC addresses; the permanent identifier of the user equipment may include one of a mobile subscriber number MSISDN, an international mobile identity IMEI, and an international mobile subscriber identity IMSI.
  • the receiving unit 910 receives the first data information that is sent by the core network device by using the user data packet protocol UDP, and reduces the core network device to add a new private interface to the system to report the data.
  • the system 900 may further include:
  • the arranging unit 940 is configured to perform a first scheduling process on the real-time location information of the saved user equipment, so that the third-party application device acquires the location information of the user equipment according to the temporary identifier or the permanent identifier of the user equipment.
  • the system logically arranges the saved real-time location information, so that the third-party application device can obtain the context information and the real-time location information or the historical location information of the user equipment according to the identifier (temporary identifier or permanent identifier) of the user equipment.
  • system 900 may further include an obtaining unit 950 and a sending unit 960;
  • the receiving unit 910 is further configured to receive a real-time location call request sent by the third-party application device, where the real-time location call request carries a temporary identifier or a permanent identifier of the user equipment.
  • the obtaining unit 950 is configured to acquire real-time location information of the user equipment according to the real-time location call request.
  • the sending unit 960 is configured to send the acquired real-time location information of the user equipment to the third-party application device, or the sending unit 960 is configured to store the acquired real-time location information of the user equipment in the first storage space, and the first The address information of the storage space is sent to the third-party application device.
  • the obtaining unit 950 performs a second scheduling process on the saved real-time location information of the user equipment according to the real-time location invocation request, and obtains real-time information of the user equipment. Location information; or,
  • the obtaining unit 950 acquires the permanent identifier of the user equipment according to the identifier mapping relationship and the temporary identifier of the user equipment, and saves the call according to the obtained permanent identifier and the real-time location call request.
  • the real-time location information of the user equipment is subjected to a second scheduling process to obtain real-time location information of the user equipment.
  • the real-time location invocation request further includes one or more of a temporary identifier or a permanently identified identifier type, a first uniform resource locator URL, first region information, or first time period information. Information.
  • the first URL is a storage address of the real-time location information of the user equipment obtained by the third-party application device from the unified intelligent center.
  • the first URL is a storage address of the unified intelligent center storing the real-time location information.
  • the first time period information is a certain time period after the current time.
  • the receiving unit 910 is further configured to receive a historical location call request sent by the third-party application device, where the historical location call request carries a temporary identifier or a permanent identifier of the user equipment;
  • the obtaining unit 950 is further configured to acquire a historical location of the user equipment according to the historical location call request information;
  • the sending unit 960 is further configured to send the historical location information to the third-party application device, or the sending unit is further configured to store the historical location information in the second storage space, and send the address information of the second storage space to the third party. Application device.
  • the acquiring unit performs a third scheduling process on the saved real-time location information of the user equipment according to the historical location call request, to obtain the historical location of the user equipment.
  • Information ; or,
  • the acquiring unit acquires the permanent identifier of the user equipment according to the identifier mapping relationship and the temporary identifier of the user equipment, and invokes the request according to the obtained permanent identifier and the historical location, and saves the user.
  • the real-time location information of the device is processed in a third manner to obtain historical location information of the user equipment.
  • the historical location invocation request further includes one or more of the identifier type of the temporary identifier or the permanent identifier, the second uniform resource locator URL, the second region information, or the second time period information.
  • the second URL is a storage address of the real-time location information of the user equipment obtained by the third-party application device from the unified intelligent center.
  • the second URL is a storage address of the unified intelligent center storing the real-time location information.
  • the second time period information is a certain time period before the current time.
  • the receiving unit 910 receives one or both of a real-time location call request or a historical location call request sent by the third-party application device by using the characterization state transfer REST interface.
  • the receiving unit 910 specifically includes:
  • the second data information sent by the service anchor is received by unifying the So interface between the intelligent center and the service anchor.
  • the So interface may support one or more of a tunnel endpoint identifier TEID, an S1 application protocol S1APID, a temporary mobile user identity S-TMSI, a protocol IP address interconnected between networks, and a media access control MAC address.
  • TEID tunnel endpoint identifier
  • S1APID S1 application protocol
  • S-TMSI temporary mobile user identity
  • IP address interconnected between networks
  • media access control MAC address a media access control MAC address.
  • system 900 of FIG. 9 further includes:
  • the storage unit 970 is configured to store the identifier mapping relationship in the real-time database RTDB, so that when the third-party application device queries the data through the system, the query data can be returned in real time, and the data query is completed efficiently.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, can be stored in a computer readable storage medium.
  • the technical solution of the present invention contributes in essence or to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method of various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention relates to an identifier mapping method and system. The method comprises: receiving, by a unified intelligent center, first data information sent by a core network device, the first data information comprising a temporary identifier and a permanent identifier of a user equipment; establishing an identifier mapping relation between the temporary identifier and the permanent identifier according to the first data information; receiving second data information sent by a serving anchor point, the second data information comprising the temporary identifier of the user equipment and real-time location information of the user equipment; and associating, according to the identifier mapping relation and the temporary identifier in the second data information, the permanent identifier of the user equipment with the real-time location information of the user equipment, and saving the real-time location information of the user equipment. According to the method, a third-party application device obtains real-time location information or historical location information of a user equipment according to the permanent identifier or a temporary identifier of the user equipment, that is, obtaining, according to region information, the number of real-time users in the region, and the number of users who enter or leave the specified region.

Description

标识映射方法和系统Identification mapping method and system 技术领域Technical field
本发明涉及通信领域,尤其涉及一种用户标识映射的方法和系统。The present invention relates to the field of communications, and in particular, to a method and system for mapping user identifiers.
背景技术Background technique
在移动宽带(Mobile BroadBand,MBB)流量飞速增长,“数据洪水”汹涌来袭的年代,运营商不仅需要提供最大带宽的管道连接业务,还需要通过网络数据能力开放为用户提供一些服务,以满足用户的需求。In the era of rapid growth of mobile broadband (MBB) traffic and the “data flood”, operators not only need to provide the maximum bandwidth of the pipe connection service, but also need to provide some services to users through the network data capability to meet User needs.
例如,基本位置业务(Location Based Service,LBS),位置信息作为一种服务(Location as a Service,LaaS)。从业务能力分类上,LaaS分为基本位置业务(LBS)和高级位置分析两个大类,其中,高级位置分析也可以称为位置洞察业务(Location Insight Service,LIS)。基本位置业务基于位置数据直接开放,如获取特定用户实时/历史单点位置点、获取用户实时/历史多点位置(轨迹)、地理围栏(Geo-fencing)等,基本位置业务的能力开放可支持实时位置和历史位置两子场景。高级位置分析主要对特定时间、空间、人群的位置点进行深入分析和挖掘,建立人群移动轨迹模型,完成区域分析、路径分析、人群位置属性挖掘等,高级位置分析也可支持实时位置和历史位置两种场景。For example, Location Based Service (LBS), Location Information as a Service (Location as a Service, LaaS). From the classification of business capabilities, LaaS is divided into two categories: basic location service (LBS) and advanced location analysis. Among them, advanced location analysis can also be called Location Insight Service (LIS). The basic location service is directly open based on location data, such as acquiring real-time/historical single-point location points of specific users, acquiring real-time/historical multi-point locations (trajectories), geo-fencing, etc., and the ability to open basic location services can be supported. Two sub-scenes of real-time location and historical location. Advanced location analysis mainly analyzes and excavates the location points of specific time, space and crowds, establishes the population movement trajectory model, completes regional analysis, path analysis, crowd location attribute mining, etc. Advanced location analysis can also support real-time location and historical location. Two scenarios.
位置能力开放,需要核心网提供标识映射应用程序编程接口(Application Programming Interface,API),支持本地应用;集中部署-运营商网关模式位置能力开放需要运营商网关本身提供标识映射能力。The location capability is open, and the core network needs to provide an identity mapping application programming interface (API) to support local applications. The centralized deployment-operator gateway mode location capability requires the carrier gateway itself to provide identity mapping capability.
而现有技术中,实时位置信息和标识映射所需要的信息在核心网设备中,如PGW(packet data network gateway,分组数据网网关)、移动管理实体(Mobility Management Entity,MME)等网元处分布,但是基于安全考虑, PGW和MME不支持向第三方应用设备或者安装在第三方应用程序设备上的第三方应用程序(Application,APP)提供开放接口,且基站侧向第三方应用设备开放的服务锚点,只向第三方应用设备提供用户设备的临时标识和位置信息,不提供用户设备的永久标识信息,以使第三方应用设备无法实现根据用户标识获取用户的实时位置信息。In the prior art, the real-time location information and the information required for the identity mapping are in the core network device, such as a PGW (packet data network gateway), a mobility management entity (Mobility Management Entity, MME), and the like. Distribution, but based on security considerations, The PGW and the MME do not support providing an open interface to a third-party application device or a third-party application (Application, APP) installed on the third-party application device, and the service anchor point opened by the base station side to the third-party application device is only The third-party application device provides the temporary identifier and the location information of the user equipment, and does not provide the permanent identifier information of the user equipment, so that the third-party application device cannot obtain the real-time location information of the user according to the user identifier.
发明内容Summary of the invention
本发明提供了一种标识映射的方法和系统,建立用户设备的临时标识和永久标识的标识映射关系,以实现第三方应用设备根据用户设备的标识获取用户设备的实时位置信息。The present invention provides a method and system for identifying a mapping, and establishing a mapping relationship between a temporary identifier of a user equipment and a permanent identifier, so that the third-party application device obtains real-time location information of the user equipment according to the identifier of the user equipment.
第一方面,本发明提供了一种标识映射的方法,方法包括:统一智能中心接收核心网设备(可以包括PGW、MME或服务网关SGW中一个或者多个设备)发送的第一数据信息,第一数据信息中包括用户设备的临时标识和用户设备的永久标识;统一智能中心根据第一数据信息,建立临时标识和永久标识的标识映射关系;统一智能中心接收服务锚点发送的第二数据信息,第二数据信息包括用户设备的临时标识和用户设备的实时位置信息;统一智能中心根据标识映射关系以及第二数据信息中的临时标识,将用户设备的永久标识和实时位置信息进行关联,并保存用户设备的实时位置信息,以用于第三方应用设备根据用户设备的临时标识或永久标识获取用户设备的位置信息。In a first aspect, the present invention provides a method for identifying a mapping, the method comprising: a unified intelligent center receiving first network information sent by a core network device (which may include one or more devices in a PGW, an MME, or a serving gateway SGW), The data information includes a temporary identifier of the user equipment and a permanent identifier of the user equipment; the unified intelligent center establishes an identifier mapping relationship between the temporary identifier and the permanent identifier according to the first data information; and the unified intelligent center receives the second data information sent by the service anchor point. The second data information includes a temporary identifier of the user equipment and real-time location information of the user equipment; the unified intelligent center associates the permanent identifier of the user equipment with the real-time location information according to the identifier mapping relationship and the temporary identifier in the second data information, and The real-time location information of the user equipment is saved, so that the third-party application device obtains the location information of the user equipment according to the temporary identifier or the permanent identifier of the user equipment.
其中,用户设备的位置信息可以包括用户设备的实时位置信息和用户设备的历史位置信息。The location information of the user equipment may include real-time location information of the user equipment and historical location information of the user equipment.
基于本发明提供的标识映射方法,通过统一智能中心建立用户设备的临时标识和永久标识的标识映射关系,并根据用户设备的标识映射关系和从服务锚点接收到的第二数据信息中的用户设备的临时标识,将用户设备的永久标识和从服务锚点接收到的与用户设备的临时标识对应的用户设备的实时位 置信息进行关联,实现了第三方应用设备根据用户设备的永久标识或者临时标识获取用户设备的实时位置信息或历史位置信息,即根据区域信息获取该区域内实时用户数量、进入或者离开指定区域的用户数量。The identifier mapping method provided by the present invention establishes the mapping relationship between the temporary identifier of the user equipment and the permanent identifier by the unified intelligent center, and according to the identifier mapping relationship of the user equipment and the user in the second data information received from the service anchor point. The temporary identifier of the device, the permanent identifier of the user equipment and the real-time bit of the user equipment corresponding to the temporary identifier of the user equipment received from the service anchor The information is associated with the third-party application device to obtain the real-time location information or historical location information of the user equipment according to the permanent identifier or the temporary identifier of the user equipment, that is, the real-time user number in the area is obtained according to the area information, and the specified area is entered or left. amount of users.
结合第一方面,在第一方面的第一种可能实现的方式中,在将用户设备的永久标识和实时位置信息进行关联,并保存用户设备的实时位置信息之后,该方法还包括:With reference to the first aspect, in a first possible implementation manner of the first aspect, after the permanent identifier of the user equipment is associated with the real-time location information, and the real-time location information of the user equipment is saved, the method further includes:
统一智能中心对保存的用户设备的实时位置信息进行第一编排处理,该第一编排处理为根据第三方应用设备的需求,或者说根据第三方应用设备的使用者的需求,对保存的用户设备的实时位置信息进行逻辑编排,得到相应的逻辑编排接口(或者调用接口),以用于第三方应用设备根据用户设备的临时标识或永久标识获取用户设备的位置信息。The unified intelligent center performs the first scheduling processing on the real-time location information of the saved user equipment, and the first scheduling processing is performed on the saved user equipment according to the requirements of the third-party application device, or according to the needs of the user of the third-party application device. The real-time location information is logically arranged, and the corresponding logical orchestration interface (or the calling interface) is obtained, so that the third-party application device obtains the location information of the user equipment according to the temporary identifier or the permanent identifier of the user equipment.
通过该方法,方便了第三方应用设备获取用户设备的位置信息,第三方应用设备可以根据需求直接通过编排好的调用接口获取用户设备的实时位置信息或历史位置信息。The method is convenient for the third-party application device to obtain the location information of the user equipment, and the third-party application device can obtain the real-time location information or historical location information of the user equipment directly through the arranged call interface according to the requirement.
结合第一方面或第一方面的第一种可能实现的方式,在第一方面的第二种可能实现的方式中,该方法还包括:With reference to the first aspect or the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, the method further includes:
统一智能中心接收第三方应用设备发送的实时位置调用请求,实时位置调用请求携带有用户设备的临时标识或永久标识;统一智能中心根据实时位置调用请求,获取用户设备的实时位置信息;统一智能中心将获取的用户设备的实时位置信息发送给第三方应用设备,或者,统一智能中心将获取的用户设备的实时位置信息存储在第一存储空间,并将第一存储空间的地址信息发送给第三方应用设备,以便于第三方应用设备根据该第一存储空间的地址信息获取用户设备的实时位置信息。The unified intelligent center receives the real-time location call request sent by the third-party application device, and the real-time location call request carries the temporary identifier or permanent identifier of the user equipment; the unified intelligent center acquires the real-time location information of the user equipment according to the real-time location call request; The real-time location information of the obtained user equipment is sent to the third-party application device, or the unified smart center stores the acquired real-time location information of the user equipment in the first storage space, and sends the address information of the first storage space to the third party. The device is configured to obtain the real-time location information of the user equipment according to the address information of the first storage space.
结合第一方面的第二种可能实现的方式中,在第一方面的第三种可能实现的方式中,统一智能中心根据实时位置调用请求,获取用户设备的位置信息,包括: With the second possible implementation of the first aspect, in a third possible implementation manner of the first aspect, the unified intelligent center acquires the location information of the user equipment according to the real-time location call request, including:
若实时位置调用请求携带有用户设备的永久标识,则统一智能中心根据实时位置调用请求,对保存的用户设备的实时位置信息进行第二编排处理,得到用户设备的实时位置信息;或者,If the real-time location invocation request carries the permanent identifier of the user equipment, the unified intelligent center performs the second processing on the real-time location information of the saved user equipment according to the real-time location invocation request, and obtains real-time location information of the user equipment; or
若实时位置调用请求携带有用户设备的临时标识,则统一智能中心根据标识映射关系和用户设备的临时标识,获取用户设备的永久标识,并根据获取的永久标识以及实时位置调用请求,对保存的用户设备的实时位置信息进行第二编排处理,得到用户设备的实时位置信息。If the real-time location invocation request carries the temporary identifier of the user equipment, the unified intelligent center acquires the permanent identifier of the user equipment according to the identifier mapping relationship and the temporary identifier of the user equipment, and according to the obtained permanent identifier and the real-time location call request, the saved The real-time location information of the user equipment is subjected to a second scheduling process to obtain real-time location information of the user equipment.
结合第一方面的第二种可能实现的方式或者结合第一方面的第三种可能实现的方式,在第一方面的第四种可能实现的方式中,实时位置调用请求还包括临时标识或者永久标识的标识类型、第一统一资源定位符URL、第一区域信息或第一时间段信息中的一个或多个信息。In conjunction with the second possible implementation of the first aspect or in combination with the third possible implementation of the first aspect, in a fourth possible implementation of the first aspect, the real-time location call request further includes temporary identification or permanent One or more of the identified identification type, the first uniform resource locator URL, the first area information, or the first time period information.
结合第一方面或者第一方面的任一可能实现的方式,在第一方面的第五种可能实现的方式中,该方法还包括:In a fifth possible implementation manner of the first aspect, the method further includes:
统一智能中心接收第三方应用设备发送的历史位置调用请求,历史位置调用请求携带有用户设备的临时标识或永久标识;统一智能中心根据历史位置调用请求,获取用户设备的历史位置信息;统一智能中心将历史位置信息发送给第三方应用设备,或者,统一智能中心将历史位置信息存储在第二存储空间,并将第二存储空间的地址信息发送给第三方应用设备,以便于第三方应用设备根据第二存储空间的地址信息获取用户设备的历史位置信息。The unified intelligent center receives the historical location call request sent by the third-party application device, and the historical location call request carries the temporary identifier or permanent identifier of the user equipment; the unified intelligent center invokes the request according to the historical location to obtain the historical location information of the user equipment; The historical location information is sent to the third-party application device, or the unified smart center stores the historical location information in the second storage space, and sends the address information of the second storage space to the third-party application device, so that the third-party application device can The address information of the second storage space acquires historical location information of the user equipment.
结合第一方面的第五种可能实现的方式,在第一方面的第六种可能实现的方式中,统一智能中心根据历史位置调用请求,获取用户设备的历史位置信息,包括:With reference to the fifth possible implementation of the first aspect, in a sixth possible implementation manner of the first aspect, the unified intelligent center acquires historical location information of the user equipment according to the historical location call request, including:
若历史位置调用请求携带有用户设备的永久标识,则统一智能中心根据历史位置调用请求,对保存的用户设备的实时位置信息进行第三编排处理,得到用户设备的历史位置信息;或者,If the historical location call request carries the permanent identifier of the user equipment, the unified intelligent center performs a third scheduling process on the real-time location information of the saved user equipment according to the historical location call request, to obtain historical location information of the user equipment; or
若历史位置调用请求携带有用户设备的临时标识,则统一智能中心根据 标识映射关系和用户设备的临时标识,获取用户设备的永久标识,并根据获取的永久标识以及历史位置调用请求,对保存的用户设备的实时位置信息进行第三编排处理,得到用户设备的历史位置信息。If the historical location call request carries the temporary identifier of the user equipment, the unified smart center is based on Identifying the mapping relationship and the temporary identifier of the user equipment, obtaining the permanent identifier of the user equipment, and performing the third processing on the real-time location information of the saved user equipment according to the obtained permanent identifier and the historical location call request, to obtain the historical location of the user equipment. information.
结合第一方面的第五种可能实现的方式或者结合第一方面的第六种可能实现的方式,在第一方面的第七种可能实现的方式中,历史位置调用请求还包括临时标识或永久标识的标识类型、第二统一资源定位符URL、第二区域信息或第二时间段信息中的一个或多个信息。In conjunction with the fifth possible implementation of the first aspect or in combination with the sixth possible implementation of the first aspect, in a seventh possible implementation manner of the first aspect, the historical location call request further includes temporary identification or permanent One or more of the identified identification type, the second uniform resource locator URL, the second area information, or the second time period information.
结合第一方面的第二种可能实现的方式至第七种可能实现的任一可能实现的方式,在第一方面的第八种可能实现的方式中,统一智能中心通过表征状态转移REST接口接收第三方应用设备发送的实时位置调用请求或历史位置调用请求中的一种或两种。In conjunction with the second possible implementation of the first aspect to any of the possible implementations of the seventh possible implementation, in an eighth possible implementation manner of the first aspect, the unified intelligent center receives the REST interface through the characterization state transition One or both of a real-time location call request or a historical location call request sent by a third-party application device.
结合第一方面、第一方面的第一种可能实现的方式至第七种可能实现的方式中的任一可能实现的方式,在第一方面的第九种可能实现的方式中,临时标识包括隧道端点标识符TEID、S1应用协议标识S1APID、临时移动用户身份S-TMSI、网络之间互联的协议IP、媒体访问控制MAC地址中一个;永久标识包括移动用户号码MSISDN、国际移动标识IMEI、国际移动用户识别码IMSI中的一个。In combination with the first aspect, the first possible implementation manner of the first aspect, or any of the possible implementation manners of the seventh possible implementation manner, in a ninth possible implementation manner of the first aspect, the temporary identifier includes Tunnel Endpoint Identifier TEID, S1 Application Protocol Identifier S1APID, Temporary Mobile User Identity S-TMSI, Protocol IP Interconnected between Networks, Media Access Control MAC Address; Permanent Identity including Mobile Subscriber Number MSISDN, International Mobile Identity IMEI, International One of the mobile subscriber identity IMSIs.
结合第一方面、第一方面的第一种可能实现的方式至第一方面的第九种可能实现的方式,在第一方面的第十种可能实现的方式中,统一智能中心接收核心网设备发送的第一数据信息,包括:With reference to the first aspect, the first possible implementation manner of the first aspect, to the ninth possible implementation manner of the first aspect, in the tenth possible implementation manner of the first aspect, the unified intelligent center receiving core network device The first data message sent, including:
统一智能中心接收核心网设备通过用户数据包协议UDP发送的第一数据信息。The unified intelligent center receives the first data information sent by the core network device through the user data packet protocol UDP.
结合第一方面、或者第一方面的以上任一种可能实现的方式,在第一方面的第十一种可能实现的方式中,统一智能中心接收服务锚点发送的第二数据信息,包括:With reference to the first aspect, or any one of the foregoing possible implementations of the first aspect, in the eleventh possible implementation manner of the first aspect, the unified intelligent center receives the second data information that is sent by the service anchor, and includes:
统一智能中心通过统一智能中心与服务锚点之间的So接口,接收服务锚 点发送的第二数据信息。Unified Smart Center receives service anchors by unifying the So interface between the intelligent center and the service anchor The second data information sent by the point.
结合第一方面的第十一种可能实现的方式中,在第一方面的第十二种可能实现的方式中,So接口支持隧道端点标识符TEID、S1应用协议S1APID、临时移动用户身份S-TMSI、网络之间互联的协议IP地址和媒体访问控制MAC地址中的一个或多个。In conjunction with the eleventh possible implementation of the first aspect, in a twelfth possible implementation manner of the first aspect, the So interface supports the tunnel endpoint identifier TEID, the S1 application protocol S1APID, and the temporary mobile user identity S- One or more of the TMSI, the protocol IP address interconnected by the network, and the media access control MAC address.
结合第一方面或第一方面的任一可能实现的方式,在第一方面的第十三种可能实现的方式中,该方法还包括:In conjunction with the first aspect or any possible implementation of the first aspect, in a thirteenth possible implementation manner of the first aspect, the method further includes:
统一智能中心将标识映射关系存储在实时数据库RTDB中。The Unified Intelligence Center stores the identity mapping relationship in the real-time database RTDB.
第二方面,本发明提供一种系统,该系统包括:In a second aspect, the present invention provides a system comprising:
接收单元,用于接收核心网设备(可以包括PGW、MME、SGW中的一个或者多个设备)发送的第一数据信息,第一数据信息中包括用户设备的临时标识和用户设备的永久标识;a receiving unit, configured to receive first data information that is sent by a core network device (which may include one or more of a PGW, an MME, and an SGW), where the first data information includes a temporary identifier of the user equipment and a permanent identifier of the user equipment;
建立单元,用于根据第一数据信息,建立临时标识和永久标识的标识映射关系;Establishing a unit, configured to establish, according to the first data information, an identifier mapping relationship between the temporary identifier and the permanent identifier;
接收单元,还用于接收服务锚点发送的第二数据信息,第二数据信息包括用户设备的临时标识和用户设备的实时位置信息;The receiving unit is further configured to receive second data information that is sent by the service anchor, where the second data information includes a temporary identifier of the user equipment and real-time location information of the user equipment;
关联单元,用于根据标识映射关系以及第二数据信息中的临时标识,将用户设备的永久标识和实时位置信息进行关联,并保存用户设备的实时位置信息,以用于第三方应用设备根据用户设备的临时标识或永久标识获取用户设备的位置信息。The association unit is configured to associate the permanent identifier of the user equipment with the real-time location information according to the identifier mapping relationship and the temporary identifier in the second data information, and save the real-time location information of the user equipment, so that the third-party application device is used according to the user. The temporary identifier or permanent identifier of the device obtains the location information of the user equipment.
其中,用户设备的位置信息可以包括用户设备的实时位置信息和用户设备的历史位置信息。The location information of the user equipment may include real-time location information of the user equipment and historical location information of the user equipment.
基于本发明提供的系统,通过系统根据接收到的核心网设备发送的第一数据信息建立用户设备的临时标识和永久标识的标识映射关系,并根据用户设备的标识映射关系和从服务锚点接收到的第二数据信息中的用户设备的临时标识,将用户设备的永久标识和从服务锚点接收到的与用户设备的临时标 识对应的用户设备的实时位置信息进行关联,实现了第三方应用设备根据用户设备的永久标识或者临时标识获取用户设备的实时位置信息或历史位置信息,即根据区域信息获取该区域内实时用户数量、进入或者离开指定区域的用户数量。According to the system provided by the present invention, the system establishes the mapping relationship between the temporary identifier of the user equipment and the permanent identifier according to the first data information sent by the received core network device, and receives the mapping relationship according to the identifier of the user equipment and receives the identifier from the service anchor. The temporary identifier of the user equipment in the second data information, the permanent identifier of the user equipment and the temporary identifier of the user equipment received from the service anchor The real-time location information of the corresponding user equipment is associated with the real-time location information of the user equipment, and the real-time location information or historical location information of the user equipment is obtained according to the permanent identifier or the temporary identifier of the user equipment, that is, the real-time user quantity in the area is obtained according to the area information. The number of users entering or leaving the specified area.
结合第二方面,在第二方面的第一种可能实现的方式中,该系统还包括:In conjunction with the second aspect, in a first possible implementation manner of the second aspect, the system further includes:
编排单元,用于对保存的用户设备的实时位置信息进行第一编排处理,该第一编排处理为根据第三方应用设备的需求,或者说根据第三方应用设备的使用者的需求,对保存的用户设备的实时位置信息进行逻辑编排,得到相应的逻辑编排接口(或者调用接口),以用于第三方应用设备根据用户设备的临时标识或永久标识获取用户设备的位置信息。a scheduling unit, configured to perform first scheduling processing on the real-time location information of the saved user equipment, where the first scheduling processing is performed according to the requirements of the third-party application device, or according to the needs of the user of the third-party application device The real-time location information of the user equipment is logically arranged, and the corresponding logical orchestration interface (or the calling interface) is obtained, so that the third-party application device obtains the location information of the user equipment according to the temporary identifier or the permanent identifier of the user equipment.
方便了第三方应用设备获取用户设备的位置信息,第三方应用设备可以根据需求直接通过编排好的调用接口获取用户设备的实时位置信息或历史位置信息。The third-party application device is convenient for obtaining the location information of the user equipment, and the third-party application device can obtain the real-time location information or historical location information of the user equipment directly through the arranged call interface according to requirements.
结合第二方面或第二方面的第一种可能实现的方式,在第二方面的第二种可能实现的方式中,该系统还包括获取单元和发送单元;With reference to the second aspect or the first possible implementation manner of the second aspect, in a second possible implementation manner of the second aspect, the system further includes an acquiring unit and a sending unit;
接收单元,还用于接收第三方应用设备发送的实时位置调用请求,实时位置调用请求携带有用户设备的临时标识或永久标识;The receiving unit is further configured to receive a real-time location call request sent by the third-party application device, where the real-time location call request carries a temporary identifier or a permanent identifier of the user equipment;
获取单元,用于根据实时位置调用请求,获取用户设备的实时位置信息;An obtaining unit, configured to acquire real-time location information of the user equipment according to the real-time location calling request;
发送单元,用于将获取的用户设备的实时位置信息发送给第三方应用设备,或者,发送单元,用于将获取的用户设备的实时位置信息存储在第一存储空间,并将第一存储空间的地址信息发送给第三方应用设备,以便于第三方应用设备根据该第一存储空间的地址信息获取用户设备的实时位置信息。a sending unit, configured to send the acquired real-time location information of the user equipment to the third-party application device, or a sending unit, configured to store the acquired real-time location information of the user equipment in the first storage space, and store the first storage space The address information is sent to the third-party application device, so that the third-party application device obtains the real-time location information of the user device according to the address information of the first storage space.
结合第二方面的第二种可能实现的方式中,在第二方面的第三种可能实现的方式中,In conjunction with the second possible implementation of the second aspect, in a third possible implementation of the second aspect,
若实时位置调用请求携带有用户设备的永久标识,则获取单元根据实时位置调用请求,对保存的用户设备的实时位置信息进行第二编排处理,得到 用户设备的实时位置信息;或者,If the real-time location invocation request carries the permanent identifier of the user equipment, the acquiring unit performs a second scheduling process on the saved real-time location information of the user equipment according to the real-time location invocation request. Real-time location information of the user device; or,
若实时位置调用请求携带有用户设备的临时标识,则获取单元根据标识映射关系和用户设备的临时标识,获取用户设备的永久标识,并根据获取的永久标识以及实时位置调用请求,对保存的用户设备的实时位置信息进行第二编排处理,得到用户设备的实时位置信息。If the real-time location call request carries the temporary identifier of the user equipment, the acquiring unit acquires the permanent identifier of the user equipment according to the identifier mapping relationship and the temporary identifier of the user equipment, and invokes the request according to the obtained permanent identifier and the real-time location call request to the saved user. The real-time location information of the device is subjected to a second programming process to obtain real-time location information of the user equipment.
结合第二方面的第二种可能实现的方式或者结合第二方面的第三种可能实现的方式,在第二方面的第四种可能实现的方式中,实时位置调用请求还包括临时标识或者永久标识的标识类型、第三方应用设备从统一智能中心获取数据的第一统一资源定位符URL、第一区域信息或第一时间段信息中的一个或多个信息。In conjunction with the second possible implementation of the second aspect or in combination with the third possible implementation of the second aspect, in a fourth possible implementation of the second aspect, the real-time location call request further includes temporary identification or permanent The identifier type of the identifier, the first uniform resource locator URL of the data obtained by the third-party application device from the unified smart center, the first area information, or one or more pieces of information in the first time period information.
结合第二方面或者第二方面的任一可能实现的方式,在第二方面的第五种可能实现的方式中,In conjunction with the second aspect or any of the possible implementations of the second aspect, in a fifth possible implementation manner of the second aspect,
接收单元,还用于接收第三方应用设备发送的历史位置调用请求,历史位置调用请求携带有用户设备的临时标识或永久标识;The receiving unit is further configured to receive a historical location call request sent by the third-party application device, where the historical location call request carries a temporary identifier or a permanent identifier of the user equipment;
获取单元,还用于根据历史位置调用请求,获取用户设备的历史位置信息;The obtaining unit is further configured to acquire a historical location information of the user equipment according to the historical location call request;
发送单元,还用于将历史位置信息发送给第三方应用设备,或者,发送单元,还用于将历史位置信息存储在第二存储空间,并将第二存储空间的地址信息发送给第三方应用设备,以便于第三方应用设备根据第二存储空间的地址信息获取用户设备的历史位置信息。The sending unit is further configured to send the historical location information to the third-party application device, or the sending unit is further configured to store the historical location information in the second storage space, and send the address information of the second storage space to the third-party application. The device is configured to obtain the historical location information of the user equipment according to the address information of the second storage space.
结合第二方面的第五种可能实现的方式,在第二方面的第六种可能实现的方式中,In conjunction with the fifth possible implementation of the second aspect, in a sixth possible implementation of the second aspect,
若历史位置调用请求携带有用户设备的永久标识,则获取单元根据历史位置调用请求,对保存的用户设备的实时位置信息进行第三编排处理,得到用户设备的历史位置信息;或者,If the history location call request carries the permanent identifier of the user equipment, the acquiring unit performs a third scheduling process on the real-time location information of the saved user equipment according to the historical location call request, to obtain historical location information of the user equipment; or
若历史位置调用请求携带有用户设备的临时标识,则获取单元根据标识 映射关系和用户设备的临时标识,获取用户设备的永久标识,并根据获取的永久标识以及历史位置调用请求,对保存的用户设备的实时位置信息进行第三编排处理,得到用户设备的历史位置信息。If the historical location call request carries the temporary identifier of the user equipment, the obtaining unit according to the identifier The mapping relationship and the temporary identifier of the user equipment acquire the permanent identifier of the user equipment, and perform the third processing on the saved real-time location information of the user equipment according to the obtained permanent identifier and the historical location call request, to obtain the historical location information of the user equipment. .
结合第二方面的第五种可能实现的方式或者结合第二方面的第六种可能实现的方式,在第二方面的第七种可能实现的方式中,历史位置调用请求还包括临时标识或永久标识的标识类型、第三方应用设备从统一智能中心获取数据的第二统一资源定位符URL、第二区域信息或第二时间段信息中的一个或多个信息。In conjunction with the fifth possible implementation of the second aspect or the sixth possible implementation of the second aspect, in a seventh possible implementation of the second aspect, the historical location call request further includes a temporary identifier or permanent The identifier type of the identifier, the one or more information of the second uniform resource locator URL, the second area information, or the second time period information obtained by the third-party application device from the unified smart center.
结合第二方面的第二种可能实现的方式至第七种可能实现的任一可能实现的方式,在第二方面的第八种可能实现的方式中,接收单元通过表征状态转移REST接口接收第三方应用设备发送的实时位置调用请求或历史位置调用请求中的一种或两种。With reference to the second possible implementation of the second aspect to any possible implementation of the seventh possible implementation, in an eighth possible implementation manner of the second aspect, the receiving unit receives the One or both of the real-time location call request or the historical location call request sent by the three-party application device.
结合第二方面、第二方面的第一种可能实现的方式至第七种可能实现的方式中的任一可能实现的方式,在第二方面的第九种可能实现的方式中,临时标识包括隧道端点标识符TEID、S1应用协议标识S1APID、临时移动用户身份S-TMSI、网络之间互联的协议IP、媒体访问控制MAC地址中一个;永久标识包括移动用户号码MSISDN、国际移动标识IMEI、国际移动用户识别码IMSI中的一个。With reference to the second aspect, the first possible implementation manner of the second aspect, and the possible implementation manner of the seventh possible implementation manner, in the ninth possible implementation manner of the second aspect, the temporary identifier includes Tunnel Endpoint Identifier TEID, S1 Application Protocol Identifier S1APID, Temporary Mobile User Identity S-TMSI, Protocol IP Interconnected between Networks, Media Access Control MAC Address; Permanent Identity including Mobile Subscriber Number MSISDN, International Mobile Identity IMEI, International One of the mobile subscriber identity IMSIs.
结合第二方面、第二方面的第一种可能实现的方式至第二方面的第九种可能实现的方式,在第二方面的第十种可能实现的方式中,接收单元,具体包括:With reference to the second aspect, the first possible implementation manner of the second aspect, and the ninth possible implementation manner of the second aspect, in a tenth possible implementation manner of the second aspect, the receiving unit includes:
接收核心网设备通过用户数据包协议UDP发送的第一数据信息。Receiving the first data information sent by the core network device through the user data packet protocol UDP.
结合第二方面、或者第二方面的以上任一种可能实现的方式,在第二方面的第十一种可能实现的方式中,接收单元,具体包括:With reference to the second aspect, or any of the foregoing possible implementation manners of the second aspect, in the eleventh possible implementation manner of the second aspect, the receiving unit includes:
通过统一智能中心与服务锚点之间的So接口,接收服务锚点发送的第二数据信息。 The second data information sent by the service anchor is received by unifying the So interface between the intelligent center and the service anchor.
结合第二方面的第十一种可能实现的方式中,在第二方面的第十二种可能实现的方式中,So接口支持隧道端点标识符TEID、S1应用协议S1APID、临时移动用户身份S-TMSI、网络之间互联的协议IP地址和媒体访问控制MAC地址中的一个或多个。In conjunction with the eleventh possible implementation of the second aspect, in a twelfth possible implementation manner of the second aspect, the So interface supports the tunnel endpoint identifier TEID, the S1 application protocol S1APID, and the temporary mobile user identity S- One or more of the TMSI, the protocol IP address interconnected by the network, and the media access control MAC address.
结合第二方面或第一方面的任一可能实现的方式,在第二方面的第十三种可能实现的方式中该系统还包括:In conjunction with the second aspect or any possible implementation of the first aspect, in a thirteenth possible implementation manner of the second aspect, the system further includes:
存储单元,用于将标识映射关系存储在实时数据库RTDB中。A storage unit, configured to store the identity mapping relationship in the real-time database RTDB.
采用本发明提供的标识映射的方法和系统,通过统一智能中心建立用户设备的临时标识和永久标识的标识映射关系以及实时位置调用接口,实现了第三方应用设备根据用户设备的永久标识通过实时位置调用接口获取用户设备的实时位置信息或根据区域信息,获取该区域内实时用户数、进入或离开指定区域的用户。By using the method and system for the identity mapping provided by the present invention, the unified intelligent center establishes the mapping relationship between the temporary identifier of the user equipment and the permanent identifier, and the real-time location calling interface, so that the third-party application device passes the real-time location according to the permanent identifier of the user equipment. The calling interface obtains the real-time location information of the user equipment or obtains the number of real-time users in the area and the users entering or leaving the designated area according to the area information.
附图说明DRAWINGS
为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例中所需要使用的附图作简单地介绍,显而易见地,下面所描述的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings to be used in the embodiments of the present invention will be briefly described below. It is obvious that the drawings described below are only some embodiments of the present invention, Those skilled in the art can also obtain other drawings based on these drawings without paying any creative work.
图1是本发明实施例提供的一种统一智能中心的架构示意图;1 is a schematic structural diagram of a unified intelligent center according to an embodiment of the present invention;
图2为本发明实施例提供的一种统一智能中心的结构示意图;2 is a schematic structural diagram of a unified intelligent center according to an embodiment of the present invention;
图3为本发明实施例提供的一种标识映射方法的流程图;FIG. 3 is a flowchart of an identifier mapping method according to an embodiment of the present invention;
图4为本发明实施例提供的另一种标识映射方法的流程图;FIG. 4 is a flowchart of another method for marking mapping according to an embodiment of the present invention;
图5为本发明实施例提供的另一种标识映射方法的流程图;FIG. 5 is a flowchart of another method for marking mapping according to an embodiment of the present invention;
图6为本发明实施例提供的一种建立标识映射关系的方法流程信令图;FIG. 6 is a schematic flowchart of a method for establishing an identity mapping relationship according to an embodiment of the present disclosure;
图7为本发明实施例提供的另一种建立标识映射关系的方法流程信令图;FIG. 7 is a schematic flowchart of a method for establishing an identity mapping relationship according to an embodiment of the present disclosure;
图8为本发明实施例提供的又一种建立标识映射关系的方法流程信令图; FIG. 8 is a schematic flowchart of a method for establishing an identity mapping relationship according to an embodiment of the present disclosure;
图9为本发明实施例提供的系统的结构示意图。FIG. 9 is a schematic structural diagram of a system according to an embodiment of the present invention.
具体实施方式detailed description
本发明实施例基于安全考虑,由于UL(UMTS-LTE)系统在无线接入网(Radio Access Network,RAN)侧使用的用户标识为临时标识,在应用侧调用能力开放API时提供的用户标识为永久标识,通过能力开放系统建立临时标识与永久标识的映射关系,以便第三方应用程序APP能够根据用户标识获取实时用户上下文和实时位置信息。The user identifier used by the UL (UMTS-LTE) system on the radio access network (RAN) side is a temporary identifier, and the user identifier provided when the application side invokes the capability open API is The permanent identifier establishes a mapping relationship between the temporary identifier and the permanent identifier through the capability open system, so that the third-party application APP can obtain the real-time user context and real-time location information according to the user identifier.
其中,UL系统或UMTS-LTE系统为长期演进(Long Term Evolution,LTE)系统、通用移动通讯系统(Universal Mobile Telecommunications System,UMTS)系统的简称。The UL system or the UMTS-LTE system is an abbreviation of a Long Term Evolution (LTE) system and a Universal Mobile Telecommunications System (UMTS) system.
图1为本发明实施例提供的一种统一智能中心的架构示意图。如图1所示,该能力开放系统包括数据源100、统一智能中心200和核心网设备300。FIG. 1 is a schematic structural diagram of a unified intelligent center according to an embodiment of the present invention. As shown in FIG. 1, the capability open system includes a data source 100, a unified smart center 200, and a core network device 300.
在本发明实施例中,数据源100可以包括Lampsite/Pico(小基站)和服务锚点(Service Anchor),该Service Anchor可以处理Lampsite/Pico通过So接口上传的数据信息,该数据信息中可以包括用户的临时标识和定位数据。Service Anchor对接收到的定位数据进行位置计算,得到实时位置信息。In the embodiment of the present invention, the data source 100 may include a Lampsite/Pico (small base station) and a service anchor (Service Anchor), and the Service Anchor may process data information uploaded by the Lampsite/Pico through the So interface, and the data information may include Temporary identification and positioning data for the user. Service Anchor performs location calculation on the received positioning data to obtain real-time location information.
统一智能中心200用于接收核心网设备300发送的数据信息,建立标识映射关系,并根据标识映射关系以及接收到的数据源100发送数据信息进行逻辑编排生成标识映射应用程序接口(Application Program Interface,API)、实时位置API和历史位置API,以便于第三方应用设备或者安装在第三方应用设备上的第三方应用程序APP可以通过该统一智能中心200通过调用接口调用用户的上下文和查询用户的实时位置信息。The unified intelligent center 200 is configured to receive data information sent by the core network device 300, establish an identity mapping relationship, and logically arrange an application mapping interface (Application Program Interface) according to the identifier mapping relationship and the received data source 100. API), real-time location API and historical location API, so that the third-party application device or the third-party application APP installed on the third-party application device can invoke the user's context and query the user's real-time through the calling interface through the unified intelligent center 200. location information.
其中,统一智能中心200包括实时位置分析组件210、标识映射数据库220、标识映射API 230、实时位置API 240、历史位置数据分析组件250和历史位置API 260。 The unified intelligent center 200 includes a real-time location analysis component 210, an identity mapping database 220, an identity mapping API 230, a real-time location API 240, a historical location data analysis component 250, and a historical location API 260.
统一智能中心200用于接收核心网设备300,例如:PGW、MME、服务网关(Serving GateWay,SGW)发送的信息,其中,该信息中可以包括用户的临时标识和永久标识;根据接收的信息建立标识映射关系,并将建立的标识映射关系存储在标识映射数据库240中;根据标识映射关系进行编排,具体可以为封装,将标识映射关系封装成可以支持第三方APP调用的标识映射API 230。该标识映射API可以采用Restful接口协议和JDBC查询标识映射信息。其中,Restful接口也称作表征状态转移REST(representational state transfer)接口;JDBC(Java Data Base Connectivity,Java数据库连接)为多种关系的数据库提供统一访问,该JDBC是一种用于执行SQL语句的Java API,是由一组Java语言编写的类和接口组成。The unified smart center 200 is configured to receive information sent by the core network device 300, such as a PGW, an MME, or a Serving GateWay (SGW), where the information may include a temporary identifier and a permanent identifier of the user; and the information is established according to the received information. The mapping relationship is identified, and the established identity mapping relationship is stored in the identifier mapping database 240. The mapping is performed according to the identifier mapping relationship, and may be encapsulated, and the identifier mapping relationship is encapsulated into an identifier mapping API 230 that can support third-party APP calls. The identity mapping API can use the Restful interface protocol and the JDBC query identifier mapping information. The Restful interface is also called a representational state transfer (REST) interface; JDBC (Java Data Base Connectivity) provides unified access to a database of various relationships, which is used to execute SQL statements. The Java API is composed of a set of classes and interfaces written in the Java language.
在本发明实施例中,核心网设备300与统一智能中心200之间的接口,可以采用用户数据报协议(User Datagram Protocol,UDP)接口协议进行通信,向统一智能中心200发送数据信息。In the embodiment of the present invention, the interface between the core network device 300 and the unified intelligent center 200 can be communicated by using a User Datagram Protocol (UDP) interface protocol, and the data information is sent to the unified intelligent center 200.
在本发明实施例中,实时位置分析组件210用于接收数据源发送的数据信息,从接收的数据信息中获取用户的临时用户标识和实时位置信息。根据用户的临时标识和标识映射数据库220中的标识映射关系,确定用户的永久标识,将永久标识和实时位置信息进行关联,根据需求进行逻辑编排,得到实时位置API 240。其中,逻辑编排是一种软件编程,或者说定义根据那些参数,进行如何的处理,可以得到用户设备的实时位置信息的过程。In the embodiment of the present invention, the real-time location analysis component 210 is configured to receive data information sent by the data source, and obtain the temporary user identifier and real-time location information of the user from the received data information. According to the temporary identifier of the user and the identifier mapping relationship in the identifier mapping database 220, the permanent identifier of the user is determined, the permanent identifier is associated with the real-time location information, and logically arranged according to requirements, and the real-time location API 240 is obtained. Among them, logical orchestration is a kind of software programming, or a process of defining how to process real-time location information of user equipment according to those parameters.
在本发明实施例中,将经过用户设备的永久标识和实时位置信息关联后的数据信息存储到历史位置数据分析组件,并根据需求对历史分析模块中的数据信息进行逻辑编排处理,得到历史位置API 260。In the embodiment of the present invention, the data information associated with the permanent identifier of the user equipment and the real-time location information is stored in the historical location data analysis component, and the data information in the historical analysis module is logically arranged according to requirements to obtain a historical location. API 260.
需要说明的是,在本申请实施例中,数据源100中Lampsite/Pico、Service Anchor和统一智能中心200之间可以通过So接口通信,该So接口支持上报隧道端点标识符(tunnel endpoint Identity,TEID)、S1应用协议标识(S1application protocol identity,S1APID)、临时移动用户标识(System  Architecture Evolution-Temporary Mobile Subscriber Identity,S-TMSI)、网络之间互联的协议(Internet Protocol,IP)和媒体访问控制(Media Access Control,MAC)地址中的一种或多种。其中,S1-AP为eNodeB和SGW之间的接口It should be noted that, in the embodiment of the present application, the Lampsite/Pico, the Service Anchor, and the unified intelligent center 200 in the data source 100 can communicate through the So interface, and the So interface supports the report tunnel endpoint identifier (TEID). ), S1 application protocol identity (S1APID), temporary mobile subscriber identity (System) Architecture Evolution-Temporary Mobile Subscriber Identity (S-TMSI), one or more of Internet Protocol (IP) and Media Access Control (MAC) addresses. Where S1-AP is the interface between the eNodeB and the SGW.
还需要说明的是,本发明实施例提供的统一智能中心200与第三方应用APP之间通信采用北向接口,其北向接口(Northbound Interface)是为厂家或运营商接入和管理网络的接口,即向上提供的接口。在本发明实施例中统一智能中心200与第三方APP通过Restful接口协议和JDBC查询标识映射信息。It should be noted that the communication between the unified intelligent center 200 and the third-party application APP provided by the embodiment of the present invention uses a northbound interface, and the northbound interface is an interface for the manufacturer or the operator to access and manage the network, that is, The interface provided upwards. In the embodiment of the present invention, the unified intelligent center 200 and the third-party APP use the Restful interface protocol and the JDBC query to identify the mapping information.
在本发明实施例中标识映射数据库采用独立RTDB存放标识映射关系,支持毫秒(ms)级响应,查询结果实时返回,可以达到50ms内返回查询结果;且支持向OTT(Over The Top)开放,支持对OTT的鉴权。其中,OTT是指通过互联网向用户提供各种应用服务的平台。In the embodiment of the present invention, the identifier mapping database uses an independent RTDB to store the identifier mapping relationship, supports millisecond (ms) level response, and the query result returns in real time, and can return the query result within 50 ms; and supports opening to OTT (Over The Top), and supports Authentication of OTT. Among them, OTT refers to a platform that provides various application services to users through the Internet.
图2为本发明实施例提供的一种统一智能中心的结构示意图。如图3所示,该统一智能中心800包括接收器810、发送器820、处理器830、存储器840、通信接口850和通信总线860。接收器810、发送器820、处理器830、存储器840、通信接口850通过通信总线860连接,并完成相互之间的通信。接收器810、发射器通过通信接口接收外部设备输入的信号或者向外部设备发送相应的数据或指令,存储器840用来存储指令和数据。处理器830用于调用存储器中的指令。FIG. 2 is a schematic structural diagram of a unified intelligent center according to an embodiment of the present invention. As shown in FIG. 3, the unified smart center 800 includes a receiver 810, a transmitter 820, a processor 830, a memory 840, a communication interface 850, and a communication bus 860. The receiver 810, the transmitter 820, the processor 830, the memory 840, and the communication interface 850 are connected by a communication bus 860 and complete communication with each other. The receiver 810, the transmitter receives a signal input by an external device through a communication interface or transmits corresponding data or an instruction to an external device, and the memory 840 is used to store the instruction and the data. The processor 830 is configured to call instructions in the memory.
在本发明实施例中,处理器830可以是中央处理单元(Central Processing Unit,CPU),该处理器830还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。In the embodiment of the present invention, the processor 830 may be a central processing unit (CPU), and the processor 830 may also be another general-purpose processor, a digital signal processor (DSP), an application specific integrated circuit. (Application Specific Integrated Circuit, ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, etc. The general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
通信总线860除包括数据总线之外,还可以包括电源总线、控制总线和 状态信号总线等。但是为了清楚说明起见,在图中将各种总线都标为通信总线860。The communication bus 860 may include a power bus, a control bus, and the like in addition to the data bus. Status signal bus, etc. However, for clarity of description, various buses are labeled as communication bus 860 in the figure.
存储器840可以包括只读存储器和随机存取存储器,并向处理器提供指令和数据。存储器的一部分还可以包括非易失性随机存取存储器。例如,存储器还可以存储设备类型的信息。 Memory 840 can include read only memory and random access memory and provides instructions and data to the processor. A portion of the memory may also include a non-volatile random access memory. For example, the memory can also store information of the device type.
图3为本发明实施例提供的一种映射方法的流程示意图。如图3所示,该方法400的执行主体为图1所示的统一智能中心(Unified Intelligence Center,UIC)200,该方法400包括可以以下步骤:FIG. 3 is a schematic flowchart diagram of a mapping method according to an embodiment of the present invention. As shown in FIG. 3, the execution body of the method 400 is a Unified Intelligence Center (UIC) 200 shown in FIG. 1. The method 400 includes the following steps:
S410,接收核心网设备发送的第一数据信息,第一数据信息包括用户设备的临时标识和用户设备的永久标识。S410. Receive first data information sent by the core network device, where the first data information includes a temporary identifier of the user equipment and a permanent identifier of the user equipment.
具体的,在本发明实施例中,核心网设备可以包括PGW、MME或SGW中的一个或多个设备。Specifically, in the embodiment of the present invention, the core network device may include one or more devices in the PGW, the MME, or the SGW.
用户设备的临时标识可以包括隧道端点标识符TEID、S1应用协议标识S1APID、临时移动用户身份S-TMSI、网络之间互联的协议IP、媒体访问控制MAC地址中一个。The temporary identifier of the user equipment may include one of a tunnel endpoint identifier TEID, an S1 application protocol identifier S1APID, a temporary mobile subscriber identity S-TMSI, a protocol IP interconnected between networks, and a media access control MAC address.
用户设备的永久标识可以包括移动用户号码MSISDN、国际移动标识IMEI、国际移动用户识别码IMSI中的一个。The permanent identity of the user equipment may include one of a mobile subscriber number MSISDN, an international mobile identity IMEI, and an international mobile subscriber identity IMSI.
统一智能中心接收PGW、MME或SGW中的一个设备或多个设备通过用户数据包协议UDP发送的数据信息,也就是第一数据信息。例如:在本发明实施例中,统一智能中心可以将接收到的PGW发送的PGW Radius报文,PGW Radius报文中可以包括IP、接入点名称(Access Point Name,APN)、国际移动用户识别码(International Mobile Subscriber Identity,IMSI)、国际移动设备标识(International Mobile Equipment Identity,IMEI)、移动台国际综合业务数字网(Integrated Services Digital Network,ISDN)号码(Mobile Station International ISDN number,MSISDN)、PGW地址、无线接入技术(radio acess  technology,RAT)、RNT type、时间戳(TimeStamp)、服务GPRS支持节点(Serving GPRS Support Node,SGSN)地址、服务质量脚本(QoSProfile)、网关GPRS支持节点(Gateway GPRS Support Node,GGSN)地址、NASIP地址等信息。The unified intelligent center receives data information sent by one device or multiple devices of the PGW, MME or SGW through the user data packet protocol UDP, that is, the first data information. For example, in the embodiment of the present invention, the unified intelligent center may send the PGW Radius message sent by the received PGW. The PGW Radius message may include an IP, an Access Point Name (APN), and an international mobile subscriber identity. International Mobile Subscriber Identity (IMSI), International Mobile Equipment Identity (IMEI), Mobile Station International ISDN number (MSISDN), PGW Address, wireless access technology (radio acess Technology, RAT), RNT type, timestamp (TimeStamp), Serving GPRS Support Node (SGSN) address, QoS Profile, Gateway GPRS Support Node (GGSN) address, NASIP Address and other information.
统一智能中心可以接收到的MME发送的信息称为MME CHR,MME CHR中可以包括系统架构演进临时移动用户标识(System Architecture Evolution-Temporary Mobile Subscriber Identity,S-TMSI)、S1APID、IMSI、MSISDN、TimeStamp、MME UE S1APID、eNB UE S1APID、APN等信息。The information sent by the MME that the unified intelligent center can receive is called MME CHR. The MME CHR can include the System Architecture Evolution-Temporary Mobile Subscriber Identity (S-TMSI), S1APID, IMSI, MSISDN, and TimeStamp. Information such as MME UE S1APID, eNB UE S1APID, APN, and the like.
统一智能中心可以接收SGW发送的SGW报文中可以包括IMSI和TEID信息。The unified intelligent center can receive the IMSI and TEID information in the SGW message sent by the SGW.
在本发明实时例中,统一智能中心可以分别接收PGW、MME或SGW发送的数据信息,也可以同时接收PGW、MME或SGW发送的数据信息。且在本发明实施例中,统一智能中心还可以接收其他核心网设备发送的数据信息。In the real-time example of the present invention, the unified intelligent center may separately receive data information sent by the PGW, the MME, or the SGW, or may simultaneously receive data information sent by the PGW, the MME, or the SGW. In the embodiment of the present invention, the unified intelligent center can also receive data information sent by other core network devices.
S420,根据第一数据信息,建立临时标识和永久标识的标识映射关系。S420. Establish an identifier mapping relationship between the temporary identifier and the permanent identifier according to the first data information.
具体的,在本发明实施例中,统一智能中心解析接收到的核心网设备发送的第一数据信息,从第一数据信息中获取用户设备的临时标识和永久标识的对应关系,例如:统一智能中心需要解析PGW Radius报文中用户的临时标识(IP)和永久标识(IMSI或MSISDN),或者解析MME CHR获取临时标识(S-TMSI)和永久标识(IMSI或MSISDN),或者解析SGW报文获取临时标识(TEID)和永久标识(IMSI或MSISDN),并建立用户设备临时标识和永久标识的标识映射关系,也就是IP与IMSI或MSISDN、S-TMSI与IMSI或MSISDN、TEID与IMSI或MSISDN之间的对应关系。Specifically, in the embodiment of the present invention, the unified intelligent center parses the received first data information sent by the core network device, and obtains the correspondence between the temporary identifier and the permanent identifier of the user equipment from the first data information, for example, unified intelligence. The center needs to parse the temporary identifier (IP) and permanent identifier (IMSI or MSISDN) of the user in the PGW Radius message, or parse the MME CHR to obtain the temporary identifier (S-TMSI) and the permanent identifier (IMSI or MSISDN), or parse the SGW packet. Obtain a temporary identifier (TEID) and a permanent identifier (IMSI or MSISDN), and establish an identity mapping relationship between the temporary identifier of the user equipment and the permanent identifier, that is, IP and IMSI or MSISDN, S-TMSI and IMSI or MSISDN, TEID and IMSI or MSISDN Correspondence between them.
需要说明的是,在本发明实施例中,还可以建立其他临时标识和永久标识的标识映射关系,例如临时标识MAC地址与永久标识IMSI或MSISDN之间的对应关系等,在本发明实施例中,可以根据需求,进行建立相应临时标识和永久标识的标识映射关系,在此对临时标识和永久标识的类型不作限制。 It should be noted that, in the embodiment of the present invention, the mapping relationship between the temporary identifier and the permanent identifier may be established, for example, the correspondence between the temporary identifier MAC address and the permanent identifier IMSI or MSISDN, etc., in the embodiment of the present invention. The mapping relationship between the temporary identifier and the permanent identifier can be established according to the requirements, and the types of the temporary identifier and the permanent identifier are not limited herein.
S430,接收服务锚点发送的第二数据信息,第二数据信息包括用户设备的临时标识和用户设备的实时位置信息。S430. Receive second data information sent by the service anchor, where the second data information includes a temporary identifier of the user equipment and real-time location information of the user equipment.
具体的,服务锚点可以作为一个数据源。用户设备的临时标识为某一时间段或者某次数据发送过程中使用的标识,例如:TEID、S1APID、S-TMSI、IP或MAC地址等。实时位置信息为用户设备当时所处的位置信息。实时位置信息可以通过经纬度表示。Specifically, the service anchor can be used as a data source. The temporary identifier of the user equipment is an identifier used in a certain period of time or a certain data transmission process, for example, TEID, S1APID, S-TMSI, IP or MAC address. The real-time location information is the location information of the user equipment at the time. Real-time location information can be expressed in latitude and longitude.
统一智能中心接收服务锚点实时发送的包括用户设备临时标识和用户设备实时位置信息的数据信息,即第二数据信息。The unified intelligent center receives the data information including the temporary identifier of the user equipment and the real-time location information of the user equipment sent by the service anchor in real time, that is, the second data information.
在本发明实施例中,统一智能中心从服务锚点接收用户设备的实时位置信息比从核心网设备获取用户设备的实时位置信息,获取到的用户设备的实时位置信息精度更高,得到的位置信息更准确。In the embodiment of the present invention, the unified intelligent center receives the real-time location information of the user equipment from the service anchor point, and obtains the real-time location information of the user equipment from the core network device, and the obtained real-time location information of the user equipment is more accurate, and the obtained location is obtained. The information is more accurate.
S440,根据标识映射关系以及第二数据信息中的临时标识,将用户设备的永久标识和实时位置信息进行关联,并保存用户设备的实时位置信息,以用于第三方应用设备根据用户设备的临时标识或永久标识获取用户设备的位置信息。S440. Associate the permanent identifier of the user equipment with the real-time location information according to the identifier mapping relationship and the temporary identifier in the second data information, and save real-time location information of the user equipment, where the third-party application device is temporarily configured according to the user equipment. The identification or permanent identification obtains the location information of the user equipment.
具体的,当统一智能中心接收到服务锚点发送的用户设备的临时标识和用户设备的实时位置信息时,根据用户设备的临时标识和标识映射关系中该临时标识对应的永久标识,将确定的永久标识信息和用户设备的实时位置信息进行关联,并将关联后的实时位置信息进行保存。以便于第三方应用设备通过用户设备的永久标识或用户设备的临时标识从统一智能中心中获取用户设备的位置信息,以及与用户设备的实时位置信息相关的信息,例如根据用户设备的实时位置信息,统计某个指定区域内的用户设备的数量等。Specifically, when the unified intelligent center receives the temporary identifier of the user equipment and the real-time location information of the user equipment sent by the service anchor, the temporary identifier corresponding to the temporary identifier and the permanent identifier corresponding to the temporary identifier in the mapping relationship of the user equipment will be determined. The permanent identification information is associated with the real-time location information of the user equipment, and the associated real-time location information is saved. So that the third-party application device obtains the location information of the user equipment from the unified smart center through the permanent identifier of the user equipment or the temporary identifier of the user equipment, and information related to real-time location information of the user equipment, for example, according to real-time location information of the user equipment. , count the number of user devices in a specified area, and so on.
在本发明实施例中,用户设备的位置信息包括用户设备的实时位置信息和历史位置信息,实时位置信息可以理解为当前时刻,以及当前时刻以后的某个时间段内用户设备的位置信息。历史位置信息可以理解为根据过去某一时刻或者某一时间段内用户设备的位置信息。 In the embodiment of the present invention, the location information of the user equipment includes real-time location information and historical location information of the user equipment, and the real-time location information may be understood as the current time, and the location information of the user equipment in a certain period of time after the current time. The historical location information can be understood as the location information of the user equipment according to a certain moment in the past or a certain period of time.
在本发明实施例中,统一智能中心需要不断的接收核心网设备发送的数据信息,以建立上线用户的临时标识和永久标识的标识映射关系,或者说更新统一智能中心的标识映射关系,例如,将已下线的用户设备的临时标识和永久标识的标识映射关系删除;将更改临时标识的标识映射关系进行更新,等。In the embodiment of the present invention, the unified intelligent center needs to continuously receive the data information sent by the core network device, so as to establish an identifier mapping relationship between the temporary identifier of the online user and the permanent identifier, or update the identifier mapping relationship of the unified intelligent center, for example, Delete the mapping between the temporary identifier of the user equipment that has been offline and the identifier of the permanent identifier; update the mapping relationship of the temporary identifier, and so on.
统一智能中心也需要实时或定时的接收服务锚点发送的数据信息进行存储,对存储的数据进行实时位置数据分析或历史位置数据分析,以便于第三方应用数据根据需求获取用户设备的实时位置信息和历史位置信息。The unified intelligent center also needs to receive the data information sent by the service anchor in real time or periodically for storage, perform real-time location data analysis or historical location data analysis on the stored data, so that the third-party application data can acquire real-time location information of the user equipment according to requirements. And historical location information.
基于本发明提供的标识映射方法,通过统一智能中心建立用户设备的临时标识和永久标识的标识映射关系,并根据用户设备的标识映射关系和从服务锚点接收到的第二数据信息中的用户设备的临时标识,将用户设备的永久标识和从服务锚点接收到的与用户设备的临时标识对应的用户设备的实时位置信息进行关联,实现了第三方应用设备根据用户设备的永久标识或者临时标识获取用户设备的实时位置信息或历史位置信息,即根据区域信息获取该区域内实时用户数量、进入或者离开指定区域的用户数量。The identifier mapping method provided by the present invention establishes the mapping relationship between the temporary identifier of the user equipment and the permanent identifier by the unified intelligent center, and according to the identifier mapping relationship of the user equipment and the user in the second data information received from the service anchor point. The temporary identifier of the device associates the permanent identifier of the user equipment with the real-time location information of the user equipment corresponding to the temporary identifier of the user equipment received from the service anchor, and implements the permanent identifier or temporary of the third-party application device according to the user equipment. The identifier acquires real-time location information or historical location information of the user equipment, that is, the number of real-time users in the area and the number of users entering or leaving the designated area are obtained according to the area information.
可选地,作为本发明另一实施例,在将用户设备的永久标识和实时位置信息进行关联,并保存用户设备的实时位置信息之后,该方法400还包括:Optionally, as another embodiment of the present invention, after the permanent identifier of the user equipment is associated with the real-time location information, and the real-time location information of the user equipment is saved, the method 400 further includes:
统一智能中心对保存的用户设备的实时位置信息进行第一编排处理,以用于第三方应用设备根据用户设备的临时标识或永久标识获取用户设备的位置信息。The unified intelligent center performs the first processing on the real-time location information of the saved user equipment, so that the third-party application device obtains the location information of the user equipment according to the temporary identifier or permanent identifier of the user equipment.
具体的,在本发明实施例中,统一智能中心可以根据预设的编排逻辑对保存的用户设备的实时位置信息进行编排处理,例如,确定某个时间段或某个区域内用户设备的实时位置信息的存储位置,以便于统一智能中心接收到第三方应用设备发送的获取用户设备位置信息的请求(可以包括实时位置调用请求和/或历史位置调用请求)时,根据定义好的逻辑进行编排,获取用户设备的位置信息。 Specifically, in the embodiment of the present invention, the unified intelligent center may perform processing on the real-time location information of the saved user equipment according to preset scheduling logic, for example, determining a real-time location of the user equipment in a certain time period or an area. The storage location of the information, so that the unified smart center receives the request for obtaining the location information of the user equipment sent by the third-party application device (which may include a real-time location call request and/or a historical location call request), and is arranged according to the defined logic. Get the location information of the user device.
在本发明实施例中,统一智能中心还可以根据标识映射关系进行编排,得到标识映射API;还可以根据保存的用户设备的实时位置信息和标识映射关系进行编排,得到各种实时位置API,以及各种历史位置API。In the embodiment of the present invention, the unified intelligent center may further perform programming according to the identifier mapping relationship, and obtain an identifier mapping API. The real-time location information and the identifier mapping relationship of the saved user equipment may be arranged to obtain various real-time location APIs, and Various historical location APIs.
可选地,在本发明实施例中,如图4,该方法400还包括:Optionally, in the embodiment of the present invention, as shown in FIG. 4, the method 400 further includes:
S450,统一智能中心接收第三方应用设备发送的实时位置调用请求,实时位置调用请求携带有用户设备的临时标识或永久标识。S450: The unified intelligent center receives a real-time location call request sent by a third-party application device, and the real-time location call request carries a temporary identifier or a permanent identifier of the user equipment.
具体的,实时位置调用请求用于调用用户设备的实时位置信息,或者与实时位置信息相关的数据信息,例如,某个指定区域内用户设备的数量、进入或离开某个指定区域的用户设备的数量等信息。Specifically, the real-time location call request is used to invoke real-time location information of the user equipment, or data information related to real-time location information, for example, the number of user equipments in a specified area, and the user equipment entering or leaving a specified area. Information such as quantity.
在本发明实施例中,统一智能中心可以通过实时位置API接收第三方应用设备发送的实时位置调用请求。In the embodiment of the present invention, the unified smart center may receive a real-time location call request sent by the third-party application device through the real-time location API.
实时位置调用请求中的参数可以包括用户设备的临时标识或永久标识,还可以包括临时标识或者永久标识的标识类型、第一统一资源定位符(Uniform Resource Locator,URL)、第一区域信息或第一时间段信息中的一个或多个信息。其中,标识的类型可以为例如IP、IMIS、MSISDN、IMEI、MAC中的一种。第一URL为第三方应用设备从统一智能中心获取用户设备实时位置信息的存储地址,简单讲,第一URL为统一智能中心存储实时位置信息的一个存储地址。该第一时间段信息为当前时刻之后的某一时间段。The parameter in the real-time location call request may include a temporary identifier or a permanent identifier of the user equipment, and may also include a temporary identifier or a permanent identifier identifier type, a first uniform resource locator (URL), a first region information, or a One or more pieces of information in a period of time information. The type of the identifier may be one of, for example, IP, IMIS, MSISDN, IMEI, and MAC. The first URL is a storage address of the real-time location information of the user equipment obtained by the third-party application device from the unified intelligent center. In brief, the first URL is a storage address of the unified intelligent center storing the real-time location information. The first time period information is a certain time period after the current time.
S460,统一智能中心根据实时位置调用请求,获取用户设备的实时位置信息。S460: The unified intelligent center acquires real-time location information of the user equipment according to the real-time location call request.
在本发明实施例中,若实时位置调用请求携带有用户设备的永久标识,则统一智能中心根据实时位置调用请求,对保存的用户设备的实时位置信息进行第二编排处理,得到用户设备的实时位置信息;或者,In the embodiment of the present invention, if the real-time location invocation request carries the permanent identifier of the user equipment, the unified intelligent center performs the second scheduling process on the real-time location information of the saved user equipment according to the real-time location invocation request, and obtains the real-time operation of the user equipment. Location information; or,
若实时位置调用请求携带有用户设备的临时标识,则统一智能中心根据标识映射关系和用户设备的临时标识,获取用户设备的永久标识,并根据获取的永久标识以及实时位置调用请求,对保存的用户设备的实时位置信息进 行第二编排处理,得到用户设备的实时位置信息。If the real-time location invocation request carries the temporary identifier of the user equipment, the unified intelligent center acquires the permanent identifier of the user equipment according to the identifier mapping relationship and the temporary identifier of the user equipment, and according to the obtained permanent identifier and the real-time location call request, the saved Real-time location information of the user equipment The second arrangement process is performed to obtain real-time location information of the user equipment.
第二编排处理为统一智能中心根据实时位置调用请求的参数对用户设备的实时位置信息进行处理,可以根据实时位置调用请求的参数直接获取用户设备的实时位置信息,也可以根据实时位置调用请求的参数获取与用户设备的实时位置信息相关的统计信息等其他信息。The second programming process is to process the real-time location information of the user equipment according to the parameter of the real-time location call request, and the real-time location information of the user equipment may be directly obtained according to the parameter of the real-time location call request, or the request may be invoked according to the real-time location. The parameter obtains other information such as statistical information related to the real-time location information of the user equipment.
比如:离散位置查询,统一智能中心接收第三方应用设备发送的实时位置调用请求,该请求中包括用户设备的临时标识或永久标识,以及临时标识或永久标识对应的标识类型,统一智能中心根据实时位置调用请求,获取用户设备的实时位置信息(相对坐标:经度、纬度、楼层等信息)、位置信息置信度(或者说位置信息的准确度)以及相对时间戳(也就是位置信息上报的时间点)。For example, the discrete location query, the unified intelligent center receives the real-time location call request sent by the third-party application device, and the request includes the temporary identifier or the permanent identifier of the user equipment, and the identifier type corresponding to the temporary identifier or the permanent identifier, and the unified intelligent center according to the real-time The location call request acquires real-time location information of the user equipment (relative coordinates: longitude, latitude, floor, etc.), location information confidence (or accuracy of location information), and relative timestamp (that is, the time point reported by the location information) ).
另外,若实时位置调用请求中包括用户设备的永久标识、某一指定的时间段信息、某一指定的区域信息,用于确定在该指定时间段、指定的区域中用户设备的数量,统一智能中心根据指定的时间段信息、指定的区域信息以及用户设备的永久标识信息,获取在该指定时间段、指定的区域内,用户设备的数量。In addition, if the real-time location invocation request includes a permanent identifier of the user equipment, a specified time period information, and a specified area information, it is used to determine the number of user equipments in the specified time period and the designated area, and unified intelligence. The center obtains the number of user equipments in the specified time period and the designated area according to the specified time period information, the specified area information, and the permanent identification information of the user equipment.
更具体的,比如:区域实时人数订阅查询,统一智能中心接收第三方应用设备发送的实时位置调用请求,该实时位置调用请求中包括指定的时间段(起始日期的时间以及结束日期的时间)和指定区域的区域信息,统一智能中心根据实时位置调用请求获取该指定时间段内、在指定区域内的用户设备的数量,以及统计的用户设备的实时位置信息上报的时间戳。需要说明的是,若实时位置调用请求中包括的是用户设备的临时标识时,统一智能中心根据用户设备的临时标识和标识映射关系,确定该用户设备的永久标识,再根据用户设备的永久标识以及实时位置调用请求中的参数获取用户设备的实时位置信息或者获取与用户设备的实时位置信息相关的统计信息等其他信息。More specifically, for example, the regional real-time number subscription query, the unified smart center receives the real-time location call request sent by the third-party application device, and the real-time location call request includes the specified time period (the start date and the end date) And the area information of the specified area, the unified intelligent center according to the real-time location call request to obtain the number of user equipments in the specified area within the specified time period, and the timestamp reported by the real-time location information of the user equipment. It should be noted that, if the real-time location invocation request includes the temporary identifier of the user equipment, the unified intelligent center determines the permanent identifier of the user equipment according to the temporary identifier and the mapping relationship of the user equipment, and then according to the permanent identifier of the user equipment. And the real-time location information of the real-time location call request acquires real-time location information of the user equipment or acquires other information related to the real-time location information of the user equipment.
还需要说明的是,在本发明实施例中,统一智能中心可以根据用户设备 的临时标识,通过标识映射API确定用户设备的永久标识;通过实时位置API获取用户设备的实时位置信息。以便于降低统一智能中心的计算量,同时降低统一智能中心的功耗。It should be noted that, in the embodiment of the present invention, the unified intelligent center may be based on the user equipment. The temporary identifier determines the permanent identifier of the user equipment through the identifier mapping API; and obtains the real-time location information of the user equipment through the real-time location API. In order to reduce the amount of computing in the unified smart center, while reducing the power consumption of the unified smart center.
S470,统一智能中心将获取的用户设备的实时位置信息发送给第三方应用设备,或者,统一智能中心将获取的用户设备的实时位置信息存储在第一存储空间,并将第一存储空间的地址信息发送给第三方应用设备。S470: The unified intelligent center sends the obtained real-time location information of the user equipment to the third-party application device, or the unified intelligent center stores the acquired real-time location information of the user equipment in the first storage space, and the address of the first storage space. The information is sent to a third-party application device.
当统一智能中心根据实时位置调用请求获取到用户设备的实时位置信息时,将获取到的用户设备的实时位置信息发送给第三方应用设备。When the unified intelligent center obtains the real-time location information of the user equipment according to the real-time location call request, the real-time location information of the obtained user equipment is sent to the third-party application device.
此外,当统一智能中心根据实时位置调用请求获取到用户设备的实时位置信息后,可以将获取到的实时位置信息存储在一个空间(第一存储空间),在本发明实施例中,该存储空间可以与S450中提到的URL的存储地址是一个地址,也可以为不相同的地址。S450中的URL为统一智能中心存储实时位置信息的一个地址,第一存储空间的存储地址可以为统一智能中心以外的其他服务器上存储数据信息的一个地址。In addition, after the unified smart center obtains the real-time location information of the user equipment according to the real-time location call request, the acquired real-time location information may be stored in a space (the first storage space). In the embodiment of the present invention, the storage space The storage address that can be associated with the URL mentioned in S450 is an address or a different address. The URL in the S450 is an address of the unified intelligent center storing real-time location information, and the storage address of the first storage space may be an address for storing data information on a server other than the unified intelligent center.
例如,统一智能中心根据实时位置调用请求中的URL,从统一智能中心对应的URL存储地址中获取实时位置信息,但需要对该URL存储地址中的实时位置信息进行处理后,才能得到实时位置调用请求所需的实时位置信息,统一智能中心对该URL存储地址中实时位置信息进行逻辑处理,并将处理后得到的结果数据存储在一个存储空间,该存储空间的存储地址可以与该URL存储地址相同,也就是将处理后的结果数据存储在统一智能中心的该URL存储地址对应的存储空间中;该存储空间的存储地址也可以与该URL存储地址不相同,比如,将该处理结果数据存储在统一智能中心的其他存储地址下,或者将结果数据存储到其他服务器的存储地址下。For example, the unified intelligent center obtains the real-time location information from the URL storage address corresponding to the unified smart center according to the URL in the real-time location call request, but needs to process the real-time location information in the URL storage address to obtain the real-time location call. Requesting the real-time location information required, the unified intelligent center logically processes the real-time location information in the URL storage address, and stores the processed result data in a storage space, and the storage address of the storage space can be the same as the URL storage address. The same, that is, the processed result data is stored in the storage space corresponding to the URL storage address of the unified smart center; the storage address of the storage space may also be different from the URL storage address, for example, the processing result data is stored. Under other storage addresses in the Unified Intelligence Center, or store the resulting data under the storage address of other servers.
统一智能中心将该第一存储空间的存储地址信息发送给第三方应用设备,以便于第三方应用设备根据该第一存储空间的地址信息获取用户设备的实时位置信息。 The unified intelligent center sends the storage address information of the first storage space to the third-party application device, so that the third-party application device obtains the real-time location information of the user device according to the address information of the first storage space.
可选地,在本发明实施例中,如图5,该方法400还包括:Optionally, in the embodiment of the present invention, as shown in FIG. 5, the method 400 further includes:
S455、统一智能中心接收第三方应用设备发送的历史位置调用请求,历史位置调用请求携带有用户设备的临时标识或永久标识。S455. The unified intelligent center receives a historical location call request sent by a third-party application device, and the historical location call request carries a temporary identifier or a permanent identifier of the user equipment.
具体的,历史位置调用请求用于调用用户设备的历史位置信息,或者与历史位置信息相关的数据信息,例如,在当前时刻之前,某个指定区域内用户设备的数量、进入或离开某个指定区域的用户设备的数量等信息。Specifically, the historical location call request is used to invoke historical location information of the user equipment, or data information related to historical location information, for example, the number of user equipments in a specified area, entering or leaving a certain designation before the current time. Information such as the number of user devices in the area.
统一智能中心可以通过历史位置API接收第三方应用设备发送的历史位置调用请求。The unified smart center can receive the historical location call request sent by the third-party application device through the historical location API.
该历史位置调用请求中可以包括用户设备的临时标识或永久标识,还可以临时标识或永久标识的标识类型、第二统一资源定位符URL、第二区域信息或第二时间段信息中的一个或多个信息。其中,标识的类型可以为例如IP、IMIS、MSISDN、IMEI、MAC中的一种。第二URL为第三方应用设备从统一智能中心获取用户设备实时位置信息的存储地址,简单讲,第二URL为统一智能中心存储实时位置信息的一个存储地址。该第二时间段信息为当前时刻之前的某一时间段。The historical location call request may include a temporary identifier or a permanent identifier of the user equipment, and may also temporarily identify or permanently identify one of the identifier type, the second uniform resource locator URL, the second area information, or the second time period information. Multiple information. The type of the identifier may be one of, for example, IP, IMIS, MSISDN, IMEI, and MAC. The second URL is a storage address of the real-time location information of the user equipment obtained by the third-party application device from the unified smart center. In brief, the second URL is a storage address of the unified smart center storing the real-time location information. The second time period information is a certain time period before the current time.
S465、统一智能中心根据历史位置调用请求,获取用户设备的历史位置信息。S465. The unified intelligent center invokes the request according to the historical location, and obtains historical location information of the user equipment.
在本发明实施例中,若历史位置调用请求携带有用户设备的永久标识,则统一智能中心根据历史位置调用请求,对保存的用户设备的实时位置信息进行第三编排处理,得到用户设备的历史位置信息;或者,In the embodiment of the present invention, if the historical location call request carries the permanent identifier of the user equipment, the unified intelligent center performs a third scheduling process on the real-time location information of the saved user equipment according to the historical location call request, and obtains the history of the user equipment. Location information; or,
若历史位置调用请求携带有用户设备的临时标识,则统一智能中心根据标识映射关系和用户设备的临时标识,获取用户设备的永久标识,并根据获取的永久标识以及历史位置调用请求,对保存的用户设备的实时位置信息进行第三编排处理,得到用户设备的历史位置信息。If the historical location call request carries the temporary identifier of the user equipment, the unified intelligent center acquires the permanent identifier of the user equipment according to the identifier mapping relationship and the temporary identifier of the user equipment, and invokes the request according to the obtained permanent identifier and the historical location. The real-time location information of the user equipment is processed in a third manner to obtain historical location information of the user equipment.
第三编排处理为统一智能中心根据历史位置调用请求的参数对用户设备的历史位置信息进行处理,获取用户设备的历史位置信息或与历史位置信息 相关的统计信息,等其他信息。The third arrangement processing is to process the historical location information of the user equipment according to the parameter of the historical location call request by the unified intelligent center, and obtain historical location information or historical location information of the user equipment. Relevant statistical information, and other information.
需要说明的是,若历史位置调用请求中包括的是用户设备的临时标识,统一智能中心可以通过标识映射API确定用户设备的永久标识,再根据历史位置调用请求中的参数获取历史位置信息以及与历史位置信息相关的信息。It should be noted that, if the historical location call request includes the temporary identifier of the user equipment, the unified smart center may determine the permanent identifier of the user equipment by using the identifier mapping API, and then obtain the historical location information according to the parameter in the historical location call request and Historical location information related information.
在本发明实施例中,统一智能中心获取用户设备历史位置信息的过程类似与统一智能中心获取用户设备实时位置信息的过程,为简洁描述,在这里不再赘述。In the embodiment of the present invention, the process of acquiring the historical location information of the user equipment by the unified intelligent center is similar to the process of acquiring the real-time location information of the user equipment by the unified intelligent center, and is not described here for brevity.
S475统一智能中心将历史位置信息发送给第三方应用设备,或者,统一智能中心将历史位置信息存储在第二存储空间,并将第二存储空间的地址信息发送给第三方应用设备。The S475 unified intelligent center sends the historical location information to the third-party application device, or the unified smart center stores the historical location information in the second storage space, and sends the address information of the second storage space to the third-party application device.
当统一智能中心根据历史位置调用请求获取到用户设备的历史位置信息时,将获取到的历史位置信息发送给第三方应用设备。或者统一智能中心将获取到的历史位置信息存储到一个存储空间(第二存储空间)内,该第二存储空间的存储地址可以为统一智能中心内的一个存储地址,也可以为统一智能中心以外的其他服务器上的存储地址,并将第二存储空间的存储地址信息发送给第三方应用设备,以便于第三方应用设备根据第二存储空间的地址信息获取历史位置信息。When the unified intelligent center acquires the historical location information of the user equipment according to the historical location call request, the obtained historical location information is sent to the third-party application device. Or the unified intelligent center stores the obtained historical location information in a storage space (second storage space), where the storage address of the second storage space may be a storage address in the unified intelligent center, or may be outside the unified intelligent center. The storage address on the other server is sent to the third-party application device, so that the third-party application device obtains the historical location information according to the address information of the second storage space.
需要说明的是,在本发明实施例中,统一智能中心可以分别接收第三方应用设备发送的实时位置调用请求或历史位置调用请求,也可以同时接收第三方应用设备发送的实时位置调用请求和历史位置调用请求。对此,本发明实施例不作任何限制。It should be noted that, in the embodiment of the present invention, the unified intelligent center may separately receive a real-time location call request or a historical location call request sent by a third-party application device, or may simultaneously receive a real-time location call request and history sent by a third-party application device. The location calls the request. In this regard, the embodiments of the present invention are not limited in any way.
应理解,在本发明的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。It should be understood that, in various embodiments of the present invention, the size of the sequence numbers of the above processes does not mean the order of execution, and the order of execution of each process should be determined by its function and internal logic, and should not be directed to the embodiments of the present invention. The implementation process constitutes any limitation.
可选地,作为本发明另一实施例,统一智能中心可以通过表征状态转移REST接口接收第三方应用设备发送的实时位置调用请求和/或历史位置调用 请求。Optionally, as another embodiment of the present invention, the unified intelligent center may receive a real-time location call request and/or a historical location call sent by the third-party application device by using the characterization state transfer REST interface. request.
可选地,作为本发明另一实施例,统一智能中心接收服务锚点发送的第二数据信息,包括:Optionally, as another embodiment of the present invention, the unified intelligent center receives the second data information sent by the service anchor, including:
统一智能中心通过统一智能中心与服务锚点之间的So接口,接收服务锚点发送的第二数据信息。The unified intelligent center receives the second data information sent by the service anchor by unifying the So interface between the intelligent center and the service anchor.
在本发明实施例中,So接口支持隧道端点标识符TEID、S1应用协议S1APID、临时移动用户身份S-TMSI、网络之间互联的协议IP地址和媒体访问控制MAC地址中的一个或多个。In the embodiment of the present invention, the So interface supports one or more of a tunnel endpoint identifier TEID, an S1 application protocol S1APID, a temporary mobile user identity S-TMSI, a protocol IP address interconnected between networks, and a media access control MAC address.
可选地,作为本发明另一实施例,该方法400还包括:Optionally, as another embodiment of the present invention, the method 400 further includes:
统一智能中心将标识映射关系存储在实时数据库(Real Time DataBase,RTDB)中。The Unified Intelligence Center stores the identity mapping relationship in a Real Time Data Base (RTDB).
独立实时数据库RTDB具有实时性,可以支持毫秒(ms)级响应,查询结果的实时返回,可达到50ms内返回查询结果,以便于第三方应用设备通过统一智能中心查询数据时,能够快速、高效的完成数据查询。且RTDB支持向OTT开放,支持对OTT的鉴权。The independent real-time database RTDB has real-time performance, can support millisecond (ms) level response, and the real-time return of query results can return the query result within 50ms, so that the third-party application device can quickly and efficiently query data through the unified intelligent center. Complete the data query. And RTDB supports opening to OTT and supports authentication of OTT.
通过本发明提供的映射方法,建立用户设备的临时标识和永久标识的标识映射,实现了第三方应用根据用户设备的临时标识或永久标识查询实时用户上下文和实时位置等信息。解决了在UL(UMTS-LTE)系统在无线接入网RAN侧使用用户设备的临时标识,而应用侧使用用户设备的永久标识,且处于安全考虑核心网不向第三方应用设备开放导致的第三方应用设备不能查询实时用户上下文和实时位置信息的问题。Through the mapping method provided by the present invention, the temporary identifier of the user equipment and the identifier mapping of the permanent identifier are established, and the third-party application queries the real-time user context and the real-time location according to the temporary identifier or permanent identifier of the user equipment. The temporary identifier of the user equipment is used in the UL (UMTS-LTE) system on the radio access network RAN side, and the application side uses the permanent identifier of the user equipment, and is in the security consideration that the core network is not open to the third-party application device. The three-party application device cannot query the real-time user context and real-time location information.
需要说明的是,本发明实施例适用于长期演进(Long Term Evolution,LTE)系统、通用移动通讯系统(Universal Mobile Telecommunications System,UMTS)系统,简称UL系统,还可以应用到时分同步码分多址(Time Division-Synchronous Code Division Multiple Access,TD-SCDMA)系统和Wifi接入系统。 It should be noted that the embodiments of the present invention are applicable to a Long Term Evolution (LTE) system, a Universal Mobile Telecommunications System (UMTS) system, or a UL system, and can also be applied to time division synchronous code division multiple access. (Time Division-Synchronous Code Division Multiple Access, TD-SCDMA) system and Wifi access system.
还需要说明的是,本发明实施例提供的能力开放系统不仅支持多种标识间的互映射,还可以应用在多种场景下,下面结合图6至图8对多场景下,建立标识映射关系的过程进行详细的说明。It should be noted that the capability open system provided by the embodiment of the present invention not only supports the mutual mapping between multiple identifiers, but also can be applied to multiple scenarios. The following describes the mapping relationship between multiple scenarios in combination with FIG. 6 to FIG. The process is described in detail.
图6为本发明实施例提供的一种建立标识映射关系的方法流程信令图。FIG. 6 is a schematic flowchart of a method for establishing an identity mapping relationship according to an embodiment of the present invention.
如图6所示,该方法500可以应用在网络中存在异厂家(相关厂家生产的PGW)或华为PGW的场景,解析PGW Radius信息,建立标识映射关系。As shown in FIG. 6 , the method 500 can be applied to a scenario in which a different manufacturer (PGW produced by a related manufacturer) or a Huawei PGW exists in the network, parses the PGW Radius information, and establishes an identity mapping relationship.
Radius是远程身份验证拨入用户服务(Remote Authentication Dial In User Service,RADIUS)协议,该协议在IETF的RFC2865和2866中定义。RADIUS是基于UDP的一种客户机/服务器协议。Radius is the Remote Authentication Dial In User Service (RADIUS) protocol, which is defined in IETF's RFCs 2865 and 2866. RADIUS is a client/server protocol based on UDP.
在本发明实施例中,该方法500可以包括3个阶段:In an embodiment of the invention, the method 500 can include three phases:
第一阶段,当用户上线,开始计费时,执行S505至S535。In the first stage, when the user goes online and starts charging, S505 to S535 are executed.
S505,当用户上时,分组网关接收用户发送的激活请求(Active Request)。S505. When the user is on, the packet gateway receives an activation request (Active Request) sent by the user.
在本发明实施例中,分组网关为华为生产的一种分组网关(UGW),可以支持多种网元功能形态出现的网关,例如:PGW、SGW、GGSN(Gateway GPRS Support Node),在业务功能上支持多种网元的任一组合,在操作上统一由分组网关UGW维护的一种设备。其中,分组网关UGW可以开启Radius的抄送功能。In the embodiment of the present invention, the packet gateway is a packet gateway (UGW) produced by Huawei, and can support multiple gateways in the form of network element functions, such as: PGW, SGW, GGSN (Gateway GPRS Support Node), in the service function. Any combination of multiple network elements is supported, and a device maintained by the packet gateway UGW is unified in operation. Among them, the packet gateway UGW can enable the CCD function of the Radius.
S510,分组网关根据激活请求向服务器发送接入请求(Access Request),并抄送统一智能中心(UIC)。S510: The packet gateway sends an access request (Access Request) to the server according to the activation request, and sends a copy to the unified intelligent center (UIC).
S515,当服务器同意接入时,向分组网关发送接入响应(Access Response)消息。S515. When the server agrees to access, send an Access Response message to the packet gateway.
S520,分组网关UGW根据接入响应消息向服务器发送开始计费请求(Accounting Start Request),并抄送统一智能中心,其中,开始计费请求中包括用户设备的临时标识和永久标识。S520. The packet gateway UGW sends an Accounting Start Request (Accounting Start Request) to the server according to the access response message, and sends a copy to the unified intelligent center, where the start charging request includes the temporary identifier and the permanent identifier of the user equipment.
S525,统一智能中心根据开始计费请求建立标识映射关系,并保存标识映射关系。 S525: The unified intelligent center establishes an identity mapping relationship according to the start charging request, and saves the identity mapping relationship.
S530,服务器根据开始计费请求向分组网关UGW发送计费响应消息(Accounting Response)。S530. The server sends an Accounting Response message (Accounting Response) to the packet gateway UGW according to the start charging request.
S535,分组网关UGW根据计费响应消息向用户设备(UE)发送激活响应消息(Active Accept)。S535. The packet gateway UGW sends an activation response message (Active Accept) to the user equipment (UE) according to the charging response message.
具体的,在S510至S535中,当用户需要上线时,用户设备(UE)向分组网关UGW发送激活请求(Active Request),分组网关UGW根据激活请求向Radius Server发送访问请求,并将访问请求抄送给UIC;Radius Server根据接收到的访问请求进行身份验证,获取访问权限,当身份验证通过时,Radius Server向分组网关UGW发送访问响应,以通知分组网关UGW用户设备获得访问权限;分组网关UGW根据访问响应向Radius Server发送开始计费请求,并抄送给统一智能中心(UIC),该开始计费请求中可以包括:APN、IP、IMSI、RAT Type、MSISDN等信息,也可以说该开始计费请中包括用户的临时标识(IP)和永久标识(IMSI、MSISDN);UIC根据开始计费请求中的用户临时标识(IP)和永久标识(IMSI、MSISDN)建立标识映射关系,并将标识映射关系保存到实时数据库中,以便于第三方APP通过标识映射API获取用户上下文信息或者实时查询时,能够快速的返回结果。Specifically, in S510 to S535, when the user needs to go online, the user equipment (UE) sends an activation request (Active Request) to the packet gateway UGW, and the packet gateway UGW sends an access request to the Radius Server according to the activation request, and copies the access request. Sended to UIC; Radius Server authenticates according to the received access request and obtains access rights. When the authentication passes, Radius Server sends an access response to the packet gateway UGW to notify the packet gateway UGW user device to obtain access rights; packet gateway UGW Sending a start charging request to the Radius Server according to the access response, and copying it to the Unified Intelligence Center (UIC), which may include: APN, IP, IMSI, RAT Type, MSISDN, etc., and may also say that the start The billing request includes the temporary identifier (IP) and the permanent identifier (IMSI, MSISDN) of the user; the UIC establishes an identifier mapping relationship according to the user temporary identifier (IP) and the permanent identifier (IMSI, MSISDN) in the start charging request, and The identifier mapping relationship is saved to the real-time database, so that the third-party APP obtains the user context information through the identifier mapping API or When queries to quickly return results.
在该过程中,还包括Radius Server根据接收到的开始计费请求进行授权验证,以授权该项服务,并向分组网关UGW发送计费响应消息(Accounting Response);分组网关UGW根据计费响应消息,向用户设备发送接受激活消息(Active Accept)。In the process, the Radius Server further performs authorization verification according to the received start charging request to authorize the service, and sends an Accounting Response message (Accounting Response) to the packet gateway UGW; the packet gateway UGW is based on the charging response message. Send an Active Accept message to the user equipment.
第二阶段,当用户已经在线,实时计费过程中,执行S540至S550。In the second stage, when the user is already online, in the real-time charging process, S540 to S550 are executed.
S540,UGW向Radius Server发送临时更新请求(Interim-Updata Request)消息,并抄送给UIC;其中,临时更新请求消息中包括用户的临时标识和永久标识。S540: The UGW sends an Interim-Updata Request message to the Radius Server, and sends the message to the UIC. The temporary update request message includes the temporary identifier and the permanent identifier of the user.
S545,UIC根据临时更新请求建立标识映射关系,并保存。S545. The UIC establishes an identity mapping relationship according to the temporary update request, and saves the relationship.
在本发明实施例中,在该阶段还包括: In this embodiment of the present invention, the method further includes:
S550,Radius Server根据临时更新请求向UGW发送临时更新响应消息(Interim-Update Response)。In S550, the Radius Server sends a temporary update response message (Interim-Update Response) to the UGW according to the temporary update request.
具体的,在该阶段中,对于已经上线的用户,在计费更新时间间隔到达时,UGW向Radius Server发送临时更新请求,并抄送UIC;UIC可以从临时更新请求中获取用户的临时标识和永久标识,并根据获取的用户的临时标识和永久标识建立标识映射关系,并存储在实时数据库中。Specifically, in this phase, for the user who has gone online, when the charging update interval arrives, the UGW sends a temporary update request to the Radius Server, and copies the UIC; the UIC can obtain the temporary identifier of the user from the temporary update request and Permanently identify and establish an identity mapping relationship based on the obtained temporary and permanent identifiers of the user, and store them in the real-time database.
在该阶段中,还包括Radius Server根据临时更新请求向UGW发送临时更新响应消息。In this phase, the Radius Server also sends a temporary update response message to the UGW according to the temporary update request.
第三阶段,当用户下线时,执行S555至S575。In the third stage, when the user goes offline, S555 to S575 are executed.
S555,UGW接收用户发送的去活分组数据协议PDP上下文请求(Deactivate PDP Context Request)。S555: The UGW receives a Deactivate PDP Context Request sent by the user.
S560,UGW向Radius Server发送去活计费请求(Accounting Stop Request),并抄送UIC;其中停止计费请求中包括用户的临时标识和永久标识。S560: The UGW sends an Accounting Stop Request to the Radius Server, and sends a copy to the UIC. The stop charging request includes the temporary identifier and the permanent identifier of the user.
S565,UIC根据停止计费请求删除该临时标识对应的标识映射关系。S565: The UIC deletes the identifier mapping relationship corresponding to the temporary identifier according to the stop charging request.
具体的,UIC根据停止计费请求获取会话标识ID;并根据会话标识ID和链路五元组获取用户的临时标识;根据用户的临时标识删除该临时标对应的标识映射关系。Specifically, the UIC obtains the session identifier ID according to the stop-accounting request, and obtains the temporary identifier of the user according to the session identifier ID and the link quintuple; and deletes the identifier mapping relationship corresponding to the temporary identifier according to the temporary identifier of the user.
在该阶段中还包括:Also included in this phase are:
S570,Radius Server根据去活计费请求向UGW发送停止计费响应消息。S570. The Radius Server sends a stop charging response message to the UGW according to the deactivation charging request.
S575,UGW根据去活计费请求向用户设备发送接受停止分组数据协议(Packet Date Protocol,PDP)上下文信息(Deactivate PDP Context Accept)。S575. The UGW sends a Packet Data Protocol (PDP) context information (Deactivate PDP Context Accept) to the user equipment according to the deactivation charging request.
具体的,当用户需要下线时,向UGW发送去活PDP上下文请求,也就是向UGW发送停止PDP上下文请求;UGW根据接收到的去活PDP上下文请求向Radius Server和UIC发送停止计费请求,该请求中包括去活PDP上下文请求用户的临时标识和永久标识;UIC解析的停止计费请求,从停止计费 请求中获取会话标识(Acct-Session-Id),并将链路五元组(源IP地址,源端口、目标IP地址,目标端口和传输层协议)和会话标识获取用户的临时标识IP;UIC根据用户的临时标识IP删除与该临时标识相对应的标识IMSI、MSISDN的映射关系。Specifically, when the user needs to go offline, sending a deactivated PDP context request to the UGW, that is, sending a stop PDP context request to the UGW; the UGW sends a stop charging request to the Radius Server and the UIC according to the received deactivated PDP context request, The request includes a temporary identifier and a permanent identifier of the deactivated PDP context requesting user; the UIC resolves the stop charging request, and stops charging. Obtain the session identifier (Acct-Session-Id) in the request, and obtain the temporary identifier IP of the user by the link quintuple (source IP address, source port, destination IP address, destination port, and transport layer protocol) and session identifier; UIC The mapping relationship between the identifier IMSI and the MSISDN corresponding to the temporary identifier is deleted according to the temporary identifier IP of the user.
在该阶段中,当用户下线时,Radius Server需要根据停止计费请求对该用户的下线进行授权,并向UGW发送停止计费响应消息;UGW根据停止计费响应消息停止PDP上下文,并通知用户设备。In this phase, when the user goes offline, the Radius Server needs to authorize the offline of the user according to the stop charging request, and sends a stop charging response message to the UGW; the UGW stops the PDP context according to the stop charging response message, and Notify the user device.
需要说明的是,该方法500适用于非漫游和Local Breakout漫游场景,支持MV多厂商PGW。It should be noted that the method 500 is applicable to non-roaming and Local Breakout roaming scenarios, and supports MV multi-vendor PGW.
图7为本发明实施例提供的另一种建立标识映射关系的方法流程信令图。FIG. 7 is a schematic flowchart of a method for establishing an identity mapping relationship according to an embodiment of the present invention.
如图7所示,该方法600可以应用在存在MME的场景,解析MME CHR控制面信息,建立标识映射关系。该方法600包括以下步骤:As shown in FIG. 7, the method 600 can be applied to a scenario in which an MME exists, parsing MME CHR control plane information, and establishing an identity mapping relationship. The method 600 includes the following steps:
S605,统一智能中心(UIC)向跟踪服务器(Trace Server)订阅MME CHR(Calling History Record,呼叫历史纪录)事件流;S605. The Unified Intelligence Center (UIC) subscribes to the MME CHR (Calling History Record) event stream to the Trace Server.
S610,跟踪服务器进一步向MME订阅MME CHR事件流;S610. The tracking server further subscribes to the MME for the MME CHR event flow.
S615,MME打开CHR上报开关,接收用户上线请求,并记录MME CHR事件流;S615: The MME opens a CHR reporting switch, receives a user online request, and records an MME CHR event flow.
S620,MME根据用户上线请求向跟踪服务器上报MME CHR事件流,此时该MME CHR事件流中携带用户的临时标识和永久标识。S620, the MME reports the MME CHR event flow to the tracking server according to the user online request, and the MME CHR event stream carries the temporary identifier and the permanent identifier of the user.
S625,跟踪服务器向统一智能中心上报MME CHR事件流;S625. The tracking server reports the MME CHR event flow to the unified intelligent center.
S630,统一智能中心根据MME CHR事件流,获取用户的临时标识和永久标识,并建立标识映射关系。S630: The unified intelligent center acquires the temporary identifier and the permanent identifier of the user according to the MME CHR event flow, and establishes an identifier mapping relationship.
具体的,在本发明实施例中,跟踪服务器可以为U2000-TraceServer。当统一智能中心通过跟踪服务器向MME订阅MME CHR事件流时,MME打开CHR上报开关,并接收用户上网发起的Attach、RAU、Handover、Bearer  Establishment,Bearer Activation、Bearer Remove、QoS Update等流程,,在本实施例中,将用户上网发起的各个流程叫做用户上线请求;MME根据用户的上线请求通过跟踪服务器向统一智能中心发送携带IMSI,MSISDN,IMEI,S-TMSI,T,MME UE S1APID,eNodeB UE S1APID等信息,该信息中包括用户的临时标识(S-TMSI)和永久标识(IMSI、MSISDN);统一智能中心解析MME发送的MME CHR事件流,获取用户的临时标识(S-TMSI)和永久标识(IMSI、MSISDN),并建立标识映射关系。统一智能中心可以将标识映射关系存储在实时数据库中。Specifically, in the embodiment of the present invention, the tracking server may be a U2000-TraceServer. When the unified intelligent center subscribes the MME CHR event stream to the MME through the tracking server, the MME opens the CHR reporting switch and receives the Attach, RAU, Handover, and Bearer initiated by the user. In the embodiment, the processes initiated by the user on the Internet are called user online requests; the MME sends the IMSI, MSISDN to the unified intelligent center through the tracking server according to the online request of the user. , IMEI, S-TMSI, T, MME UE S1APID, eNodeB UE S1APID and other information, including the user's temporary identity (S-TMSI) and permanent identity (IMSI, MSISDN); unified intelligent center to resolve the MME CHR sent by the MME The event stream acquires the temporary identifier (S-TMSI) and the permanent identifier (IMSI, MSISDN) of the user, and establishes an identity mapping relationship. The Unified Intelligence Center can store identity mapping relationships in a real-time database.
在此场景下,当能力开放系统建立了标识映射关系,且生成标识映射API、实时位置API和历史位置API时,能力开放系统可以对外向服务锚点(Service Anchor)开放,也可以向第三方应用设备开放,实现第三方应用设备调用相应的API获取用户的信息。In this scenario, when the capability open system establishes an identity mapping relationship and generates an identity mapping API, a real-time location API, and a historical location API, the capability opening system can be opened to a service anchor or to a third party. The application device is open, and the third-party application device invokes the corresponding API to obtain the user information.
需要说明的是,该方法600适用于非漫游、Local Breakout漫游和HomeRouted漫游场景。It should be noted that the method 600 is applicable to non-roaming, Local Breakout roaming, and HomeRouted roaming scenarios.
如图7所示,当查询用户信息时,该方法可以包括:As shown in FIG. 7, when querying user information, the method may include:
S640,服务锚点接收用户上报的原始位置数据确定实时位置信息,并在本地缓存(Cache)中查询标识映射关系。S640: The service anchor receives the original location data reported by the user to determine real-time location information, and queries the identifier mapping relationship in a local cache (Cache).
S650,当在服务锚点中查询不到标识映射关系时,调用API进行查询。S650: When the identifier mapping relationship is not found in the service anchor point, the API is invoked to perform the query.
具体的,服务锚点具有处理能力,可以计算用户上报的原始位置数据信息,获取用户的临时标识信息,如S-TMSI。当需要查询标识映射关系时,服务锚点根据临时标识S-TMSI和时间戳(Timestamp)进行查询,在预设时间内没有得到用户临时标识的标识映射关系时,可以调用API获取用户信息。Specifically, the service anchor has processing capability, and can calculate original location data information reported by the user, and obtain temporary identification information of the user, such as S-TMSI. When the identifier mapping relationship needs to be queried, the service anchor performs the query according to the temporary identifier S-TMSI and the timestamp (Timestamp). When the identifier mapping relationship of the temporary identifier of the user is not obtained within the preset time, the API may be invoked to obtain the user information.
在本发明实施例中,当在服务锚点中查询不到用户临时标识对应的标识映射关系时,服务锚点可以向统一智能中心(UIC)发送查询请求,从标识映射数据库(实时数据库)中查询,其中查询请求中可以包括用户的临时标识S-TMSI和时间戳(Timestamp),当查询到标识映射关系时,统一智能中心 返回S-TMSI、IMSI、MSISDN信息。In the embodiment of the present invention, when the identifier mapping relationship corresponding to the user temporary identifier is not found in the service anchor point, the service anchor point may send a query request to the unified intelligent center (UIC), from the identifier mapping database (real-time database). The query, where the query request may include the temporary identifier S-TMSI and the timestamp (Timestamp) of the user, and when the identifier mapping relationship is queried, the unified intelligent center Returns S-TMSI, IMSI, MSISDN information.
由于S-TMSI的分配是有实效性的,携带Timestamp可以增加配置的准确度。Since the allocation of S-TMSI is effective, carrying Timestamp can increase the accuracy of the configuration.
图8为本发明实施例提供的又一种建立标识映射关系的方法流程信令图。FIG. 8 is a schematic flowchart of a method for establishing an identity mapping relationship according to an embodiment of the present invention.
如图8所示,该方法700可以应用在SGW下沉到本地场景,统一智能中心解析SGW上下文信息,建立标识映射关系。该方法700包括以下步骤:As shown in FIG. 8, the method 700 can be applied to the SGW to sink to a local scenario, and the unified intelligent center parses the SGW context information to establish an identity mapping relationship. The method 700 includes the following steps:
S705,统一智能中心向跟踪服务器(TraceServer)订阅所有用户上下文;S705. The unified intelligent center subscribes to all user contexts to the tracking server (TraceServer);
S710,TraceServer整理所有用户上下文,向SGW进行订阅用户上下文;S710, TraceServer organizes all user contexts, and subscribes to the user context to the SGW;
S715,当用户网络进行切换时,SGW重新建立与eNodeB的承载S1-U连接;S715. When the user network performs the handover, the SGW re-establishes a connection with the bearer S1-U of the eNodeB.
S720,SGW向eNodeB的S1-U连接TraceServer上报新增或改动后的用户上下文,该用户上下文包括用户的临时标识和用户的永久标识;S720: The SGW reports the newly added or changed user context to the S1-U connection TraceServer of the eNodeB, where the user context includes the temporary identifier of the user and the permanent identifier of the user.
S725,TraceServer根据用户SGW上报的用户上下文,向统一智能中心上报用户上下文;S725: The TraceServer reports the user context to the unified intelligent center according to the user context reported by the user SGW.
S730,统一智能中心根据用户上下文获取用户的临时标识和永久标识,并建立标识映射关系。S730: The unified intelligent center acquires the temporary identifier and the permanent identifier of the user according to the user context, and establishes an identifier mapping relationship.
具体的,在本发明实施例中,统一智能中心向跟踪服务器U2000(TraceServer)订阅用户上下文,这里的用户上下文是所有用户的用户上下文;TraceServer合并所有用户所有应用的用户上下文订阅需求,向SGW进行订阅;当用户发生切换,从宏网切换到Lampsite(小基站)或从Lampsite切换到宏网,SGW需要重建与基站(eNodeB)之间的承载S1-U;SGW通过TraceServer向统一智能中心发送用户上线文,其中,该用户上下文中包括用户的临时标识(TEID)和永久标识(IMSI、MSISDN);统一智能中心解析用户上下文,从用户上下文中获取用户的临时标识(TEID)和永久标识(IMSI、MSISDN),并建立标识映射关系。 Specifically, in the embodiment of the present invention, the unified intelligent center subscribes to the user context to the tracking server U2000 (TraceServer), where the user context is the user context of all users; the TraceServer merges the user context subscription requirements of all applications of all users, and performs the SGW to the SGW. Subscription; when the user switches, switching from the macro network to the Lampsite (small base station) or from the Lampsite to the macro network, the SGW needs to re-establish the bearer S1-U with the base station (eNodeB); the SGW sends the user to the unified intelligent center through the TraceServer. The online text, wherein the user context includes a temporary identifier (TEID) and a permanent identifier (IMSI, MSISDN) of the user; the unified intelligent center parses the user context, and obtains a temporary identifier (TEID) and a permanent identifier (IMSI) of the user from the user context. , MSISDN), and establish a mapping relationship.
在本发明实施例中,统一智能中心可以将标识映射关系存储在标识映射数据库中,该标识映射数据可以采用实时数据库,以实现查询过程中可以快速返回查询结果,提高查询速度。In the embodiment of the present invention, the unified intelligent center may store the identifier mapping relationship in the identifier mapping database, and the identifier mapping data may be a real-time database, so that the query result can be quickly returned during the query process, and the query speed is improved.
需要说明的是,该方法700适用于SGW下沉,分布式部署的场景。It should be noted that the method 700 is applicable to a scenario where the SGW sinks and is distributed.
在本发明实施例中,还可以包括以下步骤:In the embodiment of the present invention, the following steps may also be included:
S735,统一智能中心向服务锚点(Service Anchor)发送订阅位置流;S735: The unified intelligent center sends a subscription location stream to the service anchor (Service Anchor);
S740,服务锚点根据用户上传的原始位置数据信息进行处理,得到用户的实时位置信息;S740. The service anchor performs processing according to the original location data information uploaded by the user, and obtains real-time location information of the user.
S745,服务锚点向统一智能中心发送实时位置信息和用户的临时标识;S745: The service anchor sends the real-time location information and the temporary identifier of the user to the unified intelligent center;
S750,统一智能中心接收用户的临时标识和实时位置信息,并根据建立的标识映射关系,得到实时位置信息和永久标识信息。S750: The unified intelligent center receives the temporary identifier and real-time location information of the user, and obtains real-time location information and permanent identifier information according to the established mapping relationship.
具体的,在本发明实施例中,统一智能中心可以接收Service Anchor发送的用户的临时标、实时位置信息和时间戳,可以分别表示为TEID、Location(x,y,z)、Timestamp;并根据用户的临时标识TEID和时间戳Timestamp从统一智能中心中获取用户的永久标识MSISDN,得到Location(x,y,z)、MSISDN、Timestamp。Specifically, in the embodiment of the present invention, the unified intelligent center may receive the temporary identifier, real-time location information, and timestamp of the user sent by the Service Anchor, and may be represented as TEID, Location(x, y, z), Timestamp, respectively, and according to The user's temporary identifier TEID and timestamp Timestamp obtain the user's permanent identifier MSISDN from the unified intelligent center, and obtain Location (x, y, z), MSISDN, and Timestamp.
可选地,在本发明实施例中还可以包括Service Anchor向统一智能中心查询用户标识,进行标识映射。Optionally, in the embodiment of the present invention, the service anchor may further query the user identifier to the unified intelligent center to perform identity mapping.
需要说明的是,本发明提供的映射方法还可以应用在存在PGW和MME的场景下,解析PGW Radius和MME CHR,建立标识映射关系。该具体过程与图6和图7所示的映射方法流程类似,为简洁描述,在这里不再赘述。It should be noted that the mapping method provided by the present invention can also be applied to the PGW Radius and the MME CHR in the scenario where the PGW and the MME are present, and establish an identity mapping relationship. The specific process is similar to the mapping method flow shown in FIG. 6 and FIG. 7 , and is not described here for brevity.
在本发明实施例中,标识间的映射关系支持私网IPv4、S-TMSI、S1APID、IMSI、MSISDN、IMEI、PGW Address、SGW Address。可以根据用户标识IP、S-TMSI、IMSI、MSISDN查询PGW Address、SGW Address。In the embodiment of the present invention, the mapping relationship between the identifiers supports the private network IPv4, S-TMSI, S1APID, IMSI, MSISDN, IMEI, PGW Address, and SGW Address. The PGW Address and SGW Address can be queried according to the user identifier IP, S-TMSI, IMSI, MSISDN.
图6至图8详细说明了在UL系统中解析PGW Radius信息,建立标识映射数据库:支持私网IP向IMSI、MSISDN的映射;解析MME CHR控制面 信息,建立用户上下文数据库,支持通过S-TMSI映射为IMSI/MSISDN;解析SGW用户上下文信息,建立用户上下文数据库,支持TEID映射为IMSI、MSISDN,在本发明提供的映射方法还可以应用在Wifi接入系统,可以解析接入AC Radius报文,支持MAC地址与IMSI的映射。Figure 6 to Figure 8 detail the analysis of PGW Radius information in the UL system, establish an identity mapping database: support mapping of private network IP to IMSI, MSISDN; parse MME CHR control plane Information, establish a user context database, support mapping to IMSI/MSISDN through S-TMSI; parse SGW user context information, establish user context database, support TEID mapping to IMSI, MSISDN, and the mapping method provided by the present invention can also be applied to Wifi connection After entering the system, the AC Radius packet can be parsed and the mapping between the MAC address and the IMSI is supported.
上文中结合图3至图8,详细描述了根据本发明实施例的标识映射方法,下面将结合图9,详细描述根据本发明实施例的系统。The identification mapping method according to an embodiment of the present invention is described in detail above with reference to FIG. 3 to FIG. 8, and a system according to an embodiment of the present invention will be described in detail below with reference to FIG.
图9为本发明实施例提供的一种系统结构示意图。如图9所示,该系统900可以包括:接收单元910、建立单元920和关联单元930。FIG. 9 is a schematic structural diagram of a system according to an embodiment of the present invention. As shown in FIG. 9, the system 900 can include a receiving unit 910, an establishing unit 920, and an associating unit 930.
接收单元910,用于接收核心网设备发送的第一数据信息,第一数据信息中包括用户设备的临时标识和用户设备的永久标识。The receiving unit 910 is configured to receive first data information that is sent by the core network device, where the first data information includes a temporary identifier of the user equipment and a permanent identifier of the user equipment.
建立单元920,用于根据第一数据信息,建立临时标识和永久标识的标识映射关系。The establishing unit 920 is configured to establish, according to the first data information, an identifier mapping relationship between the temporary identifier and the permanent identifier.
接收单元910,还用于接收服务锚点发送的第二数据信息,第二数据信息包括用户设备的临时标识和用户设备的实时位置信息。The receiving unit 910 is further configured to receive second data information that is sent by the service anchor, where the second data information includes a temporary identifier of the user equipment and real-time location information of the user equipment.
关联单元930,用于根据标识映射关系以及第二数据信息中的临时标识,将用户设备的永久标识和实时位置信息进行关联,并保存用户设备的实时位置信息,以用于第三方应用设备根据用户设备的临时标识或永久标识获取用户设备的位置信息。The association unit 930 is configured to associate the permanent identifier of the user equipment with the real-time location information according to the identifier mapping relationship and the temporary identifier in the second data information, and save the real-time location information of the user equipment for use by the third-party application device. The temporary identifier or permanent identifier of the user equipment acquires location information of the user equipment.
在本发明实施例中,该系统中的接收单元910接收核心网设备,比如:PGW、MME和/或SGW发送的包括用户设备的临时标识或永久标识的数据信息,即第一数据信息,该第一数据信息可以为用户设备的计费信息。建立单元920解析第一数据信息中的用户设备的临时标识和对应该用户设备的永久标识,并建立临时标识和永久标识的标识映射关系。接收单元910还接收服务锚点发送的包括用户设备的临时标识和实时位置信息的数据信息,以通过关联单元930根据标识映射关系以及服务锚点发送的数据信息中的用户设备 的临时标识确定,用户设备的永久标识,将永久标识与用户设备的实时位置信息进行关联,并将关联后的实时位置信息进行存储,以便于第三方应用设备根据用户设备的临时标识或者永久标识,通过该系统获取用户设备的用户上下文或用户设备的实时位置信息、历史位置信息。In the embodiment of the present invention, the receiving unit 910 in the system receives the data information including the temporary identifier or the permanent identifier of the user equipment, that is, the first data information, which is sent by the PGW, the MME, and/or the SGW. The first data information may be charging information of the user equipment. The establishing unit 920 parses the temporary identifier of the user equipment in the first data information and the permanent identifier corresponding to the user equipment, and establishes an identifier mapping relationship between the temporary identifier and the permanent identifier. The receiving unit 910 further receives the data information of the temporary identifier and the real-time location information that is sent by the service anchor, including the user equipment, by the association unit 930 according to the identifier mapping relationship and the user equipment in the data information sent by the service anchor point. The temporary identifier determines the permanent identifier of the user equipment, associates the permanent identifier with the real-time location information of the user equipment, and stores the associated real-time location information, so that the third-party application device can be based on the temporary identifier or permanent identifier of the user equipment. The user context of the user equipment or the real-time location information and historical location information of the user equipment are obtained through the system.
基于本发明提供的系统,通过建立用户设备的临时标识和永久标识的标识映射关系,并根据用户设备的标识映射关系和从服务锚点接收到的第二数据信息中的用户设备的临时标识,将用户设备的永久标识和从服务锚点接收到的与用户设备的临时标识对应的用户设备的实时位置信息进行关联,实现了第三方应用设备根据用户设备的永久标识或者临时标识获取用户设备的实时位置信息或历史位置信息,即根据区域信息获取该区域内实时用户数量、进入或者离开指定区域的用户数量。The system provided by the present invention establishes a mapping relationship between the temporary identifier of the user equipment and the permanent identifier, and according to the identifier mapping relationship of the user equipment and the temporary identifier of the user equipment in the second data information received from the service anchor, Associating the permanent identifier of the user equipment with the real-time location information of the user equipment that is received from the service anchor and corresponding to the temporary identifier of the user equipment, the third-party application device obtains the user equipment according to the permanent identifier or the temporary identifier of the user equipment. Real-time location information or historical location information, that is, the number of real-time users in the area and the number of users entering or leaving the designated area according to the area information.
可选地,在本发明实施例中,用户设备的临时标识可以包括:临时标识包括隧道端点标识符TEID、S1应用协议标识S1APID、临时移动用户身份S-TMSI、网络之间互联的协议IP、媒体访问控制MAC地址中一个;用户设备的永久标识可以包括:移动用户号码MSISDN、国际移动标识IMEI、国际移动用户识别码IMSI中的一个。Optionally, in the embodiment of the present invention, the temporary identifier of the user equipment may include: the temporary identifier includes a tunnel endpoint identifier TEID, an S1 application protocol identifier S1APID, a temporary mobile user identity S-TMSI, a protocol IP interconnected between the networks, One of the media access control MAC addresses; the permanent identifier of the user equipment may include one of a mobile subscriber number MSISDN, an international mobile identity IMEI, and an international mobile subscriber identity IMSI.
可选地,作为本发明另一实施例,接收单元910接收核心网设备通过用户数据包协议UDP发送的第一数据信息,减少了核心网设备向该系统开放上报数据增加新的私有接口。可选地,作为本发明另一实施例,如图9,该系统900还可以包括:Optionally, as another embodiment of the present invention, the receiving unit 910 receives the first data information that is sent by the core network device by using the user data packet protocol UDP, and reduces the core network device to add a new private interface to the system to report the data. Optionally, as another embodiment of the present invention, as shown in FIG. 9, the system 900 may further include:
编排单元940,用于对保存的用户设备的实时位置信息进行第一编排处理,以用于第三方应用设备根据用户设备的临时标识或永久标识获取用户设备的位置信息。The arranging unit 940 is configured to perform a first scheduling process on the real-time location information of the saved user equipment, so that the third-party application device acquires the location information of the user equipment according to the temporary identifier or the permanent identifier of the user equipment.
该系统通过对保存的实时位置信息进行逻辑编排,进一步便于第三方应用设备根据用户设备的标识(临时标识或永久标识)获取用户设备的上下文信息以及实时位置信息或者历史位置信息。 The system logically arranges the saved real-time location information, so that the third-party application device can obtain the context information and the real-time location information or the historical location information of the user equipment according to the identifier (temporary identifier or permanent identifier) of the user equipment.
可选地,作为本发明另一实施例,如图9,该系统900还可以包括获取单元950和发送单元960;Optionally, as another embodiment of the present invention, as shown in FIG. 9, the system 900 may further include an obtaining unit 950 and a sending unit 960;
接收单元910,还用于接收第三方应用设备发送的实时位置调用请求,实时位置调用请求携带有用户设备的临时标识或永久标识。The receiving unit 910 is further configured to receive a real-time location call request sent by the third-party application device, where the real-time location call request carries a temporary identifier or a permanent identifier of the user equipment.
获取单元950,用于根据实时位置调用请求,获取用户设备的实时位置信息。The obtaining unit 950 is configured to acquire real-time location information of the user equipment according to the real-time location call request.
发送单元960,用于将获取的用户设备的实时位置信息发送给第三方应用设备,或者,发送单元960,用于将获取的用户设备的实时位置信息存储在第一存储空间,并将第一存储空间的地址信息发送给第三方应用设备。在本发明实施例中,若实时位置调用请求携带有用户设备的永久标识,则获取单元950根据实时位置调用请求,对保存的用户设备的实时位置信息进行第二编排处理,得到用户设备的实时位置信息;或者,The sending unit 960 is configured to send the acquired real-time location information of the user equipment to the third-party application device, or the sending unit 960 is configured to store the acquired real-time location information of the user equipment in the first storage space, and the first The address information of the storage space is sent to the third-party application device. In the embodiment of the present invention, if the real-time location invocation request carries the permanent identifier of the user equipment, the obtaining unit 950 performs a second scheduling process on the saved real-time location information of the user equipment according to the real-time location invocation request, and obtains real-time information of the user equipment. Location information; or,
若实时位置调用请求携带有用户设备的临时标识,则获取单元950根据标识映射关系和用户设备的临时标识,获取用户设备的永久标识,并根据获取的永久标识以及实时位置调用请求,对保存的用户设备的实时位置信息进行第二编排处理,得到用户设备的实时位置信息。If the real-time location call request carries the temporary identifier of the user equipment, the obtaining unit 950 acquires the permanent identifier of the user equipment according to the identifier mapping relationship and the temporary identifier of the user equipment, and saves the call according to the obtained permanent identifier and the real-time location call request. The real-time location information of the user equipment is subjected to a second scheduling process to obtain real-time location information of the user equipment.
可选地,作为本发明另一实施例,实时位置调用请求还包括临时标识或者永久标识的标识类型、第一统一资源定位符URL、第一区域信息或第一时间段信息中的一个或多个信息。Optionally, as another embodiment of the present invention, the real-time location invocation request further includes one or more of a temporary identifier or a permanently identified identifier type, a first uniform resource locator URL, first region information, or first time period information. Information.
其中,第一URL为第三方应用设备从统一智能中心获取用户设备实时位置信息的存储地址,简单讲,第一URL为统一智能中心存储实时位置信息的一个存储地址。第一时间段信息为当前时刻之后的某一时间段。The first URL is a storage address of the real-time location information of the user equipment obtained by the third-party application device from the unified intelligent center. In brief, the first URL is a storage address of the unified intelligent center storing the real-time location information. The first time period information is a certain time period after the current time.
可选地,作为本发明另一实施例,Optionally, as another embodiment of the present invention,
接收单元910,还用于接收第三方应用设备发送的历史位置调用请求,历史位置调用请求携带有用户设备的临时标识或永久标识;The receiving unit 910 is further configured to receive a historical location call request sent by the third-party application device, where the historical location call request carries a temporary identifier or a permanent identifier of the user equipment;
获取单元950,还用于根据历史位置调用请求,获取用户设备的历史位置 信息;The obtaining unit 950 is further configured to acquire a historical location of the user equipment according to the historical location call request information;
发送单元960,还用于将历史位置信息发送给第三方应用设备,或者,发送单元,还用于将历史位置信息存储在第二存储空间,并将第二存储空间的地址信息发送给第三方应用设备。The sending unit 960 is further configured to send the historical location information to the third-party application device, or the sending unit is further configured to store the historical location information in the second storage space, and send the address information of the second storage space to the third party. Application device.
在本发明实施例中,若历史位置调用请求携带有用户设备的永久标识,则获取单元根据历史位置调用请求,对保存的用户设备的实时位置信息进行第三编排处理,得到用户设备的历史位置信息;或者,In the embodiment of the present invention, if the historical location call request carries the permanent identifier of the user equipment, the acquiring unit performs a third scheduling process on the saved real-time location information of the user equipment according to the historical location call request, to obtain the historical location of the user equipment. Information; or,
若历史位置调用请求携带有用户设备的临时标识,则获取单元根据标识映射关系和用户设备的临时标识,获取用户设备的永久标识,并根据获取的永久标识以及历史位置调用请求,对保存的用户设备的实时位置信息进行第三编排处理,得到用户设备的历史位置信息。If the history location call request carries the temporary identifier of the user equipment, the acquiring unit acquires the permanent identifier of the user equipment according to the identifier mapping relationship and the temporary identifier of the user equipment, and invokes the request according to the obtained permanent identifier and the historical location, and saves the user. The real-time location information of the device is processed in a third manner to obtain historical location information of the user equipment.
在本发明实施例中,历史位置调用请求还包括临时标识或永久标识的标识类型、第二统一资源定位符URL、第二区域信息或第二时间段信息中的一个或多个信息。In the embodiment of the present invention, the historical location invocation request further includes one or more of the identifier type of the temporary identifier or the permanent identifier, the second uniform resource locator URL, the second region information, or the second time period information.
其中,第二URL为第三方应用设备从统一智能中心获取用户设备实时位置信息的存储地址,简单讲,第二URL为统一智能中心存储实时位置信息的一个存储地址。第二时间段信息为当前时刻之前的某一时间段。The second URL is a storage address of the real-time location information of the user equipment obtained by the third-party application device from the unified intelligent center. In brief, the second URL is a storage address of the unified intelligent center storing the real-time location information. The second time period information is a certain time period before the current time.
可选地,作为本发明另一实施例,接收单元910通过表征状态转移REST接口接收第三方应用设备发送的实时位置调用请求或历史位置调用请求中的一种或两种。Optionally, as another embodiment of the present invention, the receiving unit 910 receives one or both of a real-time location call request or a historical location call request sent by the third-party application device by using the characterization state transfer REST interface.
可选地,在本发明实施例中,接收单元910,具体包括:Optionally, in the embodiment of the present invention, the receiving unit 910 specifically includes:
通过统一智能中心与服务锚点之间的So接口,接收服务锚点发送的第二数据信息。The second data information sent by the service anchor is received by unifying the So interface between the intelligent center and the service anchor.
在本发明实施例中,So接口可以支持隧道端点标识符TEID、S1应用协议S1APID、临时移动用户身份S-TMSI、网络之间互联的协议IP地址和媒体访问控制MAC地址中的一个或多个。 In the embodiment of the present invention, the So interface may support one or more of a tunnel endpoint identifier TEID, an S1 application protocol S1APID, a temporary mobile user identity S-TMSI, a protocol IP address interconnected between networks, and a media access control MAC address. .
可选地,如图9该系统900还包括:Optionally, the system 900 of FIG. 9 further includes:
存储单元970,用于将标识映射关系存储在实时数据库RTDB中,以实现第三方应用设备通过该系统查询数据时,能够实时返回查询数据,高效的完成数据查询。The storage unit 970 is configured to store the identifier mapping relationship in the real-time database RTDB, so that when the third-party application device queries the data through the system, the query data can be returned in real time, and the data query is completed efficiently.
需要说明的是,图9所示系统中的各个单元,可以实现图3至图8中的方法/步骤。为简洁描述,在此不再进行赘述。It should be noted that the methods/steps in FIG. 3 to FIG. 8 can be implemented for each unit in the system shown in FIG. For the sake of brevity, it will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统和方法,可以通过其它的方式实现。例如,以上所描述的系统仅仅是示意性的,例如,该单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以是两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In the several embodiments provided herein, it should be understood that the disclosed systems and methods can be implemented in other ways. For example, the system described above is merely illustrative. For example, the division of the unit is only a logical function division, and the actual implementation may have another division manner, for example, multiple units may be combined or may be integrated into another. The system, or some features can be ignored or not executed. In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
该集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分,或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例该方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, can be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention contributes in essence or to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium. A number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method of various embodiments of the present invention. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .
以上,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可想到各种等效的修改或替换,这些修改或替换都应涵盖在本发明的保护范围之内。因此, 本发明的保护范围应以权利要求的保护范围为准。 The above is only the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any equivalent modification or replacement can be conceived by those skilled in the art within the technical scope of the present disclosure. Such modifications or substitutions are intended to be included within the scope of the present invention. Therefore, The scope of the invention should be determined by the scope of the claims.

Claims (28)

  1. 一种标识映射的方法,其特征在于,所述方法包括:A method for identifying a mapping, the method comprising:
    统一智能中心接收核心网设备发送的第一数据信息,所述第一数据信息中包括用户设备的临时标识和所述用户设备的永久标识;The unified intelligent center receives the first data information sent by the core network device, where the first data information includes a temporary identifier of the user equipment and a permanent identifier of the user equipment;
    所述统一智能中心根据所述第一数据信息,建立所述临时标识和所述永久标识的标识映射关系;The unified intelligent center establishes an identifier mapping relationship between the temporary identifier and the permanent identifier according to the first data information;
    所述统一智能中心接收服务锚点发送的第二数据信息,所述第二数据信息包括所述用户设备的所述临时标识和所述用户设备的实时位置信息;Receiving, by the unified intelligent center, the second data information that is sent by the service anchor, where the second data information includes the temporary identifier of the user equipment and real-time location information of the user equipment;
    所述统一智能中心根据所述标识映射关系以及所述第二数据信息中的所述临时标识,将所述用户设备的永久标识和所述实时位置信息进行关联,并保存所述用户设备的实时位置信息,以用于第三方应用设备根据所述用户设备的所述临时标识或所述永久标识获取所述用户设备的位置信息。The unified intelligent center associates the permanent identifier of the user equipment with the real-time location information according to the identifier mapping relationship and the temporary identifier in the second data information, and saves the real-time of the user equipment. The location information is used by the third-party application device to obtain location information of the user equipment according to the temporary identifier or the permanent identifier of the user equipment.
  2. 根据权利要求1所述的方法,其特征在于,在将所述用户设备的永久标识和所述实时位置信息进行关联,并保存所述用户设备的实时位置信息之后,所述方法还包括:The method according to claim 1, wherein after the permanent identifier of the user equipment is associated with the real-time location information, and the real-time location information of the user equipment is saved, the method further includes:
    所述统一智能中心对保存的所述用户设备的实时位置信息进行第一编排处理,以用于所述第三方应用设备根据所述用户设备的所述临时标识或所述永久标识获取所述用户设备的位置信息。The unified intelligent center performs a first scheduling process on the stored real-time location information of the user equipment, where the third-party application device acquires the user according to the temporary identifier or the permanent identifier of the user equipment. Location information of the device.
  3. 根据权利要求1或2所述的方法,其特征在于,所述方法还包括:The method according to claim 1 or 2, wherein the method further comprises:
    所述统一智能中心接收所述第三方应用设备发送的实时位置调用请求,所述实时位置调用请求携带有所述用户设备的所述临时标识或所述永久标识;Receiving, by the unified intelligent center, a real-time location call request sent by the third-party application device, where the real-time location call request carries the temporary identifier or the permanent identifier of the user equipment;
    所述统一智能中心根据所述实时位置调用请求,获取所述用户设备的实时位置信息;The unified intelligent center acquires real-time location information of the user equipment according to the real-time location call request;
    所述统一智能中心将所述获取的所述用户设备的实时位置信息发送给所述第三方应用设备,或者,所述统一智能中心将所述获取的所述用户设备的 实时位置信息存储在第一存储空间,并将所述第一存储空间的地址信息发送给所述第三方应用设备。Sending, by the unified intelligent center, the obtained real-time location information of the user equipment to the third-party application device, or the unified intelligent center to obtain the acquired user equipment The real-time location information is stored in the first storage space, and the address information of the first storage space is sent to the third-party application device.
  4. 根据权利要求3所述的方法,其特征在于,所述统一智能中心根据所述实时位置调用请求,获取所述用户设备的位置信息,包括:The method according to claim 3, wherein the unified intelligent center acquires location information of the user equipment according to the real-time location call request, including:
    若所述实时位置调用请求携带有所述用户设备的所述永久标识,则所述统一智能中心根据所述实时位置调用请求,对所述保存的所述用户设备的实时位置信息进行第二编排处理,得到所述用户设备的实时位置信息;或者,If the real-time location call request carries the permanent identifier of the user equipment, the unified intelligent center performs second scheduling on the saved real-time location information of the user equipment according to the real-time location call request. Processing to obtain real-time location information of the user equipment; or
    若所述实时位置调用请求携带有所述用户设备的所述临时标识,则所述统一智能中心根据所述标识映射关系和所述用户设备的所述临时标识,获取所述用户设备的永久标识,并根据所述获取的永久标识以及所述实时位置调用请求,对所述保存的所述用户设备的实时位置信息进行所述第二编排处理,得到所述用户设备的实时位置信息。If the real-time location invocation request carries the temporary identifier of the user equipment, the unified intelligent center acquires the permanent identifier of the user equipment according to the identifier mapping relationship and the temporary identifier of the user equipment. And performing the second orchestration process on the saved real-time location information of the user equipment according to the obtained permanent identifier and the real-time location call request, to obtain real-time location information of the user equipment.
  5. 根据权利要求3或4所述的方法,其特征在于,所述实时位置调用请求还包括所述临时标识或者永久标识的标识类型、第一统一资源定位符URL、第一区域信息或第一时间段信息中的一个或多个信息。The method according to claim 3 or 4, wherein the real-time location invocation request further includes the identifier type of the temporary identifier or the permanent identifier, the first uniform resource locator URL, the first region information, or the first time. One or more pieces of information in the segment information.
  6. 根据权利要求1-5任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 5, wherein the method further comprises:
    所述统一智能中心接收所述第三方应用设备发送的历史位置调用请求,所述历史位置调用请求携带有所述用户设备的所述临时标识或所述永久标识;Receiving, by the unified intelligent center, a historical location call request sent by the third-party application device, where the historical location call request carries the temporary identifier or the permanent identifier of the user equipment;
    所述统一智能中心根据所述历史位置调用请求,获取所述用户设备的历史位置信息;The unified intelligent center acquires historical location information of the user equipment according to the historical location call request;
    所述统一智能中心将所述历史位置信息发送给所述第三方应用设备,或者,所述统一智能中心将所述历史位置信息存储在第二存储空间,并将所述第二存储空间的地址信息发送给所述第三方应用设备。The unified intelligent center sends the historical location information to the third-party application device, or the unified intelligent center stores the historical location information in a second storage space, and the address of the second storage space Information is sent to the third party application device.
  7. 根据权利要求6所述的方法,其特征在于,所述统一智能中心根据所述历史位置调用请求,获取所述用户设备的历史位置信息,包括: The method according to claim 6, wherein the unified intelligent center acquires historical location information of the user equipment according to the historical location call request, including:
    若所述历史位置调用请求携带有所述用户设备的所述永久标识,则所述统一智能中心根据所述历史位置调用请求,对所述保存的所述用户设备的实时位置信息进行第三编排处理,得到所述用户设备的历史位置信息;或者,If the historical location call request carries the permanent identifier of the user equipment, the unified intelligent center performs a third arrangement on the saved real-time location information of the user equipment according to the historical location call request. Processing to obtain historical location information of the user equipment; or
    若所述历史位置调用请求携带有所述用户设备的所述临时标识,则所述统一智能中心根据所述标识映射关系和所述用户设备的所述临时标识,获取所述用户设备的永久标识,并根据所述获取的永久标识以及所述历史位置调用请求,对所述保存的所述用户设备的实时位置信息进行所述第三编排处理,得到所述用户设备的历史位置信息。If the historical location call request carries the temporary identifier of the user equipment, the unified intelligent center acquires the permanent identifier of the user equipment according to the identifier mapping relationship and the temporary identifier of the user equipment. And performing the third scheduling process on the saved real-time location information of the user equipment according to the obtained permanent identifier and the historical location call request, to obtain historical location information of the user equipment.
  8. 根据权利要求6或7所述的方法,其特征在于,所述历史位置调用请求还包括所述临时标识或所述永久标识的标识类型、第二统一资源定位符URL、第二区域信息或第二时间段信息中的一个或多个信息。The method according to claim 6 or 7, wherein the historical location invocation request further comprises an identifier of the temporary identifier or the permanent identifier, a second uniform resource locator URL, a second region information or a One or more pieces of information in the two time period information.
  9. 根据权利要求3-8任一项所述的方法,其特征在于,所述统一智能中心通过表征状态转移REST接口接收所述第三方应用设备发送的所述实时位置调用请求或所述历史位置调用请求中的一种或两种。The method according to any one of claims 3-8, wherein the unified intelligent center receives the real-time location call request or the historical location call sent by the third-party application device by using a characterization state transfer REST interface. One or both of the requests.
  10. 根据权利要求1-8任一项所述的方法,其特征在于,所述临时标识包括隧道端点标识符TEID、S1应用协议标识S1APID、临时移动用户身份S-TMSI、网络之间互联的协议IP、媒体访问控制MAC地址中一个;所述永久标识包括移动用户号码MSISDN、国际移动标识IMEI、国际移动用户识别码IMSI中的一个。The method according to any one of claims 1-8, wherein the temporary identifier comprises a tunnel endpoint identifier TEID, an S1 application protocol identifier S1APID, a temporary mobile subscriber identity S-TMSI, and a protocol IP interconnected between networks. And one of the media access control MAC addresses; the permanent identifier includes one of a mobile subscriber number MSISDN, an international mobile identity IMEI, and an international mobile subscriber identity IMSI.
  11. 根据权利要求1-10任一项所述的方法,其特征在于,所述统一智能中心接收核心网设备发送的第一数据信息,包括:The method according to any one of claims 1-10, wherein the unified intelligent center receives the first data information sent by the core network device, including:
    所述统一智能中心接收所述核心网设备通过用户数据包协议UDP发送的所述第一数据信息。The unified intelligent center receives the first data information that is sent by the core network device by using a user data packet protocol UDP.
  12. 根据权利要求1-11任一项所述的方法,其特征在于,所述统一智能中心接收服务锚点发送的第二数据信息,包括:The method according to any one of claims 1 to 11, wherein the unified intelligent center receives the second data information sent by the service anchor, including:
    所述统一智能中心通过所述统一智能中心与所述服务锚点之间的So接 口,接收所述服务锚点发送的所述第二数据信息。The unified intelligent center passes through the So connection between the unified intelligent center and the service anchor point And receiving the second data information sent by the service anchor.
  13. 根据权利要求12所述的方法,其特征在于,所述So接口支持隧道端点标识符TEID、S1应用协议S1APID、临时移动用户身份S-TMSI、网络之间互联的协议IP地址和媒体访问控制MAC地址中的一个或多个。The method according to claim 12, wherein the So interface supports a tunnel endpoint identifier TEID, an S1 application protocol S1APID, a temporary mobile user identity S-TMSI, a protocol IP address interconnected between networks, and a media access control MAC. One or more of the addresses.
  14. 根据权利要求1-13任一项所述方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 13, wherein the method further comprises:
    所述统一智能中心将所述标识映射关系存储在实时数据库RTDB中。The unified intelligent center stores the identity mapping relationship in a real-time database RTDB.
  15. 一种系统,其特征在于,所述系统包括:A system, characterized in that the system comprises:
    接收单元,用于接收核心网设备发送的第一数据信息,所述第一数据信息中包括用户设备的临时标识和所述用户设备的永久标识;a receiving unit, configured to receive first data information that is sent by the core network device, where the first data information includes a temporary identifier of the user equipment and a permanent identifier of the user equipment;
    建立单元,用于根据所述第一数据信息,建立所述临时标识和所述永久标识的标识映射关系;And an establishing unit, configured to establish, according to the first data information, an identifier mapping relationship between the temporary identifier and the permanent identifier;
    所述接收单元,还用于接收服务锚点发送的第二数据信息,所述第二数据信息包括所述用户设备的所述临时标识和所述用户设备的实时位置信息;The receiving unit is further configured to receive second data information that is sent by the service anchor, where the second data information includes the temporary identifier of the user equipment and real-time location information of the user equipment;
    关联单元,用于根据所述标识映射关系以及所述第二数据信息中的所述临时标识,将所述用户设备的永久标识和所述实时位置信息进行关联,并保存所述用户设备的实时位置信息,以用于第三方应用设备根据所述用户设备的所述临时标识或所述永久标识获取所述用户设备的位置信息。An association unit, configured to associate the permanent identifier of the user equipment with the real-time location information according to the identifier mapping relationship and the temporary identifier in the second data information, and save the real-time of the user equipment The location information is used by the third-party application device to obtain location information of the user equipment according to the temporary identifier or the permanent identifier of the user equipment.
  16. 根据权利要求15所述的系统,其特征在于,所述系统还包括:The system of claim 15 wherein the system further comprises:
    编排单元,用于对保存的所述用户设备的实时位置信息进行第一编排处理,以用于所述第三方应用设备根据所述用户设备的所述临时标识或所述永久标识获取所述用户设备的位置信息。a scheduling unit, configured to perform a first orchestration process on the saved real-time location information of the user equipment, where the third-party application device acquires the user according to the temporary identifier or the permanent identifier of the user equipment Location information of the device.
  17. 根据权利要求15或16所述的系统,其特征在于,所述系统还包括获取单元和发送单元;The system according to claim 15 or 16, wherein the system further comprises an acquisition unit and a transmission unit;
    所述接收单元,还用于接收所述第三方应用设备发送的实时位置调用请求,所述实时位置调用请求携带有所述用户设备的所述临时标识或所述永久标识; The receiving unit is further configured to receive a real-time location call request sent by the third-party application device, where the real-time location call request carries the temporary identifier or the permanent identifier of the user equipment;
    所述获取单元,用于根据所述实时位置调用请求,获取所述用户设备的实时位置信息;The obtaining unit is configured to acquire real-time location information of the user equipment according to the real-time location call request;
    所述发送单元,用于将所述获取的所述用户设备的实时位置信息发送给所述第三方应用设备,或者,所述发送单元,用于将所述获取的所述用户设备的实时位置信息存储在第一存储空间,并将所述第一存储空间的地址信息发送给所述第三方应用设备。The sending unit is configured to send the acquired real-time location information of the user equipment to the third-party application device, or the sending unit is configured to: use the acquired real-time location of the user equipment The information is stored in the first storage space, and the address information of the first storage space is sent to the third-party application device.
  18. 根据权利要求17所述的系统,其特征在于,The system of claim 17 wherein:
    若所述实时位置调用请求携带有所述用户设备的所述永久标识,则所述获取单元根据所述实时位置调用请求,对所述保存的所述用户设备的实时位置信息进行第二编排处理,得到所述用户设备的实时位置信息;或者,If the real-time location call request carries the permanent identifier of the user equipment, the acquiring unit performs second scheduling processing on the saved real-time location information of the user equipment according to the real-time location call request. Obtaining real-time location information of the user equipment; or
    若所述实时位置调用请求携带有所述用户设备的所述临时标识,则所述获取单元根据所述标识映射关系和所述用户设备的所述临时标识,获取所述用户设备的永久标识,并根据所述获取的永久标识以及所述实时位置调用请求,对所述保存的所述用户设备的实时位置信息进行所述第二编排处理,得到所述用户设备的实时位置信息。If the real-time location invocation request carries the temporary identifier of the user equipment, the acquiring unit acquires the permanent identifier of the user equipment according to the identifier mapping relationship and the temporary identifier of the user equipment, And performing the second orchestration processing on the saved real-time location information of the user equipment according to the obtained permanent identifier and the real-time location call request, to obtain real-time location information of the user equipment.
  19. 根据权利要求17或18所述的系统,其特征在于,所述实时位置调用请求还包括所述临时标识或者永久标识的标识类型、所述第三方应用设备从所述统一智能中心获取数据的第一统一资源定位符URL、第一区域信息或第一时间段信息中的一个或多个信息。The system according to claim 17 or 18, wherein the real-time location invocation request further includes an identifier type of the temporary identifier or permanent identifier, and a third-party application device acquires data from the unified smart center. One or more of the uniform resource locator URL, the first area information, or the first time period information.
  20. 根据权利要求15-19任一项所述的系统,其特征在于,A system according to any of claims 15-19, wherein
    所述接收单元,还用于接收所述第三方应用设备发送的历史位置调用请求,所述历史位置调用请求携带有所述用户设备的所述临时标识或所述永久标识;The receiving unit is further configured to receive a historical location call request sent by the third-party application device, where the historical location call request carries the temporary identifier or the permanent identifier of the user equipment;
    所述获取单元,还用于根据所述历史位置调用请求,获取所述用户设备的历史位置信息;The obtaining unit is further configured to acquire historical location information of the user equipment according to the historical location call request;
    所述发送单元,还用于将所述历史位置信息发送给所述第三方应用设备, 或者,所述发送单元,还用于将所述历史位置信息存储在第二存储空间,并将所述第二存储空间的地址信息发送给所述第三方应用设备。The sending unit is further configured to send the historical location information to the third-party application device, Alternatively, the sending unit is further configured to store the historical location information in a second storage space, and send address information of the second storage space to the third-party application device.
  21. 根据权利要求20所述的系统,其特征在于,The system of claim 20 wherein:
    若所述历史位置调用请求携带有所述用户设备的所述永久标识,则所述获取单元根据所述历史位置调用请求,对所述保存的所述用户设备的实时位置信息进行第三编排处理,得到所述用户设备的历史位置信息;或者,If the historical location call request carries the permanent identifier of the user equipment, the obtaining unit performs third scheduling processing on the saved real-time location information of the user equipment according to the historical location call request. Obtaining historical location information of the user equipment; or
    若所述历史位置调用请求携带有所述用户设备的所述临时标识,则所述获取单元根据所述标识映射关系和所述用户设备的所述临时标识,获取所述用户设备的永久标识,并根据所述获取的永久标识以及所述历史位置调用请求,对所述保存的所述用户设备的实时位置信息进行所述第三编排处理,得到所述用户设备的历史位置信息。If the historical location call request carries the temporary identifier of the user equipment, the acquiring unit acquires the permanent identifier of the user equipment according to the identifier mapping relationship and the temporary identifier of the user equipment, And performing the third scheduling process on the saved real-time location information of the user equipment according to the obtained permanent identifier and the historical location call request, to obtain historical location information of the user equipment.
  22. 根据权利要求20或21所述的系统,其特征在于,所述历史位置调用请求还包括所述临时标识或所述永久标识的标识类型、所述第三方应用设备从所述统一智能中心获取数据的第二统一资源定位符URL、第二区域信息或第二时间段信息中的一个或多个信息。The system according to claim 20 or 21, wherein the historical location invocation request further comprises the temporary identification or the identification type of the permanent identification, and the third-party application device acquires data from the unified intelligent center. One or more of the second uniform resource locator URL, the second area information, or the second time period information.
  23. 根据权利要求17-22任一项所述的系统,其特征在于,所述接收单元通过表征状态转移REST接口接收所述第三方应用设备发送的所述实时位置调用请求或所述历史位置调用请求中的一种或两种。The system according to any one of claims 17 to 22, wherein the receiving unit receives the real-time location call request or the historical location call request sent by the third-party application device by means of a characterization state transfer REST interface One or two of them.
  24. 根据权利要求15-22任一项所述的系统,其特征在于,所述临时标识包括隧道端点标识符TEID、S1应用协议标识S1APID、临时移动用户身份S-TMSI、网络之间互联的协议IP、媒体访问控制MAC地址中一个;所述永久标识包括移动用户号码MSISDN、国际移动标识IMEI、国际移动用户识别码IMSI中的一个。The system according to any one of claims 15 to 22, wherein the temporary identifier comprises a tunnel endpoint identifier TEID, an S1 application protocol identifier S1APID, a temporary mobile subscriber identity S-TMSI, and a protocol IP interconnected between networks. And one of the media access control MAC addresses; the permanent identifier includes one of a mobile subscriber number MSISDN, an international mobile identity IMEI, and an international mobile subscriber identity IMSI.
  25. 根据权利要求15-24任一项所述的系统,其特征在于,所述接收单元,具体包括:The system according to any one of claims 15 to 24, wherein the receiving unit comprises:
    接收所述核心网设备通过用户数据包协议UDP发送的所述第一数据信 息。Receiving, by the core network device, the first data message that is sent by using a user data packet protocol UDP interest.
  26. 根据权利要求15-25任一项所述的系统,其特征在于,所述接收单元,具体包括:The system according to any one of claims 15 to 25, wherein the receiving unit comprises:
    通过所述统一智能中心与所述服务锚点之间的So接口,接收所述服务锚点发送的所述第二数据信息。Receiving, by the So interface between the unified intelligent center and the service anchor, the second data information sent by the service anchor.
  27. 根据权利要求26所述的系统,其特征在于,所述So接口支持隧道端点标识符TEID、S1应用协议S1APID、临时移动用户身份S-TMSI、网络之间互联的协议IP地址和媒体访问控制MAC地址中的一个或多个。The system according to claim 26, wherein said So interface supports tunnel endpoint identifier TEID, S1 application protocol S1APID, temporary mobile user identity S-TMSI, protocol IP address interconnected between networks, and media access control MAC One or more of the addresses.
  28. 根据权利要求15-27任一项所述系统,其特征在于,所述系统还包括:The system of any of claims 15-27, wherein the system further comprises:
    存储单元,用于将所述标识映射关系存储在实时数据库RTDB中。 a storage unit, configured to store the identity mapping relationship in a real-time database RTDB.
PCT/CN2016/086359 2016-06-20 2016-06-20 Identifier mapping method and system WO2017219177A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/086359 WO2017219177A1 (en) 2016-06-20 2016-06-20 Identifier mapping method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/086359 WO2017219177A1 (en) 2016-06-20 2016-06-20 Identifier mapping method and system

Publications (1)

Publication Number Publication Date
WO2017219177A1 true WO2017219177A1 (en) 2017-12-28

Family

ID=60783675

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/086359 WO2017219177A1 (en) 2016-06-20 2016-06-20 Identifier mapping method and system

Country Status (1)

Country Link
WO (1) WO2017219177A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024099247A1 (en) * 2022-11-11 2024-05-16 华为技术有限公司 Information processing method and related device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1909719A (en) * 2005-08-01 2007-02-07 中兴通讯股份有限公司 Method for positioning of mobile user cell
CN101378596A (en) * 2008-09-19 2009-03-04 华为技术有限公司 Method, system and equipment for tracking single user
CN101969659A (en) * 2010-09-21 2011-02-09 北京邮电大学 Method and system for tracking subscriber event
CN102098665A (en) * 2011-02-21 2011-06-15 北京汇泰沃德科技有限公司 Number backfilling supplement method and communication monitor system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1909719A (en) * 2005-08-01 2007-02-07 中兴通讯股份有限公司 Method for positioning of mobile user cell
CN101378596A (en) * 2008-09-19 2009-03-04 华为技术有限公司 Method, system and equipment for tracking single user
CN101969659A (en) * 2010-09-21 2011-02-09 北京邮电大学 Method and system for tracking subscriber event
CN102098665A (en) * 2011-02-21 2011-06-15 北京汇泰沃德科技有限公司 Number backfilling supplement method and communication monitor system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024099247A1 (en) * 2022-11-11 2024-05-16 华为技术有限公司 Information processing method and related device

Similar Documents

Publication Publication Date Title
CA3132854C (en) Wireless device paging by a wireless network
WO2019196846A1 (en) Communication method and device
US11653178B2 (en) Positioning service level
US9986496B2 (en) Method in a network node of a wireless communications network
CN111770587B (en) Data processing method, device and system
WO2019137286A1 (en) Indication method and apparatus for local area data network
WO2011060673A1 (en) Public bearer establishment method, data transmission method and core network side apparatus
WO2009135431A1 (en) Method, system and equipment for notifying user’s information
CN114365518B (en) Method for influencing data service route in core network by service application
WO2022027492A1 (en) Communication method, device and system
CN103428731B (en) Routing optimization method and system, gateway
WO2018099291A1 (en) Data transmission method, apparatus, and system, and storage medium
US11805406B2 (en) Terminal identification method and apparatus
CN106921585B (en) Data message sending method, device and system
CN108055705B (en) Terminal access method, device and system
WO2023051673A1 (en) Perception data transmission method, device, apparatus, and storage medium
WO2011097989A1 (en) Optimization method for local access paging and apparatus thereof
US9603080B2 (en) Network assisted ANDSF policy updating
WO2015100553A1 (en) Method and device for judging service continuity
WO2013067744A1 (en) Serving gateway selection method and system for terminal group
WO2018045515A1 (en) Data offloading method and related device
WO2012028071A1 (en) Method and system for searching local gateway
WO2017219177A1 (en) Identifier mapping method and system
US9439169B2 (en) Reducing paging delays using location analytics in communications networks
US20150351140A1 (en) Procedure and node for interconnecting ran and service layer entities

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16905719

Country of ref document: EP

Kind code of ref document: A1