Method and related apparatus, device, system and medium for encrypted communication
By using an encrypted communication method that receives and compares password sets over a time period, the problems of high cost, high resource consumption, and high complexity in existing encrypted communication methods are solved, thereby improving security and efficiency.
Patent Information
- Application Number
- CN202410985106.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-22
- Publication Date
- 2026-02-06
- Estimated Expiration
- 2044-07-22
AI Technical Summary
Existing encrypted communication methods suffer from high costs, high resource consumption, and high complexity, especially when key exchange and third-party verification are required, making it difficult to guarantee security.
By receiving the password from the first communication terminal and comparing it with the locally generated password set, a password is generated using a time period as a parameter to ensure that the password is different in different time periods, avoiding key exchange and third-party verification, and using OTP as the encryption method.
It reduces the cost and resource consumption of encrypted communication, improves security, simplifies the communication process, and enhances the accuracy and security of encrypted communication.
Smart Images

Figure CN119155021B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and in particular to an encrypted communication method and related apparatus, devices, systems and media. Background Technology
[0002] Currently, encrypted communication typically uses algorithms such as symmetric encryption AES, asymmetric encryption RSA, Base64 encoding, and Md5.
[0003] However, in practical applications, the above methods still present security issues due to factors such as the need to exchange keys before formal encrypted communication. Introducing a third party for verification not only increases costs and resource consumption but also introduces security concerns related to the third party and further complicates encrypted communication. Therefore, reducing the cost, resource consumption, and complexity of encrypted communication while improving its security has become an urgent problem to be solved. Summary of the Invention
[0004] The main technical problem addressed by this application is to provide an encrypted communication method and related apparatus, equipment, system, and medium that can reduce the cost, resource consumption, and complexity of encrypted communication, and improve the security of encrypted communication.
[0005] To address the aforementioned problems, a first aspect of this application provides an encrypted communication method, comprising: receiving a first password from a first communication terminal; wherein the first password is generated using a request content and a first parameter as input parameters for a target encryption method, the first parameter representing the time period in which the request content is triggered, and the request content being contained in several preset contents; comparing the first password with a set of passwords generated by the communication terminal to obtain a comparison result; wherein the set of passwords contains a second password containing several preset contents, the second password being generated using the preset contents and the second parameter as input parameters for a target encryption method, and the second parameter used in different sets of passwords representing different time periods; and determining the request result of the first communication terminal based on the comparison result.
[0006] To address the aforementioned issues, a second aspect of this application provides an encrypted communication method, comprising: obtaining a first parameter based on the time period in which the request content is triggered; wherein the request content is contained within several preset contents; generating a first password for the request content within the time period represented by the first parameter, using the request content and the first parameter as input parameters for a target encryption method; and sending the first password to a second communication terminal; wherein the second communication terminal compares the first password with a set of passwords generated by the second communication terminal to obtain a comparison result, and determines the request result of the first communication terminal based on the comparison result, and the set of passwords contains a second password containing several preset contents, the second password being generated using the preset contents and the second parameter as input parameters for the target encryption method, and the second parameter used by different sets of passwords representing different time periods.
[0007] To address the aforementioned issues, a third aspect of this application provides an encrypted communication method, comprising: a first communication terminal obtaining a first parameter based on the time period in which the request content is triggered, and generating a first password for the request content within the time period represented by the first parameter, using the request content and the first parameter as input parameters for a target encryption method; wherein the request content is contained in several preset contents; the first communication terminal sending the first password to a second communication terminal; the second communication terminal comparing the first password with a set of passwords generated by the second communication terminal, obtaining a comparison result, and determining the request result of the first communication terminal based on the comparison result; wherein the set of passwords contains a second password containing several preset contents, the second password being generated using the preset contents and the second parameter as input parameters for the target encryption method, and the second parameter used in different sets of passwords representing different time periods.
[0008] To address the aforementioned problems, a fourth aspect of this application provides an encrypted communication device, comprising: a password receiving module, a password comparison module, and a request determination module. The password receiving module receives a first password from a first communication terminal. The first password is generated using request content and a first parameter as input parameters for a target encryption method. The first parameter represents the time period in which the request content is triggered, and the request content is contained within several preset contents. The password comparison module compares the first password with a set of passwords generated by the communication terminal to obtain a comparison result. The password set contains several second passwords with preset contents. The second passwords are generated using the preset contents and a second parameter as input parameters for a target encryption method, and the second parameter used in different password sets represents different time periods. The request determination module determines the request result of the first communication terminal based on the comparison result.
[0009] To address the aforementioned issues, a fifth aspect of this application provides an encrypted communication device, comprising: a parameter acquisition module, a password generation module, and a password sending module. The parameter acquisition module is used to obtain a first parameter based on the time period in which the request content is triggered; wherein the request content includes several preset contents. The password generation module is used to generate a first password for the request content within the time period represented by the first parameter, using the request content and the first parameter as input parameters for a target encryption method. The password sending module is used to send the first password to a second communication terminal. The second communication terminal compares the first password with a set of passwords generated by the second communication terminal to obtain a comparison result, and determines the request result of the first communication based on the comparison result. The password set includes a second password with several preset contents, and the second password is generated using the preset contents and the second parameter as input parameters for the target encryption method. The second parameter used in different password sets represents different time periods.
[0010] To address the aforementioned problems, a sixth aspect of this application provides an electronic device comprising a communication circuit, a memory, and a processor. The communication circuit is coupled to the memory and the processor, respectively. The memory stores program instructions, and the processor executes the program instructions to implement the encrypted communication method described in the first or second aspect.
[0011] To address the aforementioned issues, a seventh aspect of this application provides an encrypted communication system, comprising a first communication terminal and a second communication terminal connected by communication, wherein the second communication terminal is used to implement the encrypted communication method of the first aspect, and the first communication terminal is used to implement the encrypted communication method of the second aspect.
[0012] To address the aforementioned problems, the eighth aspect of this application provides a computer-readable storage medium storing program instructions executable by a processor, the program instructions being used to implement the encrypted communication method described in the first or second aspect above.
[0013] The above scheme receives a first password from a first communication terminal. This first password is generated using the request content and a first parameter as input to the target encryption method. The first parameter represents the time period when the request content is triggered, and the request content includes several preset contents. The first password is then compared with a set of passwords generated by the communication terminal to obtain a comparison result. The password set contains a second password with several preset contents. This second password is generated using the preset contents and a second parameter as input to the target encryption method. Different password sets use different second parameters representing different time periods. Based on the comparison result, the request result of the first communication terminal is determined. Therefore, this scheme eliminates the need for the two communicating parties to exchange keys before formal communication and also eliminates the need for an additional third party. Verification helps reduce the cost and resource consumption of encrypted communication, and improves its security. Furthermore, since no third party is involved, it also helps reduce the complexity of encrypted communication to some extent. On the other hand, because the encryption password for the relevant content is generated using time factors and the corresponding content as input parameters for the target encryption method, it can ensure that different content has different encryption passwords under the same time factor, and that the same content also has different encryption passwords under different time factors. That is, only the same content has the same encryption password under the same time factor. Therefore, a simple password comparison can accurately determine the request result, helping to reduce the complexity of encrypted communication and, to some extent, improve its security. Thus, it can reduce the cost, resource consumption, and complexity of encrypted communication, and improve its security. Attached Figure Description
[0014] Figure 1 This is a flowchart illustrating an embodiment of the encrypted communication method of this application;
[0015] Figure 2 This is a flowchart illustrating another embodiment of the encrypted communication method of this application;
[0016] Figure 3 This is a flowchart illustrating yet another embodiment of the encrypted communication method of this application;
[0017] Figure 4 This is a schematic diagram of the framework of an embodiment of the encrypted communication device of this application;
[0018] Figure 5 This is a schematic diagram of another embodiment of the encrypted communication device of this application;
[0019] Figure 6 This is a schematic diagram of the framework of an embodiment of the electronic device of this application;
[0020] Figure 7 This is a schematic diagram of the framework of an embodiment of the encrypted communication system of this application;
[0021] Figure 8This is a schematic diagram of a framework of an embodiment of the computer-readable storage medium of this application. Detailed Implementation
[0022] The embodiments of this application will now be described in detail with reference to the accompanying drawings.
[0023] In the following description, specific details such as particular system architectures, interfaces, and technologies are presented for illustrative purposes rather than for limiting purposes, in order to provide a thorough understanding of this application.
[0024] In this paper, the terms "system" and "network" are often used interchangeably. The term "and / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. Additionally, the character " / " generally indicates that the preceding and following related objects have an "or" relationship. Furthermore, "many" in this paper means two or more.
[0025] Please see Figure 1 , Figure 1 This is a flowchart illustrating an embodiment of the encrypted communication method of this application. It should be noted that this embodiment can be executed by a second communication terminal in an encrypted communication system. Exemplarily, the second communication terminal may include, but is not limited to, a server. For details, please refer to the embodiments of the encrypted communication system of this application, which will not be elaborated here. Specifically, this embodiment may include the following steps:
[0026] Step S11: Receive the first password from the first communication terminal.
[0027] In this embodiment, the first password is generated using the request content and a first parameter as input parameters to the target encryption method. The first parameter represents the time period in which the request content is triggered, and the request content is contained within several preset contents. As a possible example, the first communication terminal can respond to a request instruction for preset content, select the requested preset content as the request content, obtain the first parameter based on the time period in which the request content is triggered, and then generate the first password using the request content and the first parameter as input parameters to the target encryption method. The first password is then sent to the communication terminal to achieve encrypted communication through password transmission. This can minimize the risk of malicious code / request attacks caused by directly inserting the request into the code or database after directly transmitting parameters to the backend. Furthermore, since the first communication terminal transmits the password in plaintext with the communication terminal, no decryption is required, which can effectively reduce the resource consumption of the communication terminal and help improve efficiency.
[0028] In one implementation scenario, as described above, the request content is comprised of several preset contents. Exemplarily, a selection can be made from these preset contents, with the selected content serving as the request content. It should be noted that the preset contents can represent different traded goods; that is, through this embodiment of the disclosure, the first communication terminal can conduct trade with this communication terminal via encrypted communication. Exemplarily, the traded goods can be physical goods, such as clothing, jewelry, fresh produce, beverages, etc.; or, the traded goods can be virtual goods, such as stocks, futures, bonds, funds, etc. The nature of the traded goods is not limited here. Furthermore, the product name of the traded goods can be used as the preset content, such as "XX brand milk XX liters," "XX brand men's XX size sweatshirt," "XX securities XX fund," etc.; or, the unique code of the traded goods can be used as the preset content, such as stock codes, fund codes, etc. There is no limitation on whether the preset content is represented by the product name, unique code, or other attributes of the traded goods; specifically, it is preferable to use something that can uniquely identify different traded goods.
[0029] In one implementation scenario, several time periods can be divided based on the interval duration. The specific interval duration can be set according to the actual application needs, such as being set to seconds, milliseconds, etc. For example, if the interval duration is set to 1 second, then 0 seconds to 1 second is one time period, 1 second to 2 seconds is another time period, 2 seconds to 3 seconds is another time period, and so on. When the interval duration is set to other values, the same principle applies, but examples will not be provided here.
[0030] In one implementation scenario, a fixed time each day can be used as the starting time, and the day can be divided into time periods according to the interval length. For example, if 0:00:00 is used as the starting time, and the day is divided into time periods of 1 second each, the time periods of the day can be obtained as follows: 0:00:00 to 0:00:01, 0:00:01 to 0:00:02, 0:00:02 to 0:00:03, ..., 23:59:59 to 0:00:00. Alternatively, a variable time each day (such as any random time can be selected as the starting time) can be used as the starting time, and the day can be divided into time periods according to the interval length using the aforementioned method. In addition, time periods can also be divided into units such as weeks, months, quarters, and years. For example, a certain moment in each month (such as a fixed moment like 0:00:00 on the 1st of each month, or a randomly selected moment as the starting moment) can be used as the starting moment, and the month can be divided into pairs according to the interval length to obtain the time period of each month. Alternatively, a certain moment in each year (such as a fixed moment like 0:00:00 on January 1st, or a randomly selected moment as the starting moment) can be used as the starting moment, and the year can be divided into pairs according to the interval length to obtain the time period of each year.
[0031] In one implementation scenario, the earliest time in the system (e.g., 00:00:00 on January 1, 1970) can be selected as the starting time. Time periods are then divided according to the interval length. For example, 00:00:00 on January 1, 1970 to 00:00:01 on January 1, 1970 is one time period, 00:00:01 on January 1, 1970 to 00:00:02 on January 1, 1970 is another time period, 00:00:02 on January 1, 1970 to 00:00:03 on January 1, 1970 is yet another time period, and so on, up to the current time. Examples will not be given here.
[0032] In one implementation scenario, the first parameter can be represented by the sequence number of a time period. For example, dividing each day into intervals starting from a fixed time (e.g., 00:00:00), the time period from 00:00:00 to 00:00:01 can be represented by the first parameter "1", the time period from 00:00:01 to 00:00:02 can be represented by the first parameter "2", and so on. Alternatively, selecting the earliest time in the system (e.g., 00:00:00 on January 1, 1970) as the starting time and dividing the time period by interval, the time period from 00:00:00 on January 1, 1970 to 00:00:01 on January 1, 1970 can be represented by the first parameter "1", the time period from 00:00:01 on January 1, 1970 to 00:00:02 on January 1, 1970 can be represented by the first parameter "2", and so on, up to the current time. Again, this approach is not illustrated here.
[0033] In one implementation scenario, the interval duration can be set based on the communication latency between the current communication terminal and the first communication terminal (e.g., latency ranging from microseconds, milliseconds, seconds, etc., in ascending order). For example, the interval duration can be positively correlated with the communication latency, i.e., the greater the communication latency, the greater the interval duration, and vice versa. Alternatively, the interval duration can also be set based on the importance level of the encrypted communication between the current communication terminal and the first communication terminal (the importance level of financial product transactions is higher than that of ordinary product transactions). For example, the interval duration can be negatively correlated with the importance level, i.e., the higher the importance level, the smaller the interval duration, and vice versa. Alternatively, the interval duration can also be set based on the aforementioned communication latency and importance level, i.e., the interval duration is positively correlated with the communication latency and negatively correlated with the importance level.
[0034] In one implementation scenario, the target encryption method can be any encryption algorithm, or even a custom encryption algorithm; the specific type of encryption algorithm is not limited here. For example, taking OTP (One-Time Password) as the target encryption method, several preset contents can include basketball, football, and tennis. The request content can be football. The first communication terminal uses the request content "football" and a first parameter representing the time period when the request content "football" is triggered to generate a first password, such as "585446". It should be noted that other encryption methods can also be selected in actual applications, which will not be elaborated here.
[0035] Step S12: Compare the first password with the password set generated by this communication terminal to obtain the comparison result.
[0036] In this embodiment of the disclosure, the password set includes several second passwords with preset content. The second passwords are generated using the preset content and the second parameter as input parameters for the target encryption method. The second parameter used by different password sets represents different time periods.
[0037] In one implementation scenario, this communication terminal can obtain a second parameter representing a time period in chronological order. Then, using the second parameter and preset content as input parameters for the target encryption method, it generates a second password for the preset content within the time period represented by the second parameter. Thus, based on several preset contents and their respective second passwords within the same time period, a password set can be obtained. In this method, both the communication terminal and the first communication terminal use the same encryption method and have the same input parameters, ensuring the accuracy of subsequent password comparison in determining the request result.
[0038] In a specific implementation scenario, to improve efficiency, this communication terminal can generate the corresponding second password starting from the earliest time period within a preset duration (e.g., half a minute, one minute, etc.) prior to the current time. It should be noted that the preset duration can be positively correlated with communication latency and negatively correlated with importance level. For details, please refer to the aforementioned interval setting method, which will not be repeated here.
[0039] In a specific implementation scenario, as a possible example, taking OTP (One-Time Password) as the target encryption method, given several preset contents including basketball, football, and tennis, a corresponding second password can be generated based on the current time period of the communication terminal. For example, the second password for the preset content "basketball" is "355415", the second password for the preset content "tennis" is "156456", and the second password for the preset content "football" is "585446", thus obtaining the password set for the current time period. Of course, the above example is merely one possible case in practical application and does not limit the specific content of the password set; further examples will not be provided here.
[0040] In one implementation scenario, both the first communication terminal and this communication terminal contain the same password generator, and both password generators employ the target encryption method. For example, the same password generator can be pre-deployed on both the first communication terminal and this communication terminal. Furthermore, to further ensure the accuracy of encrypted communication, the first communication terminal and this communication terminal can be pre-configured with the same interval duration. For example, the same interval duration can be configured in the password generators deployed on both the first communication terminal and this communication terminal. Additionally, the same start time can be configured in the password generators deployed on both the first communication terminal and this communication terminal. It should be noted that the meanings of the interval duration and start time, as well as the specific process of dividing time periods based on the start time and interval duration, can be found in the foregoing descriptions and will not be repeated here.
[0041] In one implementation scenario, the communication terminal can continuously generate password sets corresponding to various time periods locally using the aforementioned method. In this case, it can detect whether the time period represented by the second parameter of the password set is outside the preset time period before the current time. If so, the password set can be deleted locally; otherwise, it can be retained locally. This method, by detecting whether the time period represented by the second parameter of the password set is outside the preset time period before the current time to determine whether to delete the password set locally, saves local cache on the communication terminal and reduces the number of second passwords to be compared with the first password, thus improving comparison efficiency. Furthermore, by appropriately retaining password sets within the preset time period, it can retain as many second passwords as possible for comparison.
[0042] In a specific implementation scenario, before detecting whether the time period represented by the second parameter used in the password set is outside the preset duration before the current time, the communication delay between the current communication terminal and the first communication terminal can be obtained, as well as the importance level of the encrypted communication between the current communication terminal and the first communication terminal. Then, based at least on the communication delay and the importance level, the preset duration is determined. As a possible example, the preset duration is positively correlated with the communication delay and negatively correlated with the importance level. It should be noted that the specific meanings of the communication delay and the importance level can be found in the aforementioned descriptions, and will not be repeated here. The above method, by first obtaining the communication delay between the first communication terminal and the current communication terminal and the importance level of the encrypted communication, and then determining the preset duration based on at least both, helps to maximize the accuracy of the preset duration setting. This means that it can retain as many second passwords as possible for comparison while deleting as many second passwords as possible that are too far ahead of the current time and therefore unusable for comparison.
[0043] In a specific implementation scenario, taking a preset duration of 3 seconds as an example, if the current time is 0:00:08, the following password sets can be deleted: the password sets corresponding to the time period from 0:00:00 to 0:00:01, 0:00:01 to 0:00:02, 0:00:02 to 0:00:03, 0:00:03 to 0:00:04, and 0:00:04 to 0:00:05. The following password sets will be retained: the password sets from 0:00:05 to 0:00:06, 0:00:06 to 0:00:07, and 0:00:07 to 0:00:08. Other cases can be deduced similarly, and will not be listed here.
[0044] Step S13: Based on the comparison results, determine the request result of the first communication terminal.
[0045] Specifically, the request result can include at least whether the first communication terminal successfully requested the requested content or failed to do so. If the request result includes successful request, the request result also includes the request content. That is, if the communication terminal determines that the request was successful, it can also determine the request content of the first communication terminal by comparing the password.
[0046] In one implementation scenario, in response to the comparison result including the existence of a second password identical to the first password, it is determined that the first communication terminal's request was successful, and the preset content corresponding to the second password identical to the first password is determined to be the requested content. For example, if the requested content is still "football," the first password received by this communication terminal is "585446," and the password set generated by this communication terminal includes: the second password "355415" for the preset content "basketball," the second password "156456" for the preset content "tennis," and the second password "585446" for the preset content "football." Since the second password identical to the first password, i.e., the second password "585446" for the preset content "football," is detected through password comparison, it can be determined that the first communication terminal's request was successful, and the preset content "football" corresponding to the second password identical to the first password is determined to be the requested content of the first communication terminal. Of course, the above example is merely one possible example in actual application and does not limit other possible situations; further examples will not be provided here. The above method, in response to the comparison result including the existence of a second password that is the same as the first password, determines that the first communication terminal request is successful, and determines that the preset content corresponding to the second password that is the same as the first password is the request content, which can improve the accuracy of the encrypted request.
[0047] In one implementation scenario, as another possible case, in response to the comparison result including the absence of a second password identical to the first password, it is determined that the first communication terminal's request failed. In this manner, without knowing the target encryption method, interval duration, and preset content, the attacker cannot generate a valid password. Therefore, when this communication terminal receives a password sent by the attacker, the comparison will also fail, and the attacker will be unable to successfully make a request.
[0048] In one implementation scenario, after comparing the first password with the set of passwords generated by the local communication terminal, and obtaining the comparison result, in response to the existence of a second password identical to the first password, the second password identical to the first password is deleted from the set of passwords generated by the local communication terminal. In this way, even if the first password of the first communication terminal is intercepted by an attacker and resent to the local communication terminal, the local communication terminal will be unable to successfully compare the two passwords because it has already deleted the identical second password. Therefore, the attacker will not be able to successfully request a second password, thus preventing replay attacks.
[0049] In one implementation scenario, after determining the request result of the first communication terminal based on the comparison results, this communication terminal can also send the request result back to the first communication terminal, such as whether the request was successful or failed, which helps the first communication terminal to understand the confirmation status of this communication terminal regarding the request content in a timely manner.
[0050] The above scheme receives a first password from a first communication terminal. This first password is generated using the request content and a first parameter as input to the target encryption method. The first parameter represents the time period when the request content is triggered, and the request content includes several preset contents. The first password is then compared with a set of passwords generated by the communication terminal to obtain a comparison result. The password set contains a second password with several preset contents. This second password is generated using the preset contents and a second parameter as input to the target encryption method. Different password sets use different second parameters representing different time periods. Based on the comparison result, the request result of the first communication terminal is determined. Therefore, this scheme eliminates the need for the two communicating parties to exchange keys before formal communication and also eliminates the need for an additional third party. Verification helps reduce the cost and resource consumption of encrypted communication, and improves its security. Furthermore, since no third party is involved, it also helps reduce the complexity of encrypted communication to some extent. On the other hand, because the encryption password for the relevant content is generated using time factors and the corresponding content as input parameters for the target encryption method, it can ensure that different content has different encryption passwords under the same time factor, and that the same content also has different encryption passwords under different time factors. That is, only the same content has the same encryption password under the same time factor. Therefore, a simple password comparison can accurately determine the request result, helping to reduce the complexity of encrypted communication and, to some extent, improve its security. Thus, it can reduce the cost, resource consumption, and complexity of encrypted communication, and improve its security.
[0051] Please see Figure 2 , Figure 2 This is a flowchart illustrating another embodiment of the encrypted communication method of this application. It should be noted that this embodiment can be executed by a first communication terminal in an encrypted communication system. Exemplarily, the first communication terminal may include, but is not limited to, a client. For details, please refer to the embodiments of the encrypted communication system of this application, which will not be elaborated here. Specifically, this embodiment may include the following steps:
[0052] Step S21: Obtain the first parameter based on the time period in which the requested content was triggered.
[0053] In this embodiment of the disclosure, the request content is included in several preset contents, which can be referred to in the relevant descriptions in the foregoing embodiments of the disclosure, and will not be repeated here.
[0054] Step S22: Using the request content and the first parameter as input parameters for the target encryption method, generate the first password for the time period represented by the first parameter.
[0055] For details, please refer to the relevant descriptions in the foregoing disclosed embodiments, which will not be repeated here.
[0056] Step S23: Send the first password to the second communication terminal.
[0057] In this embodiment, the second communication terminal compares the first password with the password set generated by the first communication terminal to obtain a comparison result. Based on the comparison result, it determines the request result of the first communication terminal. The password set contains several second passwords with preset content. The second passwords are generated using the preset content and second parameters as input parameters for the target encryption method. The second parameters used in different password sets represent different time periods. For details, please refer to the relevant descriptions in the foregoing embodiments, which will not be repeated here.
[0058] The above scheme obtains a first parameter based on the time period when the request content is triggered. The request content is contained within several preset contents. Using the request content and the first parameter as input parameters for the target encryption method, a first password for the request content within the time period represented by the first parameter is generated. The first password is then sent to the second communication terminal. The second communication terminal compares the first password with the password set generated by itself, obtains the comparison result, and determines the request result of the first communication terminal based on the comparison result. The password set contains a second password containing several preset contents. The second password is generated using the preset contents and the second parameter as input parameters for the target encryption method. Different password sets use different second parameters to represent different time periods. Therefore, on the one hand, it eliminates the need for the two communicating parties to exchange passwords before formal communication. The use of a single key eliminates the need for additional third-party verification, helping to reduce the cost and resource consumption of encrypted communication and improve its security. Furthermore, the absence of a third party also reduces the complexity of encrypted communication. On the other hand, since the encryption password for the relevant content is generated using time factors and the corresponding content as input parameters for the target encryption method, it ensures that different content will have different encryption passwords under the same time factor, and the same content will also have different encryption passwords under different time factors. That is, only the same content will have the same encryption password under the same time factor. Therefore, a simple password comparison can accurately determine the request result, helping to reduce the complexity of encrypted communication and, to some extent, improve its security. Thus, it can reduce the cost, resource consumption, and complexity of encrypted communication while improving its security.
[0059] Please see Figure 3 , Figure 3 This is a flowchart illustrating another embodiment of the encrypted communication method of this application.
[0060] Specifically, this may include the following steps:
[0061] Step S31: The first communication terminal obtains the first parameter based on the time period in which the requested content is triggered.
[0062] In this embodiment of the disclosure, the request content is included in several preset contents, which can be referred to in the relevant descriptions in the foregoing embodiments of the disclosure, and will not be repeated here. In addition, as an example, the first communication terminal can be a client, such as a mobile phone, tablet computer, etc. The client can trigger a selection instruction on several preset contents (e.g., select to trade a certain stock), and use the selected preset contents as the request content.
[0063] Step S32: The first communication terminal uses the request content and the first parameter as input parameters for the target encryption method to generate the first password for the time period represented by the first parameter.
[0064] For details, please refer to the relevant descriptions in the foregoing disclosed embodiments, which will not be repeated here.
[0065] Step S33: The first communication terminal sends the first password to the second communication terminal.
[0066] For details, please refer to the relevant descriptions in the foregoing public embodiments, which will not be repeated here. In addition, as a possible example, the second communication end can be a server, such as a server, where password comparison and other functions can be implemented to confirm whether the client has successfully requested the requested content (e.g., a certain stock).
[0067] Step S34: The second communication terminal compares the first password with the password set generated by this communication terminal to obtain the comparison result.
[0068] In this embodiment of the disclosure, the password set includes several second passwords with preset content. The second passwords are generated using the preset content and second parameters as input parameters for the target encryption method. The second parameters used in different password sets represent different time periods. For details, please refer to the relevant descriptions in the foregoing embodiments of the disclosure, which will not be repeated here.
[0069] Step S35: The second communication terminal determines the request result of the first communication terminal based on the comparison result.
[0070] For details, please refer to the relevant descriptions in the foregoing public embodiments, which will not be repeated here. Furthermore, as a possible example, after the second communication terminal determines the request result of the first communication terminal based on the comparison result, it can return the request result to the first communication terminal. For instance, the server can determine whether the client's request for a certain stock was successful through the aforementioned password comparison, and return the request result for that stock to the client. Of course, the above example is merely one possible example in practical application and does not limit other possible scenarios; further examples will not be provided here.
[0071] The above scheme, on the one hand, eliminates the need for both parties to exchange keys before formal communication and avoids the need for additional third-party verification, thus reducing the cost and resource consumption of encrypted communication and improving its security. Furthermore, the absence of a third party also helps reduce the complexity of encrypted communication. On the other hand, since the encryption password for the relevant content is generated using time factors and the corresponding content as input parameters for the target encryption method, it ensures that different content has different encryption passwords under the same time factor, and the same content also has different encryption passwords under different time factors. That is, only the same content has the same encryption password under the same time factor. Therefore, a simple password comparison can accurately determine the request result, helping to reduce the complexity of encrypted communication and, to some extent, improve its security. Therefore, it can reduce the cost, resource consumption, and complexity of encrypted communication while improving its security.
[0072] Please see Figure 4 , Figure 4 This is a schematic diagram of an embodiment of the encrypted communication device 40 of this application. The encrypted communication device 40 includes: a password receiving module 41, a password comparison module 42, and a request determination module 43. The password receiving module 41 is used to receive a first password from a first communication terminal; wherein, the first password is generated using request content and a first parameter as input parameters of a target encryption method, the first parameter representing the time period when the request content is triggered, and the request content is contained in several preset contents; the password comparison module 42 is used to compare the first password with a set of passwords generated by the communication terminal to obtain a comparison result; wherein, the password set includes a second password with several preset contents, the second password is generated using the preset contents and the second parameter as input parameters of the target encryption method, and the second parameter used by different password sets represents different time periods; the request determination module 43 is used to determine the request result of the first communication terminal based on the comparison result.
[0073] In the above scheme, the encrypted communication device 40 receives a first password from the first communication terminal. The first password is generated using the request content and a first parameter as input parameters for the target encryption method. The first parameter represents the time period when the request content is triggered, and the request content includes several preset contents. The first password is then compared with a set of passwords generated by the communication terminal to obtain a comparison result. The password set includes a second password with several preset contents. The second password is generated using the preset contents and the second parameter as input parameters for the target encryption method. Different password sets use different second parameters to represent different time periods. Based on the comparison result, the request result of the first communication terminal is determined. Therefore, on the one hand, it is not necessary for the two communicating parties to exchange keys before formal communication, and on the other hand, it is not necessary to add additional... Adding a third party for verification helps reduce the cost and resource consumption of encrypted communication, and improves its security. Furthermore, the absence of a third party also helps reduce the complexity of encrypted communication. On the other hand, since the encryption password for the relevant content is generated using time factors and the corresponding content as input parameters for the target encryption method, it ensures that different content will have different encryption passwords under the same time factor, and the same content will also have different encryption passwords under different time factors. That is, only the same content will have the same encryption password under the same time factor. Therefore, a simple password comparison can accurately determine the request result, helping to reduce the complexity of encrypted communication and, to some extent, improve its security. Thus, it can reduce the cost, resource consumption, and complexity of encrypted communication, while improving its security.
[0074] In some disclosed embodiments, the request result includes at least whether the first communication terminal successfully requested the requested content or failed to do so, and if the request result includes successful request, the request result also includes the requested content.
[0075] In some disclosed embodiments, the request determination module 43 is specifically used to determine that the first communication terminal request is successful in response to the comparison result including the existence of a second password that is the same as the first password, and to determine that the preset content corresponding to the second password that is the same as the first password is the request content.
[0076] In some disclosed embodiments, the request determination module 43 is specifically used to determine that the first communication terminal request has failed in response to a comparison result including the absence of a second password identical to the first password.
[0077] In some disclosed embodiments, the encrypted communication device 40 further includes a first deletion module, configured to delete the second password that is the same as the first password from the password set generated at the communication end in response to a comparison result including the existence of a second password that is the same as the first password.
[0078] In some disclosed embodiments, the encrypted communication device 40 further includes a set detection module for detecting whether the time period represented by the second parameter used in the password set is outside a preset time period before the current time; the encrypted communication device 40 further includes a second deletion module for deleting the password set at the communication end when the time period represented by the second parameter used in the password set is outside the preset time period before the current time; the encrypted communication device 40 further includes a set retention module for retaining the password set at the communication end when the time period represented by the second parameter used in the password set is not outside the preset time period before the current time.
[0079] In some disclosed embodiments, the encrypted communication device 40 further includes a latency acquisition module for acquiring the communication latency between the local communication terminal and the first communication terminal. The encrypted communication device 40 also includes a level acquisition module for acquiring the importance level of the encrypted communication between the local communication terminal and the first communication terminal. The encrypted communication device 40 further includes a duration determination module for determining a preset duration based at least on the communication latency and the importance level.
[0080] In some publicly disclosed embodiments, the preset duration is positively correlated with communication latency and negatively correlated with importance level.
[0081] In some disclosed embodiments, the encrypted communication device 40 further includes a time period acquisition module, used to obtain a second parameter representing a time period in chronological order; the encrypted communication device 40 further includes a local generation module, used to generate a second password for the time period represented by the second parameter, using the second parameter and preset content as input parameters of the target encryption method; the encrypted communication device 40 further includes a set acquisition module, used to obtain a password set based on the second passwords of several preset contents in the same time period.
[0082] In some disclosed embodiments, the encrypted communication device 40 further includes a result feedback module for feeding back the request result to the first communication terminal.
[0083] In some disclosed embodiments, several preset contents represent different traded goods; and / or, the first communication terminal and this communication terminal contain the same password generator, and the password generators of the first communication terminal and this communication terminal adopt the target encryption method; and / or, the time period is divided based on the interval duration, and the first communication terminal and this communication terminal are configured with the same interval duration; and / or, the time period is divided based on the interval duration, and the interval duration is determined based on at least one of the following: the communication delay between this communication terminal and the first communication terminal, and the importance level of encrypted communication between this communication terminal and the first communication terminal.
[0084] Please see Figure 5 , Figure 5This is a schematic diagram of the framework of an embodiment of the encrypted communication device 50 of this application. The encrypted communication device 50 includes: a parameter acquisition module 51, a password generation module 52, and a password sending module 53. The parameter acquisition module 51 is used to obtain a first parameter based on the time period when the request content is triggered; wherein, the request content is contained in several preset contents. The password generation module 52 is used to generate a first password for the request content under the time period represented by the first parameter, using the request content and the first parameter as input parameters of the target encryption method. The password sending module 53 is used to send the first password to a second communication terminal; wherein, the second communication terminal compares the first password with the password set generated by the communication terminal to obtain a comparison result, and determines the request result of the first communication based on the comparison result, and the password set contains a second password with several preset contents, the second password is generated using the preset contents and the second parameter as input parameters of the target encryption method, and the second parameter used by different password sets represents different time periods.
[0085] In the above scheme, the encrypted communication device 50 obtains a first parameter based on the time period when the request content is triggered. The request content is contained within several preset contents. Using the request content and the first parameter as input parameters for the target encryption method, it generates a first password for the request content within the time period represented by the first parameter. The first password is then sent to the second communication terminal. The second communication terminal compares the first password with the password set generated by itself, obtains the comparison result, and determines the request result of the first communication terminal based on the comparison result. The password set contains a second password containing several preset contents. The second password is generated using the preset contents and the second parameter as input parameters for the target encryption method. Different password sets use different second parameters to represent different time periods. Therefore, on the one hand, it eliminates the need for the communicating parties to communicate before formal communication. Pre-exchange of keys, without the need for additional third-party verification, helps reduce the cost and resource consumption of encrypted communication, and improves its security. Furthermore, the absence of a third party also helps reduce the complexity of encrypted communication. On the other hand, since the encryption password for the relevant content is generated using time factors and the corresponding content as input parameters for the target encryption method, it ensures that different content has different encryption passwords under the same time factor, and the same content also has different encryption passwords under different time factors. That is, only the same content has the same encryption password under the same time factor. Therefore, a simple password comparison can accurately determine the request result, helping to reduce the complexity of encrypted communication and, to some extent, improve its security. Thus, it can reduce the cost, resource consumption, and complexity of encrypted communication, while improving its security.
[0086] Please see Figure 6 , Figure 6This is a schematic diagram of an embodiment of the electronic device 60 of this application. The electronic device 60 includes a communication circuit 61, a memory 62, and a processor 63. The communication circuit 61 is coupled to both the memory 62 and the processor 63. The memory 62 stores program instructions, and the processor 63 executes the program instructions to implement the steps in the above-described encrypted communication method embodiment. It should be noted that the electronic device 60 may include, but is not limited to, client devices such as mobile phones and tablet computers, and may also include server devices such as servers.
[0087] Specifically, processor 63 can also be referred to as a CPU (Central Processing Unit). Processor 63 may be an integrated circuit chip with signal processing capabilities. Processor 63 can also be a general-purpose processor, digital signal processor, application-specific integrated circuit, field-programmable gate array or other programmable logic device, discrete gate or transistor logic device, or discrete hardware component. The general-purpose processor can be a microprocessor or any conventional processor. In addition, processor 63 can be implemented by multiple integrated circuit chips.
[0088] The above-described scheme, implemented by electronic device 60 in the above-described encrypted communication method embodiment, eliminates the need for both parties to exchange keys before formal communication and for an additional third party to perform verification. This helps reduce the cost and resource consumption of encrypted communication and improves its security. Furthermore, the absence of a third party also helps reduce the complexity of encrypted communication to some extent. On the other hand, since the encryption password for the relevant content is generated using time factors and the corresponding content as input parameters for the target encryption method, it ensures that different content has different encryption passwords under the same time factor, and the same content also has different encryption passwords under different time factors. That is, only the same content has the same encryption password under the same time factor. Therefore, a simple password comparison can accurately determine the request result, helping to reduce the complexity of encrypted communication and, to some extent, improve its security. Thus, it can reduce the cost, resource consumption, and complexity of encrypted communication while improving its security.
[0089] Please see Figure 7 , Figure 7 This is a schematic diagram of a framework of an embodiment of the encrypted communication system 70 of this application. The encrypted communication system 70 includes a first communication terminal 71 and a second communication terminal 72 for communication connection. The second communication terminal 72 is used to implement the steps in the first encrypted communication method embodiment described above, and the first communication terminal is used to implement the steps in the second encrypted communication method embodiment described above.
[0090] In one implementation scenario, the first communication terminal 71 can be a client, such as, but not limited to, a mobile phone or tablet computer, and the second communication terminal 72 can be a server, such as, but not limited to, a server. The device types of the first and second communication terminals 71 and 72 are not limited here. Taking the first communication terminal 71 as a client and the second communication terminal 72 as a server as an example, it can be applied to trading scenarios for financial products such as stock trading and futures trading, or it can also be applied to trading scenarios for ordinary goods such as clothing, jewelry, and fresh produce. The application scenarios are not limited here. For example, the first communication terminal 71, acting as a client, can use the requested content (e.g., stock X) and a first parameter (e.g., the time period in which the stock X is requested) as input parameters for the target encryption method to generate a first password and send the first password to the second communication terminal 72, acting as a server. The second communication terminal 72 also continuously generates corresponding second passwords for several preset contents (e.g., all stocks) locally according to the same interval as the first communication terminal 71, using the target encryption method to combine them to obtain a set of passwords for each time period. The first password is compared with the local second password to obtain the comparison result. If the first password is found to be the same as a local second password, it can be determined that the request of the first communication terminal 71, acting as a client, is successful (e.g., the request to trade stock X is successful), and it can be determined that the preset content (e.g., stock X) corresponding to the second password that is the same as the first password is the requested content of the first communication terminal 71, acting as a client. Alternatively, if it is found that there is no second password that is the same as the first password, it can be determined that the request of the first communication terminal 71, acting as a client, is unsuccessful (e.g., the request to trade stock X is unsuccessful).
[0091] In another implementation scenario, the first communication terminal 71 and the second communication terminal 72 are not limited to the communication scenario between the client and the server. For example, the first communication terminal 71 and the second communication terminal 72 can both be clients, or the first communication terminal 71 and the second communication terminal 72 can both be servers. No limitation is made here.
[0092] The above scheme, the encrypted communication system 70 includes a first communication terminal 71 and a second communication terminal 72 for communication connection. The second communication terminal 72 is used to implement the steps in the first encrypted communication method embodiment, and the first communication terminal 71 is used to implement the steps in the second encrypted communication method embodiment. On the one hand, it eliminates the need for the communicating parties to exchange keys before formal communication and eliminates the need for additional third-party verification, which helps reduce the cost and resource consumption of encrypted communication and improves the security of encrypted communication. Furthermore, the absence of third-party involvement also helps reduce the complexity of encrypted communication to some extent. On the other hand, since the encryption password for the relevant content is generated by using time factors and corresponding content as input parameters for the target encryption method, it can ensure that different content has different encryption passwords under the same time factor, and that the same content also has different encryption passwords under different time factors. That is, only the same content has the same encryption password under the same time factor. Therefore, the request result can be accurately determined through simple password comparison, which helps reduce the complexity of encrypted communication and also helps improve the security of encrypted communication to some extent. Therefore, it can reduce the cost, resource consumption, and complexity of encrypted communication and improve the security of encrypted communication.
[0093] Please see Figure 8 , Figure 8 This is a schematic diagram of a framework of an embodiment of the computer-readable storage medium 80 of this application. The computer-readable storage medium 80 stores processor-executable program instructions 81, which can be executed to implement the steps in any of the above-described embodiments of the encrypted communication method.
[0094] The above scheme, implemented by the computer-readable storage medium 80 in any of the above-described encrypted communication method embodiments, eliminates the need for the communicating parties to exchange keys before formal communication and eliminates the need for additional third-party verification. This helps reduce the cost and resource consumption of encrypted communication and improves its security. Furthermore, the absence of a third party also helps reduce the complexity of encrypted communication to some extent. On the other hand, since the encryption password for the relevant content is generated using time factors and the corresponding content as input parameters for the target encryption method, it ensures that different content has different encryption passwords under the same time factor, and that the same content also has different encryption passwords under different time factors. That is, only the same content has the same encryption password under the same time factor. Therefore, a simple password comparison can accurately determine the request result, helping to reduce the complexity of encrypted communication and, to some extent, improve its security. Thus, it can reduce the cost, resource consumption, and complexity of encrypted communication while improving its security.
[0095] In the several embodiments provided in this application, it should be understood that the disclosed methods and apparatus can be implemented in other ways. For example, the apparatus implementations described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.
[0096] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment, depending on actual needs.
[0097] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0098] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute all or part of the steps of the methods of various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0099] If the technical solution of this application involves personal information, the product using this technical solution has clearly informed the user of the personal information processing rules and obtained the user's voluntary consent before processing the personal information. If the technical solution of this application involves sensitive personal information, the product using this technical solution has obtained the user's separate consent before processing the sensitive personal information, and also meets the requirement of "express consent". For example, at personal information collection devices such as cameras, clear and prominent signs are set up to inform users that they have entered the scope of personal information collection and that personal information will be collected. If an individual voluntarily enters the collection scope, it is deemed that they have agreed to the collection of their personal information; or on the personal information processing device, with clear signs / information informing users of the personal information processing rules, authorization is obtained from the individual through pop-up information or by asking the individual to upload their personal information; wherein, the personal information processing rules may include information such as the personal information processor, the purpose of personal information processing, the processing method, and the types of personal information processed.
Claims
1. A method of encrypting communications, characterized by, The method comprises: receiving a first password of a first communication terminal; wherein the first password is generated by taking a request content and a first parameter as input parameters of a target encryption mode, the first parameter represents a time period when the request content triggers, and the request content is included in a plurality of preset contents; comparing the first password with a password set generated by the communication terminal to obtain a comparison result; wherein the password set includes second passwords of the plurality of preset contents, the second passwords are generated by taking the preset contents and second parameters as input parameters of the target encryption mode, and different second parameters used by different password sets represent different time periods; determining a request result of the first communication terminal based on the comparison result.
2. The method of claim 1, wherein, The request result at least includes that the first communication terminal requests successfully or fails to request the request content, and in the case that the request result includes the request success, the request result further includes the request content.
3. The method of claim 1, wherein, The method of determining the request result of the first communication terminal based on the comparison result comprises: in response to the comparison result including the existence of the second password same as the first password, determining that the first communication terminal requests successfully, and determining that the preset content corresponding to the second password same as the first password is the request content.
4. The method of claim 1, wherein, The method of determining the request result of the first communication terminal based on the comparison result comprises: in response to the comparison result including the non-existence of the second password same as the first password, determining that the first communication terminal requests fails.
5. The method of claim 1, wherein, After the method of comparing the first password with the password set generated by the communication terminal to obtain the comparison result, the method further comprises: in response to the comparison result including the existence of the second password same as the first password, deleting the second password same as the first password in the password set generated by the communication terminal.
6. The method of claim 1, wherein, The method further comprises: detecting whether the time period represented by the second parameter used by the password set is located outside a preset time length before the current time; if yes, deleting the password set in the communication terminal; if no, retaining the password set in the communication terminal.
7. The method of claim 6, wherein, Before the method of detecting whether the time period represented by the second parameter used by the password set is located outside a preset time length before the current time, the method further comprises: obtaining a communication time delay between the communication terminal and the first communication terminal, and obtaining an importance level of encrypted communication between the communication terminal and the first communication terminal; determining the preset time length based at least on the communication time delay and the importance level.
8. The method of claim 7, wherein, The preset time length is positively correlated with the communication time delay, and the preset time length is negatively correlated with the importance level.
9. The method of claim 1, wherein, The method further comprises: obtaining the second parameter representing the time period in the order from early to late; generating the second password of the preset content in the time period represented by the second parameter by taking the second parameter and the preset content as input parameters of the target encryption mode; obtaining the password set based on the second passwords of the plurality of preset contents in the same time period.
10. The method of claim 1, wherein, After determining the request result of the first communication end based on the comparison result, the method further comprises: feeding back the request result to the first communication end.
11. The method of claim 1, wherein, The plurality of preset contents represent different transaction commodities; And / or, the first communication end and the current communication end contain the same password generator, and the password generators of the first communication end and the current communication end adopt the target encryption mode; And / or, the time period is divided based on an interval duration, and the first communication end and the current communication end are configured with the same interval duration; And / or, the time period is divided based on an interval duration, and the interval duration is determined based on at least one of the following: the communication delay between the current communication end and the first communication end, and the importance level of encrypted communication between the current communication end and the first communication end.
12. A method of encrypting communications, characterized by, Comprise: based on the time period in which the request content triggers, obtain the first parameter; wherein the request content contains in a plurality of preset contents; The request content and the first parameter are used as the input parameters of the target encryption mode to generate the first password of the request content in the time period represented by the first parameter; Send the first password to the second communication end; wherein the second communication end compares the first password received from the first communication end with the password set generated by the current communication end to obtain a comparison result, and determines the request result of the first communication end based on the comparison result, and the password set contains the second password of the plurality of preset contents, and the second password is generated by taking the preset content and the second parameter as the input parameters of the target encryption mode, and different second parameters used by different password sets represent different time periods.
13. A method of communication encryption, characterized by, Comprise: The first communication end obtains a first parameter based on the time period in which the request content triggers, and generates a first password of the request content in the time period represented by the first parameter by taking the request content and the first parameter as the input parameters of the target encryption mode; wherein the request content contains in a plurality of preset contents; The first communication end sends the first password to the second communication end; The second communication end compares the first password with the password set generated by the current communication end to obtain a comparison result, and determines the request result of the first communication end based on the comparison result; wherein the password set contains the second password of the plurality of preset contents, and the second password is generated by taking the preset content and the second parameter as the input parameters of the target encryption mode, and different second parameters used by different password sets represent different time periods.
14. An encryption communication apparatus characterized by comprising: Comprise: The password receiving module is used for receiving the first password of the first communication end; wherein the first password is generated by taking the request content and the first parameter as the input parameters of the target encryption mode, the first parameter represents the time period in which the request content triggers, and the request content contains in a plurality of preset contents; The password comparison module is configured to compare the first password with a password set generated by the second communication terminal to obtain a comparison result, wherein the password set includes second passwords of the preset contents, and the second passwords are generated by taking the preset contents and second parameters as input parameters of the target encryption mode, and different second parameters used by different password sets represent different time periods. The request determination module is configured to determine a request result of the first communication terminal based on the comparison result.
15. An encryption communication apparatus characterized by comprising: The method comprises the following steps: The parameter acquisition module is configured to obtain a first parameter based on a time period in which a request content is triggered, wherein the request content is included in a plurality of preset contents. The password generation module is configured to generate a first password of the request content in a time period represented by the first parameter by taking the request content and the first parameter as input parameters of the target encryption mode. The password sending module is configured to send the first password to the second communication terminal, wherein the second communication terminal compares the first password received from the first communication terminal with a password set generated by the second communication terminal to obtain a comparison result, and determines a request result of the first communication terminal based on the comparison result, and the password set includes second passwords of the preset contents, and the second passwords are generated by taking the preset contents and second parameters as input parameters of the target encryption mode, and different second parameters used by different password sets represent different time periods.
16. An electronic device, comprising: The communication circuit, the memory and the processor are coupled to each other, the memory stores program instructions, and the processor is configured to execute the program instructions to implement the encryption communication method of any one of claims 1 to 12.
17. An encrypted communication system, characterized by The first communication terminal and the second communication terminal are connected by communication, the second communication terminal is configured to implement the encryption communication method of any one of claims 1 to 11, and the first communication terminal is configured to implement the encryption communication method of claim 12.
18. A computer-readable storage medium, characterized in that, The memory stores program instructions executable by the processor, and the program instructions are configured to implement the encryption communication method of any one of claims 1 to 12.
Citation Information
Patent Citations
Method and system for encrypting transmission information
CN112788046A
Display control method and display control device for robot parameter interface
CN116340922A