Data encryption method, device, storage medium and processor

By obtaining the multi-dimensional information of the target object and converting it into physical motion parameters to generate a parabolic key, the user information is encrypted, and the problem of low user information security caused by key leakage in the prior art is solved, and a deeper level is achieved encryption and security.

CN114282239BActive Publication Date: 2024-12-27CHINA TELECOM CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111585259.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-22
Publication Date
2024-12-27
Estimated Expiration
2041-12-22

AI Technical Summary

Technical Problem

In the prior art, there is a key leakage in user information encryption, resulting in low security of user information.

Method used

By obtaining multi-dimensional information of the target object, determining digital features and converting them into preset physical motion motion parameters, and generating parabolic keys based on these parameters to encrypt the encrypted data to prevent leakage of encrypted data.

Benefits of technology

It realizes deeper encryption of user information using parabolic keys to prevent key leakage and improves the security of user information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114282239B_ABST
    Figure CN114282239B_ABST
Patent Text Reader

Abstract

The present application discloses a data encryption method, device, storage medium and processor. The method includes: obtaining multi-dimensional information of the data to be encrypted and the target object; determining the digital features used when encrypting the data to be encrypted based on the multi-dimensional information of the target object; converting the multi-dimensional information into motion parameters of a preset physical motion respectively; determining the target physical value corresponding to the motion parameter, and encrypting the data to be encrypted at least based on the target physical value. The present application solves the technical problem that the prior art encrypts user information due to key leakage, resulting in low security of user information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data encryption, and more specifically, to a data encryption method, device, storage medium and processor. Background Art

[0002] With the rapid development of information technology, the Internet is no longer a strange word. More and more people have joined the ranks of Internet users. The Internet is changing people's living space and lifestyle with its rapid, convenient and super-time and space transmission. At the same time, how to ensure the safe transmission of personal information on the Internet has become a top priority for Internet practitioners.

[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0004] The embodiments of the present application provide a data encryption method, device, storage medium and processor to at least solve the technical problem that the prior art encrypts user information and causes key leakage, resulting in low security of user information.

[0005] According to one aspect of an embodiment of the present application, a data encryption method is provided, including: obtaining multi-dimensional information of data to be encrypted and a target object; determining digital features used when encrypting the data to be encrypted based on the multi-dimensional information of the target object, wherein the data to be encrypted includes: password data set by the target object; converting the multi-dimensional information into motion parameters of a preset physical motion respectively; determining target physical values ​​corresponding to the motion parameters, wherein the target physical values ​​are used to indicate the displacement of the preset physical motion in various directions; and encrypting the data to be encrypted based at least on the target physical values.

[0006] Optionally, data to be encrypted is obtained, and digital features to be used when encrypting the data to be encrypted are determined based on multi-dimensional information of the target object, including: obtaining digital content and non-digital content of the multi-dimensional information; determining the digital content as a first digital feature; and converting the non-digital content to obtain a second digital feature.

[0007] Optionally, the multi-dimensional information is converted into motion parameters of a preset physical motion, including: determining the name of the target object in the multi-dimensional information; converting the name of the target object into a second digital feature, and determining the second digital feature as a constant parameter in the motion parameters; obtaining the age of the target object in the multi-dimensional information; obtaining a first variable parameter in the motion parameters based on the age of the target object; obtaining the time consumed by the target object to perform a verification operation in a verification interface before inputting data to be encrypted; and determining the consumed time as a second variable parameter in the motion parameters.

[0008] Optionally, determining the target physical value corresponding to the motion parameter includes: obtaining a first displacement of the preset physical motion in the horizontal direction according to the first variable parameter and the second variable parameter; obtaining a second displacement of the preset physical motion in the vertical direction according to the constant parameter and the second variable parameter; and obtaining a combined displacement according to the first displacement and the second displacement.

[0009] Optionally, the data to be encrypted is encrypted at least based on the target physical value, including: obtaining a randomly generated character string; concatenating the first displacement, the second displacement, the combined displacement and the character string to obtain an encryption key; and encrypting the data to be encrypted based on the encryption key.

[0010] Optionally, obtaining the randomly generated character string includes: arranging and combining the constant parameter, the first variable parameter, and the second variable parameter to obtain multiple arrays; and randomly selecting one array from the multiple arrays, and determining the array as the character string.

[0011] Encrypting data to be encrypted based on a key includes: obtaining a first data length of the data to be encrypted, the first data length is used to indicate the number of bytes occupied by the data to be encrypted; obtaining a second data length of the key, performing a modulo operation on the second data length based on the first data length to obtain a first remainder value, the second data length is used to indicate the number of bytes occupied by the key; determining an insertion position of the key in the data to be encrypted based on the first remainder value; and inserting the key into the insertion position to encrypt the data to be encrypted.

[0012] Determining the insertion position of the key in the data to be encrypted according to the first remainder value includes: when the first remainder value is less than the first data length, determining the first remainder value as the insertion position of the key in the data to be encrypted; when the first remainder value is greater than the first data length, performing a remainder operation on the first remainder value based on the first data length to obtain a second remainder value, and determining the second remainder value as the insertion position of the key in the data to be encrypted.

[0013] According to another aspect of an embodiment of the present application, a data encryption device is also provided, including: an acquisition module, used to acquire multi-dimensional information of the data to be encrypted and the target object; a first determination module, used to determine the digital features used when encrypting the data to be encrypted based on the multi-dimensional information of the target object, the data to be encrypted including: password data set by the target object; a conversion module, used to convert the multi-dimensional information into motion parameters of a preset physical motion; a second determination module, used to determine the target physical values ​​corresponding to the motion parameters, the target physical values ​​being used to indicate the displacement of the preset physical motion in various directions; an encryption module, used to encrypt the data to be encrypted based at least on the target physical values.

[0014] According to another aspect of an embodiment of the present application, a non-volatile storage medium is further provided. The non-volatile storage medium includes a stored program, and when the program is running, the device where the non-volatile storage medium is located is controlled to execute the above-mentioned data encryption method.

[0015] According to another aspect of an embodiment of the present application, a processor is further provided, characterized in that the processor is used to run a program, and the above-mentioned data encryption method is executed when the program is running.

[0016] In an embodiment of the present application, a method is adopted to determine the digital features used when encrypting the information to be encrypted based on multi-dimensional information of the information to be encrypted and the target object, and then the multi-dimensional information is converted into motion parameters of preset physical motions, and the target physical values ​​are determined based on the motion parameters. Finally, the encrypted data is encrypted based on the target physical values. By using irreversible encryption operations with parabolic keys, the purpose of preventing leakage of encrypted data is achieved, thereby achieving the technical effect of using parabolic keys to encrypt user information at a deeper level, and further solving the technical problem that the existing technology of encrypting user information may result in key leakage, resulting in low security of user information. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0018] Figure 1 is a hardware structure block diagram of a computer terminal for implementing a data encryption method according to an embodiment of the present application;

[0019] Figure 2 is a schematic diagram of a data encryption method according to an embodiment of the present application;

[0020] Figure 3 It is a schematic diagram of a data encryption device according to an embodiment of the present application. DETAILED DESCRIPTION

[0021] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0022] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0023] According to an embodiment of the present application, an embodiment of a data encryption method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0024] The data encryption method provided in the embodiment of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Figure 1 The hardware structure block diagram of a computer terminal (or mobile device) for implementing a data encryption method is shown. Figure 1 As shown, the computer terminal 10 (or mobile device 10) may include one or more (102a, 102b, ..., 102n are used to illustrate) processors 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 104 for storing data, and a transmission module 106 for communication functions. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the I / O interface), a network interface, a power supply and / or a camera. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.

[0025] It should be noted that the one or more processors 102 and / or other data processing circuits described above may generally be referred to herein as "data processing circuits". The data processing circuits may be embodied in whole or in part as software, hardware, firmware, or any other combination thereof. In addition, the data processing circuit may be a single independent processing module, or may be incorporated in whole or in part into any of the other components in the computer terminal 10 (or mobile device). As described in the embodiments of the present application, the data processing circuit acts as a processor control (e.g., selection of a variable resistor terminal path connected to an interface).

[0026] The memory 104 can be used to store software programs and modules of application software, such as program instructions / data storage devices corresponding to the data encryption method in the embodiment of the present application. The processor 102 executes various functional applications and data processing by running the software programs and modules stored in the memory 104, that is, the above-mentioned data encryption method is realized. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the computer terminal 10 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0027] The transmission module 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the computer terminal 10. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0028] The display may be, for example, a touch screen liquid crystal display (LCD) that enables a user to interact with a user interface of the computer terminal 10 (or mobile device).

[0029] It should be noted that, in some optional embodiments, the above Figure 1 The computer device (or mobile device) shown may include hardware elements (including circuits), software elements (including computer code stored on a computer-readable medium), or a combination of hardware elements and software elements. It should be noted that Figure 1This is merely one example of a particular embodiment and is intended to illustrate the types of components that may be present in the above-described computer device (or mobile device).

[0030] Under the above operating environment, the embodiment of the present application provides the following Figure 2 The data encryption method shown.

[0031] Figure 2 is a flow chart of a data encryption method according to an embodiment of the present application, such as Figure 2 As shown, the method comprises the following steps:

[0032] Step S202, obtaining the data to be encrypted and the multi-dimensional information of the target object;

[0033] Step S204, determining the digital features used when encrypting the data to be encrypted based on the multi-dimensional information of the target object, where the data to be encrypted includes: password data set by the target object;

[0034] Step S206, converting the multi-dimensional information into motion parameters of a preset physical motion respectively;

[0035] Step S208, determining a target physical value corresponding to the motion parameter, the target physical value being used to indicate the displacement of the preset physical motion in each direction;

[0036] Step S210, encrypting the data to be encrypted based at least on the target physical value.

[0037] By obtaining the information to be encrypted and the multi-dimensional information of the target object, the digital features used to encrypt the information to be encrypted are determined, and then the multi-dimensional information is converted into motion parameters of preset physical motions, and the target physical values ​​are determined based on the motion parameters. Finally, the encrypted data is encrypted based on the target physical values, thereby achieving the purpose of preventing the leakage of encrypted data, thereby realizing the technical effect of using parabolic keys to encrypt user information at a deeper level, and further solving the technical problem that the existing technology of encrypting user information may leak keys, resulting in low security of user information.

[0038] Optionally, in step S202, the data to be encrypted and the multi-dimensional information of the target object can be obtained in the following manner. In some embodiments of the present application, the data to be encrypted and the multi-dimensional information of the target object are actively selected by the target object, or are determined by the encryption system. For example: when the encryption system detects that the target object is suspected of inputting personal information, the data to be encrypted and the multi-dimensional information of the target object are obtained, and the data to be encrypted includes at least: account data, password data, and personal asset data in the account, and the multi-dimensional information of the target object includes at least: Internet Protocol address information of the target object's remote device, type information of the remote device, name and age of the target object and other information.

[0039] Optionally, in step S204, the digital feature used when encrypting the data to be encrypted may be determined based on the multi-dimensional information of the target object in the following manner, where the data to be encrypted includes: password data set by the target object. Specifically, the digital content and non-digital content of the multi-dimensional information are obtained; the digital content is determined to be the first digital feature; and the non-digital content is converted to obtain the second digital feature.

[0040] In some optional embodiments of the present application, the digital content and non-digital content in the multi-dimensional information of the target object are judged, such as judging that the Internet Protocol address information of the remote device of the target object is digital content, and judging that the type information of the remote device and the name of the target object are non-digital content; determining that the Internet Protocol address information is the first digital feature, and converting the type information of the remote device and the name of the target object into the second digital feature.

[0041] Optionally, in step S206, the multi-dimensional information can be converted into motion parameters of a preset physical motion respectively through the following specific steps. Specifically, determine the name of the target object in the multi-dimensional information; convert the name of the target object into a second digital feature, and determine the second digital feature as a constant parameter in the motion parameter; obtain the age of the target object in the multi-dimensional information; obtain the first variable parameter in the motion parameter according to the age of the target object; obtain the time consumed by the target object to perform a verification operation in the verification interface before inputting the data to be encrypted; and determine the consumed time as the second variable parameter in the motion parameter.

[0042] In some embodiments of the present application, the name of the target object can be converted into a second digital feature as the gravitational acceleration g, that is, the constant parameter in the horizontal motion; the age of the target object can be converted into a second digital feature as the initial velocity v0 in the horizontal direction of the horizontal motion, that is, the first variable parameter in the horizontal motion; the time consumed by the target object in performing the verification operation in the verification interface before inputting the data to be encrypted can be converted into a second digital feature as the time t of the horizontal motion, that is, the second variable parameter in the horizontal motion.

[0043] Optionally, in step S208, the target physical value corresponding to the motion parameter is determined in the following manner: Specifically, a first displacement of the preset physical motion in the horizontal direction is obtained according to the first variable parameter and the second variable parameter; a second displacement of the preset physical motion in the vertical direction is obtained according to the constant parameter and the second variable parameter; and a combined displacement is obtained according to the first displacement and the second displacement.

[0044] Based on the relevant formula of horizontal motion, the first displacement of the preset physical motion in the horizontal direction obtained according to the first variable parameter v0 and the second variable parameter t is determined: s = v0 × t (that is, the horizontal direction is a uniform linear motion with an initial velocity of v0); the second displacement of the preset physical motion in the vertical direction obtained according to the constant parameter g and the second variable parameter t is determined: h = (1 / 2)gt 2 (i.e., the vertical direction is free fall motion); the vector of the first displacement is combined with the vector of the second displacement to obtain the vector of the combined displacement, and then the combined displacement is determined. It is easy to understand that the first displacement s, the second displacement h, and the combined displacement can be used as the horizontal projection motion key generated based on the horizontal projection motion.

[0045] Optionally, in step S210, the data to be encrypted is encrypted at least based on the target physical value in the following manner: Specifically, a randomly generated string is obtained; the first displacement, the second displacement, the combined displacement and the string are concatenated to obtain an encryption key; and the data to be encrypted is encrypted based on the encryption key.

[0046] Optionally, obtaining a randomly generated string includes: arranging and combining the constant parameter, the first variable parameter, and the second variable parameter to obtain multiple arrays; and randomly selecting an array from the multiple arrays, and determining the array as the string. For example, the constant parameter g, the first variable parameter v0, and the second variable parameter t are arranged and combined to obtain multiple arrays, such as array [1] = {g, v0}, array [2] = {g, t}, array [3] = {v0, t}, and one of the arrays is randomly selected as the string.

[0047] In some embodiments of the present application, the first shift s, the second shift h, the combined shift and the character string may be concatenated to obtain an encryption key.

[0048] Optionally, the encryption of the data to be encrypted based on the key is achieved by the following steps: obtaining the first data length of the data to be encrypted, the first data length is used to indicate the number of bytes occupied by the data to be encrypted; obtaining the second data length of the key, performing a modulus operation on the second data length based on the first data length to obtain a first remainder value, the second data length is used to indicate the number of bytes occupied by the key; determining the insertion position of the key in the data to be encrypted according to the first remainder value; inserting the key into the insertion position to encrypt the data to be encrypted. Specifically, the insertion position of the key in the data to be encrypted is determined according to the first remainder value in the following manner: when the first remainder value is less than the first data length, the first remainder value is determined as the insertion position of the key in the data to be encrypted; when the first remainder value is greater than the first data length, the first remainder value is performed on the first remainder value based on the first data length to obtain a second remainder value, and the second remainder value is determined as the insertion position of the key in the data to be encrypted.

[0049] In some optional embodiments of the present application, the encrypted data may be encrypted in the following manner: obtain the first data length of the encrypted data, such as the first data length of the user password "165943xfy2" is 100 bits, the number of intervals of the first data length is 11, wherein the left side of "1" is the starting interval of the first data length, the interval between "1" and "6" is the first interval of the first data length, and so on, the interval between "y" and "2" is the ninth interval of the first data length, and the right side of "2" is the tenth interval of the first data length; obtain the second data length of the key, For example, the second data length of the key formed by the first shift s, the second shift h, the total shift, and the array [1] is 12 bits; based on the first data length, the second data length is modulo operation to obtain a first remainder value 4; based on the first remainder value 4 being less than the number of intervals 11 in the first data length, the fourth interval position in the first data length corresponding to the first remainder value 4 is determined as the insertion position of the key in the data to be encrypted, and the key formed by the first shift s, the second shift h, the total shift, and the array [1] is inserted into the fourth interval position of the first data length to encrypt the data to be encrypted.

[0050] In some embodiments of the present application, if the user password is "1659", the first data length is 66 bits, and the number of intervals in the first data length is 5; when the second data length of the key formed by the first displacement s, the second displacement h, the combined displacement, and the array [1] is 12 bits, a modulo operation is performed on the second data length based on the first data length to obtain a first remainder value of 6, and the first remainder value 6 is greater than the number of intervals in the first data length of 5; when the first remainder value is greater than the first data length, a modulo operation is performed on the first remainder value based on the first data length to obtain a second remainder value of 0, and the second remainder value 0 is less than the number of intervals in the first data length of 5; based on the second remainder value 0, the starting interval position in the first data length corresponding to the second remainder value 0 is determined as the insertion position of the key in the data to be encrypted, and the key formed by the first displacement s, the second displacement h, the combined displacement, and the array [1] is inserted into the starting interval position of the first data length to encrypt the data to be encrypted.

[0051] When the first remainder value is greater than the first data length, a remainder operation is performed on the first remainder value based on the first data length to obtain a second remainder value, and the second remainder value is determined as the insertion position of the key in the data to be encrypted.

[0052] Figure 3 is a data encryption device according to an embodiment of the present application, such as Figure 3 As shown, the device includes the following modules:

[0053] An acquisition module 40 is used to acquire the data to be encrypted and the multi-dimensional information of the target object;

[0054] A first determination module 42 is used to determine the digital features used when encrypting the data to be encrypted based on the multi-dimensional information of the target object, where the data to be encrypted includes: password data set by the target object;

[0055] A conversion module 44, used to convert the multi-dimensional information into motion parameters of a preset physical motion;

[0056] A second determination module 46, used to determine a target physical value corresponding to the motion parameter, the target physical value being used to indicate the displacement of the preset physical motion in each direction;

[0057] The encryption module 48 is configured to encrypt the data to be encrypted based at least on the target physical value.

[0058] In the data encryption device, an acquisition module 40 is used to acquire multi-dimensional information of the data to be encrypted and the target object; a first determination module 42 is used to determine the digital features used when encrypting the data to be encrypted based on the multi-dimensional information of the target object, and the data to be encrypted includes: password data set by the target object; a conversion module 44 is used to convert the multi-dimensional information into motion parameters of a preset physical motion; a second determination module 46 is used to determine the target physical value corresponding to the motion parameter, and the target physical value is used to indicate the displacement of the preset physical motion in various directions; an encryption module 48 is used to encrypt the data to be encrypted based on at least the target physical value, thereby achieving the purpose of preventing the leakage of encrypted data, thereby realizing the technical effect of using a parabolic key to encrypt user information at a deeper level, and further solving the technical problem that the existing technology for encrypting user information has key leakage, resulting in low security of user information.

[0059] In the data encryption module, the first determination module includes: a first acquisition unit, used to acquire digital content and non-digital content of multi-dimensional information; a first determination unit, used to determine that the digital content is a first digital feature; and a conversion unit, used to convert the non-digital content to obtain a second digital feature.

[0060] In some embodiments of the present application, the conversion module includes: a second determination unit, used to determine the name of the target object in the multi-dimensional information; a third determination unit, used to convert the name of the target object into a second digital feature, and determine the second digital feature as a constant parameter in the motion parameter; a second acquisition unit, used to obtain the age of the target object in the multi-dimensional information; an obtaining unit, used to obtain the first variable parameter in the motion parameter according to the age of the target object; a verification unit, used to obtain the time consumed by the target object to perform a verification operation in the verification interface before inputting the data to be encrypted; and a fourth determination unit, used to determine the consumed time as the second variable parameter in the motion parameter.

[0061] According to another aspect of an embodiment of the present application, a non-volatile storage medium is further provided. The non-volatile storage medium includes a stored program, and when the program is running, the device where the non-volatile storage medium is located is controlled to execute the above-mentioned data encryption method.

[0062] Specifically, the above-mentioned storage medium is used to store program instructions for executing the following functions to realize the following functions: obtaining multi-dimensional information of the data to be encrypted and the target object; determining the digital features used when encrypting the data to be encrypted based on the multi-dimensional information of the target object, and the data to be encrypted includes: password data set by the target object; converting the multi-dimensional information into motion parameters of preset physical motions; determining the target physical values ​​corresponding to the motion parameters, and the target physical values ​​are used to indicate the displacement of the preset physical motion in various directions; and encrypting the data to be encrypted at least based on the target physical values.

[0063] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0064] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.

[0065] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0066] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0067] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0068] If the integrated unit is implemented in the form of 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 the present 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, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.

[0069] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A data encryption method, characterized in that: include: Obtain the data to be encrypted and the multi-dimensional information of the target object; Determine, based on the multi-dimensional information of the target object, a digital feature used when encrypting the data to be encrypted, wherein the data to be encrypted includes: password data set by the target object; Convert the multi-dimensional information into motion parameters of preset physical motions respectively; Determining a target physical value corresponding to the motion parameter, wherein the target physical value is used to indicate the displacement of the preset physical motion in each direction; encrypting the data to be encrypted based at least on the target physical value; Wherein, determining the digital feature used when encrypting the data to be encrypted based on the multi-dimensional information of the target object includes: obtaining the digital content and non-digital content of the multi-dimensional information; determining that the digital content is a first digital feature; converting the non-digital content to obtain a second digital feature; The method of converting the multi-dimensional information into motion parameters of a preset physical motion includes: determining the name of the target object in the multi-dimensional information; converting the name of the target object into the second digital feature, and determining the second digital feature as a constant parameter in the motion parameter; obtaining the age of the target object in the multi-dimensional information; obtaining the first variable parameter in the motion parameter according to the age of the target object; obtaining the time consumed by the target object for performing a verification operation on a verification interface before inputting data to be encrypted; and determining the consumed time as a second variable parameter in the motion parameter; Wherein, determining the target physical value corresponding to the motion parameter includes: obtaining a first displacement of the preset physical motion in the horizontal direction according to the first variable parameter and the second variable parameter; obtaining a second displacement of the preset physical motion in the vertical direction according to the constant parameter and the second variable parameter; and obtaining a combined displacement according to the first displacement and the second displacement; Among them, encrypting the data to be encrypted based on at least the target physical value includes: obtaining a randomly generated character string; concatenating the first displacement, the second displacement, the combined displacement and the character string to obtain an encryption key; and encrypting the data to be encrypted based on the encryption key.

2. The method according to claim 1, characterized in that Get a randomly generated string consisting of: Arrange and combine the constant parameter, the first variable parameter and the second variable parameter to obtain multiple arrays; A group of arrays is randomly selected from the multiple groups of arrays, and the array is determined as the character string.

3. The method according to claim 1, characterized in that Encrypting the data to be encrypted based on the key includes: Acquire a first data length of the data to be encrypted, where the first data length is used to indicate the number of bytes occupied by the data to be encrypted; Acquire a second data length of the key, perform a modulo operation on the second data length based on the first data length to obtain a first modulo value, wherein the second data length is used to indicate the number of bytes occupied by the key; Determining, according to the first residual value, an insertion position of the key in the data to be encrypted; The key is inserted into the insertion position to encrypt the data to be encrypted.

4. The method according to claim 3, characterized in that Determining, according to the first residual value, the insertion position of the key in the data to be encrypted comprises: In the case where the first remainder value is smaller than the first data length, determining the first remainder value as the insertion position of the key in the data to be encrypted; When the first remainder value is greater than the first data length, a remainder operation is performed on the first remainder value based on the first data length to obtain a second remainder value, and the second remainder value is determined as the insertion position of the key in the data to be encrypted.

5. A data encryption device, characterized in that: include: An acquisition module is used to obtain the data to be encrypted and the multi-dimensional information of the target object; A first determination module is used to determine the digital features used when encrypting the data to be encrypted based on the multi-dimensional information of the target object, wherein the data to be encrypted includes: password data set by the target object; wherein determining the digital features used when encrypting the data to be encrypted based on the multi-dimensional information of the target object includes: obtaining digital content and non-digital content of the multi-dimensional information; determining that the digital content is a first digital feature; and converting the non-digital content to obtain a second digital feature; A conversion module, used to convert the multi-dimensional information into motion parameters of preset physical motions; wherein, converting the multi-dimensional information into motion parameters of preset physical motions includes: determining the name of the target object in the multi-dimensional information; converting the name of the target object into the second digital feature, and determining the second digital feature as a constant parameter in the motion parameters; obtaining the age of the target object in the multi-dimensional information; obtaining the first variable parameter in the motion parameters according to the age of the target object; obtaining the time consumed by the target object to perform a verification operation in a verification interface before inputting data to be encrypted; and determining the consumed time as a second variable parameter in the motion parameters; A second determination module is used to determine a target physical value corresponding to the motion parameter, wherein the target physical value is used to indicate the displacement of the preset physical motion in various directions; wherein determining the target physical value corresponding to the motion parameter includes: obtaining a first displacement of the preset physical motion in a horizontal direction according to the first variable parameter and the second variable parameter; obtaining a second displacement of the preset physical motion in a vertical direction according to the constant parameter and the second variable parameter; and obtaining a combined displacement according to the first displacement and the second displacement; An encryption module is used to encrypt the data to be encrypted based on at least the target physical value, wherein encrypting the data to be encrypted based on at least the target physical value includes: obtaining a randomly generated string; concatenating the first displacement, the second displacement, the combined displacement and the string to obtain an encryption key; and encrypting the data to be encrypted based on the encryption key.

6. A non-volatile storage medium, characterized in that: The non-volatile storage medium includes a stored program, and when the program is running, the device where the non-volatile storage medium is located is controlled to execute the data encryption method according to any one of claims 1 to 4.

7. A processor, characterized in that: The processor is used to run a program, and the program executes the data encryption method described in any one of claims 1 to 4 when running.