[go: up one dir, main page]

CN110602628B - Method, gateway and server for terminal joining multicast group in car networking - Google Patents

Method, gateway and server for terminal joining multicast group in car networking Download PDF

Info

Publication number
CN110602628B
CN110602628B CN201810502725.9A CN201810502725A CN110602628B CN 110602628 B CN110602628 B CN 110602628B CN 201810502725 A CN201810502725 A CN 201810502725A CN 110602628 B CN110602628 B CN 110602628B
Authority
CN
China
Prior art keywords
multicast group
terminal
group address
request message
geographic position
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.)
Active
Application number
CN201810502725.9A
Other languages
Chinese (zh)
Other versions
CN110602628A (en
Inventor
刘艳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Cloud Computing Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201810502725.9A priority Critical patent/CN110602628B/en
Priority to PCT/CN2019/087569 priority patent/WO2019223640A1/en
Publication of CN110602628A publication Critical patent/CN110602628A/en
Application granted granted Critical
Publication of CN110602628B publication Critical patent/CN110602628B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0083Determination of parameters used for hand-off, e.g. generation or modification of neighbour cell lists
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/32Reselection being triggered by specific parameters by location or mobility data, e.g. speed data
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/02Processing of mobility data, e.g. registration information at HLR [Home Location Register] or VLR [Visitor Location Register]; Transfer of mobility data, e.g. between HLR, VLR or external networks
    • H04W8/08Mobility data transfer
    • H04W8/14Mobility data transfer between corresponding nodes

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Databases & Information Systems (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明实施例提供了一种车联网中终端加入多播组的方法、网关和服务器,该方法包括:网关接收终端发送的第一请求消息,第一请求消息包括第一多播组地址,第一多播组地址为终端请求加入的多播组对应的地址,第二多播组地址为终端退出的多播组对应的地址;获取第一多播组地址对应的地理位置和第二多播组地址对应的地理位置;确定第一多播组地址对应的地理位置与第二多播组地址对应的地理位置相邻;将终端加入到第一多播组地址对应的多播组。避免了终端随意切换与当前所在地理位置不相匹配的多播组,进而限制了终端随意加入多播组后恶意转播信息,扰乱秩序的行为。

Figure 201810502725

Embodiments of the present invention provide a method, a gateway, and a server for a terminal to join a multicast group in the Internet of Vehicles. The method includes: the gateway receives a first request message sent by the terminal, where the first request message includes a first multicast group address; The first multicast group address is the address corresponding to the multicast group the terminal requests to join, and the second multicast group address is the address corresponding to the multicast group the terminal exits; obtain the geographic location corresponding to the first multicast group address and the second multicast group address. The geographic location corresponding to the group address; determining that the geographic location corresponding to the first multicast group address is adjacent to the geographic location corresponding to the second multicast group address; adding the terminal to the multicast group corresponding to the first multicast group address. This prevents the terminal from arbitrarily switching to a multicast group that does not match the current geographic location, thereby restricting the behavior of maliciously rebroadcasting information and disrupting the order after the terminal arbitrarily joins the multicast group.

Figure 201810502725

Description

Method, gateway and server for terminal to join multicast group in Internet of vehicles
Technical Field
The application relates to the field of communication, in particular to a method for a terminal to join a multicast group in a vehicle networking, a gateway and a server.
Background
The internet of vehicles is an interactive network formed by information such as vehicle positions, vehicle speeds and routes. The Vehicle is provided with advanced Vehicle-mounted sensors, controllers, actuators and other devices, the devices are adopted to complete the collection of self environment and state information, and the intelligent information exchange and sharing between the Vehicle and any things (Vehicle to event) is realized through wireless communication and network technology, so that the Vehicle has the functions of sensing, intelligent decision, cooperative control, execution and the like of complex environment, casualties and congestion are reduced, and the aims of safety, high efficiency and energy conservation are finally achieved. The vehicles and everything can be abbreviated as V2X, and V2X can include vehicles and vehicles (V2V), vehicles and pedestrians (V2P), vehicles and Infrastructure (V2I), and vehicles and networks (V2N). The communication between the vehicle and the pedestrian refers to communication between terminals held by the vehicle and the pedestrian.
In the communication technology of the internet of vehicles, such as a V2V scenario, in order to reduce the message volume of V2V in the communication process and improve the efficiency and performance of spreading V2V messages, the V2V messages are distributed by multicast. That is, the sender sends a V2V message to the multicast address, and at least one receiver in the multicast group corresponding to the multicast address can receive the V2V message. In the technology of internet of vehicles, when a terminal acquires GeDB multicast information covered by a V2X Application Server (AS), a Packet Data Network Gateway (PGW) is requested to join a multicast group, and the terminal may request to join a corresponding multicast group along with a location movement request. In the process of switching the multicast group with the geographical position, the following disadvantages may exist in switching the multicast group: the terminal can acquire a relation table of mapping between the geographical position where the terminal is not located and the multicast group address, and then different multicast groups can be frequently switched, or the terminal can randomly join the multicast group which is not matched with the geographical position where the terminal is located, and then spread malicious information and disturb the order.
Disclosure of Invention
The embodiment of the invention provides a method and a gateway for switching a multicast group by a terminal in an internet of vehicles, which solve the problem that the terminal switches the multicast group randomly, further limit malicious information transmission and order disorder behaviors after the terminal joins the multicast group randomly.
In a first aspect, a method for a terminal to join a multicast group in a vehicle networking system is provided, and the method may include:
the gateway receives a first request message sent by a terminal, wherein the first request message comprises a first multicast group address, and the first multicast group address is an address corresponding to a multicast group which the terminal requests to join;
the gateway acquires a geographic position corresponding to the first multicast group address and a geographic position corresponding to the second multicast group address; the second multicast group address is an address corresponding to a multicast group which the terminal requests to quit;
the gateway determines that the geographic position corresponding to the first multicast group address is adjacent to the geographic position corresponding to the second multicast group address;
and the gateway adds the terminal into a multicast group corresponding to the first multicast group address.
And judging that the geographic position corresponding to the address of the second multicast group which the terminal requests to switch to exit is adjacent to the geographic position corresponding to the address of the first multicast group based on a switching adjacent principle, and when the geographic position corresponding to the address of the first multicast group is adjacent, determining that the terminal can be switched to the multicast group corresponding to the address of the first multicast group, so that the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information after the terminal randomly joins the multicast group is further limited, and the behavior of order disorder is avoided.
With reference to the first aspect, in a first possible implementation manner of the first aspect, the acquiring, by the gateway, a geographic location corresponding to the first multicast group address and a geographic location corresponding to the second multicast group address includes:
and the gateway searches the geographical position corresponding to the first multicast group address and the geographical position corresponding to the second multicast group address from the association information of the multicast group addresses and the geographical positions.
With reference to the first aspect, in a second possible implementation manner of the first aspect, the acquiring, by the gateway, the geographic location corresponding to the first multicast group address and the geographic location corresponding to the second multicast group address includes:
and the gateway acquires the geographic position corresponding to the first multicast group address and the geographic position corresponding to the second multicast group address from the application server according to the first multicast group address and the second multicast group address.
The gateway realizes the acquisition of the geographic position corresponding to the first multicast group address and the geographic position corresponding to the second multicast group address through various modes.
With reference to the first aspect, in a third possible implementation manner of the first aspect, the first request message further includes an identifier of the terminal; before the gateway joins the terminal to the multicast group corresponding to the first multicast group address, the method further includes:
The gateway sends a second request message to the application server, wherein the second request message comprises the first multicast group address and the identifier of the terminal, and the second request message is used for the application server to acquire the network geographic position of the terminal according to the identifier of the terminal and determine that the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address;
and the gateway receives a response message of a second request message sent by the application server, wherein the response message of the second request message comprises information that the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address.
On the basis of judging that the terminal can switch the multicast group based on the switching adjacency principle, the gateway determines that the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address through the application server according to the position covering principle, and when the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address, the gateway executes the terminal to join the multicast group corresponding to the first multicast group address, so that the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information is limited after the terminal randomly joins the multicast group, and the order is disturbed.
With reference to the first aspect, or any one of the first to third possible implementation manners of the first aspect, in a fourth possible implementation manner of the first aspect, the first request message further includes an identifier of the terminal; before the gateway joins the terminal to the multicast group corresponding to the first multicast group address, the method further includes:
The gateway sends a third request message to a Home Subscriber Server (HSS), wherein the third request message comprises the identifier of the terminal and the geographical position corresponding to the first multicast group address, and the third request message is used for the HSS to inquire the network geographical position of the terminal according to the identifier of the terminal and determine that the network geographical position of the terminal covers the geographical position corresponding to the first multicast group address;
and the gateway receives a response message of a third request message sent by the HSS, wherein the response message of the third request message comprises information that the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address.
On the basis of judging that the terminal can switch the multicast group based on the switching adjacency principle, the gateway determines that the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address through the Home Subscriber Server (HSS) according to the position covering principle, and when the network geographic position of the terminal covers the geographic position, the gateway executes the terminal to join the multicast group corresponding to the first multicast group address, so that the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information and rank order disorder after the terminal randomly joins the multicast group are further limited.
With reference to the first aspect, in a fifth possible implementation manner of the first aspect, the first request message further includes a current geographic location, and the current geographic location is a geographic location where the terminal is located when the terminal sends the first request message to the gateway.
With reference to the fifth possible implementation manner of the first aspect, in a sixth possible implementation manner of the first aspect, the first request message further includes an identifier of the terminal; before the gateway joins the terminal to the multicast group corresponding to the first multicast group address, the method further includes:
the gateway sends a fourth request message to the application server, wherein the fourth request message comprises the identifier of the terminal and the current geographical position, and the fourth request message is used for the application server to acquire the network geographical position of the terminal from a Home Subscriber Server (HSS) according to the identifier of the terminal and determine that the network geographical position of the terminal covers the current geographical position;
and the gateway receives a response message of a fourth request message sent by the application server, wherein the response message of the fourth request message comprises information that the network geographic position of the terminal covers the current geographic position.
On the basis of judging that the terminal can switch the multicast group based on the switching adjacency principle, the gateway determines the network geographic position of the terminal through the application server according to the position covering principle, and the gateway covers the current geographic position of the terminal when the terminal requests the multicast group corresponding to the first multicast group address.
With reference to the first aspect, in a seventh possible implementation manner of the first aspect, the first request message further includes an identifier of the terminal; before the gateway joins the terminal to the multicast group corresponding to the first multicast group address, the method further includes:
the gateway sends a fifth request message to a Home Subscriber Server (HSS), wherein the fifth request message comprises the identifier of the terminal and the current geographic position of the terminal, and the fifth request message is used for the HSS to inquire the network geographic position of the terminal according to the identifier of the terminal and determine the network geographic position of the terminal to cover the current geographic position of the terminal;
and the gateway receives a response message of a fifth request message sent by the HSS, wherein the response message of the fifth request message comprises information that the network geographic position of the terminal covers the current geographic position of the terminal.
On the basis of judging that the terminal can switch the multicast group based on the switching adjacency principle, the gateway determines the current geographic position of the terminal when the network geographic position of the terminal covers the multicast group corresponding to the first multicast group address through the home subscriber server HSS according to the position covering principle, and when the network geographic position of the terminal covers the multicast group corresponding to the first multicast group address, the gateway executes the terminal to join the multicast group corresponding to the first multicast group address, so that the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information is limited after the terminal randomly joins the multicast group, and the order is disturbed.
With reference to the first aspect, in an eighth possible implementation manner of the first aspect, the first request message further includes reference object information, where the reference object information includes an identifier of a reference object at a location where the terminal is located; before the gateway joins the terminal to the multicast group corresponding to the first multicast group address, the method further includes:
the gateway sends a sixth request message to the application server, wherein the sixth request message comprises the identifier of the reference object and the first multicast group address, and the sixth request message is used for the application server to acquire the geographic position of the reference object and the geographic position corresponding to the first multicast group address from the Home Subscriber Server (HSS) according to the sixth request message and determine that the geographic position of the reference object covers the geographic position corresponding to the first multicast group address;
and the gateway receives a response message of a sixth request sent by the application server, wherein the response message of the sixth request comprises the information that the geographical position of the reference object covers the geographical position corresponding to the first multicast group address.
On the basis of judging that the terminal can switch the multicast group based on the switching adjacency principle, the gateway determines that the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address through the application server according to the reference matching principle, and when the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address, the gateway executes the terminal to join the multicast group corresponding to the first multicast group address, so that the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information is limited after the terminal randomly joins the multicast group, and the order is disturbed.
With reference to the first aspect, in a ninth possible implementation manner of the first aspect, the first request message further includes reference object information, where the reference object information includes an identifier of a reference object at a location where the terminal is located; before the gateway joins the terminal to the multicast group corresponding to the first multicast group address, the method further includes:
the gateway sends a seventh request message to the home subscriber server HSS, wherein the seventh request message comprises the identifier of the reference object and the geographical position corresponding to the first multicast group address, and the seventh request message is used for acquiring the geographical position of the reference object corresponding to the identifier of the reference object from the home subscriber server HSS and determining that the geographical position of the reference object covers the geographical position corresponding to the first multicast group address;
and the gateway receives a response message of the seventh request message sent by the HSS, wherein the response message of the seventh request message comprises the geographic position of the reference object covering the geographic position corresponding to the first multicast group address.
On the basis of judging that the terminal can switch the multicast group based on the switching adjacency principle, the gateway determines that the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address through the attribution subscriber server according to the reference matching principle, and when the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address, the gateway executes the terminal to join the multicast group corresponding to the first multicast group address, so that the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, and further malicious rebroadcasting information and rank order disorder behaviors after the terminal randomly joins the multicast group are limited.
With reference to the first aspect, or any one of the foregoing possible implementation manners of the first aspect, in a tenth possible implementation manner of the first aspect, after the gateway receives the first request message sent by the terminal, the method further includes:
the gateway determines that the time difference between the received first request message and the request message of the terminal for exiting the multicast group corresponding to the second multicast group address meets a preset condition; the preset condition is that the time difference between the gateway receiving the first request message and the gateway receiving the request message for exiting the second multicast group is smaller than the shortest time consumed by the terminal crossing the geographic position corresponding to the second multicast group address and the geographic position corresponding to the multicast group address.
In a second aspect, a method for a terminal to join a multicast group in a vehicle networking system is provided, and the method may include:
the application server receives an acquisition request message sent by the gateway, wherein the acquisition request message comprises a first multicast group address and a second multicast group address, the first multicast group address is an address corresponding to a multicast group which a terminal requests to join, and the second multicast group address is an address corresponding to a multicast group which the terminal requests to quit;
the application server acquires the geographic position corresponding to the first multicast group address and the geographic position corresponding to the second multicast group address according to the acquisition request message and the association information of the multicast group address and the geographic position;
And the application server sends a response message for acquiring the request message to the gateway, wherein the response message comprises the geographic position corresponding to the first multicast group address and the geographic position corresponding to the second multicast group address, so that the gateway can determine that the geographic position corresponding to the first multicast group address is adjacent to the geographic position corresponding to the second multicast group address.
Based on the adjacent switching principle, the application server determines that the geographic position corresponding to the second multicast group address requested to quit by the terminal is adjacent to the geographic position corresponding to the first multicast group address requested to join, and when the geographic position is adjacent, a message is sent to inform the gateway, so that the gateway joins the terminal to the multicast group corresponding to the first multicast group address, the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information after the terminal randomly joins the multicast group is further limited, and the behavior of order disorder is avoided.
With reference to the second aspect, in a first possible implementation manner of the second aspect, the method further includes:
the application server receives a second request message sent by the gateway, wherein the second message comprises the identifier of the terminal;
the application server acquires the network geographic position of the terminal according to the identifier of the terminal and determines that the network geographic position covers the geographic position corresponding to the first multicast group address;
And the application server sends a response message of the second request message to the gateway, wherein the response message comprises information that the network geographic position covers the geographic position corresponding to the first multicast group address, and is used for the gateway to join the terminal into the multicast group corresponding to the first multicast group address.
On the basis of judging that the terminal can switch the multicast group according to the adjacent switching principle, the application server determines that the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address according to the position covering principle, and sends a message to inform the gateway when the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address, so that the gateway enables the terminal to be added into the multicast group corresponding to the first multicast group address, the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information after the terminal randomly adds the multicast group is further limited, and the behavior of order disorder is avoided.
With reference to the second aspect, in a second possible implementation manner of the second aspect, the method further includes:
the application server receives a fourth request message sent by the gateway, wherein the fourth request message comprises the identifier of the terminal and the current geographical position, and the current geographical position is the geographical position of the terminal when the terminal requests to join the multicast group corresponding to the first multicast group address;
The application server acquires the network geographic position of the terminal according to the identifier of the terminal and determines that the network geographic position covers the current geographic position;
and the application server sends a response message of the fourth request message to the gateway, wherein the response message comprises information that the network geographic position covers the current geographic position, and the information is used for the gateway to add the terminal into a multicast group corresponding to the first multicast group address.
On the basis of judging that the terminal can switch the multicast group according to the adjacent switching principle, the application server determines that the network geographic position of the terminal covers the current geographic position of the terminal when the terminal requests the multicast group corresponding to the first multicast group address according to the position covering principle, and sends a message to inform the gateway when the terminal is covered so that the gateway adds the terminal into the multicast group corresponding to the first multicast group address, thereby avoiding that the terminal randomly switches the multicast group which is not matched with the current geographic position, further limiting the behavior of malicious rebroadcasting information and disorder of order after the terminal randomly adds the multicast group.
With reference to the second aspect, in a third possible implementation manner of the second aspect, the method further includes:
the application server receives a sixth request message sent by the gateway, wherein the sixth request message comprises the identifier of the reference object and the geo-multicast group address;
The application server acquires the geographic position of the reference object according to the identifier of the reference object and determines that the geographic position of the reference object covers the geographic position corresponding to the first multicast group address;
and the application server sends a response message of the sixth request message to the gateway, wherein the response message comprises the information that the geographical position of the reference object covers the geographical position corresponding to the first multicast group address, and is used for the gateway to join the terminal into the multicast group corresponding to the first multicast group address.
On the basis of judging that the terminal can switch the multicast group according to the adjacent switching principle, the application server determines that the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address according to the reference matching principle, and when the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address, a message is sent to inform the gateway, so that the gateway enables the terminal to be added into the multicast group corresponding to the first multicast group address, the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information after the terminal randomly adds the multicast group is further limited, and the behavior of order disorder is avoided.
With reference to the first or second possible implementation manner of the second aspect, in a fourth possible implementation manner of the second aspect, the acquiring, by the application server, the network geographic location of the terminal according to the identifier of the terminal includes:
The application server obtains the network geographical position of the terminal from the home subscriber server HSS or the position server.
With reference to the third possible implementation manner of the second aspect, in a fifth possible implementation manner of the second aspect, the obtaining, by the application server, the geographic location of the reference object according to the identifier of the reference object includes:
the application server obtains the geographical position of the reference object from the home subscriber server HSS or the location server.
In a third aspect, a method for a terminal to join a multicast group in an internet of vehicles is provided, where the method includes:
the gateway receives a first request message sent by a terminal, wherein the first request message comprises a first multicast group address and a terminal identifier, and the first multicast group address is an address of a multicast group which the terminal requests to join;
the gateway sends a second request message to the application server, wherein the second request message comprises the identifier of the terminal and the first multicast group address, and the second request message is used for the application server to acquire the network geographic position of the terminal from the Home Subscriber Server (HSS) according to the identifier of the terminal and determine that the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address;
and the gateway receives a response message of a second request message sent by the application server, and the gateway adds the terminal into a multicast group corresponding to the first multicast group address, wherein the response message of the second request message comprises information that the network geographic position of the terminal covers the geographic position corresponding to the multicast address.
Based on the position covering principle, the gateway determines that the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address through the application server, and when the network geographic position of the terminal covers the geographic position, the gateway executes the terminal to join the multicast group corresponding to the first multicast group address, so that the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information is limited after the terminal randomly joins the multicast group, and the order is disturbed.
With reference to the third aspect, in a first possible implementation manner of the third aspect, before the gateway sends the second request message to the application server, the method further includes:
the gateway determines that the time difference between the receipt of the first request message and the receipt of the request message of the terminal requesting to exit the second multicast group address is greater than the shortest consumed time of the terminal crossing the geographic position corresponding to the second multicast group address and the geographic position corresponding to the multicast group address;
the gateway sends a second request message to the application server.
With reference to the third aspect or the first possible implementation manner of the third aspect, in a second possible implementation manner of the third aspect, the first request message further includes a current geographic location, and the current geographic location is a geographic location where the terminal is located when the terminal sends the first request message to the gateway.
In a fourth aspect, a method for a terminal to join a multicast group in an internet of vehicles is provided, where the method includes:
the application server receives a second request message sent by the gateway, wherein the second request message comprises the identifier of the terminal and a first multicast group address, and the first multicast group address is an address corresponding to a multicast group which the terminal requests to join;
the application server acquires the network geographic position of the terminal from a Home Subscriber Server (HSS) according to the identifier of the terminal and determines that the network address covers the geographic position corresponding to the first multicast group address;
and the application server sends a response message of the second request message to the gateway, wherein the response message comprises information that the network geographic position covers the geographic position corresponding to the first multicast group address, and is used for the gateway to join the terminal into the multicast group corresponding to the first multicast group address.
Based on the position covering principle, the application server determines that the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address, and when the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address, the application server sends a message to inform the gateway so that the gateway enables the terminal to be added into the multicast group corresponding to the first multicast group address, the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information is limited after the terminal randomly adds into the multicast group, and the rank order is disturbed is avoided.
In a fifth aspect, a method for a terminal to join a multicast group in an internet of vehicles is provided, where the method includes:
the method comprises the steps that a gateway receives a first request message sent by a terminal, wherein the first request message comprises a first multicast group address, an identifier of the terminal and a current geographical position, the first multicast group address is an address of a multicast group which the terminal requests to join, and the current geographical position is the geographical position of the terminal when the terminal sends the first request message to the gateway;
the gateway sends a second request message to the application server, wherein the second request message comprises the identifier of the terminal and the current geographic position, and the second request message is used for the application server to acquire the network geographic position of the terminal from a Home Subscriber Server (HSS) according to the identifier of the terminal and determine the network geographic position of the terminal to cover the current geographic position of the terminal;
and the gateway receives a response message of a second request message sent by the application server, and the gateway adds the terminal into a multicast group corresponding to the multicast group address, wherein the response message of the second request message comprises information that the network geographic position of the terminal covers the current geographic position of the terminal.
Based on the position covering principle, the gateway determines that the network geographic position of the terminal covers the current geographic position of the terminal when the terminal requests the multicast group corresponding to the first multicast group address through the application server, and when the terminal is covered, the gateway executes the terminal to join the multicast group corresponding to the first multicast group address, so that the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information is limited after the terminal randomly joins the multicast group, and the behavior of order disorder is avoided.
In one possible implementation, before the gateway sends the second request message to the application server, the method further includes:
the gateway determines that the time difference between the receipt of the first request message and the receipt of the request message of the terminal for exiting the second multicast group is greater than the shortest consumed time of the terminal crossing the geographic position corresponding to the second multicast group address and the geographic position corresponding to the multicast group address;
the gateway sends a second request message to the application server.
In a sixth aspect, a method for a terminal to join a multicast group in an internet of vehicles is provided, which includes:
the application server receives a second request message sent by the gateway, wherein the second request message comprises the identifier of the terminal and the current geographical position, and the current geographical position is the geographical position of the terminal when the terminal requests to join the multicast group corresponding to the first multicast group address;
the application server acquires the network geographic position of the terminal from a Home Subscriber Server (HSS) according to the identifier of the terminal and determines that the network geographic position of the terminal covers the current geographic position;
and the application server sends a response message of the second request message to the gateway, wherein the response message comprises information that the network geographic position covers the current geographic position, and the information is used for the gateway to add the terminal into a multicast group corresponding to the first multicast group address.
Based on the position covering principle, the application server determines that the network geographic position of the terminal covers the current geographic position of the terminal when the terminal requests the multicast group corresponding to the first multicast group address, and sends a message to inform the gateway when the terminal is covered, so that the gateway enables the terminal to be added into the multicast group corresponding to the first multicast group address, the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information is limited after the terminal randomly adds the multicast group, and the order is disturbed.
In a seventh aspect, a method for a terminal to join a multicast group in an internet of vehicles is provided, where the method includes:
the gateway receives a first request message sent by a terminal, wherein the first request message comprises a first multicast group address and a terminal identifier; the first multicast group address is the address of the multicast group which the terminal requests to join;
the gateway acquires the geographical position corresponding to the first multicast group address according to the first multicast group address;
the gateway sends a second request message to a Home Subscriber Server (HSS), wherein the second request message comprises the identifier of the terminal and the geographical position corresponding to the first multicast group address, and the second request message is used for the HSS to inquire the network geographical position of the terminal according to the identifier of the terminal and determine that the network geographical position of the terminal covers the geographical position corresponding to the first multicast group address;
And the gateway receives a response message of a second request message sent by the HSS, and the gateway executes the joining of the terminal into the multicast group corresponding to the first multicast group address according to the response message of the second request message, wherein the response message of the second request message comprises the network geographic position of the terminal covering the geographic position corresponding to the first multicast group address.
Based on the position covering principle, the gateway determines that the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address through the home subscriber server HSS, and when the network geographic position of the terminal covers the geographic position, the gateway executes the terminal to join the multicast group corresponding to the first multicast group address, so that the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, and further malicious rebroadcast information and order disorder behaviors after the terminal randomly joins the multicast group are limited.
In one possible implementation, before the gateway sends the second request message to the application server, the method further includes:
the gateway determines that the time difference between the receipt of the first request message and the receipt of the request message of the terminal for exiting the second multicast group is greater than the shortest consumed time of the terminal crossing the geographic position corresponding to the second multicast group address and the geographic position corresponding to the multicast group address;
The gateway sends a second request message to the application server.
In one possible implementation, the first request message further includes a current geographic location, and the current geographic location is a geographic location where the terminal is located when the terminal sends the first request message to the gateway.
In an eighth aspect, a method for a terminal to join a multicast group in an internet of vehicles is provided, where the method includes:
a Home Subscriber Server (HSS) receives a second request message sent by a gateway, wherein the second request message comprises an identifier of a terminal and a geographical position corresponding to a first multicast group address, and the first multicast group address is an address corresponding to a multicast group to which the terminal requests to join;
the HSS acquires the network geographic position of the terminal according to the identifier of the terminal and determines that the network geographic position covers the geographic position corresponding to the first multicast group address;
and the HSS sends a response message of the second request message to the gateway, wherein the response message comprises information that the network geographic position covers the geographic position corresponding to the first multicast group address, and the information is used for the gateway to add the terminal into the multicast group corresponding to the first multicast group address.
Based on a position covering principle, the HSS determines that the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address, and when the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address, a message is sent to inform the gateway, so that the gateway executes the terminal to join the multicast group corresponding to the first multicast group address, the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcast information is limited after the terminal randomly joins the multicast group, and the behavior of order disorder is avoided.
In a ninth aspect, a method for a terminal to join a multicast group in a vehicle networking is provided, and the method includes:
the method comprises the steps that a gateway receives a first request message sent by a terminal, wherein the first request message comprises a first multicast group address, an identifier of the terminal and a current geographical position, the first multicast group address is an address of a multicast group which the terminal requests to join, and the current geographical position is the geographical position of the terminal when the terminal sends the first request message to the gateway;
the gateway sends a second request message to a Home Subscriber Server (HSS), wherein the second request message comprises a current geographic position and a terminal identifier, and the second request message is used for the HSS to inquire the network geographic position of the terminal according to the terminal identifier and determine that the network geographic position covers the current geographic position;
and the gateway receives a response message of the second request message sent by the HSS, and the gateway executes the joining of the terminal into the multicast group corresponding to the multicast group address according to the response message of the second request message, wherein the response message of the second message comprises the network geographic position of the terminal covering the current geographic position.
Based on the position covering principle, the gateway determines the current geographical position of the terminal when the network geographical position of the terminal covers the multicast group corresponding to the first multicast group address through the home subscriber server HSS, and when the network geographical position of the terminal covers the current geographical position, the gateway executes the terminal to join the multicast group corresponding to the first multicast group address, so that the situation that the terminal randomly switches the multicast group which is not matched with the current geographical position is avoided, malicious rebroadcasting information is limited after the terminal randomly joins the multicast group, and the behavior of order disorder is avoided.
In one possible implementation, before the gateway sends the second request message to the application server, the method further includes:
the gateway determines that the time difference between the receipt of the first request message and the receipt of the request message of the terminal for exiting the second multicast group is greater than the shortest consumed time of the terminal crossing the geographic position corresponding to the second multicast group address and the geographic position corresponding to the multicast group address;
the gateway sends a second request message to the application server.
In a tenth aspect, a method for a terminal to join a multicast group in an internet of vehicles is provided, the method comprising:
a Home Subscriber Server (HSS) receives a second request message sent by a gateway, wherein the second request message comprises a current geographic position and a terminal identifier; the current geographic position is the geographic position of the terminal when the terminal requests to join the multicast group corresponding to the first multicast group address;
the HSS inquires the network geographic position of the terminal according to the identifier of the terminal and determines that the network geographic position covers the current geographic position;
and the HSS sends a response message of the second request message to the gateway, wherein the response message comprises information that the network geographic position covers the current geographic position, and the information is used for the gateway to add the terminal into a multicast group corresponding to the first multicast group address.
Based on the position covering principle, the HSS determines the current geographical position of the terminal when the network geographical position of the terminal covers the multicast group corresponding to the first multicast group address, and when the network geographical position of the terminal covers the current geographical position, the HSS sends a message to inform the gateway so that the gateway adds the terminal into the multicast group corresponding to the first multicast group address, thereby avoiding that the terminal randomly switches the multicast group which is not matched with the current geographical position, and further limiting the behavior of malicious rebroadcasting information and order disorder after the terminal randomly adds into the multicast group.
In an eleventh aspect, a method for a terminal to join a multicast group in a vehicle networking system is provided, and the method includes:
the method comprises the steps that a gateway receives a first request message sent by a terminal, wherein the first request message comprises a first multicast group address, and the first multicast group address is the address of a multicast group which the terminal requests to join;
the gateway acquires reference object information, wherein the reference object information comprises an identifier of a reference object;
the gateway sends a second request message to the application server, wherein the second request message comprises the identifier of the reference object and the first multicast group address, and the second request message is used for the application server to acquire the geographic position of the reference object from the Home Subscriber Server (HSS) according to the identifier of the reference object and determine that the geographic position of the reference object covers the geographic position corresponding to the first multicast group address;
And the gateway receives a response message of the second request sent by the application server, and the gateway executes the terminal to join the multicast group corresponding to the first multicast group address according to the response message of the second message, wherein the response message of the second message comprises the information that the geographical position of the reference object covers the geographical position corresponding to the first multicast group address.
Based on the reference matching principle, the gateway determines that the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address through the application server, and when the network geographic position of the terminal covers the geographic position, the gateway executes the terminal to join the multicast group corresponding to the first multicast group address, so that the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information is limited after the terminal randomly joins the multicast group, and the order is disturbed.
In one possible implementation, before the gateway obtains the reference object information, the method further includes:
the gateway determines that the time difference between the receipt of the first request message and the receipt of the request message of the terminal for exiting the second multicast group is greater than the shortest consumed time of the terminal crossing the geographic position corresponding to the second multicast group address and the geographic position corresponding to the multicast group address;
the gateway acquires reference object information.
In one possible implementation, the first request message further includes a current geographic location, and the current geographic location is a geographic location where the terminal is located when the terminal sends the first request message to the gateway.
In a twelfth aspect, a method for a terminal to join a multicast group in a vehicle networking is provided, and the method includes:
the application server receives a second request message sent by the gateway, wherein the second request message comprises an identifier of a reference object and a first multicast group address, and the first multicast group address is an address corresponding to a multicast group which a terminal requests to join;
the application server acquires the geographical position of the reference object from the Home Subscriber Server (HSS) according to the identifier of the reference object and determines that the geographical position of the reference object covers the geographical position corresponding to the first multicast group address;
and the application server sends a response message of the second request message to the gateway, wherein the response message comprises the information that the geographical position of the reference object covers the geographical position corresponding to the first multicast group address, and is used for the gateway to join the terminal into the multicast group corresponding to the first multicast group address.
Based on the reference matching principle, the application server determines that the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address, and when the network geographic position of the terminal covers the geographic position, the gateway executes the terminal to join the multicast group corresponding to the first multicast group address, so that the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information is limited after the terminal randomly joins the multicast group, and the behavior of order disorder is avoided.
In a thirteenth aspect, a method for a terminal to join a multicast group in a vehicle networking system is provided, and the method includes:
the method comprises the steps that a gateway receives a first request message sent by a terminal, wherein the first request message comprises a first multicast group address, and the first multicast group address is the address of a multicast group which the terminal requests to join;
the gateway acquires reference object information, wherein the reference object information comprises an identifier of a reference object;
the gateway acquires a geographical position corresponding to the multicast group address from the application server according to the first multicast group address;
the gateway sends a second request message to a Home Subscriber Server (HSS), wherein the second request message comprises the identifier of the reference object and the geographical position corresponding to the first multicast group address, and the second request message is used for acquiring the geographical position of the reference object corresponding to the identifier of the reference object from the Home Subscriber Server (HSS) and determining that the geographical position of the reference object covers the geographical position corresponding to the multicast group address;
and the gateway receives a response message of the second request message sent by the HSS, the gateway adds the terminal into a multicast group corresponding to the multicast group address, and the response message of the second request message comprises the geographical position of the reference object covering the geographical position corresponding to the first multicast group address.
Based on the reference matching principle, the gateway determines that the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address through the attribution subscriber server, and when the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address, the gateway executes the terminal to join the multicast group corresponding to the first multicast group address, so that the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, and further malicious rebroadcasting information and order disorder behaviors after the terminal randomly joins the multicast group are limited.
In one possible implementation, before the gateway obtains the reference object information, the method further includes:
the gateway determines that the time difference between the receipt of the first request message and the receipt of the request message of the terminal for exiting the second multicast group is greater than the shortest consumed time that the terminal spans the geographic position corresponding to the second multicast group address and the geographic position corresponding to the first multicast group address;
the gateway acquires reference object information.
In one possible implementation, the first request message further includes a current geographic location, and the current geographic location is a geographic location where the terminal is located when the terminal sends the first request message to the gateway.
In a fourteenth aspect, a method for a terminal to access a multicast group in a vehicle networking system is provided, where the method includes:
a Home Subscriber Server (HSS) receives a second request message sent by a gateway, wherein the second request message comprises an identifier of a reference object and a geographical position corresponding to a first multicast group address, and the first multicast group address is an address corresponding to a multicast group which a terminal requests to join;
The HSS inquires the geographic position of the reference object according to the identifier of the reference object and determines that the geographic position of the reference object covers the geographic position corresponding to the first multicast group address;
and the HSS sends a response message of the second request message to the gateway, wherein the response message comprises the information that the geographical position of the reference object covers the geographical position corresponding to the first multicast group address, and is used for the gateway to join the terminal into the multicast group corresponding to the first multicast group address.
Based on the reference matching principle, the attribution subscriber server determines that the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address, and when the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address, a message is sent to inform the gateway, so that the gateway enables the terminal to be added into the multicast group corresponding to the first multicast group address, the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information is limited after the terminal randomly adds into the multicast group, and the behavior of order disorder is avoided.
In a fifteenth aspect, a gateway is provided, comprising:
the receiving unit is used for receiving a first request message sent by a terminal, wherein the first request message comprises a first multicast group address, and the first multicast group address is an address corresponding to a multicast group which the terminal requests to join;
The processing unit is further used for acquiring a geographic position corresponding to the first multicast group address and a geographic position corresponding to the second multicast group address; the second multicast group address is an address corresponding to a multicast group which the terminal requests to quit;
the processing unit is used for determining that the geographic position corresponding to the first multicast group address is adjacent to the geographic position corresponding to the second multicast group address;
and the processing unit is also used for adding the terminal into the multicast group corresponding to the first multicast group address.
Whether the geographic position corresponding to the address of the second multicast group which the terminal requests to switch to exit and the geographic position corresponding to the address of the first multicast group are adjacent or not is judged based on a switching adjacent principle, and when the geographic position corresponding to the address of the first multicast group is adjacent, the terminal can be determined to be switched to the multicast group corresponding to the address of the first multicast group, so that the situation that the terminal randomly switches to the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information after the terminal randomly joins the multicast group is further limited, and the behavior of order disorder is avoided.
With reference to the fifteenth aspect, in a first possible implementation manner of the fifteenth aspect, the acquiring, by the processing unit, a geographic location corresponding to the first multicast group address and a geographic location corresponding to the second multicast group address includes:
The processing unit searches the geographical position corresponding to the first multicast group address and the geographical position corresponding to the second multicast group address from the association information of the multicast group addresses and the geographical positions.
With reference to the fifteenth aspect, in a second possible implementation manner of the fifteenth aspect, the acquiring, by the processing unit, a geographic location corresponding to the first multicast group address and a geographic location corresponding to the second multicast group address includes:
the processing unit acquires the geographic position corresponding to the first multicast group address and the geographic position corresponding to the second multicast group address from the application server according to the first multicast group address and the second multicast group address.
With reference to the fifteenth aspect, in a third possible implementation manner of the fifteenth aspect, the first request message further includes an identifier of the terminal; the gateway also comprises a sending unit;
the sending unit is used for sending a second request message to the application server, wherein the second request message comprises the first multicast group address and the identifier of the terminal, and the second request message is used for the application server to acquire the network geographic position of the terminal according to the identifier of the terminal and determine that the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address;
and the receiving unit is further configured to receive a response message of the second request message sent by the application server, where the response message of the second request message includes information that the network geographic location of the terminal covers the geographic location corresponding to the first multicast group address.
On the basis of judging that the terminal can switch the multicast group based on the switching adjacency principle, the gateway determines that the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address through the application server according to the position covering principle, and when the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address, the gateway executes the terminal to join the multicast group corresponding to the first multicast group address, so that the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information is limited after the terminal randomly joins the multicast group, and the order is disturbed.
With reference to the fifteenth aspect, in a fourth possible implementation manner of the fifteenth aspect, the first request message further includes an identifier of the terminal; the gateway also comprises a sending unit;
a sending unit, configured to send a third request message to a home subscriber server HSS, where the third request message includes an identifier of a terminal and a geographic location corresponding to the first multicast group address, and the third request message is used for the HSS to query a network geographic location of the terminal according to the identifier of the terminal, and determine that the network geographic location of the terminal covers the geographic location corresponding to the first multicast group address;
and the receiving unit is further configured to receive a response message of a third request message sent by the HSS, where the response message of the third request message includes information that the network geographic location of the terminal covers a geographic location corresponding to the first multicast group address.
On the basis of judging that the terminal can switch the multicast group based on the switching adjacency principle, the gateway determines that the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address through the Home Subscriber Server (HSS) according to the position covering principle, and when the network geographic position of the terminal covers the geographic position, the gateway executes the terminal to join the multicast group corresponding to the first multicast group address, so that the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information and rank order disorder after the terminal randomly joins the multicast group are further limited.
With reference to the fifteenth aspect, in a fifth possible implementation manner of the fifteenth aspect, the first request message further includes a current geographic location, where the terminal is located when the terminal sends the first request message to the gateway.
With reference to the fifteenth aspect, in a sixth possible implementation manner of the fifteenth aspect, the first request message further includes an identifier of the terminal; the gateway also comprises a sending unit;
the sending unit is used for sending a fourth request message to the application server, wherein the fourth request message comprises the identifier of the terminal and the current geographic position, and the fourth request message is used for the application server to acquire the network geographic position of the terminal from the Home Subscriber Server (HSS) according to the identifier of the terminal and determine that the network geographic position of the terminal covers the current geographic position;
And the receiving unit is further configured to receive a response message of a fourth request message sent by the application server, where the response message of the fourth request message includes information that the network geographic location of the terminal covers the current geographic location.
On the basis of judging that the terminal can switch the multicast group based on the switching adjacency principle, the gateway determines whether the network geographic position of the terminal covers the current geographic position of the multicast group corresponding to the first multicast group address requested by the terminal through the application server according to the position covering principle, and when the network geographic position of the terminal covers the current geographic position, the gateway executes the multicast group corresponding to the first multicast group address added by the terminal, so that the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information is limited after the terminal randomly adds the multicast group, and the order is disturbed.
With reference to the fifteenth aspect, in a seventh possible implementation manner of the fifteenth aspect, the first request message further includes an identifier of the terminal; the gateway also comprises a sending unit;
a sending unit, configured to send a fifth request message to a home subscriber server HSS, where the fifth request message includes an identifier of a terminal and a current geographic location of the terminal, and the fifth request message is used for the HSS to query a network geographic location of the terminal according to the identifier of the terminal and determine that the network geographic location of the terminal covers the current geographic location of the terminal;
And the receiving unit is further configured to receive a response message of a fifth request message sent by the HSS, where the response message of the fifth request message includes information that the network geographic location of the terminal covers the current geographic location of the terminal.
On the basis of judging that the terminal can switch the multicast group based on the switching adjacency principle, the gateway determines whether the network geographic position of the terminal covers the current geographic position of the first multicast group address corresponding to the multicast group through the home subscriber server HSS according to the position covering principle, and when the network geographic position of the terminal covers the current geographic position, the gateway executes the terminal to join the multicast group corresponding to the first multicast group address, so that the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information is limited after the terminal randomly joins the multicast group, and the order is disturbed.
With reference to the fifteenth aspect, in an eighth possible implementation manner of the fifteenth aspect, the first request message further includes reference object information, where the reference object information includes an identifier of a reference object at a location where the terminal is located; the gateway also comprises a sending unit;
a sending unit, configured to send a sixth request message to the application server, where the sixth request message includes an identifier of the reference object and a first multicast group address, and the sixth request message is used for the application server to obtain, according to the sixth request message, a geographic location of the reference object and a geographic location corresponding to the first multicast group address from a home subscriber server HSS, and determine that the geographic location of the reference object covers the geographic location corresponding to the first multicast group address;
And the receiving unit is further configured to receive a response message of a sixth request sent by the application server, where the response message of the sixth request includes information that the geographic location of the reference object covers the geographic location corresponding to the first multicast group address.
On the basis of judging that the terminal can switch the multicast group based on the switching adjacency principle, the gateway determines whether the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address through the application server according to the reference matching principle, and when the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address, the gateway executes the terminal to join the multicast group corresponding to the first multicast group address, so that the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information is limited after the terminal randomly joins the multicast group, and the behavior of order disorder is avoided.
With reference to the fifteenth aspect, in a ninth possible implementation manner of the fifteenth aspect, the first request message further includes reference object information, where the reference object information includes an identifier of a reference object at a location where the terminal is located; the gateway also comprises a sending unit;
a sending unit, configured to send a seventh request message to a home subscriber server HSS, where the seventh request message includes an identifier of a reference object and a geographic location corresponding to the first multicast group address, and the seventh request message is used to obtain the geographic location of the reference object corresponding to the identifier of the reference object from the home subscriber server HSS, and determine that the geographic location of the reference object covers the geographic location corresponding to the first multicast group address;
And the receiving unit is further configured to receive a response message of the seventh request message sent by the HSS, where the response message of the seventh request message includes that the geographic location of the reference object covers the geographic location corresponding to the first multicast group address.
On the basis of judging that the terminal can switch the multicast group based on the switching adjacency principle, the gateway determines whether the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address through the attribution subscriber server according to the reference matching principle, and when the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address, the gateway executes the terminal to join the multicast group corresponding to the first multicast group address, so that the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information and rank order disorder behaviors after the terminal randomly joins the multicast group are further limited.
With reference to the fifteenth aspect, or any one of the foregoing possible implementation manners of the fifteenth aspect, in a tenth possible implementation manner of the fifteenth aspect, the processing unit is further configured to determine that a time difference between the reception of the first request message and the reception of the request message for the terminal to exit the multicast group corresponding to the second multicast group address satisfies a preset condition; the preset condition is that the time difference between the gateway receiving the first request message and the gateway receiving the request message for exiting the second multicast group is smaller than the shortest time consumed by the terminal crossing the geographic position corresponding to the second multicast group address and the geographic position corresponding to the multicast group address.
In a sixteenth aspect, there is provided an application server, comprising:
the receiving unit is used for receiving an acquisition request message sent by the gateway, wherein the acquisition request message comprises a first multicast group address and a second multicast group address, the first multicast group address is an address corresponding to a multicast group which a terminal requests to join, and the second multicast group address is an address corresponding to a multicast group which the terminal requests to quit;
the processing unit is used for acquiring the geographic position corresponding to the first multicast group address and the geographic position corresponding to the second multicast group address according to the acquisition request message and the association information of the multicast group address and the geographic position;
and the sending unit is used for sending a response message of the acquisition request message to the gateway, wherein the response message comprises the geographic position corresponding to the first multicast group address and the geographic position corresponding to the second multicast group address, so that the gateway can determine that the geographic position corresponding to the first multicast group address is adjacent to the geographic position corresponding to the second multicast group address.
Based on the adjacent switching principle, whether the geographic position corresponding to the second multicast group address requested to quit by the terminal is adjacent to the geographic position corresponding to the first multicast group address requested to join by the terminal is determined by the application server, and when the geographic positions are adjacent, a message is sent to inform the gateway, so that the gateway joins the terminal to the multicast group corresponding to the first multicast group address, the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information after the terminal randomly joins the multicast group is further limited, and the behavior of order disorder is avoided.
With reference to the sixteenth aspect, in a first possible implementation manner of the sixteenth aspect,
the receiving unit is further configured to receive a second request message sent by the gateway, where the second request message includes an identifier of the terminal;
the processing unit is further used for acquiring the network geographic position of the terminal according to the identifier of the terminal and determining that the network geographic position covers the geographic position corresponding to the first multicast group address;
and the sending unit is further configured to send a response message of the second request message to the gateway, where the response message includes information that the network geographic location covers a geographic location corresponding to the first multicast group address, and is used for the gateway to join the terminal to a multicast group corresponding to the first multicast group address.
On the basis of judging that the terminal can switch the multicast group according to the adjacent switching principle, the application server determines whether the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address according to the position covering principle, and when the network geographic position of the terminal covers the geographic position, a message is sent to inform the gateway, so that the gateway enables the terminal to be added into the multicast group corresponding to the first multicast group address, the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information after the terminal randomly adds the multicast group is further limited, and the behavior of order disorder is avoided.
With reference to the sixteenth aspect, in a second possible implementation manner of the sixteenth aspect,
the receiving unit is further configured to receive a fourth request message sent by the gateway, where the fourth request message includes an identifier of the terminal and a current geographic location, and the current geographic location is a geographic location where the terminal requests to join a multicast group corresponding to the first multicast group address;
the processing unit is also used for acquiring the network geographic position of the terminal according to the identifier of the terminal and determining that the network geographic position covers the current geographic position;
and the sending unit is further configured to send a response message of the fourth request message to the gateway, where the response message includes information that the network geographic location covers the current geographic location, and is used for the gateway to join the terminal to the multicast group corresponding to the first multicast group address.
On the basis of judging that the terminal can switch the multicast group according to the adjacent switching principle, the application server determines whether the network geographic position of the terminal covers the current geographic position of the multicast group corresponding to the first multicast group address requested by the terminal according to the position covering principle, and sends a message to inform the gateway when the network geographic position of the terminal covers the current geographic position, so that the gateway adds the terminal into the multicast group corresponding to the first multicast group address, the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information is further limited after the terminal randomly adds the multicast group, and the behavior of order disorder is avoided.
With reference to the sixteenth aspect, in a third possible implementation manner of the sixteenth aspect,
the receiving unit is further used for receiving a sixth request message sent by the gateway, wherein the sixth request message comprises the identifier of the reference object and the geo-multicast group address;
the processing unit is further used for acquiring the geographic position of the reference object according to the identifier of the reference object and determining that the geographic position of the reference object covers the geographic position corresponding to the first multicast group address;
and the sending unit is further configured to send a response message of the sixth request message to the gateway, where the response message includes information that the geographical position of the reference object covers the geographical position corresponding to the first multicast group address, and is used for the gateway to join the terminal to the multicast group corresponding to the first multicast group address.
On the basis of judging that the terminal can switch the multicast group according to the adjacent switching principle, the application server determines whether the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address according to the reference matching principle, and when the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address, a message is sent to inform the gateway, so that the gateway enables the terminal to be added into the multicast group corresponding to the first multicast group address, the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information is limited after the terminal randomly adds into the multicast group, and the order is disturbed.
With reference to the first or second possible implementation manner of the sixteenth aspect, in a fourth possible implementation manner of the sixteenth aspect, the acquiring, by the processing unit, a network geographic location of the terminal according to the identifier of the terminal includes:
the processing unit obtains the network geographic position of the terminal from a Home Subscriber Server (HSS) or a position server.
With reference to the third positive implementation manner of the sixteenth aspect, in a fifth possible implementation manner of the sixteenth aspect, the acquiring, by the processing unit, the geographic location of the reference object according to the identifier of the reference object includes:
the processing unit obtains the geographical position of the reference object from the home subscriber server HSS or the location server.
In a seventeenth aspect, there is provided a gateway, comprising:
the receiving unit is used for receiving a first request message sent by a terminal, wherein the first request message comprises a first multicast group address and an identifier of the terminal, and the first multicast group address is an address of a multicast group which the terminal requests to join;
the sending unit is used for sending a second request message to the application server, wherein the second request message comprises the identifier of the terminal and the first multicast group address, and the second request message is used for the application server to acquire the network geographic position of the terminal from a Home Subscriber Server (HSS) according to the identifier of the terminal and determine that the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address;
The receiving unit is also used for receiving a response message of the second request message sent by the application server;
the processing unit is used for adding the terminal into a multicast group corresponding to the first multicast group address;
and the response message of the second request message comprises the information that the network geographic position of the terminal covers the geographic position corresponding to the multicast address.
Based on the position covering principle, the gateway determines whether the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address through the application server, and when the network geographic position of the terminal covers the geographic position, the gateway executes the terminal to join the multicast group corresponding to the first multicast group address, so that the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, and further malicious rebroadcasting information and order disorder behaviors after the terminal randomly joins the multicast group are limited.
In one possible implementation form of the method,
the processing unit is further configured to determine that a time difference between the reception of the first request message and the reception of the request message for the terminal to request to exit the second multicast group address is greater than the shortest consumed time for the terminal to span the geographic position corresponding to the second multicast group address and the geographic position corresponding to the multicast group address;
the transmitting unit transmits the second request message to the application server.
In another possible implementation manner, the first request message further includes a current geographic location, and the current geographic location is a geographic location where the terminal is located when the terminal sends the first request message to the gateway.
In an eighteenth aspect, there is provided an application server comprising:
the receiving unit is used for receiving a second request message sent by the gateway, wherein the second request message comprises an identifier of the terminal and a first multicast group address, and the first multicast group address is an address corresponding to a multicast group which the terminal requests to join;
the processing unit is used for acquiring the network geographic position of the terminal from the home subscriber server HSS according to the identifier of the terminal and determining that the network address covers the geographic position corresponding to the first multicast group address;
and the sending unit is used for sending a response message of the second request message to the gateway, wherein the response message comprises information that the network geographic position covers the geographic position corresponding to the first multicast group address, and the response message is used for the gateway to join the terminal into the multicast group corresponding to the first multicast group address.
Based on the position covering principle, the application server determines whether the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address, and when the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address, the application server sends a message to inform the gateway, so that the gateway enables the terminal to be added into the multicast group corresponding to the first multicast group address, the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information is limited after the terminal randomly adds into the multicast group, and the behavior of order disorder is avoided.
In a nineteenth aspect, there is provided a gateway, comprising:
the receiving unit is used for receiving a first request message sent by a terminal, wherein the first request message comprises a first multicast group address, an identifier of the terminal and a current geographical position, the first multicast group address is an address of a multicast group which the terminal requests to join, and the current geographical position is a geographical position of the terminal when the terminal sends the first request message to the gateway;
the sending unit is used for sending a second request message to the application server, wherein the second request message comprises the identifier of the terminal and the current geographic position, and the second request message is used for the application server to acquire the network geographic position of the terminal from the Home Subscriber Server (HSS) according to the identifier of the terminal and determine that the network geographic position of the terminal covers the current geographic position of the terminal;
the receiving unit is also used for receiving a response message of the second request message sent by the application server;
the processing unit is used for adding the terminal into a multicast group corresponding to the multicast group address;
and the response message of the second request message comprises information that the network geographic position of the terminal covers the current geographic position of the terminal.
Based on the position covering principle, the gateway determines whether the network geographic position of the terminal covers the current geographic position of the terminal when the terminal requests the multicast group corresponding to the first multicast group address through the application server, and when the network geographic position of the terminal covers the current geographic position, the gateway executes the terminal to join the multicast group corresponding to the first multicast group address, so that the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information is limited after the terminal randomly joins the multicast group, and the behavior of order disorder is avoided.
In one possible implementation, the first and second switches are connected to a common bus,
the processing unit is further configured to determine that a time difference between the reception of the first request message and the reception of the request message for the terminal to exit the second multicast group is greater than the shortest consumed time for the terminal to span the geographic position corresponding to the second multicast group address and the geographic position corresponding to the multicast group address;
the transmitting unit transmits the second request message to the application server.
In a twentieth aspect, there is provided an application server comprising:
the receiving unit is used for receiving a second request message sent by the gateway, wherein the second request message comprises the identifier of the terminal and the current geographic position, and the current geographic position is the geographic position of the terminal when the terminal requests to join the multicast group corresponding to the first multicast group address;
the processing unit is used for acquiring the network geographic position of the terminal from the Home Subscriber Server (HSS) according to the identifier of the terminal and determining that the network geographic position of the terminal covers the current geographic position;
and the sending unit is used for sending a response message of the second request message to the gateway, wherein the response message comprises information that the network geographic position covers the current geographic position, and the information is used for the gateway to add the terminal to a multicast group corresponding to the first multicast group address.
Based on a position covering principle, an application server determines whether the network geographic position of a terminal covers the current geographic position of the terminal when the terminal requests a multicast group corresponding to a first multicast group address, and sends a message to inform a gateway when the network geographic position of the terminal covers the current geographic position of the terminal when the network geographic position of the terminal requests the multicast group corresponding to the first multicast group address, so that the terminal is enabled to join the terminal into the multicast group corresponding to the first multicast group address, the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information is limited after the terminal randomly joins the multicast group, and.
In a twenty-first aspect, there is provided a gateway, comprising:
a receiving unit, configured to receive a first request message sent by a terminal, where the first request message includes a first multicast group address and an identifier of the terminal; the first multicast group address is the address of the multicast group which the terminal requests to join;
the processing unit is used for acquiring the geographic position corresponding to the first multicast group address according to the first multicast group address;
a sending unit, configured to send a second request message to a home subscriber server HSS, where the second request message includes an identifier of a terminal and a geographic location corresponding to a first multicast group address, and the second request message is used for the HSS to query a network geographic location of the terminal according to the identifier of the terminal, and determine that the network geographic location of the terminal covers the geographic location corresponding to the first multicast group address;
The receiving unit is further used for receiving a response message of the second request message sent by the HSS;
the processing unit is further used for executing the terminal to join the multicast group corresponding to the first multicast group address according to the response message of the second request message;
and the response message of the second request message comprises that the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address.
Based on the position covering principle, the gateway determines whether the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address through the home subscriber server HSS, and when the network geographic position of the terminal covers the geographic position, the gateway executes the terminal to join the multicast group corresponding to the first multicast group address, so that the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, and further malicious rebroadcasting information and rank order disorder behaviors after the terminal randomly joins the multicast group are limited.
In one possible implementation of the method of the invention,
the processing unit is further configured to determine that a time difference between the reception of the first request message and the reception of the request message for the terminal to exit the second multicast group is greater than the shortest consumed time for the terminal to span the geographic position corresponding to the second multicast group address and the geographic position corresponding to the multicast group address;
the transmitting unit transmits the second request message to the application server.
In one possible implementation, the first request message further includes a current geographic location, and the current geographic location is a geographic location where the terminal is located when the terminal sends the first request message to the gateway.
In a twenty-second aspect, there is provided a home subscriber server, HSS, comprising:
the receiving unit is used for receiving a second request message sent by the gateway, wherein the second request message comprises the identifier of the terminal and the geographic position corresponding to the address of the first multicast group, and the first multicast group is the address corresponding to the multicast group which the terminal requests to join;
the processing unit is used for acquiring the network geographic position of the terminal according to the identifier of the terminal and determining that the network geographic position covers the geographic position corresponding to the first multicast group address;
and the sending unit is used for sending a response message of the second request message to the gateway, wherein the response message comprises information that the network geographic position covers the geographic position corresponding to the first multicast group address, and the response message is used for the gateway to join the terminal into the multicast group corresponding to the first multicast group address.
Based on a position covering principle, the HSS determines whether the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address, and when the network geographic position of the terminal covers the geographic position, a message is sent to inform the gateway, so that the gateway executes the terminal to join the multicast group corresponding to the first multicast group address, the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information is further limited after the terminal randomly joins the multicast group, and the behavior of order disorder is avoided.
In a twenty-third aspect, there is provided a gateway comprising:
the receiving unit is used for receiving a first request message sent by a terminal, wherein the first request message comprises a first multicast group address, an identifier of the terminal and a current geographical position, the first multicast group address is an address of a multicast group which the terminal requests to join, and the current geographical position is a geographical position of the terminal when the terminal sends the first request message to the gateway;
a sending unit, configured to send a second request message to a home subscriber server HSS, where the second request message includes a current geographic location and an identifier of a terminal, and the second request message is used for the HSS to query a network geographic location of the terminal according to the identifier of the terminal, and determine that the network geographic location covers the current geographic location;
the receiving unit is further used for receiving a response message of the second request message sent by the HSS;
the processing unit is used for executing the terminal to join the multicast group corresponding to the multicast group address according to the response message of the second request message;
and the response message of the second message comprises that the network geographic position of the terminal covers the current geographic position.
Based on the position covering principle, the gateway determines whether the network geographic position of the terminal covers the current geographic position of the multicast group corresponding to the first multicast group address through the home subscriber server HSS, and when the network geographic position of the terminal covers the current geographic position of the multicast group corresponding to the first multicast group address, the gateway executes the terminal to join the multicast group corresponding to the first multicast group address, so that the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information is limited after the terminal randomly joins the multicast group, and the behavior of order disorder is avoided.
In one possible implementation of the method of the invention,
the processing unit is further configured to determine that a time difference between the reception of the first request message and the reception of the request message for the terminal to exit the second multicast group is greater than the shortest consumed time for the terminal to span the geographic position corresponding to the second multicast group address and the geographic position corresponding to the multicast group address;
the transmitting unit transmits the second request message to the application server.
In a twenty-fourth aspect, there is provided a home subscriber server, HSS, comprising:
the receiving unit is used for receiving a second request message sent by the gateway, wherein the second request message comprises the current geographic position and the identifier of the terminal; the current geographic position is the geographic position of the terminal when the terminal requests to join the multicast group corresponding to the first multicast group address;
the processing unit is used for inquiring the network geographic position of the terminal according to the identifier of the terminal and determining that the network geographic position covers the current geographic position;
and the sending unit is used for sending a response message of the second request message to the gateway, wherein the response message comprises information that the network geographic position covers the current geographic position, and the information is used for the gateway to add the terminal to a multicast group corresponding to the first multicast group address.
Based on the position covering principle, the HSS determines whether the network geographic position of the terminal covers the current geographic position of the first multicast group address corresponding to the multicast group, and when the network geographic position of the terminal covers the current geographic position, a message is sent to inform the gateway, so that the gateway enables the terminal to be added into the multicast group corresponding to the first multicast group address, the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information is limited after the terminal randomly adds into the multicast group, and the order is disturbed is avoided.
In a twenty-fifth aspect, there is provided a gateway, comprising:
the terminal comprises a receiving unit, a sending unit and a receiving unit, wherein the receiving unit is used for receiving a first request message sent by the terminal, the first request message comprises a first multicast group address, and the first multicast group address is the address of a multicast group which the terminal requests to join;
the processing unit is used for acquiring reference object information, and the reference object information comprises an identifier of a reference object;
a sending unit, configured to send a second request message to an application server, where the second request message includes an identifier of a reference object and a first multicast group address, and the second request message is used for the application server to obtain a geographic location of the reference object from a home subscriber server HSS according to the identifier of the reference object, and determine that the geographic location of the reference object covers a geographic location corresponding to the first multicast group address;
the receiving unit is also used for receiving a response message of the second request sent by the application server;
the processing unit is further used for executing the terminal to join the multicast group corresponding to the first multicast group address according to the response message of the second message;
and the response message of the second message comprises the information that the geographical position of the reference object covers the geographical position corresponding to the first multicast group address.
Based on the reference matching principle, the gateway determines whether the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address through the application server, and when the network geographic position of the terminal covers the geographic position, the gateway executes the terminal to join the multicast group corresponding to the first multicast group address, so that the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information is limited after the terminal randomly joins the multicast group, and the order is disturbed.
In one possible implementation of the method of the invention,
the processing unit is further configured to determine that a time difference between the reception of the first request message and the reception of the request message for the terminal to exit the second multicast group is greater than the shortest consumed time for the terminal to span the geographic position corresponding to the second multicast group address and the geographic position corresponding to the multicast group address;
the processing unit acquires reference object information.
In one possible implementation, the first request message further includes a current geographic location, and the current geographic location is a geographic location where the terminal is located when the terminal sends the first request message to the gateway.
In a twenty-sixth aspect, there is provided an application server comprising:
the receiving unit is used for receiving a second request message sent by the gateway, wherein the second request message comprises an identifier of a reference object and a first multicast group address, and the first multicast group address is an address corresponding to a multicast group which a terminal requests to join;
the processing unit is used for acquiring the geographic position of the reference object from the Home Subscriber Server (HSS) according to the identifier of the reference object and determining that the geographic position of the reference object covers the geographic position corresponding to the first multicast group address;
and the sending unit is used for sending a response message of the second request message to the gateway, wherein the response message comprises information that the geographical position of the reference object covers the geographical position corresponding to the first multicast group address, and the response message is used for the gateway to join the terminal into the multicast group corresponding to the first multicast group address.
Based on the reference matching principle, the application server determines whether the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address, and when the network geographic position of the terminal covers the geographic position, the gateway executes the terminal to join the multicast group corresponding to the first multicast group address, so that the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information is limited after the terminal randomly joins the multicast group, and the order is disturbed.
In a twenty-seventh aspect, there is provided a gateway, comprising:
the terminal comprises a receiving unit, a sending unit and a receiving unit, wherein the receiving unit is used for receiving a first request message sent by the terminal, the first request message comprises a first multicast group address, and the first multicast group address is the address of a multicast group which the terminal requests to join;
the processing unit is used for acquiring reference object information, and the reference object information comprises an identifier of a reference object;
the processing unit is further used for acquiring the geographic position corresponding to the multicast group address from the application server according to the first multicast group address;
a sending unit, configured to send a second request message to a home subscriber server HSS, where the second request message includes an identifier of a reference object and a geographic location corresponding to the first multicast group address, and the second request message is used to obtain, from the home subscriber server HSS, the geographic location of the reference object corresponding to the identifier of the reference object, and determine that the geographic location of the reference object covers the geographic location corresponding to the multicast group address;
The receiving unit is further used for receiving a response message of the second request message sent by the HSS;
the processing unit is also used for adding the terminal into a multicast group corresponding to the multicast group address;
and the response message of the second request message comprises the geographic position of the reference object covering the geographic position corresponding to the first multicast group address.
On the basis of judging that the terminal can switch the multicast group based on the switching adjacency principle, the gateway determines whether the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address through the attribution subscriber server according to the reference matching principle, and when the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address, the gateway executes the terminal to join the multicast group corresponding to the first multicast group address, so that the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information and rank order disorder behaviors after the terminal randomly joins the multicast group are further limited.
In one possible implementation of the method of the invention,
the processing unit is further configured to determine that a time difference between the reception of the first request message and the reception of the request message for the terminal to exit the second multicast group is greater than the shortest consumed time for the terminal to span the geographic position corresponding to the second multicast group address and the geographic position corresponding to the first multicast group address;
The processing unit acquires reference object information.
In one possible implementation, the first request message further includes a current geographic location, and the current geographic location is a geographic location where the terminal is located when the terminal sends the first request message to the gateway.
In a twenty-eighth aspect, there is provided a home subscriber server, HSS, comprising:
the receiving unit is used for receiving a second request message sent by the gateway, wherein the second request message comprises the identifier of the reference object and the geographic position corresponding to the first multicast group address, and the first multicast group address is an address corresponding to a multicast group which the terminal requests to join;
the processing unit is used for inquiring the geographic position of the reference object according to the identifier of the reference object and determining that the geographic position of the reference object covers the geographic position corresponding to the first multicast group address;
and the sending unit is used for sending a response message of the second request message to the gateway, wherein the response message comprises information that the geographical position of the reference object covers the geographical position corresponding to the first multicast group address, and the response message is used for the gateway to join the terminal into the multicast group corresponding to the first multicast group address.
Based on the reference matching principle, the attribution subscriber server determines whether the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address, and when the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address, a message is sent to inform the gateway, so that the gateway enables the terminal to be added into the multicast group corresponding to the first multicast group address, the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information is limited after the terminal randomly adds into the multicast group, and the behavior of order disorder is avoided.
In a twenty-ninth aspect, there is provided a gateway comprising a receiver, a transmitter, a processor and a memory, wherein the transmitter and receiver are configured to receive and transmit data, the memory is configured to store data and program instructions, the processor is configured to execute the program instructions stored in the memory, such that the gateway performs the method of the first aspect or any possible implementation of the first aspect, or to cause a gateway to perform the method of the third aspect or any possible implementation form of the third aspect, or a method of the fifth aspect or a possible implementation thereof, or a method of any of the possible implementations of the seventh aspect or the seventh aspect, or a method of the ninth aspect or a possible implementation thereof, or a method of any one of the possible implementations of the eleventh aspect or the eleventh aspect, or a method of any one of the possible implementations of the thirteenth aspect or the thirteenth aspect.
In a thirty-first aspect, there is provided an application server for storing data and program instructions, and a processor for executing the program instructions stored in the memory to cause the application server to perform the method of the second aspect or any of the possible implementations of the second aspect, or to cause the application server to perform the method of the fourth, sixth, or twelfth aspect.
In a thirty-first aspect, there is provided a home subscriber server, HSS, for storing data and program instructions, the processor being configured to execute the program instructions stored in the memory to cause the HSS to perform the method of the eighth, tenth or fourteenth aspect.
A thirty-second aspect provides a computer storage medium for storing a program that, when executed, performs a method of any one of the first aspect or any one of the possible implementations of the first aspect to the fourteenth aspect or any one of the possible implementations of the fourteenth aspect.
Based on the method for switching the multicast group by the terminal in the Internet of vehicles and the gateway, the gateway switches the multicast group by determining that the geographic position corresponding to the multicast group address to which the terminal is to be switched is adjacent to the geographic position corresponding to the multicast group address to which the terminal is to quit, or determines that the geographic position corresponding to the multicast group address to which the terminal is to be switched is covered by the network address, so that the terminal is prevented from switching the multicast group at will, malicious rebroadcasting information after the terminal joins the multicast group at will is further limited, and the behavior of order disorder is avoided.
Drawings
FIG. 1 is a diagram of a system architecture according to an embodiment of the present invention;
FIG. 2 is a flow chart of information transfer using multicast groups in the Internet of vehicles;
fig. 3 is a flowchart of a method for a terminal to switch a multicast group according to an embodiment of the present invention;
fig. 4 is a flowchart of a method for a terminal to switch a multicast group according to an embodiment of the present invention;
fig. 5 is a flowchart of another method for a terminal to switch a multicast group according to an embodiment of the present invention;
fig. 6 is a flowchart of another method for a terminal to switch a multicast group according to an embodiment of the present invention;
fig. 7 is a flowchart of another method for a terminal to switch a multicast group according to an embodiment of the present invention;
fig. 8 is a flowchart of another method for a terminal to switch a multicast group according to an embodiment of the present invention;
fig. 9 is a flowchart of another method for a terminal to switch a multicast group according to an embodiment of the present invention;
fig. 10 is a flowchart of a method for a terminal to switch a multicast group according to another embodiment of the present invention;
fig. 11 is a flowchart of a method for switching a multicast group by a terminal according to another embodiment of the present invention;
fig. 12 is a flowchart of a method for switching a multicast group by a terminal according to another embodiment of the present invention;
fig. 13 is a flowchart of a method for switching a multicast group by a terminal according to another embodiment of the present invention;
fig. 14 is a flowchart of a method for switching a multicast group by a terminal according to another embodiment of the present invention;
Fig. 15 is a flowchart of a method for switching a multicast group by a terminal according to another embodiment of the present invention;
fig. 16 is a flowchart of a method for switching a multicast group by a terminal according to another embodiment of the present invention;
fig. 17 is a flowchart of a method for a terminal to switch a multicast group according to an embodiment of the present invention;
fig. 18 is a flowchart of a method for a terminal to switch a multicast group according to an embodiment of the present invention;
fig. 19 is a flowchart of a method for a terminal to switch a multicast group according to an embodiment of the present invention;
fig. 20 is a flowchart of a method for a terminal to switch a multicast group according to an embodiment of the present invention;
fig. 21 is a flowchart of a method for a terminal to switch a multicast group according to an embodiment of the present invention;
fig. 22 is a flowchart of a method for a terminal to switch a multicast group according to an embodiment of the present invention;
fig. 23 is a flowchart of a method for switching a multicast group by a terminal according to another embodiment of the present invention;
fig. 24 is a schematic structural diagram of a gateway according to an embodiment of the present invention;
fig. 25 is a schematic structural diagram of an application server according to an embodiment of the present invention;
fig. 26 is a schematic structural diagram of an HSS according to an embodiment of the present invention;
fig. 27 is a schematic structural diagram of another gateway according to an embodiment of the present invention;
Fig. 28 is a schematic structural diagram of another application server according to an embodiment of the present invention;
fig. 29 is a schematic structural diagram of another HSS according to an embodiment of the present invention.
Detailed Description
In 3GPP, an LTE-V (Long term evolution-vehicle networking) communication technology supporting two communication modes of PC5/Uu and an application scenario in 4 (comprising V2V, V2P, V2N and V2I, referred to as V2X) are defined. A system architecture of LTE-V defined by 3GPP is shown in fig. 1, where a V2X Application Server (AS), a V2X Control Function (CF) device, and a V2X application program (application) device are all network elements newly added on the basis of the LTE system architecture of 3 GPP. The V2X AS is responsible for V2X service logic processing, and the V2X CF is responsible for V2X service authentication authorization. User Equipment (UE) is connected with the UE through a PC5 interface, and the UE is connected with an Evolved UMTS Terrestrial Radio Access Network (E-UTRAN) through a Uu interface. In the V2V application scenario, the vehicle may issue a V2V message via the PC5 or Uu. In the embodiment of the present invention, a vehicle may be referred to as a terminal, and may also be referred to as a user equipment.
The IETF defines a series of rfc(s) for IP multicast, and the principle thereof is that the IETF requires a participating message receiver to join a multicast group to receive all messages in a reorganization, and any sender, whether being a member in the multicast group or not, can receive the message sent by the sender by sending the message to the multicast group corresponding to the multicast group address. The IP multicast is applied to the V2X scenario, and the specific usage process is shown in fig. 2.
In fig. 2, a V2X UE sends a request message including a UE Identity (ID) and information for authentication and authorization to a V2X CF; after the V2X CF completes verification authorization on the UE and passes the verification authorization, sending a response message to the UE, wherein the response message comprises an authorized V2X service list and the address of the V2X AS; after receiving the response message, the UE sends a request message to the AS corresponding to the address of V2X AS, where the request message includes a UE ID to request to acquire a geographical multicast DB (GeDB) covered by the AS, and after receiving the GeDB information sent by the AS, the UE sends request information for joining a multicast group to a gateway (S/PGW), joins the requested multicast group, and sends a CAM message to the gateway, and the gateway forwards the multicast CAM message after receiving the CAM message.
In the internet of vehicles, considering the change of the geographic location when vehicles switch multicast groups, when the multicast group is required to be switched, the vehicles need to request to exit the old multicast group geography and join the multicast group corresponding to the new multicast group address corresponding to the new geographic location.
Based on the above requirement for switching multicast groups with geographical location change, embodiments of the present invention provide a method and a gateway for a terminal to switch multicast groups in an internet of vehicles, where when the terminal requests a gateway to switch multicast groups, the terminal determines whether the terminal can switch multicast groups according to three predetermined criteria, namely, a switching adjacency criterion, a location coverage criterion, and a reference matching criterion, and when a condition for switching multicast groups by the terminal satisfies any one of the three criteria, the gateway adds the terminal to the requested multicast group according to the request of the terminal, thereby preventing the terminal from being maliciously switched to a multicast group that is not matched with the geographical location of the terminal, and spreading malicious messages and disturbing the order.
The adjacent switching principle is that geographic positions corresponding to new and old multicast group addresses are adjacent; the position covering principle is that the current geographical position carried in the terminal switching multicast group request message or the geographical position corresponding to the new multicast address is covered by the network geographical position of the terminal; and according to the matching principle, covering the geographical position corresponding to the new multicast group address carried in the terminal switching multicast group request message by the acquired geographical position of the reference object.
It should be noted that the embodiments of the present invention mainly relate to a scenario in which a terminal switches multicast groups, and therefore, a premise of the scheme is that the terminal has acquired association information between a geographic location and a multicast group address to V2X AS and joined to a corresponding multicast group. When the terminal identifies that the terminal moves out of the geographic position coverage range corresponding to the currently added multicast group address, the terminal requests a gateway (S/PGW) to exit the currently added multicast group, the request comprises the address of the current multicast group and the identifier of the terminal, the gateway verifies the identity of the terminal after receiving the request sent by the terminal and inquires whether the terminal is currently in the multicast group corresponding to the multicast group address, if the identity verification is passed and the terminal is in the multicast group corresponding to the multicast group address, the terminal is executed to exit the multicast group and record the time for exiting the multicast group, and result information is returned to the terminal.
The following describes aspects of embodiments of the present invention with reference to the drawings. The references to "first", "second", "third", "fourth", "fifth", "sixth", "seventh" and "eighth" hereinafter are merely for the purpose of distinguishing the request message and do not limit the request message itself. In the embodiment of the present invention, an address corresponding to a multicast group to which a terminal requests to join is referred to as a first multicast group address or a new multicast group address, and an address corresponding to a multicast group to which a terminal requests to quit is referred to as a second multicast group address or an old multicast group address.
First, the technical solution of the embodiment of the present invention is described with reference to fig. 3 and 4, where fig. 3 and 4 are used for determining whether a terminal satisfies a condition for switching a multicast group based on a switching neighbor principle. The switching adjacency principle in fig. 3 is implemented by the gateway (S/PW) executing judgment, and the switching adjacency principle in fig. 4 is implemented by the V2X AS executing judgment.
Fig. 3 is a flowchart of a method for a terminal to switch a multicast group according to an embodiment of the present invention. As shown in fig. 3, the method may include the steps of:
s101, the gateway receives a first request message sent by the terminal.
The terminal determines a multicast group to be added according to the association information of the geographical position and the multicast group address, and sends a first request message to the gateway to request to join a new multicast group, wherein the first request message comprises the new multicast group address, namely the first multicast group address.
Optionally, in an embodiment, when a time difference between the gateway receiving the first request message and the gateway receiving the request message for exiting the multicast group corresponding to the second multicast group address satisfies a preset condition, S102 is executed, otherwise, terminal switching failure information is returned or the process of switching the multicast group is terminated.
In the embodiment of the present invention, the preset condition may be that a time difference between before and after the terminal switches the first multicast group and the second multicast group is smaller than the shortest consumed time of the terminal passing through the geographic position corresponding to the second multicast group and the geographic position corresponding to the first multicast group; in other words, the time difference between before and after the terminal switches the new multicast group is smaller than the shortest time taken for the terminal to travel through the geographic position corresponding to the old multicast group and the geographic position corresponding to the new multicast group.
The shortest consumed time of the terminal passing through the geographic position corresponding to the old multicast group and the geographic position corresponding to the new multicast group may specifically be calculated by selecting a straight-line distance of a center point of a geographic position area corresponding to the new and old multicast group and calculating the shortest consumed time with the highest speed of travel of the terminal on the road segment. And if the geographical position area corresponding to the new multicast group and the old multicast group has mountains or rivers crossing over and can not detour, selecting the shortest detour route and selecting the speed per hour matched with the road section in a segmented mode to calculate the shortest time consumption. In the embodiment of the present invention, the calculation method for calculating the shortest time is not limited.
Optionally, in an embodiment, the first request message may further include a current geographic location, where the terminal is located when the terminal requests to join the new multicast group. The shortest time consumed by the terminal to pass through the geographic position corresponding to the old multicast group and the geographic position corresponding to the new multicast group may specifically be: and calculating the shortest time consumption of the type of vehicle crossing the area according to the longitude and latitude of the current geographic position, for example, calculating the shortest time consumption according to the straight-line distance between the longitude and latitude of the geographic position corresponding to the old multicast group and the longitude and latitude of the current geographic position and the highest speed per hour of the vehicle on the road section.
S102, the gateway acquires the geographic position corresponding to the first multicast group address and the geographic position corresponding to the second multicast group.
The second multicast group address is an address corresponding to the multicast group which the terminal requests to quit.
In one embodiment, the gateway is pre-configured with association information of multicast group addresses and geographic locations, and the association information includes correspondence information between a plurality of multicast group addresses and their corresponding geographic locations. The acquiring, by the gateway, the geographic location corresponding to the first multicast group address and the geographic location corresponding to the second multicast group address may include: and the gateway searches the geographical position corresponding to the first multicast group address and the geographical position corresponding to the second multicast group address from the association information of the multicast group addresses and the geographical positions.
In another embodiment, the gateway may send a request message to the application server AS to request to acquire the geographic location corresponding to the first multicast group address and the geographic location corresponding to the second multicast group address; and after receiving the request message, the AS sends the geographic position corresponding to the first multicast group address and the geographic position corresponding to the second multicast group address to the gateway.
S103, the gateway determines whether the geographic position corresponding to the first multicast group address is adjacent to the geographic position corresponding to the second multicast group address.
The gateway may determine whether the geographic location is adjacent according to the longitude and latitude of the geographic location corresponding to the first multicast group address and the longitude and latitude of the geographic location corresponding to the second multicast group address.
And executing S104 when the geographic position corresponding to the first multicast group address is adjacent to the geographic position corresponding to the second multicast group address, otherwise, returning the terminal switching identification information or terminating the process of switching the multicast group.
S104, the gateway adds the terminal into the multicast group corresponding to the first multicast group address.
Based on the adjacent switching principle, the gateway judges whether the geographic position corresponding to the address of the second multicast group requested to be switched and quit by the terminal is adjacent to the geographic position corresponding to the address of the first multicast group, and when the geographic position corresponding to the address of the first multicast group is adjacent, the terminal can be determined to be switched to the multicast group corresponding to the address of the first multicast group, so that the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information is limited after the terminal randomly joins the multicast group, and the behavior of order disorder is avoided.
Fig. 4 is a flowchart of another method for a terminal to switch a multicast group according to an embodiment of the present invention, and as shown in fig. 4, the method may include the following steps:
s201, the gateway receives a first request message sent by the terminal.
The terminal determines a multicast group to be added according to the association information of the geographical position and the multicast group address, and sends a first request message to the gateway to request to join a new multicast group, wherein the first request message comprises the new multicast group address, namely the first multicast group address.
Optionally, after receiving the first request message sent by the terminal, the gateway determines whether a time difference between a time when the first request message is received and a time when the request message exiting the second multicast group is received satisfies a preset condition.
Optionally, in this embodiment of the present invention, the preset condition may be that the terminal travels the shortest time between the geographic location corresponding to the second multicast group address and the geographic location corresponding to the first multicast group address. And requesting to switch the multicast group corresponding to the second multicast group address and the multicast group corresponding to the first multicast group address, wherein the time difference is less than the shortest time consumption for traveling through the geographical position of the multicast group, executing S202, and otherwise, terminating the multicast group switching.
Optionally, in an embodiment of the present invention, the first request message may further include a current geographic location where the terminal is located when the terminal sends the first request message to the gateway. The current geographic location may be used for the gateway to calculate a minimum elapsed time for the vehicle to travel through the geographic location corresponding to the first multicast group address and the geographic location corresponding to the second multicast group address.
S202, the gateway sends a second request message to the application server.
The second request message includes the first multicast group address and the second multicast group address.
S203, the application server obtains the geographic position corresponding to the first multicast group address and the geographic position corresponding to the second multicast group address according to the associated information of the geographic position and the multicast group address, and determines whether the geographic position corresponding to the first multicast group address is adjacent to the geographic position corresponding to the second multicast group address.
S204, the application server sends a response message to the gateway.
The response message is a response message of the second request message, and the response message may include information that a geographic position corresponding to the first multicast group address is not adjacent to a geographic position corresponding to the second multicast group address, or information that a geographic position corresponding to the first multicast group address is adjacent to a geographic position corresponding to the second multicast group address.
When the geographic location corresponding to the first multicast group address is adjacent to the geographic location corresponding to the second multicast group address, S205 is performed, otherwise, the handover is terminated.
S205, the gateway adds the terminal into the multicast group corresponding to the first multicast group address.
Based on the adjacent switching principle, the gateway judges whether the geographic position corresponding to the second multicast group address and the geographic position corresponding to the first multicast group address are adjacent or not by the application server, and when the geographic positions are adjacent, the gateway sends a message to inform the gateway so that the gateway adds the terminal into the multicast group corresponding to the first multicast group address, thereby avoiding that the terminal randomly switches the multicast group which is not matched with the current geographic position, further limiting the behavior of malicious rebroadcasting information and order disorder after the terminal randomly adds into the multicast group.
Next, the technical solution of the present invention is described with reference to fig. 5 to 8, where fig. 5 to 8 are used for determining whether the terminal satisfies the condition for switching the multicast group based on the location coverage principle. The location coverage principle in fig. 5 and fig. 6 is implemented by the application server executing the determination, and the location coverage principle in fig. 7 and fig. 8 is implemented by the Home Subscriber Server (HSS) executing the determination.
Fig. 5 is a flowchart of a method for a terminal to switch a multicast group according to an embodiment of the present invention. As shown in fig. 5, the method may include the steps of:
s301, the terminal sends a first request message to the gateway.
The terminal determines a multicast group to be added according to the association information of the geographical position and the multicast group address, and sends a first request message to the gateway to request to join a new multicast group. In other words, the gateway receives the first request message sent by the terminal. The first request message comprises an identification of the terminal and a new multicast group address, i.e. a first multicast group address.
S302, the gateway sends a second request message to the application server.
The second request message includes an identification of the terminal and the first multicast group address.
S303, the application server acquires the network geographic position of the terminal.
In the embodiment of the present invention, the application server may obtain the network geographic location of the terminal from the HSS, and the specific process may be as follows: an application server sends a request message to an HSS, wherein the request message comprises an identifier of a terminal; after receiving the request message including the terminal identification, the HSS inquires the network geographic position corresponding to the terminal identification and sends the network geographic position of the terminal to the application server.
S304, the application server determines whether the geographic position corresponding to the first multicast group address is covered by the network geographic position of the terminal according to the first multicast group address and the network geographic position of the terminal.
And the application server inquires the geographical position corresponding to the first multicast group address according to the associated information of the geographical position and the multicast group address and determines whether the geographical position is covered by the network geographical position of the terminal.
S305, the application server sends a response message to the gateway.
The response message is a response message of the second request message. The response message may include information that the geographical location corresponding to the first multicast group address is covered by the network geographical location of the terminal, or that the geographical location corresponding to the first multicast group address is not covered by the network geographical location of the terminal.
When the response message includes the information that the geographic position corresponding to the first multicast group address is covered by the network geographic position of the terminal, S306 is executed, otherwise, the switching of the multicast group of the terminal is terminated.
S306, the gateway adds the terminal into the multicast group corresponding to the first multicast group address.
Optionally, in an embodiment of the present invention, before the gateway sends the second request message to the application server, the method may further include:
the gateway determines whether the time difference between the receipt of the first request message and the receipt of the request by the terminal to exit the second multicast group address is greater than the shortest elapsed time for the terminal Kuai to cross the geographic location corresponding to the second multicast group address and the geographic location corresponding to the first multicast group address; and when the time difference is larger than the shortest time consumption, the gateway sends a second request message to the application server.
Optionally, in an embodiment of the present invention, the first request message further includes a current geographic location where the terminal transmits the first request message to the gateway.
Based on the position covering principle, whether the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address is determined by the application server, and when the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address, the gateway executes the terminal to join the multicast group corresponding to the first multicast group address, so that the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information is limited after the terminal randomly joins the multicast group, and the order is disturbed.
Fig. 6 is a flowchart of another method for a terminal to switch a multicast group according to an embodiment of the present invention. As shown in fig. 6, the method may include the steps of:
s401, the gateway receives a first request message sent by the terminal.
The first request message may include an identification of the terminal, the first multicast group address and the current geographical location. The current geographical location referred to herein is the geographical location at which the terminal sent the first request message to the gateway.
S402, the gateway sends a second request message to the application server.
The second request message includes an identification of the terminal and a current geographical location.
S403, the application server obtains the network geographic position of the terminal according to the identifier of the terminal.
In the embodiment of the present invention, the application server may obtain the network geographic location of the terminal from the HSS, and the specific process may be as follows: an application server sends a request message to an HSS, wherein the request message comprises an identifier of a terminal; and the HSS inquires the network geographic position of the terminal according to the identifier of the terminal and sends the network geographic position of the terminal to the application server.
S404, the application server determines whether the current geographic position is covered by the network geographic position of the terminal.
S405, the application server sends a response message to the gateway.
The response message is a response message of the second request message. The response message may include information that the current geographical location is covered by the network geographical location, or that the current geographical location is not covered by the network geographical location of the terminal.
When the response message includes the information that the current geographical location is covered by the network geographical location, S406 is executed, otherwise, the multicast group switching of the terminal is terminated.
S406, the gateway adds the terminal into the multicast group corresponding to the first multicast group address.
Optionally, when the gateway finishes joining the multicast group corresponding to the first multicast group address by the terminal, the gateway sends a response message to the terminal, where the response message is a response message of the first request message, and the response message includes information that the terminal joins the multicast group corresponding to the first multicast group address.
Optionally, in an embodiment of the present invention, before the gateway sends the second request message to the application server, the method may further include:
the gateway determines whether the time difference between the receipt of the first request message and the receipt of the request by the terminal to exit the second multicast group address is greater than the shortest elapsed time for the terminal Kuai to cross the geographic location corresponding to the second multicast group address and the geographic location corresponding to the first multicast group address; and when the time difference is larger than the shortest time consumption, the gateway sends a second request message to the application server.
Based on the position covering principle, whether the network geographic position of the terminal covers the current geographic position of the multicast group corresponding to the first multicast group address requested by the terminal is determined by the application server, and when the network geographic position of the terminal covers the current geographic position, the gateway executes the terminal to join the multicast group corresponding to the first multicast group address, so that the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information is limited after the terminal randomly joins the multicast group, and the behavior of order disorder is avoided.
Fig. 7 is a flowchart of another method for a terminal to switch a multicast group according to an embodiment of the present invention. As shown in fig. 7, the method may include the steps of:
s501, the gateway receives a first request message sent by the terminal.
The first request message includes a first multicast group address and an identification of the terminal.
S502, the gateway acquires the geographic position corresponding to the first multicast group address according to the first multicast group address.
In an embodiment, the gateway may obtain the geographic location corresponding to the first multicast group address from the application server, and the specific process may be as follows: the gateway sends a request message including a first multicast group address to the application server; the application server searches the geographical position corresponding to the first multicast group address and sends the geographical position corresponding to the first multicast group address to the gateway.
In one embodiment, the gateway may query the geographical location corresponding to the first multicast group address from the association information of the multicast group address and the geographical location.
S503, the gateway sends the second request message to the HSS.
The second request message includes an identification of the terminal and a geographic location corresponding to the first multicast group address.
S504, the HSS inquires the network geographic position of the terminal according to the identification of the terminal and determines whether the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address.
S505, the HSS sends a response message to the gateway.
The response message is a response message of the second request message. The response message may include information that the network geographical location of the terminal covers the geographical location corresponding to the first multicast group address, or that the network geographical location of the terminal does not cover the geographical location corresponding to the first multicast group address.
When the response message includes that the network geographical location of the terminal covers the geographical location corresponding to the first multicast group address, S506 is executed.
S506, the gateway adds the terminal into the multicast group corresponding to the first multicast group address.
Optionally, when the gateway finishes joining the multicast group corresponding to the first multicast group address by the terminal, the gateway sends a response message to the terminal, where the response message is a response message of the first request message, and the response message includes information that the terminal joins the multicast group corresponding to the first multicast group address.
Optionally, in an embodiment of the present invention, before the gateway sends the second request message to the application server, the method may further include:
the gateway determines whether the time difference between the receipt of the first request message and the receipt of the request by the terminal to exit the second multicast group address is greater than the shortest elapsed time for the terminal Kuai to cross the geographic location corresponding to the second multicast group address and the geographic location corresponding to the first multicast group address; and when the time difference is larger than the shortest time consumption, the gateway sends a second request message to the application server.
Optionally, in an embodiment of the present invention, the first request message may further include a current geographic location, where the current geographic location is the geographic location where the terminal is located when the terminal sends the first request message to the gateway.
Based on a position covering principle, whether the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address is determined by the home subscriber server HSS, and when the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address, the gateway executes the terminal to join the multicast group corresponding to the first multicast group address, so that the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, and further malicious rebroadcasting information and order disorder behaviors after the terminal randomly joins the multicast group are limited.
Fig. 8 is a flowchart of another method for a terminal to switch a multicast group according to an embodiment of the present invention. As shown in fig. 8, the method may include the steps of:
s601, the gateway receives a first request message sent by the terminal.
The first request message includes the first multicast group address, the identity of the terminal and the current geographical location. The current geographical location here refers to the geographical location where the terminal sent the first request message to the gateway.
S602, the gateway sends a second request message to the HSS.
The second request message includes the current geographical location and the identity of the terminal.
S603, the HSS inquires the network geographic position of the terminal according to the identifier of the terminal and determines whether the network geographic position of the terminal covers the current geographic position.
S604, the HSS sends a response message to the gateway.
The response message is a response message of the second request message. The response message may include information that the network geographical location of the terminal covers the current geographical location, or that the network geographical location of the terminal does not cover the current geographical location.
When the response message includes the information that the network geographical position of the terminal covers the current geographical position, S605 is executed, otherwise, the terminal switches the multicast group.
S605, the gateway adds the terminal into the multicast group corresponding to the first multicast group address.
Optionally, when the gateway finishes joining the multicast group corresponding to the first multicast group address by the terminal, the gateway sends a response message to the terminal, where the response message is a response message of the first request message, and the response message includes information that the terminal joins the multicast group corresponding to the first multicast group address.
Optionally, in an embodiment of the present invention, before the gateway sends the second request message to the application server, the method may further include:
the gateway determines whether the time difference between the receipt of the first request message and the receipt of the request by the terminal to exit the second multicast group address is greater than the shortest elapsed time for the terminal Kuai to cross the geographic location corresponding to the second multicast group address and the geographic location corresponding to the first multicast group address; and when the time difference is larger than the shortest time consumption, the gateway sends a second request message to the application server.
Based on a position covering principle, whether the network geographic position of the terminal covers the current geographic position of the multicast group corresponding to the first multicast group address is determined by the home subscriber server HSS, and when the network geographic position of the terminal covers the current geographic position of the multicast group corresponding to the first multicast group address, the gateway executes the terminal to join the multicast group corresponding to the first multicast group address, so that the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information is limited after the terminal randomly joins the multicast group, and the behavior of order disorder is prevented.
Again, the technical solution of the present invention is described with reference to fig. 9 and 10, and fig. 9 and 10 are based on the criterion of determining whether the terminal satisfies the condition for switching the multicast group with reference to the matching principle. Fig. 9 is implemented by the application server performing the determination, and fig. 10 is implemented by the HSS performing the determination.
Fig. 9 is a flowchart of a method for a terminal to switch a multicast group according to an embodiment of the present invention. As shown in fig. 9, the method may include the steps of:
s701, the gateway receives a first request message sent by the terminal.
The first request message includes a first multicast group address.
S702, the gateway acquires the reference object information.
In the embodiment of the present invention, a gateway sends a request message to a terminal, where the request message includes a verification reference notification (verify reference notification); the terminal transmits a response message including the reference object information to the gateway. Wherein the reference object information includes an identification of the reference object.
S703, the gateway sends a second request message to the application server.
The second request message includes an identification of the reference and the first multicast group address.
S704, the application server acquires the geographic position of the reference object according to the identification of the reference object.
In the embodiment of the present invention, the gateway may obtain the geographical location of the reference object from the HSS, and the specific process may be as follows: the application server sends a request message including the identifier of the reference object to the HSS; and the HSS inquires the geographic position of the reference object according to the identifier of the reference object and sends the geographic position of the reference object to the application server.
S705, the application server determines whether the geographic location of the reference object covers the geographic location corresponding to the first multicast group address.
The application server inquires the geographic position corresponding to the first multicast group address according to the association information of the geographic position and the multicast group address, and then determines whether the geographic position of the reference object covers the geographic position corresponding to the first multicast group address.
S706, the application server sends a response message to the gateway.
The response message is a response message to the second request message. The response message may include information that the geographical location of the reference object covers the geographical location corresponding to the first multicast group address, or information that the geographical location of the reference object does not cover the geographical location corresponding to the first multicast group address.
When the response message includes the information that the geographical position of the reference object covers the geographical position corresponding to the first multicast group address, S707 is executed, otherwise, the multicast group switching of the terminal is terminated.
S707, the gateway adds the terminal to the multicast group corresponding to the first multicast group address.
Optionally, in an embodiment of the present invention, before the gateway obtains the reference object information, the method further includes:
the gateway determines whether the time difference between the receipt of the first request message and the receipt of the request message of the terminal for exiting the second multicast group is greater than the shortest time consumption of the terminal for crossing the geographic position corresponding to the second multicast group address and the geographic position corresponding to a multicast group address; and when the time difference is larger than the shortest time, the gateway acquires the reference object information.
Optionally, in an embodiment of the present invention, the first request message further includes a current geographic location, where the current geographic location is the geographic location of the terminal when the terminal sends the first request message to the gateway.
And based on a reference matching principle, determining whether the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address through the application server, and when the network geographic position of the terminal covers the geographic position, the gateway executes the terminal to join the multicast group corresponding to the first multicast group address, so that the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, and further malicious rebroadcasting information and order disorder behaviors after the terminal randomly joins the multicast group are limited.
Fig. 10 is a flowchart of another method for a terminal to switch a multicast group according to an embodiment of the present invention. As shown in fig. 10, the method may include the steps of:
s801, the gateway receives a first request message sent by the terminal.
The first request message includes a first multicast group address.
S802, the gateway acquires the reference object information.
In the embodiment of the present invention, a gateway sends a request message to a terminal, where the request message includes a verification reference notification (verify reference notification); the terminal transmits a response message including the reference object information to the gateway. Wherein the reference object information includes an identification of the reference object.
And S803, the gateway acquires the geographic position corresponding to the first multicast group address according to the first multicast group address.
In the embodiment of the present invention, the gateway may obtain the geographic location corresponding to the first multicast group address from the application server, and a specific process thereof may be that the gateway sends a request message including the first multicast group address to the application server; the application server inquires the geographic position corresponding to the first multicast group address and sends the geographic position corresponding to the first multicast group address to the gateway.
In one embodiment, the gateway may further obtain the geographic location corresponding to the first multicast group address according to the association information between the geographic location and the multicast group address.
S804, the gateway sends the second request message to the HSS.
The second request message includes an identification of the reference and a geographic location corresponding to the first multicast group address.
S805, the HSS queries the geographic location of the reference object according to the identifier of the reference object, and determines whether the geographic location of the reference object covers the geographic location corresponding to the first multicast group address.
S806, the HSS sends a response message to the gateway.
The response message is a response message of the second request message. The response message may include information that the geographical location of the reference object covers the geographical location corresponding to the first multicast group address, or information that the geographical location of the reference object does not cover the geographical location corresponding to the first multicast group address.
When the response message includes the information that the geographical position of the reference object covers the geographical position corresponding to the first multicast group address, S807 is performed, otherwise, the multicast group switching of the terminal is terminated.
And S807, the gateway adds the terminal into the multicast group corresponding to the first multicast group address.
Optionally, in an embodiment of the present invention, before the gateway obtains the reference object information, the method further includes:
the gateway determines whether the time difference between the receipt of the first request message and the receipt of the request message of the terminal for exiting the second multicast group is greater than the shortest consumed time of the terminal crossing the geographic position corresponding to the second multicast group address and the geographic position corresponding to the first multicast group address; and when the time difference is larger than the shortest time, the gateway acquires the reference object information.
Optionally, in an embodiment of the present invention, the first request message further includes a current geographic location, where the current geographic location is a geographic location where the terminal is located when the terminal sends the first request message to the gateway.
And based on a reference matching principle, determining whether the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address through the attribution subscriber server, and when the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address, the gateway executes the terminal to join the multicast group corresponding to the first multicast group address, so that the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, and further malicious rebroadcasting information and order disorder behaviors after the terminal randomly joins the multicast group are limited.
Fig. 3 to fig. 10 respectively describe a specific implementation process of the handover neighboring principle, the location coverage principle and the reference matching principle, and the following scheme of the terminal switching the multicast group by combining the handover neighboring principle and the location coverage principle with fig. 11 to fig. 22 and the handover neighboring principle and the reference matching principle with each other.
Fig. 11 is a flowchart of a method for a terminal to switch a multicast group according to an embodiment of the present invention. The judgment of the switching adjacent principle is firstly executed, then the judgment of the position covering principle is executed, and when the multicast group switching of the terminal simultaneously meets the two principles, the multicast group switching of the terminal is executed. As shown in fig. 11, the method may include the steps of:
s901, the gateway receives a first request message sent by the terminal.
The first request message may include the first multicast group address and an identification of the terminal.
S902, the gateway obtains the geographic position corresponding to the first multicast group address and the geographic position corresponding to the second multicast group.
The second multicast group address is an address corresponding to the multicast group which the terminal requests to quit.
And executing S903 when the time difference between the gateway receiving the first request message and the gateway receiving the request message for exiting the second multicast group meets the preset condition, otherwise, returning the terminal switching failure information or terminating the process for switching the multicast group.
S903, the gateway determines whether the geographic location corresponding to the first multicast group address is adjacent to the geographic location corresponding to the second multicast group address.
And executing S904 when the geographic position corresponding to the first multicast group address is adjacent to the geographic position corresponding to the second multicast group address, otherwise, returning the terminal switching identification information or terminating the process of switching the multicast group.
S904, the gateway sends the second request message to the application server.
The second request message includes an identification of the terminal and the first multicast group address.
S905, the application server obtains the network geographic position of the terminal.
In the embodiment of the present invention, the application server may obtain the network geographic location of the terminal from the HSS, and the specific process may be as follows: an application server sends a request message to an HSS, wherein the request message comprises an identifier of a terminal; after receiving the request message including the terminal identification, the HSS inquires the network geographic position corresponding to the terminal identification and sends the network geographic position of the terminal to the application server.
S906, the application server determines whether the geographic position corresponding to the first multicast group address is covered by the network geographic position of the terminal according to the first multicast group address and the network geographic position of the terminal.
And the application server inquires the geographical position corresponding to the first multicast group address according to the associated information of the geographical position and the multicast group address and determines whether the geographical position is covered by the network geographical position of the terminal.
S907, the application server sends a response message to the gateway.
The response message is a response message of the second request message. The response message may include information that the geographical location corresponding to the first multicast group address is covered by the network geographical location of the terminal, or that the geographical location corresponding to the first multicast group address is not covered by the network geographical location of the terminal.
When the response message includes the information that the geographic location corresponding to the first multicast group address is covered by the network geographic location of the terminal, S908 is executed, otherwise, the switching of the multicast group of the terminal is terminated.
And S908, the gateway adds the terminal to the multicast group corresponding to the first multicast group address.
This embodiment is a combination of the technical solution of fig. 3 and the technical solution of fig. 5, and please refer to the description of fig. 3 and fig. 5 specifically.
Fig. 12 is a flowchart of a method for a terminal to switch a multicast group according to an embodiment of the present invention. As shown in fig. 12, the method includes the steps of:
s1001, the gateway receives a first request message sent by the terminal. The first request message may include the first multicast group address and an identification of the terminal.
S1002, the gateway acquires the geographic position corresponding to the first multicast group address and the geographic position corresponding to the second multicast group.
The second multicast group address is an address corresponding to the multicast group which the terminal requests to quit.
And executing S1003 when the time difference between the gateway receiving the first request message and the gateway receiving the request message for exiting the second multicast group meets the preset condition, otherwise, returning terminal switching failure information or terminating the process of switching the multicast group.
S1003, the gateway determines whether the geographic position corresponding to the first multicast group address is adjacent to the geographic position corresponding to the second multicast group address.
And executing S1004 when the geographic position corresponding to the first multicast group address is adjacent to the geographic position corresponding to the second multicast group address, otherwise, returning the terminal switching identification information or terminating the process of switching the multicast group.
S1004, the gateway sends the second request message to the HSS.
The second request message includes an identification of the terminal and a geographic location corresponding to the first multicast group address.
S1005, the HSS inquires the network geographic position of the terminal according to the terminal identifier, and determines whether the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address.
S1006, the HSS sends a response message to the gateway.
The response message is a response message of the third request message. The response message may include information that the network geographical location of the terminal covers the geographical location corresponding to the first multicast group address, or that the network geographical location of the terminal does not cover the geographical location corresponding to the first multicast group address.
When the response message includes that the network geographical location of the terminal covers the geographical location corresponding to the first multicast group address, S1007 is executed.
And S1007, the gateway adds the terminal to the multicast group corresponding to the first multicast group address.
This embodiment is a combination of the solutions described in fig. 3 and fig. 7, and please refer to the description of fig. 3 and fig. 7.
Fig. 13 is a flowchart of a method for a terminal to switch a multicast group according to an embodiment of the present invention. As shown in fig. 13, the method may include the steps of:
s1101, the gateway receives a first request message sent by the terminal. The first request message may include the first multicast group address, an identification of the terminal, and a current geographical location, where the current geographical location is the geographical location of the terminal when the terminal sent the first request message to the gateway.
S1102, the gateway acquires the geographic position corresponding to the first multicast group address and the geographic position corresponding to the second multicast group.
The second multicast group address is an address corresponding to the multicast group which the terminal requests to quit.
And executing S1103 when the time difference between the gateway receiving the first request message and the gateway receiving the request message for exiting the second multicast group meets the preset condition, otherwise, returning terminal switching failure information or terminating the process of switching the multicast group.
S1103, the gateway determines whether the geographic location corresponding to the first multicast group address is adjacent to the geographic location corresponding to the second multicast group address.
And when the geographic position corresponding to the first multicast group address is adjacent to the geographic position corresponding to the second multicast group address, executing S1104, otherwise, returning the terminal switching identification information or terminating the process of switching the multicast group.
S1104, the gateway sends a second request message to the application server. The second request message includes an identification of the terminal and a current geographical location.
S1105, the application server obtains the network geographic position of the terminal according to the terminal identification.
In the embodiment of the present invention, the application server may obtain the network geographic location of the terminal from the HSS, and the specific process may be as follows: an application server sends a request message to an HSS, wherein the request message comprises an identifier of a terminal; and the HSS inquires the network geographic position of the terminal according to the identifier of the terminal and sends the network geographic position of the terminal to the application server.
S1106, the application server determines whether the current geographic location is covered by the network geographic location of the terminal.
S1107, the application server sends a response message to the gateway.
The response message is a response message of the second request message. The response message may include information that the current geographical location is covered by the network geographical location, or that the current geographical location is not covered by the network geographical location of the terminal.
When the response message includes the information that the current geographical location is covered by the network geographical location, S1108 is performed, otherwise, the multicast group switching of the terminal is terminated.
S1108, the gateway adds the terminal to the multicast group corresponding to the first multicast group address.
This embodiment is a combination of the solutions shown in fig. 3 and fig. 6, and please refer to the description of fig. 3 and fig. 6.
Fig. 14 is a flowchart of a method for a terminal to switch a multicast group according to an embodiment of the present invention. As shown in fig. 14, the method may include the steps of:
s1201, the gateway receives a first request message sent by the terminal. The first request message may include the first multicast group address, an identification of the terminal, and a current geographical location, where the current geographical location is the geographical location of the terminal when the terminal sent the first request message to the gateway.
S1202, the gateway acquires the geographic position corresponding to the first multicast group address and the geographic position corresponding to the second multicast group.
The second multicast group address is an address corresponding to the multicast group which the terminal requests to quit.
And executing S1203 when the time difference between the gateway receiving the first request message and the gateway receiving the request message for exiting the second multicast group meets the preset condition, otherwise, returning terminal switching failure information or terminating the process of switching the multicast group.
S1203, the gateway determines whether the geographic location corresponding to the first multicast group address is adjacent to the geographic location corresponding to the second multicast group address.
And executing S1204 when the geographic position corresponding to the first multicast group address is adjacent to the geographic position corresponding to the second multicast group address, otherwise, returning the terminal switching identification information or terminating the process of switching the multicast group.
S1204, the gateway sends the second request message to the HSS.
The second request message includes the current geographical location and the identity of the terminal.
And S1205, the HSS inquires the network geographic position of the terminal according to the identifier of the terminal and determines whether the network geographic position of the terminal covers the current geographic position.
S1206, the HSS sends a response message to the gateway.
The response message is a response message of the second request message. The response message may include information that the network geographical location of the terminal covers the current geographical location, or that the network geographical location of the terminal does not cover the current geographical location.
When the response message includes information that the network geographical location of the terminal overlaps the current geographical location, S1207 is performed, otherwise the terminal switches the multicast group.
S1207, the gateway adds the terminal into the multicast group corresponding to the first multicast group address.
This embodiment is a combination of the technical solutions in fig. 3 and fig. 8, and please refer to the description of fig. 3 and fig. 8 specifically.
Fig. 15 is a flowchart of a method for a terminal to switch a multicast group according to an embodiment of the present invention. As shown in fig. 15, the method may include the steps of:
s1301, the gateway receives a first request message sent by the terminal. The first request message may include the first multicast group address and reference information, the reference information including a reference identification.
S1302, the gateway obtains the geographic position corresponding to the first multicast group address and the geographic position corresponding to the second multicast group.
The second multicast group address is an address corresponding to the multicast group which the terminal requests to quit.
And executing S1303 when the time difference between the gateway receiving the first request message and the gateway receiving the request message for exiting the second multicast group meets the preset condition, otherwise, returning the terminal switching failure information or terminating the process for switching the multicast group.
S1303, the gateway determines whether the geographic location corresponding to the first multicast group address is adjacent to the geographic location corresponding to the second multicast group address.
And when the geographic position corresponding to the first multicast group address is adjacent to the geographic position corresponding to the second multicast group address, executing the step S1304, otherwise, returning the terminal switching identification information or terminating the process of switching the multicast group.
S1304, the gateway sends a second request message to the application server.
The second request message includes an identification of the reference and the first multicast group address.
S1305, the application server acquires the geographic position of the reference object according to the identification of the reference object.
In the embodiment of the present invention, the gateway may obtain the geographical location of the reference object from the HSS, and the specific process may be as follows: the application server sends a request message including the identifier of the reference object to the HSS; and the HSS inquires the geographic position of the reference object according to the identifier of the reference object and sends the geographic position of the reference object to the application server.
S1306, the application server determines whether the geographical location of the reference object covers a geographical location corresponding to the first multicast group address.
The application server inquires the geographic position corresponding to the first multicast group address according to the association information of the geographic position and the multicast group address, and then determines whether the geographic position of the reference object covers the geographic position corresponding to the first multicast group address.
S1307, the application server sends a response message to the gateway.
The response message is a response message to the second request message. The response message may include information that the geographical location of the reference object covers the geographical location corresponding to the first multicast group address, or information that the geographical location of the reference object does not cover the geographical location corresponding to the first multicast group address.
When the response message includes the information that the geographical position of the reference object covers the geographical position corresponding to the first multicast group address, S1308 is performed, otherwise, the multicast group switching of the terminal is terminated.
S1308, the gateway adds the terminal to the multicast group corresponding to the first multicast group address.
This embodiment is a combination of the technical solutions shown in fig. 3 and fig. 9, and please refer to the description of fig. 3 and fig. 9 specifically.
Fig. 16 is a flowchart of a method for a terminal to switch a multicast group according to an embodiment of the present invention. As shown in fig. 16, the method may include the steps of:
s1401, the gateway receives a first request message sent by the terminal. The first request message may include the first multicast group address and reference information, the reference information including a reference identification.
S1402, the gateway obtains the geographic position corresponding to the first multicast group address and the geographic position corresponding to the second multicast group.
The second multicast group address is an address corresponding to the multicast group which the terminal requests to quit.
And executing S1403 when the time difference between the gateway receiving the first request message and the gateway receiving the request message for exiting the second multicast group meets a preset condition, otherwise, returning terminal switching failure information or terminating the process of switching the multicast group.
S1403, the gateway determines whether the geographic location corresponding to the first multicast group address is adjacent to the geographic location corresponding to the second multicast group address.
And when the geographic position corresponding to the first multicast group address is adjacent to the geographic position corresponding to the second multicast group address, executing S1404, otherwise, returning the terminal switching identification information or terminating the process of switching the multicast group.
S1404, the gateway sends a second request message to the HSS.
The second request message includes an identification of the reference and a geographic location corresponding to the first multicast group address.
S1405, the HSS querying a geographical location of the reference object according to the identifier of the reference object, and determining whether the geographical location of the reference object covers a geographical location corresponding to the first multicast group address.
S1406, the HSS sends a response message to the gateway.
The response message is a response message of the second request message. The response message may include information that the geographical location of the reference object covers the geographical location corresponding to the first multicast group address, or information that the geographical location of the reference object does not cover the geographical location corresponding to the first multicast group address.
When the response message includes the information that the geographical position of the reference object covers the geographical position corresponding to the first multicast group address, S1407 is executed, otherwise, the multicast group switching of the terminal is terminated.
S1407, the gateway adds the terminal into the multicast group corresponding to the first multicast group address.
The embodiment is a combination of the technical solutions in fig. 3 and fig. 10, and please refer to the description of fig. 3 and fig. 10 for a specific description.
Fig. 17 is a flowchart of another method for a terminal to switch a multicast group according to an embodiment of the present invention. As shown in fig. 17, the method may include the steps of:
s1501, the gateway receives a first request message sent by the terminal.
The terminal determines a multicast group to be added according to the association information of the geographical position and the multicast group address, and sends a first request message to the gateway to request to join a new multicast group, wherein the first request message comprises the first multicast group address and the identification information of the terminal.
Optionally, after receiving the first request message sent by the terminal, the gateway determines whether a time difference between a time when the first request message is received and a time when the request message exiting the second multicast group is received satisfies a preset condition.
Optionally, in this embodiment of the present invention, the preset condition may be that the terminal travels the shortest time between the geographic location corresponding to the second multicast group address and the geographic location corresponding to the first multicast group address. And requesting to switch the multicast group corresponding to the second multicast group address and the multicast group corresponding to the first multicast group address, wherein the time difference is less than the shortest time consumption for traveling through the geographical position of the multicast group, executing S202, and otherwise, terminating the multicast group switching.
S1502, the gateway sends a second request message to the application server.
The second request message includes the first multicast group address and the second multicast group address.
S1503, the application server obtains the geographic position corresponding to the first multicast group address and the geographic position corresponding to the second multicast group address according to the association information of the geographic position and the multicast group address, and determines whether the geographic position corresponding to the first multicast group address is adjacent to the geographic position corresponding to the second multicast group address.
S1504, the application server sends a response message to the gateway.
The response message is a response message of the second request message, and the response message may include information that a geographic position corresponding to the first multicast group address is not adjacent to a geographic position corresponding to the second multicast group address, or information that a geographic position corresponding to the first multicast group address is adjacent to a geographic position corresponding to the second multicast group address.
S1505 is performed when the geographic location corresponding to the first multicast group address is adjacent to the geographic location corresponding to the second multicast group address, otherwise the handover is terminated.
S1505, the gateway sends a third request message to the application server.
The third request message includes an identification of the terminal and the first multicast group address.
S1506, the application server obtains the network geographic position of the terminal.
In the embodiment of the present invention, the application server may obtain the network geographic location of the terminal from the HSS, and the specific process may be as follows: an application server sends a request message to an HSS, wherein the request message comprises an identifier of a terminal; after receiving the request message including the terminal identification, the HSS inquires the network geographic position corresponding to the terminal identification and sends the network geographic position of the terminal to the application server.
S1507, the application server determines whether the geographic location corresponding to the first multicast group address is covered by the network geographic location of the terminal according to the first multicast group address and the network geographic location of the terminal.
And the application server inquires the geographical position corresponding to the first multicast group address according to the associated information of the geographical position and the multicast group address and determines whether the geographical position is covered by the network geographical position of the terminal.
S1508, the application server sends a response message to the gateway.
The response message is a response message of the third request message. The response message may include information that the geographical location corresponding to the first multicast group address is covered by the network geographical location of the terminal, or that the geographical location corresponding to the first multicast group address is not covered by the network geographical location of the terminal.
When the response message includes the information that the geographic location corresponding to the first multicast group address is covered by the network geographic location of the terminal, S1509 is executed, otherwise, the switching of the multicast group of the terminal is terminated.
S1509, the gateway adds the terminal to the multicast group corresponding to the first multicast group address.
This embodiment is a combination of the technical solution of fig. 4 and the technical solution of fig. 5, and please refer to the description of fig. 4 and fig. 5 specifically.
Fig. 18 is a flowchart of another method for a terminal to switch a multicast group according to an embodiment of the present invention. As shown in fig. 18, the method may include the steps of:
s1601, the gateway receives a first request message sent by the terminal.
The terminal determines a multicast group to be added according to the association information of the geographical position and the multicast group address, and sends a first request message to the gateway to request to join a new multicast group, wherein the first request message comprises the first multicast group address and the identification information of the terminal.
Optionally, after receiving the first request message sent by the terminal, the gateway determines whether a time difference between a time when the first request message is received and a time when the request message exiting the second multicast group is received satisfies a preset condition.
Optionally, in this embodiment of the present invention, the preset condition may be that the terminal travels the shortest time between the geographic location corresponding to the second multicast group address and the geographic location corresponding to the first multicast group address. Requesting to switch the multicast group corresponding to the second multicast group address and the multicast group corresponding to the first multicast group address, if the time difference is less than the shortest time consumption for traveling through the geographical position, executing S1602, otherwise terminating the multicast group switching.
S1602, the gateway sends the second request message to the application server.
The second request message includes the first multicast group address and the second multicast group address.
S1603, the application server obtains the geographic position corresponding to the first multicast group address and the geographic position corresponding to the second multicast group address according to the association information between the geographic position and the multicast group address, and determines whether the geographic position corresponding to the first multicast group address is adjacent to the geographic position corresponding to the second multicast group address.
S1604, the application server sends a response message to the gateway.
The response message is a response message of the second request message, and the response message may include information that a geographic position corresponding to the first multicast group address is not adjacent to a geographic position corresponding to the second multicast group address, or information that a geographic position corresponding to the first multicast group address is adjacent to a geographic position corresponding to the second multicast group address.
When the geographic location corresponding to the first multicast group address is adjacent to the geographic location corresponding to the second multicast group address, S1605 is performed, otherwise the handover is terminated.
S1605, the gateway sends the third request message to the HSS.
The third request message includes an identification of the terminal and a geographic location corresponding to the first multicast group address.
S1606, the HSS queries the network geographic location of the terminal according to the identifier of the terminal, and determines whether the network geographic location of the terminal covers the geographic location corresponding to the first multicast group address.
S1607, the HSS sends a response message to the gateway.
The response message is a response message of the third request message. The response message may include information that the network geographical location of the terminal covers the geographical location corresponding to the first multicast group address, or that the network geographical location of the terminal does not cover the geographical location corresponding to the first multicast group address.
S1608 is performed when the response message includes that the network geographical location of the terminal covers the geographical location corresponding to the first multicast group address.
S1608, the gateway adds the terminal to the multicast group corresponding to the first multicast group address.
This embodiment is a combination of the solutions shown in fig. 4 and fig. 7, and please refer to the descriptions of fig. 4 and fig. 7.
Fig. 19 is a flowchart of another method for a terminal to switch a multicast group according to an embodiment of the present invention. As shown in fig. 19, the method may include the steps of:
s1701, the gateway receives the first request message sent by the terminal.
The terminal determines a multicast group to be added according to the association information of the geographic position and the multicast group address, and sends a first request message to the gateway to request to add a new multicast group, wherein the first request message comprises the first multicast group address and the current geographic position, and the current geographic position refers to the geographic position of the terminal when the terminal sends the first request message to the gateway.
Optionally, after receiving the first request message sent by the terminal, the gateway determines whether a time difference between a time when the first request message is received and a time when the request message exiting the second multicast group is received satisfies a preset condition.
Optionally, in this embodiment of the present invention, the preset condition may be that the terminal travels the shortest time between the geographic location corresponding to the second multicast group address and the geographic location corresponding to the first multicast group address. Requesting to switch the multicast group corresponding to the second multicast group address and the multicast group corresponding to the first multicast group address, if the time difference is less than the shortest time consumption for traveling through the geographical position, executing S1702, otherwise terminating the multicast group switching.
S1702, the gateway sends a second request message to the application server.
The second request message includes the first multicast group address and the second multicast group address.
S1703, the application server obtains the geographic position corresponding to the first multicast group address and the geographic position corresponding to the second multicast group address according to the associated information of the geographic position and the multicast group address, and determines whether the geographic position corresponding to the first multicast group address is adjacent to the geographic position corresponding to the second multicast group address.
S1704, the application server sends a response message to the gateway.
The response message is a response message of the second request message, and the response message may include information that a geographic position corresponding to the first multicast group address is not adjacent to a geographic position corresponding to the second multicast group address, or information that a geographic position corresponding to the first multicast group address is adjacent to a geographic position corresponding to the second multicast group address.
When the geographic location corresponding to the first multicast group address is adjacent to the geographic location corresponding to the second multicast group address, S1705 is performed, otherwise the handover is terminated.
S1705, the gateway sends a third request message to the application server. The third request message comprises an identification of the terminal and the current geographical location.
S1706, the application server obtains the network geographic position of the terminal according to the identifier of the terminal.
In the embodiment of the present invention, the application server may obtain the network geographic location of the terminal from the HSS, and the specific process may be as follows: an application server sends a request message to an HSS, wherein the request message comprises an identifier of a terminal; and the HSS inquires the network geographic position of the terminal according to the identifier of the terminal and sends the network geographic position of the terminal to the application server.
S1707, the application server determines whether the current geographical location is covered by the network geographical location of the terminal.
S1708, the application server sends a response message to the gateway.
The response message is a response message of the third request message. The response message may include information that the current geographical location is covered by the network geographical location, or that the current geographical location is not covered by the network geographical location of the terminal.
When the response message includes the information that the current geographical location is covered by the network geographical location, S1709 is performed, otherwise, the multicast group switching of the terminal is terminated.
S1709, the gateway adds the terminal to the multicast group corresponding to the first multicast group address.
This embodiment is a combination of the solutions shown in fig. 4 and fig. 6, and please refer to the description of fig. 4 and fig. 6.
Fig. 20 is a flowchart of another method for a terminal to switch a multicast group according to an embodiment of the present invention. As shown in fig. 20, the method may include the steps of:
s1801, the gateway receives the first request message sent by the terminal.
The terminal determines a multicast group to be added according to the association information of the geographic position and the multicast group address, and sends a first request message to the gateway to request to add a new multicast group, wherein the first request message comprises the first multicast group address and the current geographic position, and the current geographic position refers to the geographic position of the terminal when the terminal sends the first request message to the gateway.
Optionally, after receiving the first request message sent by the terminal, the gateway determines whether a time difference between a time when the first request message is received and a time when the request message exiting the second multicast group is received satisfies a preset condition.
Optionally, in this embodiment of the present invention, the preset condition may be that the terminal travels the shortest time between the geographic location corresponding to the second multicast group address and the geographic location corresponding to the first multicast group address. And requesting to switch the multicast group corresponding to the second multicast group address and the multicast group corresponding to the first multicast group address, if the time difference is less than the shortest time consumption for traveling through the geographical position of the multicast group, executing S1802, otherwise, terminating the multicast group switching.
S1802, the gateway transmits a second request message to the application server.
The second request message includes the first multicast group address and the second multicast group address.
S1803, the application server obtains the geographic location corresponding to the first multicast group address and the geographic location corresponding to the second multicast group address according to the association information between the geographic location and the multicast group address, and determines whether the geographic location corresponding to the first multicast group address is adjacent to the geographic location corresponding to the second multicast group address.
S1804, the application server sends a response message to the gateway.
The response message is a response message of the second request message, and the response message may include information that a geographic position corresponding to the first multicast group address is not adjacent to a geographic position corresponding to the second multicast group address, or information that a geographic position corresponding to the first multicast group address is adjacent to a geographic position corresponding to the second multicast group address.
When the geographic location corresponding to the first multicast group address is adjacent to the geographic location corresponding to the second multicast group address, S1805 is executed, otherwise, the handover is terminated.
S1805, the gateway sends the third request message to the HSS.
The third request message comprises the current geographical position and the identity of the terminal.
S1806, the HSS queries the network geographic location of the terminal according to the identifier of the terminal, and determines whether the network geographic location of the terminal covers the current geographic location.
S1807, the HSS sends a response message to the gateway.
The response message is a response message of the third request message. The response message may include information that the network geographical location of the terminal covers the current geographical location, or that the network geographical location of the terminal does not cover the current geographical location.
When the response message includes the information that the network geographical location of the terminal covers the current geographical location, S1808 is executed, otherwise the terminal switches the multicast group.
S1808, the gateway adds the terminal to the multicast group corresponding to the first multicast group address.
This embodiment is a combination of the technical solutions in fig. 4 and fig. 8, and please refer to the description of fig. 4 and fig. 8 specifically.
Fig. 21 is a flowchart of another method for a terminal to switch a multicast group according to an embodiment of the present invention. As shown in fig. 21, the method may include the steps of:
s1901, the gateway receives the first request message sent by the terminal.
The terminal determines a multicast group to be added according to the association information of the geographic position and the multicast group address, and sends a first request message to the gateway to request to be added into a new multicast group, wherein the first request message comprises the first multicast group address and reference object information, and the reference object information comprises the identifier of a reference object at the position of the terminal.
Optionally, after receiving the first request message sent by the terminal, the gateway determines whether a time difference between a time when the first request message is received and a time when the request message exiting the second multicast group is received satisfies a preset condition.
Optionally, in this embodiment of the present invention, the preset condition may be that the terminal travels the shortest time between the geographic location corresponding to the second multicast group address and the geographic location corresponding to the first multicast group address. And requesting to switch the multicast group corresponding to the second multicast group address and the multicast group corresponding to the first multicast group address, wherein the time difference is less than the shortest time consumption for traveling through the geographic position of the multicast group, executing S1902, otherwise, terminating the multicast group switching.
S1902, the gateway sends a second request message to the application server.
The second request message includes the first multicast group address and the second multicast group address.
S1903, the application server obtains the geographic position corresponding to the first multicast group address and the geographic position corresponding to the second multicast group address according to the association information between the geographic position and the multicast group address, and determines whether the geographic position corresponding to the first multicast group address is adjacent to the geographic position corresponding to the second multicast group address.
S1904, the application server sends a response message to the gateway.
The response message is a response message of the second request message, and the response message may include information that a geographic position corresponding to the first multicast group address is not adjacent to a geographic position corresponding to the second multicast group address, or information that a geographic position corresponding to the first multicast group address is adjacent to a geographic position corresponding to the second multicast group address.
When the geographic location corresponding to the first multicast group address is adjacent to the geographic location corresponding to the second multicast group address, S1905 is performed, otherwise the handover is terminated.
S1905, the gateway sends a third request message to the application server.
The third request message includes an identification of the reference and the first multicast group address.
S1906, the application server obtains the geographic location of the reference object according to the identifier of the reference object.
In the embodiment of the present invention, the gateway may obtain the geographical location of the reference object from the HSS, and the specific process may be as follows: the application server sends a request message including the identifier of the reference object to the HSS; and the HSS inquires the geographic position of the reference object according to the identifier of the reference object and sends the geographic position of the reference object to the application server.
S1907, the application server determines whether the geographical location of the reference object covers the geographical location corresponding to the first multicast group address.
The application server inquires the geographic position corresponding to the first multicast group address according to the association information of the geographic position and the multicast group address, and then determines whether the geographic position of the reference object covers the geographic position corresponding to the first multicast group address.
S1908, the application server sends a response message to the gateway.
The response message is a response message to the second request message. The response message may include information that the geographical location of the reference object covers the geographical location corresponding to the first multicast group address, or information that the geographical location of the reference object does not cover the geographical location corresponding to the first multicast group address.
When the response message includes the information that the geographical position of the reference object covers the geographical position corresponding to the first multicast group address, S1909 is executed, otherwise, the multicast group switching of the terminal is terminated.
S1909, the gateway adds the terminal to the multicast group corresponding to the first multicast group address.
This embodiment is a combination of the technical solutions shown in fig. 4 and fig. 9, and please refer to the description of fig. 4 and fig. 9 specifically.
Fig. 22 is a flowchart of another method for a terminal to switch a multicast group according to an embodiment of the present invention. As shown in fig. 22, the method may include the steps of:
s2001, the gateway receives the first request message sent by the terminal.
The terminal determines a multicast group to be added according to the association information of the geographic position and the multicast group address, and sends a first request message to the gateway to request to be added into a new multicast group, wherein the first request message comprises the first multicast group address and reference object information, and the reference object information comprises the identifier of a reference object at the position of the terminal.
Optionally, after receiving the first request message sent by the terminal, the gateway determines whether a time difference between a time when the first request message is received and a time when the request message exiting the second multicast group is received satisfies a preset condition.
Optionally, in this embodiment of the present invention, the preset condition may be that the terminal travels the shortest time between the geographic location corresponding to the second multicast group address and the geographic location corresponding to the first multicast group address. And requesting to switch the multicast group corresponding to the second multicast group address and the multicast group corresponding to the first multicast group address, if the time difference is less than the shortest time consumption for traveling through the geographical position of the multicast group, executing S2002, and otherwise, terminating the multicast group switching.
S2002, the gateway sends a second request message to the application server.
The second request message includes the first multicast group address and the second multicast group address.
S2003, the application server obtains the geographic position corresponding to the first multicast group address and the geographic position corresponding to the second multicast group address according to the associated information of the geographic position and the multicast group address, and determines whether the geographic position corresponding to the first multicast group address is adjacent to the geographic position corresponding to the second multicast group address.
S2004, the application server sends a response message to the gateway.
The response message is a response message of the second request message, and the response message may include information that a geographic position corresponding to the first multicast group address is not adjacent to a geographic position corresponding to the second multicast group address, or information that a geographic position corresponding to the first multicast group address is adjacent to a geographic position corresponding to the second multicast group address.
When the geographical location corresponding to the first multicast group address is adjacent to the geographical location corresponding to the second multicast group address, S2005 is performed, otherwise the handover is terminated.
S2005, the gateway sends the second request message to the HSS.
The second request message includes an identification of the reference and a geographic location corresponding to the first multicast group address.
And S2006, the HSS inquires the geographic position of the reference object according to the identifier of the reference object and determines whether the geographic position of the reference object covers the geographic position corresponding to the first multicast group address.
S2007, the HSS sends a response message to the gateway.
The response message is a response message of the second request message. The response message may include information that the geographical location of the reference object covers the geographical location corresponding to the first multicast group address, or information that the geographical location of the reference object does not cover the geographical location corresponding to the first multicast group address.
When the response message includes the information that the geographical position of the reference object covers the geographical position corresponding to the first multicast group address, S2008 is executed, otherwise, the multicast group switching of the terminal is terminated.
S2008, the gateway adds the terminal to the multicast group corresponding to the first multicast group address.
The embodiment is a combination of the technical solutions in fig. 4 and fig. 10, and please refer to the description of fig. 4 and fig. 10 for a specific description.
The embodiment of the invention can also determine whether the terminal switches the multicast group based on three principles of a switching adjacency principle, a position coverage principle and a reference matching principle, and the specific process is that whether the condition for switching the multicast group is met can be judged based on the switching adjacency principle of fig. 3 or fig. 4, when the switching condition is met, whether the condition for switching the multicast group is met can be further judged based on any position coverage principle of fig. 5 to fig. 8, when the switching condition is met again, whether the condition for switching the multicast group is met is further judged based on the reference matching principle of fig. 9 or fig. 10, and if the condition is met, the gateway adds the terminal into the multicast group corresponding to the multicast group address which is requested to be added.
Whether the terminal meets the switching of the multicast group or not is judged according to the switching adjacency principle, the position coverage principle and the reference matching principle provided by the embodiment of the invention, so that the problem that the terminal switches the multicast group randomly is solved, and the behaviors that the terminal maliciously spreads information and disturbs the order after the terminal randomly joins the multicast group are further limited.
Fig. 3 to fig. 23 describe the technical solution of the terminal joining the multicast group, and the gateway, the application server and the HSS in the embodiment of the present invention are described below with reference to fig. 24 to fig. 29.
Fig. 24 is a schematic diagram of a gateway structure according to an embodiment of the present invention. As shown in fig. 24, the gateway may include a receiving unit 2110, a processing unit 2120, a transmitting unit 2130 and a storage unit 2140, and the storage unit 2140 is used for storing data.
A receiving unit 2110, configured to receive a first request message sent by a terminal, where the first request message includes a first multicast group address, and the first multicast group address is an address corresponding to a multicast group to which the terminal requests to join;
the processing unit 2120 is further configured to acquire a geographic location corresponding to the first multicast group address and a geographic location corresponding to the second multicast group address; the second multicast group address is an address corresponding to a multicast group which the terminal requests to quit;
A processing unit 2120, configured to determine that a geographic location corresponding to the first multicast group address is adjacent to a geographic location corresponding to the second multicast group address;
the processing unit 2110 is further configured to join the terminal to a multicast group corresponding to the first multicast group address.
Whether the geographic position corresponding to the address of the second multicast group which the terminal requests to switch to exit and the geographic position corresponding to the address of the first multicast group are adjacent or not is judged based on a switching adjacent principle, and when the geographic position corresponding to the address of the first multicast group is adjacent, the terminal can be determined to be switched to the multicast group corresponding to the address of the first multicast group, so that the situation that the terminal randomly switches to the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information after the terminal randomly joins the multicast group is further limited, and the behavior of order disorder is avoided.
In one embodiment, the acquiring, by the processing unit 2120, the geographic location corresponding to the first multicast group address and the geographic location corresponding to the second multicast group address includes:
the processing unit 2120 searches for a geographic location corresponding to the first multicast group address and a geographic location corresponding to the second multicast group address from the association information between the multicast group addresses and the geographic locations.
In one embodiment, the acquiring, by the processing unit 2120, the geographic location corresponding to the first multicast group address and the geographic location corresponding to the second multicast group address includes:
The processing unit 2120 acquires the geographic location corresponding to the first multicast group address and the geographic location corresponding to the second multicast group address from the application server according to the first multicast group address and the second multicast group address.
In one embodiment, the first request message further comprises an identification of the terminal;
a sending unit 2130, configured to send a second request message to an application server, where the second request message includes a first multicast group address and an identifier of a terminal, and the second request message is used for the application server to obtain a network geographic location of the terminal according to the identifier of the terminal, and determine that the network geographic location of the terminal covers a geographic location corresponding to the first multicast group address;
the receiving unit 2110 is further configured to receive a response message of the second request message sent by the application server, where the response message of the second request message includes information that the network geographic location of the terminal covers the geographic location corresponding to the first multicast group address.
On the basis of judging that the terminal can switch the multicast group based on the switching adjacency principle, the gateway determines whether the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address through the application server according to the position covering principle, and when the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address, the gateway executes the terminal to join the multicast group corresponding to the first multicast group address, so that the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information is limited after the terminal randomly joins the multicast group, and the behavior of order disorder is avoided.
In one embodiment, the first request message further comprises an identification of the terminal;
a sending unit 2130, configured to send a third request message to a home subscriber server HSS, where the third request message includes an identifier of a terminal and a geographic location corresponding to the first multicast group address, and the third request message is used for the HSS to query a network geographic location of the terminal according to the identifier of the terminal, and determine that the network geographic location of the terminal covers the geographic location corresponding to the first multicast group address;
the receiving unit 2130 is further configured to receive a response message of the third request message sent by the HSS, where the response message of the third request message includes information that the network geographic location of the terminal covers a geographic location corresponding to the first multicast group address.
On the basis of judging that the terminal can switch the multicast group based on the switching adjacency principle, the gateway determines whether the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address through the home subscriber server HSS according to the position covering principle, and when the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address, the gateway executes the terminal to join the multicast group corresponding to the first multicast group address, so that the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information and order disorder behaviors after the terminal randomly joins the multicast group are further limited.
In another embodiment, the first request message further includes a current geographical location, and the current geographical location is a geographical location where the terminal is located when the terminal sends the first request message to the gateway.
In another embodiment, the first request message further comprises an identification of the terminal;
a sending unit 2130, configured to send a fourth request message to the application server, where the fourth request message includes an identifier of the terminal and a current geographic location, and the fourth request message is used for the application server to obtain, according to the identifier of the terminal, a network geographic location of the terminal from a home subscriber server HSS, and determine that the network geographic location of the terminal covers the current geographic location;
the receiving unit 2120 is further configured to receive a response message of a fourth request message sent by the application server, where the response message of the fourth request message includes information that the network geographic location of the terminal covers the current geographic location.
On the basis of judging that the terminal can switch the multicast group based on the switching adjacency principle, the gateway determines whether the network geographic position of the terminal covers the current geographic position of the multicast group corresponding to the first multicast group address requested by the terminal through the application server according to the position covering principle, and when the network geographic position of the terminal covers the current geographic position, the gateway executes the multicast group corresponding to the first multicast group address added by the terminal, so that the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information is limited after the terminal randomly adds the multicast group, and the order is disturbed.
In yet another embodiment, the first request message further comprises an identification of the terminal;
a sending unit 2130, configured to send a fifth request message to a home subscriber server HSS, where the fifth request message includes an identifier of a terminal and a current geographic location of the terminal, and the fifth request message is used for the HSS to query a network geographic location of the terminal according to the identifier of the terminal, and determine that the network geographic location of the terminal covers the current geographic location of the terminal;
the receiving unit 2110 is further configured to receive a response message of the fifth request message sent by the HSS, where the response message of the fifth request message includes information that the network geographic location of the terminal covers the current geographic location of the terminal.
On the basis of judging that the terminal can switch the multicast group based on the switching adjacency principle, the gateway determines whether the network geographic position of the terminal covers the current geographic position of the first multicast group address corresponding to the multicast group through the home subscriber server HSS according to the position covering principle, and when the network geographic position of the terminal covers the current geographic position, the gateway executes the terminal to join the multicast group corresponding to the first multicast group address, so that the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information is limited after the terminal randomly joins the multicast group, and the order is disturbed.
In another embodiment, the first request message further includes reference object information, and the reference object information includes an identifier of a reference object at the location where the terminal is located; the gateway further comprises a sending unit 2130;
a sending unit 2130, configured to send a sixth request message to the application server, where the sixth request message includes an identifier of the reference object and the first multicast group address, and the sixth request message is used for the application server to obtain, according to the sixth request message, a geographic location of the reference object and a geographic location corresponding to the first multicast group address from the home subscriber server HSS, and determine that the geographic location of the reference object covers the geographic location corresponding to the first multicast group address;
the receiving unit 2110 is further configured to receive a response message of a sixth request sent by the application server, where the response message of the sixth request includes information that the geographic location of the reference object covers the geographic location corresponding to the first multicast group address.
On the basis of judging that the terminal can switch the multicast group based on the switching adjacency principle, the gateway determines whether the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address through the application server according to the reference matching principle, and when the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address, the gateway executes the terminal to join the multicast group corresponding to the first multicast group address, so that the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information is limited after the terminal randomly joins the multicast group, and the behavior of order disorder is avoided.
In one embodiment, the first request message further includes reference object information, and the reference object information includes an identifier of a reference object at the location where the terminal is located;
a sending unit 2130, configured to send a seventh request message to a home subscriber server HSS, where the seventh request message includes an identifier of a reference object and a geographic location corresponding to the first multicast group address, and the seventh request message is used to obtain the geographic location of the reference object corresponding to the identifier of the reference object from the home subscriber server HSS, and determine that the geographic location of the reference object covers the geographic location corresponding to the first multicast group address;
the receiving unit 2110 is further configured to receive a response message of the seventh request message sent by the HSS, where the response message of the seventh request message includes the geographic location of the reference object covering the geographic location corresponding to the first multicast group address.
On the basis of judging that the terminal can switch the multicast group based on the switching adjacency principle, the gateway determines whether the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address through the attribution subscriber server according to the reference matching principle, and when the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address, the gateway executes the terminal to join the multicast group corresponding to the first multicast group address, so that the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information and rank order disorder behaviors after the terminal randomly joins the multicast group are further limited.
In this embodiment, the processing unit 2120 is further configured to determine that a time difference between the reception of the first request message and the request message for the terminal to exit the multicast group corresponding to the second multicast group address satisfies a preset condition; the preset condition is that the time difference between the gateway receiving the first request message and the gateway receiving the request message for exiting the second multicast group is smaller than the shortest time consumed by the terminal crossing the geographic position corresponding to the second multicast group address and the geographic position corresponding to the multicast group address.
The functions of the functional units in the gateway may be implemented by the steps executed by the gateway in the embodiments shown in fig. 2, fig. 4, and fig. 11 to fig. 22, and therefore, detailed working processes of the gateway provided in the embodiments of the present invention are not repeated herein.
Fig. 25 provides a schematic diagram of an application server architecture. As shown in fig. 25, the application server may include a receiving unit 2210, a processing unit 2220, a transmitting unit 2230 and a storing unit 2240, the storing unit 2240 being used to store data.
A receiving unit 2210, configured to receive an acquisition request message sent by a gateway, where the acquisition request message includes a first multicast group address and a second multicast group address, the first multicast group address is an address corresponding to a multicast group to which a terminal requests to join, and the second multicast group address is an address corresponding to a multicast group to which the terminal requests to quit;
A processing unit 2220, configured to obtain, according to the obtaining request message and the association information between the multicast group address and the geographic location, the geographic location corresponding to the first multicast group address and the geographic location corresponding to the second multicast group address;
a sending unit 2230, configured to send, to the gateway, a response message of the acquire request message, where the response message includes a geographic location corresponding to the first multicast group address and a geographic location corresponding to the second multicast group address, so that the gateway determines that the geographic location corresponding to the first multicast group address is adjacent to the geographic location corresponding to the second multicast group address.
Based on the adjacent switching principle, whether the geographic position corresponding to the second multicast group address requested to quit by the terminal is adjacent to the geographic position corresponding to the first multicast group address requested to join by the terminal is determined by the application server, and when the geographic positions are adjacent, a message is sent to inform the gateway, so that the gateway joins the terminal to the multicast group corresponding to the first multicast group address, the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information after the terminal randomly joins the multicast group is further limited, and the behavior of order disorder is avoided.
In one embodiment, the receiving unit 2210 is further configured to receive a second request message sent by the gateway, where the second message includes an identifier of the terminal;
The processing unit 2220 is further configured to obtain a network geographic location of the terminal according to the identifier of the terminal, and determine that the network geographic location covers a geographic location corresponding to the first multicast group address;
the sending unit 2230 is further configured to send, to the gateway, a response message of the second request message, where the response message includes information that the network geographic location covers a geographic location corresponding to the first multicast group address, so that the gateway joins the terminal to a multicast group corresponding to the first multicast group address.
On the basis of judging that the terminal can switch the multicast group according to the adjacent switching principle, the application server determines whether the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address according to the position covering principle, and when the network geographic position of the terminal covers the geographic position, a message is sent to inform the gateway, so that the gateway enables the terminal to be added into the multicast group corresponding to the first multicast group address, the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information after the terminal randomly adds the multicast group is further limited, and the behavior of order disorder is avoided.
In an embodiment, the 2210 receiving unit is further configured to receive a fourth request message sent by the gateway, where the fourth request message includes an identifier of the terminal and a current geographic location, and the current geographic location is a geographic location where the terminal requests to join the multicast group corresponding to the first multicast group address;
The processing unit 2220 is further configured to obtain a network geographic location of the terminal according to the identifier of the terminal, and determine that the network geographic location covers the current geographic location;
the sending unit 2230 is further configured to send, to the gateway, a response message of the fourth request message, where the response message includes information that the network geographic location covers the current geographic location, and is used for the gateway to join the terminal to the multicast group corresponding to the first multicast group address.
On the basis of judging that the terminal can switch the multicast group according to the adjacent switching principle, the application server determines whether the network geographic position of the terminal covers the current geographic position of the multicast group corresponding to the first multicast group address requested by the terminal according to the position covering principle, and sends a message to inform the gateway when the network geographic position of the terminal covers the current geographic position, so that the gateway adds the terminal into the multicast group corresponding to the first multicast group address, the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information is further limited after the terminal randomly adds the multicast group, and the behavior of order disorder is avoided.
In one embodiment, the receiving unit 2210 is further configured to receive a sixth request message sent by the gateway, where the sixth request message includes the identifier of the reference object and the geo-multicast group address;
The processing unit 2220 is further configured to obtain a geographic position of the reference object according to the identifier of the reference object, and determine that the geographic position of the reference object covers the geographic position corresponding to the first multicast group address;
the sending unit 2230 is further configured to send, to the gateway, a response message of the sixth request message, where the response message includes information that the geographic location of the reference object covers the geographic location corresponding to the first multicast group address, so that the gateway joins the terminal to the multicast group corresponding to the first multicast group address.
On the basis of judging that the terminal can switch the multicast group according to the adjacent switching principle, the application server determines whether the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address according to the reference matching principle, and when the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address, a message is sent to inform the gateway, so that the gateway enables the terminal to be added into the multicast group corresponding to the first multicast group address, the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information is limited after the terminal randomly adds into the multicast group, and the order is disturbed.
In one embodiment, the processing unit 2220 obtains the network geographic location of the terminal according to the identifier of the terminal, including:
the processing unit 2220 acquires the network geographical location of the terminal from the home subscriber server HSS or the location server.
In one embodiment, the processing unit 2220 obtains the geographic location of the reference object according to the identifier of the reference object, including:
the processing unit 2220 acquires the geographical location of the reference object from the home subscriber server HSS or the location server.
The functions of the functional units in the application server may be implemented by the steps executed by the application server in the embodiments shown in fig. 3, fig. 4, and 11 to fig. 22, and therefore, detailed working processes of the application server provided in the embodiments of the present invention are not repeated herein.
The embodiment of the invention also provides a gateway. As shown in fig. 24, a receiving unit 2110 of the gateway is configured to receive a first request message sent by a terminal, where the first request message includes a first multicast group address and an identifier of the terminal, where the first multicast group address is an address of a multicast group requested to join by the terminal;
a sending unit 2130, configured to send a second request message to an application server, where the second request message includes an identifier of a terminal and a first multicast group address, and the second request message is used for the application server to obtain, according to the identifier of the terminal, a network geographic location of the terminal from a home subscriber server HSS, and determine that the network geographic location of the terminal covers a geographic location corresponding to the first multicast group address;
And the processing unit 2120 is configured to, when the gateway receives a response message of the second request message sent by the application server, join the terminal into the multicast group corresponding to the first multicast group address, where the response message of the second request message includes information that a network geographic location of the terminal covers a geographic location corresponding to the multicast address.
Based on the position covering principle, the gateway determines whether the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address through the application server, and when the network geographic position of the terminal covers the geographic position, the gateway executes the terminal to join the multicast group corresponding to the first multicast group address, so that the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, and further malicious rebroadcasting information and order disorder behaviors after the terminal randomly joins the multicast group are limited.
In an embodiment, the processing unit 2120 is further configured to determine that a time difference between receiving the first request message and receiving the request message that the terminal requests to exit the second multicast group address is greater than a shortest elapsed time for the terminal to cross a geographic location corresponding to the second multicast group address and a geographic location corresponding to a multicast group address;
the transmitting unit 2130 transmits the second request message to the application server.
In another embodiment, the first request message further includes a current geographical location, and the current geographical location is a geographical location where the terminal is located when the terminal sends the first request message to the gateway.
The functions of the functional units in the gateway may be implemented by the steps executed by the gateway in the embodiment shown in fig. 5, and therefore, the detailed working process of the gateway provided in the embodiment of the present invention is not repeated herein.
An embodiment of the present invention further provides an application server, as shown in fig. 25, a receiving unit 2210 is configured to receive a second request message sent by a gateway, where the second request message includes an identifier of a terminal and a first multicast group address, and the first multicast group address is an address corresponding to a multicast group requested to be joined by the terminal;
a processing unit 2220, configured to obtain a network geographic location of the terminal from a home subscriber server HSS according to the identifier of the terminal, and determine that the network address covers the geographic location corresponding to the first multicast group address;
a sending unit 2230, configured to send, to the gateway, a response message of the second request message, where the response message includes information that the network geographic location covers a geographic location corresponding to the first multicast group address, and is used for the gateway to join the terminal to a multicast group corresponding to the first multicast group address.
Based on the position covering principle, the application server determines whether the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address, and when the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address, the application server sends a message to inform the gateway, so that the gateway enables the terminal to be added into the multicast group corresponding to the first multicast group address, the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information is limited after the terminal randomly adds into the multicast group, and the behavior of order disorder is avoided.
The functions of the functional units in the application server may be implemented by the steps executed by the application server in the embodiment shown in fig. 5, and therefore, the detailed working process of the application server provided in the embodiment of the present invention is not repeated herein.
As shown in fig. 24, the receiving unit 2110 of the gateway is configured to receive a first request message sent by a terminal, where the first request message includes a first multicast group address, an identifier of the terminal, and a current geographic location, where the first multicast group address is an address of a multicast group requested to be joined by the terminal, and the current geographic location is a geographic location where the terminal is located when the terminal sends the first request message to the gateway;
A sending unit 2130, configured to send a second request message to an application server, where the second request message includes an identifier of a terminal and a current geographic location, and the second request message is used for the application server to obtain, according to the identifier of the terminal, a network geographic location of the terminal from a home subscriber server HSS, and determine that the network geographic location of the terminal covers the current geographic location where the terminal is located;
when the receiving unit 2110, the receiving unit is further configured to receive a response message of the second request message sent by the application server;
a processing unit 2120, configured to add the terminal to a multicast group corresponding to the multicast group address;
and the response message of the second request message comprises information that the network geographic position of the terminal covers the current geographic position of the terminal.
Based on the position covering principle, the gateway determines whether the network geographic position of the terminal covers the current geographic position of the terminal when the terminal requests the multicast group corresponding to the first multicast group address through the application server, and when the network geographic position of the terminal covers the current geographic position, the gateway executes the terminal to join the multicast group corresponding to the first multicast group address, so that the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information is limited after the terminal randomly joins the multicast group, and the behavior of order disorder is avoided.
In an embodiment, the processing unit 2120 is further configured to determine that a time difference between receiving the first request message and receiving the request of the terminal to exit the second multicast group is greater than a shortest elapsed time for the terminal to cross a geographic location corresponding to the second multicast group address and a geographic location corresponding to a multicast group address;
the transmitting unit 2130 transmits the second request message to the application server.
The functions of the functional units in the gateway may be implemented by the steps executed by the gateway in the embodiment shown in fig. 6, and therefore, the detailed working process of the gateway provided in the embodiment of the present invention is not repeated herein.
An embodiment of the present invention further provides an application server, as shown in fig. 25, a receiving unit 2210 of the application server is configured to receive a second request message sent by a gateway, where the second request message includes an identifier of a terminal and a current geographic location, and the current geographic location is a geographic location where the terminal requests to join a multicast group corresponding to a first multicast group address;
a processing unit 2220, configured to obtain the network geographic location of the terminal from the home subscriber server HSS according to the identifier of the terminal, and determine that the network geographic location of the terminal covers the current geographic location;
A sending unit 2230, configured to send, to the gateway, a response message of the second request message, where the response message includes information that the network geographic location covers the current geographic location, and is used for the gateway to join the terminal to the multicast group corresponding to the first multicast group address.
Based on a position covering principle, an application server determines whether the network geographic position of a terminal covers the current geographic position of the terminal when the terminal requests a multicast group corresponding to a first multicast group address, and sends a message to inform a gateway when the network geographic position of the terminal covers the current geographic position of the terminal when the network geographic position of the terminal requests the multicast group corresponding to the first multicast group address, so that the terminal is enabled to join the terminal into the multicast group corresponding to the first multicast group address, the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information is limited after the terminal randomly joins the multicast group, and.
The functions of the functional units in the application server may be implemented by the steps executed by the application server in the embodiment shown in fig. 6, and therefore, the detailed working process of the application server provided in the embodiment of the present invention is not repeated herein.
An embodiment of the present invention further provides a gateway, as shown in fig. 24, a receiving unit 2110 of the gateway, configured to receive a first request message sent by a terminal, where the first request message includes a first multicast group address and an identifier of the terminal; the first multicast group address is the address of the multicast group which the terminal requests to join;
The processing unit 2120 is configured to obtain a geographic location corresponding to the first multicast group address according to the first multicast group address;
a sending unit 2130, configured to send a second request message to a home subscriber server HSS, where the second request message includes an identifier of a terminal and a geographic location corresponding to the first multicast group address, and the second request message is used for the HSS to query a network geographic location of the terminal according to the identifier of the terminal, and determine that the network geographic location of the terminal covers the geographic location corresponding to the first multicast group address;
the processing unit 2120 is further configured to, when the gateway receives a response message of the second request message sent by the HSS, execute the terminal to join the multicast group corresponding to the first multicast group address according to the response message of the second request message, where the response message of the second request message includes that the network geographic location of the terminal covers the geographic location corresponding to the first multicast group address.
Based on the position covering principle, the gateway determines whether the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address through the home subscriber server HSS, and when the network geographic position of the terminal covers the geographic position, the gateway executes the terminal to join the multicast group corresponding to the first multicast group address, so that the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, and further malicious rebroadcasting information and rank order disorder behaviors after the terminal randomly joins the multicast group are limited.
In one embodiment of the present invention,
the processing unit 2120 is further configured to determine that a time difference between receiving the first request message and receiving a request for the terminal to exit the second multicast group is greater than a shortest consumed time for the terminal to span a geographic location corresponding to the second multicast group address and a geographic location corresponding to a multicast group address;
the transmitting unit 2130 transmits the second request message to the application server.
In one embodiment, the first request message further includes a current geographical location, and the current geographical location is a geographical location where the terminal is located when the terminal sends the first request message to the gateway.
The functions of the functional units in the gateway may be implemented by the steps executed by the gateway in the embodiment shown in fig. 7, and therefore, the detailed working process of the gateway provided in the embodiment of the present invention is not repeated herein.
Fig. 26 is a diagram of a home subscriber server HSS according to an embodiment of the present invention, where the HSS includes a receiving unit 2310, a processing unit 2320, a sending unit 2330, and a storing unit 2340, and the storing unit 2340 is configured to store data.
A receiving unit 2310, configured to receive a second request message sent by the gateway, where the second request message includes an identifier of the terminal and a geographic location corresponding to the first multicast group address, and the first multicast group is an address corresponding to a multicast group to which the terminal requests to join;
The processing unit 2320 is configured to obtain a network geographic location of the terminal according to the identifier of the terminal, and determine that the network geographic location covers a geographic location corresponding to the first multicast group address;
a sending unit 2330, configured to send, to the gateway, a response message of the second request message, where the response message includes information that the network geographic location covers a geographic location corresponding to the first multicast group address, so that the gateway joins the terminal to the multicast group corresponding to the first multicast group address.
Based on a position covering principle, the HSS determines whether the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address, and when the network geographic position of the terminal covers the geographic position, a message is sent to inform the gateway, so that the gateway executes the terminal to join the multicast group corresponding to the first multicast group address, the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information is further limited after the terminal randomly joins the multicast group, and the behavior of order disorder is avoided.
The functions of the functional units in the HSS can be implemented through the steps executed by the HSS in the embodiment shown in fig. 7, and therefore, detailed working processes of the HSS provided in the embodiment of the present invention are not repeated herein.
As shown in fig. 24, the receiving unit 2110 of the gateway is configured to receive a first request message sent by a terminal, where the first request message includes a first multicast group address, an identifier of the terminal, and a current geographic location, where the first multicast group address is an address of a multicast group requested to be joined by the terminal, and the current geographic location is a geographic location where the terminal is located when the terminal sends the first request message to the gateway;
a sending unit 2130, configured to send a second request message to a home subscriber server HSS, where the second request message includes a current geographic location and an identifier of a terminal, and the second request message is used for the HSS to query a network geographic location of the terminal according to the identifier of the terminal, and determine that the network geographic location covers the current geographic location;
a receiving unit 2110, further configured to receive a response message of the second request message sent by the HSS when the receiving unit receives the response message;
a processing unit 2120, configured to execute, according to the response message of the second request message, that the terminal joins the multicast group corresponding to the multicast group address;
and the response message of the second message comprises that the network geographic position of the terminal covers the current geographic position.
Based on the position covering principle, the gateway determines whether the network geographic position of the terminal covers the current geographic position of the multicast group corresponding to the first multicast group address through the home subscriber server HSS, and when the network geographic position of the terminal covers the current geographic position of the multicast group corresponding to the first multicast group address, the gateway executes the terminal to join the multicast group corresponding to the first multicast group address, so that the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information is limited after the terminal randomly joins the multicast group, and the behavior of order disorder is avoided.
In an embodiment, the processing unit 2120 is further configured to determine that a time difference between receiving the first request message and receiving the request of the terminal to exit the second multicast group is greater than a shortest elapsed time for the terminal to cross a geographic location corresponding to the second multicast group address and a geographic location corresponding to a multicast group address;
the transmitting unit 2130 transmits the second request message to the application server.
The functions of the functional units in the gateway may be implemented by the steps executed by the gateway in the embodiment shown in fig. 8, and therefore, the detailed working process of the gateway provided in the embodiment of the present invention is not repeated herein.
As shown in fig. 26, a receiving unit 2310 of the HSS is configured to receive a second request message sent by a gateway, where the second request message includes a current geographic location and an identifier of a terminal; the current geographic position is the geographic position of the terminal when the terminal requests to join the multicast group corresponding to the first multicast group address;
the processing unit 2320 is configured to query a network geographic location of the terminal according to the identifier of the terminal, and determine that the network geographic location covers the current geographic location;
a sending unit 2330, configured to send, to the gateway, a response message of the second request message, where the response message includes information that the network geographic location covers the current geographic location, and is used for the gateway to join the terminal to the multicast group corresponding to the first multicast group address.
Based on the position covering principle, the HSS determines whether the network geographic position of the terminal covers the current geographic position of the first multicast group address corresponding to the multicast group, and when the network geographic position of the terminal covers the current geographic position, a message is sent to inform the gateway, so that the gateway enables the terminal to be added into the multicast group corresponding to the first multicast group address, the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information is limited after the terminal randomly adds into the multicast group, and the order is disturbed is avoided.
The functions of the functional units in the HSS can be implemented through the steps executed by the HSS in the embodiment shown in fig. 8, and therefore, detailed working processes of the HSS provided in the embodiment of the present invention are not repeated herein.
An embodiment of the present invention further provides a gateway, as shown in fig. 24, a receiving unit 2110 of the gateway, configured to receive a first request message sent by a terminal, where the first request message includes a first multicast group address, where the first multicast group address is an address of a multicast group requested to join by the terminal;
a processing unit 2120 for acquiring reference object information, the reference object information including an identifier of a reference object;
a sending unit 2130, configured to send a second request message to the application server, where the second request message includes an identifier of the reference object and the first multicast group address, and the second request message is used for the application server to obtain, according to the identifier of the reference object, a geographic location of the reference object from a home subscriber server HSS, and determine that the geographic location of the reference object covers a geographic location corresponding to the first multicast group address;
The receiving unit 2110 is further configured to receive a response message of the second request sent by the application server;
the processing unit 2120 is further configured to execute, according to the response message of the second message, that the terminal joins the multicast group corresponding to the first multicast group address;
and the response message of the second message comprises the information that the geographical position of the reference object covers the geographical position corresponding to the first multicast group address.
Based on the reference matching principle, the gateway determines whether the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address through the application server, and when the network geographic position of the terminal covers the geographic position, the gateway executes the terminal to join the multicast group corresponding to the first multicast group address, so that the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information is limited after the terminal randomly joins the multicast group, and the order is disturbed.
In one embodiment of the present invention,
the processing unit 2120 is further configured to determine that a time difference between receiving the first request message and receiving a request for the terminal to exit the second multicast group is greater than a shortest consumed time for the terminal to span a geographic location corresponding to the second multicast group address and a geographic location corresponding to a multicast group address;
the processing unit 2120 acquires reference object information.
In one embodiment, the first request message further includes a current geographical location, and the current geographical location is a geographical location where the terminal is located when the terminal sends the first request message to the gateway.
The functions of the functional units in the gateway may be implemented by the steps executed by the gateway in the embodiment shown in fig. 9, and therefore, the detailed working process of the gateway provided in the embodiment of the present invention is not repeated herein.
An embodiment of the present invention further provides an application server, as shown in fig. 25, a receiving unit 2210 of the application server is configured to receive a second request message sent by a gateway, where the second request message includes an identifier of a reference object and a first multicast group address, where the first multicast group address is an address corresponding to a multicast group requested to join by a terminal;
a processing unit 2220, configured to obtain the geographic location of the reference object from the home subscriber server HSS according to the identifier of the reference object, and determine that the geographic location of the reference object covers the geographic location corresponding to the first multicast group address;
a sending unit 2230, configured to send, to the gateway, a response message of the second request message, where the response message includes information that the geographic location of the reference object covers the geographic location corresponding to the first multicast group address, and is used for the gateway to join the terminal to the multicast group corresponding to the first multicast group address.
Based on the reference matching principle, the application server determines whether the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address, and when the network geographic position of the terminal covers the geographic position, the gateway executes the terminal to join the multicast group corresponding to the first multicast group address, so that the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information is limited after the terminal randomly joins the multicast group, and the order is disturbed.
The functions of the functional units in the application server may be implemented by the steps executed by the application server in the embodiment shown in fig. 9, and therefore, the detailed working process of the application server provided in the embodiment of the present invention is not repeated herein.
An embodiment of the present invention further provides a gateway, as shown in fig. 24, a receiving unit 2110 of the gateway, configured to receive a first request message sent by a terminal, where the first request message includes a first multicast group address, where the first multicast group address is an address of a multicast group requested to join by the terminal;
a processing unit 2120 for acquiring reference object information, the reference object information including an identifier of a reference object;
the processing unit 2120 is further configured to obtain, according to the first multicast group address, a geographic location corresponding to the multicast group address from the application server;
A sending unit 2130, configured to send a second request message to a home subscriber server HSS, where the second request message includes an identifier of a reference object and a geographic location corresponding to the first multicast group address, and the second request message is used to obtain, from the home subscriber server HSS, the geographic location of the reference object corresponding to the identifier of the reference object, and determine that the geographic location of the reference object covers the geographic location corresponding to the multicast group address;
a receiving unit 2110, further configured to receive a response message of the second request message sent by the HSS;
the processing unit 2120 is further configured to join the terminal to the multicast group corresponding to the multicast group address, and the response message of the second request message includes that the geographic location of the reference covers the geographic location corresponding to the first multicast group address.
On the basis of judging that the terminal can switch the multicast group based on the switching adjacency principle, the gateway determines whether the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address through the attribution subscriber server according to the reference matching principle, and when the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address, the gateway executes the terminal to join the multicast group corresponding to the first multicast group address, so that the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information and rank order disorder behaviors after the terminal randomly joins the multicast group are further limited.
In an embodiment, the processing unit 2120 is further configured to determine that a time difference between receiving the first request message and receiving the request of the terminal to exit the second multicast group is greater than a shortest elapsed time for the terminal to cross a geographic location corresponding to the second multicast group address and a geographic location corresponding to the first multicast group address;
the processing unit 2120 acquires reference object information.
In one embodiment, the first request message further includes a current geographical location, and the current geographical location is a geographical location where the terminal is located when the terminal sends the first request message to the gateway.
The functions of the functional units in the gateway may be implemented by the steps executed by the gateway in the embodiment shown in fig. 10, and therefore, the detailed working process of the gateway provided in the embodiment of the present invention is not repeated herein.
As shown in fig. 26, a receiving unit 2310 of the HSS is configured to receive a second request message sent by a gateway, where the second request message includes an identifier of a reference object and a geographic location corresponding to a first multicast group address, and the first multicast group address is an address corresponding to a multicast group to which a terminal requests to join;
the processing unit 2320 is configured to query the geographic location of the reference object according to the identifier of the reference object, and determine that the geographic location of the reference object covers the geographic location corresponding to the first multicast group address;
A sending unit 2330, configured to send, to the gateway, a response message of the second request message, which includes information that the geographical location of the reference object covers the geographical location corresponding to the first multicast group address, so that the gateway joins the terminal to the multicast group corresponding to the first multicast group address.
Based on the reference matching principle, the attribution subscriber server determines whether the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address, and when the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address, a message is sent to inform the gateway, so that the gateway enables the terminal to be added into the multicast group corresponding to the first multicast group address, the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information is limited after the terminal randomly adds into the multicast group, and the behavior of order disorder is avoided.
The functions of the functional units in the HSS can be implemented through the steps executed by the HSS in the embodiment shown in fig. 10, and therefore, detailed working processes of the HSS provided in the embodiment of the present invention are not repeated herein.
Fig. 27 is a schematic diagram of a gateway structure according to an embodiment of the present invention. As shown in fig. 27, the gateway may include a receiver 2410, a processor 2420, a transmitter 2430 and a memory 2440, which are connected via a communication bus for performing communication therebetween, wherein the memory 2440 is used for storing data, such as a multicast group address corresponding to a multicast group requested to be joined or withdrawn by a terminal, for example, the receiver 2410, the processor 2420, the transmitter 2430 and the memory 2440.
A receiver 2410, configured to receive a first request message sent by a terminal, where the first request message includes a first multicast group address, and the first multicast group address is an address corresponding to a multicast group to which the terminal requests to join;
a processor 2420 configured to obtain a geographic location corresponding to the first multicast group address and a geographic location corresponding to the second multicast group address; the second multicast group address is an address corresponding to a multicast group which the terminal requests to quit;
a processor 2420 further configured to determine that the geographic location corresponding to the first multicast group address is adjacent to the geographic location corresponding to the second multicast group address;
the processor 2410 is further configured to join the terminal to the multicast group corresponding to the first multicast group address.
Whether the geographic position corresponding to the address of the second multicast group which the terminal requests to switch to exit and the geographic position corresponding to the address of the first multicast group are adjacent or not is judged based on a switching adjacent principle, and when the geographic position corresponding to the address of the first multicast group is adjacent, the terminal can be determined to be switched to the multicast group corresponding to the address of the first multicast group, so that the situation that the terminal randomly switches to the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information after the terminal randomly joins the multicast group is further limited, and the behavior of order disorder is avoided.
In one embodiment, the processor 2420 obtains the geographic location corresponding to the first multicast group address and the geographic location corresponding to the second multicast group address comprises:
Processor 2420 searches the geographical location corresponding to the first multicast group address and the geographical location corresponding to the second multicast group address from the association information of the multicast group addresses and the geographical locations.
In one embodiment, the processor 2420 obtains the geographic location corresponding to the first multicast group address and the geographic location corresponding to the second multicast group address comprises:
the processor 2420 is further configured to obtain, from the application server, a geographic location corresponding to the first multicast group address and a geographic location corresponding to the second multicast group address according to the first multicast group address and the second multicast group address.
In one embodiment, the first request message further comprises an identification of the terminal;
a transmitter 2430, configured to send a second request message to the application server, where the second request message includes the first multicast group address and the identifier of the terminal, and the second request message is used for the application server to obtain the network geographic location of the terminal according to the identifier of the terminal, and determine that the network geographic location of the terminal covers the geographic location corresponding to the first multicast group address;
the receiver 2410 is further configured to receive a response message of the second request message sent by the application server, where the response message of the second request message includes information that the network geographic location of the terminal covers the geographic location corresponding to the first multicast group address.
On the basis of judging that the terminal can switch the multicast group based on the switching adjacency principle, the gateway determines whether the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address through the application server according to the position covering principle, and when the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address, the gateway executes the terminal to join the multicast group corresponding to the first multicast group address, so that the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information is limited after the terminal randomly joins the multicast group, and the behavior of order disorder is avoided.
In one embodiment, the first request message further comprises an identification of the terminal;
a transmitter 2430, configured to send a third request message to a home subscriber server HSS, where the third request message includes an identifier of a terminal and a geographic location corresponding to the first multicast group address, and the third request message is used for the HSS to query a network geographic location of the terminal according to the identifier of the terminal, and determine that the network geographic location of the terminal covers the geographic location corresponding to the first multicast group address;
the receiver 2430 is further configured to receive a response message of the third request message sent by the HSS, where the response message of the third request message includes information that the network geographic location of the terminal covers a geographic location corresponding to the first multicast group address.
On the basis of judging that the terminal can switch the multicast group based on the switching adjacency principle, the gateway determines whether the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address through the home subscriber server HSS according to the position covering principle, and when the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address, the gateway executes the terminal to join the multicast group corresponding to the first multicast group address, so that the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information and order disorder behaviors after the terminal randomly joins the multicast group are further limited.
In another embodiment, the first request message further includes a current geographical location, and the current geographical location is a geographical location where the terminal is located when the terminal sends the first request message to the gateway.
In another embodiment, the first request message further comprises an identification of the terminal;
a transmitter 2430, configured to send a fourth request message to the application server, where the fourth request message includes an identifier of the terminal and a current geographic location, and the fourth request message is used for the application server to obtain, according to the identifier of the terminal, a network geographic location of the terminal from a home subscriber server HSS, and determine that the network geographic location of the terminal covers the current geographic location;
The receiver 2420 is further configured to receive a response message of the fourth request message sent by the application server, where the response message of the fourth request message includes information that the network geographical location of the terminal covers the current geographical location.
On the basis of judging that the terminal can switch the multicast group based on the switching adjacency principle, the gateway determines whether the network geographic position of the terminal covers the current geographic position of the multicast group corresponding to the first multicast group address requested by the terminal through the application server according to the position covering principle, and when the network geographic position of the terminal covers the current geographic position, the gateway executes the multicast group corresponding to the first multicast group address added by the terminal, so that the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information is limited after the terminal randomly adds the multicast group, and the order is disturbed.
In yet another embodiment, the first request message further comprises an identification of the terminal;
a transmitter 2430, configured to send a fifth request message to a home subscriber server HSS, where the fifth request message includes an identifier of a terminal and a current geographic location of the terminal, and the fifth request message is used for the HSS to query a network geographic location of the terminal according to the identifier of the terminal, and determine that the network geographic location of the terminal covers the current geographic location of the terminal;
The receiver 2410 is further configured to receive a response message of the fifth request message sent by the HSS, where the response message of the fifth request message includes information that the network geographic location of the terminal covers the current geographic location of the terminal.
On the basis of judging that the terminal can switch the multicast group based on the switching adjacency principle, the gateway determines whether the network geographic position of the terminal covers the current geographic position of the first multicast group address corresponding to the multicast group through the home subscriber server HSS according to the position covering principle, and when the network geographic position of the terminal covers the current geographic position, the gateway executes the terminal to join the multicast group corresponding to the first multicast group address, so that the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information is limited after the terminal randomly joins the multicast group, and the order is disturbed.
In another embodiment, the first request message further includes reference object information, and the reference object information includes an identifier of a reference object at the location where the terminal is located; the gateway also includes a transmitter 2430;
a transmitter 2430, configured to send a sixth request message to the application server, where the sixth request message includes an identifier of the reference object and the first multicast group address, and the sixth request message is used for the application server to obtain, according to the sixth request message, a geographic location of the reference object and a geographic location corresponding to the first multicast group address from the home subscriber server HSS, and determine that the geographic location of the reference object covers the geographic location corresponding to the first multicast group address;
The receiver 2410 is further configured to receive a response message of a sixth request sent by the application server, where the response message of the sixth request includes information that the geographic location of the reference object covers the geographic location corresponding to the first multicast group address.
On the basis of judging that the terminal can switch the multicast group based on the switching adjacency principle, the gateway determines whether the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address through the application server according to the reference matching principle, and when the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address, the gateway executes the terminal to join the multicast group corresponding to the first multicast group address, so that the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information is limited after the terminal randomly joins the multicast group, and the behavior of order disorder is avoided.
In one embodiment, the first request message further includes reference object information, and the reference object information includes an identifier of a reference object at the location where the terminal is located;
a transmitter 2430, configured to send a seventh request message to the home subscriber server HSS, where the seventh request message includes an identifier of the reference object and a geographic location corresponding to the first multicast group address, and the seventh request message is used to obtain the geographic location of the reference object corresponding to the identifier of the reference object from the home subscriber server HSS, and determine that the geographic location of the reference object covers the geographic location corresponding to the first multicast group address;
The receiver 2410 is further configured to receive a response message of the seventh request message sent by the HSS, where the response message of the seventh request message includes the geographic location of the reference object covering the geographic location corresponding to the first multicast group address.
On the basis of judging that the terminal can switch the multicast group based on the switching adjacency principle, the gateway determines whether the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address through the attribution subscriber server according to the reference matching principle, and when the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address, the gateway executes the terminal to join the multicast group corresponding to the first multicast group address, so that the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information and rank order disorder behaviors after the terminal randomly joins the multicast group are further limited.
In this embodiment, the processor 2420 is further configured to determine that a time difference between the reception of the first request message and the reception of the request message for the terminal to exit the multicast group corresponding to the second multicast group address satisfies a preset condition; the preset condition is that the time difference between the gateway receiving the first request message and the gateway receiving the request message for exiting the second multicast group is smaller than the shortest time consumed by the terminal crossing the geographic position corresponding to the second multicast group address and the geographic position corresponding to the multicast group address.
The functions of each function device in the gateway may be implemented by the steps executed by the gateway in the embodiments shown in fig. 2, fig. 4, and fig. 11 to fig. 22, and therefore, detailed working processes of the gateway provided in the embodiments of the present invention are not described herein again.
Fig. 28 provides a schematic diagram of an application server. As shown in fig. 28, the application server may include a receiver 2510, a processor 2520, a transmitter 2530 and a memory 2540, which are connected via a communication bus for communication with each other, wherein the memory 2540 is used for storing data, such as association information of multicast group address and geographical location, and the receiver 2410, the processor 2420, the transmitter 2430 and the memory 2440 are connected via the communication bus.
A receiver 2510, configured to receive an acquisition request message sent by a gateway, where the acquisition request message includes a first multicast group address and a second multicast group address, the first multicast group address is an address corresponding to a multicast group to which a terminal requests to join, and the second multicast group address is an address corresponding to a multicast group to which the terminal requests to quit;
a processor 2520, configured to obtain, according to the obtaining request message and the association information between the multicast group address and the geographic location, a geographic location corresponding to the first multicast group address and a geographic location corresponding to the second multicast group address;
A transmitter 2530, configured to transmit a response message of the get request message to the gateway, where the response message includes a geographic location corresponding to the first multicast group address and a geographic location corresponding to the second multicast group address, so that the gateway determines that the geographic location corresponding to the first multicast group address is adjacent to the geographic location corresponding to the second multicast group address.
Based on the adjacent switching principle, whether the geographic position corresponding to the second multicast group address requested to quit by the terminal is adjacent to the geographic position corresponding to the first multicast group address requested to join by the terminal is determined by the application server, and when the geographic positions are adjacent, a message is sent to inform the gateway, so that the gateway joins the terminal to the multicast group corresponding to the first multicast group address, the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information after the terminal randomly joins the multicast group is further limited, and the behavior of order disorder is avoided.
In one embodiment, the receiver 2510 is further configured to receive a second request message sent by the gateway, where the second request message includes an identifier of the terminal;
the processor 2520 is further configured to obtain a network geographic location of the terminal according to the identifier of the terminal, and determine that the network geographic location covers a geographic location corresponding to the first multicast group address;
The transmitter 2530 is further configured to transmit a response message of the second request message to the gateway, including information that the network geographical location covers a geographical location corresponding to the first multicast group address, so that the gateway joins the terminal to the multicast group corresponding to the first multicast group address.
On the basis of judging that the terminal can switch the multicast group according to the adjacent switching principle, the application server determines whether the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address according to the position covering principle, and when the network geographic position of the terminal covers the geographic position, a message is sent to inform the gateway, so that the gateway enables the terminal to be added into the multicast group corresponding to the first multicast group address, the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information after the terminal randomly adds the multicast group is further limited, and the behavior of order disorder is avoided.
In an embodiment, the 2510 receiver is further configured to receive a fourth request message sent by the gateway, where the fourth request message includes an identifier of the terminal and a current geographic location, and the current geographic location is a geographic location where the terminal requests to join the multicast group corresponding to the first multicast group address;
the processor 2520 is further configured to obtain a network geographic location of the terminal according to the identifier of the terminal, and determine that the network geographic location covers the current geographic location;
The transmitter 2530 is further configured to transmit a response message of the fourth request message to the gateway, where the response message includes information that the network geographical location covers the current geographical location, so that the gateway joins the terminal to the multicast group corresponding to the first multicast group address.
On the basis of judging that the terminal can switch the multicast group according to the adjacent switching principle, the application server determines whether the network geographic position of the terminal covers the current geographic position of the multicast group corresponding to the first multicast group address requested by the terminal according to the position covering principle, and sends a message to inform the gateway when the network geographic position of the terminal covers the current geographic position, so that the gateway adds the terminal into the multicast group corresponding to the first multicast group address, the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information is further limited after the terminal randomly adds the multicast group, and the behavior of order disorder is avoided.
In one embodiment, the receiver 2510 is further configured to receive a sixth request message sent by the gateway, where the sixth request message includes an identifier of the reference and a geo-multicast group address;
the processor 2520 is further configured to obtain a geographic location of the reference object according to the identifier of the reference object, and determine that the geographic location of the reference object covers a geographic location corresponding to the first multicast group address;
The transmitter 2530 is further configured to transmit a response message of the sixth request message to the gateway, where the response message includes information that the geographical location of the reference object covers the geographical location corresponding to the first multicast group address, so that the gateway joins the terminal to the multicast group corresponding to the first multicast group address.
On the basis of judging that the terminal can switch the multicast group according to the adjacent switching principle, the application server determines whether the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address according to the reference matching principle, and when the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address, a message is sent to inform the gateway, so that the gateway enables the terminal to be added into the multicast group corresponding to the first multicast group address, the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information is limited after the terminal randomly adds into the multicast group, and the order is disturbed.
In one embodiment, processor 2520 obtains the network geographical location of the terminal from its identity, including:
processor 2520 obtains the network geographical location of the terminal from the home subscriber server HSS or the location server.
In one embodiment, processor 2520 obtains the geographic location of the reference object from its identification, including:
Processor 2520 obtains the geographical location of the reference object from the home subscriber server HSS or the location server.
The functions of the various functional devices in the application server may be implemented by the steps executed by the application server in the embodiments shown in fig. 3, fig. 4, and 11 to fig. 22, and therefore, detailed working processes of the application server provided in the embodiments of the present invention are not repeated herein.
The embodiment of the invention also provides a gateway. As shown in fig. 27, a receiver 2410 of the gateway is configured to receive a first request message sent by a terminal, where the first request message includes a first multicast group address and an identifier of the terminal, where the first multicast group address is an address of a multicast group that the terminal requests to join;
a transmitter 2430, configured to send a second request message to the application server, where the second request message includes an identifier of the terminal and a first multicast group address, and the second request message is used for the application server to obtain, according to the identifier of the terminal, a network geographic location of the terminal from a home subscriber server HSS, and determine that the network geographic location of the terminal covers a geographic location corresponding to the first multicast group address;
a processor 2420, configured to join the terminal to the multicast group corresponding to the first multicast group address when the gateway receives a response message of the second request message sent by the application server, where the response message of the second request message includes information that the network geographic location of the terminal covers the geographic location corresponding to the multicast address.
Based on the position covering principle, the gateway determines whether the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address through the application server, and when the network geographic position of the terminal covers the geographic position, the gateway executes the terminal to join the multicast group corresponding to the first multicast group address, so that the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, and further malicious rebroadcasting information and order disorder behaviors after the terminal randomly joins the multicast group are limited.
In one embodiment, the processor 2420 is further configured to determine that a time difference between receiving the first request message and receiving a request message for the terminal to request to exit the second multicast group address is greater than a shortest elapsed time for the terminal to cross a geographic location corresponding to the second multicast group address and a geographic location corresponding to a multicast group address;
the transmitter 2430 transmits the second request message to the application server.
In another embodiment, the first request message further includes a current geographical location, and the current geographical location is a geographical location where the terminal is located when the terminal sends the first request message to the gateway.
The functions of each function device in the gateway may be implemented by the steps executed by the gateway in the embodiment shown in fig. 5, and therefore, detailed working processes of the gateway provided in the embodiment of the present invention are not repeated herein.
As shown in fig. 28, the receiver 2510 is configured to receive a second request message sent by the gateway, where the second request message includes an identifier of a terminal and a first multicast group address, and the first multicast group address is an address corresponding to a multicast group to which the terminal requests to join;
a processor 2520, configured to obtain a network geographic location of the terminal from a home subscriber server HSS according to the identifier of the terminal, and determine that a network address covers a geographic location corresponding to the first multicast group address;
a transmitter 2530, configured to transmit, to the gateway, a response message of the second request message, including information that the network geographical location covers a geographical location corresponding to the first multicast group address, so that the gateway joins the terminal to the multicast group corresponding to the first multicast group address.
Based on the position covering principle, the application server determines whether the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address, and when the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address, the application server sends a message to inform the gateway, so that the gateway enables the terminal to be added into the multicast group corresponding to the first multicast group address, the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information is limited after the terminal randomly adds into the multicast group, and the behavior of order disorder is avoided.
The functions of the functional devices in the application server may be implemented by the steps executed by the application server in the embodiment shown in fig. 5, and therefore, the detailed working process of the application server provided in the embodiment of the present invention is not repeated herein.
An embodiment of the present invention further provides a gateway, as shown in fig. 27, a receiver 2410 of the gateway, configured to receive a first request message sent by a terminal, where the first request message includes a first multicast group address, an identifier of the terminal, and a current geographic location, where the first multicast group address is an address of a multicast group requested to join by the terminal, and the current geographic location is a geographic location where the terminal is located when the terminal sends the first request message to the gateway;
a transmitter 2430, configured to send a second request message to the application server, where the second request message includes an identifier of the terminal and a current geographic location, and the second request message is used for the application server to obtain, according to the identifier of the terminal, a network geographic location of the terminal from a home subscriber server HSS, and determine that the network geographic location of the terminal covers the current geographic location where the terminal is located;
and a processor 2420, configured to add the terminal to a multicast group corresponding to the multicast group address when the gateway receives a response message of the second request message sent by the application server, where the response message of the second request message includes information that the network geographical location of the terminal covers the current geographical location where the terminal is located.
Based on the position covering principle, the gateway determines whether the network geographic position of the terminal covers the current geographic position of the terminal when the terminal requests the multicast group corresponding to the first multicast group address through the application server, and when the network geographic position of the terminal covers the current geographic position, the gateway executes the terminal to join the multicast group corresponding to the first multicast group address, so that the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information is limited after the terminal randomly joins the multicast group, and the behavior of order disorder is avoided.
In one embodiment, the processor 2420 is further configured to determine that a time difference between receiving the first request message and receiving the request for the terminal to exit the second multicast group is greater than a shortest elapsed time for the terminal to cross a geographic location corresponding to the second multicast group address and a geographic location corresponding to a multicast group address;
the transmitter 2430 transmits the second request message to the application server.
The functions of each function device in the gateway may be implemented by the steps executed by the gateway in the embodiment shown in fig. 6, and therefore, detailed working processes of the gateway provided in the embodiment of the present invention are not repeated herein.
As shown in fig. 28, a receiver 2510 of the application server is configured to receive a second request message sent by a gateway, where the second request message includes an identifier of a terminal and a current geographic location, and the current geographic location is a geographic location where the terminal requests to join a multicast group corresponding to a first multicast group address;
A processor 2520, configured to obtain a network geographic location of the terminal from a home subscriber server HSS according to the identifier of the terminal, and determine that the network geographic location of the terminal covers a current geographic location;
a transmitter 2530, configured to send a response message of the second request message to the gateway, where the response message includes information that the network geographical location covers the current geographical location, so that the gateway joins the terminal to the multicast group corresponding to the first multicast group address.
Based on a position covering principle, an application server determines whether the network geographic position of a terminal covers the current geographic position of the terminal when the terminal requests a multicast group corresponding to a first multicast group address, and sends a message to inform a gateway when the network geographic position of the terminal covers the current geographic position of the terminal when the network geographic position of the terminal requests the multicast group corresponding to the first multicast group address, so that the terminal is enabled to join the terminal into the multicast group corresponding to the first multicast group address, the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information is limited after the terminal randomly joins the multicast group, and.
The functions of the functional devices in the application server may be implemented by the steps executed by the application server in the embodiment shown in fig. 6, and therefore, detailed working processes of the application server provided in the embodiment of the present invention are not repeated herein.
An embodiment of the present invention further provides a gateway, as shown in fig. 27, a receiver 2410 of the gateway, configured to receive a first request message sent by a terminal, where the first request message includes a first multicast group address and an identifier of the terminal; the first multicast group address is the address of the multicast group which the terminal requests to join;
a processor 2420, configured to obtain a geographic location corresponding to the first multicast group address according to the first multicast group address;
a transmitter 2430, configured to send a second request message to a home subscriber server HSS, where the second request message includes an identifier of a terminal and a geographic location corresponding to the first multicast group address, and the second request message is used for the HSS to query a network geographic location of the terminal according to the identifier of the terminal, and determine that the network geographic location of the terminal covers the geographic location corresponding to the first multicast group address;
the processor 2420 is further configured to, when the gateway receives a response message of the second request message sent by the HSS, perform, according to the response message of the second request message, that the terminal joins the multicast group corresponding to the first multicast group address, where the response message of the second request message includes that the network geographic location of the terminal covers the geographic location corresponding to the first multicast group address.
Based on the position covering principle, the gateway determines whether the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address through the home subscriber server HSS, and when the network geographic position of the terminal covers the geographic position, the gateway executes the terminal to join the multicast group corresponding to the first multicast group address, so that the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, and further malicious rebroadcasting information and rank order disorder behaviors after the terminal randomly joins the multicast group are limited.
In one embodiment, the processor 2420 is further configured to determine that a time difference between receiving the first request message and receiving the request for the terminal to exit the second multicast group is greater than a shortest elapsed time for the terminal to cross a geographic location corresponding to the second multicast group address and a geographic location corresponding to a multicast group address;
the transmitter 2430 transmits the second request message to the application server.
In one embodiment, the first request message further includes a current geographical location, and the current geographical location is a geographical location where the terminal is located when the terminal sends the first request message to the gateway.
The functions of each function device in the gateway may be implemented by the steps executed by the gateway in the embodiment shown in fig. 7, and therefore, detailed working processes of the gateway provided in the embodiment of the present invention are not repeated herein.
Fig. 29 is a home subscriber server HSS according to an embodiment of the present invention, where the HSS includes a receiver 2610, a processor 2620, a transmitter 2630, and a memory 2640, and the receiver 2610, the processor 2620, the transmitter 2630, and the memory 2640 are connected by a communication bus to implement communication therebetween. The memory 2640 is used for storing data, such as address locations corresponding to multicast group addresses.
A receiver 2610, configured to receive a second request message sent by the gateway, where the second request message includes an identifier of the terminal and a geographic location corresponding to a first multicast group address, and the first multicast group address is an address corresponding to a multicast group to which the terminal requests to join;
the processor 2620 is configured to obtain a network geographic location of the terminal according to the identifier of the terminal, and determine that the network geographic location covers a geographic location corresponding to the first multicast group address;
a transmitter 2630, configured to send, to the gateway, a response message of the second request message, including information that the network geographic location covers a geographic location corresponding to the first multicast group address, so that the gateway joins the terminal to the multicast group corresponding to the first multicast group address.
Based on a position covering principle, the HSS determines whether the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address, and when the network geographic position of the terminal covers the geographic position, a message is sent to inform the gateway, so that the gateway executes the terminal to join the multicast group corresponding to the first multicast group address, the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information is further limited after the terminal randomly joins the multicast group, and the behavior of order disorder is avoided.
The functions of the functional devices in the HSS can be implemented through the steps executed by the HSS in the embodiment shown in fig. 7, and therefore, detailed working processes of the HSS provided in the embodiment of the present invention are not repeated herein.
An embodiment of the present invention further provides a gateway, as shown in fig. 27, a receiver 2410 of the gateway, configured to receive a first request message sent by a terminal, where the first request message includes a first multicast group address, an identifier of the terminal, and a current geographic location, where the first multicast group address is an address of a multicast group requested to join by the terminal, and the current geographic location is a geographic location where the terminal is located when the terminal sends the first request message to the gateway;
a transmitter 2430, configured to send a second request message to a home subscriber server HSS, where the second request message includes a current geographic location and an identifier of a terminal, and the second request message is used for the HSS to query a network geographic location of the terminal according to the identifier of the terminal, and determine that the network geographic location covers the current geographic location;
a processor 2420, configured to, when the receiver receives a response message of the second request message sent by the HSS, perform, according to the response message of the second request message, that the terminal joins the multicast group corresponding to the multicast group address, where the response message of the second message includes that the network geographic location of the terminal covers the current geographic location.
Based on the position covering principle, the gateway determines whether the network geographic position of the terminal covers the current geographic position of the multicast group corresponding to the first multicast group address through the home subscriber server HSS, and when the network geographic position of the terminal covers the current geographic position of the multicast group corresponding to the first multicast group address, the gateway executes the terminal to join the multicast group corresponding to the first multicast group address, so that the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information is limited after the terminal randomly joins the multicast group, and the behavior of order disorder is avoided.
In one embodiment, the processor 2420 is further configured to determine that a time difference between receiving the first request message and receiving the request for the terminal to exit the second multicast group is greater than a shortest elapsed time for the terminal to cross a geographic location corresponding to the second multicast group address and a geographic location corresponding to a multicast group address;
the transmitter 2430 transmits the second request message to the application server.
The functions of each function device in the gateway may be implemented by the steps executed by the gateway in the embodiment shown in fig. 8, and therefore, the detailed working process of the gateway provided in the embodiment of the present invention is not repeated herein.
As shown in fig. 29, a receiver 2610 of the HSS is configured to receive a second request message sent by a gateway, where the second request message includes a current geographic location and an identifier of a terminal; the current geographic position is the geographic position of the terminal when the terminal requests to join the multicast group corresponding to the first multicast group address;
The processor 2620 is configured to query the network geographic location of the terminal according to the identifier of the terminal, and determine that the network geographic location covers the current geographic location;
a transmitter 2630, configured to send, to the gateway, a response message of the second request message, including information that the network geographic location covers the current geographic location, so that the gateway joins the terminal to the multicast group corresponding to the first multicast group address.
Based on the position covering principle, the HSS determines whether the network geographic position of the terminal covers the current geographic position of the first multicast group address corresponding to the multicast group, and when the network geographic position of the terminal covers the current geographic position, a message is sent to inform the gateway, so that the gateway enables the terminal to be added into the multicast group corresponding to the first multicast group address, the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information is limited after the terminal randomly adds into the multicast group, and the order is disturbed is avoided.
The functions of the functional devices in the HSS can be implemented through the steps executed by the HSS in the embodiment shown in fig. 8, and therefore, detailed working processes of the HSS provided in the embodiment of the present invention are not repeated herein.
An embodiment of the present invention further provides a gateway, as shown in fig. 27, a receiver 2410 of the gateway, configured to receive a first request message sent by a terminal, where the first request message includes a first multicast group address, and the first multicast group address is an address of a multicast group that the terminal requests to join;
A processor 2420 for obtaining reference object information, the reference object information including an identification of a reference object;
a transmitter 2430, configured to send a second request message to the application server, where the second request message includes an identifier of the reference object and the first multicast group address, and the second request message is used for the application server to obtain, according to the identifier of the reference object, a geographic location of the reference object from a home subscriber server HSS, and determine that the geographic location of the reference object covers a geographic location corresponding to the first multicast group address;
the processor 2420 is further configured to, when the gateway receives a response message of the second request sent by the application server, perform the terminal to join the multicast group corresponding to the first multicast group address according to the response message of the second message, where the response message of the second message includes information that the geographic location of the reference object covers the geographic location corresponding to the first multicast group address.
Based on the reference matching principle, the gateway determines whether the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address through the application server, and when the network geographic position of the terminal covers the geographic position, the gateway executes the terminal to join the multicast group corresponding to the first multicast group address, so that the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information is limited after the terminal randomly joins the multicast group, and the order is disturbed.
In one embodiment, the processor 2420 is further configured to determine that a time difference between receiving the first request message and receiving the request for the terminal to exit the second multicast group is greater than a shortest elapsed time for the terminal to cross a geographic location corresponding to the second multicast group address and a geographic location corresponding to a multicast group address;
the processor 2420 acquires reference object information.
In one embodiment, the first request message further includes a current geographical location, and the current geographical location is a geographical location where the terminal is located when the terminal sends the first request message to the gateway.
The functions of the functional devices in the gateway may be implemented through the steps executed by the gateway in the embodiment shown in fig. 9, and therefore, the detailed working process of the gateway provided in the embodiment of the present invention is not repeated herein.
As shown in fig. 28, a receiver 2510 of the application server is configured to receive a second request message sent by a gateway, where the second request message includes an identifier of a reference object and a first multicast group address, where the first multicast group address is an address corresponding to a multicast group to which a terminal requests to join;
a processor 2520, configured to obtain a geographic location of the reference object from the home subscriber server HSS according to the identifier of the reference object, and determine that the geographic location of the reference object covers a geographic location corresponding to the first multicast group address;
A transmitter 2530, configured to transmit a response message of the second request message to the gateway, including information that the geographical location of the reference object covers the geographical location corresponding to the first multicast group address, so that the gateway joins the terminal to the multicast group corresponding to the first multicast group address.
Based on the reference matching principle, the application server determines whether the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address, and when the network geographic position of the terminal covers the geographic position, the gateway executes the terminal to join the multicast group corresponding to the first multicast group address, so that the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information is limited after the terminal randomly joins the multicast group, and the order is disturbed.
The functions of the functional devices in the application server may be implemented by the steps executed by the application server in the embodiment shown in fig. 9, and therefore, the detailed working process of the application server provided in the embodiment of the present invention is not repeated herein.
An embodiment of the present invention further provides a gateway, as shown in fig. 27, a receiver 2410 of the gateway, configured to receive a first request message sent by a terminal, where the first request message includes a first multicast group address, and the first multicast group address is an address of a multicast group that the terminal requests to join;
A processor 2420 for obtaining reference object information, the reference object information including an identification of a reference object;
a processor 2420, further configured to obtain, from the application server, a geographic location corresponding to the multicast group address according to the first multicast group address;
a transmitter 2430, configured to send a second request message to the home subscriber server HSS, where the second request message includes an identifier of the reference object and a geographic location corresponding to the first multicast group address, and the second request message is used to obtain, from the home subscriber server HSS, the geographic location of the reference object corresponding to the identifier of the reference object, and determine that the geographic location of the reference object covers the geographic location corresponding to the multicast group address;
the processor 2420 is further configured to join the terminal to the multicast group corresponding to the multicast group address when the gateway receives a response message of the second request message sent by the HSS, where the response message of the second request message includes that the geographical location of the reference object covers the geographical location corresponding to the first multicast group address.
On the basis of judging that the terminal can switch the multicast group based on the switching adjacency principle, the gateway determines whether the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address through the attribution subscriber server according to the reference matching principle, and when the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address, the gateway executes the terminal to join the multicast group corresponding to the first multicast group address, so that the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information and rank order disorder behaviors after the terminal randomly joins the multicast group are further limited.
In one embodiment of the present invention,
a processor 2420, further configured to determine that a time difference between receiving the first request message and receiving a request for the terminal to exit the second multicast group is greater than a shortest elapsed time for the terminal to cross a geographic location corresponding to the second multicast group address and a geographic location corresponding to the first multicast group address;
the processor 2420 acquires reference object information.
In one embodiment, the first request message further includes a current geographical location, and the current geographical location is a geographical location where the terminal is located when the terminal sends the first request message to the gateway.
The functions of each function device in the gateway may be implemented by the steps executed by the gateway in the embodiment shown in fig. 10, and therefore, detailed working processes of the gateway provided in the embodiment of the present invention are not repeated herein.
As shown in fig. 29, the receiver 2610 of the HSS is configured to receive a second request message sent by a gateway, where the second request message includes an identifier of a reference object and a geographic location corresponding to a first multicast group address, and the first multicast group address is an address corresponding to a multicast group to which a terminal requests to join;
a processor 2620, configured to query a geographic location of the reference object according to the identifier of the reference object, and determine that the geographic location of the reference object covers a geographic location corresponding to the first multicast group address;
A transmitter 2630, configured to transmit, to the gateway, a response message of the second request message, including information that the geographical location of the reference object covers the geographical location corresponding to the first multicast group address, so that the gateway joins the terminal to the multicast group corresponding to the first multicast group address.
Based on the reference matching principle, the attribution subscriber server determines whether the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address, and when the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address, a message is sent to inform the gateway, so that the gateway enables the terminal to be added into the multicast group corresponding to the first multicast group address, the situation that the terminal randomly switches the multicast group which is not matched with the current geographic position is avoided, malicious rebroadcasting information is limited after the terminal randomly adds into the multicast group, and the behavior of order disorder is avoided.
The functions of the functional devices in the HSS can be implemented through the steps executed by the HSS in the embodiment shown in fig. 10, and therefore, detailed working processes of the HSS provided in the embodiment of the present invention are not repeated herein.
The processor in fig. 27 to 29 may be a Central Processing Unit (CPU), and the processor may also be other general-purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The communication bus may include a power bus, a control bus, a status signal bus, and the like, in addition to the data bus. For clarity of illustration, however, the various buses are labeled as a bus system in the figures.
The terminal may include a memory, which may include read-only memory and random access memory, and provides instructions and data to the processor. The portion of memory may also include non-volatile random access memory. For example, the memory may also store device type information.
In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or instructions in the form of software. The steps of a method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware processor, or may be implemented by a combination of hardware and software modules in the processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in a memory, and a processor reads information in the memory and completes the steps of the method in combination with hardware of the processor. To avoid repetition, it is not described in detail here.
An embodiment of the present invention further provides an apparatus, where the apparatus is configured to store data and program instructions, and the processor is configured to execute the program instructions stored in the memory, so that the apparatus executes any one of the methods executed by the gateway, the application server, and the HSS in fig. 3 to 23, respectively.
The embodiment of the invention also provides a computer storage medium, which is used for storing a program, and when the program is executed, any method executed by the gateway, the application server and the HSS in the figures 3 to 23 is respectively realized.
In the various embodiments of the invention described above, implementation may be in whole or in part via software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable medium to another, for example, from one website, computer, server, or data center to another website, computer, server, or data center via wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid state disk), among others.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (20)

1. A method for a terminal to join a multicast group in a vehicle networking system is characterized by comprising the following steps:
a gateway receives a first request message sent by a terminal, wherein the first request message comprises a first multicast group address, and the first multicast group address is an address corresponding to a multicast group which the terminal requests to join;
the gateway acquires a geographic position corresponding to the first multicast group address and a geographic position corresponding to the second multicast group address; the second multicast group address is an address corresponding to a multicast group which the terminal requests to quit;
the gateway determines that the geographic position corresponding to the first multicast group address is adjacent to the geographic position corresponding to the second multicast group address;
and the gateway adds the terminal into a multicast group corresponding to the first multicast group address.
2. The method of claim 1, wherein the acquiring, by the gateway, the geographic location corresponding to the first multicast group address and the geographic location corresponding to the second multicast group address comprises:
and the gateway searches the geographical position corresponding to the first multicast group address and the geographical position corresponding to the second multicast group address from the association information of the multicast group addresses and the geographical positions.
3. The method of claim 1, wherein the acquiring, by the gateway, the geographic location corresponding to the first multicast group address and the geographic location corresponding to the second multicast group address comprises:
and the gateway acquires the geographic position corresponding to the first multicast group address and the geographic position corresponding to the second multicast group address from an application server according to the first multicast group address and the second multicast group address.
4. The method of claim 1, wherein the first request message further comprises an identification of the terminal; before the gateway joins the terminal to the multicast group corresponding to the first multicast group address, the method further includes:
the gateway sends a second request message to an application server, wherein the second request message comprises the first multicast group address and the identifier of the terminal, and the second request message is used for the application server to acquire the network geographic position of the terminal according to the identifier of the terminal and determine that the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address;
And the gateway receives a response message of a second request message sent by the application server, wherein the response message of the second request message comprises information that the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address.
5. The method of claim 1, wherein the first request message further comprises an identification of the terminal; before the gateway joins the terminal to the multicast group corresponding to the first multicast group address, the method further includes:
the gateway sends a third request message to a Home Subscriber Server (HSS), wherein the third request message comprises the identifier of the terminal and the geographical position corresponding to the first multicast group address, and the third request message is used for the HSS to inquire the network geographical position of the terminal according to the identifier of the terminal and determine that the network geographical position of the terminal covers the geographical position corresponding to the first multicast group address;
and the gateway receives a response message of a third request message sent by the HSS, wherein the response message of the third request message comprises information that the network geographic position of the terminal covers the geographic position corresponding to the first multicast group address.
6. The method according to claim 1, wherein the first request message further includes a current geographical location, and the current geographical location is a geographical location where the terminal is located when the terminal sends the first request message to the gateway.
7. The method of claim 6, wherein the first request message further comprises an identification of the terminal; before the gateway joins the terminal to the multicast group corresponding to the first multicast group address, the method further includes:
the gateway sends a fourth request message to an application server, wherein the fourth request message comprises an identifier of a terminal and the current geographic position, and the fourth request message is used for the application server to acquire the network geographic position of the terminal from a Home Subscriber Server (HSS) according to the identifier of the terminal and determine that the network geographic position of the terminal covers the current geographic position;
and the gateway receives a response message of a fourth request message sent by the application server, wherein the response message of the fourth request message comprises information that the network geographic position of the terminal covers the current geographic position.
8. The method of claim 1, wherein the first request message further comprises an identification of the terminal; before the gateway joins the terminal to the multicast group corresponding to the first multicast group address, the method further includes:
the gateway sends a fifth request message to a Home Subscriber Server (HSS), wherein the fifth request message comprises the identifier of the terminal and the current geographic position of the terminal, and the fifth request message is used for the HSS to inquire the network geographic position of the terminal according to the identifier of the terminal and determine that the network geographic position of the terminal covers the current geographic position of the terminal;
and the gateway receives a response message of a fifth request message sent by the HSS, wherein the response message of the fifth request message comprises information that the network geographic position of the terminal covers the current geographic position of the terminal.
9. The method according to claim 1, wherein the first request message further includes reference information, and the reference information includes an identifier of a reference at a location where the terminal is located; before the gateway joins the terminal to the multicast group corresponding to the first multicast group address, the method further includes:
The gateway sends a sixth request message to an application server, wherein the sixth request message comprises an identifier of a reference object and the first multicast group address, and the sixth request message is used for the application server to acquire the geographic position of the reference object and the geographic position corresponding to the first multicast group address from a Home Subscriber Server (HSS) according to the sixth request message and determine that the geographic position of the reference object covers the geographic position corresponding to the first multicast group address;
and the gateway receives a response message of a sixth request sent by the application server, wherein the response message of the sixth request message comprises information that the geographic position of the reference object covers the geographic position corresponding to the first multicast group address.
10. The method according to claim 1, wherein the first request message further includes reference information, and the reference information includes an identifier of a reference at a location where the terminal is located; before the gateway joins the terminal to the multicast group corresponding to the first multicast group address, the method further includes:
the gateway sends a seventh request message to a Home Subscriber Server (HSS), wherein the seventh request message comprises the identifier of the reference object and the geographical position corresponding to the first multicast group address, and the seventh request message is used for acquiring the geographical position of the reference object corresponding to the identifier of the reference object from the Home Subscriber Server (HSS) and determining that the geographical position of the reference object covers the geographical position corresponding to the first multicast group address;
And the gateway receives a response message of a seventh request message sent by the HSS, wherein the response message of the seventh request message comprises that the geographic position of the reference object covers the geographic position corresponding to the first multicast group address.
11. The method according to any one of claims 1 to 10, wherein after the gateway receives the first request message sent by the terminal, the method further comprises:
the gateway determines that the time difference between the received first request message and the request message of the terminal for exiting the multicast group corresponding to the second multicast group address meets a preset condition; the preset condition is that the time difference between the gateway receiving the first request message and the gateway receiving the request message for exiting the second multicast group is smaller than the shortest time consumed by the terminal for crossing the geographic position corresponding to the second multicast group address and the geographic position corresponding to the multicast group address.
12. A method for a terminal to join a multicast group in a vehicle networking system is characterized by comprising the following steps:
an application server receives an acquisition request message sent by a gateway, wherein the acquisition request message comprises a first multicast group address and a second multicast group address, the first multicast group address is an address corresponding to a multicast group which a terminal requests to join, and the second multicast group address is an address corresponding to a multicast group which the terminal requests to quit;
The application server acquires the geographic position corresponding to the first multicast group address and the geographic position corresponding to the second multicast group address according to the acquisition request message and the association information of the multicast group address and the geographic position;
and the application server sends a response message of the acquisition request message to the gateway, wherein the response message comprises a geographic position corresponding to the first multicast group address and a geographic position corresponding to the second multicast group address, so that the gateway can determine that the geographic position corresponding to the first multicast group address is adjacent to the geographic position corresponding to the second multicast group address.
13. The method of claim 12, further comprising:
the application server receives a second request message sent by the gateway, wherein the second request message comprises an identifier of a terminal;
the application server acquires the network geographic position of the terminal according to the identifier of the terminal and determines that the network geographic position covers the geographic position corresponding to the first multicast group address;
and the application server sends a response message of the second request message to the gateway, wherein the response message comprises information that the network geographic position covers the geographic position corresponding to the first multicast group address, and is used for the gateway to join the terminal into a multicast group corresponding to the first multicast group address.
14. The method of claim 12, further comprising:
the application server receives a fourth request message sent by the gateway, wherein the fourth request message comprises the identifier of the terminal and the current geographical position, and the current geographical position is the geographical position of the terminal when the terminal requests to join the multicast group corresponding to the first multicast group address;
the application server acquires the network geographic position of the terminal according to the identifier of the terminal and determines that the network geographic position covers the current geographic position;
and the application server sends a response message of a fourth request message to the gateway, wherein the response message comprises information that the network geographic position covers the current geographic position, and is used for the gateway to join the terminal into a multicast group corresponding to the first multicast group address.
15. The method of claim 12, further comprising:
the application server receives a sixth request message sent by the gateway, wherein the sixth request message comprises the identifier of the reference object and the first multicast group address;
the application server acquires the geographic position of the reference object according to the identifier of the reference object and determines that the geographic position of the reference object covers the geographic position corresponding to the first multicast group address;
And the application server sends a response message of the sixth request message to the gateway, wherein the response message comprises information that the geographical position of the reference object covers the geographical position corresponding to the first multicast group address, and is used for the gateway to join the terminal into the multicast group corresponding to the first multicast group address.
16. The method according to claim 13 or 14, wherein the obtaining, by the application server, the network geographical location of the terminal according to the identifier of the terminal comprises:
and the application server acquires the network geographic position of the terminal from a Home Subscriber Server (HSS) or a position server.
17. The method of claim 15, wherein the obtaining, by the application server, the geographic location of the reference object based on the identification of the reference object comprises:
and the application server acquires the geographic position of the reference object from a Home Subscriber Server (HSS) or a position server.
18. A gateway, characterized in that the gateway comprises a receiver, a transmitter, a processor and a memory, wherein the transmitter and the receiver are adapted to receive and transmit data, the memory is adapted to store data and program instructions, and the processor is adapted to execute the program instructions stored in the memory to cause the gateway to perform the method of any of claims 1 to 11.
19. An application server, characterized in that the application server comprises a memory for storing data and program instructions and a processor for executing the program instructions stored in the memory to cause the application server to perform the method of any of claims 12 to 17.
20. A computer storage medium for storing a program which when executed performs the method of any one of claims 1 to 17.
CN201810502725.9A 2018-05-23 2018-05-23 Method, gateway and server for terminal joining multicast group in car networking Active CN110602628B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810502725.9A CN110602628B (en) 2018-05-23 2018-05-23 Method, gateway and server for terminal joining multicast group in car networking
PCT/CN2019/087569 WO2019223640A1 (en) 2018-05-23 2019-05-20 Method for terminal to join multicast group in internet of vehicles, gateway and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810502725.9A CN110602628B (en) 2018-05-23 2018-05-23 Method, gateway and server for terminal joining multicast group in car networking

Publications (2)

Publication Number Publication Date
CN110602628A CN110602628A (en) 2019-12-20
CN110602628B true CN110602628B (en) 2021-04-20

Family

ID=68617117

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810502725.9A Active CN110602628B (en) 2018-05-23 2018-05-23 Method, gateway and server for terminal joining multicast group in car networking

Country Status (2)

Country Link
CN (1) CN110602628B (en)
WO (1) WO2019223640A1 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859623A (en) * 2006-03-17 2006-11-08 华为技术有限公司 Method for realizing stream media service
CN101052166A (en) * 2007-05-23 2007-10-10 中兴通讯股份有限公司 Region control method for multimedia broadcast and multicast business
WO2013063483A2 (en) * 2011-10-28 2013-05-02 Qualcomm Incorporated Method and apparatus to detect a demand for and to establish demand-based multimedia broadcast multicast service
CN103379432A (en) * 2012-04-20 2013-10-30 中兴通讯股份有限公司 Mobile advertisement distributing method and system
CN104298740A (en) * 2014-10-09 2015-01-21 清华大学 Geographic position coding method
WO2017166298A1 (en) * 2016-04-01 2017-10-05 Nokia Technologies Oy Method, apparatus and computer program product for data distribution
CN107770727A (en) * 2017-11-30 2018-03-06 中兴通讯股份有限公司 A kind of management method and system in MBMS region

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101365226A (en) * 2007-08-08 2009-02-11 华为技术有限公司 Method and device for accelerating user terminal access service in wireless access network
CN102984645A (en) * 2011-09-07 2013-03-20 中兴通讯股份有限公司 Mobile advertisement distributing method and device and system based on position
WO2014010102A1 (en) * 2012-07-13 2014-01-16 Telefonaktiebolaget L M Ericsson (Publ) Technique for distributing a message to mobile terminals that are located in a destination area

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859623A (en) * 2006-03-17 2006-11-08 华为技术有限公司 Method for realizing stream media service
CN101052166A (en) * 2007-05-23 2007-10-10 中兴通讯股份有限公司 Region control method for multimedia broadcast and multicast business
WO2013063483A2 (en) * 2011-10-28 2013-05-02 Qualcomm Incorporated Method and apparatus to detect a demand for and to establish demand-based multimedia broadcast multicast service
CN103379432A (en) * 2012-04-20 2013-10-30 中兴通讯股份有限公司 Mobile advertisement distributing method and system
CN104298740A (en) * 2014-10-09 2015-01-21 清华大学 Geographic position coding method
WO2017166298A1 (en) * 2016-04-01 2017-10-05 Nokia Technologies Oy Method, apparatus and computer program product for data distribution
CN107770727A (en) * 2017-11-30 2018-03-06 中兴通讯股份有限公司 A kind of management method and system in MBMS region

Also Published As

Publication number Publication date
CN110602628A (en) 2019-12-20
WO2019223640A1 (en) 2019-11-28

Similar Documents

Publication Publication Date Title
Cao et al. Toward pre-empted EV charging recommendation through V2V-based reservation system
Zhao et al. VADD: Vehicle-assisted data delivery in vehicular ad hoc networks
KR101697508B1 (en) Network service of a cellular communication network
CN105850223B (en) Peer-to-peer vehicular ad hoc network with bandwidth bonding, seamless mobility, and traffic-based routing
CN108064062B (en) A method and apparatus for information processing across base stations
JP4008878B2 (en) Protocol that determines the optimal target access router for IP level seamless handover
Mershad et al. We can deliver messages to far vehicles
TWI572204B (en) Methods and devices for content distribution
CN109922483B (en) A radio resource adjustment method and related equipment
EP2618595A2 (en) Mobile WiFi network
WO2014161449A1 (en) Method and device for implementing proximity communication service
Venu et al. Execution of Multitarget Node Selection Scheme for Target Position Alteration Monitoring in MANET
CN112087737A (en) Communication method, device and system
US9716983B2 (en) Systems and methods for service in multimedia broadcast multicast services
Maryam et al. Mitigating broadcast storm in interest/data packet forwarding in vehicular content centric networking
Hagenauer et al. Parked cars as virtual network infrastructure: Enabling stable V2I access for long-lasting data flows
CN110505254A (en) A communication method, system and terminal for vehicles traveling in formation
Wahid et al. Software‐Defined Networks and Named Data Networks in Vehicular Ad Hoc Network Routing: Comparative Study and Future Directions
US20150124650A1 (en) Systems and methods for cognitive radio communications
JP4206954B2 (en) A communication system, a mobile radio terminal, an information management server, and a radio access point device.
CN110602628B (en) Method, gateway and server for terminal joining multicast group in car networking
CN112423239A (en) Broadcasting method, device and system
CN110753074B (en) Event early warning method and device
US20120163289A1 (en) Node apparatus, node management apparatus and method, and communication system based on continuous network connectivity-lacking network
Wagan et al. An efficient distributed mobility management scheme for network mobility

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
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220214

Address after: 550025 Huawei cloud data center, jiaoxinggong Road, Qianzhong Avenue, Gui'an New District, Guiyang City, Guizhou Province

Patentee after: Huawei Cloud Computing Technologies Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.