Disclosure of Invention
The embodiment of the invention aims to provide a method and a system for establishing cluster communication, aiming at solving the problem of reducing the communication burden of a key distribution server.
To achieve the purpose, the embodiment of the invention adopts the following technical scheme:
in a first aspect, a method of establishing group communication, the method comprising:
a calling terminal initiates cluster encryption communication, selects an encryption key and sends the encryption key to a cluster scheduling server, so that the cluster scheduling server sends the encryption key to a called terminal;
and the calling terminal establishes an encrypted call with the called terminal and enters encrypted communication.
Preferably, the initiating group encrypted communication by the calling terminal includes:
the calling terminal sends a request for starting an encryption cluster call to the base station subsystem;
the calling terminal sends a service request message to the base station subsystem;
the calling terminal receives a service connection message returned by the base station subsystem;
and the calling terminal and the base station subsystem establish service connection.
Preferably, the establishing of the encrypted call between the calling terminal and the called terminal includes:
the cluster scheduling server sends a call connection request to the base station subsystem and sends the encryption key to the base station subsystem;
the base station subsystem sends an encryption cluster starting call to the called terminal;
the called terminal sends a key request to the base station subsystem and receives an encryption key returned by the base station subsystem;
and the called terminal sends a service request to the base station subsystem and establishes a service with the base station subsystem.
Preferably, after the calling terminal establishes an encrypted call with the called terminal and enters encrypted communication, the method further includes:
when the called terminal exits the cluster, the cluster scheduling server sends a key updating request to the calling terminal so that the calling terminal reselects a key and sends the selected key to the cluster scheduling server;
and the cluster scheduling server sends the selected key to all the called terminals in the cluster communication.
In a second aspect, a method of establishing group communication, the method comprising:
the trunking dispatching server receives an encryption key sent by the calling terminal;
and the cluster dispatching server sends a call connection request to the base station subsystem and sends the encryption key to the base station subsystem, so that the base station subsystem sends an encryption cluster call to the called terminal and establishes a service with the called terminal.
Preferably, after the trunking dispatch server sends the call connection request to the base station subsystem and sends the encryption key to the base station subsystem, the method further includes:
when the called terminal exits the cluster, the cluster scheduling server sends a key updating request to the calling terminal so that the calling terminal reselects a key and sends the selected key to the cluster scheduling server;
and the cluster scheduling server sends the selected key to all the called terminals in the cluster communication.
In a third aspect, a system for establishing a group communication includes a calling terminal; the calling terminal is used for:
initiating cluster encryption communication, selecting an encryption key, and sending the encryption key to a cluster scheduling server so that the cluster scheduling server sends the encryption key to a called terminal;
and establishing an encrypted call with the called terminal and entering encrypted communication.
Preferably, the calling terminal is further configured to:
sending a request for starting an encryption cluster call to a base station subsystem;
sending a service request message to the base station subsystem;
receiving a service connection message returned by the base station subsystem;
and establishing service connection with the base station subsystem.
Preferably, the system further comprises the cluster scheduling server, the base station subsystem and the called terminal;
the cluster scheduling server is used for sending a call connection request to the base station subsystem and sending the encryption key to the base station subsystem;
the base station subsystem is used for sending an encryption cluster starting call to the called terminal;
the called terminal is used for sending a key request to the base station subsystem and receiving an encryption key returned by the base station subsystem; and sending a service request to the base station subsystem, and establishing service with the base station subsystem.
Preferably, the cluster scheduling server is further configured to: after the calling terminal and the called terminal establish an encrypted call and enter encrypted communication and the called terminal exits a cluster, the cluster scheduling server sends a key updating request to the calling terminal so that the calling terminal reselects a key and sends the selected key to the cluster scheduling server; and sending the selected key to all the called terminals in the trunking communication.
The embodiment of the invention provides a method and a system for establishing trunking communication.A calling terminal initiates trunking encrypted communication, selects an encryption key and sends the encryption key to a trunking dispatch server so that the trunking dispatch server sends the encryption key to a called terminal; the calling terminal and the called terminal establish encrypted calling and enter encrypted communication, a KDS is not needed, a key is selected by the terminal initiating the cluster encrypted communication, the KDS is avoided being seriously depended on a key distribution server, the calculation and communication burden of the KDS is reduced, and the condition that the whole system cannot operate when the KDS fails is avoided.
Detailed Description
The embodiments of the present invention will be described in further detail with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of and not restrictive on the broad invention. It should be further noted that, for convenience of description, only some structures, not all structures, relating to the embodiments of the present invention are shown in the drawings.
Referring to fig. 1, fig. 1 is a flowchart illustrating a method for establishing a group communication according to an embodiment of the present invention.
As shown in fig. 1, the method for establishing group communication includes:
step 101, a calling terminal initiates cluster encryption communication, selects an encryption key, and sends the encryption key to a cluster scheduling server, so that the cluster scheduling server sends the encryption key to a called terminal;
specifically, the manner of establishing the communication service by the calling terminal is as follows:
preferably, the initiating group encrypted communication by the calling terminal includes:
the calling terminal sends a request for starting an encryption cluster call to the base station subsystem;
the calling terminal sends a service request message to the base station subsystem;
the calling terminal receives a service connection message returned by the base station subsystem;
and the calling terminal and the base station subsystem establish service connection.
Specifically, as shown in fig. 2, fig. 2 is a schematic flowchart of a method for establishing trunking communication by a calling terminal according to an embodiment of the present invention.
As shown in fig. 2, the method for establishing trunking communication by the calling terminal includes:
step 201, a calling terminal sends a starting cluster call to a Base Station Subsystem (BSS);
step 202, the calling terminal sends a service request message to the base station subsystem;
step 203, the base station subsystem returns a service connection message to the calling terminal;
step 204, the calling terminal sends a service connection completion message to the base station subsystem;
step 205, the calling terminal sends a secret key to a trunking dispatch server (PDS);
step 206, the base station subsystem completes the establishment of the encrypted call with the PDS.
And 102, the calling terminal and the called terminal establish an encrypted call and enter encrypted communication.
Preferably, the establishing of the encrypted call between the calling terminal and the called terminal includes:
the cluster scheduling server sends a call connection request to the base station subsystem and sends the encryption key to the base station subsystem;
the base station subsystem sends an encryption cluster starting call to the called terminal;
the called terminal sends a key request to the base station subsystem and receives an encryption key returned by the base station subsystem;
and the called terminal sends a service request to the base station subsystem and establishes a service with the base station subsystem.
Specifically, as shown in fig. 3, fig. 3 is a schematic flowchart of a method for establishing trunking communication by a called terminal according to an embodiment of the present invention.
As shown in fig. 3, the method for establishing trunking communication by the calling terminal includes:
step 301, the PDS sends a call connection request to a base station subsystem;
step 302, the PDS sends a key to the base station subsystem;
step 303, the base station subsystem sends an encryption cluster starting call to a called terminal;
step 304, the called terminal sends a key request to the base station subsystem;
step 305, the base station subsystem sends a key to the called terminal;
step 306, the called terminal sends a service request to the base station subsystem;
step 307, the base station subsystem sends service connection to the called terminal;
step 308, the called terminal sends service establishment completion to the base station subsystem;
step 309, the base station subsystem sends a call setup completion to the PDS.
The embodiment of the invention provides a method for establishing cluster communication, wherein a calling terminal initiates cluster encryption communication, selects an encryption key and sends the encryption key to a cluster scheduling server, so that the cluster scheduling server sends the encryption key to a called terminal; the calling terminal and the called terminal establish encrypted calling and enter encrypted communication, a KDS is not needed, a key is selected by the terminal initiating the cluster encrypted communication, the KDS is avoided being seriously depended on a key distribution server, the calculation and communication burden of the KDS is reduced, and the condition that the whole system cannot operate when the KDS fails is avoided.
Referring to fig. 4, fig. 4 is a flowchart illustrating another method for establishing a group communication according to an embodiment of the present invention.
As shown in fig. 4, the method for establishing group communication includes:
step 401, a calling terminal initiates cluster encryption communication, selects an encryption key, and sends the encryption key to a cluster scheduling server, so that the cluster scheduling server sends the encryption key to a called terminal;
step 402, the calling terminal and the called terminal establish an encrypted call and enter encrypted communication;
step 403, when the called terminal exits the cluster, the cluster scheduling server sends a key update request to the calling terminal, so that the calling terminal reselects a key, and sends the selected key to the cluster scheduling server;
step 404, the trunking dispatch server sends the selected key to all called terminals in trunking communication.
In the method for establishing trunking communication provided by the embodiment of the invention, when the called terminal exits the trunking, the trunking dispatch server sends a key updating request to the calling terminal so that the calling terminal reselects a key and sends the selected key to the trunking dispatch server, and the trunking dispatch server sends the selected key to all the called terminals in trunking communication.
Referring to fig. 5, fig. 5 is a flowchart illustrating another method for establishing a group communication according to an embodiment of the present invention.
As shown in fig. 5, the method for establishing group communication includes:
step 501, a cluster scheduling server receives an encryption key sent by a calling terminal;
step 502, the cluster scheduling server sends a call connection request to the base station subsystem and sends the encryption key to the base station subsystem, so that the base station subsystem sends an encryption cluster call to the called terminal and establishes a service with the called terminal.
The embodiment of the invention provides a method for establishing cluster communication.A cluster dispatching server receives an encryption key sent by a calling terminal, the cluster dispatching server sends a call connection request to a base station subsystem and sends the encryption key to the base station subsystem, so that the base station subsystem sends an encryption-started cluster call to a called terminal and establishes service with the called terminal, a KDS is not needed, the key is selected by the terminal initiating the cluster encryption communication, the condition that the KDS is seriously relied on a key distribution server KDS is avoided, the calculation and communication burden of the KDS is reduced, and the condition that the whole system cannot operate when the KDS fails is avoided.
Referring to fig. 6, fig. 6 is a flowchart illustrating another method for establishing a group communication according to an embodiment of the present invention.
As shown in fig. 6, the method for establishing group communication includes:
601, a cluster scheduling server receives an encryption key sent by a calling terminal;
step 602, the cluster scheduling server sends a call connection request to the base station subsystem, and sends the encryption key to the base station subsystem, so that the base station subsystem sends an encryption cluster call to the called terminal, and establishes a service with the called terminal.
Step 603, when the called terminal exits the cluster, the cluster scheduling server sends a key updating request to the calling terminal, so that the calling terminal reselects a key and sends the selected key to the cluster scheduling server;
step 604, the trunking dispatch server sends the selected key to all called terminals in trunking communication.
In the method for establishing trunking communication provided by the embodiment of the invention, when the called terminal exits the trunking, the trunking dispatch server sends a key updating request to the calling terminal so that the calling terminal reselects a key and sends the selected key to the trunking dispatch server, and the trunking dispatch server sends the selected key to all the called terminals in trunking communication.
Referring to fig. 7, fig. 7 is a schematic structural diagram of a system for establishing group communication according to an embodiment of the present invention.
As shown in fig. 7, the system for establishing group communication includes a calling terminal 701; the calling terminal 701 is configured to:
initiating cluster encryption communication, selecting an encryption key, and sending the encryption key to a cluster scheduling server so that the cluster scheduling server sends the encryption key to a called terminal;
and establishing an encrypted call with the called terminal and entering encrypted communication.
Preferably, the calling terminal 701 is further configured to:
sending a request for starting an encryption cluster call to a base station subsystem;
sending a service request message to the base station subsystem;
receiving a service connection message returned by the base station subsystem;
and establishing service connection with the base station subsystem.
Preferably, the system further comprises the cluster scheduling server 702, the base station subsystem 703 and the called terminal 704;
the trunking dispatch server 702 is configured to send a call connection request to the base station subsystem 703 and send the encryption key to the base station subsystem 703;
the base station subsystem 703 is configured to send an encryption cluster call to the called terminal 704;
the called terminal 704 is configured to send a key request to the base station subsystem 703 and receive an encryption key returned by the base station subsystem 703; and sending a service request to the base station subsystem 703, and establishing a service with the base station subsystem 703.
Preferably, the cluster scheduling server 702 is further configured to: after the calling terminal 701 establishes an encrypted call with the called terminal 704 and enters encrypted communication, and when the called terminal 704 exits from a cluster, the cluster scheduling server 702 sends a key update request to the calling terminal 701, so that the calling terminal 701 reselects a key and sends the selected key to the cluster scheduling server 702; the selected key is sent 704 to all called terminals in the trunked communication.
The embodiment of the invention provides a system for establishing cluster communication.A calling terminal initiates cluster encryption communication, selects an encryption key and sends the encryption key to a cluster scheduling server so that the cluster scheduling server sends the encryption key to a called terminal; the calling terminal and the called terminal establish encrypted calling and enter encrypted communication, a KDS is not needed, a key is selected by the terminal initiating the cluster encrypted communication, the KDS is avoided being seriously depended on a key distribution server, the calculation and communication burden of the KDS is reduced, and the condition that the whole system cannot operate when the KDS fails is avoided.
The technical principle of the embodiment of the present invention is described above in conjunction with the specific embodiments. The description is only intended to explain the principles of embodiments of the invention and should not be taken in any way as limiting the scope of the embodiments of the invention. Based on the explanations herein, those skilled in the art will be able to conceive of other embodiments of the present invention without inventive step, and these embodiments will fall within the scope of the present invention.