Decryption method and device, learning machine, electronic equipment and storage medium
Patent Information
- Application Number
- CN202210771942.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-30
- Publication Date
- 2026-10-27
- Estimated Expiration
- 2042-06-30
AI Technical Summary
[0005]本发明提供一种解密方法、装置、学习机、电子设备和存储介质,用以解决现有技术中密码容易盗用,解密麻烦且无法保证学习效果的缺陷
[0036]本发明提供的解密方法、装置、学习机、电子设备和存储介质,通过展示待复习知识信息,根据用户对待复习知识信息中选项的按压操作,确定用户的解答信息和解密压力序列,并基于所述解答信息和所述解密压力序列,对待解密对象进行解密。基于预设压力序列和所述待复习知识信息的预设答案进行加密,用户仅通过针对待复习知识信息进行解答时执行按压操作,即可实现压力序列和待复习知识相结合的双重加解密思路,该双重密码操作简单有趣,提高了加解密安全性的同时避免了复杂操作,增强了用户体验感。
Smart Images

Figure CN115168817B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of computer technology, and in particular to a decryption method, apparatus, learning machine, electronic device, and storage medium. Background Technology
[0002] Encryption and decryption of electronic devices are typically achieved through methods such as passwords, fingerprints, and facial recognition, and are mostly used to ensure privacy and security. However, for educational devices and other products used by children or primary and secondary school students, encryption and decryption are sometimes used to help parents monitor the amount of time their children spend using the device for entertainment.
[0003] In the current system, if a child wants to use the learning machine for entertainment, they usually need parental consent and a password from the parent to open the entertainment program. However, the password is easily stolen, and the password can only be decrypted if the parent is present, which is very troublesome.
[0004] In addition, currently, for learning machines to review learned knowledge, students need to open the review module in the specific application themselves. Whether or not to review depends entirely on the student's self-discipline, and the learning effect cannot be guaranteed. Summary of the Invention
[0005] This invention provides a decryption method, device, learning machine, electronic device, and storage medium to solve the defects of existing technologies, such as easy password theft, cumbersome decryption, and inability to guarantee learning effectiveness.
[0006] This invention provides a decryption method, comprising:
[0007] Displays knowledge information to be reviewed, which is generated based on a preset pressure sequence and historical learning information;
[0008] In response to the user's pressing operation on the option in the knowledge information to be reviewed, the user's answer information is determined;
[0009] Based on the pressure value corresponding to the pressing operation, the decryption pressure sequence is determined;
[0010] Based on the answer information and the decryption pressure sequence, the object to be decrypted is decrypted. The object to be decrypted is an object encrypted based on the preset pressure sequence and the preset answer of the knowledge information to be reviewed.
[0011] According to a decryption method provided by the present invention, the knowledge information to be reviewed is determined based on the following steps:
[0012] Based on the historical learning information, knowledge points to be assessed are obtained, and the number of knowledge points to be assessed is the same as the length of the preset pressure sequence.
[0013] Based on the knowledge points to be assessed, the knowledge information to be reviewed is generated.
[0014] According to a decryption method provided by the present invention, the step of generating the knowledge information to be reviewed based on the knowledge points to be assessed includes:
[0015] Based on the knowledge points to be assessed, a corresponding number of exercises are generated, and these exercises are identified as the knowledge information to be reviewed. The options from these exercises are used as options within the knowledge information to be reviewed; or,
[0016] The knowledge points to be assessed and at least one unlearned knowledge point are selected as options to construct the knowledge information to be reviewed.
[0017] According to a decryption method provided by the present invention, the step of decrypting the object to be decrypted based on the solution information and the decryption pressure sequence includes:
[0018] Based on the decryption pressure sequence and the preset pressure sequence, the pressure decryption result is determined;
[0019] Based on the solution information and the preset answers to the knowledge information to be reviewed, the knowledge decryption result is determined;
[0020] Based on the pressure decryption result and the knowledge decryption result, the object to be decrypted is decrypted.
[0021] According to a decryption method provided by the present invention, determining the knowledge decryption result based on the preset answer of the solution information and the knowledge information to be reviewed includes:
[0022] If the pressure decryption result is correct, the knowledge decryption result is determined based on the solution information and the preset answer to the knowledge information to be reviewed.
[0023] According to a decryption method provided by the present invention, determining the decryption pressure sequence based on the pressure value corresponding to the pressing operation includes:
[0024] Based on a preset pressure threshold and the pressure value corresponding to the pressing operation, the pressure level corresponding to the pressing operation is determined, and the threshold is determined based on the pressure value of the user's specified pressing operation under different pressure levels.
[0025] Based on the pressure level corresponding to the pressing operation, the decryption pressure sequence is determined.
[0026] The present invention also provides a decryption device, comprising:
[0027] The knowledge information display unit is used to display the knowledge information to be reviewed, which is generated based on a preset pressure sequence and historical learning information;
[0028] The answer information determination unit is used to determine the user's answer information in response to the user's pressing operation on the option in the knowledge information to be reviewed;
[0029] The pressure sequence determination unit is used to determine the decryption pressure sequence based on the pressure value corresponding to the pressing operation;
[0030] The decryption unit is used to decrypt the object to be decrypted based on the answer information and the decryption pressure sequence. The object to be decrypted is an object encrypted based on the preset pressure sequence and the preset answer of the knowledge information to be reviewed.
[0031] The present invention also provides a learning machine, including a learning machine body, the above-mentioned decryption device, and a pressure sensor connected to the decryption device and disposed under the screen of the learning machine;
[0032] The pressure sensor is used to collect the pressure value corresponding to the user's pressing operation.
[0033] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the program, implements the decryption method as described above.
[0034] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the decryption method as described above.
[0035] The present invention also provides a computer program product, including a computer program that, when executed by a processor, implements the decryption method as described above.
[0036] The decryption method, apparatus, learning machine, electronic device, and storage medium provided by this invention, by displaying knowledge information to be reviewed, determining the user's answer information and decryption pressure sequence based on the user's pressing operation on the options in the knowledge information to be reviewed, and decrypting the object to be decrypted based on the answer information and the decryption pressure sequence. Encryption is performed based on a preset pressure sequence and a preset answer to the knowledge information to be reviewed. The user only needs to perform a pressing operation when answering the questions in the knowledge information to be reviewed to achieve a dual encryption and decryption approach combining the pressure sequence and the knowledge information to be reviewed. This dual encryption operation is simple and fun, improves encryption and decryption security while avoiding complex operations, and enhances the user experience.
[0037] Furthermore, the combination of pressure and knowledge in the learning machine makes learning fun and educational, ensuring the quality of learning, improving the flexibility of the machine's use, and reducing the monitoring burden on parents. Attached Figure Description
[0038] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0039] Figure 1 This is a flowchart illustrating the decryption method provided by the present invention;
[0040] Figure 2 This is a flowchart illustrating the method for determining knowledge information to be reviewed provided by the present invention;
[0041] Figure 3 This is a flowchart illustrating step 140 in the decryption method provided by the present invention;
[0042] Figure 4 This is a flowchart illustrating step 130 in the decryption method provided by the present invention;
[0043] Figure 5 This is a schematic diagram of the decryption device provided by the present invention;
[0044] Figure 6 This is a schematic diagram of the learning machine provided by the present invention;
[0045] Figure 7 This is a schematic diagram of the structure of the electronic device provided by the present invention. Detailed Implementation
[0046] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.
[0047] Figure 1 This is a flowchart illustrating the decryption method provided by the present invention, as shown below. Figure 1 As shown, the decryption method provided by this invention can be applied to common electronic device decryption scenarios that require human-computer interaction. The object to be decrypted can be an encrypted application, folder, video resource, or music resource, for example, decrypting an encrypted entertainment application in a learning machine, or decrypting the screen or system of an electronic device, where the electronic device can be a tablet computer with a touch screen, a learning machine, or a smartphone.
[0048] This invention uses an electronic device as a learning machine as an example to describe the decryption method in detail. The method includes:
[0049] Step 110: Display the knowledge information to be reviewed. The knowledge information to be reviewed is generated based on the preset pressure sequence and historical learning information.
[0050] Specifically, when a user is using the learning machine, if the system detects that the user is performing a decryption operation on an object to be decrypted, such as when the user wants to open an encrypted entertainment application, the system can first display the knowledge information to be reviewed.
[0051] Here, the knowledge information to be reviewed is recommended to the user, representing the specific knowledge they are expected to review. The learning machine automatically generates the knowledge information to be reviewed based on a preset pressure sequence and historical learning information, and then displays it to the user.
[0052] It should be noted that before performing step 110, the user can pre-set a pressure password sequence for any one or more applications or files that need to be encrypted on the learning machine. A pressure element can be installed below the screen of the learning machine, including but not limited to piezoelectric material membranes, pressure sensors, etc. The user can obtain the preset pressure sequence by pressing the screen of the learning machine multiple times.
[0053] A preset pressure sequence represents the pressure information of a user pressing the screen, which can be represented by a set of numbers, letters, symbols, or text. The knowledge information to be reviewed can be determined based on the length or sequence value of the preset pressure sequence, where the length of the preset pressure sequence represents the number of times the user presses the screen.
[0054] For example, if the preset pressure sequence is 01001, then the length of the preset pressure sequence is 5, and the user presses the screen 5 times, where the pressure information of the first press is "0" and the pressure information of the second press is "1". As another example, if the preset pressure sequence is "light-heavy-light-heavy-heavy", then the length of the preset pressure sequence is 6, and the user presses the screen 6 times, where the pressure information of the third press is "light" and the pressure information of the fourth press is "light".
[0055] The historical learning information here refers to the knowledge points of the lessons the user has already learned before this decryption operation, such as vocabulary and exercises. Considering that current learning machines require students to manually open the review module in the specific application to review learned knowledge, whether or not to review depends entirely on the student's self-discipline, and the learning effect cannot be guaranteed, the terminal automatically generates the knowledge information to be reviewed based on the length of the preset pressure sequence and the historical learning information, and displays it to the user.
[0056] Understandably, the content of the knowledge information to be reviewed is related to historical learning information; for example, multiple key words are selected from previously learned vocabulary as the knowledge information to be reviewed. The number of press operations performed by the user on the knowledge information to be reviewed is related to the length of the preset pressure sequence. For example, by setting the number of options for the knowledge information to be reviewed, the number of press operations performed by the user when answering the questions is controlled to be consistent with the length of the preset pressure sequence. Based on this, when decrypting, the user can achieve a dual decryption combining pressure and knowledge simply by pressing on the knowledge information to be reviewed.
[0057] Step 120: In response to the user's pressing action on the options in the review knowledge information, determine the user's answer information.
[0058] Specifically, the options in the knowledge information to be reviewed are choices that users can make regarding the knowledge information to be reviewed. For example, the knowledge information to be reviewed can be presented in the form of exercises such as multiple choice or true / false questions, or it can be presented in the form of reviewing knowledge points such as selecting previously learned knowledge points.
[0059] Users can see the displayed knowledge information to be reviewed and then answer the questions. Specifically, they can press the corresponding options, which can be done by pressing the options displayed on the learning machine's screen or external touch screen with their fingers or a stylus.
[0060] Once the user's selections for each press are obtained, the user's answer information can be determined. For example, if the knowledge to be reviewed includes 6 multiple-choice questions, each with four options "A", "B", "C", and "D", the user's answer information for these 6 questions would be "ABACDC".
[0061] Step 130: Determine the decryption pressure sequence based on the pressure value corresponding to the pressing operation.
[0062] Specifically, the pressure value corresponding to the pressing operation can be obtained through the pressure element set below the screen of the learning machine, and the decryption pressure sequence can be determined.
[0063] Understandably, when a user presses an option in the information to be reviewed, the pressure element can detect the pressure value when the user presses, for example, the pressure value corresponding to the current press operation is 3g (approximately 30 Newtons).
[0064] Once the pressure value corresponding to each press operation is obtained, the decryption pressure sequence can be determined based on the correspondence between the pressure value and the pressure sequence value. For example, if the pressure values corresponding to the press operations are "3g, 5g, 2.8g, 6g, 2.5g, 3.2g", where the pressure sequence value corresponding to pressure values of 3g, 2.8g, 2.5g, and 3.2g is "0", and the pressure sequence value corresponding to pressure values of 5g and 6g is "1", then the decryption pressure sequence is "010100".
[0065] It should be noted that steps 120 and 130 can be executed simultaneously or sequentially, and the execution order is not limited.
[0066] Step 140: Based on the answer information and the decryption pressure sequence, decrypt the object to be decrypted. The object to be decrypted is an object encrypted based on the preset pressure sequence and the preset answer of the knowledge information to be reviewed.
[0067] Specifically, the object to be decrypted can be an encrypted application, folder, video resource, or music resource, for example, an encrypted entertainment application in a learning machine, or the screen or system of an electronic device.
[0068] Before decrypting the object to be decrypted, it can be encrypted. The encryption password is determined based on a preset pressure sequence and preset answers to the knowledge information to be reviewed. Therefore, based on the user's answer information and decryption pressure sequence, the object to be decrypted can be decrypted according to the answer information, the preset answers to the knowledge information to be reviewed, the decryption pressure sequence, and the preset pressure sequence. The preset answers to the knowledge information to be reviewed are pre-set, specifically the standard answers corresponding to the currently displayed knowledge information to be reviewed.
[0069] Understandably, the higher the degree of matching between the solution information and the preset answer to the knowledge to be reviewed, and the higher the degree of matching between the decryption pressure sequence and the preset pressure sequence, the greater the probability that the object to be decrypted will be decrypted; the lower the degree of matching, the less likely the object to be decrypted will be decrypted. For example, when the degree of matching between the user's solution information and the preset answer to the knowledge to be reviewed is higher than a certain set threshold, and the decryption pressure sequence is completely consistent with the preset pressure sequence, the object to be decrypted will be successfully decrypted; otherwise, decryption will fail.
[0070] Furthermore, based on the successful decryption of the object to be decrypted, the user's permissions can be further determined according to the degree of matching between the solution information and the preset answers to the knowledge to be reviewed, as well as the pre-defined correspondence between the degree of matching and usage permissions. Taking an encrypted entertainment application as an example, the permission here could be the duration of use of the entertainment application; for example, the higher the degree of matching between the solution information and the preset answers to the knowledge to be reviewed, the longer the duration of use of the entertainment application. As another example, taking an encrypted video resource as an example, the permission here could be the content of the video resource that can be viewed; for example, the higher the degree of matching between the solution information and the preset answers to the knowledge to be reviewed, the more content of the video resource that can be viewed.
[0071] Preferably, the priorities of the solution information and the decryption pressure sequence can also be set. For example, the priority of the decryption pressure sequence can be set higher than that of the solution information. First, it is determined whether the decryption pressure sequence is consistent with the preset pressure sequence. If the decryption pressure sequence is inconsistent with the preset pressure sequence, it can be determined that the object to be decrypted has failed to be decrypted. Of course, the priority of the solution information can also be set higher than that of the decryption pressure sequence. This embodiment of the invention does not specifically limit this.
[0072] The decryption method provided in this invention displays knowledge information to be reviewed. Based on the user's pressing actions on the options within this information, the method determines the user's answer information and decryption pressure sequence. Then, based on the answer information and the decryption pressure sequence, the object to be decrypted is decrypted. Encryption is performed based on a preset pressure sequence and a preset answer to the knowledge information to be reviewed. The user only needs to perform a pressing action when answering the questions related to the knowledge information to be reviewed to achieve a dual encryption and decryption approach combining the pressure sequence and the knowledge information to be reviewed. This dual-password operation is simple and engaging, improving encryption and decryption security while avoiding complex operations and enhancing the user experience.
[0073] Furthermore, the combination of pressure and knowledge in the learning machine makes learning fun and educational, ensuring the quality of learning, improving the flexibility of the machine's use, and reducing the monitoring burden on parents.
[0074] Based on any of the above embodiments Figure 2 This is a flowchart illustrating the method for determining knowledge information to be reviewed provided by the present invention, as shown below. Figure 2 As shown, the knowledge information to be reviewed is determined based on the following steps:
[0075] Step 210: Based on historical learning information, obtain the knowledge points to be assessed. The number of knowledge points to be assessed is the same as the length of the preset pressure sequence.
[0076] Step 220: Generate knowledge information to be reviewed based on the knowledge points to be assessed.
[0077] Considering that the content of the knowledge information to be reviewed is related to historical learning information, the content of the knowledge information to be reviewed can be generated from historical learning information. First, the knowledge points to be assessed are obtained based on historical learning information. The historical learning record here can be the most recent learning record before this decryption time, or it can be a learning record within a certain period of time. The knowledge points to be assessed are the knowledge points that users are expected to master, such as words, pinyin, or addition and subtraction within 100.
[0078] It should be noted that the number of knowledge points to be assessed is the same as the length of the preset pressure sequence. For example, if the length of the preset pressure sequence is 6, then the number of knowledge points to be assessed is 6.
[0079] In one embodiment, after each user completes a course using the learning machine, the knowledge points of the course that the user has learned can be collected, and multiple key pieces of information can be extracted from them as knowledge points to be assessed.
[0080] Once the knowledge points to be assessed are obtained, review information can be generated based on these points. For example, multiple-choice questions, true / false questions, or knowledge point reviews can be generated based on these knowledge points.
[0081] Preferably, in order to ensure that the number of press operations performed by the user to answer the questions about the knowledge information to be reviewed is the same as the length of the preset pressure sequence, and at the same time to test whether the user can select the correct answer from the options in the knowledge information to be reviewed, the number of options in the knowledge information to be reviewed can be set to be greater than the length of the preset pressure sequence.
[0082] Based on any of the above embodiments, step 220 specifically includes:
[0083] A corresponding number of practice questions are generated based on the knowledge points to be assessed, and these questions are designated as knowledge information to be reviewed. The options from these questions are then used as options within this knowledge information; or,
[0084] Select the knowledge points to be assessed and at least one unlearned knowledge point as options to construct the knowledge information to be reviewed.
[0085] Specifically, after obtaining the knowledge points to be assessed, review information can be generated based on these points. A corresponding number of practice questions can be generated based on these knowledge points, and these questions are then designated as review information. The options from the practice questions become options within the review information. The number of practice questions is the same as the number of knowledge points to be assessed, meaning the number of practice questions is the same as the length of the preset pressure sequence. These practice questions can be multiple-choice or true / false questions. Assuming the preset pressure sequence length is 6, 6 practice questions will be automatically generated and displayed. Each practice question will have at least 2 options. When the user answers these 6 practice questions, they will perform 6 press operations to obtain the answer information and decrypt the pressure sequence.
[0086] In another embodiment, the knowledge points to be assessed and at least one unlearned knowledge point can be selected as options to construct the knowledge information to be reviewed. The unlearned knowledge points can be determined based on historical learning records. Assuming the preset pressure sequence length is 6, 6 knowledge points to be assessed and at least one unlearned knowledge point are automatically generated. These 7 or more knowledge points are then selected as options for the user to choose from, testing the user's familiarity with the knowledge points and their ability to determine whether they have learned them. For example, the knowledge points to be assessed might be key words selected from the user's previous learning, namely "what, who, where, how, when, why". Based on this, two unlearned words, "while" and "well", can be randomly added. These 8 words are then used as the knowledge information to be reviewed, from which the user can choose 6 knowledge points to be assessed.
[0087] When users answer questions about the generated knowledge to be reviewed, they can select 6 knowledge points that they have learned and are to be assessed, and perform 6 press operations to obtain the answer information and the decryption pressure sequence.
[0088] It should be noted that the knowledge information to be reviewed can be in the form of exercises or in the form of selected knowledge points to be assessed. This can be set by the user or randomly selected. This embodiment of the invention does not make specific limitations on this.
[0089] The decryption method provided in this invention generates review information by selecting exercises or knowledge points to be assessed. In this process, the length of the preset pressure sequence is taken into account, thereby effectively combining knowledge points and pressure, realizing edutainment based on the learning machine and ensuring the quality of learning.
[0090] Based on any of the above embodiments Figure 3 This is a flowchart illustrating step 140 of the decryption method provided by the present invention, as shown below. Figure 3 As shown, step 140 specifically includes:
[0091] Step 141: Determine the pressure decryption result based on the decrypted pressure sequence and the preset pressure sequence;
[0092] Step 142: Based on the preset answers to the solution information and the knowledge to be reviewed, determine the knowledge decryption result;
[0093] Step 143: Decrypt the object to be decrypted based on the pressure decryption result and the knowledge decryption result.
[0094] Specifically, after obtaining the decryption pressure sequence and solution information, the object to be decrypted can be decrypted using the pressure decryption result and the knowledge decryption result.
[0095] The pressure decryption result is determined based on the decrypted pressure sequence and the preset pressure sequence. The decrypted pressure sequence and the preset pressure sequence can be matched. If the decrypted pressure sequence and the preset pressure sequence match successfully, that is, the decrypted pressure sequence and the preset pressure sequence are consistent, the pressure decryption result can be considered correct. If the decrypted pressure sequence and the preset pressure sequence do not match successfully, that is, the decrypted pressure sequence and the preset pressure sequence are inconsistent, the pressure decryption result can be considered incorrect.
[0096] It should be noted that the consistency between the decrypted pressure sequence and the preset pressure sequence here means that the sequence values and order representing the pressure values in the sequence are the same.
[0097] The knowledge decryption result is determined based on the preset answers to the solution information and the knowledge information to be reviewed. The solution information can be matched with the preset answers to the knowledge information to be reviewed. When the matching degree between the solution information and the preset answers to the knowledge information to be reviewed is greater than or equal to a preset threshold, the knowledge decryption result can be considered correct; when the matching degree between the solution information and the preset answers to the knowledge information to be reviewed is less than the preset threshold, the knowledge decryption result can be considered incorrect.
[0098] For example, if there are 6 knowledge points to be tested in the knowledge information to be reviewed, and the answer information is obtained based on the user's pressing operation, then the answer information is matched with the preset answer. If the user selects 5 correct options, the matching degree is 5 / 6, or 83.3%, which is greater than the preset threshold of 70%, and the knowledge decryption result can be considered correct. If the user selects 3 correct options, the matching degree is 3 / 6, or 50%, which is less than the preset threshold of 70%, and the knowledge decryption result can be considered incorrect.
[0099] It should be noted that steps 141 and 142 can be executed simultaneously or sequentially, and the execution order is not limited.
[0100] Once the pressure decryption result and the knowledge decryption result are obtained, the object to be decrypted can be decrypted. Only if both the pressure decryption result and the knowledge decryption result are correct is the user's decryption confirmed as successful, and the corresponding entertainment application, screen unlock, or file unlock will be initiated. If either the pressure decryption result or the knowledge decryption result is incorrect, the user's decryption is confirmed as unsuccessful. In other words, if either the pressure decryption result or the knowledge decryption result is incorrect, the user's decryption is confirmed as unsuccessful.
[0101] The method provided in this invention decrypts the object to be decrypted based on the pressure decryption result and the knowledge decryption result, further improving the flexibility of the learning machine application and reducing the monitoring burden on parents.
[0102] Based on any of the above embodiments, step 142 specifically includes:
[0103] If the pressure decryption result is correct, the knowledge decryption result is determined based on the preset answer and the information to be reviewed.
[0104] Specifically, considering that the decryption pressure sequence and the preset pressure sequence must be consistent for decryption to be successful, the priority of the pressure decryption result can be further set to be higher than that of the knowledge decryption result. That is, based on obtaining the decryption pressure sequence and the solution information, step 141 is executed first to obtain the pressure decryption result. Only if the pressure decryption result is correct is step 142 executed to determine the knowledge decryption result.
[0105] Understandably, if the pressure decryption result is incorrect, there is no need to determine the knowledge decryption result; the user's decryption failure can be directly confirmed based on the pressure decryption result.
[0106] The decryption method provided in this embodiment of the invention sets the priority of pressure decryption results higher than that of knowledge decryption results. Only when the pressure decryption result is correct is the knowledge decryption result determined, thus avoiding unnecessary consumption of computing resources and further improving decryption efficiency.
[0107] Based on any of the above embodiments Figure 4 This is a flowchart illustrating step 130 of the decryption method provided by the present invention, as follows: Figure 4 As shown, step 130 specifically includes:
[0108] Step 131: Based on the preset pressure threshold and the pressure value corresponding to the pressing operation, determine the pressure level corresponding to the pressing operation. The threshold is determined based on the pressure value of the user's specified pressing operation under different pressure levels.
[0109] Step 132: Determine the decryption pressure sequence based on the pressure level corresponding to the pressing operation.
[0110] Specifically, the decryption pressure sequence can be determined based on the pressure level corresponding to the user's pressing operation. The pressure level can be divided into light pressure and heavy pressure. The pressure sensing device detects the pressure value corresponding to the pressing operation. If the pressure value is less than a preset pressure threshold, the pressure level can be determined as light pressure; if the pressure value is greater than or equal to the preset pressure threshold, the pressure level can be determined as heavy pressure. Furthermore, symbols can be set for light pressure and heavy pressure, for example, light pressure can be represented as 0 and heavy pressure as 1. The decryption pressure sequence can then be determined based on the pressure level; for example, the decryption pressure sequence could be represented as 01001.
[0111] The threshold here is determined based on the pressure values of the user's specified pressing operations at different pressure levels. Users can apply heavy or light pressure according to system prompts; for example, if the system prompts "Please press hard," the user applies heavy pressure; if the system prompts "Please press lightly," the user applies light pressure. After collecting pressure values from multiple heavy and light presses, the system can determine a preset pressure threshold that can distinguish between the user's heavy and light pressure operations, thus enabling personalized settings of the preset pressure threshold.
[0112] The method provided in this embodiment of the invention allows for personalized settings of the pressure threshold, thereby determining the decryption pressure sequence, improving the flexibility of user operation and avoiding operational inconvenience.
[0113] Based on any of the above embodiments, an encryption / decryption method is provided, including:
[0114] S1, User sets a preset pressure sequence.
[0115] The preset pressure sequence is obtained by the user pressing the screen multiple times. The pressure threshold is determined based on the pressure value of the user's specified press operation at different pressure levels. The press operation is divided into light pressure and heavy pressure. Assuming light pressure is represented by 0 and heavy pressure by 1, the pressure code sequence can be represented as 01001, or 111100, etc. The length N of the preset pressure sequence represents the number of times the user presses the screen.
[0116] S2, based on historical learning information, obtain the knowledge points to be assessed, the number of which is the same as the length of the preset pressure sequence.
[0117] After each user completes a course using the learning machine, the knowledge points of the course that the user has learned can be collected, and N knowledge points to be assessed can be obtained from them.
[0118] S3. Based on the knowledge points to be assessed, generate the knowledge information to be reviewed, i.e., generate the password.
[0119] S3 includes the following two cases:
[0120] S31, generate a corresponding number of exercises based on the knowledge points to be assessed, and determine the exercises as the knowledge information to be reviewed, and use the options of the exercises as options in the knowledge information to be reviewed; or,
[0121] S32, select the knowledge points to be assessed and at least one unlearned knowledge point as options to construct the knowledge information to be reviewed. The choice between these two options can be set by the user or randomly selected.
[0122] S4 displays information about the knowledge to be reviewed.
[0123] When the screen is locked, if the learning machine detects that the user clicks on the entertainment application icon, it can display the decryption interface of the application based on the application's password, that is, display the knowledge information to be reviewed.
[0124] S5, in response to the user's pressing operation on the option in the knowledge information to be reviewed, determines the user's answer information, and based on the answer information and the preset answer of the knowledge information to be reviewed, determines the knowledge decryption result. Corresponding to S3, S5 includes the following two cases:
[0125] S51, the knowledge to be reviewed includes N exercises. The user needs to answer the exercises one by one in order. The specific way to answer is to press the options of the exercise and select the correct answer; or,
[0126] S52, the knowledge information to be reviewed includes N knowledge points to be assessed and at least one knowledge point that has not been learned. The user needs to select the knowledge point that he or she has learned, i.e. the knowledge point to be assessed, from the middle.
[0127] The learning machine obtains the user's answer information and can determine whether each selected option is correct. If the number of correct selections is X, and the ratio of X to N is greater than a preset ratio, then the knowledge decryption result can be determined to be correct.
[0128] S6. Based on the pressure value corresponding to the pressing operation, determine the decryption pressure sequence. Based on the decryption pressure sequence and the preset pressure sequence, determine the pressure decryption result. If the decryption pressure sequence and the preset pressure sequence are consistent, the pressure decryption result is determined to be correct.
[0129] S7. Based on the pressure decryption result and the knowledge decryption result, decryption is performed. If both the pressure decryption result and the knowledge decryption result are correct, the user is confirmed to have successfully decrypted, and the corresponding entertainment application is launched or the screen is unlocked.
[0130] The decryption device provided by the present invention is described below. The decryption device described below can be referred to in correspondence with the decryption method described above.
[0131] Based on any of the above embodiments Figure 5 This is a schematic diagram of the decryption device provided by the present invention, as shown below. Figure 5 As shown, the decryption device 500 includes:
[0132] The knowledge information display unit 510 is used to display knowledge information to be reviewed, which is generated based on a preset pressure sequence and historical learning information.
[0133] The answer information determination unit 520 is used to determine the user's answer information in response to the user's pressing operation on the option in the knowledge information to be reviewed;
[0134] The pressure sequence determination unit 530 is used to determine the decryption pressure sequence based on the pressure value corresponding to the pressing operation;
[0135] The decryption unit 540 is used to decrypt the object to be decrypted based on the answer information and the decryption pressure sequence. The object to be decrypted is an object encrypted based on the preset pressure sequence and the preset answer of the knowledge information to be reviewed.
[0136] The decryption device provided in this invention displays knowledge information to be reviewed. Based on the user's pressing actions on the options within this information, it determines the user's answer information and decryption pressure sequence. Then, based on the answer information and the decryption pressure sequence, it decrypts the object to be decrypted. Encryption is performed based on a preset pressure sequence and a preset answer to the knowledge information to be reviewed. The user only needs to perform a pressing action when answering the questions in the knowledge information to achieve a dual encryption and decryption approach combining the pressure sequence and the knowledge information to be reviewed. This dual encryption operation is simple and engaging, improving encryption and decryption security while avoiding complex operations and enhancing the user experience.
[0137] Furthermore, the combination of pressure and knowledge in the learning machine makes learning fun and educational, ensuring the quality of learning, improving the flexibility of the machine's use, and reducing the monitoring burden on parents.
[0138] Based on any of the above embodiments, the decryption device further includes a knowledge information determination unit, the knowledge information determination unit being used for:
[0139] Based on the historical learning information, knowledge points to be assessed are obtained, and the number of knowledge points to be assessed is the same as the length of the preset pressure sequence.
[0140] Based on the knowledge points to be assessed, the knowledge information to be reviewed is generated.
[0141] Based on any of the above embodiments, the knowledge information determination unit is further configured to:
[0142] Based on the knowledge points to be assessed, a corresponding number of exercises are generated, and these exercises are identified as the knowledge information to be reviewed. The options from these exercises are used as options within the knowledge information to be reviewed; or,
[0143] The knowledge points to be assessed and at least one unlearned knowledge point are selected as options to construct the knowledge information to be reviewed.
[0144] Based on any of the above embodiments, the decryption unit 540 is further configured to:
[0145] Based on the decryption pressure sequence and the preset pressure sequence, the pressure decryption result is determined;
[0146] Based on the solution information and the preset answers to the knowledge information to be reviewed, the knowledge decryption result is determined;
[0147] Based on the pressure decryption result and the knowledge decryption result, the object to be decrypted is decrypted.
[0148] Based on any of the above embodiments, the decryption unit 540 is further configured to:
[0149] If the pressure decryption result is correct, the knowledge decryption result is determined based on the solution information and the preset answer to the knowledge information to be reviewed.
[0150] Based on any of the above embodiments, the pressure sequence determination unit 530 is further configured to:
[0151] Based on a preset pressure threshold and the pressure value corresponding to the pressing operation, the pressure level corresponding to the pressing operation is determined, and the threshold is determined based on the pressure value of the user's specified pressing operation under different pressure levels.
[0152] Based on the pressure level corresponding to the pressing operation, the decryption pressure sequence is determined.
[0153] Based on any of the above embodiments Figure 6 This is a schematic diagram of the learning machine provided by the present invention, as shown below. Figure 6 As shown, the learning machine includes: a learning machine body 610, a decryption device 500, and a pressure sensor 620 connected to the decryption device and disposed under the screen of the learning machine;
[0154] The pressure sensor is used to collect the pressure value corresponding to the user's pressing operation.
[0155] Figure 7 An example is a schematic diagram of the physical structure of an electronic device, such as... Figure 7 As shown, the electronic device may include a processor 710, a communications interface 720, a memory 730, and a communication bus 740, wherein the processor 710, the communications interface 720, and the memory 730 communicate with each other via the communication bus 740. The processor 710 can call logical instructions in the memory 730 to execute a decryption method, which includes: displaying knowledge information to be reviewed, the knowledge information to be reviewed being generated based on a preset pressure sequence and historical learning information;
[0156] In response to the user's pressing operation on the option in the knowledge information to be reviewed, the user's answer information is determined;
[0157] Based on the pressure value corresponding to the pressing operation, the decryption pressure sequence is determined;
[0158] Based on the answer information and the decryption pressure sequence, the object to be decrypted is decrypted. The object to be decrypted is an object encrypted based on the preset pressure sequence and the preset answer of the knowledge information to be reviewed.
[0159] Furthermore, the logical instructions in the aforementioned memory 730 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, essentially, or the part that contributes to the prior art, or a 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.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. 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.
[0160] On the other hand, the present invention also provides a computer program product, the computer program product including a computer program, the computer program being able to be stored on a non-transitory computer-readable storage medium, the computer program being executed by a processor, the computer being able to execute the decryption method provided by the above methods, the method including: displaying knowledge information to be reviewed, the knowledge information to be reviewed being generated based on a preset pressure sequence and historical learning information;
[0161] In response to the user's pressing operation on the option in the knowledge information to be reviewed, the user's answer information is determined;
[0162] Based on the pressure value corresponding to the pressing operation, the decryption pressure sequence is determined;
[0163] Based on the answer information and the decryption pressure sequence, the object to be decrypted is decrypted. The object to be decrypted is an object encrypted based on the preset pressure sequence and the preset answer of the knowledge information to be reviewed.
[0164] In another aspect, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to perform the decryption methods provided by the above methods, the method comprising: displaying knowledge information to be reviewed, the knowledge information to be reviewed being generated based on a preset pressure sequence and historical learning information;
[0165] In response to the user's pressing operation on the option in the knowledge information to be reviewed, the user's answer information is determined;
[0166] Based on the pressure value corresponding to the pressing operation, the decryption pressure sequence is determined;
[0167] Based on the answer information and the decryption pressure sequence, the object to be decrypted is decrypted. The object to be decrypted is an object encrypted based on the preset pressure sequence and the preset answer of the knowledge information to be reviewed.
[0168] The device embodiments described above are merely illustrative. 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 modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0169] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
[0170] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A decryption method, characterized in that, include: Displays knowledge information to be reviewed, which is generated based on a preset pressure sequence and historical learning information, and contains the same number of knowledge points to be assessed as the preset pressure sequence. In response to the user's pressing operation on the option in the knowledge information to be reviewed, the user's answer information is determined, and the number of pressing operations is the same as the length of the preset pressure sequence; Based on the pressure value corresponding to the pressing operation, the decryption pressure sequence is determined; Based on the answer information and the decryption pressure sequence, the object to be decrypted is decrypted. The object to be decrypted is an object encrypted based on the preset pressure sequence and the preset answer of the knowledge information to be reviewed.
2. The decryption method according to claim 1, characterized in that, The knowledge information to be reviewed was determined based on the following steps: Based on the historical learning information, knowledge points to be assessed are obtained, and the number of knowledge points to be assessed is the same as the length of the preset pressure sequence. Based on the knowledge points to be assessed, the knowledge information to be reviewed is generated.
3. The decryption method according to claim 2, characterized in that, The process of generating the knowledge information to be reviewed based on the knowledge points to be assessed includes: Based on the knowledge points to be assessed, a corresponding number of exercises are generated, and these exercises are identified as the knowledge information to be reviewed. The options from these exercises are used as options within the knowledge information to be reviewed; or, The knowledge points to be assessed and at least one unlearned knowledge point are selected as options to construct the knowledge information to be reviewed.
4. The decryption method according to claim 1, characterized in that, The process of decrypting the object to be decrypted based on the solution information and the decryption pressure sequence includes: Based on the decryption pressure sequence and the preset pressure sequence, the pressure decryption result is determined; Based on the solution information and the preset answers to the knowledge information to be reviewed, the knowledge decryption result is determined; Based on the pressure decryption result and the knowledge decryption result, the object to be decrypted is decrypted.
5. The decryption method according to claim 4, characterized in that, The process of determining the knowledge decryption result based on the preset answer, the answer information, and the knowledge information to be reviewed includes: If the pressure decryption result is correct, the knowledge decryption result is determined based on the solution information and the preset answer to the knowledge information to be reviewed.
6. The decryption method according to any one of claims 1-5, characterized in that, The step of determining the decryption pressure sequence based on the pressure value corresponding to the pressing operation includes: Based on a preset pressure threshold and the pressure value corresponding to the pressing operation, the pressure level corresponding to the pressing operation is determined, and the threshold is determined based on the pressure value of the user's specified pressing operation under different pressure levels. Based on the pressure level corresponding to the pressing operation, the decryption pressure sequence is determined.
7. A decryption device, characterized in that, include: The knowledge information display unit is used to display the knowledge information to be reviewed. The knowledge information to be reviewed is generated based on a preset pressure sequence and historical learning information, and contains the same number of knowledge points to be assessed as the preset pressure sequence. The answer information determination unit is used to determine the user's answer information in response to the user's pressing operation on the option in the knowledge information to be reviewed, wherein the number of pressing operations is the same as the length of the preset pressure sequence; The pressure sequence determination unit is used to determine the decryption pressure sequence based on the pressure value corresponding to the pressing operation; The decryption unit is used to decrypt the object to be decrypted based on the answer information and the decryption pressure sequence. The object to be decrypted is an object encrypted based on the preset pressure sequence and the preset answer of the knowledge information to be reviewed.
8. A learning machine, characterized in that, include: The learning machine body, the decryption device as described in claim 7, and a pressure sensor connected to the decryption device and disposed under the screen of the learning machine; The pressure sensor is used to collect the pressure value corresponding to the user's pressing operation.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the decryption method as described in any one of claims 1 to 6.
10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the decryption method as described in any one of claims 1 to 6.
Citation Information
Patent Citations
An encryption method, a decryption method and an electronic apparatus
CN106326703A
Mobile terminal screen learning type unlocking method and system, and mobile terminal
CN109002240A