WO2018010691A1 - 一种获取位置信息的方法、相关设备及集群通信系统 - Google Patents

一种获取位置信息的方法、相关设备及集群通信系统 Download PDF

Info

Publication number
WO2018010691A1
WO2018010691A1 PCT/CN2017/092920 CN2017092920W WO2018010691A1 WO 2018010691 A1 WO2018010691 A1 WO 2018010691A1 CN 2017092920 W CN2017092920 W CN 2017092920W WO 2018010691 A1 WO2018010691 A1 WO 2018010691A1
Authority
WO
WIPO (PCT)
Prior art keywords
location information
target terminal
server
terminal
request
Prior art date
Application number
PCT/CN2017/092920
Other languages
English (en)
French (fr)
Inventor
刘棣
尧俊峰
关洪军
陈钢
陈宏�
胡军
李华栋
冉滴
管鲍
Original Assignee
海能达通信股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 海能达通信股份有限公司 filed Critical 海能达通信股份有限公司
Priority to CN201780000756.8A priority Critical patent/CN108141707A/zh
Publication of WO2018010691A1 publication Critical patent/WO2018010691A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • H04W4/10Push-to-Talk [PTT] or Push-On-Call services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • H04W8/24Transfer of terminal data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • H04W8/24Transfer of terminal data
    • H04W8/245Transfer of terminal data from a network towards a terminal

Definitions

  • the present invention relates to the field of trunking communications, and in particular, to a method for acquiring location information, a related device, and a trunking communication system.
  • the trunking communication system is a mobile communication system used for group dispatching command communication.
  • MCPTT Mission Critical Push To Talk
  • the characteristics of the cluster communication are that the Push To Talk (PTT) method is used to connect, and the called party can answer the call without going off-hook, and the connection speed is faster.
  • the trunking communication system includes other functions. For example, the ability to get location information.
  • the MCPTT trunking communication system includes an MCPTT server and a plurality of terminals.
  • the MCPTT server acquires the terminal that is in the call (for example, the first terminal), and the MCPTT server can acquire the location information of the first terminal, and send the location information of the first terminal to the multiple terminals in addition to the first terminal.
  • Other terminals One of the plurality of terminals (the second terminal) cannot acquire the location information of the specific terminal (the third terminal).
  • the team leader cannot obtain the location information of one or a certain specific group members, which greatly affects the team leader's scheduling for the entire team members.
  • the function of acquiring location information in the trunking communication system is poorly flexible and cannot meet the requirements of practical applications.
  • Embodiments of the present invention provide a method, a related device, and a trunking communication system for acquiring location information.
  • the terminal can actively acquire the location information of the target terminal without acquiring the right to call.
  • an embodiment of the present invention provides a method for acquiring location information, where the method is applied.
  • the trunking communication system includes a server and a plurality of terminals, and the method includes:
  • a location information request sent by the first terminal where the location information request includes an identifier, where the identifier has a mapping relationship with the target terminal, and the location information request is used to acquire location information of the target terminal;
  • the server sends, according to the location information request, the acquired location information of the target terminal to the first terminal.
  • the method before the server receives the location information request sent by the first terminal, the method further includes:
  • the server acquires location information of the multiple terminals and caches locations of the multiple terminals, where the location information of the multiple terminals includes location information of the target terminal.
  • the server sends the acquired location information of the target terminal to the first terminal according to the location information request, including:
  • the server sends the received location information of the target terminal to the first terminal.
  • the location information request further includes condition information, where the condition information is used to indicate a state of location information of the target terminal;
  • the method further includes:
  • the server sends the acquired location information of the target terminal to the first terminal according to the location information request, including:
  • the server sends the cached location information of the target terminal to the first terminal;
  • the server sends the acquired location information of the target terminal to the first terminal according to the location information request, including:
  • the server sends the received location information of the target terminal to the first terminal.
  • the trunking communication system further includes a group management server, where the plurality of terminals form a communication group, the identifier is an identifier of the communication group, and the server receives a location sent by the first terminal. After the information request, the server further sends the acquired location information of the target terminal to the first terminal according to the location information request, the method further includes:
  • the server Receiving, by the server, the determining information sent by the group management server, where the determining information is used to indicate the target terminal, the target terminal includes all terminals in the communication group, and the determining information is used by the group management server Generating according to the identifier of the communication group and the mapping relationship.
  • the method before the server sends the acquired location information of the target terminal to the first terminal according to the location information request, the method further includes:
  • the server queries the rights information of the first terminal, where the rights information is used to indicate whether the first terminal has the right to obtain the location information of the target terminal;
  • the server sends the acquired location information of the target terminal to the first terminal according to the location information request.
  • the method before the server sends the acquired location information of the target terminal to the first terminal according to the location information request, the method further includes:
  • the server queries the authorization information of the target terminal, where the authorization information is used to indicate whether the first terminal is allowed to acquire location information of the target terminal;
  • the server sends the acquired location information of the target terminal to the first terminal according to the location information request.
  • an embodiment of the present invention provides a server, where the server is applied to a trunking communication system, where the cluster communication system includes the server and multiple terminals, and the server includes:
  • a receiving module configured to receive a location information request sent by the first terminal, where the location information request includes an identifier, where the identifier has a mapping relationship with the target terminal, and the location information request is used to acquire location information of the target terminal;
  • a sending module configured to request, according to the location information received by the receiving module, the acquired target The location information of the terminal is sent to the first terminal.
  • the server further includes:
  • An acquiring module configured to acquire location information of the multiple terminals
  • a cache module configured to cache a location of the multiple terminals acquired by the acquiring module, where the location information of the multiple terminals includes location information of the target terminal.
  • the sending module is further configured to send a first request to the target terminal according to the identifier
  • the receiving module is further configured to receive location information sent by the target terminal, where location information of the target terminal is sent by the target terminal to the server according to the first request;
  • the sending module is further configured to send the received location information of the target terminal to the first terminal.
  • the location information request further includes condition information, where the condition information is used to indicate a state of location information of the target terminal;
  • the server further includes a determining module
  • the determining module is configured to determine whether the state of the location information of the cached target terminal meets the state of the location information indicated by the condition information;
  • the sending module is further configured to: when the determining module determines that the location information of the target terminal is cached, send the location information of the target terminal to the first terminal;
  • the sending module is further configured to: when the determining module determines that the content is not satisfied, send the first request to the target terminal according to the location information request;
  • the receiving module is further configured to receive location information of the target terminal, where location information of the target terminal is sent by the target terminal to the server according to the first request;
  • the sending module is further configured to send location information of the target terminal received by the receiving module to the first terminal.
  • the trunking communication system further includes a group management server, where the identifier is an identifier of the communication group;
  • the sending module is configured to send an identifier of the communication group to the group management server, where the identifier of the communication group has a mapping relationship with the target terminal;
  • the receiving module is further configured to receive the determining information sent by the group management server, where the determining information is used to indicate the target terminal, and the target terminal includes all terminals in the communication group. And the determining information is generated by the group management server according to the identifier of the communication group and the mapping relationship.
  • the server further includes a first query module
  • the first query module is configured to query the rights information of the first terminal, where the rights information is used to indicate whether the first terminal has the right to obtain the location information of the target terminal;
  • the sending module is further configured to: when the authorization information indicates that the first terminal has the right, send the acquired location information of the target terminal to the first terminal according to the location information request.
  • the server further includes a second query module
  • the second query module is configured to query the authorization information of the target terminal, where the authorization information is used to indicate whether the first terminal is allowed to acquire location information of the target terminal.
  • the sending module is further configured to, when the authorization information indicates that the first terminal is allowed to acquire the location information of the target terminal, request, according to the location information, the acquired location information of the target terminal to the first A terminal sends.
  • an embodiment of the present invention provides a server, where the server is applied to a trunking communication system, where the server includes:
  • a memory for storing computer executable program code
  • a processor coupled to the memory and the transceiver
  • program code includes instructions that, when executed by the processor, cause the server to perform the method performed by the server of the first aspect described above.
  • an embodiment of the present invention provides a trunking communication system, including multiple terminals, and a server according to the foregoing second and third aspects of the claims.
  • the first terminal sends a location information request to the server, where the location information request includes an identifier, the identifier has a mapping relationship with the target terminal, and the location information request is used to acquire location information of the target terminal;
  • the server sends, according to the location information request, the acquired location information of the target terminal to the first terminal.
  • the group management server is further included, and the identifier is an identifier of the communication group;
  • the target terminal Determining, by the group management server, the target terminal according to the identifier of the communication group and the mapping relationship, where the target terminal includes all terminals in the communication group, and the identifier of the communication group has a mapping with the target terminal relationship;
  • the server receives the target terminal sent by the group management server.
  • the embodiment of the present invention further provides a computer readable storage medium storing program instructions, and the processor executes one of the foregoing methods when executing the stored program instructions.
  • the first terminal in the trunking communication system, can actively obtain the location information of the target terminal, and the target terminal can be a specific terminal.
  • the invention may also include multiple terminals, and the embodiment of the present invention greatly improves the flexibility of the function of acquiring location information in the trunking communication system.
  • the target terminal is scheduled by the location information of the target terminal according to actual work needs.
  • the first terminal can obtain the historical location information of the target terminal, and can obtain the real-time location information of the target terminal, which is more suitable for the actual work scheduling requirement.
  • FIG. 1 is a schematic structural diagram of a trunking communication system according to an embodiment of the present invention.
  • FIG. 2 is a schematic diagram of an embodiment of a method for acquiring location information according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of another embodiment of a method for acquiring location information according to an embodiment of the present disclosure
  • FIG. 4 is a schematic structural diagram of an embodiment of a server in an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of another embodiment of a server according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of another embodiment of a server according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of another embodiment of a server according to an embodiment of the present invention.
  • the embodiment of the invention provides a method for acquiring location information and related equipment, which is used in a trunking communication system, and any terminal can actively obtain location information of a target terminal, thereby improving system flexibility. Sex.
  • the embodiment of the present invention provides a method for acquiring location information, where the method is applied to a trunking communication system, and the cluster communication system may be an MC cluster communication system, where the MC cluster communication system may be an MCPTT cluster communication system, where the PTT refers to The PTT service form of the MCPPT trunking communication system.
  • an MCPTT trunking communication system is taken as an example for description. Please refer to FIG. 1.
  • FIG. 1 is a schematic diagram of the trunking communication system 100.
  • the cluster communication system 100 includes a server 110 and a plurality of terminals 120.
  • the server may be an MC service server.
  • the MC service server may be an MCPTT server. An example is given for the MCPTT server.
  • the plurality of terminals 120 communicate with the MCPTT server over a network.
  • the plurality of terminals 120 includes a first terminal and a target terminal. If the first terminal needs to acquire location information of the target terminal, the first terminal sends a location information request to the MCPTT server 110, where the location information request is used to acquire location information of the target terminal.
  • the location information request includes an identifier that has a mapping relationship with the target terminal.
  • the server sends the acquired location information of the target terminal to the first terminal according to the location information request.
  • the server may logically be a combination of functions of one or more servers.
  • the server may specifically be an MCservice server, and the server processes the location information request of the first terminal and the location information of the target terminal.
  • Acquisition can be
  • the MCservice server is completed, and can be completed by a location management module in the server independent of the MCservice server.
  • the location management module may receive the location information request of the first terminal, obtain the location information of the target terminal, and send the location information of the target terminal to the first terminal, where the location management module may be implemented in the MCservice server.
  • the component module can also be an independent network element that is independent of the MCservice server and can interact with the MCservice server.
  • the server may be a functional combination of a plurality of servers, for example, the server may include an MCservice server and a location management server, and the location management server may be used for the location of the first terminal. Processing of information requests and acquisition of location information of the target terminal.
  • the specific implementation of the server depends on the application scenario and is not limited here.
  • a method for obtaining location information provided by the present invention is specifically described below. Please refer to FIG. 2, and then the MC service server is specifically used as an example of the MCPTT server.
  • the present invention provides an implementation method for acquiring location information. Examples include:
  • Step 201 The MCPTT server acquires location information of multiple terminals, and caches location information of the multiple terminals.
  • the MCPTT server can periodically obtain the location information of multiple terminals.
  • the period can be 1 min, 3 min, 5 min, etc., and the period is only an example, and is not a limitation. In practical applications, settings can be made according to the actual application scenario.
  • the specific manner in which the MCPTT server obtains the location information of the multiple terminals may be that the multiple terminals periodically report to the MCPTT server, or the MCPTT server periodically sends a request to the multiple terminals, and multiple terminals according to the request. Feedback to the MCPTT server, the specific implementation manner is not limited by the present invention.
  • the MCPTT server caches the acquired location information of multiple terminals.
  • the MCPTT server can cache location information for a preset number of cycles.
  • the MCPTT server can cache location information of multiple terminals in 5 cycles.
  • the first terminal (the terminal of the user A) can obtain the location information of the cached target terminal, and the first terminal can know the historical location information of the target terminal, so that the historical location of the target terminal can be tracked.
  • Step 202 The first terminal sends a location information request to the MCPTT server, where the location information request includes an identifier, and the identifier has a mapping relationship with the target terminal.
  • the identifier is added in the reserved field or the added field of the location information request. If the first terminal needs to obtain location information of the target terminal, the first terminal sends a location information request to the MCPTT server, where The terminal identifier identified as the target terminal.
  • the target terminal may be a specific terminal, or may be two terminals, or may be multiple terminals. The specific number of specific target terminals is not limited in the present invention.
  • the identifier includes multiple terminal identifiers corresponding to the terminal. For example, as shown in Table 1 below:
  • a plurality of terminals can form a communication group, and the first terminal is any one of the plurality of terminals, and the first terminal stores the identifier of the target terminal.
  • the work of the user A has a connection with the work of the user B, that is, the user A needs to continue working at the work place of the user B. Then, the first terminal of the user A needs to obtain the location information of the target terminal of the user B.
  • the location information request may further include condition information, where the condition information is used to indicate a status of the location information of the target terminal.
  • the status may refer to: real time, within a preset duration (within 5 minutes), or the most recent period of the cache.
  • the condition information may refer to real-time location information, location information within a preset time period, or location information of a most recent cycle.
  • the MCPTT server queries the rights information of the first terminal and/or the server queries the authorization information of the target terminal.
  • the permission information is used to indicate whether the first terminal has the right to acquire location information of the target terminal.
  • the authorization information is used to indicate whether the first terminal is allowed to acquire location information of the target terminal.
  • the MCPTT server can also query the system configuration information of the MCPTT.
  • the system configuration information includes whether the MCPTT server has enabled the function of acquiring location information.
  • rights information of the first terminal and the authorization information of the target terminal may be stored in the MCPTT server, or may be obtained by the MCPTT server from other servers.
  • the specific implementation manner is not limited in the present invention.
  • the rights information indicates that the first terminal has the rights
  • the authorization information indicates that the first terminal is allowed to acquire the location information of the target terminal
  • the MCPTT server starts the function of acquiring the location information. Then step 104 is performed.
  • step 104 is directly executed.
  • the MCPTT server determines whether the state of the location information of the cached target terminal meets the state of the location information indicated by the condition information. If yes, go to step 205; if not, go to step 206.
  • Step 205 The MCPTT server sends the location information of the cached target terminal to the first terminal.
  • the MCPTT server determines, according to the condition information, that the location information of the cached target terminal is location information within 5 minutes, the MCPTT server will cache the target terminal. Location information is sent to the first terminal.
  • the MCPTT server may send the location information of the cached target terminal to the first terminal, so that the first terminal obtains the historical location information of the target terminal, which facilitates tracking the target terminal, and reduces network overhead and saves Network resources.
  • the MCPTT server sends the first request to the target terminal according to the identifier, where the first request is used to obtain location information of the target terminal.
  • the identifier is the terminal identifier of the target terminal.
  • the MCPTT server needs to acquire the location information to the target terminal in real time.
  • Step 207 The target terminal receives the first request, and sends location information to the MCPTT server according to the first request.
  • Step 208 The MCPTT server sends the received location information of the target terminal to the first terminal.
  • the first terminal can obtain the location information of the target terminal in real time through the MCPTT server, and the obtained location information is accurate, and is adapted to the actual work scheduling requirements.
  • the first terminal may actively obtain the location information of the target terminal, and the target terminal may be at least one terminal.
  • the flexibility of acquiring location information in a trunked communication system is greatly enhanced.
  • work scheduling is performed on each terminal according to actual work needs.
  • the first terminal can obtain the historical location information of the target terminal, and can obtain the real-time location information of the target terminal, and adapt to the actual work scheduling requirements.
  • the communication system includes the server, the plurality of terminals, and the group management server described in the foregoing embodiments.
  • group management server the server may be an MCservice server, and the MCservice server may specifically be an MCPTT server.
  • the group management server can be used to manage the identity of the communication group, so the group management server can also be referred to as an "identity management server.”
  • Step 301 is the same as step 201 in the embodiment corresponding to FIG. 2, and details are not described herein.
  • Step 302 The first terminal sends a location information request to the MCPTT server, where the location information request includes an identifier, where the identifier is an identifier of the communication group.
  • the target terminal includes all terminals in the communication group.
  • the location information request carries the identifier of the communication group, and the identifier of the communication group may be a serial number or an index.
  • Step 303 The MCPTT server sends the identifier of the communication group to the group management server.
  • the MCPTT server determines that the location request information includes the identifier of the communication group, it indicates that the first terminal needs to acquire location information of all the terminals in the communication group. For example, in practical applications, the commander needs to obtain the location information of all the members to make reasonable scheduling.
  • Step 304 The group management server receives the identifier of the communication group, and generates the determination information according to the identifier of the communication group.
  • the group management server stores a correspondence mapping table between the identifier of the communication group and the target terminal, and the group management server generates the determination information according to the identifier of the communication group and the mapping table, and the determination information is used to indicate the target terminal.
  • the identity of the communication group has a mapping relationship with the target terminal.
  • the identifier of the communication group is “1”
  • the target terminal corresponding to the identifier “1” includes “fifth terminal”, “sixth terminal”, “seventh terminal” and the like.
  • Step 305 The group management server sends the determination information to the MCPTT server.
  • Step 306 The MCPTT server receives the determination information, and determines the target terminal according to the determination information.
  • the determination information may include a terminal identification of each terminal in the communication group.
  • the terminal identifier is a fifth identifier, a sixth identifier, and the like.
  • Steps 307 to 312 are the same as steps 203 to 208 in the embodiment corresponding to FIG. 2, and details are not described herein.
  • any one of the plurality of terminals may obtain the location information of all the terminals in the communication group without acquiring the right to the right, and the location information may be
  • the historical location information cached by the MCPTT server may also be the location information obtained in real time. In the actual application scenario, the flexibility of the group communication system is improved, and the actual work scheduling requirements are met.
  • an embodiment of the present invention provides an embodiment of a server 400.
  • the server is applied to a cluster communication system, where the cluster communication system includes the server and multiple terminals, and the server includes:
  • the receiving module is configured to receive a location information request sent by the first terminal, where the location information request includes an identifier, where the identifier has a mapping relationship with the target terminal, and the location information request is used to acquire location information of the target terminal.
  • a sending module configured to send the acquired location information of the target terminal to the first terminal according to the location information received by the receiving module.
  • the server further includes:
  • An acquiring module configured to acquire location information of the multiple terminals
  • a cache module configured to cache a location of the multiple terminals acquired by the acquiring module, where the location information of the multiple terminals includes location information of the target terminal.
  • the sending module is further configured to send a first request to the target terminal according to the identifier
  • the receiving module is further configured to receive location information sent by the target terminal; the location information of the target terminal is sent by the target terminal to the server according to the first request;
  • the sending module is further configured to send the received location information of the target terminal to the first terminal.
  • the server 500 further includes the server further including a determining module.
  • the location information request further includes condition information, where the condition information is used to indicate a state of the location information of the second terminal;
  • the determining module is configured to determine whether the state of the location information of the cached target terminal meets the state of the location information indicated by the condition information.
  • the sending module is further configured to: when the determining module determines that the location information of the target terminal is cached, send the location information of the target terminal to the first terminal.
  • the sending module is further configured to: when the determining module determines that the method is not satisfied, send the first request to the target terminal according to the location information request.
  • the receiving module is further configured to receive location information of the target terminal, where the target terminal is located
  • the set information is sent by the target terminal to the server according to the first request.
  • the sending module is further configured to send location information of the target terminal to the first terminal.
  • the cluster communication system further includes a group management server, where the identifier is an identifier of the communication group, and the sending module is configured to send the identifier of the communication group to the group management server;
  • the receiving module is further configured to receive the target terminal that is sent by the group management server, where the target terminal includes all terminals in the communication group, and the identifier of the communication group has a mapping relationship with the target terminal.
  • the target terminal is determined by the group management server according to the identifier of the communication group and the mapping relationship.
  • the server 600 further includes a first query module and a second query module.
  • the first query module is configured to query the rights information of the first terminal, where the rights information is used to indicate whether the first terminal has the right to obtain the location information of the target terminal;
  • the sending module is further configured to: when the authorization information indicates that the first terminal has the right, send the acquired location information of the target terminal to the first terminal according to the location information request.
  • the second query module is configured to query the authorization information of the target terminal, where the authorization information is used to indicate whether the first terminal is allowed to acquire location information of the target terminal.
  • the sending module is further configured to, when the authorization information indicates that the first terminal is allowed to acquire the location information of the target terminal, request, according to the location information, the acquired location information of the target terminal to the first A terminal sends.
  • FIGS. 4 to 6 are presented in the form of functional modules.
  • a “module” herein may refer to an application-specific integrated circuit (ASIC), circuitry, a processor and memory that executes one or more software or firmware programs, integrated logic circuitry, and/or other functions that provide the functionality described above.
  • ASIC application-specific integrated circuit
  • the registration server of Figures 4-6 can take the form shown in Figure 7.
  • Each module can be implemented by the processor, transceiver and memory of FIG.
  • FIG. 7 is a schematic structural diagram of a server according to an embodiment of the present invention.
  • the server 700 may generate a large difference due to different configurations or performances, and may include one or more processors 722 and a memory 732, and one or more storage applications.
  • Program 742 or storage medium 730 of data 744 (eg, one or one storage device in Shanghai).
  • the memory 732 and the storage medium 730 may be Short-term storage or persistent storage.
  • the program stored on storage medium 730 may include one or more modules (not shown), each of which may include a series of instruction operations in the server.
  • the processor 722 can be configured to communicate with the storage medium 730, executing a series of instruction operations in the storage medium 730 on the server 700.
  • Server 700 may also include one or more power sources 726, one or more wired or wireless network interfaces 750, one or more input and output interfaces 758, and/or one or more operating systems 741, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM and more.
  • operating systems 741 such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM and more.
  • the steps performed by the server in the above embodiment may be based on the server structure shown in FIG.
  • the instructions When the processor executes the instructions in memory, the instructions cause the server to perform the method actually performed by the server in the embodiment corresponding to Figures 2 and 3.
  • the disclosed system, apparatus, and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • 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 is implemented in the form of a software functional unit and sold as a standalone product Or when used, it can be stored in a computer readable storage medium.
  • the technical solution of the present invention which is essential or contributes 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 methods described in 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)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明实施例公开了一种获取位置信息的方法、相关设备及集群通信系统,方法应用于集群通信系统,集群通信系统包括服务器和多个终端,方法包括:服务器接收第一终端发送的位置信息请求,位置信息请求包括标识,标识与目标终端具有映射关系,位置信息请求用于获取目标终端的位置信息;服务器根据位置信息请求将获取的目标终端的位置信息向第一终端发送。本发明实施例还提供了一种服务器,及集群通信系统。本发明实施例中,多个终端中的任一一个终端在不需要获取话权的情况下,可以主动获取目标终端的位置信息。

Description

一种获取位置信息的方法、相关设备及集群通信系统
本申请要求于2016年7月15日提交中国专利局、申请号为201610567069.1、发明名称为“一种获取位置信息的方法、相关设备及集群通信系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及集群通信领域,尤其涉及一种获取位置信息的方法、相关设备及集群通信系统。
背景技术
集群通信系统是一种用于集团调度指挥通信的移动通信系统。例如,关键任务一键通(Mission Critical Push To Talk,缩写:MCPTT)集群通信系统。集群通信的特点为采用一按即通(Push To Talk,缩写PTT)方式接续,被叫无需摘机即可接听,且接续速度较快。此外,集群通信系统包括其他的功能。例如,获取位置信息的功能。
通常的方法中,MCPTT集群通信系统中包括MCPTT服务器和多个终端。MCPTT服务器获取正在通话的终端(例如,第一终端),MCPTT服务器可以获取第一终端的位置信息,并将第一终端的位置信息以广播的形式发送给多个终端中除了第一终端之外的其他终端。该多个终端中的某一个终端(第二终端)不能获取特定的终端(第三终端)的位置信息。例如,在实际应用中,在一个集群通信小组中,小组队长不能获取某一个或某几个特定小组成员的位置信息,极大的影响小组队长对于整个小组队员的调度。
该集群通信系统中的获取位置信息的功能灵活度差,不能满足实际应用的需求。
发明内容
本发明实施例提供了一种获取位置信息的方法、相关设备及集群通信系统。用于在集群通信系统中多个终端中的任一一个终端在不需要获取话权的情况下,可以主动获取目标终端的位置信息。
第一方面,本发明实施例提供了一种获取位置信息的方法,所述方法应用 于集群通信系统,所述集群通信系统包括服务器和多个终端,所述方法包括:
所述服务器接收第一终端发送的位置信息请求,所述位置信息请求包括标识,所述标识与目标终端具有映射关系,所述位置信息请求用于获取所述目标终端的位置信息;
所述服务器根据所述位置信息请求将获取的所述目标终端的位置信息向所述第一终端发送。
在一种可能的实现方式中,所述服务器接收第一终端发送的位置信息请求之前,所述方法还包括:
所述服务器获取所述多个终端的位置信息并将所述多个终端的位置进行缓存,所述多个终端的位置信息包括所述目标终端的位置信息。
在一种可能的实现方式中,所述服务器根据所述位置信息请求将获取的所述目标终端的位置信息向所述第一终端发送,包括:
所述服务器根据所述标识向所述目标终端发送第一请求,所述第一请求用于获取所述目标终端的位置信息;
所述服务器接收所述目标终端的位置信息,所述目标终端的位置信息由所述目标终端根据所述第一请求向所述服务器发送;
所述服务器将接收的所述目标终端的位置信息向所述第一终端发送。
在一种可能的实现方式中,所述位置信息请求还包括条件信息,所述条件信息用于指示所述目标终端的位置信息的状态;
所述服务器接收所述第一终端发送的位置信息请求之后,所述方法还包括:
所述服务器判断缓存的所述目标终端的位置信息的状态是否满足所述条件信息所指示的位置信息的状态;
若满足,则所述服务器根据所述位置信息请求将获取的所述目标终端的位置信息向所述第一终端发送,包括:
所述服务器将缓存的所述目标终端的位置信息向所述第一终端发送;
若不满足,则所述服务器根据所述位置信息请求将获取的所述目标终端的位置信息向所述第一终端发送,包括:
所述服务器根据所述标识向所述目标终端发送所述第一请求;
所述服务器接收所述目标终端的位置信息,所述目标终端的位置信息由所 述目标终端根据所述第一请求向所述服务器发送;
所述服务器将接收的所述目标终端的位置信息向所述第一终端发送。
在一种可能的实现方式中,所述集群通信系统还包括组管理服务器,多个所述终端组成通信组,所述标识为所述通信组的标识,所述服务器接收第一终端发送的位置信息请求之后,所述服务器根据所述位置信息请求将获取的所述目标终端的位置信息向所述第一终端发送之前,所述方法还包括:
所述服务器向所述组管理服务器发送所述通信组的标识,所述通信组的标识与所述目标终端具有映射关系;
所述服务器接收所述组管理服务器发送的确定信息,所述确定信息用于指示所述目标终端,所述目标终端包括所述通信组中的所有终端,所述确定信息由所述组管理服务器根据所述通信组的标识和所述映射关系生成。
在一种可能的实现方式中,所述服务器根据所述位置信息请求将获取的所述目标终端的位置信息向所述第一终端发送之前,所述方法还包括:
所述服务器查询所述第一终端的权限信息,所述权限信息用于指示所述第一终端是否具有获取所述目标终端的位置信息的权限;
若所述权限信息指示所述第一终端具有所述权限,则所述服务器根据所述位置信息请求将获取的所述目标终端的位置信息向所述第一终端发送。
在一种可能的实现方式中,所述服务器根据所述位置信息请求将获取的所述目标终端的位置信息向所述第一终端发送之前,所述方法还包括:
所述服务器查询所述目标终端的授权信息,所述授权信息用于指示是否允许所述第一终端获取所述目标终端的位置信息;
若所述授权信息指示允许所述第一终端获取所述目标终端的位置信息,则所述服务器根据所述位置信息请求将获取的所述目标终端的位置信息向所述第一终端发送。
第二方面,本发明实施例提供了一种服务器,所述服务器应用于集群通信系统,所述集群通信系统包括所述服务器和多个终端,所述服务器包括:
接收模块,用于接收第一终端发送的位置信息请求,该位置信息请求包括标识,所述标识与所述目标终端具有映射关系,所述位置信息请求用于获取所述目标终端的位置信息;
发送模块,用于根据所述接收模块接收的位置信息请求将获取的所述目标 终端的位置信息向所述第一终端发送。
在一种可能的实现方式中,所述服务器还包括:
获取模块,用于获取所述多个终端的位置信息;
缓存模块,用于将所述获取模块获取的所述多个终端的位置进行缓存,所述多个终端的位置信息包括目标终端的位置信息。
在一种可能的实现方式中,所述发送模块,还用于根据所述标识向所述目标终端发送第一请求;
所述接收模块,还用于接收所述目标终端发送的位置信息,所述目标终端的位置信息由所述目标终端根据所述第一请求向所述服务器发送;
所述发送模块,还用于将接收的所述目标终端的位置信息向所述第一终端发送。
在一种可能的实现方式中,所述位置信息请求还包括条件信息,所述条件信息用于指示所述目标终端的位置信息的状态;
所述服务器还包括判断模块;
所述判断模块,用于判断缓存的所述目标终端的位置信息的状态是否满足所述条件信息所指示的位置信息的状态;
所述发送模块,还用于当所述判断模块确定满足时,将缓存的所述目标终端的位置信息向所述第一终端发送;
所述发送模块,还用于当所述判断模块确定不满足时,根据所述位置信息请求向所述目标终端发送所述第一请求;
所述接收模块,还用于接收所述目标终端的位置信息,所述目标终端的位置信息由所述目标终端根据所述第一请求向所述服务器发送;
所述发送模块,还用于将所述接收模块接收的所述目标终端的位置信息向所述第一终端发送。
在一种可能的实现方式中,所述集群通信系统还包括组管理服务器,所述标识为通信组的标识;
所述发送模块,用于向所述组管理服务器发送所述通信组的标识,所述通信组的标识与所述目标终端具有映射关系;
所述接收模块,还用于接收所述组管理服务器发送的所述确定信息,所述确定信息用于指示所述目标终端,所述目标终端包括所述通信组中的所有终 端,所述确定信息由所述组管理服务器根据所述通信组的标识和所述映射关系生成。
在一种可能的实现方式中,所述服务器还包括第一查询模块;
所述第一查询模块,用于查询所述第一终端的权限信息,所述权限信息用于指示所述第一终端是否具有获取所述目标终端的位置信息的权限;
所述发送模块,还用于当所述授权信息指示所述第一终端具有所述权限时,根据所述位置信息请求将获取的所述目标终端的位置信息向所述第一终端发送。
在一种可能的实现方式中,所述服务器还包括第二查询模块;
所述第二查询模块,用于查询所述目标终端的授权信息,所述授权信息用于指示是否允许所述第一终端获取所述目标终端的位置信息;
所述发送模块,还用于当所述授权信息指示允许所述第一终端获取所述目标终端的位置信息时,根据所述位置信息请求将获取的所述目标终端的位置信息向所述第一终端发送。
第三方面,本发明实施例提供了一种服务器,该服务器应用于集群通信系统,所述服务器包括:
存储器,用于存储计算机可执行程序代码;
收发器,以及
处理器,与所述存储器和所述收发器耦合;
其中所述程序代码包括指令,当所述处理器执行所述指令时,所述指令使所述服务器执行上述第一方面服务器所执行的方法。
第四方面,本发明实施例提供了一种集群通信系统,包括多个终端和如权利要求上述第二方面和第三方面的服务器。
第一终端向所述服务器发送位置信息请求,该位置信息请求包括标识,所述标识与所述目标终端具有映射关系,所述位置信息请求用于获取所述目标终端的位置信息;
所述服务器根据所述位置信息请求将获取的所述目标终端的位置信息向所述第一终端发送。
在一种可能的实现方式中,还包括组管理服务器,所述标识为通信组的标识;
所述服务器将所述通信组的标识向所述组管理服务器发送;
所述组管理服务器根据所述通信组的标识和所述映射关系确定所述目标终端,所述目标终端包括所述通信组中的所有终端,所述通信组的标识与所述目标终端具有映射关系;
所述服务器接收所述组管理服务器发送的所述目标终端。
本发明实施例还提供了一种计算机可读存储介质,存储有程序指令,处理器执行所存储的程序指令时执行上述任一方法中的一种。
从以上技术方案可以看出,本发明实施例具有以下优点:
本发明实施例中,该集群通信系统中,第一终端(该通信系统中多个终端中的任一一个终端),可以主动获取目标终端的位置信息,该目标终端可以为特定的一个终端,也可以包括多个终端,本发明实施例极大的提高了在集群通信系统中,获取位置信息这项功能的灵活性。在实际工作中,根据实际工作需要通过目标终端的位置信息对目标终端进行调度。第一终端即可以获取目标终端的历史位置信息,又可以获取目标终端的实时位置信息,更加适应实际工作调度需求。
附图说明
图1为本发明实施例中的集群通信系统的架构示意图;
图2为本发明实施例中的一种获取位置信息的方法的一个实施例的示意图;
图3为本发明实施例中的一种获取位置信息的方法的另一个实施例的示意图;
图4为本发明实施例中的服务器的一个实施例的结构示意图;
图5为本发明实施例中的服务器的另一个实施例的结构示意图;
图6为本发明实施例中的服务器的另一个实施例的结构示意图;
图7为本发明实施例中的服务器的另一个实施例的结构示意图。
具体实施方式
本发明实施例提供了一种获取位置信息的方法及相关设备,用于在集群通信系统中,任一一个终端可以主动获取目标终端的位置信息,提高了系统灵活 性。
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。
本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的实施例能够以除了在这里图示或描述的内容以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。
本发明实施例提供一种获取位置信息的方法,所述方法应用于集群通信系统,该集群通信系统可以为MC集群通信系统,该MC集群通信系统可以是MCPTT集群通信系统,其中,PTT是指MCPPT集群通信系统的PTT服务形式。本发明实施例中以MCPTT集群通信系统为例进行说明。请参阅图1所示,图1为该集群通信系统100的示意图。所述集群通信系统100包括服务器110和多个终端120,所述服务器可以为MC服务服务器(service server),例如该MCservice server具体可以为MCPTT服务器(MCPTT server),图1中以MCservice server具体可以为MCPTT服务器进行示例说明。所述多个终端120通过网络与所述MCPTT服务器进行通信。多个终端120包括第一终端和目标终端,若第一终端需要获取目标终端的位置信息,则第一终端向MCPTT服务器110发送位置信息请求,该位置信息请求用于获取目标终端的位置信息。该位置信息请求包括标识,该标识与目标终端具有映射关系。
服务器根据所述位置信息请求将获取的所述目标终端的位置信息向所述第一终端发送。需要说明的是,该服务器在逻辑上可以是一个或者多个服务器的功能组合,例如,该服务器具体可以为MCservice server,该服务器对第一终端的位置信息请求的处理以及对目标终端的位置信息的获取可以由 MCservice server来完成,可以由服务器中独立于MCservice server的一位置管理模块来完成。不限定的是,该位置管理模块可以接收第一终端的位置信息请求,获取目标终端的位置信息,将目标终端的位置信息发送给第一终端,该位置管理模块可以是MCservice server内实现的一个组成模块,也可以是独立于MCservice server并可以与MCservice server进行交互的独立网元。在本发明的一些实施例中,该服务器可以是逻辑上的多个服务器的功能组合,例如服务器可以包括MCservice server和位置管理服务器(location management server),位置管理服务器可用于对第一终端的位置信息请求的处理以及对目标终端的位置信息的获取。对于服务器的具体实现方式取决于应用场景,此处不做限定。
下面对本发明提供的一种获取位置信息的方法进行具体描述,请参阅图2所示,接下来以MCservice server具体为MCPTT服务器进行示例说明,本发明提供的一种获取位置信息的方法的一个实施例包括:
步骤201、MCPTT服务器获取多个终端的位置信息,并将该多个终端的位置信息进行缓存。
MCPTT服务器可以周期性的获取多个终端的位置信息,例如,该周期可以为1min,3min,5min等,此处对于周期只是举例说明,而并非限定说明。在实际应用中,可以根据实际应用的场景进行设定。MCPTT服务器获取多个终端的位置信息的具体方式,可以是多个终端周期性上报给所述MCPTT服务器,也可以是MCPTT服务器周期性的向所述多个终端发送请求,多个终端根据该请求反馈给MCPTT服务器,具体的实现方式本发明不限定。
该MCPTT服务器将获取的多个终端的位置信息进行缓存。例如,该MCPTT服务器可以缓存预置数量周期内的位置信息。例如,该MCPTT服务器可以缓存5个周期内的多个终端的位置信息。例如,第一终端(用户A的终端)该可以获取缓存的目标终端的位置信息,第一终端可以得知目标终端的历史位置信息,从而可以对目标终端的历史位置进行追踪。
步骤202、第一终端向MCPTT服务器发送位置信息请求,该位置信息请求包括标识,该标识与目标终端具有映射关系。
在该位置信息请求的预留字段或添加字段添加所述标识。若第一终端需要获取目标终端的位置信息,则第一终端向MCPTT服务器发送位置信息请求,该 标识为目标终端的终端标识。该目标终端可以为一个特定的终端,也可以为两个终端,也可以为多个终端,具体目标终端的具体数量,本发明不限定。当目标终端为多个终端时,该标识包括多个与该终端对应的终端标识。例如,如下表1所示:
表1
终端 终端标识
第二终端 第二标识
第三终端 第三标识
第四终端 第四标识
可以理解的是,多个终端可以组成一个通信组,第一终端为多个终端中的任一一个终端,该第一终端存储有目标终端的标识。例如。用户A的工作与用户B的工作具有接续关系,也就是说用户A需要在用户B的工作地点继续进行工作,那么,用户A的第一终端需要获取用户B的目标终端的位置信息。
可选的,该位置信息请求还可以包括条件信息,该条件信息用于指示目标终端的位置信息的状态。例如,该状态可以指:实时,预置时长内(5min内),或缓存的最近一个周期。该条件信息可以指实时的位置信息,预置时间内的位置信息或者最近一个周期的位置信息。
可选的,步骤203、MCPTT服务器查询所述第一终端的权限信息和/或所述服务器查询所述目标终端的授权信息。
该权限信息用于指示所述第一终端是否具有获取所述目标终端的位置信息的权限。该授权信息用于指示是否允许所述第一终端获取所述目标终端的位置信息。可选的,MCPTT服务器还可以查询MCPTT的系统配置信息。例如,该系统配置信息中包括了该MCPTT服务器是否开启了获取位置信息的功能。
需要说明的是,第一终端的权限信息和目标终端的授权信息可以存储在所述MCPTT服务器中,也可以是由MCPTT服务器从其他的服务器中获取,具体的实现方式,本发明不限定。
例如,若所述权限信息指示所述第一终端具有所述权限,授权信息指示允许所述第一终端获取所述目标终端的位置信息,且MCPTT服务器开启了获取位置信息的功能。则执行步骤104。
需要说明的是,该步骤为可选步骤,也可以不执行,而直接执行步骤104。
可选的,步骤204、MCPTT服务器判断缓存的所述目标终端的位置信息的状态是否满足该条件信息所指示的位置信息的状态。若满足,执行步骤205;若不满足,执行步骤206。
步骤205、MCPTT服务器将缓存的目标终端的位置信息向所述第一终端发送。
例如,若该位置信息请求中的条件信息指示5min内的位置信息,MCPTT服务器中根据该条件信息确定缓存的目标终端的位置信息为5min之内的位置信息,则MCPTT服务器将缓存的目标终端的位置信息向所述第一终端发送。
本发明实施例中,MCPTT服务器可以将缓存的目标终端的位置信息发送给第一终端,可以使第一终端获取目标终端的历史位置信息,利于对目标终端进行追踪;且减少了网络开销,节省了网络资源。
可选的,步骤206、MCPTT服务器根据所述标识向所述目标终端发送所述第一请求,该第一请求用于获取目标终端的位置信息。
例如,该标识为目标终端的终端标识。当位置信息请求中的条件信息指示实时的位置信息时,MCPTT服务器就需要实时向目标终端获取位置信息。
步骤207、目标终端接收该第一请求,并根据该第一请求向MCPTT服务器发送位置信息。
步骤208、MCPTT服务器将接收的所述目标终端的位置信息向所述第一终端发送。
第一终端通过MCPTT服务器可以实时获取目标终端的位置信息,获取的位置信息准确,适应实际工作调度需求。
本发明实施例中,该集群通信系统中,第一终端在不需要获取话权的情况下,也可以主动获取目标终端的位置信息,该目标终端可以为至少一个终端。极大的提高了在集群通信系统中,获取位置信息这项功能的灵活性。在实际工作中,根据实际工作需要对各终端进行工作调度。第一终端即可以获取目标终端的历史位置信息,又可以获取目标终端的实时位置信息,适应实际工作调度需求。
请参阅图3所示。在上述实施例的基础上,本发明实施例还提供了一种获取位置信息的方法的另一个实施例包括:
该通信系统包括前述实施例中描述的服务器、多个终端和组管理服务器 (group management server),该服务器可以是MCservice server,该MCservice server具体可以为MCPTT服务器。不限定的是,组管理服务器可用于管理通信组的标识,因此该组管理服务器也可以称为“标识管理服务器”。
步骤301与图2对应的实施例中的步骤201相同,此处不赘述。
步骤302、第一终端向MCPTT服务器发送位置信息请求,该位置信息请求包括标识,该标识为通信组的标识。
若第一终端需要获取通信组中所有终端的位置信息,所述目标终端包括所述通信组中的所有终端。则位置信息请求中携带该通信组的标识,通信组的标识可以为序列号,或者索引。
步骤303、MCPTT服务器将通信组的标识向所述组管理服务器发送。
可以理解的是,当MCPTT服务器确定该位置请求信息中包括了通信组的标识,则表明第一终端需要获取该通信组中的全部终端的位置信息。例如,在实际应用中,指挥员需要获取全部组员的位置信息,以进行合理的调度。
步骤304、组管理服务器接收该通信组的标识,并根据通信组的标识生成确定信息。
该组管理服务器内存储有通信组的标识与目标终端的对应映射表,组管理服务器根据通信组的标识和映射表生成确定信息,该确定信息用于指示目标终端。
该通信组的标识与目标终端具有映射关系。例如,该通信组的标识为“1”,该标识“1”对应的目标终端包括“第五终端”,“第六终端”和“第七终端”等。
步骤305、组管理服务器向MCPTT服务器发送该确定信息。
步骤306、MCPTT服务器接收确定信息,并根据该确定信息确定出目标终端。
例如,该确定信息可以包括通信组中每一个终端的终端标识。例如,该终端标识为第五标识,第六标识等。
步骤307至步骤312与图2对应的实施例中的步骤203至步骤208相同,此处不赘述。
本发明实施例中,多个终端中的任一一个终端(第一终端)可以在不获取话权的情况下,获取通信组中所有终端的位置信息,该位置信息即可以是 MCPTT服务器缓存的历史位置信息,也可以是实时获取的位置信息,在实际应用场景中,提高了群通信系统的灵活性,适应实际工作调度需求。
请参阅图4所示,本发明实施例提供了一种服务器400的一个实施例包括:服务器应用于集群通信系统,所述集群通信系统包括所述服务器和多个终端,所述服务器包括:
接收模块,用于接收第一终端发送的位置信息请求,该位置信息请求包括标识,所述标识与所述目标终端具有映射关系,所述位置信息请求用于获取所述目标终端的位置信息。
发送模块,用于根据所述接收模块接收的位置信息请求将获取的所述目标终端的位置信息向所述第一终端发送。
可选的,所述服务器还包括:
获取模块,用于获取所述多个终端的位置信息;
缓存模块,用于将所述获取模块获取的所述多个终端的位置进行缓存,所述多个终端的位置信息包括目标终端的位置信息。
所述发送模块,还用于根据所述标识向所述目标终端发送第一请求;
所述接收模块,还用于接收所述目标终端发送的位置信息;所述目标终端的位置信息由所述目标终端根据所述第一请求向所述服务器发送;
所述发送模块,还用于将接收的所述目标终端的位置信息向所述第一终端发送。
请参阅图5所示,在上述图4对应的实施例的基础上,所述服务器500还包括所述服务器还包括判断模块。
可选的,所述位置信息请求还包括条件信息,所述条件信息用于指示所述第二终端的位置信息的状态;
所述判断模块,用于判断缓存的所述目标终端的位置信息的状态是否满足所述条件信息所指示的位置信息的状态。
所述发送模块,还用于当所述判断模块确定满足时,将缓存的所述目标终端的位置信息向所述第一终端发送。
所述发送模块,还用于当所述判断模块确定不满足时,根据所述位置信息请求向所述目标终端发送所述第一请求。
所述接收模块,还用于接收所述目标终端的位置信息,所述目标终端的位 置信息由所述目标终端根据所述第一请求向所述服务器发送。
所述发送模块,还用于将所述目标终端的位置信息向所述第一终端发送。
可选的,所述集群通信系统还包括组管理服务器,所述标识为通信组的标识,所述发送模块,用于将所述通信组的标识向所述组管理服务器发送;
所述接收模块,还用于接收所述组管理服务器发送的所述目标终端,所述目标终端包括所述通信组中的所有终端,所述通信组的标识与所述目标终端具有映射关系,所述目标终端由所述组管理服务器根据所述通信组的标识和所述映射关系确定。
请参阅图6所示,在上述图4对应的实施例的基础上,所述服务器600还包括第一查询模块和第二查询模块;
所述第一查询模块,用于查询所述第一终端的权限信息,所述权限信息用于指示所述第一终端是否具有获取所述目标终端的位置信息的权限;
所述发送模块,还用于当所述授权信息指示所述第一终端具有所述权限时,根据所述位置信息请求将获取的所述目标终端的位置信息向所述第一终端发送。
所述第二查询模块,用于查询所述目标终端的授权信息,所述授权信息用于指示是否允许所述第一终端获取所述目标终端的位置信息;
所述发送模块,还用于当所述授权信息指示允许所述第一终端获取所述目标终端的位置信息时,根据所述位置信息请求将获取的所述目标终端的位置信息向所述第一终端发送。
进一步的,图4至图6中的服务器是以功能模块的形式来呈现。这里的“模块”可以指特定应用集成电路(application-specific integrated circuit,ASIC),电路,执行一个或多个软件或固件程序的处理器和存储器,集成逻辑电路,和/或其他可以提供上述功能的器件。在一个简单的实施例中,图4至图6中的注册服务器可以采用图7所示的形式。各模块可以通过图7的处理器、收发器和存储器来实现。
图7是本发明实施例提供的一种服务器结构示意图,该服务器700可因配置或性能不同而产生比较大的差异,可以包括一个或一个以上处理器722和存储器732,一个或一个以上存储应用程序742或数据744的存储介质730(例如一个或一个以上海量存储设备)。其中,存储器732和存储介质730可以是 短暂存储或持久存储。存储在存储介质730的程序可以包括一个或一个以上模块(图示没标出),每个模块可以包括对服务器中的一系列指令操作。更进一步地,处理器722可以设置为与存储介质730通信,在服务器700上执行存储介质730中的一系列指令操作。
服务器700还可以包括一个或一个以上电源726,一个或一个以上有线或无线网络接口750,一个或一个以上输入输出接口758,和/或,一个或一个以上操作系统741,例如Windows ServerTM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTM等等。
上述实施例中由服务器所执行的步骤可以基于该图7所示的服务器结构。
当所述处理器执行存储器中的所述指令时,所述指令使所述服务器执行图2和图3对应的实施例中的所述服务器实际执行的方法。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售 或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。

Claims (20)

  1. 一种获取位置信息的方法,其特征在于,所述方法应用于集群通信系统,所述集群通信系统包括服务器和多个终端,所述方法包括:
    所述服务器接收第一终端发送的位置信息请求,所述位置信息请求包括标识,所述标识与目标终端具有映射关系,所述位置信息请求用于获取所述目标终端的位置信息;
    所述服务器根据所述位置信息请求将获取的所述目标终端的位置信息向所述第一终端发送。
  2. 根据权利要求1所述的方法,其特征在于,所述服务器接收第一终端发送的位置信息请求之前,所述方法还包括:
    所述服务器获取所述多个终端的位置信息并将所述多个终端的位置进行缓存,所述多个终端的位置信息包括所述目标终端的位置信息。
  3. 根据权利要求1所述的方法,其特征在于,所述服务器根据所述位置信息请求将获取的所述目标终端的位置信息向所述第一终端发送,包括:
    所述服务器根据所述标识向所述目标终端发送第一请求,所述第一请求用于获取所述目标终端的位置信息;
    所述服务器接收所述目标终端的位置信息,所述目标终端的位置信息由所述目标终端根据所述第一请求向所述服务器发送;
    所述服务器将接收的所述目标终端的位置信息向所述第一终端发送。
  4. 根据权利要求2所述的方法,其特征在于,所述位置信息请求还包括条件信息,所述条件信息用于指示所述目标终端的位置信息的状态;
    所述服务器接收所述第一终端发送的位置信息请求之后,所述方法还包括:
    所述服务器判断缓存的所述目标终端的位置信息的状态是否满足所述条件信息所指示的位置信息的状态;
    若满足,则所述服务器根据所述位置信息请求将获取的所述目标终端的位置信息向所述第一终端发送,包括:
    所述服务器将缓存的所述目标终端的位置信息向所述第一终端发送;
    若不满足,则所述服务器根据所述位置信息请求将获取的所述目标终端的位置信息向所述第一终端发送,包括:
    所述服务器根据所述标识向所述目标终端发送所述第一请求;
    所述服务器接收所述目标终端的位置信息,所述目标终端的位置信息由所述目标终端根据所述第一请求向所述服务器发送;
    所述服务器将接收的所述目标终端的位置信息向所述第一终端发送。
  5. 根据权利要求1所述的方法,其特征在于,所述集群通信系统还包括组管理服务器,多个终端组成通信组,所述标识为所述通信组的标识,所述服务器接收第一终端发送的位置信息请求之后,所述服务器根据所述位置信息请求将获取的所述目标终端的位置信息向所述第一终端发送之前,所述方法还包括:
    所述服务器向所述组管理服务器发送所述通信组的标识,所述通信组的标识与所述目标终端具有映射关系;
    所述服务器接收所述组管理服务器发送的确定信息,所述确定信息用于指示所述目标终端,所述目标终端包括所述通信组中的所有终端,所述确定信息由所述组管理服务器根据所述通信组的标识和所述映射关系生成。
  6. 根据权利要求1至5任一项所述的方法,其特征在于,所述服务器根据所述位置信息请求将获取的所述目标终端的位置信息向所述第一终端发送之前,所述方法还包括:
    所述服务器查询所述第一终端的权限信息,所述权限信息用于指示所述第一终端是否具有获取所述目标终端的位置信息的权限;
    若所述权限信息指示所述第一终端具有所述权限,则所述服务器根据所述位置信息请求将获取的所述目标终端的位置信息向所述第一终端发送。
  7. 根据权利要求1至5任一项所述的方法,其特征在于,所述服务器根据所述位置信息请求将获取的所述目标终端的位置信息向所述第一终端发送之前,所述方法还包括:
    所述服务器查询所述目标终端的授权信息,所述授权信息用于指示是否允许所述第一终端获取所述目标终端的位置信息;
    若所述授权信息指示允许所述第一终端获取所述目标终端的位置信息,则所述服务器根据所述位置信息请求将获取的所述目标终端的位置信息向所述第一终端发送。
  8. 根据权利要求1至5任一项所述的方法,其特征在于,所述服务器具 体为位置管理服务器。
  9. 一种服务器,其特征在于,所述服务器包括:
    接收模块,用于接收第一终端发送的位置信息请求,该位置信息请求包括标识,所述标识与所述目标终端具有映射关系,所述位置信息请求用于获取所述目标终端的位置信息;
    发送模块,用于根据所述接收模块接收的位置信息请求将获取的所述目标终端的位置信息向所述第一终端发送。
  10. 根据权利要求9所述的服务器,其特征在于,所述服务器还包括:
    获取模块,用于获取所述多个终端的位置信息;
    缓存模块,用于将所述获取模块获取的所述多个终端的位置进行缓存,所述多个终端的位置信息包括目标终端的位置信息。
  11. 根据权利要求9所述的服务器,其特征在于,
    所述发送模块,还用于根据所述标识向所述目标终端发送第一请求;
    所述接收模块,还用于接收所述目标终端发送的位置信息,所述目标终端的位置信息由所述目标终端根据所述第一请求向所述服务器发送;
    所述发送模块,还用于将接收的所述目标终端的位置信息向所述第一终端发送。
  12. 根据权利要求10所述的服务器,其特征在于,所述位置信息请求还包括条件信息,所述条件信息用于指示所述目标终端的位置信息的状态;
    所述服务器还包括判断模块;
    所述判断模块,用于判断缓存的所述目标终端的位置信息的状态是否满足所述条件信息所指示的位置信息的状态;
    所述发送模块,还用于当所述判断模块确定满足时,将缓存的所述目标终端的位置信息向所述第一终端发送;
    所述发送模块,还用于当所述判断模块确定不满足时,根据所述位置信息请求向所述目标终端发送所述第一请求;
    所述接收模块,还用于接收所述目标终端的位置信息,所述目标终端的位置信息由所述目标终端根据所述第一请求向所述服务器发送;
    所述发送模块,还用于将所述接收模块接收的所述目标终端的位置信息向所述第一终端发送。
  13. 根据权利要求9所述的服务器,其特征在于,所述标识为通信组的标识;
    所述发送模块,用于向所述组管理服务器发送所述通信组的标识,所述通信组的标识与所述目标终端具有映射关系;
    所述接收模块,还用于接收所述组管理服务器发送的所述确定信息,所述确定信息用于指示所述目标终端,所述目标终端包括所述通信组中的所有终端,所述确定信息由所述组管理服务器根据所述通信组的标识和所述映射关系生成。
  14. 根据权利要求9至13任一项所述的服务器,其特征在于,所述服务器还包括第一查询模块;
    所述第一查询模块,用于查询所述第一终端的权限信息,所述权限信息用于指示所述第一终端是否具有获取所述目标终端的位置信息的权限;
    所述发送模块,还用于当所述授权信息指示所述第一终端具有所述权限时,根据所述位置信息请求将获取的所述目标终端的位置信息向所述第一终端发送。
  15. 根据权利要求14所述的服务器,其特征在于,所述服务器还包括第二查询模块;
    所述第二查询模块,用于查询所述目标终端的授权信息,所述授权信息用于指示是否允许所述第一终端获取所述目标终端的位置信息;
    所述发送模块,还用于当所述授权信息指示允许所述第一终端获取所述目标终端的位置信息时,根据所述位置信息请求将获取的所述目标终端的位置信息向所述第一终端发送。
  16. 根据权利要求9至13任一项所述的服务器,其特征在于,所述服务器所述服务器具体为位置管理服务器。
  17. 一种服务器,其特征在于,所述服务器包括:
    存储器,用于存储计算机可执行程序代码;
    收发器,以及
    处理器,与所述存储器和所述收发器耦合;
    其中所述程序代码包括指令,当所述处理器执行所述指令时,所述指令使所述服务器执行如权利要求1至8中任一项所述的方法。
  18. 一种计算机可读存储介质,存储有程序指令,其特征在于,处理器执行所存储的程序指令时执行根据权利要求1至8中任一项所述的方法。
  19. 一种集群通信系统,其特征在于,包括多个终端和如权利要求9至16任一项所述的服务器;
    第一终端向所述服务器发送位置信息请求,该位置信息请求包括标识,所述标识与所述目标终端具有映射关系,所述位置信息请求用于获取所述目标终端的位置信息;
    所述服务器根据所述位置信息请求将获取的所述目标终端的位置信息向所述第一终端发送。
  20. 根据权利要求19所述的集群通信系统,其特征在于,还包括组管理服务器,所述标识为通信组的标识;
    所述服务器将所述通信组的标识向所述组管理服务器发送;
    所述组管理服务器根据所述通信组的标识和所述映射关系确定所述目标终端,所述目标终端包括所述通信组中的所有终端,所述通信组的标识与所述目标终端具有映射关系;
    所述服务器接收所述组管理服务器发送的所述目标终端。
PCT/CN2017/092920 2016-07-15 2017-07-14 一种获取位置信息的方法、相关设备及集群通信系统 WO2018010691A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201780000756.8A CN108141707A (zh) 2016-07-15 2017-07-14 一种获取位置信息的方法、相关设备及集群通信系统

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610567069.1 2016-07-15
CN201610567069.1A CN106131788A (zh) 2016-07-15 2016-07-15 一种获取位置信息的方法、相关设备及集群通信系统

Publications (1)

Publication Number Publication Date
WO2018010691A1 true WO2018010691A1 (zh) 2018-01-18

Family

ID=57288986

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/092920 WO2018010691A1 (zh) 2016-07-15 2017-07-14 一种获取位置信息的方法、相关设备及集群通信系统

Country Status (2)

Country Link
CN (2) CN106131788A (zh)
WO (1) WO2018010691A1 (zh)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106131788A (zh) * 2016-07-15 2016-11-16 海能达通信股份有限公司 一种获取位置信息的方法、相关设备及集群通信系统
CN106686554B (zh) * 2017-01-10 2020-07-31 海能达通信股份有限公司 一种集群系统的通信方法、装置及基站
CN110048871B (zh) * 2018-01-16 2022-03-15 普天信息技术有限公司 Mcptt用户终端初始化配置方法及装置
CN110769401B (zh) * 2019-10-30 2021-06-01 云南宾飞科技有限公司 一种短距离高精度定位方法及定位系统
CN113254805A (zh) * 2020-02-12 2021-08-13 维沃移动通信有限公司 一种查询组位置的方法和网络设备
CN113536082B (zh) * 2020-04-14 2023-06-09 哈尔滨海能达科技有限公司 一种终端数量查询处理方法及装置
CN112511984B (zh) * 2020-12-01 2022-05-24 东方通信股份有限公司 一种实现pdt终端室内定位的方法
CN113973287B (zh) * 2021-10-18 2023-10-10 珠海格力电器股份有限公司 一种信息的获取、发送方法、装置、设备及存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101800928A (zh) * 2009-02-09 2010-08-11 中兴通讯股份有限公司 群组定位方法、装置及系统
CN101945344A (zh) * 2009-09-16 2011-01-12 中兴通讯股份有限公司 集群系统中定位实现方法、装置及系统
CN102215561A (zh) * 2010-04-02 2011-10-12 中兴通讯股份有限公司 终端到终端的定位方法及系统
CN102801781A (zh) * 2012-06-29 2012-11-28 宇龙计算机通信科技(深圳)有限公司 终端、定位服务器和定位方法
CN104469684A (zh) * 2014-12-15 2015-03-25 宇龙计算机通信科技(深圳)有限公司 终端位置信息处理方法及系统
CN106131788A (zh) * 2016-07-15 2016-11-16 海能达通信股份有限公司 一种获取位置信息的方法、相关设备及集群通信系统

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9774552B2 (en) * 2013-03-14 2017-09-26 Qualcomm Incorporated Methods, servers and systems for verifying reported locations of computing devices

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101800928A (zh) * 2009-02-09 2010-08-11 中兴通讯股份有限公司 群组定位方法、装置及系统
CN101945344A (zh) * 2009-09-16 2011-01-12 中兴通讯股份有限公司 集群系统中定位实现方法、装置及系统
CN102215561A (zh) * 2010-04-02 2011-10-12 中兴通讯股份有限公司 终端到终端的定位方法及系统
CN102801781A (zh) * 2012-06-29 2012-11-28 宇龙计算机通信科技(深圳)有限公司 终端、定位服务器和定位方法
CN104469684A (zh) * 2014-12-15 2015-03-25 宇龙计算机通信科技(深圳)有限公司 终端位置信息处理方法及系统
CN106131788A (zh) * 2016-07-15 2016-11-16 海能达通信股份有限公司 一种获取位置信息的方法、相关设备及集群通信系统

Also Published As

Publication number Publication date
CN106131788A (zh) 2016-11-16
CN108141707A (zh) 2018-06-08

Similar Documents

Publication Publication Date Title
WO2018010691A1 (zh) 一种获取位置信息的方法、相关设备及集群通信系统
US10798646B2 (en) Network slice determining method and system, and apparatus
WO2018171375A1 (zh) 一种网络切片选择方法、用户设备及网络设备
WO2017036243A1 (zh) 登录认证方法、认证服务器、认证客户端及登录客户端
US20170279902A1 (en) Method, apparatus and system for device discovery
US11089520B2 (en) Session migration method and device
CN113891430A (zh) 一种通信的方法、装置及系统
WO2017049797A1 (zh) 数据通信系统、方法及装置
WO2018161807A1 (zh) 用户身份校验方法及装置
TW201709698A (zh) 用於驗證源位址有效性的方法及裝置
WO2018219125A1 (zh) 一种WiFi网络接入方法、装置及系统
JP6342509B2 (ja) 未知の番号のマーキング方法及び装置
US20220014929A1 (en) Method and devices for hardware identifier-based subscription management
KR20170081233A (ko) 하드웨어 자원을 관리하는 방법, 하드웨어 자원의 위치를 질의하는 방법, 및 관련 장치
CN105472597B (zh) 应用的注册方法及装置
CN111090519B (zh) 任务执行方法、装置、存储介质及电子设备
EP3570573A3 (en) Method and device for facilitating restricted proximity discovery of an application user
WO2014075259A1 (zh) 国际移动设备标识信息imei的处理方法与网络设备
US10511503B2 (en) Server device and communication system
WO2019119962A1 (zh) 信息处理方法、系统、终端和计算机存储介质
WO2023020432A1 (zh) 算力请求、算力分配、算力执行方法、终端及网络侧设备
CN114338383B (zh) 一种视频设备简化配置方法及系统
WO2019001195A1 (zh) 一种通信网络系统移动性管理的方法及装置
WO2018153173A1 (zh) 一种终端标识的处理方法、装置及相关设备
US9854035B2 (en) Maintaining state synchronization of an application between computing devices as well as maintaining state synchronization of common information between different applications without requiring periodic synchronization

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

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

Country of ref document: EP

Kind code of ref document: A1