CN111581213B - Information recording method, device and equipment - Google Patents

Information recording method, device and equipment Download PDF

Info

Publication number
CN111581213B
CN111581213B CN202010375200.0A CN202010375200A CN111581213B CN 111581213 B CN111581213 B CN 111581213B CN 202010375200 A CN202010375200 A CN 202010375200A CN 111581213 B CN111581213 B CN 111581213B
Authority
CN
China
Prior art keywords
information
service
changed
record
middleware
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
CN202010375200.0A
Other languages
Chinese (zh)
Other versions
CN111581213A (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.)
Beijing Jindi Technology Co Ltd
Original Assignee
Beijing Jindi 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 Beijing Jindi Technology Co Ltd filed Critical Beijing Jindi Technology Co Ltd
Priority to CN202010375200.0A priority Critical patent/CN111581213B/en
Publication of CN111581213A publication Critical patent/CN111581213A/en
Application granted granted Critical
Publication of CN111581213B publication Critical patent/CN111581213B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2282Tablespace storage structures; Management thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3438Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment monitoring of user actions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • G06F16/24552Database cache management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The embodiment of the disclosure discloses an information recording method, an information recording device and information recording equipment, wherein the method comprises the following steps: monitoring service information in a plurality of service systems; responding to the change of service information in at least one service system, and importing the changed service information into the middleware; and verifying the changed business information in the middleware to obtain the record information, and importing the record information into a record database. Therefore, the embodiment of the application utilizes the middleware to cache the massive change service information obtained through monitoring, so that the change service information in the service system can be recorded simultaneously under different modes to facilitate the horizontal expansion of the service system, the decoupling of the service system and the data development is realized, and in addition, the changed service information is checked, so that the service information needing to be focused in the later period is screened out, and the workload of data analysis personnel is reduced.

Description

Information recording method, device and equipment
Technical Field
The present disclosure relates to computer technology, and more particularly, to an information recording method, an information recording apparatus, an information recording device, a storage medium, and an electronic device.
Background
At present, the iteration of internet company products, the development of new functions and the optimization of old functions are all independent of data driving, namely data analysis, and for the data analysis, accurate recording of real-time changed data is important.
In carrying out the present disclosure, the inventors found that: the traditional data recording method is used for respectively recording the change data in different service systems, and the recording method is low in efficiency and easy to cause the problems of coupling among the service systems and the like.
Disclosure of Invention
The present disclosure has been made in order to solve the above technical problems. The embodiment of the disclosure provides an information recording method, an information recording device and information recording equipment.
According to an aspect of the embodiments of the present disclosure, there is provided an information recording method including:
monitoring service information in a plurality of service systems;
responding to the change of service information in at least one service system, and importing the changed service information into the middleware;
and verifying the business information changed in the middleware to obtain record information, and importing the record information into a record database.
Optionally, in the above embodiments of the present disclosure, the responding to a change of service information in at least one service system, importing the changed service information into the middleware includes:
responding to the change of the service information in the at least one service system, and acquiring a service table, a change type and a change field of the changed service information in the at least one service system;
and importing the business table, the change type and the change field of the changed business information in the at least one business system into the middleware.
Optionally, in the above embodiments of the present disclosure, in response to a change of service information in at least one service system, the method further includes: and deriving the changed service information which is not more than a preset number from the middleware based on a preset time interval.
Optionally, in the above embodiments of the present disclosure, the verifying the service information that changes in the middleware to obtain record information, and importing the record information into a record database includes:
based on the preset configuration rules corresponding to each service system, verifying the changed service information in the middleware to obtain changed service information meeting the preset configuration rules;
and obtaining record information based on the changed service information meeting each preset configuration rule, and importing the record information into a record database.
Optionally, in the above embodiments of the present disclosure, the preset configuration rule includes:
determining whether a business table in which the business information changed in the middleware is located belongs to a preset business table or not; if it belongs to
Determining whether the change type of the business information changed in the middleware belongs to a preset change type; if it belongs to
And determining whether a change field of the business information changed in the middleware belongs to a preset change field.
Optionally, in the above embodiments of the present disclosure, the obtaining the record information based on the service information that satisfies the change of each preset configuration rule, and importing the record information into a record database includes: generating a record table based on the service table where the changed service information meeting the preset configuration rules is located, and importing the record table into a record database; wherein one record table corresponds to one service table.
Optionally, in the above method embodiments of the present disclosure, the record table includes: the fields of the self-increasing main key identification, the change type, the time stamp, the service identification and the service information before and after the change.
According to another aspect of the embodiments of the present disclosure, there is provided an information recording apparatus including:
the monitoring module is used for monitoring service information in a plurality of service systems;
the importing module is used for responding to the change of the service information in at least one service system and importing the changed service information into the middleware;
and the obtaining module is used for verifying the changed business information in the middleware to obtain record information and importing the record information into a record database.
Optionally, in the above device embodiments of the present disclosure, the importing module includes:
the acquiring unit is used for responding to the change of the service information in the at least one service system and acquiring a service table, a change type and a change field of the changed service information in the at least one service system;
and the first importing unit is used for importing the business table, the change type and the change field of the changed business information in the at least one business system into the middleware.
Optionally, in the above embodiments of the present disclosure, between the response unit and the first importing unit, the method further includes: and the deriving unit is used for deriving the business information which is not more than the preset number of changes from the middleware based on the preset time interval.
Optionally, in the above embodiments of the present disclosure, the obtaining module includes:
the obtaining unit is used for verifying the changed business information in the middleware based on the preset configuration rules corresponding to each business system to obtain the changed business information meeting the preset configuration rules;
and the second importing unit is used for obtaining record information based on the changed service information meeting each preset configuration rule and importing the record information into a record database.
Optionally, in the above embodiments of the present disclosure, the second introducing unit is specifically configured to: generating a record table based on the service table where the changed service information meeting the preset configuration rules is located, and importing the record table into a record database; wherein one record table corresponds to one service table.
Optionally, in the above embodiments of the present disclosure, the record table includes: the fields of the self-increasing main key identification, the change type, the time stamp, the service identification and the service information before and after the change.
According to still another aspect of the embodiments of the present disclosure, there is provided an information recording apparatus including:
a service database for storing service information of a plurality of service systems;
a delivery message unit for delivering the changed business information;
middleware for receiving and storing the changed service information;
the configuration center is used for storing preset configuration rules of each service system;
the consumption program unit is used for receiving the changed service information derived from the middleware based on a preset time interval and verifying the derived changed service information based on preset configuration rules of each service system;
and the record database is used for storing the changed business information passing the verification.
According to still another aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium storing a computer program for executing the information recording method according to any one of the above embodiments of the present disclosure.
According to still another aspect of the embodiments of the present disclosure, there is provided an electronic device including: a processor; a memory for storing the processor-executable instructions; the processor is configured to read the executable instructions from the memory and execute the instructions to implement the information recording method according to any one of the foregoing embodiments.
Based on the information recording method and device, the electronic equipment and the storage medium provided by the embodiments of the present disclosure, monitoring service information in a plurality of service systems; responding to the change of service information in at least one service system, and importing the changed service information into the middleware; and verifying the changed business information in the middleware to obtain the record information, and importing the record information into a record database. Therefore, the embodiment of the disclosure utilizes the middleware to cache mass change service information obtained through monitoring, so that the change service information in the service system can be recorded simultaneously under different modes to facilitate the horizontal expansion of the service system, the decoupling of the service system and the data development is realized, and in addition, the changed service information is checked, so that the service information needing to be focused in the later period is screened out, and the workload of data analysis personnel is reduced.
The technical scheme of the present disclosure is described in further detail below through the accompanying drawings and examples.
Drawings
The above and other objects, features and advantages of the present disclosure will become more apparent by describing embodiments thereof in more detail with reference to the accompanying drawings. The accompanying drawings are included to provide a further understanding of embodiments of the disclosure, and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description serve to explain the disclosure, without limitation to the disclosure. In the drawings, like reference numerals generally refer to like parts or steps.
Fig. 1 is a flowchart illustrating an information recording method according to an exemplary embodiment of the present disclosure.
Fig. 2 is a flowchart illustrating an information recording method according to another exemplary embodiment of the present disclosure.
Fig. 3 is a flowchart illustrating an information recording method according to still another exemplary embodiment of the present disclosure.
Fig. 4 is a flowchart illustrating an information recording method according to still another exemplary embodiment of the present disclosure.
Fig. 5 is a schematic structural view of an information recording apparatus provided in an exemplary embodiment of the present disclosure.
Fig. 6 is a schematic structural view of an information recording apparatus provided in an exemplary embodiment of the present disclosure.
Fig. 7 is a block diagram of an electronic device provided in an exemplary embodiment of the present disclosure.
Detailed Description
Hereinafter, example embodiments according to the present disclosure will be described in detail with reference to the accompanying drawings. It should be apparent that the described embodiments are only some of the embodiments of the present disclosure and not all of the embodiments of the present disclosure, and that the present disclosure is not limited by the example embodiments described herein.
It should be noted that: the relative arrangement of the components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present disclosure unless it is specifically stated otherwise.
It will be appreciated by those of skill in the art that the terms "first," "second," etc. in embodiments of the present disclosure are used merely to distinguish between different steps, devices or modules, etc., and do not represent any particular technical meaning nor necessarily logical order between them.
It should also be understood that in embodiments of the present disclosure, "plurality" may refer to two or more, and "at least one" may refer to one, two or more.
It should also be appreciated that any component, data, or structure referred to in the presently disclosed embodiments may be generally understood as one or more without explicit limitation or the contrary in the context.
In addition, the term "and/or" in this disclosure is merely an association relationship describing an association object, and indicates that three relationships may exist, for example, a and/or B may indicate: a exists alone, A and B exist together, and B exists alone. In addition, the character "/" in the present disclosure generally indicates that the front and rear association objects are an or relationship.
It should also be understood that the description of the various embodiments of the present disclosure emphasizes the differences between the various embodiments, and that the same or similar features may be referred to each other, and for brevity, will not be described in detail.
Meanwhile, it should be understood that the sizes of the respective parts shown in the drawings are not drawn in actual scale for convenience of description.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the disclosure, its application, or uses.
Techniques, methods, and apparatus known to one of ordinary skill in the relevant art may not be discussed in detail, but are intended to be part of the specification where appropriate.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further discussion thereof is necessary in subsequent figures.
Embodiments of the present disclosure may be applicable to electronic devices such as terminal devices, computer systems, servers, etc., which may operate with numerous other general purpose or special purpose computing system environments or configurations. Examples of well known terminal devices, computing systems, environments, and/or configurations that may be suitable for use with the terminal device, computer system, server, or other electronic device include, but are not limited to: personal computer systems, server computer systems, thin clients, thick clients, hand-held or laptop devices, microprocessor-based systems, set-top boxes, programmable consumer electronics, network personal computers, small computer systems, mainframe computer systems, and distributed cloud computing technology environments that include any of the foregoing, and the like.
Electronic devices such as terminal devices, computer systems, servers, etc. may be described in the general context of computer system-executable instructions, such as program modules, being executed by a computer system. Generally, program modules may include routines, programs, objects, components, logic, data structures, etc., that perform particular tasks or implement particular abstract data types. The computer system/server may be implemented in a distributed cloud computing environment in which tasks are performed by remote processing devices that are linked through a communications network. In a distributed cloud computing environment, program modules may be located in both local and remote computing system storage media including memory storage devices.
Fig. 1 is a flowchart of an information recording method provided in an exemplary embodiment of the present disclosure. The embodiment can be applied to an electronic device, as shown in fig. 1, and the information recording method includes the following steps:
s102, monitoring service information in a plurality of service systems.
Wherein, each business system is provided with a database for storing the respective business information.
S104, responding to the change of the service information in at least one service system, and importing the changed service information into the middleware.
The middleware is used for representing a cache space for storing changed service information in a plurality of service systems, for example, when the service information in the service system is changed, the service system actively delivers the changed service information to the middleware according to an active delivery mechanism preset by the service system.
S106, checking the business information changed in the middleware to obtain record information, and importing the record information into a record database.
In one example, user information in a user business system, enterprise information in an enterprise business system, and advertisement information in an advertisement business system are monitored, and in response to any one of the user information, the enterprise information, and the advertisement information being changed, the change information is imported into middleware, the change information in the middleware is checked to obtain record information, and the record information is imported into a record database.
Based on the information recording method provided by the embodiment of the disclosure, monitoring service information in a plurality of service systems; responding to the change of service information in at least one service system, and importing the changed service information into the middleware; and verifying the changed business information in the middleware to obtain the record information, and importing the record information into a record database. Therefore, the embodiment of the application utilizes the middleware to cache the massive change service information obtained through monitoring, so that the change service information in the service system can be recorded simultaneously under different modes to facilitate the horizontal expansion of the service system, the decoupling of the service system and the data development is realized, and in addition, the changed service information is checked, so that the service information needing to be focused in the later period is screened out, and the workload of data analysis personnel is reduced.
As shown in fig. 2, in some optional implementations, based on the embodiment shown in fig. 1, step S104 may specifically include:
s201, responding to the change of the business information in at least one business system, and acquiring a business table, a change type and a change field of the changed business information in at least one business system.
Among them, the change types may include: new addition, update, and deletion of service information.
S202, importing a business table, a change type and a change field of the changed business information in at least one business system into the middleware.
For example, a database in each service system is simulated by using a master-slave replication principle of a relational database management system MYSQL, a slave library for storing changed service data is obtained, the changed service data is pulled from the slave library where each service table is located, and after the changed data stored based on an original binary form is analyzed into a structure of { the service table, a change type and specific data }, the message middleware is imported.
In one example, in response to a change in a user name of user a in the user service system, a service table-user personal information table, a change type-update, and a change field-user name (name) field of the user name in the user service system are obtained, and the changed service information is imported into the middleware.
Therefore, the embodiment of the disclosure can complete accurate recording of the data change types and positions in each service table in a plurality of service systems, avoid frequent data development work and effectively improve the efficiency of data analysis work.
In some alternative embodiments, step S105 may be further included between step S104 and step S106: and the service information which is not more than the preset quantity is led out from the middleware based on the preset time interval, so that the problems of system operation efficiency reduction and the like caused by excessive led-out variable service information are avoided.
As shown in fig. 3, in some optional implementations, based on the embodiment shown in fig. 1, step S106 may specifically include:
s301, based on the preset configuration rules corresponding to each service system, checking the changed service information in the middleware to obtain the changed service information meeting the preset configuration rules.
S302, obtaining record information based on the changed business information meeting each preset configuration rule, and importing the record information into a record database.
In the embodiment of the disclosure, a record table is generated based on a service table where the service information satisfying the change of each preset configuration rule is located, and the record table is imported into a record database.
Wherein, a record table corresponds to a service table, and the record table may include: the method comprises the steps of adding field information of a primary key identifier, a change type, a time stamp, a service identifier and service information before and after the change.
The record table as shown in table 1 includes: the two self-increasing primary key identifiers are r_id=1 and r_id=2 respectively; a change type column-update for recording the data change type; a time stamp-2020.4.20 for recording the data change time; the service identifier-user name identifier id_name is used for tracing, and the source table, namely the main key id of the service table where the changed service information is located, is used as the service identifier in the record table; field information-before change: and thirdly, after the change, and fourthly, recording the data change by the service information before and after the change in the all reserved service tables.
TABLE 1
Self-increasing primary key identification Type of change Time stamp Service identification Field information
r_id=1 Updating 2020.4.20 id_name Zhang San
r_id=2 Updating 2020.4.20 id_name Zhang Si
As shown in fig. 4, the preset configuration rule may specifically include the following determination process:
s401, determining whether a business table in which business information changed in the middleware is located belongs to a preset business table; if so, step S402 is performed.
S402, determining whether the change type of the business information changed in the middleware belongs to a preset change type; if so, step S403 is performed.
S403, determining whether the change field of the business information changed in the middleware belongs to a preset change field.
Thus, the embodiment of the disclosure may filter the change that does not satisfy the above-described determination condition as an invalid change, and write the data after the verification pass into the corresponding record table.
Any of the information recording methods provided by the embodiments of the present disclosure may be performed by any suitable device having data processing capabilities, including, but not limited to: terminal equipment, servers, etc. Alternatively, any of the information recording methods provided by the embodiments of the present disclosure may be executed by a processor, such as the processor executing any of the information recording methods mentioned by the embodiments of the present disclosure by calling corresponding instructions stored in a memory. And will not be described in detail below.
Fig. 5 is a schematic structural view of an information recording apparatus provided in an exemplary embodiment of the present disclosure. The testing device can be arranged in electronic equipment such as terminal equipment and a server, and can execute the information recording method of any embodiment of the disclosure. As shown in fig. 5, the information recording apparatus includes:
a monitoring module 51, configured to monitor service information in a plurality of service systems;
an importing module 52, configured to import changed service information into the middleware in response to a change in service information in at least one service system;
and the obtaining module 53 is configured to verify the service information changed in the middleware, obtain record information, and import the record information into a record database.
Based on the information recording device provided by the embodiment of the disclosure, monitoring service information in a plurality of service systems; responding to the change of service information in at least one service system, and importing the changed service information into the middleware; and verifying the changed business information in the middleware to obtain the record information, and importing the record information into a record database. Therefore, the embodiment of the application utilizes the middleware to cache the massive change service information obtained through monitoring, so that the change service information in the service system can be recorded simultaneously under different modes to facilitate the horizontal expansion of the service system, the decoupling of the service system and the data development is realized, and in addition, the changed service information is checked, so that the service information needing to be focused in the later period is screened out, and the workload of data analysis personnel is reduced.
In some of these embodiments, the import module 52 includes:
the acquiring unit is used for responding to the change of the service information in the at least one service system and acquiring a service table, a change type and a change field of the changed service information in the at least one service system;
and the first importing unit is used for importing the business table, the change type and the change field of the changed business information in the at least one business system into the middleware.
In some embodiments, between the response unit and the first import unit, the method further includes: and the deriving unit is used for deriving the business information which is not more than the preset number of changes from the middleware based on the preset time interval.
In some of these embodiments, the obtaining module 53 includes:
the obtaining unit is used for verifying the changed business information in the middleware based on the preset configuration rules corresponding to each business system to obtain the changed business information meeting the preset configuration rules;
and the second importing unit is used for obtaining record information based on the changed service information meeting each preset configuration rule and importing the record information into a record database.
In some embodiments, the second introducing unit is specifically configured to: generating a record table based on the service table where the changed service information meeting the preset configuration rules is located, and importing the record table into a record database; wherein one record table corresponds to one service table.
In some of these embodiments, the record table comprises: the fields of the self-increasing main key identification, the change type, the time stamp, the service identification and the service information before and after the change.
Fig. 6 is a schematic structural view of an information recording apparatus provided in an exemplary embodiment of the present disclosure, which includes:
a service database 61 for storing service information of a plurality of service systems;
a delivery message unit 62 for delivering the changed service information;
middleware 63 for receiving and storing changed service information;
a configuration center 64 for storing preset configuration rules of each service system;
a consuming program unit 65, configured to receive, based on a preset time interval, changed service information derived from the middleware, and verify the derived changed service information based on preset configuration rules of the service systems;
a record database 66 for storing the changed service information passing the verification.
In addition, the embodiment of the disclosure also provides an electronic device, which comprises: a processor; a memory for storing the processor-executable instructions;
the processor is configured to read the executable instructions from the memory and execute the instructions to implement the information recording method according to any of the foregoing embodiments of the present disclosure.
Next, an electronic device according to an embodiment of the present disclosure is described with reference to fig. 7. The electronic device may be either or both of the first device and the second device, or a stand-alone device independent thereof, which may communicate with the first device and the second device to receive the acquired input signals therefrom. Fig. 7 illustrates a block diagram of an electronic device according to an embodiment of the disclosure. As shown in fig. 7, the electronic device includes one or more processors 71 and memory 72.
The processor 71 may be a Central Processing Unit (CPU) or other form of processing unit having data processing and/or instruction execution capabilities, and may control other components in the electronic device to perform desired functions.
Memory 72 may include one or more computer program products that may include various forms of computer-readable storage media, such as volatile memory and/or non-volatile memory. The volatile memory may include, for example, random Access Memory (RAM) and/or cache memory (cache), and the like. The non-volatile memory may include, for example, read Only Memory (ROM), hard disk, flash memory, and the like. One or more computer program instructions may be stored on the computer readable storage medium that can be executed by the processor 71 to implement the information recording methods and/or other desired functions of the software programs of the various embodiments of the present disclosure described above. In one example, the electronic device may further include: an input device 73 and an output device 74, which are interconnected by a bus system and/or other forms of connection mechanisms (not shown).
In addition, the input device 73 may also include, for example, a keyboard, a mouse, and the like.
The output device 74 can output various information to the outside. The output device 74 may include, for example, a display, speakers, a printer, and a communication network and remote output devices connected thereto, among others.
Of course, only some of the components of the electronic device relevant to the present disclosure are shown in fig. 7 for simplicity, components such as buses, input/output interfaces, and the like being omitted. In addition, the electronic device may include any other suitable components depending on the particular application.
In addition to the methods and apparatus described above, embodiments of the present disclosure may also be a computer program product comprising computer program instructions which, when executed by a processor, cause the processor to perform steps in the information recording method of the software program of the various embodiments described herein.
The computer program product may write program code for performing the operations of embodiments of the present disclosure in any combination of one or more programming languages, including an object oriented programming language such as Java, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device, partly on a remote computing device, or entirely on the remote computing device or server.
Furthermore, embodiments of the present disclosure may also be a computer-readable storage medium, on which computer program instructions are stored, which when being executed by a processor, cause the processor to perform steps in the information recording method of the software program of the above-described various embodiments of the present disclosure.
The computer readable storage medium may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may include, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium would include the following: an electrical connection having one or more wires, a portable disk, a hard disk, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The basic principles of the present disclosure have been described above in connection with specific embodiments, however, it should be noted that the advantages, benefits, effects, etc. mentioned in the present disclosure are merely examples and not limiting, and these advantages, benefits, effects, etc. are not to be considered as necessarily possessed by the various embodiments of the present disclosure. Furthermore, the specific details disclosed herein are for purposes of illustration and understanding only, and are not intended to be limiting, since the disclosure is not necessarily limited to practice with the specific details described.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described in a different manner from other embodiments, so that the same or similar parts between the embodiments are mutually referred to. For system embodiments, the description is relatively simple as it essentially corresponds to method embodiments, and reference should be made to the description of method embodiments for relevant points.
The block diagrams of the devices, apparatuses, devices, systems referred to in this disclosure are merely illustrative examples and are not intended to require or imply that the connections, arrangements, configurations must be made in the manner shown in the block diagrams. As will be appreciated by one of skill in the art, the devices, apparatuses, devices, systems may be connected, arranged, configured in any manner. Words such as "including," "comprising," "having," and the like are words of openness and mean "including but not limited to," and are used interchangeably therewith. The terms "or" and "as used herein refer to and are used interchangeably with the term" and/or "unless the context clearly indicates otherwise. The term "such as" as used herein refers to, and is used interchangeably with, the phrase "such as, but not limited to.
The methods and apparatus of the present disclosure may be implemented in a number of ways. For example, the methods and apparatus of the present disclosure may be implemented by software, hardware, firmware, or any combination of software, hardware, firmware. The above-described sequence of steps for the method is for illustration only, and the steps of the method of the present disclosure are not limited to the sequence specifically described above unless specifically stated otherwise. Furthermore, in some embodiments, the present disclosure may also be implemented as programs recorded in a recording medium, the programs including machine-readable instructions for implementing the methods according to the present disclosure. Thus, the present disclosure also covers a recording medium storing a program for executing the method according to the present disclosure.
It is also noted that in the apparatus, devices and methods of the present disclosure, components or steps may be disassembled and/or assembled. Such decomposition and/or recombination should be considered equivalent to the present disclosure.
The previous description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present disclosure. Various modifications to these aspects will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other aspects without departing from the scope of the disclosure. Thus, the present disclosure is not intended to be limited to the aspects shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
The foregoing description has been presented for purposes of illustration and description. Furthermore, this description is not intended to limit the embodiments of the disclosure to the form disclosed herein. Although a number of example aspects and embodiments have been discussed above, a person of ordinary skill in the art will recognize certain variations, modifications, alterations, additions, and subcombinations thereof.

Claims (11)

1. An information recording method, characterized by comprising:
monitoring service information in a plurality of service systems;
responding to the change of the service information in the at least one service system, and acquiring a service table, a change type and a change field of the changed service information in the at least one service system; importing a service table, a change type and a change field of the changed service information in the at least one service system into the middleware;
based on the preset configuration rules corresponding to each service system, verifying the changed service information in the middleware to obtain changed service information meeting the preset configuration rules; and obtaining record information based on the changed service information meeting each preset configuration rule, and importing the record information into a record database.
2. The method of claim 1, wherein said importing changed service information into middleware and said verifying changed service information in said middleware in response to a change in service information in at least one service system, obtaining record information, and importing said record information into a record database, further comprises: and deriving the changed service information which is not more than a preset number from the middleware based on a preset time interval.
3. The method of claim 1, wherein the preset configuration rules comprise:
determining whether a business table in which the business information changed in the middleware is located belongs to a preset business table or not; if it belongs to
Determining whether the change type of the business information changed in the middleware belongs to a preset change type; if it belongs to
And determining whether a change field of the business information changed in the middleware belongs to a preset change field.
4. A method according to claim 3, wherein the obtaining the record information based on the changed service information satisfying each preset configuration rule and importing the record information into a record database comprises: generating a record table based on the service table where the changed service information meeting the preset configuration rules is located, and importing the record table into a record database; wherein one record table corresponds to one service table.
5. The method of claim 4, wherein the record table comprises: the fields of the self-increasing main key identification, the change type, the time stamp, the service identification and the service information before and after the change.
6. An information recording apparatus, comprising:
the monitoring module is used for monitoring service information in a plurality of service systems;
the importing module is used for responding to the change of the service information in at least one service system and importing the changed service information into the middleware; the obtaining module is used for verifying the changed business information in the middleware to obtain record information and importing the record information into a record database;
the importing module includes:
the acquiring unit is used for responding to the change of the service information in the at least one service system and acquiring a service table, a change type and a change field of the changed service information in the at least one service system;
a first importing unit, configured to import a service table, a change type, and a change field of the changed service information in the at least one service system into the middleware;
the obtaining module comprises:
the obtaining unit is used for verifying the changed business information in the middleware based on the preset configuration rules corresponding to each business system to obtain the changed business information meeting the preset configuration rules;
and the second importing unit is used for obtaining record information based on the changed service information meeting each preset configuration rule and importing the record information into a record database.
7. The apparatus of claim 6, wherein between the response unit and the first import unit, further comprising: and the deriving unit is used for deriving the business information which is not more than the preset number of changes from the middleware based on the preset time interval.
8. The apparatus according to claim 6, wherein the second importing unit is specifically configured to: generating a record table based on the service table where the changed service information meeting the preset configuration rules is located, and importing the record table into a record database; wherein one record table corresponds to one service table.
9. An information recording apparatus, characterized by comprising:
a service database for storing service information of a plurality of service systems;
a delivery message unit for delivering the changed business information; the method comprises the steps of responding to the change of service information in at least one service system, and obtaining a service table, a change type and a change field of the changed service information in the at least one service system; importing a service table, a change type and a change field of the changed service information in the at least one service system into the middleware;
middleware for receiving and storing the changed service information;
the configuration center is used for storing preset configuration rules of each service system;
the consumption program unit is used for receiving the changed service information derived from the middleware based on a preset time interval, and verifying the derived changed service information based on preset configuration rules of each service system to obtain changed service information meeting each preset configuration rule; obtaining record information based on the changed service information meeting each preset configuration rule, and importing the record information into a record database;
and the record database is used for storing the changed business information passing the verification.
10. A computer-readable storage medium, characterized in that the storage medium stores a computer program for executing the information recording method according to any one of the preceding claims 1-5.
11. An electronic device, the electronic device comprising:
a processor;
a memory for storing the processor-executable instructions;
the processor is configured to read the executable instructions from the memory and execute the instructions to implement the information recording method according to any one of the preceding claims 1-5.
CN202010375200.0A 2020-05-06 2020-05-06 Information recording method, device and equipment Active CN111581213B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010375200.0A CN111581213B (en) 2020-05-06 2020-05-06 Information recording method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010375200.0A CN111581213B (en) 2020-05-06 2020-05-06 Information recording method, device and equipment

Publications (2)

Publication Number Publication Date
CN111581213A CN111581213A (en) 2020-08-25
CN111581213B true CN111581213B (en) 2024-02-13

Family

ID=72122767

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010375200.0A Active CN111581213B (en) 2020-05-06 2020-05-06 Information recording method, device and equipment

Country Status (1)

Country Link
CN (1) CN111581213B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112115836A (en) * 2020-09-11 2020-12-22 北京金堤科技有限公司 Information verification method and device, computer readable storage medium and electronic equipment

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016177075A1 (en) * 2015-07-27 2016-11-10 中兴通讯股份有限公司 Method of checking associative relationship of service data, device and readable storage medium utilizing same
WO2017092351A1 (en) * 2015-12-01 2017-06-08 乐视控股(北京)有限公司 Cache data update method and device
CN107015991A (en) * 2016-01-28 2017-08-04 阿里巴巴集团控股有限公司 Self checking method, device, system and the service apparatus of data consistency
CN107103068A (en) * 2017-04-18 2017-08-29 聚好看科技股份有限公司 The update method and device of service buffer
CN108399256A (en) * 2018-03-06 2018-08-14 北京慧萌信安软件技术有限公司 Heterogeneous database content synchronization method, device and middleware
CN109614262A (en) * 2018-09-25 2019-04-12 阿里巴巴集团控股有限公司 Business method of calibration, device and computer readable storage medium
CN109635550A (en) * 2018-12-12 2019-04-16 苏州思必驰信息科技有限公司 Authorization check method, gateway and the system of company-data
WO2019148720A1 (en) * 2018-02-01 2019-08-08 平安科技(深圳)有限公司 Electronic device, data storage method and storage medium
CN110134737A (en) * 2019-05-20 2019-08-16 中国铁道科学研究院集团有限公司 Data variation monitor method and device, electronic equipment and computer readable storage medium
CN110764942A (en) * 2019-09-17 2020-02-07 平安银行股份有限公司 Multi-type data checking method, device, computer system and readable storage medium
CN110991992A (en) * 2019-11-27 2020-04-10 贝壳技术有限公司 Business process information processing method and device, storage medium and electronic equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8700682B2 (en) * 2009-12-24 2014-04-15 Vertafore, Inc. Systems, methods and articles for template based generation of markup documents to access back office systems
US10078571B2 (en) * 2015-12-09 2018-09-18 International Business Machines Corporation Rule-based adaptive monitoring of application performance

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016177075A1 (en) * 2015-07-27 2016-11-10 中兴通讯股份有限公司 Method of checking associative relationship of service data, device and readable storage medium utilizing same
WO2017092351A1 (en) * 2015-12-01 2017-06-08 乐视控股(北京)有限公司 Cache data update method and device
CN107015991A (en) * 2016-01-28 2017-08-04 阿里巴巴集团控股有限公司 Self checking method, device, system and the service apparatus of data consistency
CN107103068A (en) * 2017-04-18 2017-08-29 聚好看科技股份有限公司 The update method and device of service buffer
WO2019148720A1 (en) * 2018-02-01 2019-08-08 平安科技(深圳)有限公司 Electronic device, data storage method and storage medium
CN108399256A (en) * 2018-03-06 2018-08-14 北京慧萌信安软件技术有限公司 Heterogeneous database content synchronization method, device and middleware
CN109614262A (en) * 2018-09-25 2019-04-12 阿里巴巴集团控股有限公司 Business method of calibration, device and computer readable storage medium
CN109635550A (en) * 2018-12-12 2019-04-16 苏州思必驰信息科技有限公司 Authorization check method, gateway and the system of company-data
CN110134737A (en) * 2019-05-20 2019-08-16 中国铁道科学研究院集团有限公司 Data variation monitor method and device, electronic equipment and computer readable storage medium
CN110764942A (en) * 2019-09-17 2020-02-07 平安银行股份有限公司 Multi-type data checking method, device, computer system and readable storage medium
CN110991992A (en) * 2019-11-27 2020-04-10 贝壳技术有限公司 Business process information processing method and device, storage medium and electronic equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
王战英 ; 王占宏 ; .基于元数据的分布式通用查询系统研究与实现.微型电脑应用.2017,(08),全文. *
王明明 ; 郭昌言 ; 刘从军 ; .基于J2EE的动态配置开发平台研究与实现.现代电子技术.2010,(06),全文. *

Also Published As

Publication number Publication date
CN111581213A (en) 2020-08-25

Similar Documents

Publication Publication Date Title
CN107506451B (en) Abnormal information monitoring method and device for data interaction
CN108874558B (en) Message subscription method of distributed transaction, electronic device and readable storage medium
CN107958010B (en) Method and system for online data migration
CN110990420A (en) Data query method and device
CN111339073A (en) Real-time data processing method and device, electronic equipment and readable storage medium
CN114428822B (en) Data processing method and device, electronic equipment and storage medium
CN113076729A (en) Method and system for importing report, readable storage medium and electronic equipment
CN110781197A (en) Hive offline synchronous verification method and device and electronic equipment
CN111611276A (en) Data query method, device and storage medium
EP2904520B1 (en) Reference data segmentation from single to multiple tables
CN111581213B (en) Information recording method, device and equipment
CN110888972A (en) Sensitive content identification method and device based on Spark Streaming
CN110704273B (en) Processing method and device of configuration information, electronic equipment and storage medium
CN112579632A (en) Data verification method, device, equipment and medium
CN112579578A (en) Metadata-based data quality management method, device and system and server
CN112148762A (en) Statistical method and device for real-time data stream
CN115293685A (en) Logistics order state tracking method, device, equipment and storage medium
US8868485B2 (en) Data flow cost modeling
CN111831534A (en) Method and device for verifying accuracy of datagram table
CN116661758B (en) Method, device, electronic equipment and medium for optimizing log framework configuration
CN109828983A (en) PG data base processing method, device, electronic equipment and storage medium
CN114925145B (en) Data storage method and device, storage medium and electronic equipment
CN111625605B (en) Information synchronization method and device, storage medium and electronic equipment
CN112035425B (en) Log storage method and device and computer system
CN114547404B (en) Big data platform system

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