CN108763964B - Data processing method and device, readable storage medium and equipment - Google Patents

Data processing method and device, readable storage medium and equipment Download PDF

Info

Publication number
CN108763964B
CN108763964B CN201810300586.1A CN201810300586A CN108763964B CN 108763964 B CN108763964 B CN 108763964B CN 201810300586 A CN201810300586 A CN 201810300586A CN 108763964 B CN108763964 B CN 108763964B
Authority
CN
China
Prior art keywords
data
target data
updating
target
layer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810300586.1A
Other languages
Chinese (zh)
Other versions
CN108763964A (en
Inventor
赵敏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Haier Technology Co Ltd
Original Assignee
Qingdao Haier Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Haier Technology Co Ltd filed Critical Qingdao Haier Technology Co Ltd
Priority to CN201810300586.1A priority Critical patent/CN108763964B/en
Publication of CN108763964A publication Critical patent/CN108763964A/en
Application granted granted Critical
Publication of CN108763964B publication Critical patent/CN108763964B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Bioethics (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Telephone Function (AREA)
  • Storage Device Security (AREA)

Abstract

The invention discloses a data processing method, a data processing device, a readable storage medium and a device, wherein the method comprises the following steps: when the data updating operation is detected, determining target data which corresponds to the updating operation and is encrypted in advance in the pre-divided arithmetic layer data; updating the numerical value of the target data according to a set data updating standard; and decrypting the updated target data to obtain display layer data, and displaying the data by using the display layer data. Therefore, the technical problem that the application program data can be maliciously modified by using a memory modification tool in the prior art is solved, and the use experience of a user is improved.

Description

Data processing method and device, readable storage medium and equipment
Technical Field
The present invention relates to the field of computers, and in particular, to a method and an apparatus for data processing, a computer-readable storage medium, and a device.
Background
The smart phone is more and more important as a necessity in our modern life, and the mobile phone app with powerful functions and various shapes brings various conveniences to the life of people. The mobile phone app can be used for various activities such as online shopping, ordering, chatting, going out, tracing drama, watching novels and the like, and various information of users is stored in the mobile phone app.
However, some people are privately benefited, information (such as points and game blood volume) on the mobile phone app is observed, a third-party memory modification tool is used for analyzing to find out a corresponding memory address, and then the corresponding memory address is modified into data wanted by the user (such as the points are modified from 100 to 10000 and the blood volume is modified from 1000 to 10000), so that the cheating purpose is achieved, the fair and fair mobile internet environment is seriously damaged, and even serious economic loss is brought to a mobile phone app service provider.
At present, in the industry, the purpose of encrypting the app is achieved by reinforcing an app source file, but the method only can prevent a hacker from tampering the source code, and cannot detect and prevent cheating that the hacker modifies a certain numerical value (credit, game blood volume and the like) by using a strong memory modification tool.
Disclosure of Invention
The invention provides a data processing method, a data processing device, a computer readable storage medium and computer readable storage equipment, which are used for solving the technical problem that in the prior art, a memory modification tool is utilized to maliciously modify application program data.
According to an aspect of the present invention, there is provided a method of data processing, the method comprising:
when the data updating operation is detected, determining target data which corresponds to the updating operation and is encrypted in advance in the pre-divided arithmetic layer data;
updating the numerical value of the target data according to a set data updating standard;
and decrypting the updated target data to obtain display layer data, and displaying the data by using the display layer data.
Optionally, before the data update operation is detected, the method further includes:
and encrypting the data of the operation layer according to a preset encryption rule.
Optionally, the target data subjected to the encryption processing is: and (4) according to the set change amplitude, carrying out upward or downward adjustment on the numerical value of the original target data.
Optionally, decrypting the updated target data includes: adjusting the numerical value of the updated target data according to the change amplitude; wherein, the adjustment direction of the numerical value is opposite to the adjustment direction in encryption.
Optionally, after the value of the target data is updated, the method further includes:
and carrying out encryption processing on the updated target data again, and storing the target data encrypted again as the data of the arithmetic layer.
According to two aspects of the present invention, a data processing apparatus, the apparatus comprising:
the target data acquisition module is used for determining target data which corresponds to the updating operation and is encrypted in advance in the pre-divided arithmetic layer data when the data updating operation is detected;
the target data updating module is used for updating the numerical value of the target data according to a set data updating standard;
and the display layer data module is used for decrypting the updated target data to obtain display layer data and performing data display by using the display layer data.
Optionally, the apparatus further comprises:
and the operation layer data encryption module is used for encrypting the operation layer data according to a preset encryption rule before the data updating operation is detected.
Optionally, the target data subjected to the encryption processing is: and (4) according to the set change amplitude, carrying out upward or downward adjustment on the numerical value of the original target data.
Optionally, the presentation layer data module includes:
the decryption unit is used for adjusting the numerical value of the updated target data according to the change amplitude; wherein, the adjustment direction of the numerical value is opposite to the adjustment direction in encryption.
Optionally, the apparatus further comprises:
and the target data encryption module is also used for carrying out encryption processing on the updated target data again after the numerical value of the target data is updated, and storing the target data which is encrypted again as the data of the arithmetic layer.
In accordance with three aspects of the present invention, there is provided a computing device comprising: a processor, a memory, and a communication bus;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is used for executing the data processing program of the application program stored in the memory so as to realize the steps of the data processing method provided by the embodiment of the invention.
According to four aspects of the present invention, a computer-readable storage medium is provided, which stores a data processing program of an application program, and when the data processing program of the application program is executed by at least one processor, the steps of the data processing method provided by the embodiment of the present invention are implemented.
According to the data processing method, the data processing device, the computer readable storage medium and the data processing equipment, when the data updating operation is detected, target data which corresponds to the updating operation and is encrypted in advance is determined in the pre-divided arithmetic layer data; updating the numerical value of the target data according to a set data updating standard; and decrypting the updated target data to obtain display layer data, and displaying the data by using the display layer data. The technical problem that the application program data are maliciously modified by using a memory modification tool in the prior art is solved, and the use experience of a user is improved.
The foregoing description is only an overview of the technical solutions of the embodiments of the present invention, and the embodiments of the present invention can be implemented according to the content of the description in order to make the technical means of the embodiments of the present invention more clearly understood, and the detailed description of the embodiments of the present invention is provided below in order to make the foregoing and other objects, features, and advantages of the embodiments of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the embodiments of the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a flowchart of a data processing method according to a first embodiment of the present invention;
fig. 2 is a flowchart of a data processing method according to a second embodiment of the present invention;
fig. 3 is a flowchart of a data processing method according to a third embodiment of the present invention;
fig. 4 is a flowchart of a data processing method according to a fourth embodiment of the present invention;
fig. 5 is a functional block diagram of a data processing apparatus according to a fifth embodiment of the present invention;
fig. 6 is a functional block diagram of a data processing apparatus according to a sixth embodiment of the present invention;
fig. 7 is a functional block diagram of a data processing apparatus according to a seventh embodiment of the present invention;
fig. 8 is a functional block diagram of a data processing apparatus according to an eighth embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Fig. 1 is a flowchart of a data processing method according to a first embodiment of the present invention. In this embodiment, the data processing method includes the following steps:
step S101, when the data updating operation is detected, the target data which is corresponding to the updating operation and is encrypted in advance is determined in the arithmetic layer data divided in advance.
In specific implementation, the operation of detecting the update of the data by the application program includes: the application program detects the updating operation of the data when the user operates according to a preset rule, for example, the updating operation of the point when the user is detected to check in; or the application program updates the data when detecting that the external condition meets a preset rule, for example, updates the integral when detecting the external time change. And determining target data which corresponds to the updating operation and is encrypted in advance in the pre-divided arithmetic layer data. It can be clear that the operation data layer is a data layer which is divided in advance and is used for uniformly managing the operation layer data. And finding target data which corresponds to the updating operation and is encrypted in advance in the arithmetic layer data. The mapping relation is established between the change operation and the target data corresponding to the operation layer, so that the target data corresponding to the change operation can be quickly acquired when the update operation is detected, wherein the target data is encrypted data, and a malicious attacker is prevented from acquiring a specific numerical value of the target data.
And step S102, updating the numerical value of the target data according to the set data updating standard.
And updating the target data value according to a preset updating standard, wherein the updating standard is as follows: detecting the updating operation of the data when the user operates according to a preset rule, wherein the preset rule corresponds to different change standards; for example, the data updating standard is added by 10 points when the check-in of the user is detected, or the data updating standard is added by 20 points when the dynamic state of the user is detected.
And S103, decrypting the updated target data to obtain display layer data, and displaying the data by using the display layer data.
And in specific implementation, the updated target data is decrypted to obtain the display layer data, and the data display is carried out through the numerical value corresponding to the decrypted display layer data. It will be appreciated that the presentation layer data is used to perform data presentation on a cell phone or other device with a display screen. The specific value of the corresponding target data cannot be obtained through the acquired display layer data value, and the value of the target data in the arithmetic layer data cannot be changed even if the display layer data is changed. The technical problem that the application program data are maliciously modified by using a memory modification tool in the prior art is solved, and the use experience of a user is improved.
Please refer to fig. 2, which is a flowchart illustrating a data processing method according to a second embodiment of the present invention. In this embodiment, the data processing method includes the following steps:
step S201, encrypting the data of the operation layer according to a preset encryption rule.
In specific implementation, the operation data layer is a data layer which is divided in advance and is used for uniformly managing the operation layer data. The source file of the arithmetic layer data is encrypted according to a preset encryption rule so as to encrypt the pre-encrypted target data corresponding to the data layer, and an illegal breaker cannot acquire the pre-encrypted target data corresponding to the data layer according to the specific numerical value of the display layer data.
Step S202, when the data updating operation is detected, the target data which is corresponding to the updating operation and is encrypted in advance is determined in the arithmetic layer data divided in advance.
In specific implementation, the application program detects the data updating operation, and determines the target data which is subjected to encryption processing in advance and corresponds to the updating operation in the pre-divided arithmetic layer data. Since the arithmetic layer data is encrypted, the numerical value corresponding to the target data cannot be directly acquired by an illegal person, and the target data is encrypted to improve the cracking difficulty. It should be clear that, in order to improve the operation efficiency of the target data and reduce the operation intensity of encryption and decryption, the encryption method for the target data is as follows: and calculating and adjusting the numerical value of the original target data according to a set operation rule.
Optionally, the target data subjected to the encryption processing is: and (4) according to the set change amplitude, carrying out upward or downward adjustment on the numerical value of the original target data.
In specific implementation, for example, the target value is 500, and through the encryption processing of the target data, 10 is adjusted upwards on the basis of the target value 500 or 10 is adjusted downwards on the basis of the original target value. By adjusting the target value upward or downward, even if the corresponding value is acquired from the acquisition display layer, the corresponding target value cannot be acquired in the operation layer. Therefore, the target value corresponding to the arithmetic layer data is not modified.
Step S203 updates the value of the target data according to the set data update standard.
Step S202 and step S203 have already been described in detail in the first embodiment, and are not described herein again.
And S204, decrypting the updated target data to obtain display layer data, and displaying the data by using the display layer data.
And in specific implementation, the updated target data is decrypted to obtain the display layer data, and the data display is carried out through the numerical value corresponding to the decrypted display layer data. It will be appreciated that the presentation layer data is used to perform data presentation on a cell phone or other device with a display screen. However, the specific value of the target data cannot be obtained in the arithmetic layer data through the acquired display layer data value, and the value of the target data in the arithmetic layer data cannot be changed even if the display layer data is changed. The technical problem that the application program data are maliciously modified by using a memory modification tool in the prior art is solved, and the use experience of a user is improved.
Please refer to fig. 3, which is a flowchart illustrating a data processing method according to a third embodiment of the present invention. In this embodiment, on the basis of the first embodiment and the second embodiment, the target data subjected to the encryption processing is: and (4) according to the set change amplitude, carrying out upward or downward adjustment on the numerical value of the original target data. The data processing method comprises the following steps:
in step S301, when a data update operation is detected, target data that is encrypted in advance and corresponds to the update operation is determined in the arithmetic layer data divided in advance.
Step S302, updating the value of the target data according to the set data updating standard.
The steps S301 to S302 have already been described in detail in the first embodiment, and are not described herein again.
Step S303, adjusting the updated value of the target data according to the change amplitude to obtain display layer data, and displaying the data by using the display layer data.
Wherein, the adjustment direction of the numerical value is opposite to the adjustment direction in encryption.
In specific implementation, because the target data is encrypted, the encryption processing mode is data obtained by adjusting the original target value upwards or downwards according to the specified change amplitude. Therefore, when decrypting the target data, only the target value needs to be adjusted in the opposite direction of the previous upward or downward adjustment of the target value, so as to decrypt the target value, thereby obtaining the display layer data. It can be clear that, if the arithmetic layer data is encrypted, the target value of the arithmetic layer needs to be decrypted first, and the adjustment is performed on the pre-encrypted target value obtained after decryption, so as to decrypt the target value and obtain the corresponding display layer data.
Please refer to fig. 4, which is a flowchart illustrating a data processing method according to a fourth embodiment of the present invention. In this embodiment, the data processing method includes the following steps:
step S401, when the data updating operation is detected, determines target data, which is subjected to encryption processing in advance and corresponds to the updating operation, in the pre-divided arithmetic layer data.
Step S402, updating the value of the target data according to the set data update standard.
And S403, decrypting the updated target data to obtain display layer data, and displaying the data by using the display layer data.
The steps S401 to S403 have already been described in detail in the first embodiment, and are not described herein again.
Step S404, re-encrypting the updated target data, and storing the re-encrypted target data as the arithmetic layer data.
In specific implementation, the updated target data is encrypted again, and the target data encrypted again is stored as the arithmetic layer data. The encryption processing mode may be: the resulting updated target data is again adjusted up or down to be encrypted. And storing the target data after being encrypted again as arithmetic layer data. It can be seen that, when the target value obtained by encrypting the updated target data again is decrypted, the decryption method is the sum of the upward or downward adjustment amplitudes after two times of encryption adjustment. If the target value is 500, updating the target data when detecting the data updating operation, adding 10 to the original target data value, and the updated target value is 500+ 10; and decrypting the updated target value, wherein the decryption rule is that 5 is added to the updated target value to obtain the presentation layer data 515. Encrypting the updated target data, wherein the encryption mode is to add 10 to the updated target data, and the re-encrypted target data 520 is stored as data of an arithmetic layer; when a data update operation is detected, the decryption target data is 510+10+10-10+5, and the display layer data is obtained as 525. And encrypting the updated target data again, and storing the encrypted target data as the arithmetic layer data. And the illegal destroyer acquires the display layer data, and cannot acquire the specific numerical value of the target data corresponding to the data layer due to no fixed decryption rule. Meanwhile, the value of the target data in the data of the operation layer cannot be changed even if the data of the display layer is changed, so that the technical problem that the data of the application program is maliciously modified by using a memory modification tool in the prior art is solved, and the use experience of a user is improved.
Please refer to fig. 5, which is a block diagram illustrating a data processing apparatus 100 according to a fifth embodiment of the present invention. Applied to a computer device, the data processing apparatus 100 includes a target data obtaining module 120, a target data updating module 130, and a presentation layer data module 140. The device is mainly used for realizing the data processing method provided by the embodiment of the invention, and the method is mainly used for solving the technical problem that the memory modification tool is utilized to modify the application program data maliciously in the prior art.
Including but not limited to mobile phones, cell phones, smart phones, tablets, personal computers, personal digital assistants, media players, and other electronic devices.
The target data obtaining module 120 is configured to, when a data updating operation is detected, determine, in the pre-divided arithmetic layer data, target data that is corresponding to the updating operation and is subjected to encryption processing in advance.
In specific implementation, the operation of detecting the update of the data by the application program includes: the application program detects the updating operation of the data when the user operates according to a preset rule, for example, the updating operation of the point when the user is detected to check in; or the application program updates the data when detecting that the external condition meets a preset rule, for example, updates the integral when detecting the external time change. And determining target data which corresponds to the updating operation and is encrypted in advance in the pre-divided arithmetic layer data. It can be clear that the operation data layer is a data layer which is divided in advance and is used for uniformly managing the operation layer data. And finding target data which corresponds to the updating operation and is encrypted in advance in the arithmetic layer data. The mapping relation is established between the change operation and the target data corresponding to the operation layer, so that the target data corresponding to the change operation can be quickly acquired when the update operation is detected, wherein the target data is encrypted data, and a malicious attacker is prevented from acquiring a specific numerical value of the target data.
And the target data updating module 130 is configured to update the value of the target data according to the set data updating standard.
And updating the target data value according to a preset updating standard, wherein the updating standard is as follows: detecting the updating operation of the data when the user operates according to a preset rule, wherein the preset rule corresponds to different change standards; for example, the data update criterion is plus 10 points when checking the sign-in of the user, or the data update criterion is plus 20 points when checking the sending state of the user.
And the presentation layer data module 140 is configured to decrypt the updated target data to obtain presentation layer data, and perform data presentation by using the presentation layer data.
And in specific implementation, the updated target data is decrypted to obtain the display layer data, and the data display is carried out through the numerical value corresponding to the decrypted display layer data. It will be appreciated that the presentation layer data is used to perform data presentation on a cell phone or other device with a display screen. The specific value of the corresponding target data cannot be obtained through the acquired display layer data value, and the value of the target data in the arithmetic layer data cannot be changed even if the display layer data is changed. The technical problem that the application program data are maliciously modified by using a memory modification tool in the prior art is solved, and the use experience of a user is improved.
Fig. 6 is a schematic functional block diagram of a data processing apparatus 100 according to a sixth embodiment of the present invention. Applications to computer devices include, but are not limited to, mobile phones, cell phones, smart phones, tablets, personal computers, personal digital assistants, media players, and other electronic devices. The data processing apparatus 100 includes a target data acquisition module 120, a target data update module 130, and a presentation layer data module 140. On the basis of the fifth embodiment, the apparatus further comprises:
the arithmetic layer data encryption module 110 is configured to encrypt the arithmetic layer data according to a preset encryption rule before detecting a data update operation.
In specific implementation, the operation data layer is a data layer which is divided in advance and is used for uniformly managing the operation layer data. The source file of the arithmetic layer data is encrypted according to a preset encryption rule so as to encrypt the pre-encrypted target data corresponding to the data layer, and an illegal breaker cannot acquire the pre-encrypted target data corresponding to the data layer according to the specific numerical value of the display layer data.
The target data obtaining module 120 is configured to detect an update operation of data by an application, and determine target data, which is encrypted in advance and corresponds to the update operation, in the pre-divided arithmetic layer data. Since the arithmetic layer data is encrypted, the numerical value corresponding to the target data cannot be directly acquired by an illegal person, and the target data is encrypted to improve the cracking difficulty. It should be clear that, in order to improve the operation efficiency of the target data and reduce the operation intensity of encryption and decryption, the encryption method for the target data is as follows: and calculating and adjusting the numerical value of the original target data according to a set operation rule.
Optionally, the target data subjected to the encryption processing is: and (4) according to the set change amplitude, carrying out upward or downward adjustment on the numerical value of the original target data.
In specific implementation, for example, the target value is 500, and through the encryption processing of the target data, 10 is adjusted upwards on the basis of the target value 500 or 10 is adjusted downwards on the basis of the original target value. By adjusting the target value upward or downward, even if the corresponding value is acquired from the acquisition display layer, the corresponding target value cannot be acquired in the operation layer. Therefore, the target value corresponding to the arithmetic layer data is not modified.
The updated target data is decrypted by the presentation layer data module 140 to obtain presentation layer data, and data presentation is performed through the numerical value corresponding to the decrypted presentation layer data. It will be appreciated that the presentation layer data is used to perform data presentation on a cell phone or other device with a display screen. However, the specific value of the target data cannot be obtained in the arithmetic layer data through the acquired display layer data value, and the value of the target data in the arithmetic layer data cannot be changed even if the display layer data is changed. The technical problem that the application program data are maliciously modified by using a memory modification tool in the prior art is solved, and the use experience of a user is improved.
Fig. 7 is a schematic functional module diagram of a data processing apparatus 100 according to a seventh embodiment of the present invention. Applications to computer devices include, but are not limited to, mobile phones, cell phones, smart phones, tablets, personal computers, personal digital assistants, media players, and other electronic devices. The data processing apparatus 100 includes a target data acquisition module 120, a target data update module 130, and a presentation layer data module 140. On the basis of the sixth embodiment, the presentation layer data module 140 includes:
a decryption unit 141, configured to adjust the value of the updated target data according to the change amplitude; wherein, the adjustment direction of the numerical value is opposite to the adjustment direction in encryption.
In specific implementation, because the target data is encrypted, the encryption processing mode is data obtained by adjusting the original target value upwards or downwards according to the specified change amplitude. Therefore, when decrypting the target data, only the target value needs to be adjusted in the opposite direction of the previous upward or downward adjustment of the target value, so as to decrypt the target value, thereby obtaining the display layer data. It can be clear that, if the arithmetic layer data is encrypted, the target value of the arithmetic layer needs to be decrypted first, and the adjustment is performed on the pre-encrypted target value obtained after decryption, so as to decrypt the target value and obtain the corresponding display layer data.
Fig. 8 is a schematic functional module diagram of a data processing apparatus 100 according to an eighth embodiment of the present invention. Applications to computer devices include, but are not limited to, mobile phones, cell phones, smart phones, tablets, personal computers, personal digital assistants, media players, and other electronic devices. The data processing apparatus 100 includes a target data acquisition module 120, a target data update module 130, and a presentation layer data module 140. On the basis of the sixth embodiment, the seventh embodiment, and the ninth embodiment or the ninth embodiment, the apparatus further includes:
the target data encryption module 150 is further configured to, after updating the numerical value of the target data, perform encryption processing on the updated target data again, and store the target data after encryption processing as the arithmetic layer data.
In specific implementation, the updated target data is encrypted again, and the target data encrypted again is stored as the arithmetic layer data. The encryption processing mode may be: the resulting updated target data is again adjusted up or down to be encrypted. And storing the target data after being encrypted again as arithmetic layer data. It can be seen that, when the target value obtained by encrypting the updated target data again is decrypted, the decryption method is the sum of the upward or downward adjustment amplitudes after two times of encryption adjustment. If the target value is 500, updating the target data when detecting the data updating operation, adding 10 to the original target data value, and the updated target value is 500+ 10; and decrypting the updated target value, wherein the decryption rule is that 5 is added to the updated target value to obtain the presentation layer data 515. Encrypting the updated target data, wherein the encryption mode is to add 10 to the updated target data, and the re-encrypted target data 520 is stored as data of an arithmetic layer; when a data update operation is detected, the decryption target data is 510+10+10-10+5, and the display layer data is obtained as 525. And encrypting the updated target data again, and storing the encrypted target data as the arithmetic layer data. And the illegal destroyer acquires the display layer data, and cannot acquire the specific numerical value of the target data corresponding to the data layer due to no fixed decryption rule. Meanwhile, the value of the target data in the data of the operation layer cannot be changed even if the data of the display layer is changed, so that the technical problem that the data of the application program is maliciously modified by using a memory modification tool in the prior art is solved, and the use experience of a user is improved.
An embodiment of the present invention further provides a computer device, including: a processor, a memory, and a communication bus; the communication bus is used for realizing connection communication between the processor and the memory;
the processor is used for executing the data processing program stored in the memory so as to realize the following steps:
step S101, when a data updating operation is detected, determining target data which corresponds to the updating operation and is encrypted in advance in the pre-divided arithmetic layer data;
step S102, updating the numerical value of the target data according to a set data updating standard;
and S103, decrypting the updated target data to obtain display layer data, and displaying the data by using the display layer data.
Alternatively, the steps performed may be replaced with steps S201 to S204, steps S301 to S303, and steps S401 to S404.
Since the implementation process of the data processing method has been described in detail in the first to fourth embodiments, details are not described in this embodiment.
The computer devices in this embodiment include, but are not limited to, mobile phones, cell phones, smart phones, tablets, personal computers, personal digital assistants, media players, and other electronic devices.
Embodiments of the present invention also provide a computer-readable storage medium storing a data processing method, which when executed by at least one processor causes the at least one processor to perform the following steps:
step S101, when a data updating operation is detected, determining target data which corresponds to the updating operation and is encrypted in advance in the pre-divided arithmetic layer data;
step S102, updating the numerical value of the target data according to a set data updating standard;
and S103, decrypting the updated target data to obtain display layer data, and displaying the data by using the display layer data.
Alternatively, the steps performed may be replaced with steps S201 to S204, steps S301 to S303, and steps S401 to S404.
Since the implementation process of the data processing method has been described in detail in the first to fourth embodiments, details are not described in this embodiment.
In summary, the embodiments of the present invention disclose a data processing method, apparatus, device, and readable storage medium, wherein when a data update operation is detected, in pre-divided arithmetic layer data, target data corresponding to the update operation and subjected to encryption processing in advance is determined; updating the numerical value of the target data according to a set data updating standard; and decrypting the updated target data to obtain display layer data, and displaying the data by using the display layer data. The technical problem that the application program data are maliciously modified by using a memory modification tool in the prior art is solved, and the use experience of a user is improved.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, the functional modules in the embodiments of the present invention may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
In short, the above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (12)

1. A method of data processing, the method comprising:
when a data updating operation is detected, determining target data which corresponds to the updating operation and is encrypted in advance in pre-divided arithmetic layer data;
updating the numerical value of the target data according to a set data updating standard;
and decrypting the updated target data to obtain display layer data, and displaying the data by using the display layer data.
2. The method of claim 1, prior to detecting a data update operation, further comprising:
and encrypting the data of the operation layer according to a preset encryption rule.
3. The method according to claim 1 or 2, wherein the target data subjected to the encryption processing is: and (4) according to the set change amplitude, carrying out upward or downward adjustment on the numerical value of the original target data.
4. The method of claim 3, wherein decrypting the updated target data comprises: adjusting the numerical value of the updated target data according to the change amplitude; wherein the adjustment direction of the numerical value is opposite to the adjustment direction in encryption.
5. The method of claim 1, 2 or 4, wherein updating the value of the target data further comprises:
and carrying out encryption processing on the updated target data again, and storing the target data encrypted again as the data of the arithmetic layer.
6. A data processing apparatus, characterized in that the apparatus comprises:
the target data acquisition module is used for determining target data which corresponds to the updating operation and is encrypted in advance in the pre-divided arithmetic layer data when the data updating operation is detected;
the target data updating module is used for updating the numerical value of the target data according to a set data updating standard;
and the display layer data module is used for decrypting the updated target data to obtain display layer data and utilizing the display layer data to display the data.
7. The apparatus of claim 6, wherein the apparatus further comprises:
and the operation layer data encryption module is used for encrypting the operation layer data according to a preset encryption rule before the data updating operation is detected.
8. The apparatus according to claim 6 or 7, wherein the target data subjected to the encryption processing is: and (4) according to the set change amplitude, carrying out upward or downward adjustment on the numerical value of the original target data.
9. The apparatus of claim 8, wherein the presentation layer data module comprises:
the decryption unit is used for adjusting the numerical value of the updated target data according to the change amplitude; wherein the adjustment direction of the numerical value is opposite to the adjustment direction in encryption.
10. The apparatus of claim 6, 7 or 9, further comprising:
and the target data encryption module is also used for carrying out encryption processing on the updated target data again after the numerical value of the target data is updated, and storing the target data which is encrypted again as the data of the arithmetic layer.
11. A computing device, comprising: a processor, a memory, and a communication bus;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is adapted to execute a data processing program of an application program stored in the memory to implement the steps of the method of any one of claims 1 to 5.
12. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a data processing program of an application program, which when executed by at least one processor implements the method steps of any one of claims 1 to 5.
CN201810300586.1A 2018-04-04 2018-04-04 Data processing method and device, readable storage medium and equipment Active CN108763964B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810300586.1A CN108763964B (en) 2018-04-04 2018-04-04 Data processing method and device, readable storage medium and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810300586.1A CN108763964B (en) 2018-04-04 2018-04-04 Data processing method and device, readable storage medium and equipment

Publications (2)

Publication Number Publication Date
CN108763964A CN108763964A (en) 2018-11-06
CN108763964B true CN108763964B (en) 2021-08-24

Family

ID=63980909

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810300586.1A Active CN108763964B (en) 2018-04-04 2018-04-04 Data processing method and device, readable storage medium and equipment

Country Status (1)

Country Link
CN (1) CN108763964B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112486617B (en) * 2020-12-01 2023-06-02 华控清交信息科技(北京)有限公司 Ciphertext data processing architecture, method, apparatus and machine readable medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141250A (en) * 2007-10-10 2008-03-12 北京握奇数据***有限公司 Instrument equipment, data safety access method, device and system
CN101719228A (en) * 2009-11-25 2010-06-02 北京握奇数据***有限公司 Method and device for data management of intelligent card
CN102662692A (en) * 2012-03-16 2012-09-12 北京经纬恒润科技有限公司 Method and system for updating application program in electronic control unit
CN104850445A (en) * 2015-06-05 2015-08-19 东信和平科技股份有限公司 Safe software upgrading method, device and system
CN105022644A (en) * 2014-04-29 2015-11-04 宇龙计算机通信科技(深圳)有限公司 Terminal, system updating method and system updating file delivering method and apparatus
CN105812570A (en) * 2016-04-21 2016-07-27 深圳市旭子科技有限公司 Terminal firmware updating method and device
CN107506659A (en) * 2017-07-27 2017-12-22 西安电子科技大学 A kind of data protection system and method for the Universal Database based on SGX

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170206353A1 (en) * 2016-01-19 2017-07-20 Hope Bay Technologies, Inc. Method and system for preventing malicious alteration of data in computer system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141250A (en) * 2007-10-10 2008-03-12 北京握奇数据***有限公司 Instrument equipment, data safety access method, device and system
CN101719228A (en) * 2009-11-25 2010-06-02 北京握奇数据***有限公司 Method and device for data management of intelligent card
CN102662692A (en) * 2012-03-16 2012-09-12 北京经纬恒润科技有限公司 Method and system for updating application program in electronic control unit
CN105022644A (en) * 2014-04-29 2015-11-04 宇龙计算机通信科技(深圳)有限公司 Terminal, system updating method and system updating file delivering method and apparatus
CN104850445A (en) * 2015-06-05 2015-08-19 东信和平科技股份有限公司 Safe software upgrading method, device and system
CN105812570A (en) * 2016-04-21 2016-07-27 深圳市旭子科技有限公司 Terminal firmware updating method and device
CN107506659A (en) * 2017-07-27 2017-12-22 西安电子科技大学 A kind of data protection system and method for the Universal Database based on SGX

Also Published As

Publication number Publication date
CN108763964A (en) 2018-11-06

Similar Documents

Publication Publication Date Title
KR102451109B1 (en) Generate key proofs that provide device anonymity
US10409984B1 (en) Hierarchical data security measures for a mobile device
CN107222485B (en) Authorization method and related equipment
EP3200487B1 (en) Message processing method and apparatus
CN108769027B (en) Secure communication method, device, mobile terminal and storage medium
JP5889436B2 (en) Prevention of pattern recognition in electronic codebook encryption
CN104954126B (en) Sensitive operation verification method, device and system
US9659189B2 (en) Systems and methods of safeguarding user information while interacting with online service providers
US20140258734A1 (en) Data security method and electronic device implementing the same
US10454905B2 (en) Method and apparatus for encrypting and decrypting picture, and device
CN111475832B (en) Data management method and related device
CN110462620A (en) Sensitive data is decomposed to be stored in different application environment
US11120160B2 (en) Distributed personal data storage and encrypted personal data service based on secure computation
WO2017026924A3 (en) Method of performing an analog-digital signature in a trusted environment and device for the implementation thereof
US11677846B1 (en) Privacy-preserving first-party tracking
KR20140112399A (en) Application access control method and electronic device implementing the same
CN108763964B (en) Data processing method and device, readable storage medium and equipment
CN110634173A (en) Picture mark information adding method and device, electronic equipment and readable medium
US20160210596A1 (en) Method, device and system for controlling presentation of application
CN110262868B (en) Notification message display method and related equipment
CN107463808B (en) Method for calling functional module integrated in operating system
CN108985109A (en) A kind of date storage method and device
CN107302519B (en) Identity authentication method and device for terminal equipment, terminal equipment and server
CN114978527A (en) Electronic signature method and device, electronic equipment and storage medium
JP2014099774A (en) Information processing device, radio communication device, and program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant