Patents
Literature
Hiro is an intelligent assistant for R&D personnel, combined with Patent DNA, to facilitate innovative research.
Hiro

55 results about "Database trigger" patented technology

A database trigger is procedural code that is automatically executed in response to certain events on a particular table or view in a database. The trigger is mostly used for maintaining the integrity of the information on the database. For example, when a new record (representing a new worker) is added to the employees table, new records should also be created in the tables of the taxes, vacations and salaries. Triggers can also be used to log historical data, for example to keep track of employees' previous salaries.

Data synchronization method and system for heterogeneous databases

Provided is a data synchronization method and a system for heterogeneous databases. Two heterogeneous databases respectively set the same unique identifier for related control data of the same application level transaction. A source database triggers modification of the related control data, with the unique identifier, of the same application level transaction. Modification information is set in a source data synchronization table in the source database. The source data synchronization process in a data synchronization execution system reads the modification information in the source data synchronization table, and the modification information is converted into a standard text file to store. The target database synchronization process in the data synchronization execution system reads the standard text file, and the standard text file is converted into the modification information of the related control target data, with the unique identifier, of the same application level transaction. The modification information is written into a target data synchronization table in a target database. The related target data in the target database is modified after the modification information of the related control target data in the target data synchronization table. According to the data synchronization method and the system for heterogeneous databases, data synchronization between databases with different data storage structures is achieved.
Owner:CHINA MOBILE GROUP JIANGSU

Method and apparatus for web cache using database triggers

A method and apparatus for providing web pages to a client with improved speed and efficiency. Web pages are cached in a web server and are referenced from a database in a database server. When a request from a client is sent to the web server for a web page, the web server checks the web page cache table in the database server. The web page cache table contains a field wherein a flag is set to indicate whether any data that affects the web page has been updated. Database triggers are used to change the value of the flag when specified data fields corresponding to a web page have been changed. If the value of the flag indicates that there has not been any change in the data, the web server reads the html file reference in the web page cache table, retrieves the corresponding page from the web page cache in the web server and sends the page back to the client. If the value of the flag indicates that the data has changed, the web server reconstructs the web page from the database, caches the web page and resets the value of the flag before sending the web page to the client. The method and apparatus of the present invention is capable of delivering cached web pages in a much shorter time than is needed to generate the web page each time a request is received from a client.
Owner:DELL PROD LP

Method for handling uncertainty of return results of trigger

ActiveCN102707956AAccurate processing of returned resultsClear structureSpecific program execution arrangementsProgram segmentOracle database
The invention mainly provides a method for handling uncertainty of return results of a trigger, relating to the technical field of computer software. The method specifically includes the following steps that first of all, a variable is stated and is assigned; when processing a cursor, the variable value is changed according to different numbers of the return results through the corresponding abnormal handlings conducted to different return results in an Oracle database, for example, the variable is 1 at the beginning, when the cursor returns one result, the value remains unchanged, when the cursor returns a plurality of results, the variable value is assigned to be 2 and when the cursor returns no result, the variable value is assigned to be 0; and finally different program segments are executed with respect to different variable values by judging the sentences. In such a way, the return results are of clear structure and are simple and explicit, and therefore the trigger can accurately handle the return results of the cursor, the complicated problem is simplified and the expected target is accomplished. The invention aims to solve the technical problem of providing a method for handling the uncertainty of the return results of the trigger so as to ingeniously solve the problem of uncertainty of the return results of the trigger of a database by analyzing the results.
Owner:福建汇智数字通达科技有限公司

Data synchronization method and system and storage medium

The invention discloses a data synchronization method and system and a storage medium, the system comprises a main database, a database trigger, a synchronization queue and at least one client database, a plurality of synchronization data are stored in the main database, and the synchronization queue is provided with database tables corresponding to the synchronization data; wherein the database trigger is used for monitoring a main database, triggering to generate trigger information when a synchronous data sending event operation of the main database is monitored, and sending the trigger information to a corresponding database table; wherein the synchronization queue is used for acquiring synchronization data from the main database in combination with the trigger information and the database table, and performing synchronization operation on the client database according to the acquired synchronization data. Synchronization is carried out in a monitoring and queue synchronizing mode,namely data synchronization is carried out on the basis of a database layer, performance is high, fault tolerance is good, data can be prevented from being lost in data synchronization, and the method can be widely applied to the technical field of data synchronization.
Owner:广州市正盟计算机科技有限公司

Base station monitoring method for realizing alarm based on database trigger

The invention belongs to the field of a monitoring system and provides a base station monitoring method for realizing alarm based on a database trigger. The method is used for improving the expansibility and maintainability of a base station monitoring system and reducing system development and debugging workloads and the system development difficulty. The method comprises the steps of setting a database, wherein items of the database comprise monitoring objects, real-time monitoring values, a monitoring value upper limit and a monitoring value lower limit, and setting a trigger for each detection object; collecting the real-time monitoring values of base stations through sensors and storing the real-time monitoring values to the database in real time; checking the real-time monitoring values by the database through the triggers, calling an alarm processing program when the real-time monitoring values exceed the monitoring value upper limit or the monitoring value lower limit; and uploading alarm information comprising the current detection objects and the real-time monitoring values to a monitoring center by the alarm processing program. The base station monitoring method provided by the invention has the advantages of high expansibility, high maintainability and convenient management.
Owner:UNIV OF ELECTRONICS SCI & TECH OF CHINA

Method for intelligently synchronizing generic edition platform cloud disc file and media resource system

The invention discloses a method for intelligently synchronizing a generic edition platform cloud disc file and a media resource system. The method comprises the following steps: the number of handles opened at present, locking identity and filing process identity are checked; whether a present file is subjected to filing treatment or not is detected through a databank trigger when the number of handles is zero; if the present file is not subjected to filing treatment, an identity position bit is targeted; the instruction that one file needs to be synchronized is notified to a synchronous filing progress of a server; after the synchronous filing progress receives a synchronization request, the synchronization request is put into a waiting queue so as to wait for treatment; an asynchronous working thread takes out the request and carries out filing treatment; and the treatment accomplishment of the databank is identified with a position bit, and the targeting identity is reset. With the adoption of the method, the media resource is utilized reasonably, and the cost of system equipment is reduced; the synchronization between multiple types of cloud disc files and media resource systems is supported; a synchronizer is called in accordance with the level of the priority; and the synchronizer can be called orderly and efficiently.
Owner:成都东方盛行电子有限责任公司
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