CN1952936A - A correlation system and method of information - Google Patents

A correlation system and method of information Download PDF

Info

Publication number
CN1952936A
CN1952936A CN 200610123568 CN200610123568A CN1952936A CN 1952936 A CN1952936 A CN 1952936A CN 200610123568 CN200610123568 CN 200610123568 CN 200610123568 A CN200610123568 A CN 200610123568A CN 1952936 A CN1952936 A CN 1952936A
Authority
CN
China
Prior art keywords
information
association
data
mapping table
external
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
Application number
CN 200610123568
Other languages
Chinese (zh)
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN 200610123568 priority Critical patent/CN1952936A/en
Publication of CN1952936A publication Critical patent/CN1952936A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

This invention provides one information connection system, which comprises the following parts: memory device to store relative mapping set; connection mapping list memory device to read the designed relationship map list; collection information process device to visit one outer information set and to process outer information and its parallel relationship; management relative file unit, index collection outer information unit and statistical information unit. This invention also provides one information collection method.

Description

Information correlation system and method
Technical Field
The present invention relates to information association technologies, and in particular, to a system and a method for performing information association processing by using a computer.
Background
Information handling systems we now use are mostly using relational databases to describe the relationships between information, i.e. "associations" between information. The information association generally has a very important influence on the operation process of the information system. However, these "associations" or "relationships", no matter how complex they are, are generally fixed (or limited to a certain range) at the design stage of the system. After the system is developed and delivered for use, the user can only process the information in this "limited" relationship. Once a user desires to modify or add to the association of information, it may mean a change to the original design or mean a modification of the original system.
Such modifications typically involve either an alteration of the original data structure or an alteration of the data processing program. And such modifications are ubiquitous. Such modifications can sometimes even lead to confusion or duplication of the original system if the original design does not adequately account for future changes. This can be time consuming, labor intensive and costly.
An effective method for modifying the information association relationship of the external information without limitation without modifying the used association program and the data structure stored in the external information is not found.
Disclosure of Invention
The invention aims to provide an information association system and a method, which can change the information association relation of external information without limit when the used association program is not modified and the specific data structure and the data structure of the external information are not required to be modified; the created incidence relation can be used for constructing new useful information or sending a control instruction to an external system; the aforementioned information and associated processing can also be effectively controlled with little or no modification of the program used by the configuration data.
The technical scheme adopted by the invention is to provide an information association system, which comprises:
the storage device stores a set of association mapping tables, the set at least comprises one association mapping table, each association mapping table stores a set of association data of the external information, each piece of association data is used for expressing an association relationship between a pair of external information, and at least the following data elements can be obtained from each piece of association data: associating the positioning identification, the association type identification and the association direction identification of both sides of the object;
the access device of the associated mapping table is used for reading and writing the associated mapping table appointed in the associated mapping table set and decomposing the read associated data into a corresponding data element set;
the related information processing device is used for accessing the external information in an external information set and processing the external information and the related relation thereof, and comprises:
a unit for managing association relation, which is used for managing association data in the association mapping table by using a specified association mode or association condition through the association mapping table access device;
a unit for retrieving associated external information, configured to access a corresponding association mapping table through an association mapping table access device according to a specified association condition, obtain association data corresponding to the association condition, retrieve an external information set according to the association data, and obtain data of external information corresponding to the association data;
and the unit for counting the associated information is used for accessing the corresponding associated mapping table through the associated mapping table access device according to the specified associated condition, retrieving the associated data corresponding to the associated condition, and carrying out statistics by using a specified statistical mode to obtain the statistical data, wherein the specified statistical mode comprises the statistics of the specified data in the retrieved associated data set, or the statistics of the specified data of the external information corresponding to the associated data by using the retrieved associated data.
Preferably, the positioning identifier of the associated object further includes an information identifier and an information category identifier of the associated object.
Preferably, the associated information processing apparatus further includes:
an information reconstruction unit for processing information obtained from the association management unit, the associated external information search unit, or the associated information statistic unit in a predetermined processing manner to obtain new data other than the original external information set; or
And the unit for controlling the external system is used for processing the information obtained from the unit for managing the association relationship, the unit for retrieving the associated external information or the unit for counting the associated information in a specified processing mode, and sending a corresponding control instruction to the external system according to the processing result and the specified behavior mode so as to control the operation of the external system.
The designated processing mode comprises at least one of judgment, operation, combination, decomposition, information addition or direct reference.
Preferably, the related information processing device directly or through an application interface device performs command, data or mutual calling interaction with an external system; the associated information processing device accesses the external information set directly or through an external information input and retrieval device.
Preferably, further comprising:
the storage device of the configuration data set is used for storing configuration data used by the associated information processing device, and the configuration data comprises at least one of description-specified association mode, association condition, statistical mode, processing mode, behavior mode or external information filtering condition;
the configuration data access device is used for receiving the instruction or call of the associated information processing device, accessing the configuration data in the configuration data set and providing the read data for the associated information processing device for use;
the related information processing device further comprises a configuration data analysis and execution unit which is used for extracting corresponding instructions, data or expressions from the configuration data and executing the instructions or expressions.
Correspondingly, the invention also provides an information correlation method, which comprises the following steps:
A. and managing the association relationship: managing, by an association mapping table access device, association data in an association mapping table by using a specified association manner or association condition, wherein the management includes writing, reading or deleting, and at least positioning identifiers, association type identifiers and association direction identifiers of both parties of an association object can be obtained from the association data;
B. the step of retrieving the associated external information: extracting a specified association condition, accessing a corresponding association mapping table through an association mapping table access device, acquiring association data corresponding to the association condition, or retrieving an external information set according to the association data, and acquiring data of external information corresponding to the association data;
C. and (3) carrying out statistics on the associated information: b, counting the data retrieved in the step B by using the specified counting mode to obtain counting result data; the specified statistical mode comprises the step of counting specified data in the searched associated data set, or the step of counting the specified data of the external information corresponding to the associated data by using the searched associated data.
Preferably, the step a further comprises:
the associated information processing device acquires external information from the external information set and acquires associated data among the external information, and writes the associated data into a corresponding associated mapping table in the associated mapping table set through the associated mapping table access device.
Preferably, the following steps are further included after step B or step C:
and information reconstruction: processing the searched or counted data by adopting a specified processing mode to obtain new data outside the original external information set; or
Controlling an external system: and processing the retrieved or counted data by adopting a specified processing mode, and sending a corresponding control instruction to an external system according to a specified behavior mode according to the processing result to control the operation of the external system.
The designated processing mode comprises at least one of judgment, operation, combination, decomposition, information addition or direct reference.
Preferably, the positioning identifier of the associated object includes an information identifier and an information category identifier of the associated object.
Preferably, any one of the steps further comprises:
and accessing configuration data: receiving an instruction or call of the associated information processing device, storing configuration data into the configuration data set, or reading the configuration data from the configuration data set, and providing the read configuration data to the associated information processing device; the configuration data describes at least one of a designated association mode, an association condition, a statistical mode, a processing mode, a behavior mode or an external information filtering condition;
analyzing and executing the configuration data: and extracting corresponding instructions, data or expressions from the read configuration data, and executing the instructions or expressions.
The implementation of the invention has the following beneficial effects:
by using the system or the method provided by the invention, any two independent information in the processed external information set can be associated in any concept. For example, the expansion and modification of the association between two information can be completed within several minutes, even in a state that the system is continuously operated without shutdown.
When a new information processing system is built, the system or the method provided by the invention does not need to be developed after the relation of the aspects of the whole system is considered. Even after the system is put into use, if a new association requirement is found, the new association requirement can be expanded by reconfiguring corresponding parameters and the like. The extension or change is realized without modifying or slightly modifying the used 'associated program', without modifying the data structure of the external information, and without modifying the data structure specific to the invention.
Therefore, the system or the method provided by the invention can greatly improve the capability and the efficiency of processing information association of the user and can also improve the efficiency and the flexibility of application system development. Thereby greatly improving the capability and efficiency of the user for processing the information association.
Drawings
FIG. 1 is a schematic structural diagram of a first embodiment of an information association system of the present invention;
FIG. 2 is a schematic structural diagram of a second embodiment of the information association system of the present invention;
FIG. 3 is a schematic structural diagram of a third embodiment of the information association system of the present invention;
FIG. 4 is a schematic diagram of an application interface device according to the present invention;
FIG. 5 is a flowchart of a data retrieval interface procedure of the present invention;
FIG. 6 is a diagram illustrating a structure of an access device for association mapping table according to the present invention;
FIG. 7 is a flowchart of an instruction analysis interface process of the present invention;
FIG. 8 is a schematic diagram of a configuration data access device according to the present invention;
FIG. 9 is a schematic diagram of the structure of the related information processing apparatus in the present invention;
FIG. 10 is a schematic flow chart of an example of creating an information association in the present invention;
FIG. 11 is a schematic diagram of an exemplary process for retrieving associated information in the present invention;
FIG. 12 is a flow chart illustrating one example of implementing information reconstruction in the present invention;
fig. 13 is a flowchart illustrating an example of implementing system control in the present invention.
Detailed Description
The core idea of the invention is to process the external information by using the associated program and the associated mapping table, and the main contents of the processing process are as follows: managing (including creating, modifying, retrieving, or deleting) associations between such information; by creating a new association, giving a new meaning or form to the original information or generating new information; the flow is controlled by calling or being called by other programs through processing the association relation; or other suitable automated process may be initiated by processing the association.
The technical solution of the present invention will be described in detail below with reference to the accompanying drawings.
For convenience of description, some terms related to the present invention are described as follows:
(one) external information
The external information referred to in the present invention is a set of information of a specific range. The collection can be widely existed in a file system, a database system, a memory of a computer and a data collection described by a specific format (such as XML), and can also come from other information processing equipment in a network or come from a specific input interface of the computer. The information set is composed of relatively independent information, and specific information in the set can be acquired by the "positioning identification" described later. For each piece of specific information, the information elements or attributes can be extracted by a determined means.
For example, assuming that external information exists in a relational database system, a record having a key value therein can be regarded as a piece of information, and the record is relatively independent from the record unless a specific handler or a relational pointer is applied. Some field data therein may be extracted by "field name". What the present invention deals with is the associative relationship between these relatively independent pieces of information.
(II) positioning mark
The method is used for distinguishing the specific information in the information set and finding out the specific information referred by the information in the information set by using the specific information. For example, in a file system of a computer, the pathname of a file plus a file name can be used as a positioning identifier of file information. The combination of the information category identifier and the information identifier, which is described later, may also be used to form a positioning identifier, which is also the information positioning method recommended by the present invention.
(III) information Category and information Category identification
The information category is used to classify the information. The information category identification is an identification for distinguishing different categories of information. However, if a default information category exists, the default information category may or may not be identified.
Given an information category identification, a particular information category can be uniquely identified. For example, assuming that external information exists in one or more relational database systems, a table name and a database name of the stored information may be set as the identifier of the information type. In the file system of the computer, the name of the path (relative path or absolute path) of the file may be used as the identifier of the information category. The identifier can also be set for the information category according to other corresponding rules separately or simultaneously.
(IV) information identification
Refers to a label for distinguishing information belonging to the same information category.
For example, in a relational database system, the key value of a record can be used as an accurate information identifier. If a record is keyed by a combination of fields, the combination of these fields is the information identifier. In a file system of a computer, a file name can be used as an information identifier of a file.
(V) Filtering Condition of information
That is, the information locating identifier, the information type, the information identifier, other attributes of the information, or a combination thereof is specified for information retrieval. The external information referred to in the present invention can retrieve specific information or information subsets from the information set through the filtering condition.
(VI) associating the data
In the present invention, the associated data (or associated information) includes: and the attributes of the positioning identification, the association type, the association direction, the association time, the association degree and the like of the two parties of the associated object. Wherein,
the association category refers to a category of association relationship between different association objects, for example, if parents and children are in the same company, they have relationship and have relationship of colleagues. Here, "relatives" and "co-workers" are different association categories.
The association direction is used to indicate the direction of the association category. The directions include: forward, reverse, bi-directional, etc. For example, when the association category of "parent-child" is used by both parent and child to describe the association, it is necessary to specify who is the "parent" and who is the "child". If A is the father of B, we can indicate that:
"father and son, A- > second"
This may also be the case:
"father-son, B < -A"
If "- >" is referred to as "forward," then "< -" is referred to as "reverse," and vice versa. It can be seen that when the association category of "parent-child" is used to describe the relationship between A and B, the association is not equivalent for both parties. But some association categories may be used to describe "peer-to-peer" associations, such as "relatives" relationships. We can say that A is the relative of B, and also say that B is the relative of A. This can be expressed as follows:
"relatives, A < - > B"
This may also be the case:
"relatives, B < - > forma".
We call "< - >" peer-to-peer bidirectional, "or simply" bidirectional.
In summary, in order to express an information association relationship, we should indicate the following basic association contents:
the association object (information a, information B), the association type, and the association direction.
The association category and the association direction are referred to as an association method, and the association direction may be omitted in some cases. The association direction must be "bi-directional" especially if the association category therein is "peer-to-peer", in which case the association direction may be omitted as an implicit or default.
In the example herein, we use the symbol "A, B, O" to represent the association direction "forward, reverse, bidirectional".
In addition to the basic association information, more extensive materials (additional information) can be added on the basis to further describe the association relationship. Such as: an association time to express when the relationship is established; the degree of the relationship expresses the depth or strength of the relationship. Even a text description, such as the addition of a sentence in a certain "friend" relationship: "the surface is a friend, in fact an hat. "
The basic way to implement unlimited association of information is to create one or a group of data tables, called association mapping tables, which record association data. When the association relationship of a pair of information is to be added, a corresponding piece of association data is recorded in the table. When confirming whether two pieces of information have some association relationship, it can be known by inquiring the association mapping table. As long as the capacity and access capability of the association mapping table are not limited, the so-called unrestricted information association of the present invention can be realized.
When retrieving associated data of a certain information or information category or retrieving information (associated object) associated with the information or information category, generally, the association method, the category of the associated object, or a filter condition for further specifying the associated object is limited. These definitions are referred to as association conditions.
(VII) associated control
In order to improve the effectiveness and practicability of the association or association process, the association condition, the association method, or other processing methods (such as a statistical method, an operation method, an information combination method, an action behavior method, etc.) should be generally defined and controlled. The invention adopts the configuration data to control, and can implement effective control and carry out necessary adjustment on the control with less modification or even without modifying the associated program by utilizing the cooperation of the configuration data and the associated program.
Fig. 1 is a schematic structural diagram of a first embodiment of the information association system according to the present invention; the information association system of the present invention includes: the information processing apparatus 50, the information input and search apparatus 30, the association map access apparatus 60, the configuration data access apparatus 70, and the application interface apparatus 90, which are connected to the information processing apparatus 50. Wherein,
the application interface device 90 may be coupled to an external system 10, which may be one or a group of information processing devices (e.g., keyboard and display terminals), other information processing systems, or an automated control system. The application interface device 90 is used to realize communication or function calling between the external system 10 and the associated information processing device 50.
The external information input and retrieval device 30 is used for receiving an instruction or call from the related information processing device 50, reading, retrieving and counting the external information in the external information set 20, and inputting the result to the related information processing device 50 for use. The external system 10 and the external information collection 20 may also be an integral unit, if so, the external information input and retrieval device 30 accesses the external information through this combination.
The association mapping table accessing device 60 is used for accepting an instruction or call from the association information processing device 50, accessing or retrieving the association mapping table information in the association mapping table set 40.
A set of association maps 40 for storing intermediate results of the processing of the external information (i.e., association maps for the external information) of the present invention. This intermediate result is not the final result of the processing of the external information in the present invention. The final result of the external data processing is to be fed back to the external system 10 by the associated information processing device 50 after the data integration processing of the external information set 20, the set of association mapping tables 40, and the configuration data set 80.
The configuration data access device 70 is used for receiving an instruction or call of the related information processing device 50 and accessing configuration data used by the related information processing device 50 when executing the corresponding function.
The configuration data set 80 is used to store configuration data used by the associated information processing apparatus 50 in performing the corresponding function. The configuration data includes at least one of a description-designated association mode, an association condition, a statistical mode, a processing mode, a behavior mode or an external information filtering condition, and the adjustment or change of the configuration data will affect the processing mode of information association.
The related information processing device 50 is configured to complete processing of a related relationship between input or read external information according to related instructions and parameters through information interaction with other devices, and includes: managing the incidence relation of the external information, and counting, searching and processing the incidence relation and the incidence information.
The working mode of the whole system and the matching relation among all the components are as follows:
the external system 10 issues a corresponding instruction to the application interface device 90, starts the related information processing device 50 to complete management and information processing of the information association relationship of the external information in the external information set 20, and feeds back the processed result to the external system 10 through the application interface device 90. For example, a notification message generated by associating an order with a statement: "this order may be shipped", or: an instruction to print a notice of the shipment, the notice information or instruction being fed back to the external system.
The related information processing device 50 reads or retrieves the external information through the external information input and retrieval device 30 during operation; accessing or retrieving the intermediate result of the association process through the association mapping table accessing means 60; access to control parameters and data for the associated function by configuring the data access device 70;
in practical applications, the external information set 20, the association mapping table set 40, and the configuration data set 80 can be stored in a single storage device or a unified storage device.
Fig. 2 is a schematic structural diagram of a second embodiment of the information association system of the present invention; in this embodiment, the external information input and retrieval means 30, the association mapping table access means 60, the configuration data access means 70 and the application interface means 90 in the first embodiment are incorporated into one device (multi-function interface means). The principle does not change and is not described in detail here.
Fig. 3 is a schematic structural diagram of a third embodiment of the information association system according to the present invention; the associated information processing device 50, the associated mapping table access device 60 and the configuration data access device 70 in the present invention are integrated (embedded) in the external system 10, so that data exchange and function reference can be directly performed between the external system 10 and the associated information processing device 50, and the query of the associated information processing device 50 for the external information is performed by a tool provided by the external system 10, so that the external information input and retrieval device 30 and the application interface device 90 can be omitted.
The application interface device 90 is used to enable mutual communication between the external system 10 and the associated information processing device 50. If the application scheme is in the form of the third embodiment shown in fig. 3, or the external system 10 and the associated information processing apparatus 50 can directly refer to and exchange data with each other, this apparatus can be omitted.
Fig. 4 is a schematic structural diagram of an application interface device 90 according to the present invention. The application interface device 90 includes: an input unit 900, a conversion unit 901, and an output unit 902. The input unit 900 reads the instruction and data from the device and stores them temporarily. The conversion unit 901 converts the instruction and data temporarily stored in the input unit as appropriate, and sends the converted instruction and data to the output unit. The conversion method is determined according to the characteristic requirements of the external system 10, such as photoelectric conversion, analog-to-digital conversion, or data encoding and format conversion. The output unit 902 sends the instruction and data sent by the conversion unit to the corresponding component, or allows the corresponding component to read the instruction and data therefrom, or directly starts the designated function of the corresponding component according to the instruction and the parameter.
The external information input and retrieval device 30 receives an instruction or call from the related information processing device 50, reads and retrieves or counts external information, and inputs the result to the related information processing device 50 for use. If the application scheme is in the form of the third embodiment shown in fig. 3, or the associated information processing apparatus 50 can directly retrieve and read the external information, this apparatus can be omitted.
The construction requirements of the external information input and retrieval device 30 are determined according to the storage manner of the external information set 20. An example is given here:
assuming that our application environment is a computer network, the external information collection 20 is stored in a computer in the network in the form of a relational database file. The external information input and retrieval device 30 is constructed as follows:
a computer is added to the network, a corresponding database management system (DBMS) is operated in the computer, and the DBMS is connected with the database file through a network protocol, so that a database server is constructed. A data retrieval interface program (DSI) is then run on this server. The flow chart of the DSI is shown in fig. 5. Firstly, receiving the query and search command and data of the associated information processing device 50, then converting the command and data into SQL sentences conforming to the corresponding DBMS rules, then transmitting the SQL sentences to the DBMS for data search, and finally feeding the search result back to the associated information processing device 50.
The association mapping table is stored in the association mapping table set 40, and is used for reflecting the association relationship between any two pieces of information. An association mapping table may contain multiple pieces of data, each piece of data reflects an association relationship between a pair of pieces of information, and is called association data, and a data structure of the association mapping table needs to satisfy the following principle:
two pieces of information can be obtained from the data, and the two pieces of information are related information reflected by the data;
the association category can be obtained from the data;
the associated direction can be obtained from the data;
associated additional information may also be included in the data, if desired.
What is referred to as "obtaining" above includes direct acquisition, and acquisition by implicit, default, or derivation by some rule.
As shown in table 1 below, which is an example of an association mapping table. It reflects the association between any two associated objects (information a and information B).
TABLE 1
Aid Atype Bid Btype Rtype DirectiOn Append
*** *** *** *** *** * ***
Wherein Aid represents the information identifier of the information A;
type represents the information category identification of the information A;
bid represents the information identifier of information B;
btype represents the information category identification of the information B;
rtype represents the identification of the associated category;
direction represents an identification (A, B, or O) of the associated Direction;
appendix represents additional information. And the method is used for further explaining or supplementing the association relationship, such as reflecting the establishment date, the relationship degree, additional explanation and the like of the association relationship. Multiple "additional information" elements may be constructed, or omitted, as desired.
Aid and type constitute the location identifier of information a, and Bid and Btype constitute the location identifier of information B, so that the two pieces of related information can be obtained. Rtype is the identification of the association category to distinguish different association categories. One association class can be uniquely obtained by using one Rtype. The Direction is used to express the associated Direction, for example, a represents the forward Direction.
In the association mapping table set 40, a single association mapping table may be set, or a plurality of association mapping tables may be set.
If a plurality of association mapping tables are set, the association mapping tables corresponding to different information categories are clarified during access. A mapping table is generally set to reflect the correspondence between the information category and the associated mapping table (as shown in table 2 below). At this time, an ID may be set for each association mapping table, and the corresponding association mapping table may be found according to the association mapping table ID. Thus, given a category of information, it can be determined which association mapping table to use to access or retrieve associations.
TABLE 2
Information category identification Association mapping table ID
*** ***
*** ***
If the correspondence between the information category and the association mapping table is a one-to-one correspondence, an information category identifier, i.e., an element type, can be omitted when the association mapping table is constructed. This element is an implicit form of existence here.
Fig. 6 is a schematic structural diagram of an association mapping table accessing apparatus 60 according to the present invention. The association mapping table accessing means 60 further includes:
the data reading unit 600 reads out the specified association mapping table from the association mapping table set 40.
A data filtering and analyzing unit 601, where the filtering refers to comparing specified association conditions in the read association mapping table, and separating out associated data meeting the conditions; the analysis means that the read related data is decomposed into corresponding element sets according to the data structure according to the obtaining method, and only part of data elements can be obtained according to needs during decomposition, for example, when related data of certain information a is obtained, the positioning identifier of the information a in the read related data does not need to be obtained any more.
An output unit 602, which first combines or transforms the data to be written or updated into a format that can be received by the association mapping table set 40, and then writes the data into the association mapping table set 40; or delete specified data from the set of association maps 40.
An instruction analysis unit 603 for receiving the instructions and parameters, and performing necessary combination or transformation (e.g., constructing into SQL statements) on the instructions and parameters as needed, and then the data reading unit 600 or the output unit 602 is activated to execute the instructions.
When executing the instruction, if a given parameter does not contain the positioning information of the association mapping table, the relevant unit may determine the operated association mapping table according to the correspondence between the information category and the association mapping table.
The following describes possible instructions executed by the association mapping table accessing apparatus 60:
instructions for: create for creating association data in an association mapping table. The parameters are elements in the associated data structure. During execution, the output unit 602 is activated, and writes the associated data into the corresponding associated mapping table, and after that, may feed back information on whether the execution is successful or not to the caller of the apparatus.
Instructions for: search, for retrieving association data in the association mapping table. The parameters of which include main information and associated conditions. Corresponding to the aforementioned example of the associated data structure, the main information is the associated main body, and may be specific information (including information identifier and information category identifier), or may be information category (including information category identifier, but not including information identifier). The information identification corresponds to Aid in the associated data structure, and the information category identification corresponds to type. The association condition is used to further filter the association data, and may include a defined condition of zero to more than one element in the association data structure (e.g., Btype is required to be "order" or "contract") except for Aid and type. The element conditions may be further combined with each other by the relationship of and or. When the data reading unit 600 is activated, the data filtering and analyzing unit 601 is activated, and finally, the obtained associated data set is fed back to the caller of the present apparatus.
Instructions for: IsRelate is used for judging whether the association relationship of the information or the information category exists. The parameters of which are the same as those described for the instruction Search. When executing, the data reading unit 600 is activated, the data filtering and parsing unit 601 is activated, and if the data filtering and parsing unit 601 can obtain the associated data set that is not empty, the presence information is returned to the caller of the device, such as: true, otherwise returns non-existent information such as: "false".
Instructions for: delete, for deleting the associated data from the association mapping table. The parameters of which are the same as those described for the instruction Search. When executed, the data reading unit 600 is activated, the data filtering and parsing unit 601 and the output unit 602 are activated, wherein the output unit 602 deletes each piece of association data obtained by the data filtering and parsing unit 601 from the corresponding association mapping table. After the completion, information on whether the execution was successful or not may be fed back to the caller of the present apparatus, or the number of deleted associations may be specifically reported. In addition, if the instruction analysis unit 603 can acquire the positioning information of the associated data from the present instruction parameter, the output unit 602 can be directly started to delete them.
The above 4 instructions are common instructions, and readers can set other instructions according to the thought of the scheme as required. Such as a "modify" instruction, for modifying a portion of elements in the specified associated data.
A simple example of the construction of the device is given here:
assuming that our application environment is a computer network, the set of association mapping tables 40 is stored in a computer in the network in the form of a relational database file. The device is then constructed as follows:
a computer is added to the network, a corresponding database management system (DBMS) is operated in the computer, and the DBMS is connected with the database file through a network protocol, so that a database server is constructed. The database server comprises the aforementioned data reading unit 600, data filtering and parsing unit 601 and input unit 602, and then runs one or a set of instruction analysis interface programs (IAI) on the server to form an instruction analysis unit 603. As shown in fig. 7, the IAI flow chart firstly receives the instruction and the parameter of the associated information processing device 50, then converts the instruction and the parameter into the SQL statement that conforms to the corresponding DBMS rule, then transmits the SQL statement to the DBMS for the corresponding database operation, and finally feeds back the result to the associated information processing device 50.
The configuration data access device 70 receives an instruction or call from the related information processing device 50, and accesses configuration data used when the related information processing device 50 executes a corresponding function.
The configuration data is stored in a configuration data collection 80, which may be in a variety of formats, such as an XML format.
The type and content of the configuration data includes some or all of the following:
a) filtering condition of external information. The associated program will retrieve specific external information accordingly. May include a restriction (e.g., greater than a certain value) on certain elements in the external information, or a sorting manner, etc.
For example, orders with money greater than 10000 are obtained and sorted in reverse order of order date:
<Filter>
<Restrict>
< Field Name ═ amount ">)
< Value provider >
</Field>
</Restrict>
<Sort>
< Field Name ═ date "> DESC </Field >
</Sort>
</Filter>
b) The association manner or association condition of the information is described. The association program will find the association information of a certain or some kind of information according to the association condition, or limit the processing mode of the association information by the association mode. The method can comprise the following steps: information category of the associated information, association category, association direction, or filter condition (see a)), and the like.
For example, it is defined that certain information may be associated with "receipt", with the association category being "receipt", the association direction being "a":
< relationship Name ═ associated receipt >
< InfoType > receipt </InfoType >
< relationship type > Collection </relationship type >
<Direction>A</Direction>
</Relation>
By adjusting these data, the user can arbitrarily adjust and change the processing manner associated with the information without changing the program and the data structure.
The number of associations may also be limited. As one is added to the above example:
<RelNum>1</RelNum>
meaning that a piece of information is only allowed to be associated with a "bill of lading".
c) A specific manner of information processing is described. When processing related information, it is often necessary to perform processing such as statistics, calculation, or combination of related information data. At this time, instructions or expressions of these processes may be described in the configuration data, and the associated program will perform the processes accordingly.
For example, for the "bill of lading" information meeting a specific filtering condition, the number thereof is counted, and the counted value is saved in a variable named "Count"; the Sum of the statistical amounts (Amount) is summed and saved in a variable named "Sum". The description is as follows:
<Statistics>
<Count>COUNT(ID)</Count>
<Sum>SUM(Amount)</Sum>
</Statistics>
for another example, for a specific order information, the sum of the amounts counted for the associated money receiving sheets is added to the appendix area of the order information under the name of "total amount received", and then the difference between the value and the order amount is added under the name of "amount owed". The description is as follows:
<Append>
< collection amount > relationship (associated receipt) & statistics (Sum) < collection amount >
< sum of owing > field (amount) -attached (total amount of collection) </sum of owing >
</Append>
FIG. 8 is a schematic diagram of a configuration data access device 70 according to the present invention. The configuration data access device 70 includes:
the data reading unit 700 reads out the designated data from the configuration data set 80.
The data analysis section 701 analyzes or decomposes the read data into instructions or data having a specific structure. The specific manner will be determined according to the structure and type of the data being read in. Assuming that the read data is in the form of XML document, the data can be parsed by adopting interface standard specification of dom (document Object model) or SAX (XML simple application programming interface). The parsed data is stored in a data buffer unit and waits for the associated information processing device 50 to read the application, or is directly sent to the associated information processing device 50.
If the configuration data access device 70 is required to update the data in the configuration data set 80, the method further comprises:
the data combination conversion unit 702 combines or converts the data to be updated into a format receivable by the configuration data set 80.
The output unit 703 writes the data after the combination transformation into the configuration data set 80.
When the configuration data accessing device 70 is called or activated to access the configuration data, when the data size is large or the content is complicated, a positioning message may be transmitted to the device to indicate the location of the relevant configuration data. For example, if the configuration data is stored in the file system of the computer in the form of a file set, the location information may be given by a path and a file name; if these files are in XML format, tag names having a hierarchical relationship may be attached as the location information.
Note that the configuration data in the configuration data set 80 may be constructed or modified by other means like a text editor, in addition to being modified by the configuration data access means 70, but it is noted that the intended format cannot be violated.
Fig. 9 is a schematic diagram showing the structure of the related information processing apparatus 50 according to the present invention. The related information processing apparatus 50 may be one or more computers running a "related program", and the related program may be a computer program including a set of specific function modules or a computer program constituted by a set of subprograms having specific functions, which together with the computer constitute respective functional units of the related information processing apparatus 50. After receiving the instruction from the external system 10, the device starts the corresponding unit, and then feeds back the obtained associated information, the reconstructed new information, or the control information to the external system 10. The device includes: a unit 500 for managing the association, a unit 501 for searching the associated external information, a unit 502 for counting the associated information, an information reconstruction unit 503, a unit 504 for controlling the external system, and a unit 506 for analyzing and executing the configuration data. These units are described in detail below.
The configuration data analysis and execution unit 506 is used for defining and controlling the association condition, the association manner, or other processing manners (such as a statistical manner, an operation manner, an information combination manner, an action behavior manner, and the like). It extracts corresponding instruction, data or expression from the configuration data, provides the data to other units for use, or executes the instruction or expression, and provides the execution result to other units for use. For example, a program creating an information association determines whether two pieces of information to be associated are allowed to establish an association by analyzing the relevant configuration data.
The unit can comprise some independent program modules for other functional units to call when needed, or some program segments can be embedded into programs of other functional units to complete related tasks.
The method for implementing these programs will be implemented according to the data structure and format of the configuration data. If the configuration data is obtained in XML format, the data can be located by using XPath rules; if the obtained data contains expression character strings, the expression character strings are further decomposed by using a program with certain lexical analysis, and under the simpler condition, regular expressions can be used for analysis.
Note that, for the instructions or expressions obtained by analyzing the configuration data, a subroutine or a program segment corresponding to the instructions or expressions is designed in the program so as to complete the specified functions. Some or all of the following instructions or expressions may be included:
a1, object location expressions, to specify particular data objects in a data storage area. The associated program may take the value of the object or assign a value to it. Such as:
relationship, statistics (count)
The current information includes an associated information area named "associated bill of lading", and a statistical information area is located in the information area, and a variable named "Count" is located in the statistical information area.
a2, operation expression including four arithmetic operations, logical operations, etc. The correlation program will find the corresponding calculated value accordingly.
a3, statistics instruction, and the correlation program executes statistics by the unit 502 to which the statistics-related information is applied, or transmits the statistics instruction to the external information input and retrieval device 30.
a4, search instruction, and the related program executes search by the unit 501 for searching for related external information by the application, or transmits a search instruction to the external information input and search device 30.
a5, information combination instruction, the association program will merge two or more information and data. Or to append certain data, information to specified information.
a6, behavior control commands, such as instructing the associated program to send control commands to the external system.
a7, conditional expressions, to determine if a specified condition is satisfied.
Note that, in the course of the operation of each unit of the related information processing apparatus 50, it is often necessary to specify a specific related condition, a related manner, another processing manner, or the like. These designations can be implemented in two ways: firstly, specific information to be specified is directly contained in a starting instruction and parameters for a relevant unit; secondly, the start instruction and parameters for the relevant unit include the positioning information of the configuration data, the specified configuration data is acquired by the configuration data access device 70, and the relevant information is acquired by the configuration data analysis and execution unit 506.
A unit 500 for managing association relationship, configured to manage association data in the association mapping table by using a specified association manner or association condition through the association mapping table access device, where the management is to use a program to implement creation, modification, retrieval, or deletion of association data.
The association data is created by associating the two pieces of information (InfoA and InfoB) specified by the instruction parameter, obtaining the association data, and adding the association data to the association mapping table through the Create instruction of the association mapping table access device 60. The programming means embodying this functionality are numerous. FIG. 10 is a schematic diagram of an exemplary process flow.
The modification is to change the existing association relationship by replacing the original association data with the new association data in the association mapping table through the association mapping table accessing device 60.
The Search is to find out the existing association relationship by sending the main information, the association condition and the Search instruction to the association mapping table accessing device 60 to obtain the association data set meeting the condition.
The deleting is to revoke the existing association relationship by sending the corresponding parameter and Delete command to the association mapping table accessing device 60.
A unit 501 for retrieving associated external information, configured to access a corresponding association mapping table through the association mapping table access device 60 according to an association condition, obtain association data corresponding to the association condition, retrieve an external information set according to the association data, and obtain data of external information corresponding to the association data;
as shown in fig. 11, an example of a flowchart of a procedure for retrieving the related information according to the present invention is shown. The purpose of this flow is to retrieve external information associated with a specified information or information category (called primary information, corresponding Aid and type).
Firstly, extracting specified main information and associated conditions according to instruction parameters;
in the second step, the extracted parameter data and the Search instruction Search are sent to the association mapping table accessing device 60 together to perform the Search of association relationship, and as a result, a set of association data sets may be obtained, wherein Bid and Btype are used for searching the associated external information. If the data set is empty, no associated information is indicated, and the procedure ends.
Thirdly, the Bid and Btype in the associated data are sent to the external information input and retrieval device 30, and a specific associated external information set is obtained.
And fourthly, returning the obtained information set.
The first step and the second step may also be combined into one step by calling a retrieval function of the unit for managing association 500. In special cases, for example, where the external information 20 and the association mapping table (association mapping table set 40) are both in a relational database, the second step and the third step may be combined into the same step, for example, by constructing an SQL statement containing a connection table, the association information set may be obtained at a time.
A unit 502 for counting the associated information, configured to access the corresponding association mapping table through the association mapping table accessing device 60 according to the association condition, retrieve the associated data corresponding to the association condition, and perform statistics by using a specified statistical manner, so as to obtain statistical data, where the specified statistical manner includes performing statistics on specified data in the retrieved associated data set, or performing statistics on specified data of the external information corresponding to the associated data by using the retrieved associated data. The statistical content may include: counting the number of messages, or summing, maximizing, minimizing, averaging, or varying a certain number of message elements.
In special cases, such as where the part information 20 and the associated mapping table (associated mapping table set 40) are both in a relational database, the statistical data may be retrieved at the same time as the search (by constructing SQL statements that contain statistical functions).
An information reconstructing unit 503, configured to process the retrieved or counted information in a specified processing manner, where the processing manner includes at least one of judgment, operation, combination, decomposition, information addition, or direct reference, to obtain new data outside the original external information set.
Fig. 12 is a schematic flowchart of an exemplary process for implementing information reconstruction according to the present invention.
The implementation method comprises the following steps:
one or a piece of configuration data is set in the configuration data set 80 to indicate the association manner and the data processing manner of the information a. And may then begin to perform this function.
First, the configuration data set above is read, and information a is acquired.
The configuration data is then analyzed by the configuration data analysis and execution unit 506 and the associated information, as well as the intrinsic data of the information a, is processed as required. The treatment method comprises the following steps: filtering, statistics, calculations, combinations, or additional information of the data, etc.
Finally, the information obtained by the processing is fed back to the caller of the function, and is generally sent to the external system 10.
Examples are as follows:
assuming that the external information includes order information and collection information, the necessary association between the two types of information is established by using the aforementioned association management function. Here, we will determine whether the order has been collected, collected several times, collected together, whether there are arrears, and how much arrears by performing relevant statistics and operations on the collection information associated with the order. The information and the original order information form a new order comprehensive information to be fed back to the user.
Before this function is used, a piece of configuration data is set in the configuration data set 80 in XML format, as follows:
<Info>
< InfoType > order </InfoType >
< relationship Name ═ associated receipt >
< InfoType > receipt </InfoType >
< relationship type > Collection </relationship type >
<Direction>A</Direction>
<Statistics>
<Count>COUNT(ID)</Count>
<Sum>SUM(Amount)</Sum>
</Statistics>
</Relation>
<Append>
< number of collection > relationship, statistics (count) number of collection >
< whether or not to collect > Boolean (attached (collection times) >0) </whether or not to collect >
< collection amount > relationship (associated receipt) & statistics (Sum) < collection amount >
< sum of owing > field (amount) -attached (total amount of collection) </sum of owing >
< whether arrearage > Boolean (appendix >0) </whether arrearage >
</Append>
</Info>
Subsequently, the processing is performed by the flow shown in fig. 12. In the execution process, the analysis and execution unit 506 of the configuration data is used to analyze the configuration data to obtain corresponding instructions, parameters and expressions. And then, the related tasks of instruction operation, expression operation and the like are completed. The following explains the processing method executed by the functional program after analyzing the above configuration data:
< Info > indicates a specific piece of information. Its subordinate content shows how this information is constructed.
The < InfoType > order </InfoType > indicates that the type of this information is "order". A unique order can be determined based on an accurate information Identification (ID). This order may be obtained by the external information input and retrieval device 30.
The expression < relationship Name ═ associated receipt > indicates that after an order is obtained, an associated information storage area corresponding to the order is established and used for obtaining the associated information of the order. And this region has a name: and associating the bill of lading. The lower level of content shows how to determine these associations.
< InfoType > Bill </InfoType > indicates the type of information with which the associated information is limited to "bill of receipts".
< relationship type > collection </relationship type > indicates that the association type is: the receipts, i.e., the receipts, are associated with the corresponding orders as a result of "receiving payment".
< Direction > A </Direction > indicates that the correlation Direction is: and A, the order is the collection sheet generated after collection.
< Statistics > indicates that Statistics of the related bill is to be performed by calling the unit 502 for Statistics of related information, and meanwhile, a statistical information storage area is established in the related information area for storing the statistical information. Its subordinate content indicates what statistics to do and how.
< Count > Count (ID) </Count > indicates that a statistical variable named "Count" is to be created in the statistics area, and the value is the ID of the associated receipt, which represents the number of receipts for the order. COUNT is a statistical instruction: and (6) counting. (ID) indicates the ID of the receipt is counted.
< Sum > Sum (amount) </Sum > indicates that a statistical variable named "Sum" is to be created in the statistics area, the value of which is the Sum of the amount values of the associated bills, which represents the total amount of collection for the order. SUM is a statistical instruction: and (6) summing. (Amount) indicates that the object of the summation is an Amount element of the receipt, i.e., the Amount of the receipt.
< appendix > indicates that some information data is to be added to the corresponding order, and these data are to be stored in the additional data area of this order. Its lower level content indicates which data to append and how to get the value of the data.
< number of receipts > relationship (related receipt) </number of receipts > represents the creation of an object (variable) named "number of collections" in the additional data area, whose value is: statistics in the associated information field named "associated checklist": value in the Count variable.
< collect > Boolean (attached >0) </collect > means that an object (variable) named "collect or not" is created in the additional data area, and has a value: whether the value of the number of receipts is greater than 0 (yes or no). Where appendix (number of collection times) represents an object (variable) named "number of collection times" in the additional data area. Boolean is an arithmetic instruction: boolean (yes or no) is evaluated for the expression in parentheses.
< collection amount > relationship (associated receipt) < "> statistics (sum) < collection amount > indicates that an object (variable) named" collection amount "is created in the additional data area, and has a value of: statistics in the associated information field named "associated checklist": value in Sum variable.
< amount of owing > field (amount) -attached (total amount of collection) </amount of owing > means that an object (variable) named "amount of owing" is created in the additional data area, and the value thereof is: difference between the order amount and the total amount collected. Field (Amount) indicates the Amount element of the order, i.e., the order Amount. Appendix (collection amount) represents an object (variable) named "collection amount" in the additional data area of the order. "-" connects these two objects to form a subtraction expression whose value is the difference between the values of the two objects.
< arrears > Boolean (attached (arrears) >0) </arrears > means that an object (variable) named "arrears" is created in the additional data area, and has a value: whether the value of the amount owed is greater than 0 (yes or no). Where appendix (amount owed) represents an object (variable) named "amount owed" in the additional data area. Boolean is an arithmetic instruction: boolean (yes or no) is evaluated for the expression in parentheses.
A unit 504 for controlling the external system, configured to process the retrieved or counted information in a specified processing manner, and issue a corresponding control instruction to the external system according to a specified behavior manner according to a result of the processing, so as to control operation of the external system.
This unit uses a program to send specific instructions and parameters to an external application system (external system 10). These commands and parameters sent externally must be accepted and executed by the external system 10. Fig. 13 is a schematic flow chart of an example of implementing system control in the present invention, which is described as follows:
the configuration data set 80 is provided with related configuration data for specifying the association method of specific information, the processing method of associated information, the starting condition, instruction, parameter, and the like of control action. And may then begin to perform this function.
First, the configuration data set above is read and the information to be processed or analyzed is obtained.
And secondly, analyzing the configuration data to obtain corresponding associated information or corresponding data such as statistics, operation and the like.
Thirdly, analyzing the condition requirements in the configuration data, and if the conditions are met, executing the next step; if not, executing the fifth step.
And fourthly, analyzing the configuration data, and starting the designated control behavior (including sending control instructions to the outside) by using corresponding instructions and parameters.
Finally, if necessary (e.g., batch processing is not complete), the preceding steps can be executed in a loop, otherwise execution of the function is terminated.
Description of the drawings: the analysis of the configuration data can also be performed once in the beginning part of the program, and the analysis result is cached for the following steps and circulation. The information to be processed or analyzed can also be read one by one in each cycle until all processing or analysis is completed.
In addition, if the application scheme is in an embedded form (fig. 3), or the external system 10 and the associated information processing apparatus 50 can directly refer to and exchange data with each other, what is called herein an externally transmitted instruction may be to directly start a related function of the external system 10.
Examples are as follows:
assuming that the external information includes order information and collection information, the necessary association between the two types of information is established by using the aforementioned association management function. There is a "shipped" element in the order to indicate whether the order has been shipped, and the external system 10 will automatically set its "shipped" element value to "True" after performing a shipping task on an order, for which all orders that have been "shipped" as "False" are not shipped. Our task is to check all non-shipped orders and send an "order shipment" instruction to the external system 10 once an order is found to have been received (i.e. the number of times received is greater than 0 and the total amount received is greater than 0), and the ID of this order is also sent with the instruction. It is also assumed that the external system 10 comprises a vending machine system, which, upon receiving this command, initiates an automatic shipment process for the corresponding order and, after the process is complete, sets the "shipped" flag of the order to "True". Thus, the program of the present function forms a part of the vending machine system.
Before this function is used, a piece of configuration data is set in the configuration data set 80 in XML format, as follows:
<Info>
< InfoType > order </InfoType >
<Filter>
<Restrict>
< Field Name ═ shipped >
<Value Comparator=”=”>False</Value>
</Field>
</Restrict>
</Filter>
< relationship Name ═ associated receipt >
< InfoType > receipt </InfoType >
< relationship type > Collection </relationship type >
<Direction>A</Direction>
<Statistics>
<Count>COUNT(ID)</Count>
<Sum>SUM(Amount)</Sum>
</Statistics>
</Relation>
<Actions>
<Condition>
< If > relationship receipt, statistics (count) >0</If >
< If > relationship receipt, statistics (sum) >0</If >
<R>And</R>
</Condition>
<Action>
<Execute>SendCommand</Execute>
< Param Name ═ Cmd ">" order delivery "</Param >)
<Param Name=”ID”>Field(ID)</Param>
</Action>
</Actions>
</Info>
Subsequently, the processing is performed by the flow shown in fig. 13. The following explains the processing method executed by the functional program after analyzing the above configuration data:
< Info > indicates a specific piece of information. Its subordinate content shows how this information is structured, and the associated behavioral methods.
The < InfoType > order </InfoType > indicates that the type of this information is "order".
< Filter > and < Restrict > indicate an information filtering condition with which the "order" information of the lot is to be retrieved through the external information input and retrieval device 30. This can also be used to verify that it meets processing requirements if an order is given.
The "shipped" flag indicates that the order is requested to be obtained, and the "shipped" flag must be False.
The expression < relationship Name ═ associated receipt > indicates that after an order is obtained, an associated information storage area corresponding to the order is established and used for obtaining the associated information of the order. And this region has a name: and associating the bill of lading. The lower level of content shows how to determine these associations.
< InfoType > Bill </InfoType > indicates the type of information with which the associated information is limited to "bill of receipts".
< relationship type > collection </relationship type > indicates that the association type is: the receipts, i.e., the receipts, are associated with the corresponding orders as a result of "receiving payment".
< Direction > A </Direction > indicates that the correlation Direction is: and A, the order is the collection sheet generated after collection.
< Statistics > indicates that Statistics of the related bill is to be performed by calling the unit 502 for Statistics of related information, and meanwhile, a statistical information storage area is established in the related information area for storing the statistical information. Its subordinate content indicates what statistics to do and how.
< Count > Count (ID) </Count > indicates that a statistical variable named "Count" is to be created in the statistics area, and the value is the ID of the associated receipt, which represents the number of receipts for the order. COUNT is a statistical instruction: and (6) counting. (ID) indicates the ID of the receipt is counted.
< Sum > Sum (amount) </Sum > indicates that a statistical variable named "Sum" is to be created in the statistics area, the value of which is the Sum of the amount values of the associated bills, which represents the total amount of collection for the order. SUM is a statistical instruction: and (6) summing. (Amount) indicates that the object of the summation is an Amount element of the receipt, i.e., the Amount of the receipt.
< Actions > shows that the following description: when the above orders are obtained, the actions to be performed for each order. There may be multiple actions, but there is only one.
< Condition > indicates that there is a conditional judgment before execution, and if the Condition is satisfied, the execution is performed, otherwise, the execution is not performed. The < If > tag at the lower level thereof indicates a specific conditional expression. There may be multiple conditions, and the tag < R > is used to illustrate the logical relationship between the multiple conditions: and either an Or. The structure can be designed into a multi-layer nested form to express more complex condition combination logic.
< If > relationship statement, statistics (count) >0</If > represents statistical information required in the association information area named "association statement": the value in the Count variable must be greater than 0, i.e., there must be at least one payment.
< If > relationship receipt, statistics (sum) >0</If > represents that statistical information is required in the association information area named "association receipt": the value in the Sum variable must be greater than 0, i.e. the collection total must be a positive number.
And the expression < And > requires that the two conditional expressions are true at the same time, And the whole condition judgment can be true.
< Action > describes an Action to be performed.
< execution SendCommand > indicates what action is to be performed, where SendCommand is an instruction to be issued outside. The following < Param > is the parameter required to perform this behavior.
The < Param Name ═ Cmd ">" order shipment "</Param > represents a parameter named" Cmd ", the value of which is" order shipment ". For the behavior of sending instructions, this represents the instruction name.
< Param Name ═ ID "> field (ID) </Param > denotes a parameter named" ID ", the value of which is the value of the ID element in the order. For instructions for delivery of an order, this represents the order number.
By using the system and the method provided by the invention, any two independent information in the processed external information set can be associated on any concept. For example, the expansion and modification of the association between two information can be completed within several minutes, and even the system can be realized in a state of protection operation without shutdown.
When a new information processing system is built, the method provided by the invention does not need to be developed after the relation of the aspects of the whole system is considered. After the system is put into use, if a new association requirement is found, the new association requirement can be expanded by reconfiguring corresponding parameters and the like. This extension or change is achieved without having to modify the "associated program" used, without having to modify the data structure of the external information, without having to modify the data structure specific to the invention.
Therefore, the method provided by the invention can greatly improve the capability and efficiency of processing information association of the user and can also improve the efficiency and flexibility of application system development. Thereby greatly improving the capability and efficiency of the user for processing the information association.
The following examples illustrate some of the other applications of the invention:
example 1, assuming that the external information set contains "order" information and "person" information, when a user intends to associate an order with a person through a "order following" relationship, thereby generating an order containing a person following the order, and the information of the "order following person" is a new information type which is not contained in the original external information set, the system or method provided by the present invention can be used for realizing the purpose. Thus, when an order is picked up that contains a follower, the information of the follower is attached to it in addition to the original information of the order, and the associated person is thus given new attributes: a order clerk for an order.
Example 2, assume that the external information set contains "order" information and "statement of account" information, which do not have any obvious relationship in the original information set. The system or method provided by the present invention can be used when a user intends to associate an order with a statement to generate a "settled order" by a "settlement" relationship. At the same time, the associated statement is also given new attributes: a statement of an order, not a statement of a contract (assuming that the order and the contract are two different types of information in the original external information set).

Claims (10)

1. An information association system, comprising:
the storage device stores a set of association mapping tables, the set at least comprises one association mapping table, each association mapping table stores a set of association data of the external information, each piece of association data is used for expressing an association relationship between a pair of external information, and at least the following data elements can be obtained from each piece of association data: associating the positioning identification, the association type identification and the association direction identification of both sides of the object;
the access device of the associated mapping table is used for reading and writing the associated mapping table appointed in the associated mapping table set and decomposing the read associated data into a corresponding data element set;
the related information processing device is used for accessing the external information in an external information set and processing the external information and the related relation thereof, and comprises:
a unit for managing association relation, which is used for managing association data in the association mapping table by using a specified association mode or association condition through the association mapping table access device;
a unit for retrieving associated external information, configured to access a corresponding association mapping table through an association mapping table access device according to an association condition, obtain association data corresponding to the association condition, retrieve an external information set according to the association data, and obtain data of external information corresponding to the association data;
and the unit for counting the associated information is used for accessing the corresponding associated mapping table through the associated mapping table access device according to the associated condition, retrieving the associated data corresponding to the associated condition, and carrying out statistics by using a specified statistical mode to obtain the statistical data, wherein the specified statistical mode comprises the step of carrying out statistics on the specified data in the retrieved associated data set, or the step of carrying out statistics on the specified data of the external information corresponding to the associated data by using the retrieved associated data.
2. The information association system of claim 1 wherein the location identifier of the associated object further comprises an information identifier and an information category identifier of the associated object.
3. The information association system according to claim 1 or 2, wherein the association information processing apparatus further comprises:
an information reconstruction unit, configured to process information obtained from the unit for managing the association relationship, the unit for retrieving the associated external information, or the unit for counting the associated information in a predetermined processing manner, so as to obtain new data outside the original external information set, where the processing manner includes at least one of judgment, operation, combination, decomposition, information addition, or direct reference; or
And the unit for controlling the external system is used for processing the information obtained from the unit for managing the association relationship, the unit for retrieving the associated external information or the unit for counting the associated information in a specified processing mode, and sending a corresponding control instruction to the external system according to the processing result and the specified behavior mode so as to control the operation of the external system.
4. The information association system according to any one of claims 1 to 3, wherein the association information processing means performs interaction of instructions, data, or mutual calls with an external system directly or through an application interface means; the associated information processing device accesses the external information set directly or through an external information input and retrieval device.
5. The information association system according to any one of claims 1 to 3, further comprising:
the storage device of the configuration data set is used for storing configuration data used by the associated information processing device, and the configuration data comprises at least one of description-specified association mode, association condition, statistical mode, processing mode, behavior mode or external information filtering condition;
the configuration data access device is used for receiving the instruction or call of the associated information processing device, accessing the configuration data in the configuration data set and providing the read data for the associated information processing device for use;
the related information processing device further comprises a configuration data analysis and execution unit which is used for extracting corresponding instructions, data or expressions from the configuration data and executing the instructions or expressions.
6. An information association method, characterized by comprising the steps of:
A. and managing the association relationship: managing, by an association mapping table access device, association data in an association mapping table by using a specified association manner or association condition, wherein the management includes writing, reading or deleting, and at least positioning identifiers, association type identifiers and association direction identifiers of both parties of an association object can be obtained from the association data;
B. the step of retrieving the associated external information: extracting a specified association condition, accessing a corresponding association mapping table through an association mapping table access device, acquiring association data corresponding to the association condition, or retrieving an external information set according to the association data, and acquiring data of external information corresponding to the association data;
C. and (3) carrying out statistics on the associated information: b, counting the data retrieved in the step B by using the specified counting mode to obtain counting result data; the specified statistical mode comprises the step of counting specified data in the searched associated data set, or the step of counting the specified data of the external information corresponding to the associated data by using the searched associated data.
7. The information associating method according to claim 6, wherein the step a further comprises:
the associated information processing device acquires external information from the external information set and acquires associated data among the external information, and writes the associated data into a corresponding associated mapping table in the associated mapping table set through the associated mapping table access device.
8. The information associating method according to claim 6, further comprising the steps of, after step B or step C:
and information reconstruction: processing the searched or counted data by adopting a specified processing mode to obtain new data except the original external information set, wherein the processing comprises at least one of judgment, operation, combination, decomposition and information addition; or
Controlling an external system: and processing the retrieved or counted data by adopting a specified processing mode, and sending a corresponding control instruction to an external system according to a specified behavior mode according to the processing result to control the operation of the external system.
9. The information associating method according to claim 8, wherein the positioning identifier of the associated object includes an information identifier and an information category identifier of the associated object.
10. The information associating method according to any one of claims 6 to 9, further comprising, in any one of the steps:
reading the configuration data: receiving an instruction or call of the associated information processing device, reading configuration data from the configuration data set, and providing the read configuration data to the associated information processing device; the configuration data describes at least one of a designated association mode, an association condition, a statistical mode, a processing mode, a behavior mode or an external information filtering condition;
analyzing and executing the configuration data: and extracting corresponding instructions, data or expressions from the read configuration data, and executing the instructions or expressions.
CN 200610123568 2006-11-15 2006-11-15 A correlation system and method of information Pending CN1952936A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200610123568 CN1952936A (en) 2006-11-15 2006-11-15 A correlation system and method of information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200610123568 CN1952936A (en) 2006-11-15 2006-11-15 A correlation system and method of information

Publications (1)

Publication Number Publication Date
CN1952936A true CN1952936A (en) 2007-04-25

Family

ID=38059279

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200610123568 Pending CN1952936A (en) 2006-11-15 2006-11-15 A correlation system and method of information

Country Status (1)

Country Link
CN (1) CN1952936A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101324889B (en) * 2007-06-15 2011-12-28 富士施乐株式会社 Document processor and computer readable medium
CN104737154A (en) * 2012-10-18 2015-06-24 甲骨文国际公司 Associated information propagation system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101324889B (en) * 2007-06-15 2011-12-28 富士施乐株式会社 Document processor and computer readable medium
CN104737154A (en) * 2012-10-18 2015-06-24 甲骨文国际公司 Associated information propagation system
CN104737154B (en) * 2012-10-18 2017-12-05 甲骨文国际公司 Related information broadcasting system

Similar Documents

Publication Publication Date Title
US11461294B2 (en) System for importing data into a data repository
US10678810B2 (en) System for data management in a large scale data repository
CN101208695B (en) Managing metadata for graph-based computations
US10545981B2 (en) Virtual repository management
US20030105745A1 (en) Text-file based relational database
CN110134671B (en) Traceability application-oriented block chain database data management system and method
CN101535955A (en) Managing parameters for graph-based computations
CN101438280A (en) Managing related data objects
CN103778107A (en) Method and platform for quickly and dynamically generating form based on EXCEL
CN102426582A (en) Data operation management device and data operation management method
US8073843B2 (en) Mechanism for deferred rewrite of multiple XPath evaluations over binary XML
CN105975489A (en) Metadata-based online SQL code completion method
CN114328759A (en) Data construction and management method and terminal of data warehouse
CN111221698A (en) Task data acquisition method and device
CN115221143A (en) Cross-type migration operator-based multi-source big data processing method
US7698277B2 (en) Query processor, query processor elements and a method of establishing such a query processor and query processor elements and a domain processor
CN104573053A (en) Configuration item template dynamic customizing method based on XML
CN113282579A (en) Heterogeneous data storage and retrieval method, device, equipment and storage medium
CN1952936A (en) A correlation system and method of information
Dickson et al. The semi-structured data model and implementation issues for semi-structured data
CN114385145A (en) Web system back-end architecture design method and computer equipment
CN111277650B (en) Automatic micro-service identification method combining functional indexes and non-functional indexes
CN112395291A (en) Method and system for dynamically generating wide table according to data assets
CN110019109B (en) Method and apparatus for processing data warehouse data
RU2787261C1 (en) System and method for engineering data management

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20070425