A method and system for encrypting intercom communication data combined with semantic recognition

Through the identification and analysis of walkie-talkie tone and voice text characteristics, the walkie-talkie communication data is dynamically encrypted, which solves the problem of insufficient data security in the walkie-talkie system and achieves efficient encryption and security guarantee of walkie-talkie communications.

CN118316735BActive Publication Date: 2024-08-30ZHONGRUIKE TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410734346.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-07
Publication Date
2024-08-30
Estimated Expiration
2044-06-07

AI Technical Summary

Technical Problem

The existing intercom system lacks dynamic identification of intercom content and intercom identity, resulting in insufficient security of data hijacking during intercom communication and the risk of communication information leakage.

Method used

By obtaining user information and timbre characteristics in the intercom network, a timbre matching library is constructed, audio is collected in real time and timbre characteristics are extracted, encryption indicators are calculated based on voice text splitting and matching algorithms, and dynamic encryption algorithms are used to encrypt intercom communication data. .

Benefits of technology

It realizes dynamic encryption of walkie-talkie communication data, improves data security, can resist brute force attacks, and ensures the data security of walkie-talkie communication.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118316735B
    Figure CN118316735B
Patent Text Reader

Abstract

The present invention discloses a method and system for encrypting intercom communication data combined with semantic recognition, which relates to the technical field of intercom communication, including: constructing a timbre matching library; dividing each information category into confidentiality security levels; extracting timbre features, obtaining audio timbre and obtaining users matching the audio timbre; obtaining a first encryption index; obtaining an input voice text; obtaining a plurality of text feature sets to be matched; calculating a reasonable matching index for each text feature set to be matched; calculating the confidentiality level of each text feature set to be matched; calculating a second encryption index; comprehensively fitting the comprehensive encryption level of the input audio of the intercom; encrypting based on a dynamic encryption algorithm model to obtain encrypted communication data; and sending encrypted communication data. The advantages of the present invention are: combining the relevance between the intercom content and each confidential information to intelligently adjust the encryption level of the communication data, and realize dynamic encryption of intercom communication.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of intercom communication, and in particular to an intercom communication data encryption method and system combined with semantic recognition. Background Art

[0002] Interphone is a terminal device for trunking communication. It can be used not only as a terminal device for trunking communication, but also as a professional wireless communication tool in mobile communication. Interphone is not restricted by the network. In places where the network is not covered, interphone allows users to communicate easily. Interphone provides one-to-one and one-to-many communication methods. Just press and speak. The operation is simple, making communication more free.

[0003] The existing intercom system lacks dynamic identification of intercom content and intercom identity. When conducting intercom communications, there is a lack of dynamic encryption method for intercom content, resulting in insufficient security against data hijacking during intercom communications and the risk of communication information leakage. Summary of the invention

[0004] In order to solve the above technical problems, a method and system for encrypting intercom communication data combined with semantic recognition are provided. The technical solution solves the problem that in the above-mentioned existing intercom systems, there is a lack of dynamic identification of intercom content and intercom identity, and a lack of dynamic encryption method for intercom content during intercom communications, resulting in insufficient security against data hijacking during intercom communications and the risk of communication information leakage.

[0005] In order to achieve the above purpose, the technical solution adopted by the present invention is:

[0006] A method for encrypting intercom communication data combined with semantic recognition, comprising:

[0007] Obtain information about all users in the intercom network and classify them into communication levels. At the same time, collect the voice characteristics of all users in the intercom network and build a voice matching library.

[0008] Based on the application scenarios of intercoms, each type of information is divided into confidentiality and security levels;

[0009] Collect the recorded audio of the intercom in real time, extract the timbre features based on the recorded audio of the intercom, and obtain the audio timbre;

[0010] Based on the audio timbre, a traversal match is performed in the timbre matching library to obtain a user who matches the audio timbre and is recorded as the intercom input person;

[0011] Obtain the communication level of the intercom input person, recorded as the first encryption indicator;

[0012] Based on the text conversion of the recorded audio of the intercom, the input voice text is obtained;

[0013] Performing text splitting on the input speech text according to the text splitting algorithm to obtain a plurality of text feature sets to be matched;

[0014] According to the matching algorithm, the matching rationality index of each set of text features to be matched is calculated respectively;

[0015] Calculate the confidentiality level of each set of text features to be matched respectively;

[0016] Based on the matching rationality index of each to-be-matched text feature set and the confidentiality level of each to-be-matched text feature set, the audio confidentiality security level of the recorded audio of the intercom is calculated by the audio encryption formula, which is recorded as the second encryption index;

[0017] Based on the first encryption index and the second encryption index, comprehensively fit the comprehensive encryption level of the recorded audio of the intercom;

[0018] The comprehensive encryption level of the audio is input into the dynamic encryption algorithm model, and the recorded audio of the intercom is encrypted based on the dynamic encryption algorithm model to obtain encrypted communication data;

[0019] Send encrypted communication data.

[0020] Preferably, the step of performing text splitting on the input speech text according to a text splitting algorithm to obtain a plurality of text feature sets to be matched specifically includes:

[0021] Get the total number of words M of the input voice text;

[0022] Sequentially traverse the positive integers in the range of 0-M as the number of text splits n;

[0023] Randomly insert n-1 character breakers into the input voice text to split the input voice text into n text features to be matched;

[0024] Integrate all the text features to be matched into a set of text features to be matched;

[0025] Traverse all n-1 character break insertion methods to obtain several text feature sets to be matched corresponding to the text split number n.

[0026] Preferably, the calculation of the matching rationality index of each to-be-matched text feature set according to the matching algorithm specifically includes:

[0027] Retrieve the language model database;

[0028] And matching is performed based on each to-be-matched text feature in the to-be-matched text feature set with all language text data in the language large model database;

[0029] Determine whether there is language text data containing the to-be-matched text feature in the to-be-matched text feature set, if so, record the to-be-matched text feature as a coincident text feature, if not, record the to-be-matched text feature as a non-coincidence text feature;

[0030] The number of characters of all overlapping text features is obtained, and the ratio of the sum of the number of characters of all overlapping text features to the total number of characters of the speech text is used as a reasonable matching index of the text feature set to be matched.

[0031] Preferably, the step of calculating the confidentiality level of each to-be-matched text feature set comprises:

[0032] Determine the information class of the language text data corresponding to each overlapping text feature in the to-be-matched text feature set, and record it as the matching information class;

[0033] Determine the confidentiality security level for each matching information class;

[0034] Determine the word count ratio of each overlapping text feature and the corresponding language text data, and record it as feature matching degree;

[0035] The product of the feature matching degrees of all overlapping text features in the to-be-matched text feature set and the confidentiality security level of the corresponding matching information class is added up and divided by n to obtain the confidentiality level of the to-be-matched text feature set.

[0036] Preferably, the audio encryption formula is specifically: ,

[0037] In the formula, The audio confidentiality security level of the intercom's recorded audio. is the total number of text feature sets to be matched after the input speech text is split. is the matching reasonable index of the jth text feature set to be matched after the input speech text is split. The confidentiality level of the jth text feature set to be matched after splitting the input speech text.

[0038] Preferably, the comprehensive encryption level of the recorded audio of the intercom based on the first encryption index and the second encryption index is comprehensively fitted, and specifically includes:

[0039] Compare the importance of the first encryption index and the second encryption index to the recorded audio of the intercom based on the hierarchical analysis method, and add emphasis weights to the first encryption index and the second encryption index;

[0040] The first encryption index and the second encryption index are weighted and summed to obtain the comprehensive encryption level of the recorded audio of the intercom.

[0041] Preferably, the step of inputting the comprehensive encryption level of the audio into a dynamic encryption algorithm model, encrypting the input audio of the intercom based on the dynamic encryption algorithm model, and obtaining the encrypted communication data specifically includes:

[0042] The comprehensive encryption level of the recorded audio of the intercom is rounded up to obtain the data encryption level, which is recorded as L;

[0043] Convert the recorded audio of the intercom into digital data and obtain the total number of characters N of the digital data;

[0044] The sum of randomly generated elements is equal to N, and the number of elements is The set of positive integers is denoted as the character segmentation set B. ; In the formula, is the positive integer value numbered i in the character segmentation set;

[0045] Follow i from 1→ Extracted from digital data characters, forming a character segment to be encrypted, and forming a character segment set C to be encrypted in the order of extraction, ; In the formula, The number of characters is The character segment to be encrypted;

[0046] generate The scrambled encrypted grid is then encrypted from left to right and from top to bottom in order from 1 to Serial number;

[0047] In 1- A random number is randomly generated in, which is recorded as the initial scrambling bit;

[0048] Will Fill in the grid corresponding to the initial scrambled position;

[0049] A random scrambled code is generated between 0 and 1, and the scrambled filling of the character segment to be encrypted is performed based on the value of the scrambled code;

[0050] Determine whether the character segment to be encrypted is " If yes, the scrambling filling is completed; if no, the scrambling code is generated and the scrambling filling of the character segment to be encrypted is performed based on the value of the scrambling code;

[0051] Extract the character segments to be encrypted in the scrambled encrypted grid that has completed scrambling and filling in order from small to large according to the grid numbers, and reorganize them into encrypted communication data;

[0052] The character segmentation set, initial scrambling position and scrambling code are encapsulated as a key and shared with the intercom receiver.

[0053] Preferably, the scrambling filling of the character segment to be encrypted based on the value of the scrambling code is specifically:

[0054] If the garbled code is set to "0", Fill until the If the scrambled code is set to "1", the nearest blank grid will be Fill until the The nearest empty grid.

[0055] Furthermore, a walkie-talkie communication data encryption system combined with semantic recognition is proposed, which is used to implement the walkie-talkie communication data encryption method combined with semantic recognition as described above, including:

[0056] A storage module, the storage module is used to store a timbre matching library and a language large model database;

[0057] A timbre analysis module, the timbre analysis module is electrically connected to the storage module, and the timbre analysis module is used to extract timbre features based on the recorded audio of the intercom to obtain the audio timbre, perform traversal matching in the timbre matching library based on the audio timbre, obtain a user matching the audio timbre, record it as the intercom input person, and obtain the communication level of the intercom input person, which is recorded as the first encryption index;

[0058] A text analysis module, the text analysis module is electrically connected to the storage module, and the text analysis module is used to obtain the input voice text based on the text conversion of the recorded audio of the intercom, perform text segmentation on the input voice text according to the text segmentation algorithm, obtain a plurality of text feature sets to be matched, calculate the matching rationality index of each text feature set to be matched according to the matching degree algorithm, calculate the confidentiality level of each text feature set to be matched, and calculate the audio confidentiality security level of the recorded audio of the intercom through the audio encryption formula based on the matching rationality index of each text feature set to be matched and the confidentiality level of each text feature set to be matched, which is recorded as the second encryption index;

[0059] A comprehensive encryption module is electrically connected to the tone analysis module and the text analysis module. The comprehensive encryption module is used to comprehensively fit the comprehensive encryption level of the recorded audio of the walkie-talkie based on the first encryption index and the second encryption index, and input the comprehensive encryption level of the audio into the dynamic encryption algorithm model, and encrypt the recorded audio of the walkie-talkie based on the dynamic encryption algorithm model to obtain encrypted communication data.

[0060] Compared with the prior art, the present invention has the following beneficial effects:

[0061] The present invention proposes a walkie-talkie communication data encryption method combined with semantic recognition. According to the application scenario of the walkie-talkie, each information category is divided into confidentiality security levels. During the use of the walkie-talkie, various intercom contents are intelligently recognized by voice. The encryption level of the communication data of each intercom content is intelligently adjusted in combination with the correlation between the intercom content and each confidential information, thereby realizing dynamic encryption of the intercom communication. In addition, the communication data of the intercom is encrypted in multiple directions in combination with scrambling encryption, thereby effectively ensuring the encryption level of the data. Even if the communication data is hijacked, it can effectively resist brute force cracking attacks, thereby ensuring the data security of the intercom communication. BRIEF DESCRIPTION OF THE DRAWINGS

[0062] Figure 1 Flowchart of the intercom communication data encryption method combined with semantic recognition proposed in this scheme;

[0063] Figure 2 A flow chart of a method for performing text splitting on an input speech text according to a text splitting algorithm in this solution;

[0064] Figure 3 A flow chart of a method for calculating a reasonable matching index for each set of text features to be matched in this solution;

[0065] Figure 4 A flow chart of a method for calculating the confidentiality level of each set of text features to be matched in this solution;

[0066] Figure 5 A flow chart of the method for comprehensively fitting the comprehensive encryption level of the recorded audio of the intercom in this solution;

[0067] Figure 6 This is a flow chart of the method for encrypting the recorded audio of the intercom based on the dynamic encryption algorithm model in this solution to obtain encrypted communication data. DETAILED DESCRIPTION

[0068] The following description is used to disclose the present invention so that those skilled in the art can implement the present invention. The preferred embodiments described below are only examples, and those skilled in the art may think of other obvious variations.

[0069] Reference Figure 1 As shown, a method for encrypting intercom communication data combined with semantic recognition includes:

[0070] Obtain information about all users in the intercom network and classify them into communication levels. At the same time, collect the voice characteristics of all users in the intercom network and build a voice matching library.

[0071] Based on the application scenarios of intercoms, each type of information is divided into confidentiality and security levels;

[0072] Collect the recorded audio of the intercom in real time, extract the timbre features based on the recorded audio of the intercom, and obtain the audio timbre;

[0073] Based on the audio timbre, a traversal match is performed in the timbre matching library to obtain a user who matches the audio timbre and is recorded as the intercom input person;

[0074] Obtain the communication level of the intercom input person, recorded as the first encryption indicator;

[0075] Based on the text conversion of the recorded audio of the intercom, the input voice text is obtained;

[0076] Performing text splitting on the input speech text according to the text splitting algorithm to obtain a plurality of text feature sets to be matched;

[0077] According to the matching algorithm, the matching rationality index of each set of text features to be matched is calculated respectively;

[0078] Calculate the confidentiality level of each set of text features to be matched respectively;

[0079] Based on the matching rationality index of each to-be-matched text feature set and the confidentiality level of each to-be-matched text feature set, the audio confidentiality security level of the recorded audio of the intercom is calculated by the audio encryption formula, which is recorded as the second encryption index;

[0080] Based on the first encryption index and the second encryption index, comprehensively fit the comprehensive encryption level of the recorded audio of the intercom;

[0081] The comprehensive encryption level of the audio is input into the dynamic encryption algorithm model, and the recorded audio of the intercom is encrypted based on the dynamic encryption algorithm model to obtain encrypted communication data;

[0082] Send encrypted communication data.

[0083] The specific audio encryption formula is: ,

[0084] In the formula, The audio confidentiality security level of the intercom's recorded audio. is the total number of text feature sets to be matched after the input speech text is split. is the matching reasonable index of the jth text feature set to be matched after the input speech text is split. The confidentiality level of the jth text feature set to be matched after splitting the input speech text.

[0085] In this solution, each type of information is divided into confidentiality and security levels through the application scenarios of walkie-talkies. During the use of walkie-talkies, various intercom contents are intelligently recognized by voice. The encryption level of each intercom content communication data is intelligently adjusted based on the correlation between the intercom content and various confidential information, thereby realizing dynamic encryption of intercom communications.

[0086] Reference Figure 2 As shown, the input speech text is split according to the text splitting algorithm to obtain several text feature sets to be matched, including:

[0087] Get the total number of words M of the input voice text;

[0088] Sequentially traverse the positive integers in the range of 0-M as the number of text splits n;

[0089] Randomly insert n-1 character breakers into the input voice text to split the input voice text into n text features to be matched;

[0090] Integrate all the text features to be matched into a set of text features to be matched;

[0091] Traverse all n-1 character break insertion methods to obtain several text feature sets to be matched corresponding to the text split number n.

[0092] The above text splitting process is described with a specific embodiment:

[0093] In one embodiment, the input text information is "Meet downstairs at five o'clock", and the total number of characters in the input text information is 8. The positive integers traversed in the range of 0-8 are 1, 2, 3, 4, 5, 6, 7, and 8. When n=1, there is only one way to insert the character break, that is, insert it at the end of the sentence, and the text feature set to be matched is {Meet downstairs at five o'clock}.

[0094] When n=2, there are seven ways to insert the character breaker, that is, insert it into any gap between characters in the sentence. Then the feature sets of texts to be matched are {five o'clock to downstairs set}, {five o'clock to downstairs set}, {five o'clock to downstairs set}, {five o'clock to downstairs set}, {five o'clock to downstairs set}, {five o'clock to downstairs set}, {five o'clock to downstairs set}, {five o'clock to downstairs set};

[0095] By analogy, we can obtain the set of text features to be matched when n=3, 4, 5, 6, 7, and 8.

[0096] Reference Figure 3 As shown, according to the matching algorithm, the matching reasonable index of each text feature set to be matched is calculated separately, including:

[0097] Retrieve the language model database;

[0098] And matching is performed based on each to-be-matched text feature in the to-be-matched text feature set with all language text data in the language large model database;

[0099] Determine whether there is language text data containing the to-be-matched text feature in the to-be-matched text feature set, if so, record the to-be-matched text feature as a coincident text feature, if not, record the to-be-matched text feature as a non-coincidence text feature;

[0100] The number of characters of all overlapping text features is obtained, and the ratio of the sum of the number of characters of all overlapping text features to the total number of characters of the speech text is used as a reasonable matching index of the text feature set to be matched.

[0101] It is understandable that the existing language model database includes all possible combinations of daily language and text words. Based on this, in this scheme, the language model database is called to perform overlap matching on the split text features to be matched. The higher the overlap between the split text features to be matched and the language text data in the language model database, the more the set of text features to be matched conforms to the actual information division to be conveyed.

[0102] Reference Figure 4 As shown, calculating the confidentiality level of each set of text features to be matched specifically includes:

[0103] Determine the information class of the language text data corresponding to each overlapping text feature in the to-be-matched text feature set, and record it as the matching information class;

[0104] Determine the confidentiality security level for each matching information class;

[0105] Determine the word count ratio of each overlapping text feature and the corresponding language text data, and record it as feature matching degree;

[0106] The product of the feature matching degrees of all overlapping text features in the to-be-matched text feature set and the confidentiality security level of the corresponding matching information class is added up and divided by n to obtain the confidentiality level of the to-be-matched text feature set.

[0107] It can be understood that during the use of the intercom system, the information to be conveyed can be classified. In some embodiments, the information categories can be divided into time categories, location categories, and action categories. For example, in "gather downstairs at five o'clock", the time information is "five o'clock", the location information is "downstairs", and the action information is "gather". In this solution, based on the overlap between the split text features and the text data of each language, and the application scenarios of the intercom, the confidentiality requirements of each information category are comprehensively calculated to determine the confidentiality level of the text feature set to be matched.

[0108] Reference Figure 5 As shown, based on the first encryption index and the second encryption index, the comprehensive encryption level of the recorded audio of the comprehensive fitting intercom specifically includes:

[0109] Compare the importance of the first encryption index and the second encryption index to the recorded audio of the intercom based on the hierarchical analysis method, and add emphasis weights to the first encryption index and the second encryption index;

[0110] The first encryption index and the second encryption index are weighted and summed to obtain the comprehensive encryption level of the recorded audio of the intercom.

[0111] This solution combines the relevance between the intercom content and each confidential information to intelligently adjust the encryption level of each intercom content communication data, thereby realizing dynamic encryption of intercom communications.

[0112] Reference Figure 6 As shown, the comprehensive encryption level of the audio is input into the dynamic encryption algorithm model, and the recorded audio of the intercom is encrypted based on the dynamic encryption algorithm model to obtain the encrypted communication data, which specifically includes:

[0113] The comprehensive encryption level of the recorded audio of the intercom is rounded up to obtain the data encryption level, which is recorded as L;

[0114] Convert the recorded audio of the intercom into digital data and obtain the total number of characters N of the digital data;

[0115] The sum of randomly generated elements is equal to N, and the number of elements is The set of positive integers is denoted as the character segmentation set B. ; In the formula, is the positive integer value numbered i in the character segmentation set;

[0116] Follow i from 1→ Extracted from digital data characters, forming a character segment to be encrypted, and forming a character segment set C to be encrypted in the order of extraction, ; In the formula, The number of characters is The character segment to be encrypted;

[0117] generate The scrambled encrypted grid is then encrypted from left to right and from top to bottom in order from 1 to Serial number;

[0118] In 1- A random number is randomly generated in, which is recorded as the initial scrambling bit;

[0119] Will Fill in the grid corresponding to the initial scrambled position;

[0120] A random scrambled code is generated between 0 and 1, and the scrambled filling of the character segment to be encrypted is performed based on the value of the scrambled code. The specific steps are: if the scrambled code is "0", Fill until the If the scrambled code is set to "1", the nearest blank grid will be Fill until the The nearest blank grid;

[0121] Determine whether the character segment to be encrypted is " If yes, the scrambling filling is completed; if no, the scrambling code is generated and the scrambling filling of the character segment to be encrypted is performed based on the value of the scrambling code;

[0122] Extract the character segments to be encrypted in the scrambled encrypted grid that has completed scrambling and filling in order from small to large according to the grid numbers, and reorganize them into encrypted communication data;

[0123] The character segmentation set, initial scrambling position and scrambling code are encapsulated as a key and shared with the intercom receiver.

[0124] This solution combines scrambling encryption with multi-directional scrambling encryption of the intercom communication data, and adopts a random number algorithm when performing initial data segmentation, so that the sequence length when the initial digital data is separated is random. Therefore, even if the scrambling logic is cracked, it is extremely difficult to segment the data during reverse cracking, thereby effectively ensuring the encryption level of the data. Even if the communication data is hijacked, it can effectively resist brute force cracking attacks and ensure the data security of intercom communications.

[0125] Further, based on the same inventive concept as the above-mentioned walkie-talkie communication data encryption method combined with semantic recognition, this solution proposes a walkie-talkie communication data encryption system combined with semantic recognition, including:

[0126] A storage module, the storage module is used to store a timbre matching library and a language large model database;

[0127] A timbre analysis module, the timbre analysis module is electrically connected to the storage module, and is used to extract timbre features based on the recorded audio of the intercom to obtain the audio timbre, perform traversal matching in the timbre matching library based on the audio timbre, obtain a user matching the audio timbre, record it as the intercom input person, and obtain the communication level of the intercom input person, which is recorded as the first encryption index;

[0128] A text analysis module, the text analysis module is electrically connected to the storage module, and the text analysis module is used for text conversion based on the recorded audio of the intercom, obtaining the input voice text, performing text splitting on the input voice text according to the text splitting algorithm, obtaining a plurality of text feature sets to be matched, respectively calculating the matching rationality index of each text feature set to be matched according to the matching degree algorithm, respectively calculating the confidentiality level of each text feature set to be matched, and calculating the audio confidentiality security level of the recorded audio of the intercom through the audio encryption formula based on the matching rationality index of each text feature set to be matched and the confidentiality level of each text feature set to be matched, which is recorded as the second encryption index;

[0129] The comprehensive encryption module is electrically connected to the tone analysis module and the text analysis module. The comprehensive encryption module is used to comprehensively fit the comprehensive encryption level of the recorded audio of the walkie-talkie based on the first encryption index and the second encryption index, and input the comprehensive encryption level of the audio into the dynamic encryption algorithm model. Based on the dynamic encryption algorithm model, the recorded audio of the walkie-talkie is encrypting to obtain encrypted communication data.

[0130] The above-mentioned walkie-talkie communication data encryption system combined with semantic recognition is used as follows:

[0131] Step 1: The timbre analysis module extracts timbre features based on the recorded audio of the intercom to obtain the audio timbre, and performs traversal matching based on the audio timbre in the timbre matching library stored in the storage module to obtain the user who matches the audio timbre, recorded as the intercom input person, and obtains the communication level of the intercom input person, recorded as the first encryption index;

[0132] Step 2: The text analysis module obtains the input voice text based on the text conversion of the recorded audio of the intercom, and performs text segmentation on the input voice text according to the text segmentation algorithm to obtain a number of text feature sets to be matched, and calculates the matching reasonable index of each text feature set to be matched according to the matching algorithm, combined with the language large model database stored in the storage module, and calculates the confidentiality level of each text feature set to be matched. Based on the matching reasonable index of each text feature set to be matched and the confidentiality level of each text feature set to be matched, the audio confidentiality security level of the recorded audio of the intercom is calculated through the audio encryption formula, which is recorded as the second encryption index;

[0133] Step three: The comprehensive encryption module comprehensively fits the comprehensive encryption level of the recorded audio of the walkie-talkie based on the first encryption index and the second encryption index, and inputs the comprehensive encryption level of the audio into the dynamic encryption algorithm model, and encrypts the recorded audio of the walkie-talkie based on the dynamic encryption algorithm model to obtain encrypted communication data.

[0134] In summary, the advantages of the present invention are: combining the relevance between the intercom content and each confidential information to intelligently adjust the encryption level of each intercom content communication data, thereby realizing dynamic encryption of intercom communications.

[0135] The above shows and describes the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments. The above embodiments and descriptions only describe the principles of the present invention. The present invention may be subject to various changes and improvements without departing from the spirit and scope of the present invention. These changes and improvements fall within the scope of the present invention. The scope of protection claimed by the present invention is defined by the attached claims and their equivalents.

Claims

1. A method for encrypting intercom communication data combined with semantic recognition. It is characterized in that include: Obtain the information of all users in the intercom network and classify them into communication levels. At the same time, collect the voice characteristics of all users in the intercom network and build a voice matching library. Based on the application scenarios of intercoms, each type of information is divided into confidentiality and security levels; Collect the recorded audio of the intercom in real time, extract the timbre features based on the recorded audio of the intercom, and obtain the audio timbre; Based on the audio timbre, a traversal match is performed in the timbre matching library to obtain a user who matches the audio timbre and is recorded as the intercom input person; Obtain the communication level of the intercom input person, recorded as the first encryption indicator; Based on the text conversion of the recorded audio of the intercom, the input voice text is obtained; Performing text splitting on the input speech text according to the text splitting algorithm to obtain a plurality of text feature sets to be matched; According to the matching algorithm, the matching rationality index of each set of text features to be matched is calculated respectively; Calculate the confidentiality level of each set of text features to be matched respectively; Based on the matching rationality index of each to-be-matched text feature set and the confidentiality level of each to-be-matched text feature set, the audio confidentiality security level of the recorded audio of the intercom is calculated by the audio encryption formula, which is recorded as the second encryption index; Based on the first encryption index and the second encryption index, comprehensively fit the comprehensive encryption level of the recorded audio of the intercom; The comprehensive encryption level of the audio is input into the dynamic encryption algorithm model, and the recorded audio of the intercom is encrypted based on the dynamic encryption algorithm model to obtain encrypted communication data; Send encrypted communication data; The step of performing text splitting on the input speech text according to the text splitting algorithm to obtain a plurality of text feature sets to be matched specifically includes: Get the total number of words M of the input voice text; Sequentially traverse the positive integers in the range of 0-M as the number of text splits n; Randomly insert n-1 character breakers into the input voice text to split the input voice text into n text features to be matched; Integrate all the text features to be matched into a set of text features to be matched; Traverse all n-1 character break insertion methods to obtain a number of to-be-matched text feature sets corresponding to the text split number n; The matching reasonableness index of each to-be-matched text feature set is calculated according to the matching algorithm and specifically includes: Retrieve the language model database; And matching is performed based on each to-be-matched text feature in the to-be-matched text feature set with all language text data in the language large model database; Determine whether there is language text data containing the to-be-matched text feature in the to-be-matched text feature set, if so, record the to-be-matched text feature as a coincident text feature, if not, record the to-be-matched text feature as a non-coincidence text feature; Obtain the number of characters of all overlapping text features, and use the ratio of the sum of the number of characters of all overlapping text features to the total number of characters of the speech text as a reasonable matching index of the text feature set to be matched; The step of inputting the comprehensive encryption level of the audio into the dynamic encryption algorithm model, encrypting the input audio of the intercom based on the dynamic encryption algorithm model, and obtaining the encrypted communication data specifically includes: The comprehensive encryption level of the recorded audio of the intercom is rounded up to obtain the data encryption level, which is recorded as L; Convert the recorded audio of the intercom into digital data and obtain the total number of characters N of the digital data; The sum of randomly generated elements is equal to N, and the number of elements is The set of positive integers is denoted as the character segmentation set B. ; In the formula, is the positive integer value numbered i in the character segmentation set; Follow i from 1→ Extract the sequence from the digital data characters, forming a character segment to be encrypted, and forming a character segment set C to be encrypted in the order of extraction, ; In the formula, The number of characters is The character segment to be encrypted; generate The scrambled encrypted grid is then encrypted from left to right and from top to bottom in order from 1 to Serial number; In 1- A random number is randomly generated in, which is recorded as the initial scrambling bit; Will Fill in the grid corresponding to the initial scrambled position; A random scrambling code is generated between 0 and 1, and the scrambling padding of the character segment to be encrypted is performed based on the value of the scrambling code; Determine whether the character segment to be encrypted is " If yes, the scrambling filling is completed; if no, the scrambling code is generated and the scrambling filling of the character segment to be encrypted is performed based on the value of the scrambling code; Extract the character segments to be encrypted in the scrambled encrypted grid that has completed scrambling and filling in order from small to large according to the grid numbers, and reorganize them into encrypted communication data; Encapsulate the character segmentation set, initial scrambling bit and scrambling code as a key and share it with the intercom receiver; The scrambling filling of the character segment to be encrypted based on the value of the scrambling code is specifically as follows: If the garbled code is set to "0", Fill until the The nearest blank grid, if the scrambled code is set to "1", will Fill until the The nearest blank grid; The audio encryption formula is specifically: , In the formula, The audio confidentiality security level of the intercom's recorded audio. is the total number of text feature sets to be matched after the input speech text is split. is the matching reasonable index of the jth text feature set to be matched after the input speech text is split. The confidentiality level of the jth text feature set to be matched after splitting the input speech text.

2. According to claim 1, a method for encrypting intercom communication data combined with semantic recognition, It is characterized in that The step of calculating the confidentiality level of each to-be-matched text feature set comprises: Determine the information class of the language text data corresponding to each overlapping text feature in the to-be-matched text feature set, and record it as the matching information class; Determine the confidentiality security level for each matching information class; Determine the word count ratio of each overlapping text feature and the corresponding language text data, and record it as feature matching degree; The product of the feature matching degrees of all overlapping text features in the to-be-matched text feature set and the confidentiality security level of the corresponding matching information class is added up and divided by n to obtain the confidentiality level of the to-be-matched text feature set.

3. According to claim 2, a method for encrypting intercom communication data combined with semantic recognition, It is characterized in that The comprehensive encryption level of the recorded audio of the intercom based on the first encryption index and the second encryption index specifically includes: Compare the importance of the first encryption index and the second encryption index to the recorded audio of the intercom based on the hierarchical analysis method, and add emphasis weights to the first encryption index and the second encryption index; The first encryption index and the second encryption index are weighted and summed to obtain the comprehensive encryption level of the recorded audio of the intercom.

4. A walkie-talkie communication data encryption system combined with semantic recognition, It is characterized in that The method for encrypting intercom communication data combined with semantic recognition according to any one of claims 1 to 3 comprises: A storage module, the storage module is used to store a timbre matching library and a language large model database; A timbre analysis module, the timbre analysis module is electrically connected to the storage module, and the timbre analysis module is used to extract timbre features based on the recorded audio of the intercom to obtain the audio timbre, perform traversal matching in the timbre matching library based on the audio timbre, obtain a user matching the audio timbre, record it as the intercom input person, and obtain the communication level of the intercom input person, which is recorded as the first encryption index; A text analysis module, the text analysis module is electrically connected to the storage module, and the text analysis module is used to obtain the input voice text based on the text conversion of the recorded audio of the intercom, perform text segmentation on the input voice text according to the text segmentation algorithm, obtain a plurality of text feature sets to be matched, calculate the matching rationality index of each text feature set to be matched according to the matching degree algorithm, calculate the confidentiality level of each text feature set to be matched, and calculate the audio confidentiality security level of the recorded audio of the intercom through the audio encryption formula based on the matching rationality index of each text feature set to be matched and the confidentiality level of each text feature set to be matched, which is recorded as the second encryption index; A comprehensive encryption module is electrically connected to the tone analysis module and the text analysis module. The comprehensive encryption module is used to comprehensively fit the comprehensive encryption level of the recorded audio of the walkie-talkie based on the first encryption index and the second encryption index, and input the comprehensive encryption level of the audio into the dynamic encryption algorithm model, and encrypt the recorded audio of the walkie-talkie based on the dynamic encryption algorithm model to obtain encrypted communication data.

Citation Information

Patent Citations

  • Interphone pairing system and pairing method

    CN114980081A

  • Speech recognition method and device and electronic equipment

    CN114999488A