CN113207079A - Method and device for subscribing position information between cluster terminals - Google Patents
Method and device for subscribing position information between cluster terminals Download PDFInfo
- Publication number
- CN113207079A CN113207079A CN202010043384.0A CN202010043384A CN113207079A CN 113207079 A CN113207079 A CN 113207079A CN 202010043384 A CN202010043384 A CN 202010043384A CN 113207079 A CN113207079 A CN 113207079A
- Authority
- CN
- China
- Prior art keywords
- subscription
- information
- terminal
- cluster
- gis server
- Prior art date
- Legal status (The legal status 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 status listed.)
- Withdrawn
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/025—Services making use of location information using location based information parameters
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/29—Geographical information databases
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/52—Network services specially adapted for the location of the user terminal
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Remote Sensing (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Telephonic Communication Services (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the invention provides a method and a device for subscribing position information between cluster terminals, wherein the method comprises the following steps: sending position subscription request information aiming at a target terminal to a Geographic Information System (GIS) server; the GIS server is a GIS server to which the cluster terminal which sends the position subscription request information belongs; receiving the position information of the target terminal fed back by the GIS server; and the position information of the target terminal is determined by the GIS server according to the position subscription request information. The embodiment of the invention provides a method and a device for subscribing position information among cluster terminals, which enable the terminals to acquire the current position information of other terminals in an active subscription mode, realize mutual subscription of the position information among the cluster terminals and meet the requirements of more application scenes.
Description
Technical Field
The present invention relates to the field of broadband trunking communication technologies, and in particular, to a method and an apparatus for subscribing to location information between trunking terminals.
Background
The cluster positioning service function is reported to a dispatching desk (Dispatch Client, DC) by a mobile terminal (User Equipment, UE) for DC flat command, and a command center carries out on-site dispatching command tasks according to visual position information, so that the maneuvering capability of command and dispatching is improved, and greater convenience is brought to rapid and accurate handling of emergency events.
In a positioning service scheme of a cluster System in the prior art, a DC initiates a location subscription process for a certain UE or group to a Geographic Information System (GIS) server under a single core network architecture, the GIS server configures Information such as a positioning switch and parameters to the UE, the UE reports location Information according to the configured parameters, and the GIS server forwards the location Information to the DC. Under the cross-core network architecture, GIS servers finish GIS server positioning information forwarding through application layer interaction.
However, in the terminal location information subscription scheme in the prior art, the location information of the terminal can only be subscribed through the DC, and in practical application, the terminal also needs to acquire the location information of other terminals, which cannot be achieved in the prior art, and therefore, how to implement the subscription of the location information between the cluster terminals is a technical problem that needs to be solved urgently.
Disclosure of Invention
The embodiment of the invention provides a method and a device for subscribing position information between cluster terminals, which are used for solving the technical problems in the prior art.
In order to solve the foregoing technical problem, in one aspect, an embodiment of the present invention provides a method for subscribing to location information between cluster terminals, where the method includes:
sending position subscription request information aiming at a target terminal to a Geographic Information System (GIS) server; the GIS server is a GIS server to which the cluster terminal which sends the position subscription request information belongs;
receiving the position information of the target terminal fed back by the GIS server; and the position information of the target terminal is determined by the GIS server according to the position subscription request information.
Furthermore, the location subscription request information includes a subscription mode, and the subscription mode is used for representing a subscription mode for subscribing the location information desired by the user.
Further, the subscription mode is one of a real-time subscription, a unsubscribe, a timing subscription and a scope subscription.
Further, when the subscription mode is a timing subscription, the location subscription request information further includes a start-stop time of the subscription.
Further, when the subscription mode is a range subscription, the location subscription request information further includes a subscription range, and the target terminal is in the subscription range included in the location subscription request information.
In another aspect, an embodiment of the present invention provides a method for subscribing to location information between cluster terminals, where the method includes:
receiving position subscription request information aiming at a target terminal, which is sent by a cluster terminal;
determining the position information of the target terminal according to the position subscription request information;
and transmitting the position information of the target terminal to the cluster terminal.
In another aspect, an embodiment of the present invention provides a cluster terminal, including:
the request module is used for sending position subscription request information aiming at the target terminal to a Geographic Information System (GIS) server; the GIS server is a GIS server to which the cluster terminal which sends the position subscription request information belongs;
the receiving module is used for receiving the position information of the target terminal fed back by the GIS server; and the position information of the target terminal is determined by the GIS server according to the position subscription request information.
In another aspect, an embodiment of the present invention provides a geographic information system server, including:
the receiving module is used for receiving position subscription request information aiming at a target terminal, which is sent by the cluster terminal;
the position determining module is used for determining the position information of the target terminal according to the position subscription request information;
and the issuing module is used for issuing the position information of the target terminal to the cluster terminal.
In another aspect, an embodiment of the present invention provides an electronic device, including: a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the above method when executing the computer program.
In yet another aspect, the present invention provides a non-transitory computer readable storage medium, on which a computer program is stored, which when executed by a processor implements the steps of the above method.
The embodiment of the invention provides a method and a device for subscribing position information among cluster terminals, which enable the terminals to acquire the current position information of other terminals in an active subscription mode, realize mutual subscription of the position information among the cluster terminals and meet the requirements of more application scenes.
Drawings
Fig. 1 is a schematic diagram of a single core network broadband cluster system architecture in the prior art;
fig. 2 is a schematic diagram of a prior art cross-core broadband cluster system architecture;
fig. 3 is a schematic diagram illustrating a method for subscribing to location information between cluster terminals according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a real-time subscription process provided in an embodiment of the present invention;
fig. 5 is a schematic diagram of a unsubscribe process according to an embodiment of the present invention;
fig. 6 is a schematic timing subscription flow chart according to an embodiment of the present invention;
fig. 7 is a schematic diagram illustrating a method for subscribing to location information between clustered terminals according to another embodiment of the present invention;
fig. 8 is a schematic diagram of a cluster terminal according to an embodiment of the present invention;
FIG. 9 is a schematic diagram of a geographic information system server according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
With the rapid development of mobile communication networks, private network digital trunking communication systems provide more and more comprehensive services for users in the aspects of service types, terminal performance and the like. In the industries of rail transit, emergency command and rescue and the like, a user has more accurate and real-time scheduling requirements for a front-line worker in a private network cluster system, and meanwhile, in order to enhance the maneuvering flexibility of the front-line worker and enhance the sharing and communication of information, the user has new requirements for positioning services and services such as position information sharing between terminals. The cluster positioning service function is reported to the dispatching desk DC by the cluster terminal for the dispatching desk DC to carry out flat command, and the command center carries out on-site dispatching command tasks according to the visual position information, so that the maneuvering capability of command and dispatching is improved, and greater convenience is brought to rapid and accurate handling of emergency events.
The cluster communication positioning command system based on the TD-LTE comprises a terminal UE, a base station eNodeB, a cluster core network, a dispatching station DC, a geographic information system Server (GIS Server), and the like, and is divided into a single-core network and a cross-core network architecture, fig. 1 is a schematic diagram of a single-core network broadband cluster system architecture in the prior art, and fig. 2 is a schematic diagram of a cross-core network broadband cluster system architecture in the prior art.
The existing positioning service is an application layer service, as shown in fig. 1 and 2. And the terminal UE or the dispatching desk DC interacts with the GIS server through an application layer. The method comprises the steps that a dispatching desk DC initiates a position subscription process for a certain UE or a certain group to a GIS server, the GIS server configures information such as a positioning switch and parameters to the UE, the UE reports position information according to the configured parameters, and the GIS server forwards the position information to the dispatching desk DC. The method comprises the following specific steps:
reporting mode of cluster UE: the UE supports reporting of various position formats such as a GPS, a Beidou and a cell, and parameters such as a reporting switch, a period and a distance of each UE are flexibly configurable, so that position control of various accuracies of the terminal is supported.
And (3) subscribing by a dispatching desk: the dispatching desk can subscribe the position information of a plurality of terminals and groups, and the member information of the groups is interactively acquired by the GIS server and the cluster core network, so that the dispatching desk does not need to inquire or manually input the information of the group members.
The subscription mode is as follows: the method supports real-time subscription, timing subscription and historical track query, facilitates the dispatching desk to acquire the position information of the UE or the group at any time, and adapts to various positioning application scenes.
Positioning and scheduling are combined: the user can initiate voice or video calls to any group or UE presented on the map, improving the efficiency of the command.
Lost UE recovery: when the UE is lost, the dispatching console can stun or kill the lost terminal for information security, so that the terminal cannot perform any service, but the positioning service can still continue to operate, and is convenient for being retrieved in time.
And a GIS server: the method comprises the steps of supporting the login and exit management functions of UE and a DC, configuring positioning parameters, receiving positioning information reported by the UE and forwarding the positioning information to the DC, supporting the DC to subscribe or unsubscribe position information to the UE, supporting the code number analysis and group member query functions, acquiring a member list of a group by a GIS server through an internal interface of a cluster core network, distributing subscription information among the GIS servers, and forwarding terminal position information.
In the existing trunking system positioning service scheme, a scheduling station DC initiates a location subscription process for a certain UE or group to a GIS server under a single core network architecture, the GIS server configures information such as a positioning switch and parameters to the UE, the UE reports location information according to the configured parameters, and the GIS server forwards the location information to the scheduling station DC. Under the cross-core network architecture, GIS servers finish GIS server positioning information forwarding through application layer interaction. Therefore, the dispatching desk can know the real-time distribution of front-line workers through the positioning information reported by the terminal in real time.
However, the existing positioning service only reports the positioning information of each terminal and the group to the GIS server, only the dispatching desk DC of the dispatching command center can check the position of the terminal personnel at the first line, and the first-line staff cannot acquire the position information of other personnel, so that the cooperative efficiency among the group members is reduced, and the autonomy of the first-line staff is limited.
In addition, the terminal cannot acquire the position information of other terminals, and the requirement that the vehicle-mounted terminal acquires the positions of the front and rear adjacent trains in real time in the rail transit cannot be met.
Moreover, since the terminal is generally moved unlike the DC, the DC is substantially fixed, and thus the DC is not subject to accidents caused by being too close to other terminals. When the terminal is used in a vehicle-mounted scene, a ship-mounted scene and the like, information of nearby vehicles or ships cannot be sensed in places with poor sight lines or in high-speed driving, and accidents are easily caused due to the fact that a dispatching desk is lost or messages are issued late.
In order to solve the above technical problem, an embodiment of the present invention provides a method for subscribing location information between clustered terminals, where a terminal initiates a location information subscription request to a GIS server to which the terminal belongs, and the terminal can subscribe location information of one or more terminals or one group at a time, so that the terminals can obtain current locations of other terminals in real time without the participation of a dispatching desk DC, and thus flexibility and accuracy of field decision are improved.
The mechanism can provide real-time position information of front and back adjacent trains between vehicle-mounted terminals in rail transit, provides visual train position and running information for train drivers, and provides guarantee for safe running of the trains.
In some places with poor sight lines or in high-speed driving, the terminal user can use the method to subscribe the range, and obtain other terminal positions in the range according to the set range value, so that some accidents are avoided.
Fig. 3 is a schematic diagram of a method for subscribing to location information between cluster terminals according to an embodiment of the present invention, and as shown in fig. 3, an embodiment of the present invention provides a method for subscribing to location information between cluster terminals, where an execution subject is a cluster terminal. The method comprises the following steps:
step S301, sending position subscription request information aiming at a target terminal to a Geographic Information System (GIS) server; and the GIS server is a GIS server to which the cluster terminal which sends the position subscription request information belongs.
Specifically, when a user needs to acquire location information of another terminal, location subscription request information for a target terminal (subscribed UE) is sent to a GIS server through a trunking terminal (main subscription UE), where the trunking terminal (main subscription UE) that sent the location subscription request information belongs to.
The main subscription UE may subscribe to the location information of one or more UEs or a group at a time, or may subscribe to the location information of one or more UEs and a group at the same time. The location subscription request information may carry a user identifier UDN of the subscribed UE and/or a group identifier GDN of the group, and the location subscription request information may also carry a location range and location parameters suggested by the terminal, including a period reported by the terminal and a moving distance parameter.
The main subscribing terminal and the subscribed terminal can be terminals in the same core network, and can also be terminals across the core network.
If a plurality of subscribed UEs belong to the same GIS server, only one subscription request is sent to the GIS server. And the GIS server to which the subscribed UE belongs returns a response message to the GIS server to which the main subscription UE belongs, wherein the response message comprises a response result of whether each UE is subscribed successfully or unsuccessfully.
Step S302, receiving the position information of the target terminal fed back by the GIS server; and the position information of the target terminal is determined by the GIS server according to the position subscription request information.
Specifically, after receiving the location subscription request information, the GIS server to which the main subscription UE belongs determines the location information of the subscribed UE according to the location subscription request information.
And after the GIS server to which the main subscription UE belongs determines the position information of the subscribed UE, the GIS server issues the position information to the main subscription UE.
And the main subscription UE receives the position information of the subscribed UE fed back by the GIS server to which the main subscription UE belongs.
The embodiment of the invention provides a method for subscribing position information among cluster terminals, which enables the terminals to acquire the current position information of other terminals in an active subscription mode, realizes mutual subscription of the position information among the cluster terminals and meets the requirements of more application scenes.
Based on any of the above embodiments, further, the location subscription request information includes a subscription mode, and the subscription mode is used for representing a subscription mode for subscribing location information desired by a user.
Specifically, in order to meet the needs of different users and different application scenarios, in the embodiment of the present invention, the location subscription request information includes a subscription mode, and the subscription mode is used to represent a subscription mode of location information desired by a subscriber.
For example, if the location information to which the user desires to subscribe is fed back in real time, the real-time subscription mode may be selected.
Fig. 4 is a schematic diagram of a real-time subscription process provided in the embodiment of the present invention, and as shown in fig. 4, the real-time subscription process is as follows:
step 1: the main subscription UE sends a location information subscription request message (XMPP Subscribe), and the main subscription UE may Subscribe to location information of one or more UEs or a group at a time, or may Subscribe to location information of one or more UEs and a group at the same time. The message carries the UDN of the subscribed UE and/or the GDN of the group, and the subscription message may carry the location range and location parameters suggested by the terminal, including the period reported by the terminal and the moving distance parameters.
Step 2a-3 a: for one or more subscribed single UE, the GIS Server to which the main subscription UE belongs obtains the GIS Server to which the subscribed UE belongs according to the code number analysis, and forwards the subscription request to the GIS Server. If a plurality of subscribed UEs belong to the same GIS Server, only one subscription request is sent to the GIS Server. And the GIS Server to which the UE belongs returns a response message to the GIS Server to which the main subscription UE belongs, wherein the message comprises a response result of whether each UE is subscribed successfully or unsuccessfully.
Step 6b-7 b: the GIS Server forwards the subscription request to the GIS Server to which the group member belongs according to the code number analysis, and if a plurality of group member UEs belong to the same GIS Server, only one position subscription request is sent to the GIS Server. And the GIS Server to which the group member belongs returns a response message to the GIS Server to which the group member belongs, wherein the response message comprises a response result of whether the position subscription of each UE is successful or failed, and the GIS Server to which the group member belongs returns a response message to the GIS Server to which the DC belongs, and the message comprises a response result of whether the subscription of each UE in the local position subscription is successful or failed.
And 8: and the GIS Server to which the main subscription UE belongs combines the response messages of 3a and 7b and sends the combined message to the DC, wherein the message contains the response result of each UE.
Note 1: the two processes 2a-3a and 2b-7b may be concurrent.
Note 2: if the GIS Server to which the main subscription UE belongs has subscribed the location information of the UE or the group, the 2a-7b procedure may be absent.
The embodiment of the invention provides a method for subscribing position information among cluster terminals, which enables the terminals to acquire the current position information of other terminals in an active subscription mode, realizes mutual subscription of the position information among the cluster terminals and meets the requirements of more application scenes.
Based on any of the above embodiments, further, the subscription mode is one of a real-time subscription, a unsubscribe, a timing subscription, and a scope subscription.
Specifically, in order to meet the needs of different users and different application scenarios, in the embodiment of the present invention, the location subscription request information includes a subscription mode, and the subscription mode is used to represent a subscription mode of location information desired by a subscriber. The subscription mode is one of a real-time subscription, a unsubscribe, a timing subscription and a scope subscription.
Fig. 5 is a schematic diagram of a unsubscribe process according to an embodiment of the present invention, where as shown in the figure, the unsubscribe process is as follows:
step 1: the active unsubscribing UE initiates a location unsubscribing service for other UEs to a GIS Server which the active unsubscribing UE belongs to, can unsubscribe location information of one or more UEs or a Group at one time, and can also simultaneously unsubscribe location information of one or more UEs and a Group. The message carries the UDN of the unsubscribed UE and/or the GDN of the group.
Step 2a-3 a: for one or more single UE which is unsubscribed, the GIS Server to which the UE which is actively unsubscribed belongs obtains the GIS Server to which the UE which is unsubscribed belongs according to the code number analysis, and forwards the unsubscribe request to the GIS Server. If a plurality of UE to be unsubscribed belong to the same GIS Server, only one position unsubscribe request is sent to the GIS Server. And the GIS Server to which the UE belongs returns a response message to the GIS Server to which the UE actively subscribes the position information, wherein the message comprises a response result of whether the unsubscribing of each UE position succeeds or fails.
And 4, step 4: and the GIS Server to which the UE actively unsubscribes belongs merges the response messages of the 3a and the 3b and sends the response messages to the UE actively subscribing the position information, wherein the response messages comprise the position unsubscribing response result of each UE.
Note: the two processes 2a-3a and 2b-3b may be concurrent.
The embodiment of the invention provides a method for subscribing position information among cluster terminals, which enables the terminals to acquire the current position information of other terminals in an active subscription mode, realizes mutual subscription of the position information among the cluster terminals and meets the requirements of more application scenes.
Based on any of the above embodiments, further, when the subscription mode is a timing subscription, the location subscription request information further includes a start-stop time of the subscription.
Specifically, in the embodiment of the present invention, when the subscription mode is a timed subscription, the location subscription request information further includes a start-stop time of the subscription.
Fig. 6 is a schematic diagram of a timing subscription process provided in an embodiment of the present invention, and as shown in fig. 6, the timing subscription process is as follows:
step 1: the main subscription UE initiates a location subscription service for the UE to a GIS Server to which the main subscription UE belongs, and the message contains a Begin Time field and an End Time field, namely the process is a timed subscription flow. The main subscription UE may subscribe to the location information of one or more UEs or a group at a time, or may subscribe to the location information of one or more UEs and a group at the same time. The message carries UDN of subscribed UE and/or GDN of group, and the location subscription message may carry positioning parameters suggested by DC, including period and moving distance parameters reported by the terminal.
Step 2: and the GIS Server to which the main subscription UE belongs returns a position subscription response message to the main subscription UE.
And step 3: and when the Begin Time is up, initiating a real-Time subscription process by the GIS Server to which the main subscription UE belongs, wherein the process is the same as that of 2a-7b in the real-Time subscription process of the terminal.
And 4, step 4: and when the End Time reaches, initiating a position unsubscribing process by a GIS Server to which the main subscription UE belongs, wherein the process is the same as the terminal unsubscribing process 2a-3 b.
Note 1: when the value of Begin Time is 0, it indicates immediate subscription, and step 2 may be performed after step 3, so that the subscription result may be carried in the XMPP Subscribe ACK message.
Note 2: when the value of EndTime is 0, the task is never ended, and if the subscription process of a certain task is to be stopped, the UE which needs to actively unsubscribe triggers the subscription process.
Note 3: before the EndTime arrives, the actively unsubscribed UE may trigger a unsubscribe procedure to cancel the subscription.
The embodiment of the invention provides a method for subscribing position information among cluster terminals, which enables the terminals to acquire the current position information of other terminals in an active subscription mode, realizes mutual subscription of the position information among the cluster terminals and meets the requirements of more application scenes.
Based on any of the above embodiments, further, when the subscription mode is a range subscription, the location subscription request information further includes a subscription range, and the target terminal is within the subscription range included in the location subscription request information.
Specifically, in the embodiment of the present invention, when the subscription mode is a scope subscription, the location subscription request information further includes a subscription scope, and the target terminal is within the subscription scope included in the location subscription request information.
For example, the flow of the scope subscription may include the following two schemes:
firstly, the process of the range subscription is the same as the timing subscription or the real-time subscription, and only one MsgDistance field is added to the subscribed xmpp message to set a distance a, wherein the distance is used for representing that only the positions of other subscribed terminals which are less than a away from the main subscription terminal are received. If the distance between the subscribed terminal and the main subscribing terminal is less than the value a defined by the MsgDistance, the GIS server normally transfers the position information of the subscribed terminal to the main subscribing terminal. Otherwise, it is discarded.
And secondly, the main subscription terminal normally receives the position information of other subscribed terminals, the main subscription terminal calculates the distance between the main subscription terminal and other subscribed terminals, compares the distance with the other subscribed terminals according to a set range, displays the distance within the range, and discards the other subscribed terminals.
The embodiment of the invention provides a method for subscribing position information among cluster terminals, which enables the terminals to acquire the current position information of other terminals in an active subscription mode, realizes mutual subscription of the position information among the cluster terminals and meets the requirements of more application scenes.
In addition, in the above embodiments, the types and formats of the subscription location information are as follows:
1. location subscribe/unsubscribe message format
An example of a message format is as follows:
the parameter description of the location information subscribe/unsubscribe message is shown in table 1.
Table 1 parameters of location information subscribe/unsubscribe message
2. Location subscribe/unsubscribe ACK response message format
An example of a message format is as follows:
the parameter description of the location information subscribe/unsubscribe ACK message is shown in table 2.
Table 2 parameters for location information subscribe/unsubscribe ACK messages
3. UE reporting position information format
An example of a message format definition is as follows:
the parameter description of the location information reported by the UE is shown in table 3.
Table 3 parameters of location information reported by UE
Cell name | M/O/C | Description of the invention | Description of the invention |
UEIDA | M | UE ID | UDN of UE |
MsgType | M | Message type | 1: GIS reporting |
MsgText | M | Location information | See Table 5 |
ExtendInfo | O | Extension information | See Table 6 |
4. GIS server forwarding message format
An example of a message format definition is as follows:
the message parameters are as in table 3.
5. Information unit
The message types are shown in table 4.
TABLE 4 message types
The position information is shown in table 5.
TABLE 5 location information
The extended information is shown in table 6.
TABLE 6 extended information
Based on any of the above embodiments, fig. 7 is a schematic diagram of a method for subscribing to location information between clustered terminals according to another embodiment of the present invention, and as shown in fig. 7, an embodiment of the present invention provides a method for subscribing to location information between clustered terminals, where an execution subject is a GIS server. The method comprises the following steps:
step S701, receiving position subscription request information aiming at a target terminal, which is sent by a cluster terminal;
step S702, determining the position information of the target terminal according to the position subscription request information;
and step S703, issuing the position information of the target terminal to the cluster terminal.
Specifically, when a user needs to acquire location information of another terminal, location subscription request information for a target terminal (subscribed UE) is sent to a GIS server through a trunking terminal (main subscription UE), where the trunking terminal that sent the location subscription request information belongs to.
The terminal may subscribe to the location information of one or more UEs or a group at a time, or may subscribe to the location information of one or more UEs and a group at the same time. The location subscription request information may carry a user identifier UDN of the subscribed UE and/or a group identifier GDN of the group, and the location subscription request information may also carry a location range and location parameters suggested by the terminal, including a period reported by the terminal and a moving distance parameter.
The main subscribing terminal and the subscribed terminal can be terminals in the same core network or terminals across the core network.
If a plurality of subscribed UEs belong to the same GIS server, only one subscription request is sent to the GIS server. And the GIS server to which the subscribed UE belongs returns a response message to the GIS server to which the main subscription UE belongs, wherein the response message comprises a response result of whether each UE is subscribed successfully or unsuccessfully.
And after the GIS server to which the main subscription UE belongs receives the position subscription request information, determining the position information of the subscribed UE according to the position subscription request information.
And after the GIS server to which the main subscription UE belongs determines the position information of the subscribed UE, the GIS server issues the position information to the main subscription UE.
And the main subscription UE receives the position information of the subscribed UE fed back by the GIS server to which the main subscription UE belongs.
The embodiment of the invention provides a method for subscribing position information among cluster terminals, which enables the terminals to acquire the current position information of other terminals in an active subscription mode, realizes mutual subscription of the position information among the cluster terminals and meets the requirements of more application scenes.
Based on any of the above embodiments, fig. 8 is a schematic diagram of a cluster terminal provided in an embodiment of the present invention, and as shown in fig. 8, an embodiment of the present invention provides a cluster terminal, which includes a request module 801 and a receiving module 802, where:
the request module 801 is configured to send location subscription request information for a target terminal to a geographic information system GIS server; the GIS server is a GIS server to which the cluster terminal which sends the position subscription request information belongs; the receiving module 802 is configured to receive the position information of the target terminal fed back by the GIS server; and the position information of the target terminal is determined by the GIS server according to the position subscription request information.
Embodiments of the present invention provide a cluster terminal, configured to execute a method in which an execution main body is a cluster terminal in any of the above embodiments, where specific steps of executing the method described in one above embodiment by using the cluster terminal provided in this embodiment are the same as those in the corresponding embodiment described above, and are not described here again.
The embodiment of the invention provides a cluster terminal, which enables a terminal to acquire the current position information of other terminals in an active subscription mode, realizes mutual subscription of the position information among the cluster terminals, and meets the requirements of more application scenes.
Based on any of the above embodiments, fig. 9 is a schematic diagram of a geographic information system server provided in an embodiment of the present invention, and as shown in fig. 9, an embodiment of the present invention provides a GIS server, which includes a receiving module 901, a position determining module 902, and a sending module 903, where:
the receiving module 901 is configured to receive location subscription request information for a target terminal sent by a trunking terminal; the location determining module 902 is configured to determine location information of the target terminal according to the location subscription request information; the issuing module 903 is configured to issue the location information of the target terminal to the cluster terminal.
Embodiments of the present invention provide a GIS server, configured to execute a method in which an execution main body is a GIS server in any of the above embodiments, where specific steps of executing the method described in one above embodiment by using the GIS server provided in this embodiment are the same as those in the corresponding embodiment described above, and are not described here again.
The embodiment of the invention provides a GIS server, which enables a terminal to acquire the current position information of other terminals in an active subscription mode, realizes mutual subscription of the position information among cluster terminals, and meets the requirements of more application scenes.
Fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 10, the electronic device includes: a processor (processor)1001, a communication Interface (communication Interface)1002, a memory (memory)1003 and a communication bus 1004, wherein the processor 1001, the communication Interface 1002 and the memory 1003 complete communication with each other through the communication bus 1004. The processor 1001 and the memory 1002 communicate with each other via a bus 1003. Processor 1001 may call logic instructions in memory 1003 to perform the following method:
sending position subscription request information aiming at a target terminal to a Geographic Information System (GIS) server; the GIS server is a GIS server to which the cluster terminal which sends the position subscription request information belongs; receiving the position information of the target terminal fed back by the GIS server; and the position information of the target terminal is determined by the GIS server according to the position subscription request information.
Or the following method:
receiving position subscription request information aiming at a target terminal, which is sent by a cluster terminal; determining the position information of the target terminal according to the position subscription request information; and transmitting the position information of the target terminal to the cluster terminal.
In addition, the logic instructions in the memory may be implemented in the form of software functional units and may be stored in a computer readable storage medium when sold or used as a stand-alone product. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Further, embodiments of the present invention provide a computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions which, when executed by a computer, enable the computer to perform the steps of the above-described method embodiments, for example, including:
sending position subscription request information aiming at a target terminal to a Geographic Information System (GIS) server; the GIS server is a GIS server to which the cluster terminal which sends the position subscription request information belongs; receiving the position information of the target terminal fed back by the GIS server; and the position information of the target terminal is determined by the GIS server according to the position subscription request information.
Or the following method:
receiving position subscription request information aiming at a target terminal, which is sent by a cluster terminal; determining the position information of the target terminal according to the position subscription request information; and transmitting the position information of the target terminal to the cluster terminal.
Further, an embodiment of the present invention provides a non-transitory computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the steps in the above method embodiments, for example, including:
sending position subscription request information aiming at a target terminal to a Geographic Information System (GIS) server; the GIS server is a GIS server to which the cluster terminal which sends the position subscription request information belongs; receiving the position information of the target terminal fed back by the GIS server; and the position information of the target terminal is determined by the GIS server according to the position subscription request information.
Or the following method:
receiving position subscription request information aiming at a target terminal, which is sent by a cluster terminal; determining the position information of the target terminal according to the position subscription request information; and transmitting the position information of the target terminal to the cluster terminal.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (10)
1. A method for subscribing position information between cluster terminals is characterized by comprising the following steps:
sending position subscription request information aiming at a target terminal to a Geographic Information System (GIS) server; the GIS server is a GIS server to which the cluster terminal which sends the position subscription request information belongs;
receiving the position information of the target terminal fed back by the GIS server; and the position information of the target terminal is determined by the GIS server according to the position subscription request information.
2. The method according to claim 1, wherein the location subscription request message includes a subscription pattern, and the subscription pattern is used to characterize a subscription mode for subscribing to location information desired by a user.
3. The method according to claim 2, wherein the subscription mode is one of a real-time subscription, a unsubscribe, a timing subscription, and a scope subscription.
4. The method according to claim 3, wherein when the subscription mode is a timed subscription, the location subscription request information further includes a start-stop time of the subscription.
5. The method according to claim 3, wherein when the subscription mode is a scope subscription, the location subscription request information further includes a subscription scope, and the target terminal is within the subscription scope included in the location subscription request information.
6. A method for subscribing position information between cluster terminals is characterized by comprising the following steps:
receiving position subscription request information aiming at a target terminal, which is sent by a cluster terminal;
determining the position information of the target terminal according to the position subscription request information;
and transmitting the position information of the target terminal to the cluster terminal.
7. A cluster terminal, comprising:
the request module is used for sending position subscription request information aiming at the target terminal to a Geographic Information System (GIS) server; the GIS server is a GIS server to which the cluster terminal which sends the position subscription request information belongs;
the receiving module is used for receiving the position information of the target terminal fed back by the GIS server; and the position information of the target terminal is determined by the GIS server according to the position subscription request information.
8. A geographic information system server, comprising:
the receiving module is used for receiving position subscription request information aiming at a target terminal, which is sent by the cluster terminal;
the position determining module is used for determining the position information of the target terminal according to the position subscription request information;
and the issuing module is used for issuing the position information of the target terminal to the cluster terminal.
9. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the method for subscribing to location information between cluster terminals according to any one of claims 1 to 6.
10. A non-transitory computer readable storage medium having stored thereon a computer program for implementing the steps of the method for subscribing to location information between cluster terminals according to any one of claims 1 to 6, when the computer program is executed by a processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010043384.0A CN113207079A (en) | 2020-01-15 | 2020-01-15 | Method and device for subscribing position information between cluster terminals |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010043384.0A CN113207079A (en) | 2020-01-15 | 2020-01-15 | Method and device for subscribing position information between cluster terminals |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113207079A true CN113207079A (en) | 2021-08-03 |
Family
ID=77024790
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010043384.0A Withdrawn CN113207079A (en) | 2020-01-15 | 2020-01-15 | Method and device for subscribing position information between cluster terminals |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113207079A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1780418A (en) * | 2004-11-18 | 2006-05-31 | 中兴通讯股份有限公司 | Grouped system and method for realizing position |
US20100322236A1 (en) * | 2009-06-18 | 2010-12-23 | Nokia Corporation | Method and apparatus for message routing between clusters using proxy channels |
CN106341305A (en) * | 2015-07-07 | 2017-01-18 | 国际商业机器公司 | Control of messages in publish/subscribe system |
CN107426700A (en) * | 2017-07-31 | 2017-12-01 | 海能达通信股份有限公司 | Position method for subscribing and relevant apparatus |
-
2020
- 2020-01-15 CN CN202010043384.0A patent/CN113207079A/en not_active Withdrawn
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1780418A (en) * | 2004-11-18 | 2006-05-31 | 中兴通讯股份有限公司 | Grouped system and method for realizing position |
US20100322236A1 (en) * | 2009-06-18 | 2010-12-23 | Nokia Corporation | Method and apparatus for message routing between clusters using proxy channels |
CN106341305A (en) * | 2015-07-07 | 2017-01-18 | 国际商业机器公司 | Control of messages in publish/subscribe system |
CN107426700A (en) * | 2017-07-31 | 2017-12-01 | 海能达通信股份有限公司 | Position method for subscribing and relevant apparatus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108769240B (en) | Intelligent dispatching command system and method | |
CN108449724B (en) | Function number service processing method and device | |
DE112014006497T9 (en) | Method and apparatus for dynamic location-based grouping for a mobile site | |
CN110445773B (en) | Fire control commander regulation and control system based on thing networking | |
CN104954492B (en) | Instant communication method, the distribution server, user terminal and instant communicating system | |
JP2002516654A (en) | Method and apparatus for updating a mobile unit | |
CN102982665A (en) | Alarm processing method and alarm system | |
CN110740161B (en) | System and method for adapting converged communication | |
CN102340734B (en) | Position application management method and device | |
CN101631279A (en) | Global open trunking architecture mobile terminal and answer positioning method thereof | |
CN103634745B (en) | A kind of method and apparatus of radio cluster dynamic reorganization | |
CN107872656A (en) | Monitoring system and command system | |
CN110830906B (en) | Wide-narrow band fusion GIS system and communication method | |
CN110601891A (en) | Alarm processing method and related device | |
CN113207079A (en) | Method and device for subscribing position information between cluster terminals | |
CN113537700A (en) | Mobile station service management and control method, device, equipment and storage medium | |
CN101662746B (en) | Service request processing method, calling center server and communication system | |
CN103905480A (en) | Remote desktop access control method, device and system | |
CN105722187A (en) | One-to-many information wireless transmission method | |
CN107566994A (en) | Group region method of adjustment and system, cluster application server and trunking user terminal | |
CN112492503A (en) | Cluster terminal positioning sharing method, electronic equipment and storage medium | |
CN113055538B (en) | Emergency rescue method for vehicle and related product | |
CN101883332A (en) | Method, system and device for realizing call back requesting business in trunking communication system | |
CN101860806A (en) | Dynamic marshalling method, system and terminal | |
RU68155U1 (en) | SYSTEM OF PROVIDING SERVICES TO TELEPHONE COMMUNICATION SUBSCRIBERS BASED ON DATA ON THEIR LOCATION |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20210803 |