CN107678774A - Method, system, computer installation and the readable storage medium storing program for executing of response data modification - Google Patents
Method, system, computer installation and the readable storage medium storing program for executing of response data modification Download PDFInfo
- Publication number
- CN107678774A CN107678774A CN201710930802.6A CN201710930802A CN107678774A CN 107678774 A CN107678774 A CN 107678774A CN 201710930802 A CN201710930802 A CN 201710930802A CN 107678774 A CN107678774 A CN 107678774A
- Authority
- CN
- China
- Prior art keywords
- data
- dependence
- function
- goal systems
- receptance function
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
Abstract
The present invention proposes a kind of method of response data modification, system, computer installation and the computer-readable recording medium of response data modification, wherein, the method for response data modification includes:Outside input is received, obtains the goal systems data that the needs that outside input includes are changed;Search with least one dependence system data of the goal systems data with dependence and with least one target response function of the goal systems data with dependence;Modification relies on system data;Performance objective receptance function.The present invention to system data when modifying, automatic carding system data dependence, automatic decision perform response logic code, and then alleviate the cost in development process and pressure, when system is increasingly huge, maintenance cost for reducing system, can play very big effect.
Description
Technical field
The present invention relates to technical field of data processing, method, number of responses in particular to a kind of modification of response data
According to the system of modification, computer installation and computer-readable recording medium.
Background technology
In the R & D design of SaaS (Software-as-a-Service, i.e. software are to service) system, typically can be
System is internal to establish a data model, for describing the state of whole system, the displaying at control system interface, judgement system needs
Which behavior act done.When the state of system changes because of external change, it is necessary to which change is synchronized into data model
On, the operation that is then responded further according to data model.System complexity than it is relatively low when, modification model and response are dynamic
The logic of work is also fairly simple, it is only necessary to writes logic for change.However as the rapid development of Internet technology, current
The business of the undertaking of SaaS systems is more and more, and the complexity of system also increasingly improves, for representing whole system current state
Data model also come bigger, state, which is likely present, relies on a variety of relations.So as to cause when data model changes, response is dynamic
Making the writing difficulty of logic becomes especially complex, bad maintenance., certainly will with the expansion of SaaS systems based on above-mentioned situation
Consume the exploitation of substantial amounts of human cost, safeguard relation between model and response logic.If document missing, personnel occur again
Situations such as flowing, then system can become increasingly difficult to safeguard.Therefore, how to reduce between data model and response logic
Complexity and how according to the change automatic carding dependence of data model, perform response logic and turn into urgently to be resolved hurrily and ask
Topic.
The content of the invention
It is contemplated that at least solves one of technical problem present in prior art or correlation technique.
Therefore, the first aspect of the invention is to propose a kind of method of response data modification.
The second aspect of the invention is to propose a kind of system of response data modification.
The third aspect of the invention is to propose a kind of computer installation.
The fourth aspect of the invention is to propose a kind of computer-readable recording medium.
In view of this, according to the first aspect of the invention, it is proposed that a kind of method of response data modification, including:Connect
Outside input is received, obtains the goal systems data that the needs that outside input includes are changed;Search with goal systems data have according to
At least one dependence system data for the relation of relying and at least one target response with goal systems data with dependence
Function;Modification relies on system data;Performance objective receptance function.
The method of response data modification provided by the invention, when receiving outside input, being obtained from outside input needs
The goal systems data to be changed, search at least one dependence system data for having dependence with goal systems data, modification
System data is relied on, and searches at least one target response function for having dependence with goal systems data, performance objective
Receptance function.The present invention passes through the automatic carding dependence related to goal systems data when changing goal systems data
Automatic synchronization changes the other systems data for having dependence with goal systems data, and, it is automatic to perform and goal systems number
According to all receptance functions for having dependence, and then the cost in development process and pressure are alleviated, when system is increasingly huge
When, the maintenance cost for reducing system, very big effect can be played.
The method changed according to the above-mentioned response data of the present invention, can also have following technical characteristic:
In the above-mentioned technical solutions, it is preferable that search the dependence system data that there is dependence with goal systems data
And there is the step of target response function of dependence with goal systems data, specifically include:Inquire about data dependence relation
With the presence or absence of the dependence system data with goal systems data with dependence in table;When in data dependence relation table exist with
When goal systems data have the dependence system data of dependence, obtain and rely on system data;Inquire about data receptance function according to
Rely in relation table with the presence or absence of the target response function with goal systems data with dependence;When data receptance function relies on
In the presence of when there is the target response function of dependence with goal systems data in relation table, target response function is obtained.
In the technical scheme, obtained by searching data dependence table has dependence with goal systems data
System data is relied on, inquiry data receptance function dependence table is searched and obtains the mesh that there is dependence with goal systems data
Receptance function is marked, i.e., is accurately acquired by the automatic carding dependence related to goal systems data and relies on system data
And target response function, and then can quickly and easily change and rely on system data and performance objective receptance function.
In any of the above-described technical scheme, it is preferable that receiving outside input, what acquisition outside input included needs to change
Goal systems data before, in addition to:System data model is created, system data model includes at least one system data;
It is determined that each dependence between system data and other system datas, creates data dependence relation table;Define receptance function;
It is determined that each dependence between system data and receptance function, creates data receptance function dependence table.
In the technical scheme, the system data model of system data is included by creating, and according to system data model
In system data between dependence create data dependence relation table so that when being modified to goal systems data,
The dependence system data for having dependence with goal systems data can easily be searched by data dependence relation table, so it is right
System data is relied on to modify;By defining receptance function, and according to the dependence between system data and receptance function
Create data receptance function dependence table so that when being modified to goal systems data, letter can be responded by data
Number dependence table easily searches the receptance function for having dependence with goal systems data, and then runs receptance function, leads to
Cross and create dependence table and reduce complexity between data model and response logic.
In any of the above-described technical scheme, it is preferable that it is determined that each dependence between system data and other system datas
Relation, create data dependence relation table the step of, specifically include:The calc functions of calling system data, value functions are performed,
Wherein calc functions include system data and value functions;If during value functions perform, calling arrives other systems
System data, it is determined that there is dependence between system data and other system datas;According to system data and other system numbers
The dependence having between, create data dependence relation table.
In the technical scheme, the calc functions of calling system data, and the value functions in calc functions are performed, will
Dependence system data of the other system datas called in value function implementation procedures as the system data, and then create
Dependence table, can be accurately obtained it is whole have other system datas of dependence with system data, and then pass through
Dependence table realizes the synchronous other system datas of change, reduces exploitation amount, reduces maintenance cost.
In any of the above-described technical scheme, it is preferable that it is determined that each dependence between system data and receptance function,
The step of creating data receptance function dependence table, specifically includes:Receptance function is called, performs dosomething functions, its
Middle receptance function includes dosomething functions;If during dosomething functions perform, calling arrives system number
According to, it is determined that there is dependence between system data and receptance function;According to what is had between system data and receptance function
Dependence, create data dependence relation table.
In the technical scheme, receptance function is called, and performs the dosomething functions in receptance function, will
The system data called in dosomething function implementation procedures is as the system number for having dependence with the receptance function
According to, and then dependence table is created, whole receptance functions for having dependence with system data can be accurately obtained, are entered
And to realize synchronous execution receptance function by dependence table, exploitation amount is reduced, reduces maintenance cost.
In any of the above-described technical scheme, it is preferable that before performance objective receptance function, in addition to:Remove what is repeated
Target response function.
In the technical scheme, the target response function with goal systems function with dependence of repetition is removed, is subtracted
The number of executions of few receptance function, reduces system operation cost.
According to the second aspect of the invention, it is proposed that a kind of system of response data modification, including:Receiving unit, use
In receiving outside input, the goal systems data that the needs that outside input includes are changed are obtained;Searching unit, for lookup and mesh
At least one dependence system data of the mark system data with dependence and with goal systems data with dependence
At least one target response function;Unit is changed, system data is relied on for changing;Execution unit, responded for performance objective
Function.
The system of response data provided by the invention modification, be it is a kind of automate, expansible system, it is outer receiving
When portion inputs, the goal systems data for needing to change are obtained from outside input, search has dependence with goal systems data
At least one dependence system data, modification rely on system data, and search with goal systems data have dependence extremely
A few target response function, performance objective receptance function.The present invention when change goal systems data, by automatic carding and
The related dependence of goal systems data, automatic synchronization are modified to the other systems number for having dependence with goal systems data
According to, and, automatic perform has all receptance functions of dependence with goal systems data, and then alleviates in development process
Cost and pressure, when system is increasingly huge, the maintenance cost for reducing system, very big effect can be played.
The system changed according to the above-mentioned response data of the present invention, can also have following technical characteristic:
In the above-mentioned technical solutions, it is preferable that searching unit, be specifically used for:Whether deposited in inquiry data dependence relation table
In the dependence system data with goal systems data with dependence;When in data dependence relation table exist and goal systems number
During according to dependence system data with dependence, obtain and rely on system data;Inquire about in data receptance function dependence table
With the presence or absence of the target response function with goal systems data with dependence;Deposited when in data receptance function dependence table
When having the target response function of dependence with goal systems data, target response function is obtained.
In the technical scheme, obtained by searching data dependence table has dependence with goal systems data
System data is relied on, inquiry data receptance function dependence table is searched and obtains the mesh that there is dependence with goal systems data
Receptance function is marked, i.e., is accurately acquired by the automatic carding dependence related to goal systems data and relies on system data
And target response function, and then can quickly and easily change and rely on system data and performance objective receptance function.
In any of the above-described technical scheme, it is preferable that also include:First creating unit, for receiving outside input, obtain
Before the goal systems data that the needs for taking outside input to include are changed, system data model is created, system data model includes
At least one system data;Second creating unit, for determining that the dependence between each system data and other system datas is closed
System, create data dependence relation table;Definition unit, for defining receptance function;Second creating unit, be additionally operable to determine be each
Dependence between data of uniting and receptance function, create data receptance function dependence table.
In the technical scheme, the system data model of system data is included by creating, and according to system data model
In system data between dependence create data dependence relation table so that when being modified to goal systems data,
The dependence system data for having dependence with goal systems data can easily be searched by data dependence relation table, so it is right
System data is relied on to modify;By defining receptance function, and according to the dependence between system data and receptance function
Create data receptance function dependence table so that when being modified to goal systems data, letter can be responded by data
Number dependence table easily searches the receptance function for having dependence with goal systems data, and then runs receptance function, leads to
Cross and create dependence table and reduce complexity between data model and response logic.
In any of the above-described technical scheme, it is preferable that the second creating unit, including:First call unit, it is for calling
The calc functions for data of uniting, perform value functions, and wherein calc functions include system data and value functions;Second creates list
Member, if specifically for value functions perform during, calling arrive other system datas, it is determined that system data and its
There is dependence between its system data;And according to the dependence having between system data and other system datas,
Create data dependence relation table.
In the technical scheme, the calc functions of calling system data, and the value functions in calc functions are performed, will
Dependence system data of the other system datas called in value function implementation procedures as system data, so create according to
Rely relation table, can be accurately obtained whole other system datas for having dependence with system data, so by according to
Rely relation table to realize the synchronous other system datas of change, reduce exploitation amount, reduce maintenance cost.
In any of the above-described technical scheme, it is preferable that the second creating unit, including:Second call unit, for calling sound
Function is answered, performs dosomething functions, wherein receptance function includes dosomething functions;Second creating unit, specifically
If during being performed in dosomething functions, calling arrives system data, it is determined that system data and receptance function
Between there is dependence;And according to the dependence having between system data and receptance function, create data dependence and close
It is table.
In the technical scheme, receptance function is called, and performs the dosomething functions in receptance function, will
The system data called in dosomething function implementation procedures is as the system number for having dependence with the receptance function
According to, and then dependence table is created, whole receptance functions for having dependence with system data can be accurately obtained, are entered
And to realize synchronous execution receptance function by dependence table, exploitation amount is reduced, reduces maintenance cost.
In any of the above-described technical scheme, it is preferable that execution unit, be additionally operable to before performance objective receptance function, go
Except the target response function repeated.
In the technical scheme, the target response function with goal systems function with dependence of repetition is removed, is subtracted
The number of executions of few target response function, reduces system operation cost.
According to the third aspect of the present invention, it is proposed that a kind of computer installation, including memory, processor and be stored in
Any of the above-described is realized on memory and the computer program that can run on a processor, during computing device computer program
The step of method of response data modification.
Computer installation provided by the invention, the side of above-mentioned response data modification is realized during computing device computer program
The step of method, the technique effect of the method for above-mentioned response data modification can be realized, is repeated no more.
According to the fourth aspect of the present invention, it is proposed that a kind of computer-readable recording medium, be stored thereon with computer
Program, the step of method of response data modification any one of as described above is realized when computer program is executed by processor.
Computer-readable recording medium provided by the invention, above-mentioned number of responses is realized when computer program is executed by processor
According to modification method the step of, the technique effect of the method for above-mentioned response data modification can be realized, repeated no more.
The additional aspect and advantage of the present invention will become obvious in following description section, or the practice by the present invention
Recognize.
Brief description of the drawings
The above-mentioned and/or additional aspect and advantage of the present invention will become in the description from combination accompanying drawings below to embodiment
Substantially and it is readily appreciated that, wherein:
Fig. 1 shows the method flow schematic diagram of the response data modification of one embodiment of the present of invention;
Fig. 2 shows the method flow schematic diagram of the response data modification of an alternative embodiment of the invention;
Fig. 3 shows the method flow schematic diagram of the response data modification of yet another embodiment of the present invention;
Fig. 4 shows the singleton schematic diagram of the system data class of one embodiment of the present of invention;
Fig. 5 shows the method flow schematic diagram of the response data modification of another embodiment of the present invention;
Fig. 6 shows dependence schematic diagram between the system data of one embodiment of the present of invention;
Fig. 7 shows the system data and receptance function dependence schematic diagram of one embodiment of the present of invention;
Fig. 8 a show the schematic block diagram of the system of the response data modification of one embodiment of the present of invention;
Fig. 8 b show the schematic block diagram of the system of the response data modification of an alternative embodiment of the invention;
Fig. 8 c show the schematic block diagram of the system of the response data modification of yet another embodiment of the present invention;
Fig. 9 shows the fundamental diagram of the system that response data is changed in a specific embodiment of the invention;
Figure 10 shows the computer installation structural representation in one embodiment of the present of invention.
Embodiment
It is below in conjunction with the accompanying drawings and specific real in order to be more clearly understood that the above objects, features and advantages of the present invention
Mode is applied the present invention is further described in detail.It should be noted that in the case where not conflicting, the implementation of the application
Feature in example and embodiment can be mutually combined.
Many details are elaborated in the following description to facilitate a thorough understanding of the present invention, still, the present invention may be used also
To be different from other modes described here using other to implement, therefore, protection scope of the present invention is not limited to following public affairs
The limitation for the specific embodiment opened.
The embodiment of first aspect present invention, a kind of method of response data modification is proposed, is applicable but is not limited to software
It is served by system, when system data is changed, other parts and synchronous execution can be modified to automatic synchronization with being
The related receptance function of data of uniting.This method mainly includes:The dependence between system data model, collection model is created, it is fixed
Adopted receptance function, the dependence of collection system data and receptance function, modification system data model and receptance function call.
Fig. 1 shows the method flow schematic diagram of the response data modification of one embodiment of the present of invention.Wherein, this method
Including:
Step 102, outside input is received, obtains the goal systems data that the needs that outside input includes are changed;
Step 104, at least one dependence system data that there is dependence with goal systems data is searched;
Step 106, at least one target response function that there is dependence with goal systems data is searched;
Step 108, modification relies on system data;
Step 110, performance objective receptance function.
The method of response data modification provided by the invention, when receiving outside input, being obtained from outside input needs
The goal systems data to be changed, search at least one dependence system data for having dependence with goal systems data, modification
System data is relied on, and searches at least one target response function for having dependence with goal systems data, performance objective
Receptance function.The present invention is when changing goal systems data, by the automatic carding dependence related to goal systems data,
Automatic synchronization is modified to the other systems data for having dependence with goal systems data, and, automatic execution and goal systems
Data have all receptance functions of dependence, and then alleviate the cost in development process and pressure, when system is increasingly huge
When, the maintenance cost for reducing system, very big effect can be played.
When it is implemented, it is necessary to which outside input changes target system using the set methods of model when having outside input
System data are the state (data) of System State Model (system data model).When set methods are called, perform such as Fig. 1 institutes
The flow shown.According to flow, each system mode is changed, will change automatically the system mode relevant with current state and
All receptance functions relevant with current state are performed, so as to reach the purpose automated toed respond to.
Fig. 2 shows the method flow schematic diagram of the response data modification of an alternative embodiment of the invention.Wherein, the party
Method includes:
Step 202, outside input is received, obtains the goal systems data that the needs that outside input includes are changed;
Step 204, inquire about in data dependence relation table with the presence or absence of the dependence with goal systems data with dependence
System data;
Step 206, when the dependence system number with goal systems data with dependence in data dependence relation table being present
According to when, obtain rely on system data;
Step 208, inquire about in data receptance function dependence table to whether there is to have to rely on goal systems data and close
The target response function of system;
Step 210, when the mesh with goal systems data with dependence in data receptance function dependence table being present
When marking receptance function, target response function is obtained;
Step 212, modification relies on system data;
Step 214, performance objective receptance function.
In this embodiment, by searching data dependence table obtain with goal systems data have dependence according to
Rely system data, search inquiry data receptance function dependence table and obtain the target that there is dependence with goal systems data
Receptance function, i.e., by the automatic carding dependence related to goal systems data accurately acquire rely on system data and
Target response function, and then can quickly and easily change and rely on system data and performance objective receptance function.
Fig. 3 shows the method flow schematic diagram of the response data modification of yet another embodiment of the present invention.Wherein, the party
Method includes:
Step 302, system data model is created, system data model includes at least one system data;
Step 304, it is determined that each dependence between system data and other system datas, creates data dependence relation
Table;
Step 306, receptance function is defined;
Step 308, it is determined that each dependence between system data and receptance function, creates data receptance function and rely on
Relation table;
Step 310, outside input is received, obtains the goal systems data that the needs that outside input includes are changed;
Step 312, inquire about in data dependence relation table with the presence or absence of the dependence with goal systems data with dependence
System data;When the dependence system data with goal systems data with dependence in data dependence relation table be present, obtain
Take dependence system data;
Step 314, inquire about in data receptance function dependence table to whether there is to have to rely on goal systems data and close
The target response function of system;When the mesh with goal systems data with dependence in data receptance function dependence table being present
When marking receptance function, target response function is obtained;
Step 316, modification relies on system data;
Step 318, performance objective receptance function.
In this embodiment, the system data model of system data is included by creating, and according in system data model
System data between dependence create data dependence relation table so that, can when being modified to goal systems data
Have the dependence system data of dependence with goal systems data easily to be searched by data dependence relation table, so to according to
Bad system data is modified;Created by defining receptance function, and according to the dependence between system data and receptance function
Build data receptance function dependence table so that when being modified to goal systems data, data receptance function can be passed through
Dependence table easily searches the receptance function for having dependence with goal systems data, and then runs receptance function, passes through
Establishment dependence table reduces the complexity between data model and response logic.
When it is implemented, first, in system initialization, it is system data model first to create System State Model, system
State model is a singleton, can store different types of data, for representing the current state of system.Model will be realized simultaneously
Set, get and calc method, it is respectively used to set modification model state, the state value in acquisition model, between setting model state
Dependence.
, it is necessary to realize one based on class as shown in Figure 4 by taking the SaaS systems realized based on internet browsers as an example
Singleton, status1, status2, status3, set (key, value):void、get(key):void、calc(key,
value):Void is System State Model class.Wherein:
System State Model is expressed as:Model=new model,
Set, modification state representation is:Model.set (" key ", value),
Obtaining state representation is:Model.get (" key "),
Dependence between setting model state is expressed as:model.calc("key",function(){return
model.get("a")+model get("b")})。
Calc methods are similar with set methods, but the type of calc method value parameters must be one and have return value
Function, when obtaining this key value using get methods, value functions are performed, what is obtained is exactly the return value of function.
Fig. 5 shows the method flow schematic diagram of the response data modification of another embodiment of the present invention.Wherein, the party
Method includes:
Step 502, system data model is created, system data model includes at least one system data;
Step 504, the calc functions of calling system data, perform value functions, and wherein calc functions include system data
And value functions;If value functions perform during, calling arrive other system datas, it is determined that system data and its
There is dependence between its system data;
Step 506, according to the dependence having between system data and other system datas, data dependence relation is created
Table;
Step 508, receptance function is defined;
Step 510, if during dosomething functions perform, calling arrives system data, it is determined that system number
According to having dependence between receptance function;According to the dependence having between system data and receptance function, number is created
According to dependence table;
Step 512, outside input is received, obtains the goal systems data that the needs that outside input includes are changed;
Step 514, inquire about in data dependence relation table with the presence or absence of the dependence with goal systems data with dependence
System data;When the dependence system data with goal systems data with dependence in data dependence relation table be present, obtain
Take dependence system data;
Step 516, inquire about in data receptance function dependence table to whether there is to have to rely on goal systems data and close
The target response function of system;When the mesh with goal systems data with dependence in data receptance function dependence table being present
When marking receptance function, target response function is obtained;
Step 518, modification relies on system data;
Step 520, the target response function of repetition is removed;
Step 522, performance objective receptance function.
In this embodiment, the calc functions of calling system data, and the value functions in calc functions are performed, will
Dependence system data of the other system datas called in value function implementation procedures as the system data, and then create
Dependence table, can be accurately obtained it is whole have other system datas of dependence with system data, and then pass through
Dependence table realizes the synchronous other system datas of change, reduces exploitation amount, reduces maintenance cost.
Receptance function is called, and performs the dosomething functions in receptance function, dosomething functions are performed
During the system data that calls as the system data for having dependence with the receptance function, and then create dependence
Table, whole receptance functions for having dependence with system data can be accurately obtained, and then to pass through dependence
Table realizes synchronous execution receptance function, reduces exploitation amount, reduces maintenance cost.
When it is implemented, when calc method calls, once incoming value functions are immediately performed.In value letters
During number performs, if the get methods of model are called, mark current state is depended on by get state, is finally counted and is received
Integrate as dependence as shown in fig. 6, wherein, due to X=a+b, Y=a+c, then state a is relied on the i.e. system data a's of state
It is X, Y to rely on system data, and the state b state that is relied on is X, and the state c state that is relied on is Y, for example, working as system data a
For goal systems data, when being modified to goal systems data, due to the dependence system data that X, Y are a, system automatically to X,
Y modifies, so as to realize the purpose automated toed respond to.
When it is implemented, for defining receptance function, response action is defined first by a function Run:
……
Run(dosomething1)
……
Run(dosomething2)
……
Wherein dosomething is a function, and response action is defined in function, can be with calling model in function
Get methods, it is impossible to call set methods, complete example is as follows:
Run(function(){
Jiemian.text=model.get (" a ");
origin.edit(“x”,model.get(“b”))
)
})。
It is similar with the calc methods of model for the dependence between collection system data and receptance function, adjusted in Run
With when, be immediately performed once incoming dosomething functions.During dosomething functions perform, if model
Get methods be called, then mark current dosometing methods to depend on by get state, last statistics collection is relies on
Relation is as shown in fig. 7, wherein state (data) a receptance function that is relied on is dosomething1, dosomething2, state
(data) b receptance function that is relied on is dosomething1, and the state c receptance function that is relied on is dosomething2.Such as
Fruit system data a is goal systems data, when being modified to goal systems data, due to dosomething1,
Dosomething2 is to have the target response function of dependence with a, then system perform automatically dosomething1,
Dosomething2, so as to realize the purpose for automated toing respond to operation.
In this embodiment, before performance objective receptance function, remove having with goal systems function for repetition and rely on
The target response function of relation, the number of executions of target response function is reduced, reduce system operation cost.
The embodiment of second aspect of the present invention, proposes a kind of system of response data modification, and Fig. 8 a show the present invention's
The schematic block diagram of the system 800 of the response data modification of one embodiment.Wherein, the system 800 of response data modification includes:
Receiving unit 802, for receiving outside input, obtain the goal systems number that the needs that outside input includes are changed
According to;
Searching unit 804, for searching at least one dependence system data that there is dependence with goal systems data
And there is at least one target response function of dependence with goal systems data;
Unit 806 is changed, system data is relied on for changing;
Execution unit 808, for performance objective receptance function.
The system of response data provided by the invention modification, be it is a kind of automate, expansible system, it is outer receiving
When portion inputs, the goal systems data for needing to change are obtained from outside input, search has dependence with goal systems data
At least one dependence system data, modification rely on system data, and search with goal systems data have dependence extremely
A few target response function, performance objective receptance function.The present invention when change goal systems data, by automatic carding and
The related dependence of goal systems data, automatic synchronization are modified to the other systems number for having dependence with goal systems data
According to, and, automatic perform has all receptance functions of dependence with goal systems data, and then alleviates in development process
Cost and pressure, when system is increasingly huge, the maintenance cost for reducing system, very big effect can be played.
In one embodiment of the invention, it is preferable that searching unit 804, be specifically used for:Inquire about data dependence relation table
In with the presence or absence of having the dependence system data of dependence with goal systems data;When existing in data dependence relation table and mesh
When mark system data have the dependence system data of dependence, obtain and rely on system data;Data receptance function is inquired about to rely on
With the presence or absence of the target response function with goal systems data with dependence in relation table;Closed when data receptance function relies on
It is when that there is the target response function of dependence with goal systems data in table being present, to obtain target response function.
In this embodiment, by searching data dependence table obtain with goal systems data have dependence according to
Rely system data, search inquiry data receptance function dependence table and obtain the target that there is dependence with goal systems data
Receptance function, i.e., by the automatic carding dependence related to goal systems data accurately acquire rely on system data and
Target response function, and then can quickly and easily change and rely on system data and performance objective receptance function.
Fig. 8 b show the schematic block diagram of the system 800 of the response data modification of an alternative embodiment of the invention.Wherein,
The system 800 of response data modification includes:
Receiving unit 802, for receiving outside input, obtain the goal systems number that the needs that outside input includes are changed
According to;
Searching unit 804, for searching at least one dependence system data that there is dependence with goal systems data
And there is at least one target response function of dependence with goal systems data;
Unit 806 is changed, system data is relied on for changing;
Execution unit 808, for performance objective receptance function;
First creating unit 810, for receiving outside input, obtain the target system that the needs that outside input includes are changed
Before data of uniting, system data model is created, system data model includes at least one system data;
Second creating unit 812, for determining the dependence between each system data and other system datas, create
Data dependence relation table;It is additionally operable to determine the dependence between each system data and receptance function, creates data response letter
Number dependence table;
Definition unit 814, for defining receptance function.
In this embodiment, the system data model of system data is included by creating, and according in system data model
System data between dependence create data dependence relation table so that, can when being modified to goal systems data
Have the dependence system data of dependence with goal systems data easily to be searched by data dependence relation table, so to according to
Bad system data is modified;Created by defining receptance function, and according to the dependence between system data and receptance function
Build data receptance function dependence table so that when being modified to goal systems data, data receptance function can be passed through
Dependence table easily searches the receptance function for having dependence with goal systems data, and then runs receptance function, passes through
Establishment dependence table reduces the complexity between data model and response logic.
Fig. 8 c show the schematic block diagram of the system 800 of the response data modification of yet another embodiment of the present invention.Wherein,
The system 800 of response data modification includes:
Receiving unit 802, for receiving outside input, obtain the goal systems number that the needs that outside input includes are changed
According to;
Searching unit 804, for searching at least one dependence system data that there is dependence with goal systems data
And there is at least one target response function of dependence with goal systems data;
Unit 806 is changed, system data is relied on for changing;
Execution unit 808, for performance objective receptance function;
First creating unit 810, for receiving outside input, obtain the target system that the needs that outside input includes are changed
Before data of uniting, system data model is created, system data model includes at least one system data;
Second creating unit 812 includes:First call unit 8122, for the calc functions of calling system data, perform
Value functions, wherein calc functions include system data and value functions;
Second creating unit 812, if during specifically for being performed in value functions, calling arrives other system numbers
According to, it is determined that there is dependence between system data and other system datas;And according to system data and other system numbers
The dependence having between, create data dependence relation table;
Definition unit 814, for defining receptance function;
Second creating unit 812 also includes:Second call unit 8124, for calling receptance function, perform
Dosomething functions, wherein receptance function include dosomething functions;
Second creating unit 812, if be additionally operable to during dosomething functions perform, calling arrives system number
According to, it is determined that there is dependence between system data and receptance function;And have according between system data and receptance function
Some dependences, create data dependence relation table.
In this embodiment, the calc functions of calling system data, and the value functions in calc functions are performed, will
Dependence system data of the other system datas called in value function implementation procedures as system data, so create according to
Rely relation table, can be accurately obtained whole other system datas for having dependence with system data, so by according to
Rely relation table to realize the synchronous other system datas of change, reduce exploitation amount, reduce maintenance cost.
Receptance function is called, and performs the dosomething functions in receptance function, dosomething functions are performed
During the system data that calls as the system data for having dependence with the receptance function, and then create dependence
Table, whole receptance functions for having dependence with system data can be accurately obtained, and then to pass through dependence
Table realizes synchronous execution receptance function, reduces exploitation amount, reduces maintenance cost.
In one embodiment of the invention, it is preferable that execution unit 808, be additionally operable to performance objective receptance function it
Before, remove the target response function of repetition.
In this embodiment, the target response function with goal systems function with dependence of repetition is removed, is reduced
The number of executions of target response function, reduce system operation cost.
Fig. 9 shows the fundamental diagram of the system that response data is changed in a specific embodiment of the invention.Including:
Create System State Model first, the dependence between definition status, create receptance function list, comb state and receptance function according to
Rely, again when there is input, state model changed according to dependence, and the receptance function relied on is inquired about according to dependence,
Exported after performing receptance function.
The embodiment of third aspect present invention, it is proposed that a kind of computer installation, Figure 10 show the reality of the present invention
Apply the schematic block diagram of computer installation 1000 in example.Computer installation 1000, including memory 1002, processor 1004 and storage
On memory 1002 and the computer program that can be run on processor 1004, processor 1004 perform real during computer program
The step of method that now response data of any one is changed as described above.
Computer installation provided by the invention, the step of method of above-mentioned response data modification can be realized, it can realize
The technique effect of the method for above-mentioned response data modification, is repeated no more.
The embodiment of the 4th aspect of the present invention, it is proposed that a kind of computer-readable recording medium, be stored thereon with calculating
Machine program, the step of method of response data modification any one of as described above is realized when computer program is executed by processor.
Computer-readable recording medium provided by the invention, above-mentioned number of responses is realized when computer program is executed by processor
According to modification method the step of, the technique effect of the method for above-mentioned response data modification can be realized, repeated no more.
In the description of this specification, the description of term " one embodiment ", " some embodiments ", " specific embodiment " etc.
Mean to combine at least one reality that specific features, structure, material or the feature that the embodiment or example describe are contained in the present invention
Apply in example or example.In this manual, identical embodiment or reality are not necessarily referring to the schematic representation of above-mentioned term
Example.Moreover, description specific features, structure, material or feature can in any one or more embodiments or example with
Suitable mode combines.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this area
For art personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made any repaiies
Change, equivalent substitution, improvement etc., should be included in the scope of the protection.
Claims (14)
- A kind of 1. method of response data modification, it is characterised in that including:Outside input is received, obtains the goal systems data that the needs that the outside input includes are changed;Search with the goal systems data have dependence at least one dependence system data and with the target system System data have at least one target response function of dependence;Change the dependence system data;Perform the target response function.
- 2. the method for response data modification according to claim 1, it is characterised in that the lookup and the goal systems The dependence system data of the data with dependence and with the mesh of the goal systems data with dependence The step of marking receptance function, specifically includes:With the presence or absence of the dependence system data with the goal systems data with dependence in inquiry data dependence relation table;When the dependence system number with the goal systems data with dependence in the data dependence relation table being present According to when, obtain the dependence system data;With the presence or absence of the target with the goal systems data with dependence in inquiry data receptance function dependence table Receptance function;When the mesh with the goal systems data with dependence in the data receptance function dependence table being present When marking receptance function, the target response function is obtained.
- 3. the method for response data modification according to claim 2, it is characterised in that defeated in the reception outside Enter, before obtaining the goal systems data that the needs that the outside input includes are changed, in addition to:System data model is created, the system data model includes at least one system data;It is determined that each dependence between the system data and other system datas, creates the data dependence relation table;Define receptance function;It is determined that each dependence between the system data and the receptance function, creates the data receptance function and relies on Relation table.
- 4. the method for response data modification according to claim 3, it is characterised in that described to determine each system number According to the dependence between other system datas, the step of creating the data dependence relation table, specifically include:The calc functions of the system data are called, perform the value functions, wherein the calc functions include the system Data and the value functions;If during the value functions perform, calling arrives other system datas, it is determined that the system data and institute Stating between other system datas has dependence;According to the dependence having between the system data and other system datas, the data dependence relation is created Table.
- 5. the method for response data modification according to claim 3, it is characterised in that described to determine each system number According to the dependence between the receptance function, the step of creating the data receptance function dependence table, specifically include:The receptance function is called, performs the dosomething functions, wherein the receptance function is including described Dosomething functions;If during the dosomething functions perform, calling arrives the system data, it is determined that the system number According to having dependence between the receptance function;According to the dependence having between the system data and the receptance function, the data dependence relation table is created.
- 6. the method for response data modification according to any one of claim 1 to 5, it is characterised in that described in execution Before target response function, in addition to:Remove the target response function repeated.
- A kind of 7. system of response data modification, it is characterised in that including:Receiving unit, for receiving outside input, obtain the goal systems data that the needs that the outside input includes are changed;Searching unit, for search with the goal systems data have dependence at least one dependence system data and There is at least one target response function of dependence with the goal systems data;Unit is changed, for changing the dependence system data;Execution unit, for performing the target response function.
- 8. the system of response data modification according to claim 7, it is characterised in that the searching unit, be specifically used for:With the presence or absence of the dependence system data with the goal systems data with dependence in inquiry data dependence relation table;When the dependence system number with the goal systems data with dependence in the data dependence relation table being present According to when, obtain the dependence system data;With the presence or absence of the target with the goal systems data with dependence in inquiry data receptance function dependence table Receptance function;When the mesh with the goal systems data with dependence in the data receptance function dependence table being present When marking receptance function, the target response function is obtained.
- 9. the system of response data modification according to claim 8, it is characterised in that also include:First creating unit, for receiving the outside input described, obtain what the needs that the outside input includes were changed Before the goal systems data, system data model is created, the system data model includes at least one system data;Second creating unit, for determining the dependence between each system data and other system datas, create institute State data dependence relation table;Definition unit, for defining receptance function;Second creating unit, it is additionally operable to determine each dependence between the system data and the receptance function, Create the data receptance function dependence table.
- 10. the system of response data modification according to claim 9, it is characterised in that second creating unit, bag Include:First call unit, for calling the calc functions of the system data, the value functions are performed, wherein described Calc functions include the system data and the value functions;Second creating unit, if during specifically for being performed in the value functions, calling arrives other system numbers According to, it is determined that there is dependence between the system data and other system datas;And according to the system data The dependence having between other system datas, create the data dependence relation table.
- 11. the system of response data modification according to claim 9, it is characterised in that second creating unit, bag Include:Second call unit, for calling the receptance function, the dosomething functions are performed, wherein the response letter Number includes the dosomething functions;Second creating unit, if during specifically for being performed in the dosomething functions, called to described System data, it is determined that there is dependence between the system data and the receptance function;And according to the system number According to the dependence having between the receptance function, the data dependence relation table is created.
- 12. the system of the response data modification according to any one of claim 7 to 11, it is characterised in thatThe execution unit, it is additionally operable to before the target response function is performed, removes the target response function of repetition.
- 13. a kind of computer installation, including memory, processor and it is stored on the memory and can be on the processor The computer program of operation, it is characterised in that realize such as claim 1 to 6 described in the computing device during computer program Any one of response data modification method the step of.
- 14. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the computer program The step of method of the response data modification as any one of claim 1 to 6 is realized when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710930802.6A CN107678774A (en) | 2017-10-09 | 2017-10-09 | Method, system, computer installation and the readable storage medium storing program for executing of response data modification |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710930802.6A CN107678774A (en) | 2017-10-09 | 2017-10-09 | Method, system, computer installation and the readable storage medium storing program for executing of response data modification |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107678774A true CN107678774A (en) | 2018-02-09 |
Family
ID=61138722
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710930802.6A Pending CN107678774A (en) | 2017-10-09 | 2017-10-09 | Method, system, computer installation and the readable storage medium storing program for executing of response data modification |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107678774A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111367929A (en) * | 2020-03-03 | 2020-07-03 | 腾讯科技(深圳)有限公司 | Data management method and device and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101040280A (en) * | 2004-08-31 | 2007-09-19 | 国际商业机器公司 | Metadata management |
US20130311631A1 (en) * | 2012-02-27 | 2013-11-21 | Mccip, Inc. | Integrated cloud data center management |
CN103514223A (en) * | 2012-06-28 | 2014-01-15 | 阿里巴巴集团控股有限公司 | Data synchronism method and system of database |
CN105160042A (en) * | 2015-10-21 | 2015-12-16 | 浪潮(北京)电子信息产业有限公司 | Method and device for keeping user view data and data model data consistent |
CN105183824A (en) * | 2015-08-28 | 2015-12-23 | 重庆简悉大数据科技有限公司 | Data integration method and apparatus |
-
2017
- 2017-10-09 CN CN201710930802.6A patent/CN107678774A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101040280A (en) * | 2004-08-31 | 2007-09-19 | 国际商业机器公司 | Metadata management |
US20130311631A1 (en) * | 2012-02-27 | 2013-11-21 | Mccip, Inc. | Integrated cloud data center management |
CN103514223A (en) * | 2012-06-28 | 2014-01-15 | 阿里巴巴集团控股有限公司 | Data synchronism method and system of database |
CN105183824A (en) * | 2015-08-28 | 2015-12-23 | 重庆简悉大数据科技有限公司 | Data integration method and apparatus |
CN105160042A (en) * | 2015-10-21 | 2015-12-16 | 浪潮(北京)电子信息产业有限公司 | Method and device for keeping user view data and data model data consistent |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111367929A (en) * | 2020-03-03 | 2020-07-03 | 腾讯科技(深圳)有限公司 | Data management method and device and storage medium |
CN111367929B (en) * | 2020-03-03 | 2023-03-28 | 腾讯科技(深圳)有限公司 | Data management method and device and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
AU2019202382B2 (en) | Robotic agent conversation escalation | |
US9761222B1 (en) | Intelligent conversational messaging | |
CN104317624B (en) | Data assembly method based on plug-in unit treatment | |
EP2983117A1 (en) | Event processing method in stream processing system and stream processing system | |
JP7098327B2 (en) | Information processing system, function creation method and function creation program | |
CN107885876A (en) | A kind of dynamic desensitization method rewritten based on SQL statement | |
CN107832448A (en) | Database operation method, device and equipment | |
CN112949973A (en) | AI-combined robot process automation RPA process generation method | |
CN104915458B (en) | A kind of method, system and mobile terminal associated automatically when user searches for and applies | |
CN115002099A (en) | Man-machine interactive file processing method and device for realizing IA (Internet of things) based on RPA (resilient packet Access) and AI (Artificial Intelligence) | |
CN105589739B (en) | A kind of process control system and method | |
CN109992659B (en) | Method and device for text sorting | |
WO2023278135A3 (en) | Systems and methods for processing data using inference and analytics engines | |
CN107678774A (en) | Method, system, computer installation and the readable storage medium storing program for executing of response data modification | |
WO2014107390A4 (en) | Managing authorization of actions associated with data objects | |
CN103810248A (en) | Method and device for searching for interpersonal relationship based on photos | |
CN109684177A (en) | Information feedback method and device | |
WO2019000897A1 (en) | Data acquisition method and device | |
CN105808688A (en) | Complementation retrieval method and device based on artificial intelligence | |
US10693731B2 (en) | Flow entry management method and device | |
CN112527924A (en) | Dynamically updated knowledge graph expansion method and device | |
US20230153527A1 (en) | System and method for infusing knowledge graphs and language models for natural language sentence pair applications | |
CN110378564A (en) | Monitoring model generation method, device, terminal device and storage medium | |
CN113761121B (en) | Knowledge extraction method for structured data | |
US8051026B2 (en) | Rules collector system and method with user interaction |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180209 |
|
RJ01 | Rejection of invention patent application after publication |