Check patentability & draft patents in minutes with Patsnap Eureka AI!

Data operation detection method and device

A technology of data manipulation and detection method, applied in the computer field, can solve the problems of mistaken deletion of the entire table of the database table, mistaken update of the entire table, etc.

Active Publication Date: 2019-07-16
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, the present invention provides a data operation detection method and device, which can solve the problem of accidentally deleting or updating the entire database table caused by negligent or malicious calls to the Mybatis data operation interface, and improve the security of data operations sex

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Data operation detection method and device
  • Data operation detection method and device
  • Data operation detection method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] Exemplary embodiments of the present invention are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0036] It should be noted that, in the case of no conflict, the embodiments of the present invention and the features in the embodiments can be combined with each other.

[0037] figure 1 is a schematic diagram of the main flow of a data operation detection method according to an embodiment of the present invention. The data operation detection method in the embodiment o...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a data operation detection method and device, and relates to the technical field of computers. The method comprises the steps of obtaining a condition object from a data operation request of a service layer; creating a target object, wherein the types of the target object and the condition object are same, and the attribute values in the target object are null; performing consistency comparison on the content of the conditional object and the content of the target object; and on the condition that the content of the conditional object is inconsistent with the content ofthe target object, calling a MyBatis data operation interface. Through the above steps, the problem that the whole database table is deleted mistakenly or updated mistakenly due to negligence or malicious calling of the MyBatis data operation interface can be solved, and the safety of the data operation is improved.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a data operation detection method and device. Background technique [0002] MyBatis is currently a very popular persistence layer framework, which supports common SQL (Structured Query Language) queries, stored procedures, and advanced mapping. MyBatis can perform configuration and original mapping based on simple XML or annotations, and map interfaces and Java POJOs (Plain Ordinary Java Objects, ordinary Java objects) into records in the database. Especially in Internet applications, MyBatis has become a mainstream framework and is widely used in various types of systems. Through MyBatis, software developers can not only decouple SQL from business more easily, but also manage and optimize SQL more simply and efficiently. [0003] At present, the business layer usually realizes the operation on the database by directly invoking the data operation interface. For example, for ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/25G06F16/21
CPCG06F16/21G06F16/25
Inventor 胡伟健罗劲松闫石苟健
Owner BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More