Multicast communication method and device, terminal, medium and program product

By using the security verification password to establish a multicast group in the LTE-V2X system, the problem that the system does not support multicast communication is solved, the coordinated work between on-board units is realized, and the vehicle coordination capability and security are improved.

CN119211853APending Publication Date: 2024-12-27DATANG GOHIGH INTELLIGENT & CONNECTED TECH (CHONGQING) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411235063.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-04
Publication Date
2024-12-27

AI Technical Summary

Technical Problem

The LTE-V2X system does not support multicast communication mode, resulting in the inability to work together between the on-board units.

Method used

Send a message to establish a multicast group through broadcast, including a security verification password, and after the verification is passed, the terminal is added to the multicast group to realize multicast communication.

Benefits of technology

Support multicast communication mode under the LTE-V2X system, ensuring that vehicle-mounted units can work together and improving vehicle collaboration capabilities and safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119211853A_ABST
    Figure CN119211853A_ABST
Patent Text Reader

Abstract

The invention provides a multicast communication method and device, a terminal, a medium and a program product, and relates to the technical field of communication. The multicast communication method is executed by a first terminal, and comprises the following steps: broadcasting and sending a first message for establishing a multicast group, the first message comprising a first security verification password; receiving a second message sent by at least one second terminal, wherein the second message comprises a second security verification password; verifying the second security verification password; and under the condition that the verification of the second security verification password is passed, adding the second terminal into the multicast group. According to the scheme provided by the invention, the problem that a multicast communication mode is not supported in an LTE-V2X system in the prior art is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to a multicast communication method, device, terminal, medium and program product. Background Art

[0002] With the evolution of communication technology, the Internet of Everything is accelerating. The 3rd Generation Partnership Project (3GPP) has introduced vehicle to vehicle (V2V) and vehicle to everything (V2X) services in the Long Term Evolution (LTE) system and the New Radio (NR) system to expand the 3GPP platform to the automotive field.

[0003] Currently, the LTE-V2X system supports broadcast and unicast communication modes, but does not support multicast communication mode, which results in the inability of on-board units (OBUs) to work together. Summary of the invention

[0004] The purpose of the technical solution of the present invention is to provide a multicast communication method, device, terminal, medium and program product to solve the problem in the prior art that the multicast communication mode is not supported in the LTE-V2X system.

[0005] To achieve the above object, the present invention is achieved by:

[0006] In a first aspect, an embodiment of the present invention provides a multicast communication method, which is performed by a first terminal, and the method includes:

[0007] Broadcasting and sending a first message for establishing a multicast group, wherein the first message includes a first security verification password;

[0008] receiving a second message sent by at least one second terminal, wherein the second message includes a second security verification password;

[0009] Verifying the second security verification password;

[0010] When the second security verification password is verified successfully, the second terminal is added to the multicast group.

[0011] In a second aspect, an embodiment of the present invention further provides a multicast communication method, which is performed by a second terminal, and the method includes:

[0012] Receiving a first message sent by a first terminal for establishing a multicast group, wherein the first message includes a first security verification password;

[0013] Verifying the first security verification password;

[0014] When the first security verification password is verified successfully, a second message is sent to the first terminal, where the second message includes a second security verification password.

[0015] In a third aspect, an embodiment of the present invention further provides a multicast communication device, applied to a first terminal, the device comprising:

[0016] A first sending module, configured to broadcast and send a first message for establishing a multicast group, wherein the first message includes a first security verification password;

[0017] A first receiving module, configured to receive a second message sent by at least one second terminal, wherein the second message includes a second security verification password;

[0018] A first verification module, used to verify the second security verification password;

[0019] The first adding module is used to add the second terminal to the multicast group when the second security verification password is verified successfully.

[0020] In a fourth aspect, an embodiment of the present invention further provides a multicast communication device, applied to a second terminal, the device comprising:

[0021] A second receiving module, configured to receive a first message sent by a first terminal for establishing a multicast group, wherein the first message includes a first security verification password;

[0022] A second verification module, used to verify the first security verification password;

[0023] The second sending module is used to send a second message to the first terminal when the first security verification password is verified successfully, wherein the second message includes a second security verification password.

[0024] In the fifth aspect, an embodiment of the present invention also provides a terminal, comprising: a processor, a memory, and a program stored in the memory and executable on the processor, wherein when the program is executed by the processor, the program implements the multicast communication method as described in the first aspect, or implements the multicast communication method as described in the second aspect.

[0025] In a sixth aspect, an embodiment of the present invention further provides a readable storage medium, on which a program is stored, and when the program is executed by a processor, the multicast communication method as described in the first aspect is implemented, or the multicast communication method as described in the second aspect is implemented.

[0026] In a seventh aspect, an embodiment of the present invention further provides a computer program product, comprising computer instructions, which, when executed by a processor, implement the multicast communication method as described in the first aspect, or implement the multicast communication method as described in the second aspect.

[0027] The beneficial effects of the above technical solution of the present invention are as follows:

[0028] In an embodiment of the present invention, a first terminal broadcasts a first message for establishing a multicast group, wherein the first message includes a first security verification password; a second message sent by at least one second terminal is received, wherein the second message includes a second security verification password; the second security verification password is verified; and if the second security verification password is verified successfully, the second terminal is added to the multicast group. In this way, the multicast communication mode can be supported in the LTE-V2X system. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Figure 1 A schematic diagram of a flow chart of a multicast communication method according to one embodiment of the present invention;

[0030] Figure 2 A schematic diagram of a flow chart of a multicast communication method according to another embodiment of the present invention;

[0031] Figure 3 A schematic diagram of a flow chart of one implementation method of the method according to an embodiment of the present invention;

[0032] Figure 4 A schematic diagram of a second implementation of the method according to an embodiment of the present invention;

[0033] Figure 5 This is a flow chart of the third implementation method of the method according to the embodiment of the present invention;

[0034] Figure 6 This is a flow chart of a fourth implementation method of the method according to an embodiment of the present invention;

[0035] Figure 7 A schematic diagram of the structure of a multicast communication device according to one embodiment of the present invention;

[0036] Figure 8 A schematic diagram of the structure of a multicast communication device according to another embodiment of the present invention;

[0037] Fig. 9 The figure is a schematic diagram of the hardware structure of the terminal according to the embodiment of the present invention. DETAILED DESCRIPTION

[0038] In order to make the technical problems, technical solutions and advantages to be solved by the present invention more clear, a detailed description will be given below with reference to the accompanying drawings and specific embodiments.

[0039] In various embodiments of the present invention, it should be understood that the size of the serial numbers of the following processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.

[0040] Additionally, the terms "system" and "network" are often used interchangeably herein.

[0041] The terms "first", "second", etc. in the specification and claims of the present invention are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present invention can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first" and "second" are generally of the same type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims means at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0042] See also Figure 1 , Figure 1 FIG. 1 is a flow chart of a multicast communication method according to one embodiment of the present invention. Figure 1 As shown, the method is performed by a first terminal, and the first terminal includes a road side unit (RSU) or OBU under the LTE-V2X system;

[0043] Furthermore, the method comprises the following steps:

[0044] S101, broadcasting a first message for establishing a multicast group, wherein the first message includes a first security verification password.

[0045] The first message is used to establish a multicast group, so the first message can be understood as a multicast service establishment announcement or a multicast service establishment request.

[0046] Optionally, the first security verification password is set through an application interface or a command window.

[0047] Optionally, the first message is broadcasted through a send button on an application interface.

[0048] Optionally, the first terminal identifier is set through an application interface or a command window.

[0049] In addition, the second terminal identification in the embodiment of the present invention can also be set through the application interface or command window. Each terminal identification must maintain uniqueness.

[0050] Optionally, the first message further includes a source terminal identifier, and the source terminal identifier is consistent with the first terminal identifier.

[0051] Optionally, the first message for establishing the multicast group is broadcasted at intervals of a preset period T.

[0052] Optionally, the method further comprises:

[0053] Record that the first terminal is an initiating terminal for establishing the multicast.

[0054] Since the first terminal serves as the creator and manager of the multicast, the first terminal does not need to respond to the first message initiated by the second terminal.

[0055] Optionally, before step S101, the method further includes:

[0056] Determine the number of times N that the first message is broadcasted.

[0057] In the embodiment of the present invention, the broadcast sending number of times of the first message may be set through an application interface; if the broadcast sending number N of the first message is not set, the broadcast sending number N of the first message is determined as a default value.

[0058] It should be noted that each message described in the embodiment of the present invention is transmitted through a DSA service frame, the AID corresponding to the DSA service is 3616, and different messages are distinguished by multicast element identifiers.

[0059] That is, the first message also includes a multicast element identifier for indicating the establishment of a multicast group.

[0060] S102: Receive a second message sent by at least one second terminal, where the second message includes a second security verification password.

[0061] The second message is used to respond to the first message, so the second message can be understood as a multicast service establishment announcement response or a multicast service establishment response.

[0062] Optionally, the second terminal includes an OBU under the LTE-V2X system.

[0063] In the embodiment of the present invention, after receiving the first message, the second terminal verifies the first security verification password in the first message, and sends a second message to the first terminal if the first security verification password passes the verification.

[0064] Optionally, after the second terminal identifies, based on the multicast element identifier in the first message, that the first message is used to establish a multicast group, the second terminal verifies the first security verification password in the first message.

[0065] Optionally, the second message also includes a source terminal identifier and a destination terminal identifier.

[0066] It should be noted that only the first terminal and the second terminal that have set valid parameters have the authority to participate in establishing the multicast group.

[0067] S103: Verify the second security verification password.

[0068] Among them, one second terminal corresponds to one second message, and one second terminal corresponds to one second security verification password.

[0069] In the embodiment of the present invention, it is necessary to verify the second security verification password corresponding to each second terminal to verify the legitimacy of the second terminal, thereby ensuring the security during the establishment of the multicast group.

[0070] S104: When the second security verification password is verified successfully, add the second terminal to a multicast group.

[0071] In the embodiment of the present invention, when the second security authentication password is authenticated, it means that the second terminal is a legal terminal, the second terminal is added to the multicast group, and the first terminal determines that the multicast link with the second terminal has been successfully established.

[0072] Optionally, the second message includes a source terminal identifier, and the source terminal identifier is consistent with a second terminal identifier, and the second terminal is added to the multicast group according to the second terminal identifier.

[0073] It should be noted that since the first terminal includes an RSU or OBU under the LTE-V2X system, and the second terminal includes an OBU under the LTE-V2X system, the multicast communication method described in the embodiment of the present invention can establish a multicast link between the RSU and the OBU under the LTE-V2X system, and can also establish a multicast link between the OBU and the OBU under the LTE-V2X system.

[0074] In one implementation manner, optionally, the first message also includes first password encryption indication information, and the first password encryption indication information is used to indicate that the first security verification password is in encrypted form.

[0075] In an embodiment of the present invention, when setting the first security verification password through an application interface or a command window, you can choose whether to set the first password encryption indication information. If you choose to set the first password encryption indication information, the first password encryption indication information is carried in the first message, and the first security verification password is encrypted using a preset protocol.

[0076] In one implementation manner, optionally, the second message further includes second password encryption indication information, where the second password encryption indication information is used to indicate that the second security verification password is in encrypted form;

[0077] S103, verifying the second security verification password, including:

[0078] Decrypting the second security verification password using a preset protocol to obtain a decrypted second security verification password;

[0079] Compare the decrypted second security verification password with the first security verification password to see if they are consistent.

[0080] In an embodiment of the present invention, if the second message also includes second password encryption indication information, a preset protocol is used to encrypt the second security verification password, obtain the decrypted second security verification password, and compare the decrypted second security verification password with the first security verification password to see if they are consistent.

[0081] It should be noted that the security verification passwords of all terminals belonging to the same multicast group are the same.

[0082] In one implementation manner, optionally, S103, verifying the second security verification password includes:

[0083] Compare the second security verification password with the first security verification password to see if they are consistent.

[0084] In one implementation manner, optionally, the second message further includes a source terminal identifier and a destination terminal identifier;

[0085] S104, when the second security verification password is verified, adding the second terminal to a multicast group, including:

[0086] If the second security verification password is verified, verifying the consistency between the destination terminal identifier in the second message and the first terminal identifier;

[0087] When the consistency verification between the destination terminal identifier in the second message and the first terminal identifier is passed, the second terminal is added to the multicast group.

[0088] In the above implementation, when the second security verification password is verified successfully, further, the destination terminal identifier in the second message is verified to be consistent with the first terminal identifier. If the destination terminal identifier in the second message is verified to be consistent with the first terminal identifier, it means that the target of the second message is the first terminal. If the destination terminal identifier in the second message is not verified to be consistent with the first terminal identifier, it means that the target of the second message is not the first terminal, and the first terminal no longer processes the second message.

[0089] When the consistency verification between the destination terminal identifier in the second message and the first terminal identifier is passed, the second terminal is added to the multicast group according to the source terminal identifier in the second message.

[0090] The following describes the handling of abnormal events during the process of establishing a multicast group in conjunction with the first embodiment.

[0091] Embodiment 1: For a group of vehicles that need to travel in formation, that is, the terminals of the vehicles need to perform vehicle formation services, the terminal identification corresponding to each vehicle is set to 0, 1, 2...N respectively. Any vehicle can be designated as the head vehicle to initiate multicast establishment and as the manager of the entire formation. The same security verification password is set for each vehicle, and the security verification password is encrypted. After the setting is completed, a vehicle can be uniquely identified by the terminal identification, and the security verification password can prevent malicious terminals from establishing or joining multicast groups.

[0092] Abnormal event 1: Let the vehicle with terminal identification 0 be the lead vehicle, and let the vehicle with terminal identification 1 be the misoperation vehicle. Both initiate the first message at the same time. Some vehicles with terminal identifications 2 to N may receive the first message from the vehicle with terminal identification 0 first, while some vehicles may receive the first message from the vehicle with terminal identification 1 first. In this way, two multicasts will be created at the same time, which is an abnormal event and does not meet expectations. At this time, the vehicle with terminal identification 1 needs to release the multicast link first, and re-join the multicast group where the terminal identification 0 is located after the multicast link is successfully released.

[0093] Abnormal event 2: The vehicle with terminal identification M, M is not in the range of 0 to N, and the vehicle with terminal identification M initiates the first message. After the vehicles with terminal identification 0 to N receive the first message from the vehicle with terminal identification M, they perform security verification password verification and find that the security verification password carried by the terminal identification M is inconsistent with the security verification password set by themselves, and refuse to respond.

[0094] Abnormal event 3: The vehicle with terminal identification M, M is not in the range of 0 to N. The vehicle with terminal identification M receives the first message sent by the vehicle with terminal identification 0. After the vehicle with terminal identification M recognizes the first message, it does not verify the security verification password and directly sends a response to the vehicle with terminal identification 0. The vehicle with terminal identification 0 verifies the security verification password and finds that the security verification password does not match, so it ignores or rejects the response of the vehicle with terminal identification M.

[0095] In one implementation manner, optionally, after adding the second terminal to the multicast group, the method further includes:

[0096] A third message for indicating a multicast service is sent to the multicast group, wherein the third message includes the first security verification password, service data, a source terminal identifier, and a destination terminal identifier.

[0097] The source terminal identifier in the third message is consistent with the first terminal identifier.

[0098] The third message is used to indicate a multicast service, such as a vehicle platooning service, and the service data in the third message corresponds to different multicast services.

[0099] The destination terminal identifier in the third message may include more than one second terminal identifier.

[0100] In the embodiment of the present invention, after the second terminal receives the third message, if it is determined that the target terminal identifier in the third message includes the second terminal identifier, the second terminal determines that the multicast link with the first terminal has been successfully established.

[0101] Optionally, the third message further includes a multicast element identifier for indicating a multicast service.

[0102] After the second terminal receives the third message, if it is determined that the target terminal identifier in the third message includes the second terminal identifier and the third message includes a multicast element identifier, the second terminal determines that the multicast link with the first terminal has been successfully established.

[0103] In one implementation manner, optionally, after adding the second terminal to the multicast group, the method further includes:

[0104] receiving a fourth message sent by the second terminal for indicating the vehicle status, the fourth message including the second security verification password, driving related information, a source terminal identifier, and a destination terminal identifier;

[0105] Verifying the second security verification password in the fourth message and verifying the consistency between the destination terminal identifier and the first terminal identifier in the fourth message;

[0106] When the second security verification password in the fourth message is verified successfully and the consistency verification between the destination terminal identifier and the first terminal identifier in the fourth message is passed, a vehicle coordination instruction is sent to the second terminal according to the driving related information in the fourth message.

[0107] In an embodiment of the present invention, the first terminal receives a fourth message for indicating the vehicle status periodically sent by the second terminal, and the driving-related information in the fourth message includes but is not limited to vehicle condition information and intersection information. Then, the first terminal verifies the second security verification password in the fourth message, and if the second security verification password in the fourth message is verified, further, the consistency of the destination terminal identifier in the fourth message and the first terminal identifier is verified, and if the consistency verification of the destination terminal identifier in the fourth message and the first terminal identifier is passed, the vehicle coordination instruction is determined according to the driving-related information in the fourth message, and the vehicle coordination instruction is sent to the second terminal.

[0108] In one implementation manner, optionally, after adding the second terminal to the multicast group, the method further includes:

[0109] Sending a fifth message for releasing the multicast link to the multicast group, wherein the fifth message includes the first security verification password and the second terminal identifier to be released;

[0110] receiving a sixth message sent by a target second terminal to indicate that the multicast link is released successfully, wherein the sixth message includes the second security verification password, a source terminal identifier, and a destination terminal identifier, the target second terminal belongs to the multicast group, and the target second terminal identifier belongs to the second terminal identifier that needs to be released;

[0111] Verifying the second security verification password;

[0112] In the case that the second security verification password is verified successfully, the target second terminal is deleted from the multicast group according to the source terminal identifier in the sixth message.

[0113] In the above implementation, the second terminal identifier that needs to be released can correspond to one or more second terminal identifiers. The first terminal sends a fifth message to the multicast group for releasing the multicast link. The second terminal belonging to the multicast group receives the fifth message and verifies the first security verification password in the fifth message. If the first security verification password in the fifth message is verified, it is determined whether its own second terminal identifier belongs to the second terminal identifier that needs to be released. If it does, the multicast link is released, and the first terminal is deleted from the record as the initiating terminal established for the multicast. From then on, the multicast service of the first terminal is no longer processed. Subsequently, messages sent by other terminals to indicate the establishment of a multicast group can be received. The second terminal is the target second terminal. The target second terminal sends a sixth message to the first terminal to indicate the successful release of the multicast link.

[0114] The first terminal verifies the second security verification password in the sixth message, specifically, compares whether the second security verification password is consistent with the first security verification password, and if they are consistent, it means that the second security verification password is verified. It should be noted that if the sixth message carries the second password encryption indication information, it means that the second security verification password is in encrypted form, and the first terminal needs to use a preset protocol to decrypt the second security verification password, and compare whether the decrypted second security verification password is consistent with the first security verification password.

[0115] If the second security verification password is passed, optionally, the destination terminal identifier in the sixth message is verified to be consistent with the first terminal identifier. If the consistency verification between the destination terminal identifier in the sixth message and the first terminal identifier is passed, it is determined that the multicast link has been released successfully, and the target second terminal is deleted from the multicast group, and multicast services are no longer sent to the target second terminal.

[0116] In one implementation manner, optionally, after adding the second terminal to the multicast group, the method further includes:

[0117] receiving a seventh message for releasing the multicast link sent by the target second terminal, wherein the seventh message includes the second security verification password and the target second terminal identifier;

[0118] Verifying the second security verification password;

[0119] If the second security verification password is verified successfully, deleting the target second terminal from the multicast group according to the target second terminal identifier in the seventh message;

[0120] An eighth message for indicating successful release of the multicast link is sent to the target second terminal, wherein the eighth message includes the first security verification password, a source terminal identifier, and a destination terminal identifier.

[0121] In the above implementation, if the second terminal needs to exit the multicast group, that is, release the multicast link, then the second terminal is the target second terminal. The target second terminal sends a seventh message for releasing the multicast link to the first terminal, and the first terminal receives the seventh message and verifies the second security verification password in the seventh message. Specifically, the second security verification password is compared with the first security verification password to see if they are consistent. If they are consistent, it means that the second security verification password is verified. It should be noted that if the seventh message carries the second password encryption indication information, it means that the second security verification password is in encrypted form, and the first terminal needs to use a preset protocol to decrypt the second security verification password, and compare the decrypted second security verification password with the first security verification password to see if they are consistent.

[0122] When the second security verification password is verified successfully, optionally, the destination terminal identifier in the seventh message is verified to be consistent with the first terminal identifier. When the destination terminal identifier in the seventh message is verified to be consistent with the first terminal identifier, it is determined that the multicast link has been released successfully, the target second terminal is deleted from the multicast group, and multicast services are no longer sent to the target second terminal.

[0123] At the same time, the first terminal sends an eighth message to the target second terminal to indicate that the multicast link is released successfully. The target second terminal receives the eighth message and verifies the first security verification password in the eighth message. Specifically, the first security verification password is compared with the second security verification password to see if they are consistent. If they are consistent, it means that the first security verification password is verified successfully. It should be noted that if the eighth message carries the first password encryption indication information, it means that the first security verification password is in encrypted form. The target second terminal needs to use a preset protocol to decrypt the first security verification password and compare the decrypted first security verification password with the second security verification password to see if they are consistent.

[0124] When the first security verification password is verified successfully, optionally, the source terminal identifier in the eighth message is verified to be consistent with the first terminal identifier, and the destination terminal identifier in the eighth message is verified to be consistent with the target second terminal identifier. When the source terminal identifier in the eighth message is verified to be consistent with the first terminal identifier, and the destination terminal identifier in the eighth message is verified to be consistent with the target second terminal identifier, it is determined that the multicast link is released successfully, and the record of the first terminal as the initiating terminal for multicast establishment is deleted. From then on, the multicast service of the first terminal is no longer processed, and messages sent by other terminals to indicate the establishment of a multicast group can be received subsequently.

[0125] Therefore, it can be seen from the above two implementations that the multicast link release can be initiated by the creator or manager of the multicast (ie, the first terminal) or by the managed device of the multicast (ie, the second terminal).

[0126] It should be noted that, before a multicast group is successfully established, there should theoretically be one and only one multicast establishment initiating terminal. If, due to misoperation or other reasons, two or more terminals simultaneously initiate the first message for establishing a multicast group before the multicast group is successfully established, then other terminals only respond to the first first message received and ignore the first message sent by other terminals. However, there is still the possibility of establishing more than one multicast group at the same time. If the user finds that more than one multicast group has been established, the redundant multicast groups can be released according to their needs, and the released terminals reconnect to the target multicast group.

[0127] In one implementation manner, optionally, after adding the second terminal to the multicast group, the method further includes:

[0128] Sending a ninth message for changing the multicast management authority to the multicast group, wherein the ninth message includes the first security verification password and the second terminal identifier to be changed;

[0129] receiving a tenth message sent by a target second terminal indicating that the multicast management authority change is complete, the tenth message including the second security verification password and a source terminal identifier, the target second terminal belongs to a multicast group, and the target second terminal identifier is consistent with the second terminal identifier that needs to be changed;

[0130] Verifying the second security verification password;

[0131] When the second security authentication password is authenticated, it is determined that the multicast management authority is changed from the first terminal to the target second terminal.

[0132] In the embodiment of the present invention, if the first terminal needs to change the multicast management authority, the second terminal whose multicast management authority needs to be changed is determined. The first terminal sends a ninth message for changing the multicast management authority to the multicast group, and the second terminal belonging to the multicast group receives the ninth message and verifies the first security verification password in the ninth message. If the first security verification password in the ninth message is verified, it is determined whether the second terminal identifier of the terminal itself belongs to the second terminal identifier for which the multicast management authority needs to be changed. If it does, it is further determined whether to accept the change of the multicast management authority. If it is accepted, the tenth message is sent to the first terminal and other second terminals in the multicast group. The multicast management authority is changed from the first terminal to the second terminal, and the second terminal is the target second terminal.

[0133] The first terminal verifies the second security verification password in the tenth message. If the second security verification password in the tenth message is successfully verified, the first terminal further verifies the consistency of the destination terminal identifier in the tenth message and the first terminal identifier. If the consistency verification of the destination terminal identifier in the tenth message and the first terminal identifier is successfully passed, it is determined that the multicast management authority is changed from the first terminal to the target second terminal.

[0134] It should be noted that after completing the multicast authority change, the second terminal and the first terminal in the multicast group need to report a fourth message indicating the vehicle status to the new manager, ie, the target second terminal, so that the target second terminal can manage the multicast service.

[0135] The following describes the change of multicast management authority in conjunction with the second embodiment.

[0136] In a convoy, the lead vehicle is the manager and is responsible for the convoy management of the entire team. Usually, the lead vehicle is mainly driven by a person, while other vehicles can use automatic driving and receive vehicle coordination instructions from the lead vehicle. If the lead vehicle needs to change the multicast management authority due to factors such as personnel fatigue, it is necessary to specify a vehicle in the fleet as the lead vehicle through a group message in the group to exercise the multicast management authority. After the lead vehicle sends the ninth message for changing the multicast management authority, the non-target vehicle will not be processed after receiving the ninth message and finds that it is not the target vehicle. After the designated target vehicle receives the ninth message, it obtains the multicast management authority and prompts the driver to change the multicast management authority. After the driver confirms that he accepts the change of multicast management authority, a group message is sent in the group to notify all vehicles that the change of multicast management authority is completed. Other vehicles record the new multicast management authority vehicle and subsequently accept the management of the new lead vehicle.

[0137] See also Figure 2 , Figure 2 FIG. 1 is a flow chart of a multicast communication method according to another embodiment of the present invention. Figure 2 As shown, the method is performed by a second terminal, and the second terminal includes an OBU under the LTE-V2X system;

[0138] Furthermore, the method comprises the following steps:

[0139] S201: Receive a first message sent by a first terminal for establishing a multicast group, where the first message includes a first security verification password.

[0140] S202: Verify the first security verification password.

[0141] S203: When the first security verification password is verified successfully, send a second message to the first terminal, where the second message includes a second security verification password.

[0142] In one implementation manner, optionally, the first message further includes first password encryption indication information, where the first password encryption indication information is used to indicate that the first security verification password is in encrypted form;

[0143] S202, verifying the first security verification password, including:

[0144] Decrypting the first security verification password using a preset protocol to obtain the decrypted first security verification password;

[0145] Compare the decrypted first security verification password and the second security verification password to see if they are consistent.

[0146] In an embodiment of the present invention, the second terminal receives the first message. If the first message carries first password encryption indication information, the first security verification password is decrypted using a preset protocol to obtain the decrypted first security verification password, and the decrypted first security verification password is compared with the second security verification password to see whether they are consistent.

[0147] It should be noted that the security verification passwords of all terminals belonging to the same multicast group are the same.

[0148] Optionally, after the second terminal identifies, based on the multicast element identifier in the first message, that the first message is used to establish a multicast group, the second terminal verifies the first security verification password in the first message.

[0149] In one implementation manner, optionally, after sending the second message to the first terminal, the method further includes:

[0150] receiving a third message sent by the first terminal for indicating a multicast service, the third message including message type indication information, the first security verification password, a source terminal identifier, and a destination terminal identifier;

[0151] The third message is parsed, and the second terminal is added to the multicast group when the following conditions are met:

[0152] The message type information in the third message is used to indicate a multicast service;

[0153] The source terminal identifier in the third message is the first terminal identifier;

[0154] The destination terminal identifier in the third message is the second terminal identifier;

[0155] The first security verification password in the third message is verified successfully.

[0156] In an embodiment of the present invention, the second terminal receives a third message sent by the first terminal for indicating a multicast service, and parses the third message. When the above conditions are met, it means that the first terminal is a legal terminal, and the second terminal is added to the multicast group. The second terminal determines that the multicast link between the second terminal and the first terminal has been successfully established.

[0157] In one implementation manner, optionally, after adding the second terminal to the multicast group, the method further includes:

[0158] Sending a fourth message indicating a vehicle status to the first terminal, the fourth message including the second security verification password, driving related information, a source terminal identifier, and a destination terminal identifier;

[0159] Receive the vehicle coordination instruction sent by the first terminal.

[0160] Optionally, a fourth message indicating the vehicle status is periodically sent to the first terminal.

[0161] The second terminal receives the vehicle coordination instruction sent by the first terminal and takes corresponding actions to achieve vehicle coordination.

[0162] In one implementation manner, optionally, after adding the second terminal to the multicast group, the method further includes:

[0163] receiving a fifth message sent by the first terminal for releasing the multicast link, wherein the fifth message includes the first security verification password and an identifier of the second terminal to be released;

[0164] Verifying the first security verification password;

[0165] In the case where the first security verification password is verified successfully, if the second terminal identifier belongs to the second terminal identifier that needs to be released, deleting the second terminal from the multicast group;

[0166] A sixth message for indicating successful release of the multicast link is sent to the first terminal, where the sixth message includes the second security verification password and the second terminal identifier.

[0167] In an embodiment of the present invention, the second terminal receives the fifth message, verifies the first security verification password in the fifth message, and specifically compares whether the first security verification password in the fifth message is consistent with the second security verification password. If they are consistent, it means that the first security verification password has been verified. Further, it is determined whether the second terminal identifier of the second terminal itself belongs to the second terminal identifier that needs to be released. If it does, the multicast link is released, and the first terminal recorded as the initiating terminal for multicast establishment is deleted. From then on, the multicast service of the first terminal is no longer processed, and messages sent by other terminals to indicate the establishment of a multicast group can be received subsequently. Furthermore, the second terminal sends a sixth message to the first terminal to indicate the successful release of the multicast link.

[0168] In one implementation manner, optionally, after adding the second terminal to the multicast group, the method further includes:

[0169] Sending a seventh message for releasing the multicast link to the first terminal, the seventh message including the second security verification password and the second terminal identifier;

[0170] receiving an eighth message sent by the first terminal to indicate successful release of the multicast link, wherein the eighth message includes the first security verification password, a source terminal identifier, and a destination terminal identifier;

[0171] Verifying the first security verification password;

[0172] When the first security verification password is verified successfully, if the source terminal identifier in the eighth message is consistent with the first terminal identifier and the destination terminal identifier is consistent with the second terminal identifier, the second terminal is deleted from the multicast group.

[0173] Optionally, before sending a seventh message for releasing the multicast link to the first terminal, the method further includes:

[0174] Determine whether to exit the multicast group.

[0175] In the embodiment of the present invention, if the second terminal determines that it needs to exit the multicast group, that is, release the multicast link, a seventh message for releasing the multicast link is sent to the first terminal.

[0176] The second terminal receives the eighth message sent by the first terminal to indicate the successful release of the multicast link, verifies the first security verification password in the eighth message, and specifically compares whether the first security verification password is consistent with the second security verification password. If they are consistent, it means that the first security verification password is verified. It should be noted that if the eighth message carries the first password encryption indication information, it means that the first security verification password is in encrypted form, and the target second terminal needs to use a preset protocol to decrypt the first security verification password, and compare whether the decrypted first security verification password is consistent with the second security verification password.

[0177] When the first security verification password is verified successfully, the source terminal identifier in the eighth message is verified to be consistent with the first terminal identifier, and the destination terminal identifier in the eighth message is verified to be consistent with the target second terminal identifier. When the source terminal identifier in the eighth message is verified to be consistent with the first terminal identifier, and the destination terminal identifier in the eighth message is verified to be consistent with the target second terminal identifier, it is determined that the multicast link is released successfully, and the record of the first terminal as the initiating terminal for multicast establishment is deleted. From then on, the multicast service of the first terminal will no longer be processed, and the message sent by other terminals to indicate the establishment of a multicast group can be received subsequently.

[0178] In one implementation manner, optionally, after adding the second terminal to the multicast group, the method further includes:

[0179] receiving a ninth message for changing the multicast management authority sent by the first terminal, wherein the ninth message includes the first security verification password and an identifier of the second terminal to be changed;

[0180] Verifying the first security verification password;

[0181] In the case where the first security verification password is verified, if the second terminal identifier is consistent with the second terminal identifier that needs to be changed, determining whether to accept the multicast management authority change;

[0182] In the case where it is determined that the multicast management authority change is accepted, a tenth message for indicating that the multicast management authority change is completed is sent to the first terminal, and the tenth message includes the second security verification password.

[0183] In an embodiment of the present invention, the second terminal receives the ninth message sent by the first terminal for changing the multicast management authority, verifies the first security verification password in the ninth message, and specifically compares whether the first security verification password is consistent with the second security verification password. If they are consistent, it means that the first security verification password is verified. It should be noted that if the ninth message carries the first password encryption indication information, it means that the first security verification password is in encrypted form, and the second terminal needs to use a preset protocol to decrypt the first security verification password, and compare the decrypted first security verification password with the second security verification password. If they are consistent, it is determined whether the second terminal identifier is consistent with the second terminal identifier that needs to be changed carried by the ninth message, and whether the source terminal identifier carried by the ninth message is consistent with the first terminal identifier. If they are consistent, it is further determined whether to accept the change of multicast management authority.

[0184] In the case where it is determined that the multicast management authority change is accepted, it means that the multicast management authority change is completed, and a tenth message indicating that the multicast management authority change is completed is sent to the first terminal.

[0185] In one implementation manner, optionally, after adding the second terminal to the multicast group, the method further includes:

[0186] receiving a ninth message for changing the multicast management authority sent by the first terminal, wherein the ninth message includes the first security verification password and an identifier of the second terminal to be changed;

[0187] Verifying the first security verification password;

[0188] When the first security verification password is verified and the second terminal identifier is inconsistent with the second terminal that needs to be changed, a tenth message sent by the target second terminal is received to indicate that the multicast management authority change is completed, and the tenth message includes the second security verification password and the source terminal identifier.

[0189] In an embodiment of the present invention, the second terminal receives the ninth message sent by the first terminal for changing the multicast management authority, verifies the first security verification password in the ninth message, and specifically compares whether the first security verification password is consistent with the second security verification password. If they are consistent, it means that the first security verification password is verified. It should be noted that if the ninth message carries the first password encryption indication information, it means that the first security verification password is in encrypted form, and the second terminal needs to use a preset protocol to decrypt the first security verification password, and compare the decrypted first security verification password with the second security verification password. If they are consistent, it is determined whether the second terminal identifier is consistent with the second terminal identifier that needs to be changed carried by the ninth message. If they are inconsistent, it means that the second terminal is not a terminal that accepts the change of multicast management authority. Further, the tenth message sent by the target second terminal is received to indicate that the change of multicast management authority is completed.

[0190] like Figure 3 The flowchart of one implementation method of the multicast communication method according to the embodiment of the present invention is shown in FIG. In one implementation method, the multicast communication method includes the following steps:

[0191] S301: A first terminal sets a first terminal identification and a first security verification password.

[0192] S302: The second terminal sets a second terminal identification and a second security verification password.

[0193] S303: The first terminal sets the broadcast transmission times of the first message.

[0194] S304: The first terminal broadcasts a first message for establishing a multicast group according to the broadcast transmission frequency.

[0195] S305: The second terminal receives the first message and verifies the first security verification password carried in the first message to determine the legitimacy of the first terminal.

[0196] S306: When the first security verification password is verified successfully, the second terminal sends a second message to the first terminal.

[0197] S307: The first terminal receives the second message and verifies the second security verification password carried in the second message to determine the legitimacy of the second terminal.

[0198] S308: When the second security verification password is verified successfully, the first terminal determines that the multicast is established successfully.

[0199] S309: The first terminal sends a third message indicating a multicast service to the second terminal.

[0200] S310, the second terminal receives the third message and determines that the multicast is successfully established.

[0201] like Figure 4 The flowchart of the second implementation mode of the multicast communication method according to the embodiment of the present invention is shown in FIG. In the second implementation mode, the multicast communication method includes the following steps:

[0202] S401: The first terminal selects a second terminal identifier to be released.

[0203] S402: The first terminal sends a fifth message for releasing the multicast link to the second terminal.

[0204] S403, the second terminal receives the fifth message, verifies the first security verification password carried in the fifth message, and if the verification passes, deletes the second terminal from the multicast group, and determines that the multicast link is released successfully.

[0205] S404: The second terminal sends a sixth message to the first terminal, indicating that the multicast link is released successfully.

[0206] S405, the first terminal receives the sixth message, verifies the second security verification password carried in the sixth message, and if the verification passes, deletes the second terminal from the multicast group, and determines that the multicast link is released successfully.

[0207] like Figure 5 The flowchart of the third implementation mode of the multicast communication method according to the embodiment of the present invention is shown in FIG. In the third implementation mode, the multicast communication method includes the following steps:

[0208] S501: The second terminal sends a seventh message for releasing a multicast link to the first terminal.

[0209] S502, the first terminal receives the seventh message, verifies the second security verification password carried in the seventh message, and if the verification passes, deletes the second terminal from the multicast group, and determines that the multicast link is released successfully.

[0210] S503: The first terminal sends an eighth message to the second terminal, which is used to indicate that the multicast link is released successfully.

[0211] S504, the second terminal receives the eighth message, verifies the first security verification password carried in the eighth message, and if the verification passes, deletes the second terminal from the multicast group, and determines that the multicast link is released successfully.

[0212] like Figure 6 The flowchart of the third implementation method of the multicast communication method according to the embodiment of the present invention is shown in FIG. In the fourth implementation method, the multicast communication method includes the following steps:

[0213] S601: A first terminal sets a second terminal identifier that needs to be changed.

[0214] S602: The first terminal sends a ninth message for changing the multicast management authority to the second terminal.

[0215] S603, the second terminal receives the ninth message, verifies the first security verification password carried in the ninth message, and completes the multicast management authority change when the verification passes.

[0216] S604: The second terminal sends a tenth message to the first terminal indicating that the multicast management authority change is complete.

[0217] S605, the first terminal receives the tenth message, verifies the second security verification password carried in the tenth message, and completes the multicast management authority change when the verification passes.

[0218] In summary, the above-mentioned messages, such as the first message, the second message, the third message, etc., support the terminal to perform configuration and trigger operations through the application layer, including but not limited to the application program interface.

[0219] Furthermore, in addition to the first message, the second to tenth messages mentioned above include a security verification password, a source terminal identifier, and a destination terminal identifier; after receiving the message, the terminal verifies the security verification password, and after the security verification password is verified, the source terminal identifier and the destination terminal identifier are verified. Taking the example of the first terminal sending a third message to the second terminal to indicate a multicast service, the second terminal receives the third message and verifies the first security verification password in the third message; after the verification is passed, the consistency of the source terminal identifier in the third message and the first terminal identifier of the recorded multicast initiating terminal is verified; after the verification is passed, the consistency of the destination terminal identifier in the third message and its own second terminal identifier is verified, and after the verification is passed, the multicast service is executed.

[0220] Furthermore, the security verification password in each message is used to determine the legitimacy of the terminal and ensure the security of the multicast service. In order to further ensure the security of the multicast service, the security verification password in each message can be encrypted.

[0221] By adopting the multicast communication method described in the embodiment of the present invention, a multicast link is established between an RSU and multiple OBUs, or between multiple OBUs in the LTE-V2X system, meeting the requirements of vehicle collaborative work. In addition to the multicast link establishment process, it also specifically involves the process of multicast service, multicast link release, and multicast management authority change. In the above process, the security verification password is verified to determine the legitimacy of the terminal, thereby ensuring security.

[0222] like Figure 7 As shown, an embodiment of the present invention further provides a multicast communication device, applied to a first terminal, the device comprising:

[0223] A first sending module 701 is used to broadcast and send a first message for establishing a multicast group, wherein the first message includes a first security verification password;

[0224] A first receiving module 702, configured to receive a second message sent by at least one second terminal, wherein the second message includes a second security verification password;

[0225] A first verification module 703, used to verify the second security verification password;

[0226] The first adding module 704 is used to add the second terminal to the multicast group when the second security verification password is verified successfully.

[0227] Optionally, in the multicast communication device, the first message also includes first password encryption indication information, and the first password encryption indication information is used to indicate that the first security verification password is in encrypted form.

[0228] Optionally, in the multicast communication device, the second message further includes second password encryption indication information, and the second password encryption indication information is used to indicate that the second security verification password is in an encrypted form;

[0229] The first verification module 703 is specifically used for:

[0230] Decrypting the second security verification password using a preset protocol to obtain a decrypted second security verification password;

[0231] Compare the decrypted second security verification password with the first security verification password to see if they are consistent.

[0232] Optionally, in the multicast communication device, the second message further includes a source terminal identifier and a destination terminal identifier;

[0233] The first adding module 704 is specifically used for:

[0234] If the second security verification password is verified, verifying the consistency between the destination terminal identifier in the second message and the first terminal identifier;

[0235] When the consistency verification between the destination terminal identifier in the second message and the first terminal identifier is passed, the second terminal is added to the multicast group.

[0236] Optionally, the multicast communication device further comprises:

[0237] The third sending module is used to send a third message indicating a multicast service to the multicast group, wherein the third message includes the first security verification password, service data, a source terminal identifier, and a destination terminal identifier.

[0238] Optionally, the multicast communication device further comprises:

[0239] A third receiving module, used to receive a fourth message sent by the second terminal to indicate the vehicle status, the fourth message including the second security verification password, driving related information, a source terminal identifier and a destination terminal identifier;

[0240] A third verification module, used to verify the second security verification password in the fourth message and to verify the consistency between the destination terminal identifier and the first terminal identifier in the fourth message;

[0241] The fourth sending module is used to send a vehicle coordination instruction to the second terminal according to the driving related information in the fourth message when the second security verification password in the fourth message is verified and the consistency verification of the destination terminal identifier in the fourth message and the first terminal identifier is passed.

[0242] Optionally, the multicast communication device further comprises:

[0243] a fifth sending module, configured to send a fifth message for releasing the multicast link to the multicast group, wherein the fifth message includes the first security verification password and an identifier of a second terminal to be released;

[0244] a fourth receiving module, configured to receive a sixth message sent by a target second terminal to indicate that the multicast link is released successfully, wherein the sixth message includes the second security verification password, a source terminal identifier, and a destination terminal identifier, the target second terminal belongs to the multicast group, and the target second terminal identifier belongs to the second terminal identifier that needs to be released;

[0245] A fourth verification module, used to verify the second security verification password;

[0246] The first deleting module is used to delete the target second terminal from the multicast group according to the source terminal identifier in the sixth message when the second security verification password is verified.

[0247] Optionally, the multicast communication device further comprises:

[0248] a fifth receiving module, configured to receive a seventh message sent by the target second terminal for releasing the multicast link, wherein the seventh message includes the second security verification password and the target second terminal identifier;

[0249] A fifth verification module, used to verify the second security verification password;

[0250] A second deleting module, configured to delete the target second terminal from the multicast group according to the target second terminal identifier in the seventh message when the second security verification password is verified successfully;

[0251] The sixth sending module is used to send an eighth message indicating successful release of the multicast link to the target second terminal, wherein the eighth message includes the first security verification password, a source terminal identifier, and a destination terminal identifier.

[0252] Optionally, the multicast communication device further comprises:

[0253] a seventh sending module, configured to send a ninth message for changing the multicast management authority to the multicast group, wherein the ninth message includes the first security verification password and a second terminal identifier to be changed;

[0254] a sixth receiving module, configured to receive a tenth message sent by a target second terminal to indicate that the multicast management authority change is complete, wherein the tenth message includes the second security verification password and a source terminal identifier, the target second terminal belongs to a multicast group, and the target second terminal identifier is consistent with the second terminal identifier that needs to be changed;

[0255] A sixth verification module, used to verify the second security verification password;

[0256] The first determining module is used to determine that the multicast management authority is changed from the first terminal to the target second terminal when the second security verification password is verified.

[0257] The multicast communication device provided in the embodiment of the present invention can execute the above-mentioned multicast communication method embodiment, and its implementation principle and technical effect are similar, which will not be described in detail in this embodiment.

[0258] like Figure 8 As shown, an embodiment of the present invention further provides a multicast communication device, applied to a second terminal, the device comprising:

[0259] The second receiving module 801 is used to receive a first message sent by a first terminal for establishing a multicast group, wherein the first message includes a first security verification password;

[0260] A second verification module 802, used to verify the first security verification password;

[0261] The second sending module 803 is used to send a second message to the first terminal when the first security verification password is verified successfully, where the second message includes a second security verification password.

[0262] Optionally, in the multicast communication device, the first message further includes first password encryption indication information, and the first password encryption indication information is used to indicate that the first security verification password is in an encrypted form;

[0263] The second verification module 802 is specifically used for:

[0264] Decrypting the first security verification password using a preset protocol to obtain the decrypted first security verification password;

[0265] Compare the decrypted first security verification password and the second security verification password to see if they are consistent.

[0266] Optionally, the multicast communication device further comprises:

[0267] a seventh receiving module, configured to receive a third message sent by the first terminal and used to indicate a multicast service, wherein the third message includes message type indication information, the first security verification password, a source terminal identifier, and a destination terminal identifier;

[0268] The second adding module is configured to parse the third message and add the second terminal to the multicast group when the following conditions are met:

[0269] The message type information in the third message is used to indicate a multicast service;

[0270] The source terminal identifier in the third message is the first terminal identifier;

[0271] The destination terminal identifier in the third message is the second terminal identifier;

[0272] The first security verification password in the third message is verified successfully.

[0273] Optionally, the multicast communication device further comprises:

[0274] an eighth sending module, configured to send a fourth message indicating a vehicle status to the first terminal, wherein the fourth message includes the second security verification password, driving related information, a source terminal identifier, and a destination terminal identifier;

[0275] An eighth receiving module is used to receive the vehicle coordination instruction sent by the first terminal.

[0276] Optionally, the multicast communication device further comprises:

[0277] a ninth receiving module, configured to receive a fifth message sent by the first terminal for releasing the multicast link, wherein the fifth message includes the first security verification password and an identifier of the second terminal to be released;

[0278] A seventh verification module, used to verify the first security verification password;

[0279] A third deleting module is used to delete the second terminal from the multicast group if the second terminal identifier belongs to the second terminal identifier that needs to be released when the first security verification password is verified.

[0280] A ninth sending module is used to send a sixth message to the first terminal to indicate that the multicast link is released successfully, and the sixth message includes the second security verification password and the second terminal identifier.

[0281] Optionally, the multicast communication device further comprises:

[0282] a tenth sending module, configured to send a seventh message for releasing the multicast link to the first terminal, wherein the seventh message includes the second security verification password and the second terminal identifier;

[0283] a tenth receiving module, configured to receive an eighth message sent by the first terminal to indicate successful release of the multicast link, wherein the eighth message includes the first security verification password, a source terminal identifier, and a destination terminal identifier;

[0284] an eighth verification module, used to verify the first security verification password;

[0285] The fourth deleting module is used to delete the second terminal from the multicast group if the first security verification password is verified successfully and if the source terminal identifier in the eighth message is consistent with the first terminal identifier and the destination terminal identifier is consistent with the second terminal identifier.

[0286] Optionally, the multicast communication device further comprises:

[0287] An eleventh receiving module, configured to receive a ninth message sent by the first terminal for changing the multicast management authority, wherein the ninth message includes the first security verification password and an identifier of a second terminal to be changed;

[0288] A ninth verification module, used to verify the first security verification password;

[0289] A second determination module is used to determine whether to accept the change of multicast management authority if the second terminal identifier is consistent with the second terminal identifier that needs to be changed when the first security verification password is verified.

[0290] The eleventh sending module is used to send a tenth message indicating the completion of the multicast management authority change to the first terminal when it is determined that the multicast management authority change is accepted, and the tenth message includes the second security verification password.

[0291] Optionally, the multicast communication device further comprises:

[0292] A twelfth receiving module, configured to receive a ninth message sent by the first terminal for changing the multicast management authority, wherein the ninth message includes the first security verification password and an identifier of a second terminal to be changed;

[0293] a tenth verification module, configured to verify the first security verification password;

[0294] The thirteenth receiving module is used to receive the tenth message sent by the target second terminal to indicate the completion of the change of multicast management authority when the first security verification password is verified and the second terminal identifier is inconsistent with the second terminal identifier that needs to be changed. The tenth message includes the second security verification password and the source terminal identifier.

[0295] The multicast communication device provided in the embodiment of the present invention can execute the above-mentioned multicast communication method embodiment, and its implementation principle and technical effect are similar, which will not be described in detail in this embodiment.

[0296] like Fig. 9 As shown, an embodiment of the present invention provides a terminal, including: a processor 901; and a memory 902 connected to the processor 901 through a bus interface, the memory 902 is used to store programs and data used by the processor 901 when performing operations, and the processor 901 calls and executes the programs and data stored in the memory 902.

[0297] The transceiver 903 is configured to execute the following processes under the control of the processor 901:

[0298] Broadcasting and sending a first message for establishing a multicast group, wherein the first message includes a first security verification password;

[0299] receiving a second message sent by at least one second terminal, wherein the second message includes a second security verification password;

[0300] The processor 901 is used to read the program in the memory 902 and execute the following process:

[0301] Verifying the second security verification password;

[0302] When the second security verification password is verified successfully, the second terminal is added to the multicast group.

[0303] Among them, Fig. 9 In the embodiment, the bus architecture may include any number of interconnected buses and bridges, specifically one or more processors represented by processor 901 and various circuits of memory represented by memory 902 are linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface. The transceiver 903 may be a plurality of components, namely, a transmitter and a transceiver, providing a unit for communicating with various other devices on a transmission medium. For different user devices, the user interface 904 may also be an interface capable of externally and internally connecting required devices, and the connected devices include but are not limited to a keypad, a display, a speaker, a microphone, a joystick, and the like.

[0304] The processor 901 is responsible for managing the bus architecture and general processing, and the memory 902 can store data used by the processor 901 when performing operations.

[0305] Optionally, the first message also includes first password encryption indication information, and the first password encryption indication information is used to indicate that the first security verification password is in encrypted form.

[0306] Optionally, the second message further includes second password encryption indication information, where the second password encryption indication information is used to indicate that the second security verification password is in encrypted form;

[0307] The processor 901 is specifically configured to read the computer program and execute the following steps:

[0308] Decrypting the second security verification password using a preset protocol to obtain a decrypted second security verification password;

[0309] Compare the decrypted second security verification password with the first security verification password to see if they are consistent.

[0310] Optionally, the second message further includes a source terminal identifier and a destination terminal identifier;

[0311] The processor 901 is specifically configured to read the computer program and execute the following steps:

[0312] When the second security verification password is verified, adding the second terminal to the multicast group includes:

[0313] If the second security verification password is verified, verifying the consistency between the destination terminal identifier in the second message and the first terminal identifier;

[0314] When the consistency verification between the destination terminal identifier in the second message and the first terminal identifier is passed, the second terminal is added to the multicast group.

[0315] Optionally, the transceiver 903 is further configured to read the computer program and execute the following steps:

[0316] A third message for indicating a multicast service is sent to the multicast group, wherein the third message includes the first security verification password, service data, a source terminal identifier, and a destination terminal identifier.

[0317] Optionally, the transceiver 903 is further configured to read the computer program and execute the following steps:

[0318] receiving a fourth message sent by the second terminal for indicating the vehicle status, the fourth message including the second security verification password, driving related information, a source terminal identifier, and a destination terminal identifier;

[0319] The processor 901 is further configured to read the computer program and execute the following steps:

[0320] Verifying the second security verification password in the fourth message and verifying the consistency between the destination terminal identifier and the first terminal identifier in the fourth message;

[0321] The transceiver 903 is further configured to read the computer program and execute the following steps:

[0322] When the second security verification password in the fourth message is verified successfully and the consistency verification between the destination terminal identifier and the first terminal identifier in the fourth message is passed, a vehicle coordination instruction is sent to the second terminal according to the driving related information in the fourth message.

[0323] Optionally, the transceiver 903 is further configured to read the computer program and execute the following steps:

[0324] Sending a fifth message for releasing the multicast link to the multicast group, wherein the fifth message includes the first security verification password and the second terminal identifier to be released;

[0325] receiving a sixth message sent by a target second terminal to indicate that the multicast link is released successfully, wherein the sixth message includes the second security verification password, a source terminal identifier, and a destination terminal identifier, the target second terminal belongs to the multicast group, and the target second terminal identifier belongs to the second terminal identifier that needs to be released;

[0326] The processor 901 is further configured to read the computer program and execute the following steps:

[0327] Verifying the second security verification password;

[0328] In the case that the second security verification password is verified successfully, the target second terminal is deleted from the multicast group according to the source terminal identifier in the sixth message.

[0329] Optionally, the transceiver 903 is further configured to read the computer program and execute the following steps:

[0330] receiving a seventh message for releasing the multicast link sent by the target second terminal, wherein the seventh message includes the second security verification password and the target second terminal identifier;

[0331] The processor 901 is further configured to read the computer program and execute the following steps:

[0332] Verifying the second security verification password;

[0333] If the second security verification password is verified successfully, deleting the target second terminal from the multicast group according to the target second terminal identifier in the seventh message;

[0334] The transceiver 903 is further configured to read the computer program and execute the following steps:

[0335] An eighth message for indicating successful release of the multicast link is sent to the target second terminal, wherein the eighth message includes the first security verification password, a source terminal identifier, and a destination terminal identifier.

[0336] Optionally, the transceiver 903 is further configured to read the computer program and execute the following steps:

[0337] Sending a ninth message for changing the multicast management authority to the multicast group, wherein the ninth message includes the first security verification password and the second terminal identifier to be changed;

[0338] receiving a tenth message sent by a target second terminal indicating that the multicast management authority change is complete, the tenth message including the second security verification password and a source terminal identifier, the target second terminal belongs to a multicast group, and the target second terminal identifier is consistent with the second terminal identifier that needs to be changed;

[0339] The processor 901 is further configured to read the computer program and execute the following steps:

[0340] Verifying the second security verification password;

[0341] When the second security authentication password is authenticated, it is determined that the multicast management authority is changed from the first terminal to the target second terminal.

[0342] In addition, an embodiment of the present invention further provides a terminal having a structure similar to Fig. 9The terminals shown have the same structure, including: a processor; and a memory connected to the processor via a bus interface, the memory being used to store programs and data used by the processor when performing operations, and the processor calling and executing the programs and data stored in the memory.

[0343] The transceiver is used to perform the following processes under the control of the processor:

[0344] Receiving a first message sent by a first terminal for establishing a multicast group, wherein the first message includes a first security verification password;

[0345] The processor is used to read the program in the memory and perform the following processes:

[0346] Verifying the first security verification password;

[0347] The transceiver is further configured to execute the following processes under the control of the processor:

[0348] When the first security verification password is verified successfully, a second message is sent to the first terminal, where the second message includes a second security verification password.

[0349] Optionally, the first message further includes first password encryption indication information, where the first password encryption indication information is used to indicate that the first security verification password is in encrypted form;

[0350] The processor is specifically used to read the computer program and execute the following steps:

[0351] Decrypting the first security verification password using a preset protocol to obtain the decrypted first security verification password;

[0352] Compare the decrypted first security verification password and the second security verification password to see if they are consistent.

[0353] Optionally, the transceiver is further configured to read the computer program and execute the following steps:

[0354] receiving a third message sent by the first terminal for indicating a multicast service, the third message including message type indication information, the first security verification password, a source terminal identifier, and a destination terminal identifier;

[0355] The processor is further configured to read the computer program and execute the following steps:

[0356] The third message is parsed, and the second terminal is added to the multicast group when the following conditions are met:

[0357] The message type information in the third message is used to indicate a multicast service;

[0358] The source terminal identifier in the third message is the first terminal identifier;

[0359] The destination terminal identifier in the third message is the second terminal identifier;

[0360] The first security verification password in the third message is verified successfully.

[0361] Optionally, the transceiver is further configured to read the computer program and execute the following steps:

[0362] Sending a fourth message indicating a vehicle status to the first terminal, the fourth message including the second security verification password, driving related information, a source terminal identifier, and a destination terminal identifier;

[0363] Receive the vehicle coordination instruction sent by the first terminal.

[0364] Optionally, the transceiver is further configured to read the computer program and execute the following steps:

[0365] receiving a fifth message sent by the first terminal for releasing the multicast link, wherein the fifth message includes the first security verification password and an identifier of the second terminal to be released;

[0366] The processor is further configured to read the computer program and execute the following steps:

[0367] Verifying the first security verification password;

[0368] In the case where the first security verification password is verified successfully, if the second terminal identifier belongs to the second terminal identifier that needs to be released, deleting the second terminal from the multicast group;

[0369] The transceiver is also used to read the computer program and execute the following steps:

[0370] A sixth message for indicating successful release of the multicast link is sent to the first terminal, where the sixth message includes the second security verification password and the second terminal identifier.

[0371] Optionally, the transceiver is further configured to read the computer program and execute the following steps:

[0372] Sending a seventh message for releasing the multicast link to the first terminal, the seventh message including the second security verification password and the second terminal identifier;

[0373] receiving an eighth message sent by the first terminal to indicate successful release of the multicast link, wherein the eighth message includes the first security verification password, a source terminal identifier, and a destination terminal identifier;

[0374] The processor is further configured to read the computer program and execute the following steps:

[0375] Verifying the first security verification password;

[0376] When the first security verification password is verified successfully, if the source terminal identifier in the eighth message is consistent with the first terminal identifier and the destination terminal identifier is consistent with the second terminal identifier, the second terminal is deleted from the multicast group.

[0377] Optionally, the transceiver is further configured to read the computer program and execute the following steps:

[0378] receiving a ninth message for changing the multicast management authority sent by the first terminal, wherein the ninth message includes the first security verification password and an identifier of the second terminal to be changed;

[0379] The processor is further configured to read the computer program and execute the following steps:

[0380] Verifying the first security verification password;

[0381] In the case where the first security verification password is verified, if the second terminal identifier is consistent with the second terminal identifier that needs to be changed, determining whether to accept the multicast management authority change;

[0382] The transceiver is also used to read the computer program and execute the following steps:

[0383] In the case where it is determined that the multicast management authority change is accepted, a tenth message for indicating that the multicast management authority change is completed is sent to the first terminal, and the tenth message includes the second security verification password.

[0384] Optionally, the transceiver is further configured to read the computer program and execute the following steps:

[0385] receiving a ninth message for changing the multicast management authority sent by the first terminal, wherein the ninth message includes the first security verification password and an identifier of the second terminal to be changed;

[0386] The processor is further configured to read the computer program and execute the following steps:

[0387] Verifying the first security verification password;

[0388] The transceiver is also used to read the computer program and execute the following steps:

[0389] When the first security verification password is verified and the second terminal identifier is inconsistent with the second terminal identifier that needs to be changed, a tenth message sent by the target second terminal is received to indicate that the multicast management authority change is completed, and the tenth message includes the second security verification password and the source terminal identifier.

[0390] A specific embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps in the above-mentioned multicast communication method are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0391] In addition, an embodiment of the present invention further provides a computer program product, including computer instructions, which, when executed by a processor, implement the above Figure 1 or Figure 2 The various processes of the method embodiment shown can achieve the same technical effect, and will not be described again here to avoid repetition.

[0392] In the several embodiments provided in the present application, it should be understood that the disclosed methods and devices can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0393] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may be physically included separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0394] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform some steps of the sending and receiving methods described in various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), disk or optical disk and other media that can store program codes.

[0395] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A multicast communication method, characterized in that: The method is performed by a first terminal and includes: Broadcasting and sending a first message for establishing a multicast group, wherein the first message includes a first security verification password; receiving a second message sent by at least one second terminal, wherein the second message includes a second security verification password; Verifying the second security verification password; When the second security verification password is verified successfully, the second terminal is added to the multicast group.

2. The multicast communication method according to claim 1, characterized in that: The first message also includes first password encryption indication information, where the first password encryption indication information is used to indicate that the first security verification password is in encrypted form.

3. The multicast communication method according to claim 1, characterized in that: The second message further includes second password encryption indication information, where the second password encryption indication information is used to indicate that the second security verification password is in encrypted form; Verifying the second security verification password includes: Decrypting the second security verification password using a preset protocol to obtain a decrypted second security verification password; Compare the decrypted second security verification password with the first security verification password to see if they are consistent.

4. The multicast communication method according to claim 1, characterized in that: The second message also includes a source terminal identifier and a destination terminal identifier; When the second security verification password is verified, adding the second terminal to the multicast group includes: If the second security verification password is verified, verifying the consistency between the destination terminal identifier in the second message and the first terminal identifier; When the consistency verification between the destination terminal identifier in the second message and the first terminal identifier is passed, the second terminal is added to the multicast group.

5. The multicast communication method according to claim 1, characterized in that: After adding the second terminal to the multicast group, the method further includes: A third message for indicating a multicast service is sent to the multicast group, wherein the third message includes the first security verification password, service data, a source terminal identifier, and a destination terminal identifier.

6. The multicast communication method according to claim 1, characterized in that: After adding the second terminal to the multicast group, the method further includes: receiving a fourth message sent by the second terminal for indicating the vehicle status, the fourth message including the second security verification password, driving related information, a source terminal identifier, and a destination terminal identifier; Verifying the second security verification password in the fourth message and verifying the consistency between the destination terminal identifier and the first terminal identifier in the fourth message; When the second security verification password in the fourth message is verified successfully and the consistency verification between the destination terminal identifier and the first terminal identifier in the fourth message is passed, a vehicle coordination instruction is sent to the second terminal according to the driving related information in the fourth message.

7. The multicast communication method according to claim 1, characterized in that: After adding the second terminal to the multicast group, the method further includes: Sending a fifth message for releasing the multicast link to the multicast group, wherein the fifth message includes the first security verification password and the second terminal identifier to be released; receiving a sixth message sent by a target second terminal to indicate that the multicast link is released successfully, wherein the sixth message includes the second security verification password, a source terminal identifier, and a destination terminal identifier, the target second terminal belongs to the multicast group, and the target second terminal identifier belongs to the second terminal identifier that needs to be released; Verifying the second security verification password; In the case that the second security verification password is verified successfully, the target second terminal is deleted from the multicast group according to the source terminal identifier in the sixth message.

8. The multicast communication method according to claim 1, characterized in that: After adding the second terminal to the multicast group, the method further includes: receiving a seventh message for releasing the multicast link sent by the target second terminal, wherein the seventh message includes the second security verification password and the target second terminal identifier; Verifying the second security verification password; If the second security verification password is verified successfully, deleting the target second terminal from the multicast group according to the target second terminal identifier in the seventh message; An eighth message for indicating successful release of the multicast link is sent to the target second terminal, wherein the eighth message includes the first security verification password, a source terminal identifier, and a destination terminal identifier.

9. The multicast communication method according to claim 1, characterized in that: After adding the second terminal to the multicast group, the method further includes: Sending a ninth message for changing the multicast management authority to the multicast group, wherein the ninth message includes the first security verification password and the second terminal identifier to be changed; receiving a tenth message sent by a target second terminal indicating that the multicast management authority change is complete, the tenth message including the second security verification password and a source terminal identifier, the target second terminal belongs to a multicast group, and the target second terminal identifier is consistent with the second terminal identifier that needs to be changed; Verifying the second security verification password; When the second security authentication password is authenticated, it is determined that the multicast management authority is changed from the first terminal to the target second terminal.

10. A multicast communication method, characterized in that: The method is performed by the second terminal, and includes: Receiving a first message sent by a first terminal for establishing a multicast group, wherein the first message includes a first security verification password; Verifying the first security verification password; When the first security verification password is verified successfully, a second message is sent to the first terminal, where the second message includes a second security verification password.

11. The multicast communication method according to claim 10, characterized in that: The first message also includes first password encryption indication information, where the first password encryption indication information is used to indicate that the first security verification password is in encrypted form; Verifying the first security verification password includes: Decrypting the first security verification password using a preset protocol to obtain the decrypted first security verification password; Compare the decrypted first security verification password and the second security verification password to see if they are consistent.

12. The multicast communication method according to claim 10, characterized in that: After sending the second message to the first terminal, the method further includes: receiving a third message sent by the first terminal for indicating a multicast service, the third message including message type indication information, the first security verification password, a source terminal identifier, and a destination terminal identifier; The third message is parsed, and the second terminal is added to the multicast group when the following conditions are met: The message type information in the third message is used to indicate a multicast service; The source terminal identifier in the third message is the first terminal identifier; The destination terminal identifier in the third message is the second terminal identifier; The first security verification password in the third message is verified successfully.

13. The multicast communication method according to claim 12, characterized in that: After adding the second terminal to the multicast group, the method further includes: Sending a fourth message indicating a vehicle status to the first terminal, the fourth message including the second security verification password, driving related information, a source terminal identifier, and a destination terminal identifier; Receive the vehicle coordination instruction sent by the first terminal.

14. The multicast communication method according to claim 12, characterized in that: After adding the second terminal to the multicast group, the method further includes: receiving a fifth message sent by the first terminal for releasing the multicast link, wherein the fifth message includes the first security verification password and an identifier of the second terminal to be released; Verifying the first security verification password; In the case where the first security verification password is verified successfully, if the second terminal identifier belongs to the second terminal identifier that needs to be released, deleting the second terminal from the multicast group; A sixth message for indicating successful release of the multicast link is sent to the first terminal, where the sixth message includes the second security verification password and the second terminal identifier.

15. The multicast communication method according to claim 12, characterized in that: After adding the second terminal to the multicast group, the method further includes: Sending a seventh message for releasing the multicast link to the first terminal, the seventh message including the second security verification password and the second terminal identifier; receiving an eighth message sent by the first terminal to indicate successful release of the multicast link, wherein the eighth message includes the first security verification password, a source terminal identifier, and a destination terminal identifier; Verifying the first security verification password; When the first security verification password is verified successfully, if the source terminal identifier in the eighth message is consistent with the first terminal identifier and the destination terminal identifier is consistent with the second terminal identifier, the second terminal is deleted from the multicast group.

16. The multicast communication method according to claim 12, characterized in that: After adding the second terminal to the multicast group, the method further includes: receiving a ninth message for changing the multicast management authority sent by the first terminal, wherein the ninth message includes the first security verification password and an identifier of the second terminal to be changed; Verifying the first security verification password; In the case where the first security verification password is verified, if the second terminal identifier is consistent with the second terminal identifier that needs to be changed, determining whether to accept the multicast management authority change; In the case where it is determined that the multicast management authority change is accepted, a tenth message for indicating that the multicast management authority change is completed is sent to the first terminal, and the tenth message includes the second security verification password.

17. The multicast communication method according to claim 12, characterized in that: After adding the second terminal to the multicast group, the method further includes: receiving a ninth message for changing the multicast management authority sent by the first terminal, wherein the ninth message includes the first security verification password and an identifier of the second terminal to be changed; Verifying the first security verification password; When the first security verification password is verified and the second terminal identifier is inconsistent with the second terminal identifier that needs to be changed, a tenth message sent by the target second terminal is received to indicate that the multicast management authority change is completed, and the tenth message includes the second security verification password and the source terminal identifier.

18. A multicast communication device, characterized in that: Applied to a first terminal, the device includes: A first sending module, configured to broadcast and send a first message for establishing a multicast group, wherein the first message includes a first security verification password; A first receiving module, configured to receive a second message sent by at least one second terminal, wherein the second message includes a second security verification password; A first verification module, used to verify the second security verification password; The first adding module is used to add the second terminal to the multicast group when the second security verification password is verified successfully.

19. A multicast communication device, characterized in that: Applied to a second terminal, the device includes: A second receiving module, configured to receive a first message sent by a first terminal for establishing a multicast group, wherein the first message includes a first security verification password; A second verification module, used to verify the first security verification password; The second sending module is used to send a second message to the first terminal when the first security verification password is verified successfully, wherein the second message includes a second security verification password.

20. A terminal, characterized in that: include: A processor, a memory, and a program stored in the memory and executable on the processor, wherein when the program is executed by the processor, the program implements the multicast communication method as described in any one of claims 1 to 9, or implements the multicast communication method as described in any one of claims 10 to 17.

21. A readable storage medium, characterized in that: The readable storage medium stores a program, and when the program is executed by a processor, the program implements the multicast communication method according to any one of claims 1 to 9, or implements the multicast communication method according to any one of claims 10 to 17.

22. A computer program product, characterized in that The method comprises computer instructions, which, when executed by a processor, implement the multicast communication method according to any one of claims 1 to 9, or implement the multicast communication method according to any one of claims 10 to 17.