CN112579682A - Data model change notification method and device, electronic device and storage medium - Google Patents

Data model change notification method and device, electronic device and storage medium Download PDF

Info

Publication number
CN112579682A
CN112579682A CN202011545664.8A CN202011545664A CN112579682A CN 112579682 A CN112579682 A CN 112579682A CN 202011545664 A CN202011545664 A CN 202011545664A CN 112579682 A CN112579682 A CN 112579682A
Authority
CN
China
Prior art keywords
data
interface
data model
change
user
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.)
Granted
Application number
CN202011545664.8A
Other languages
Chinese (zh)
Other versions
CN112579682B (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.)
Agricultural Bank of China
Original Assignee
Agricultural Bank of China
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 Agricultural Bank of China filed Critical Agricultural Bank of China
Priority to CN202011545664.8A priority Critical patent/CN112579682B/en
Publication of CN112579682A publication Critical patent/CN112579682A/en
Application granted granted Critical
Publication of CN112579682B publication Critical patent/CN112579682B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/25Integrating or interfacing systems involving database management systems
    • G06F16/252Integrating or interfacing systems involving database management systems between a Database Management System and a front-end application
    • 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/21Design, administration or maintenance of databases
    • G06F16/211Schema design and management
    • G06F16/212Schema design and management with details for data modelling support
    • 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/23Updating
    • G06F16/2358Change logging, detection, and notification

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application provides a method and a device for notifying data model change, an electronic device and a storage medium, wherein in the method for notifying the data model change, data model change information sent by a data module is received firstly, wherein the data model change information comprises a changed data model and change contents of the data model. And then finding out a data interface corresponding to the data model, and determining whether the data interface has a corresponding interface user, wherein the interface user is a user object for acquiring the data of the current system through the data interface. And if the data interface has the corresponding interface user, reading the changed content of the data model. And then, judging whether the change of the data model influences the data interface or not based on the change content of the data model. And if the change of the data model is judged to affect the data interface, sending a notification message of the change of the data model to an interface user.

Description

Data model change notification method and device, electronic device and storage medium
Technical Field
The present application relates to the field of data transmission technologies, and in particular, to a method and an apparatus for notifying a change of a data model, an electronic device, and a storage medium.
Background
In order to realize the self service function of the application system, a plurality of data models are maintained, and the generated service data are stored according to the format of the data models. Meanwhile, the application system may provide the generated service data externally in a data structure of the relevant data model, and may also access data provided by other application systems. At this time, a data interface is often needed for data transmission, and the data interface defines a data format that the current application system can provide for external data access, for example, which output parameters are provided externally by the interface, and information such as a name and a type of each parameter.
In the prior art, when the data model of a data provider system is changed, a user system cannot be informed in time. Therefore, if one system uses a set of data provided by the other system, such as accessing a data table of a data provider and receiving a data file provided by the data provider, when the data model of the data provider is changed, the user system cannot be notified in time, and the data access of the user system is affected, so that the related data cannot be acquired continuously through the data interface.
Disclosure of Invention
In view of this, the present application provides a method and an apparatus for notifying a data model change, an electronic device, and a storage medium, so as to solve the problem in the prior art that when a data model of a data provider is changed, a user system cannot be notified in time, and thus the user system cannot continuously obtain related data through a data interface.
In order to achieve the above purpose, the present application provides the following technical solutions:
the first aspect of the present application provides a method for notifying a change of a data model, which is applied to an interface module, and the method for notifying a change of a data model includes:
receiving data model change information sent by a data module, wherein the data model change information comprises a changed data model and change contents of the data model;
finding out a data interface corresponding to the data model;
determining whether the data interface has a corresponding interface user, wherein the interface user is a use object for acquiring data of the current system through the data interface;
if the data interface is determined to have a corresponding interface user, reading the change content of the data model;
judging whether the change of the data model can affect the data interface or not based on the change content of the data model;
and if the change of the data model is judged to affect the data interface, sending a notification message of the change of the data model to the interface user.
Optionally, in the above method, before receiving the data model change information sent by the data module, the method further includes:
and recording the interface using party using the current data interface for each data interface.
Optionally, in the method, the determining whether the change of the data model affects the data interface based on the change content of the data model includes:
if the changed content of the data model is newly added with one or more attributes, the data interface is not influenced;
if the changed content of the data model is that one or more attributes are deleted, and the data structure provided by the data interface to the interface user comprises any one of the deleted attributes, the data interface is affected;
if the changed content of the data model is that one or more attributes are modified, and the data structure provided by the data interface to the interface user includes any one of the modified attributes, the data interface is affected.
Optionally, in the method, if it is determined that the change of the data model may affect the data interface, sending a notification message that the data model is changed to the interface user includes:
if the change of the data model is judged to affect the data interface, generating a notification message of the change of the data model according to the change content of the data model;
and sending the notification message to the interface user.
The second aspect of the present application provides a notification apparatus for a data model change, which is applied to an interface module, and the notification method for a data model change includes:
the data model modification device comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for receiving data model modification information sent by a data module, and the data model modification information comprises a modified data model and modification content of the data model;
the searching unit is used for searching a data interface corresponding to the data model;
the determining unit is used for determining whether the data interface has a corresponding interface user, wherein the interface user is a user object for acquiring the data of the current system through the data interface;
the reading unit is used for reading the change content of the data model if the data interface has a corresponding interface user;
a judging unit, configured to judge whether a change of the data model affects the data interface based on a change content of the data model;
and the sending unit is used for sending a notification message that the data model is changed to the interface user if the change of the data model is judged to affect the data interface.
Optionally, the above apparatus further includes:
and the recording unit is used for recording the interface user using the current data interface aiming at each data interface.
Optionally, in the foregoing apparatus, the determining unit includes:
the first judging subunit is used for not influencing the data interface if the changed content of the data model is newly added with one or more attributes;
a second determining subunit, configured to, if the modified content of the data model is that one or more attributes are deleted, and a data structure provided by the data interface to the interface user includes any one of the deleted attributes, affect the data interface;
and the third judging subunit is configured to, if the changed content of the data model is that one or more attributes are modified, and the data structure provided by the data interface to the interface user includes any one of the modified attributes, affect the data interface.
Optionally, in the foregoing apparatus, the sending unit includes:
an information generation subunit, configured to generate a notification message that the data model is changed according to the change content of the data model if it is determined that the change of the data model affects the data interface;
and the sending subunit is configured to send the notification message to the interface user.
A third aspect of the present application discloses an electronic device, comprising:
one or more processors;
a storage device having one or more programs stored thereon;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of any of the first aspects of the present invention.
A fourth aspect of the present application discloses a computer storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method according to any one of the first aspect of the present invention.
In the above technical solution, in the notification method for data model change provided by the present application, first, data model change information sent by a data module is received, where the data model change information includes a changed data model and change contents of the data model. And then finding out a data interface corresponding to the data model, and determining whether the data interface has a corresponding interface user, wherein the interface user is a user object for acquiring the data of the current system through the data interface. And if the data interface has the corresponding interface user, reading the changed content of the data model. And then, judging whether the change of the data model influences the data interface or not based on the change content of the data model. And if the change of the data model is judged to affect the data interface, sending a notification message of the change of the data model to an interface user. Therefore, by using the method of the application, when the data model is changed, the interface module can receive the data model change information sent by the data module in time, and if the current data model change can affect the interface user, a notification message of the change of the data model can be sent to the affected interface user in time. The problem that in the prior art, when a data model of a data provider is changed, a user system cannot be notified in time, and therefore the user system cannot continuously acquire related data through a data interface is solved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a notification method of a data model change according to an embodiment of the present application;
FIG. 2 is a flowchart of one embodiment of step S105 disclosed in another embodiment of the present application;
FIG. 3 is a schematic diagram of a data model change notification apparatus according to another embodiment of the present application;
fig. 4 is a schematic diagram of an electronic device according to another embodiment of the disclosure.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In this application, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Moreover, in this document, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions.
As is clear from the background art, in the conventional art, when a data model of a data provider system is changed, a user system cannot be notified in time. Therefore, if one system uses a set of data provided by the other system, such as accessing a data table of a data provider and receiving a data file provided by the data provider, when the data model of the data provider is changed, the user system cannot be notified in time, and the data access of the user system is affected, so that the related data cannot be acquired continuously through the data interface.
In view of this, the present application provides a method and an apparatus for notifying a change of a data model, an electronic device, and a storage medium, so as to solve the problem in the prior art that when a data model of a data provider is changed, a user system cannot be notified in time, and thus the user system cannot continuously obtain related data through a data interface.
The embodiment of the present application provides a notification method for data model change, which is applied to an interface module, and as shown in fig. 1, specifically includes:
s101, receiving data model change information sent by a data module, wherein the data model change information comprises a changed data model and change contents of the data model.
The data module is mainly used for managing the data model of the application system and recording information such as attributes and changes of the data model. The interface module is connected with the data module and is mainly used for storing accessible data definitions provided by the application system, other application systems can access the data provided by the current application system through the data interface of the module, and meanwhile, the data access relation between the current application system and the application system of a user is recorded.
It should be further noted that, if the data model of the current application system changes, the data module sends related data model change information to the interface module, and the interface module receives the data model change information sent by the data module in real time, where the data model change information includes what the data model that is specifically changed is and what the change content of the specific data model is.
Optionally, in another embodiment of the present application, before performing step S101, the method may further include:
and recording the interface using party using the current data interface for each data interface.
It should be noted that, when other application systems need to access the data of the current application system by connecting the current data interface, the application system that needs to be connected and the corresponding relationship of the data interface connected to the application system are all recorded in the database of the interface module.
S102, finding out a data interface corresponding to the data model.
It should be noted that, after receiving the data model change information sent by the data module, the interface module knows what the data model that is specifically changed is according to the data model change information, and then finds out what the data interface that corresponds to the data model that is changed is specific according to the attribute of each data interface.
S103, determining whether the data interface has a corresponding interface user, wherein the interface user is a user object for acquiring the data of the current system through the data interface.
It should be noted that after finding the data interface corresponding to the data model, the interface module needs to determine whether the current data interface has a corresponding interface user, where the interface user is a user who obtains data of the current system through the data interface, for example, other application systems access some data externally provided by the current system through the data interface.
And S104, if the data interface has the corresponding interface user, reading the changed content of the data model.
It should be noted that, if it is determined that the data interface related to the data model change has a corresponding interface user, the change of the data model of the current application system may affect the interface user connected to the interface, and if the change is not processed, the interface user may be affected by the data model change and cannot access the relevant data of the current application system from the data interface. Therefore, at this time, it is necessary to read some specific changed contents of the data model to determine that the changed contents will not affect the interface user.
And S105, judging whether the change of the data model influences the data interface or not based on the change content of the data model.
It should be noted that, since the data interface in the interface module is specific to the externally provided data structure, the data attributes contained therein do not necessarily contain all the attributes in the data module, for example, the data model is table T1(s1, s2, s3), T2(s1, s2, s3, s4), and s1-sn is the field attribute in the table structure, the output of the data interface may be I (T1-s1, T1-s2, T2-s 4). Therefore, it is necessary to determine which data attributes are involved in the current data model change and whether the data attributes affect the data interface based on the specific change content of the data model.
Optionally, in another embodiment of the present application, an implementation manner of step S105, as shown in fig. 2, specifically includes:
s201, if the changed content of the data model is newly added with one or more attributes, the data interface is not affected.
It should be noted that, after the specific change content of the data model of the current application system is read, if the change content of the data model is newly added one or more attributes, the externally provided data structure of the original data interfaces is not affected, because the originally provided data attributes are not changed, the interface user can access the data of the current application system through the data interface according to the original data structure, and therefore the data interface is not affected.
S202, if the changed content of the data model is that one or more attributes are deleted, and the data structure provided by the data interface to the interface user comprises any one of the deleted attributes, the data interface is affected.
It should be noted that, if the changed content of the data model is to delete one or more attributes, and the data structure provided by the data interface to the interface user includes any one of the deleted attributes, the data structure originally provided by the data interface to the outside will change at this time, some data attributes originally output will not exist, and the interface user will not be able to access the data of the current application system through the data interface any more because the data attributes originally used have changed, so the data interface will be affected in this case.
S203, if the changed content of the data model is that one or more attributes are modified, and the data structure provided by the data interface to the interface user comprises any one of the modified attributes, the data interface is affected.
It should be noted that, if the changed content of the data model is that one or more attributes are modified, and the data structure provided by the data interface to the interface user includes any one of the modified attributes, then the data structure originally provided by the data interface to the outside will change, some data attributes originally output will need to be updated to the modified data attributes, and at this time, the interface user will change the data attributes originally used, which results in that the data of the current application system cannot be accessed through the data interface, and therefore, the data interface will be affected in this case.
And S106, if the change of the data model is judged to affect the data interface, sending a notification message of the change of the data model to an interface user.
It should be noted that, since the change of the data model of the current application system may affect the data interface, the interface module needs to send a notification message that the current data model is changed to the affected interface user, and then the interface user may modify the data according to the notification message, so as to access the data of the current application system through the data interface again.
Optionally, in another embodiment of the present application, an implementation manner of the step S106 may include:
and if the change of the data model is judged to affect the data interface, generating a notification message for changing the data model according to the change content of the data model.
And sending the notification message to the interface user.
It should be noted that, if it is determined that the change of the data model affects the data interface, a notification message including the change content of the data model is generated according to the read specific change content of the data model, and then the notification message is sent to the interface user, so that the interface user can know in detail what content the data model of the current application system has been specifically changed, and accordingly perform corresponding data modification for the changes, and access the related data of the current application system through the data interface again.
In the method for notifying the change of the data model provided by the embodiment of the application, first, data model change information sent by a data module is received, wherein the data model change information includes the changed data model and the change content of the data model. And then finding out a data interface corresponding to the data model, and determining whether the data interface has a corresponding interface user, wherein the interface user is a user object for acquiring the data of the current system through the data interface. And if the data interface has the corresponding interface user, reading the changed content of the data model. And then, judging whether the change of the data model influences the data interface or not based on the change content of the data model. And if the change of the data model is judged to affect the data interface, sending a notification message of the change of the data model to an interface user. Therefore, by using the method of the application, when the data model is changed, the interface module can receive the data model change information sent by the data module in time, and if the current data model change can affect the interface user, a notification message of the change of the data model can be sent to the affected interface user in time. The problem that in the prior art, when a data model of a data provider is changed, a user system cannot be notified in time, and therefore the user system cannot continuously acquire related data through a data interface is solved.
Another embodiment of the present application further discloses a notification device for data model change, as shown in fig. 3, specifically including:
a receiving unit 301, configured to receive data model change information sent by a data module, where the data model change information includes a changed data model and a change content of the data model;
a searching unit 302, configured to search for a data interface corresponding to the data model;
a determining unit 303, configured to determine whether the data interface has a corresponding interface user, where the interface user is a user that obtains data of the current system through the data interface;
a reading unit 304, configured to read a change content of the data model if it is determined that the data interface has a corresponding interface user;
a determination unit 305 configured to determine whether or not a change in the data model affects the data interface based on a change content of the data model;
a sending unit 306, configured to send a notification message that the data model is changed to the interface user if it is determined that the change of the data model affects the data interface.
In the notification apparatus for data model change according to the embodiment of the present application, first, the receiving unit 301 receives data model change information transmitted by a data module, where the data model change information includes a changed data model and a change content of the data model. Then, the searching unit 302 searches for a data interface corresponding to the data model, and the determining unit 303 determines whether the data interface has a corresponding interface user, where the interface user is a user object for acquiring data of the current system through the data interface. If the reading unit 304 determines that the data interface has a corresponding interface user, the modified content of the data model is read. Next, based on the content of the change of the data model, the determination unit 305 determines whether or not the change of the data model affects the data interface. If it is determined that the change of the data model affects the data interface, the sending unit 306 sends a notification message indicating that the change of the data model occurs to the interface user. Therefore, by using the method of the application, when the data model is changed, the interface module can receive the data model change information sent by the data module in time, and if the current data model change can affect the interface user, a notification message of the change of the data model can be sent to the affected interface user in time. The problem that in the prior art, when a data model of a data provider is changed, a user system cannot be notified in time, and therefore the user system cannot continuously acquire related data through a data interface is solved.
In this embodiment, for specific implementation processes of the receiving unit 301, the searching unit 302, the determining unit 303, the reading unit 304, the determining unit 305, and the sending unit 306, reference may be made to the contents of the method embodiment corresponding to fig. 1, and details are not described herein again.
Optionally, in another embodiment of the present application, the notification device for notifying the change of the data model may further include:
and the recording unit is used for recording the interface user using the current data interface aiming at each data interface.
In this embodiment, the specific execution process of the recording unit may refer to the content of the corresponding method embodiment, which is not described herein again.
Optionally, in another embodiment of the present application, an implementation method of the determining unit 305 specifically includes:
and the first judgment subunit is used for not influencing the data interface if the changed content of the data model is newly added with one or more attributes.
And the second judgment subunit is used for influencing the data interface if the changed content of the data model is that one or more attributes are deleted and the data structure provided by the data interface to the interface user comprises any one of the deleted attributes.
And the third judging subunit is used for influencing the data interface if the changed content of the data model is that one or more attributes are modified and the data structure provided by the data interface to the interface user comprises any one of the modified attributes.
In this embodiment, the specific implementation processes of the first determining subunit, the second determining subunit, and the third determining subunit can refer to the contents of the method embodiment corresponding to fig. 2, and are not described herein again.
Optionally, in another embodiment of the present application, an implementation method of the sending unit 306 specifically includes:
and the information generation subunit is used for generating a notification message for the change of the data model according to the change content of the data model if the change of the data model is judged to affect the data interface.
And the sending subunit is used for sending the notification message to the interface user.
In this embodiment, for specific execution processes of the information generating subunit and the sending subunit, reference may be made to the contents of the corresponding method embodiments described above, and details are not described here again.
Another embodiment of the present application further provides an electronic device, as shown in fig. 4, specifically including:
one or more processors 401.
A storage device 402 having one or more programs stored thereon.
The one or more programs, when executed by the one or more processors 401, cause the one or more processors 401 to implement the method as in any one of the embodiments described above.
Another embodiment of the present application further provides a computer storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method according to any one of the above embodiments.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, the system or system embodiments are substantially similar to the method embodiments and therefore are described in a relatively simple manner, and reference may be made to some of the descriptions of the method embodiments for related points. The above-described system and system embodiments are only illustrative, wherein the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method for notifying data model change is applied to an interface module, and comprises the following steps:
receiving data model change information sent by a data module, wherein the data model change information comprises a changed data model and change contents of the data model;
finding out a data interface corresponding to the data model;
determining whether the data interface has a corresponding interface user, wherein the interface user is a use object for acquiring data of the current system through the data interface;
if the data interface is determined to have a corresponding interface user, reading the change content of the data model;
judging whether the change of the data model can affect the data interface or not based on the change content of the data model;
and if the change of the data model is judged to affect the data interface, sending a notification message of the change of the data model to the interface user.
2. The method of claim 1, wherein before receiving the data model change information sent by the data module, the method further comprises:
and recording the interface using party using the current data interface for each data interface.
3. The method of claim 1, wherein determining whether the change to the data model affects the data interface based on the content of the change to the data model comprises:
if the changed content of the data model is newly added with one or more attributes, the data interface is not influenced;
if the changed content of the data model is that one or more attributes are deleted, and the data structure provided by the data interface to the interface user comprises any one of the deleted attributes, the data interface is affected;
if the changed content of the data model is that one or more attributes are modified, and the data structure provided by the data interface to the interface user includes any one of the modified attributes, the data interface is affected.
4. The method of claim 1, wherein sending a notification message to the interface user that the change to the data model has an effect on the data interface comprises:
if the change of the data model is judged to affect the data interface, generating a notification message of the change of the data model according to the change content of the data model;
and sending the notification message to the interface user.
5. A data model change notification device is applied to an interface module, and is characterized in that the data model change notification method comprises the following steps:
the data model modification device comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for receiving data model modification information sent by a data module, and the data model modification information comprises a modified data model and modification content of the data model;
the searching unit is used for searching a data interface corresponding to the data model;
the determining unit is used for determining whether the data interface has a corresponding interface user, wherein the interface user is a user object for acquiring the data of the current system through the data interface;
the reading unit is used for reading the change content of the data model if the data interface has a corresponding interface user;
a judging unit, configured to judge whether a change of the data model affects the data interface based on a change content of the data model;
and the sending unit is used for sending a notification message that the data model is changed to the interface user if the change of the data model is judged to affect the data interface.
6. The apparatus of claim 5, further comprising:
and the recording unit is used for recording the interface user using the current data interface aiming at each data interface.
7. The apparatus according to claim 5, wherein the determining unit comprises:
the first judging subunit is used for not influencing the data interface if the changed content of the data model is newly added with one or more attributes;
a second determining subunit, configured to, if the modified content of the data model is that one or more attributes are deleted, and a data structure provided by the data interface to the interface user includes any one of the deleted attributes, affect the data interface;
and the third judging subunit is configured to, if the changed content of the data model is that one or more attributes are modified, and the data structure provided by the data interface to the interface user includes any one of the modified attributes, affect the data interface.
8. The apparatus of claim 5, wherein the sending unit comprises:
an information generation subunit, configured to generate a notification message that the data model is changed according to the change content of the data model if it is determined that the change of the data model affects the data interface;
and the sending subunit is configured to send the notification message to the interface user.
9. An electronic device, comprising:
one or more processors;
a storage device having one or more programs stored thereon;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of any of claims 1-4.
10. A computer storage medium, having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method of any of claims 1 to 4.
CN202011545664.8A 2020-12-24 2020-12-24 Method and device for notifying change of data model, electronic equipment and storage medium Active CN112579682B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011545664.8A CN112579682B (en) 2020-12-24 2020-12-24 Method and device for notifying change of data model, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011545664.8A CN112579682B (en) 2020-12-24 2020-12-24 Method and device for notifying change of data model, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112579682A true CN112579682A (en) 2021-03-30
CN112579682B CN112579682B (en) 2023-10-10

Family

ID=75139239

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011545664.8A Active CN112579682B (en) 2020-12-24 2020-12-24 Method and device for notifying change of data model, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112579682B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113190446A (en) * 2021-04-30 2021-07-30 中国银行股份有限公司 Monitoring method and device for bank system interface test
CN116483735A (en) * 2023-06-21 2023-07-25 平安银行股份有限公司 Method, device, storage medium and equipment for analyzing influence of code change

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103336798A (en) * 2013-06-17 2013-10-02 华南理工大学 Virtualized data access system and method of embedded network device
US20170169092A1 (en) * 2015-12-14 2017-06-15 AtScale, Inc. Data model design collaboration using semantically correct collaborative objects
US9729583B1 (en) * 2016-06-10 2017-08-08 OneTrust, LLC Data processing systems and methods for performing privacy assessments and monitoring of new versions of computer code for privacy compliance
CN108536774A (en) * 2018-03-27 2018-09-14 中国农业银行股份有限公司 A kind of synchronous method and system of structural data
WO2019054790A1 (en) * 2017-09-15 2019-03-21 삼성전자 주식회사 Content processing method and electronic device for supporting same
US20190236062A1 (en) * 2018-01-26 2019-08-01 Tranquil Data, Inc. System and method for using policy to achieve data segmentation
CN111026773A (en) * 2019-11-26 2020-04-17 泰康保险集团股份有限公司 Information processing method, information processing device, electronic equipment and storage medium
US20200125659A1 (en) * 2018-10-19 2020-04-23 International Business Machines Corporation Extracting structured information from unstructured data using domain problem application validation
CN111367932A (en) * 2020-03-06 2020-07-03 深圳市今天国际物流技术股份有限公司 Database table single change notification method and device, computer equipment and storage medium
CN111966756A (en) * 2020-08-21 2020-11-20 西安寰宇卫星测控与数据应用有限公司 Automatic table data synchronization method and device, computer equipment and storage medium
US10873457B1 (en) * 2017-09-13 2020-12-22 Inveniam.io, LLC Data structure having internal self-references suitable for immutably representing and verifying data generated over time

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103336798A (en) * 2013-06-17 2013-10-02 华南理工大学 Virtualized data access system and method of embedded network device
US20170169092A1 (en) * 2015-12-14 2017-06-15 AtScale, Inc. Data model design collaboration using semantically correct collaborative objects
US9729583B1 (en) * 2016-06-10 2017-08-08 OneTrust, LLC Data processing systems and methods for performing privacy assessments and monitoring of new versions of computer code for privacy compliance
US10873457B1 (en) * 2017-09-13 2020-12-22 Inveniam.io, LLC Data structure having internal self-references suitable for immutably representing and verifying data generated over time
WO2019054790A1 (en) * 2017-09-15 2019-03-21 삼성전자 주식회사 Content processing method and electronic device for supporting same
US20190236062A1 (en) * 2018-01-26 2019-08-01 Tranquil Data, Inc. System and method for using policy to achieve data segmentation
CN108536774A (en) * 2018-03-27 2018-09-14 中国农业银行股份有限公司 A kind of synchronous method and system of structural data
US20200125659A1 (en) * 2018-10-19 2020-04-23 International Business Machines Corporation Extracting structured information from unstructured data using domain problem application validation
CN111026773A (en) * 2019-11-26 2020-04-17 泰康保险集团股份有限公司 Information processing method, information processing device, electronic equipment and storage medium
CN111367932A (en) * 2020-03-06 2020-07-03 深圳市今天国际物流技术股份有限公司 Database table single change notification method and device, computer equipment and storage medium
CN111966756A (en) * 2020-08-21 2020-11-20 西安寰宇卫星测控与数据应用有限公司 Automatic table data synchronization method and device, computer equipment and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113190446A (en) * 2021-04-30 2021-07-30 中国银行股份有限公司 Monitoring method and device for bank system interface test
CN116483735A (en) * 2023-06-21 2023-07-25 平安银行股份有限公司 Method, device, storage medium and equipment for analyzing influence of code change
CN116483735B (en) * 2023-06-21 2024-03-19 平安银行股份有限公司 Method, device, storage medium and equipment for analyzing influence of code change

Also Published As

Publication number Publication date
CN112579682B (en) 2023-10-10

Similar Documents

Publication Publication Date Title
CN111159269B (en) Data processing method, device and system
CN107870989A (en) webpage generating method and terminal device
CN113364853A (en) Business service system, business request method and gateway equipment
CN112579682A (en) Data model change notification method and device, electronic device and storage medium
CN111224797B (en) Equipment access method and device and electronic equipment
CN112866062A (en) Distributed pressure test system, method, device, equipment and storage medium
CN110838971B (en) Message sending method and device, electronic equipment and storage medium
CN110046235B (en) Knowledge base assessment method, device and equipment
CN109600254B (en) Method for generating full-link log and related system
CN106649588B (en) Method, device and system for acquiring installed application program list
CN109446445B (en) Resource acquisition method and device
CN108132836B (en) Task distribution method and device and electronic equipment
CN110955460B (en) Service process starting method and device, electronic equipment and storage medium
CN110674153B (en) Data consistency detection method and device and electronic equipment
CN110427538B (en) Data query method, data storage method, data query device, data storage device and electronic equipment
CN110930253A (en) Intelligent contract internal main key generation method and device, computer equipment and storage medium
CN108390770B (en) Information generation method and device and server
CN110990694B (en) Recommendation method, device and system
CN111400327B (en) Data synchronization method and device, electronic equipment and storage medium
CN115412920A (en) Internet of things equipment binding system, method and device and electronic equipment
CN112558950B (en) System interface generation method and device
CN114185804A (en) Interface testing method and device and terminal equipment
CN114490402A (en) Method and device for checking validity of message field
CN109254855B (en) Registration method and device of parameter transmission protocol and electronic equipment
CN113836405B (en) Information query method, device and computer readable storage medium

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