Disclosure of Invention
In order to improve the safety of PDT communication, the application provides a police digital trunking communication method, communication equipment and storage medium.
In a first aspect, the present application provides a digital trunking communication method for police, including:
obtaining a login identification and a login password issued by login operation;
transmitting an authentication request containing the login identification and the login password to a network controller so that the network controller can transmit the authentication request to a server for authentication;
after the authentication of the server is passed, the network controller is used for communicating with other PDT terminals which are authenticated by the server in the police digital cluster PDT system.
By adopting the technical scheme, before a PDT terminal communicates with other PDT terminals in the PDT system, an authentication request containing a login identifier and a login password is sent to the server through the network controller, so that the server authenticates a user of the PDT terminal according to the login identifier and the login password. Only after authentication by the server, the user of the PDT terminal is identified as a legal user, and the PDT terminal is identified as a legal terminal, so that the PDT terminal can communicate with other PDT terminals authenticated by the server through the network controller. Through the technical scheme, the screening threshold is set for the PDT terminal which enters the PDT system for communication, so that the difficulty that the PDT terminal of an illegal user is accessed into the PDT system and the communication information in the PDT system is acquired is improved, the risk of information leakage in the PDT system is reduced, and the safety of PDT communication is improved.
Optionally, the other PDT terminals in the PDT system that have been authenticated by the server include a second PDT terminal, and communicating, by the network controller, with the other PDT terminals in the PDT system that have been authenticated by the server includes at least one of:
Acquiring first communication data, performing encryption processing on the first communication data to generate a first data frame, and sending the first data frame to a network controller so as to send the first data frame to the second PDT terminal through the network controller;
and receiving a second data frame sent by the second PDT terminal through the network controller, decrypting the second data frame to obtain second communication data, and outputting the second communication data.
By adopting the technical scheme, in the process of communication between PDT terminals, the transmitting end can encrypt communication data to generate a data frame and then transmit the data frame to the receiving end through the network controller, and the receiving end obtains corresponding communication data through decrypting the data frame, so that the situation that a malicious attacker steals the data frame and then directly analyzes the data frame to obtain the communication data can be prevented, the possibility of communication data leakage is reduced, and the safety of communication information between PDT terminals is further improved.
Optionally, at least one of the first communication data and the second communication data comprises multimedia data;
if the first communication data includes multimedia data, performing encryption processing on the first communication data to generate a first data frame includes: compressing the first communication data to obtain a compression result; encrypting the compression result to obtain the first data frame;
If the second communication data includes multimedia data, performing decryption processing on the second data frame to obtain second communication data includes: decrypting the second data frame to obtain a decryption result; and decompressing the decryption result to obtain second communication data.
By adopting the technical scheme, when the communication data transmitted between PDT terminals contains multimedia data, the transmitting end can encrypt the communication data and compress the communication data before the encryption. Correspondingly, after the receiving end receives the data frame and decrypts the data frame, the communication data can be restored by decompressing the decryption result. By compression and decompression, the amount of data transmitted is significantly reduced, and the communication efficiency of the PDT system is improved.
Optionally, after the server passes authentication, the police digital trunked communication method further comprises at least one of the following:
receiving a query instruction sent by the network controller, and sending a query result to the network controller according to the query instruction, wherein the query instruction is used for querying at least one of the running state and the real-time position of the terminal;
And receiving alarm information sent by the network controller, and alarming to a user according to the alarm information, wherein the alarm information represents that the current communication stability of the terminal does not reach the standard.
By adopting the technical scheme, in some examples, the network controller can instruct the PDT terminal to report the query result through the query instruction, so that the current running state and/or the real-time position of the PDT terminal are obtained, and police officers can know the conditions of the PDT terminal and users thereof conveniently. In other examples, the network controller may perform state monitoring and data monitoring on the PDT terminal, determine communication stability of the PDT terminal, and in the case that it is determined that the communication stability of the PDT terminal does not reach the standard, the network controller may send alarm information to the PDT terminal, so as to alarm a user of the PDT terminal, prompt the user to perform corresponding measures in time, and ensure stable communication of the PDT terminal, thereby improving communication reliability of the PDT system.
Optionally, after the server passes the authentication, the police digital trunking communication method further comprises:
receiving contact person information to be added sent by the network controller, wherein the contact person information to be added comprises communication address characterization information of a plurality of contact objects of the same base station, the communication address characterization information is information capable of characterizing communication addresses, and the contact objects of the same base station comprise at least one of PDT terminals and PDT terminal groups which are connected with the same PDT base station by the same terminal;
Outputting the contact person information to be added;
receiving a selection instruction of the contact object with the base station in the contact information to be added;
and saving the communication address characterization information of the contact object of the same base station corresponding to the selection instruction, and realizing contact person addition.
By adopting the technical scheme, the network controller can provide the contact information to be added to the PDT terminal, and the contact information to be added contains the communication address characterization information of a plurality of contact objects with the base station. After the PDT terminal obtains the contact information to be added, the contact information to be added can be output to the user, then a selection instruction of the user is received, and the communication address characterization information of the contact object with the base station selected by the user is stored according to the selection instruction, so that the contact addition is realized. Compared with the method that the PDT terminal user can only manually input the communication address characterization information of the contact person to the PDT terminal to add the contact person in the related technology, the method and the device simplify the operation of the user in the process of adding the contact person, and are beneficial to improving the efficiency of adding the contact person.
In a second aspect, the present application provides a digital trunking communication method for police, including:
receiving an authentication request carrying a login identifier and a login password sent by a first PDT terminal;
The authentication request is sent to a server, so that the server authenticates the first PDT terminal according to the authentication request;
receiving an authentication result sent by the server;
after determining that the authentication result represents that authentication passes, receiving a first data frame sent by the first PDT terminal;
and transmitting the first data frame to the second PDT terminal authenticated by the server.
By adopting the technical scheme, before the first PDT terminal communicates with other PDT terminals in the PDT system, an authentication request containing a login identifier and a login password is sent to the server through the network controller, so that the server authenticates the user of the first PDT terminal according to the login identifier and the login password. Only after authentication by the server, the user of the first PDT terminal is identified as a legitimate user, and the first PDT terminal is identified as a legitimate terminal, on the basis of which the first PDT terminal can communicate with other PDT terminals, e.g. a second PDT terminal, which are also authenticated by the server, via the network controller. Through the technical scheme, the screening threshold is set for the PDT terminal which enters the PDT system for communication, so that the difficulty that the PDT terminal of an illegal user is accessed into the PDT system and the communication information in the PDT system is acquired is improved, the risk of information leakage in the PDT system is reduced, and the safety of PDT communication is improved.
Optionally, the police digital trunked communication method further comprises at least one of the following:
a query instruction is sent to a first PDT terminal, and a query result sent by the first PDT terminal according to the query instruction is received, wherein the query instruction is used for querying at least one of the running state and the real-time position of the first PDT terminal;
and performing state monitoring and data monitoring on the first PDT terminal, and sending alarm information to the first PDT terminal when the current communication stability of the first PDT terminal is determined to be not up to standard.
By adopting the technical scheme, in some examples, the network controller can instruct the PDT terminal to report the query result through the query instruction, so that the current running state and/or the real-time position of the PDT terminal are obtained, and the police commander can know the conditions of the PDT terminal and the user thereof conveniently. In other examples, the network controller may perform state monitoring and data monitoring on the PDT terminal, determine communication stability of the PDT terminal, and in the case that it is determined that the communication stability of the PDT terminal does not reach the standard, the network controller may send alarm information to the PDT terminal, so as to alarm a user of the PDT terminal, prompt the user to perform corresponding measures in time, and ensure stable communication of the PDT terminal, thereby improving communication reliability of the PDT system.
Optionally, determining a contact object with a base station of the first PDT terminal, where the contact object with a base station includes at least one of a PDT terminal and a PDT terminal group that access the same PDT base station as the first PDT terminal; generating contact person information to be added according to the communication address characterization information of each contact object of the same base station, and sending the contact person information to be added to the first PDT terminal, wherein the communication address characterization information is information capable of characterizing a communication address.
By adopting the technical scheme, the network controller can provide the contact information to be added for the PDT terminal, and the contact information to be added contains communication address characterization information of a plurality of other PDT terminals which are accessed to the same PDT base station with the PDT terminal. After the PDT terminal obtains the contact information to be added, the contact information to be added can be output to the user, then a selection instruction of the user is received, and the communication address characterization information of the same base station terminal selected by the user is stored according to the selection instruction, so that the contact addition is realized. Compared with the method that the PDT terminal user can only manually input the communication address characterization information of the contact person to the PDT terminal to add the contact person in the related technology, the method and the device simplify the operation of the user in the process of adding the contact person, and are beneficial to improving the efficiency of adding the contact person.
In a third aspect, the present application further provides a communication device, including a processor, a memory, and a communication bus, where the communication bus is configured to implement a communication connection between the processor and the memory, where the memory stores at least one of a first computer program and a second computer program, where the first computer program is executable by the processor to implement the police digital trunking communication method according to any one of the first aspects; the second computer program is executable by the processor to implement the police digital trunked communication method of any of the preceding second aspects.
In a fourth aspect, the present application further provides a computer readable storage medium, which adopts the following technical scheme:
the computer readable storage medium stores at least one of a first computer program and a second computer program, the first computer program being executable by the processor to implement the police digital trunking communication method of any one of the first aspects; the second computer program is executable by the processor to implement the police digital trunked communication method of any of the preceding second aspects.
By adopting the technical scheme, the carrier of the computer program of the police digital trunking communication method is provided.
In summary, the application has at least the following beneficial technical effects: before the PDT terminal enters the PDT system for communication, the server authenticates the PDT terminal, so that the risk of information leakage in the PDT system is reduced, and the safety of PDT communication is improved;
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
Embodiment one:
currently, the wireless communication standards on the market are Tetra (Terrestrial Trunked Radio, flood cluster radio), P25 (Project 25), DMR (Digital Mobile Radio ) and MPT1327 (Motorola Professional Radio), which can be used for wireless communication for public safety and emergency services. In particular, tetra is widely used for public safety and public services in european countries. P25 is mainly applied to police, fire, army and other departments in North America. DMR is mainly applied to the fields of business, industry and public security. Whereas MPT1327 is a professional radio communication system introduced by Motorola, and is mainly applied to the industrial and public safety fields.
The wireless communication standard related to the embodiment of the application is PDT, and has the characteristics of autonomous and controllable technology, high resource occupation efficiency, high communication speed, wide coverage range and the like.
As can be appreciated, compared with the common wireless communication, the PDT communication is more focused on communication security because the application field is more special, in order to prevent the communication data leakage in the PDT system and improve the PDT communication security, the embodiment first provides a PDT communication method, please refer to fig. 1:
S102: the first PDT terminal obtains a login identification and a login password issued through login operation.
In this embodiment, the first PDT terminal and the second PDT terminal are both terminals supporting the PDT standard, where "first" and "second" are merely for distinguishing the two PDT terminals when describing the scheme of the PDT communication method, and do not mean that the two PDT terminals have absolute differences in terms of structure, function, performance, and the like. Any PDT terminal may be the first PDT terminal or the second PDT terminal.
Authentication by a server is required before one PDT terminal (e.g., a first PDT terminal) communicates with other PDT terminals in the PDT system, including a second PDT terminal. In some examples, after the first PDT terminal is started, the user may perform a login operation through the man-machine interaction unit of the first PDT terminal, for example, the user may input a login identifier (i.e. a login ID) and a login password into the first PDT terminal through the login operation. In still other examples, after the user inputs the login identifier and the login password on the login interface for the first time, the first PDT terminal may store the login identifier according to the user selection, or store both the login identifier and the login password at the same time, and when the user subsequently logs in, may only input the login password, or only issue a login instruction to the first PDT terminal, and the first PDT terminal may obtain the information stored before according to the login operation, so as to obtain the login identifier and the login password of the user.
In other examples of this embodiment, when the user logs in, the first PDT terminal may obtain, in addition to the login identifier and the login password according to the login operation, a temporary password, which may be set by the director of the action for the action, only valid in the PDT networking of the action.
S104: the first PDT terminal sends an authentication request containing a login identification and a login password to the network controller.
After the first PDT terminal obtains the login identifier and the login password, an authentication request may be generated, where in some examples, the authentication request carries the login identifier and the login password. It will be appreciated that if the user has also issued a temporary password in the login operation, the temporary password may be additionally carried in the authentication request.
After the first PDT terminal generates the authentication request, the authentication request may be sent to the network controller. In this embodiment, the network controller may be disposed at the PDT base station, or may be disposed outside the PDT base station. It should be appreciated that if the network controller is deployed in the PDT base station, the communication link with the network controller is established when the first PDT terminal accesses the PDT base station; if the network controller is deployed outside the PDT base station, the network controller also needs to be accessed into the PDT base station as the first PDT terminal, the PDT base station respectively establishes communication connection with the first PDT terminal and the network controller, and when an authentication request is sent, the first PDT terminal firstly sends the authentication request to the PDT base station, and then the PDT base station forwards the authentication request to the network controller.
S106: the network controller sends an authentication request to the server.
After receiving the authentication request from the first PDT terminal, the network controller may forward the authentication request to the server, so that the server authenticates the qualification of the first PDT terminal for accessing the PDT system according to the information carried in the authentication request. In some examples, the network controller communicates directly with the server, so after receiving the authentication request, the network controller may send the authentication request directly to the server without going through transit. In other examples, communication between the network controller and the server may also be performed by a communication device such as a base station, so that the network controller may send an authentication request to the server through the communication device.
S108: the server authenticates the first PDT terminal according to the authentication request.
After receiving the authentication request, the server may parse the authentication request to obtain the login identifier and the login password therein, and in some examples, may also obtain the temporary password. The server can check whether the login identification carried in the authentication request is matched with the login password, and it can be understood that the server can store the login identification and the login password of the user in a correlated mode in advance, after the authentication request is obtained, the login identification and the login password carried in the authentication request are matched with the information stored before the server, if the matching is successful, the user of the first PDT terminal is a legal user, and the first PDT terminal is a legal terminal allowed to be accessed into the PDT system; otherwise, it indicates that the user of the first PDT terminal is an illegal user, and the first PDT terminal cannot access the PDT system. If the authentication request carries the temporary password, the server verifies whether the temporary password is consistent with the password preset by the director of the action or not except verifying the login identifier and the login password, and if the login identifier and the login password are successfully matched, the server judges that the authentication of the first PDT terminal is passed and if any one of the two verification processes fails, the server judges that the authentication of the first PDT terminal fails.
S110: the server sends the authentication result to the network controller.
After the server completes the authentication of the first PDT terminal according to the authentication request, the authentication result is sent to the network controller, so that the network controller can know whether the first PDT terminal is a legal terminal allowed to be accessed to the PDT system.
S112: the first PDT terminal communicates with the second PDT terminal through a network controller.
In some examples, after receiving the authentication result of the server, the network controller also sends the authentication result to the first PDT terminal, so that the first PDT terminal knows whether the first PDT terminal passes the authentication or is allowed to access the PDT system for communication. In these examples, the first PDT terminal communicates with other PDT terminals in the PDT system via the network controller only after receiving an authentication result characterizing the passing of the authentication.
In other examples, after receiving the authentication result sent by the server, the network controller may not need to send the authentication result to the first PDT terminal, because whether the first PDT terminal can communicate with other PDT terminals in the PDT system needs to be controlled by the network controller, and thus, after sending the authentication request, the first PDT terminal may attempt to communicate with other PDT terminals in the PDT system, for example, the first PDT terminal may send a data frame to other PDT terminals in the PDT system through the network controller. Before the network controller obtains the authentication result for the first PDT terminal and after the network controller obtains the authentication result representing that the authentication for the first PDT terminal fails, the network controller will not forward the data frame from the first PDT terminal to other PDT terminals in the PDT system, in this case, the network controller may send feedback information representing that the message is failed to send to the first PDT terminal after receiving the data frame sent by the first PDT terminal, in which the network controller may also carry the reason of the message is failed, so that the first PDT terminal may prompt the user about the corresponding reason, for example, the first PDT terminal may display prompt information such as "you do not pass authentication, message is failed". After the network controller receives the authentication result representing successful authentication of the first PDT terminal, the network controller can forward the data frame from the first PDT terminal to the corresponding PDT terminal in the PDT system to assist the first PDT terminal to realize communication with other PDT terminals in the PDT system.
It will be appreciated that since any one PDT terminal needs to be added to the PDT system after authentication by the server, the PDT terminals that have been added to the PDT system must all have been authenticated by the server, assuming here that the object of communication with the first PDT terminal within the PDT system is the second PDT terminal. The authentication procedure of the second PDT terminal on the server is similar to the authentication procedure of the first PDT terminal on the server, and will not be described again here.
It is needless to say that when the first PDT terminal communicates with other PDT terminals in the PDT system, a process of transmitting a message by using the first PDT terminal as a transmitting end is included, and a process of receiving a message by using the first PDT terminal as a receiving end is also included. When the first PDT terminal is used as a transmitting end, the first PDT terminal may acquire first communication data, then perform encapsulation processing on the first communication data to obtain a first data frame, then send the first data frame to the network controller, and then send the first data frame to the second PDT terminal as a receiving end by the network controller. If the first PDT terminal is used as a receiving end, the first PDT terminal can receive a second data frame sent by the network controller, then analyze the second data frame to obtain second communication data, and the second data frame is packaged by the second PDT terminal and sent to the network controller. The first communication data and the second communication data may each include at least one of text data and multimedia data, wherein the multimedia data includes voice data and/or image data. If text data is included in the communication data (first communication data or second communication data), the user of the first PDT terminal and the second PDT terminal can implement text communication; if the communication data includes voice data, the users of the first PDT terminal and the second PDT terminal can realize voice communication; if voice data and image data are included in the communication data at the same time, the users of the first PDT terminal and the second PDT terminal can realize video communication.
In order to improve information security of PDT communication and prevent a malicious attacker from acquiring communication content by intercepting air interface data, in some examples of this embodiment, a transmitting end may encrypt communication data and then transmit the communication data, and a receiving end receives a data frame and then decrypts the data frame, thereby acquiring corresponding communication data. For example, when the first PDT terminal is used as the transmitting end, the first communication data may be acquired first, the first communication data may be encrypted to generate a first data frame, and then the first data frame is sent to the network controller, so that the first data frame is sent to the second PDT terminal through the network controller. After receiving the first data frame, the second PDT terminal decrypts the first data frame to obtain the first communication data. Correspondingly, when the second PDT terminal is used as a transmitting end and the first PDT terminal is used as a receiving end, the first PDT terminal can receive a second data frame transmitted by the second PDT terminal through the network controller, decrypt the second data frame to obtain second communication data, and output the second communication data. In some examples of this embodiment, the first PDT terminal and the second PDT terminal may communicate in a symmetric encrypted manner, e.g., both communicate based on AES (Advanced Encryption Standard ) or DES (Data Encryption Standard, data encryption standard). In other examples, terminals within the PDT system may communicate using asymmetric encryption, such as any of the RSA (Rivest-Shamir-Adleman) encryption algorithm, the knapsack algorithm, the ECC (Elliptic Curve Cryptography ) algorithm, etc.
In some examples, all PDT terminals within the PDT system employ the same set of keys for encryption and decryption, e.g., corresponding encryption and decryption keys may be agreed on-line by users of the PDT terminals and then used in on-line communication through the PDT terminals. In still other examples, multiple encryption and decryption keys may be used in the PDT system, for example, each PDT terminal in the PDT system stores a key table, each key and its serial number are recorded in the key table, when the transmitting end obtains the communication data and generates a data frame, it may randomly select one key from the keys to encrypt the communication data to generate a ciphertext, and then the serial number and the ciphertext of the key are carried in the data frame and sent out. After the PDT terminal at the receiving end receives the data frame, the key sequence number and the ciphertext can be extracted from the data frame, then the key table is inquired according to the key sequence number to obtain a key corresponding to the key sequence number, and the ciphertext is decrypted by adopting the key to obtain communication data. In the two schemes, as the secret key cannot be transmitted on line in the communication process, even if a malicious attacker intercepts the information transmitted in the PDT system, the malicious attacker can only acquire the ciphertext and cannot decrypt the ciphertext, so that the safety of PDT communication is effectively improved. In the latter scheme, the secret key used by the sending end and the receiving end in the communication process is not fixed, but is selected randomly, so that the difficulty in cracking the ciphertext is further increased, and the PDT communication security is enhanced.
It will be appreciated that if multimedia communications (including voice communications, video communications) are performed between PDT terminals, the amount of data transmitted between PDT terminals will be enormous, which requires an excellent transmission performance of the communication link within the PDT system, and naturally also results in high deployment costs of the PDT system. In some examples of this embodiment, when the communication data includes multimedia data, the transmitting end compresses the multimedia data in the process of generating a data frame according to the acquired communication data, so as to reduce the data amount in the data frame. After the receiving end receives the data frame, decompression processing is also needed to obtain the communication data sent by the sending end. In some examples of this embodiment, the transmitting end performs compression processing only on the multimedia data, and does not perform compression processing on the text data; in other examples, the transmitting end may compress all communication data.
The following describes a communication procedure between the first PDT terminal and the second PDT terminal, taking the first PDT terminal as a transmitting end and the second PDT terminal as a receiving end as an example, please refer to fig. 2:
s202: the first PDT terminal acquires first communication data.
The manner in which the first PDT terminal acquires the first communication data includes: for text data, the first PDT terminal may be acquired through an input unit (including an input keyboard and/or a touch screen); for voice data, the first PDT terminal may acquire through microphone acquisition; for the image data, the first PDT terminal may then be acquired by a camera.
S204: the first PDT terminal compresses the first communication data to obtain a compression result.
The first PDT terminal may first perform compression processing on the first communication data to obtain a compression result. It will be appreciated that the compression algorithm employed by the first PDT terminal may be agreed upon by the user on-line, and the agreement may be made in the manner described above with reference to the key.
S206: the first PDT terminal encrypts the compression result to obtain a first data frame.
After the compression result is obtained, the first PDT terminal encrypts the compression result to obtain an encryption result. Subsequently, the first PDT terminal may encapsulate the encryption result into a first data frame.
S208: the first PDT terminal transmits a first data frame to the network controller.
After generating the first data frame, the first PDT terminal sends it to the network controller.
S210: the network controller transmits the first data frame to the second PDT terminal.
The network controller acts as a relay of information, and after receiving a first data frame sent by the first PDT terminal, the network controller sends the first data frame to the second PDT terminal.
S212: the second PDT terminal decrypts the first data frame to obtain a decryption result.
After the second PDT terminal receives the first data frame from the network controller, the second PDT terminal may decrypt the first data frame, for example, the second PDT terminal extracts an encryption result from the first data frame, and then decrypts the encryption result with a corresponding key, thereby obtaining a compression result.
S214: the second PDT terminal decompresses the decryption result to obtain the first communication data.
After the compression result is obtained, the second PDT terminal processes the compression result by adopting a corresponding decompression algorithm, so that the first communication data is restored.
Since the case where the first PDT terminal is a receiving end and the second PDT terminal is a transmitting end is similar to the corresponding scheme of fig. 2, a detailed description thereof will be omitted.
In this embodiment, the network controller may perform data monitoring on data frames coming and going during communication of the PDT terminal in the PDT system. In addition, the network controller may monitor the state of each PDT terminal, in some examples, the PDT terminal may periodically send a heartbeat packet to the network controller, and the network controller may determine the state of the corresponding PDT terminal according to the receiving condition of the heartbeat packet; in other examples, the network controller may also send a query to the PDT terminal, cause the PDT terminal to return a query result according to the query command, and then determine an operating state of the PDT terminal according to the query result. In any way, when the network controller determines that the communication stability of one PDT terminal does not reach the standard, the network controller can send alarm information to the PDT terminal when the state is poor. For example, if the communication stability of the first PDT terminal does not reach the standard, the network controller sends the alarm information to the first PDT terminal, after the first PDT terminal receives the alarm information sent by the network controller, the first PDT terminal may send an alarm to the user according to the alarm information, so as to prompt the user that the current communication stability of the first PDT terminal does not reach the standard, so that the user can timely process the communication stability to avoid affecting the subsequent communication, in one example, the first PDT terminal may alarm to the user through a popup window on the display interface, and in other examples, the first PDT terminal may also output an alarm through audio. It should be appreciated that the manner in which the first PDT terminal alerts must be premised on not affecting the user's normal action of participation, e.g., if the user of the first PDT terminal is participating in a capture action, the first PDT terminal is not adapted to alert with audio played by a speaker, otherwise user exposure is likely to result. In some examples, when the network controller determines that the communication stability of one PDT terminal does not reach the standard, the network controller may send an alarm to at least one of the server and the scheduling terminal in addition to sending the alarm to the PDT terminal, and after receiving the alarm, the server may push the alarm to the corresponding user after logging in by the authorized user; the dispatch terminal is usually held by a user with command right in action, so that after receiving the alarm information sent by the network controller, the dispatch terminal can know the current situation of the subordinate personnel according to the alarm information.
In this embodiment, the network controller may query the PDT terminal for other information besides the operation state of the PDT terminal through the query instruction, for example, in one example, the network controller sends the query instruction to the first PDT terminal to instruct the first PDT terminal to return to its current location, so that the first PDT terminal may acquire its real-time location, and carry the implementation location in the query result and return the implementation location to the network controller. If the first PDT terminal is provided with enough sensors, the first PDT terminal can also send the environmental parameters of the current environment to the network controller according to the query instruction, wherein the environmental parameters comprise at least one of environmental temperature, environmental humidity, air pressure, altitude and the like. It is clear that the first PDT terminal may, in addition to the operating status, the real-time status, the environmental parameters sent to the network controller according to the query command, also automatically report these information to the network controller periodically.
In the PDT communication method provided by the embodiment, by means of the mutual coordination of the network controller and the PDT terminal and the assistance of the server, the PDT terminal can be authenticated by the server before the PDT terminal is accessed to the PDT system for communication, and only after the PDT terminal passes the authentication of the server, the PDT terminal can communicate with other authenticated PDT terminals in the PDT system through the network controller, so that the hidden trouble that an illegal terminal is accessed to the PDT system and information in the PDT system is stolen can be reduced, and the safety of PDT communication is enhanced.
Embodiment two:
in order to make the advantages and details of the PDT communication method provided by the present application more apparent to those skilled in the art, the present embodiment will be further described based on the foregoing embodiments:
after the PDT terminal has been accessed to the PDT system by authentication of the server, it may communicate with other devices within the PDT system based on a TDMA (Time division multiple access ) technique. In the process of communicating with other PDT terminals in the PDT system, when the PDT terminal as the transmitting end transmits a data frame to the network controller, the receiving object of the data frame needs to be indicated, otherwise, the network controller will face the problem of not knowing to which PDT terminal or terminals the data frame should be transmitted after receiving the data frame. In some examples of this embodiment, the PDT terminal may carry the communication address characterization information of the receiving end in the transmitted data frame, so that after the network controller receives the data frame, it may determine, according to the communication address characterization information carried therein, that the data frame should be input and forwarded next. In some examples of this embodiment, the communication address characterization information may be a communication address, such as at least one of a receiver IP (Internet Protocol Address ) address, MAC (Media Access Control Address, media access control address) address. In other examples, the communication address characterizing information is not direct communication address information, but may be information that allows the network controller to determine the address of the receiving end, for example, the network controller may store the communication address of the PDT terminal accessing the PDT system in association with the identification number of the PDT terminal, so that the identification number of the PDT terminal corresponds to the communication address thereof one by one, and the identification number may be the number of the PDT terminal in the PDT system. For the PDT terminal, the PDT terminal does not need to store the communication addresses of other PDT terminals, but only needs to store the identification serial numbers of other PDT terminals, when the PDT terminal sends a data frame to the network controller, the PDT terminal can carry the identification serial numbers of the receiving end as communication address characterization information in the data frame, and after the network controller receives the data frame, the network controller can determine the communication address of the receiving end according to the carried identification serial numbers and then forward the data frame according to the communication address.
After the PDT terminal is connected to the PDT system, one-to-one communication can be performed with other PDT terminals in the PDT system, and one-to-many communication can also be performed. In order to simply and quickly select a communication object in a communication process, a user of a PDT terminal usually completes contact addition on the PDT terminal in advance, and the added contacts can be a single PDT terminal or a contact group including at least three PDT terminals, in the related art, when the user performs contact addition on the PDT terminal, the user can only manually input communication address characterization information of the contact to be added, and the addition mode is low in efficiency and complex in operation, and because more contents are required to be manually input by the user, input errors are easy to occur, great inconvenience is brought to the user, and in order to further solve the problem, the embodiment provides a scheme for performing contact addition, and in this case, the first PDT terminal is used for realizing contact addition, please refer to fig. 3:
s302: the network controller determines a contact object with the base station of the first PDT terminal.
In some examples, the co-base station contact object of the first PDT terminal includes a PDT terminal accessing the same PDT base station as the first PDT terminal, i.e., a co-base station terminal; in other examples, the contact object with the base station of the first PDT terminal includes a PDT terminal group having access to the same PDT base station as the first PDT terminal, and the contact object with the base station terminal group includes at least two PDT terminals in one PDT terminal group; in still other examples, the co-base station contact object of the first PDT terminal includes both the co-base station terminal and the co-base station terminal group.
The network controller determines that the contact object with the base station for the first PDT terminal may be automatically performed after receiving the authentication result sent by the server and representing that the authentication of the first PDT terminal passes (i.e. without triggering an instruction at the side of the first PDT terminal), or may be performed after receiving the request information sent by the first PDT terminal, in other words, the network controller determines that the contact object with the base station for the first PDT terminal may be performed according to triggering of the authentication result, or may be performed according to the request information at the side of the first PDT terminal.
S304: and the network controller generates contact person information to be added according to the communication address characterization information of the contact objects of the base stations.
After determining the contact objects of the first PDT terminal with each base station, the network controller may obtain the communication address characterization information of the contact objects with each base station, and then generate the contact information to be added according to the communication address characterization information. If the contact object of the same base station is the same base station terminal, the communication address characterization information is the communication address characterization information of the same base station terminal, and if the contact object of the same base station is the same base station terminal group, the corresponding communication address characterization information can be the identification serial number of the same base station terminal group.
In some examples, the network controller may carry, in the contact information to be added, communication address representation information of all contact objects with the base station of the first PDT terminal, and in other examples, after determining the contact objects with the base station for the first PDT terminal, the network controller may also screen the contact objects with the base station, and then only carry, in the contact information to be added, part of the communication address representation information of the contact objects with the base station.
Since the communication addresses of the PDT terminals are generally complex and have no obvious rule, the communication addresses of the PDT terminals are not generally the most critical information when the user distinguishes each PDT terminal, for example, the user typically distinguishes the PDT terminals by using the name, code, etc. of the user corresponding to each PDT terminal as the critical information. Therefore, in this embodiment, the network controller includes the communication address characterization information of the contact object with the base station in association with the name (or code number) of the contact object with the base station when generating the contact information to be added.
S306: the network controller sends the contact information to be added to the first PDT terminal.
After generating the information of the contact person to be added, the network controller sends the information to the first PDT terminal so that the first PDT terminal can simply realize the addition of the contact person according to the information.
S308: the first PDT terminal outputs the contact information to be added.
After the first PDT terminal receives the contact information to be added from the network controller, the contact information to be added may be output, where in general, the first PDT terminal may display the contact information to be added through a display screen, for example, in one example, the first PDT terminal may display communication address characterization information of each contact object with a base station in the contact information to be added, in another example, the first PDT terminal may display a name (or code number) of each contact object with a base station, and in still other examples, the first PDT terminal may simultaneously display the name (or code number) of the contact object with the base station and the communication address characterization information in an associated manner.
It will be appreciated that, although it is typical that the first PDT terminal outputs the contact information to be added in a display manner, this embodiment does not exclude that the first PDT terminal outputs the contact information to be added in other manners, such as an audio output manner.
S310: the first PDT terminal receives a selection instruction of the same base station terminal in the contact person information to be added.
After the first PDT terminal outputs the contact information to be added to the user, the user can select an object needing to be added with the contact from all the contact objects of the same base station according to the subsequent contact requirement of the user, for example, the name of each contact object of the same base station in the contact information to be added and/or the communication address characterization information of the contact object of the same base station are displayed on a touch screen by the first PDT terminal, and then the user can send a selection instruction for the contact object of the same base station to the first PDT terminal by clicking a touch area corresponding to the contact object of the same base station on the touch screen.
S312: the first PDT terminal stores the communication address characterization information of the contact object of the same base station corresponding to the selection instruction, and realizes the addition of the contact person.
After receiving the selection instruction of the user, the first PDT terminal can save the communication address characterization information of the contact object with the base station indicated by the selection instruction, so as to realize the addition of the corresponding contact person.
When the PDT terminal performs voice communication, the microphone thereof may perform audio collection, in this embodiment, for a digital intercom scenario, the microphone of the PDT terminal supports at least two gain values, and selection of the gain values may affect the effect of audio collection of the microphone, for example, if the gain value is too large, the collected sound may be distorted, and if the gain value is too small, the noise may be too large. In some examples of this embodiment, the microphone supports audio acquisition with any one of gains from 0 to 5, and a gain rotation member is provided on the PDT terminal, and the user can switch and select the gain value of the microphone by rotating the gain rotation member.
In some examples of this embodiment, the PDT terminal is provided with a channel rotation adjustment element, and the user may implement switching of the PDT channel by rotating the channel rotation adjustment element, for example, in one example, the user may control the PDT terminal to adjust to a channel with a smaller serial number to operate, and the right-handed channel rotation adjustment element may control the PDT terminal to adjust to a channel with a larger serial number to operate. In other words, the user can use the channel with smaller sequence number as the current working channel of the PDT terminal by rotating the component resource through the left-handed channel, and use the channel with larger sequence number as the current working channel of the PDT terminal by rotating the component resource through the right-handed channel.
In some examples of this embodiment, when the PDT terminal is controlled to switch the working channel, it may voice-broadcast the switching process through the speaker, for example, after the switching is completed, the speaker of the PDT terminal outputs voice "switched to channel 2" or "switched from channel 1 to channel 2". In order to adapt to the particularity of police service, the user can also select whether the speaker is needed to carry out voice broadcasting on the switching process, and if the user selects to close the function, the PDT terminal does not carry out voice broadcasting when carrying out the switching of the working channel.
According to the PDT communication method provided by the embodiment, on the basis of improving the communication safety, a user can simply add contacts, the contact adding efficiency is improved, and the operation burden of the user is reduced.
Embodiment III:
the present embodiment first provides a communication device 40, please refer to the hardware structure diagram of the communication device 40 shown in fig. 4:
the communication device 40 comprises a processor 41, a memory 42 and a communication bus 43, wherein the processor 41 and the memory 42 are communicatively connected via the communication bus 43. The memory 42 may be used to store instructions, programs, code sets or instruction sets, data, among others. The memory 42 may include a storage program area that may store instructions for implementing an operating system, instructions for at least one function, and a storage data area that may store data.
In some examples of the present embodiment, the communication device 40 may be a PDT terminal in any of the foregoing examples, where a first computer program is stored in a storage program area, and the first computer program is executable by the processor 41 to implement a flow on a PDT terminal side in the PDT communication method provided in the foregoing embodiment; the storage data area may store data and the like related to the PDT terminal in the PDT communication method provided by the foregoing embodiments. In other examples of the present embodiment, the communication device 40 may be a network controller in any of the foregoing examples, and the storage program area stores therein a second computer program executable by the processor 41 to implement the flow on the network controller side in the PDT communication method provided in the foregoing embodiment; the storage data area may store data and the like related to the network controller side in the PDT communication method provided by the above embodiment.
Processor 41 may include one or more processing cores. The processor 41 performs various functions of the present application and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 42, calling data stored in the memory 42. Processor 41 may be at least one of an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a digital signal processor (Digital Signal Processor, DSP), a digital signal processing device (Digital Signal Processing Device, DSPD), a programmable logic device (Programmable Logic Device, PLD), a field programmable gate array (Field Programmable Gate Array, FPGA), a central processing unit (Central Processing Unit, CPU), a controller, a microcontroller, and a microprocessor. It will be appreciated that the electronics for implementing the functions of the processor 41 described above may be other for different devices, and embodiments of the present application are not particularly limited.
Embodiments of the present application provide a computer-readable storage medium, for example, comprising: a U-disk, a removable hard disk, a Read Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes. The computer readable storage medium stores at least one of a first computer program and a second computer program that can be loaded and executed by the processor 41, wherein the first computer program is executable by the processor 41 to implement a flow on the PDT terminal side in any one of the PDT communication methods of the foregoing embodiments; the second computer program is executable by the processor 41 to implement a network controller-side flow in any of the PDT communication methods of the foregoing embodiments.
The foregoing embodiments are only used to describe the technical solution of the present application in detail, but the descriptions of the foregoing embodiments are only used to help understand the method and the core idea of the present application, and should not be construed as limiting the present application. Variations or alternatives, which are easily conceivable by those skilled in the art, are included in the scope of the present application.