Database form change notification method and device, computer equipment and storage medium

A database and notification technology, applied in the computer field, can solve problems such as reduced work efficiency, slow information update, and inability to guarantee capture

Active Publication Date: 2020-07-03
NEW TREND INT LOGIS TECH
View PDF11 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Regarding the above four schemes, although each scheme has a solution, in actual operation, each scheme has certain defects. Large, low density and slow information update
And because it is impossible to predict whether the data will change, the data consumption generated by refreshing may not necessarily produce actual value, thereby reducing work efficiency;
[0006] In solution 2, complex coding needs to be done on the database, and the reverse call needs to use the advanced functions of the database, which will have clear requirements on the version and function of the database, and when triggers and transactions are used at the same time, many problems will be generated data issues;
[0007] In solution 3, you can use a third-party functional class library (such as SqlDependencyEx released by dyatchenko on github) or a function provided by a database developer (such as Microsoft's SqlDependence), but this method is not stable because none of the above components can It is guaranteed to be valid all the time, and it cannot guarantee that all changes that users care about will be captured;
[0008] In solution 4, since the data changer and the terminal developer are usually not the same developer, there may be some differences in the definition and understanding of the data structure
Moreover, in most cases, the data changing party itself does not use this function, and there may be differences between the developer's understanding of the scene and the development and testing, and the situation of unfinished work
In addition, because the work of terminal developers is relatively lagging behind, and multiple data needs to be connected, it is easy to cause inconsistency of data interfaces and increase the difficulty of development

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
  • Database form change notification method and device, computer equipment and storage medium
  • Database form change notification method and device, computer equipment and storage medium
  • Database form change notification method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0036] It should be understood that when used in this specification and the appended claims, the terms "comprising" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude one or Presence or addition of multiple other features, integers, steps, operations, elements, components and / or collections thereof.

[0037] It should also be understood that the terminology 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
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a database form change notification method and apparatus, a computer device and a storage medium. The method comprises the steps of adding an event for uniformly receiving andforwarding a change notification and an attribute marked on a method of a functional interface on a service interface project of a database code; the code generator checks whether the method of each functional interface in the event processing program comprises the attribute or not; if the attribute is included, automatically adding a code for transmitting a change notification parameter behind the corresponding method; and when the database form is changed, executing the method, triggering a change notification, transmitting the change notification to the event, and forwarding the change notification by the event. According to the method and the device, perception of program codes on database data change is solved, and the perceived change is notified to other parts of the program to realize response to the change.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a database form change notification method, device, computer equipment and storage medium. Background technique [0002] When a user enters a form on a terminal device (such as an application program, a handheld device, a web page, etc.) and requests to export the form according to the form, the back-end server device starts to execute the corresponding action. The user hopes to see the delivery status information of the form, such as the completed shipment of each item. In order to realize the function of querying the status, the terminal needs to re-display the information when necessary. Therefore, the terminal needs Know when you need to perform this redisplay action. Specifically, there are several methods to achieve the above functions: [0003] One method (i.e. scheme 1) is to re-refresh at regular intervals, that is, regardless of whether the current execution status ...

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/23G06F16/22
CPCG06F16/2358G06F16/2282
Inventor 邵健锋崔巍
Owner NEW TREND INT LOGIS TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products