WO2017208922A1 - Data exchange system, data exchange method, and data exchange program - Google Patents

Data exchange system, data exchange method, and data exchange program Download PDF

Info

Publication number
WO2017208922A1
WO2017208922A1 PCT/JP2017/019325 JP2017019325W WO2017208922A1 WO 2017208922 A1 WO2017208922 A1 WO 2017208922A1 JP 2017019325 W JP2017019325 W JP 2017019325W WO 2017208922 A1 WO2017208922 A1 WO 2017208922A1
Authority
WO
WIPO (PCT)
Prior art keywords
database
data
external
code
base
Prior art date
Application number
PCT/JP2017/019325
Other languages
French (fr)
Japanese (ja)
Inventor
西村 真
Original Assignee
株式会社東新システム
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 株式会社東新システム filed Critical 株式会社東新システム
Priority to JP2018520831A priority Critical patent/JP6842071B2/en
Priority to CN201780047417.5A priority patent/CN109564541B/en
Publication of WO2017208922A1 publication Critical patent/WO2017208922A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor

Definitions

  • the present invention relates to a data exchange system, a data exchange method, and a data exchange program.
  • the present invention relates to a data exchange system, a data exchange method, and a data exchange program for exchanging data between arbitrary systems using a database having a hierarchical structure.
  • each database manages elements that should be located at different levels in the hierarchical structure (hereinafter referred to as the “granularity of data”). May be referred to as “different”), the appropriate data exchange cannot be realized by the concept of the conventional standard code or the unified code.
  • an electronic commerce mediation method for mediating business transactions between a plurality of suppliers or purchasers of products or services via a digital data communication network, and (a) a supplier side indicating a supplier's products or services Standard code system for indicating correspondence between classification code system and purchaser's classification code system, and attribute information on the same product or service supplied by multiple suppliers can be standardized and browsed.
  • the browsing data and the non-browsing data including the transaction conditions set for each combination of the supplier and the purchaser are stored in advance as a broker database, and (b) the broker is the buyer
  • the contents of the transaction of the supplier's product or service presented to the customer are converted into the purchaser's classification code system and presented to the purchaser.
  • the purchaser selects the product or service desired for purchase.
  • Patent Document 1 absorbs the difference in code system by using a standard code system that has a one-to-one correspondence between the code system on the service provider side and the code system on the purchaser side. is doing.
  • data cannot be exchanged between databases that manage data with different granularities as described above.
  • an object of the present invention is to provide a data exchange system, a data exchange method, and a data exchange program capable of realizing transparent data exchange by using a database having a hierarchical structure as an intermediary.
  • the present invention provides a data exchange system that realizes transparent data exchange between external databases by using a database having a hierarchical structure as an intermediary.
  • a base database for storing hierarchical structure information represented by a structure, an external identification code for identifying external data stored in the external database, a database identifier for identifying the external database, and a base code stored in the base database
  • a conversion database that is stored in association with each other and one external identification code that identifies one external data from one external database is stored in the conversion database in association with the database identifier of the one external database Code that converts data into standard data
  • a conversion unit, a code existence determination unit for determining whether or not a base code corresponding to standard data is stored in the conversion database in association with another database identifier for identifying another external database, and another database identifier
  • the base code corresponding to the standard data is stored in the conversion database in association with, the standard data is stored in the conversion database in association with the base code corresponding to the standard data and another database identifier If the base code
  • the hierarchical structure information includes a base code that identifies data of a higher concept of predetermined data, a base code that identifies data of a lower concept of predetermined data, or a base code that identifies predetermined data May be information represented by a hierarchical structure of a base code constructed including at least one of the following.
  • the data exchange system may further include an information attachment unit for attaching additional information related to one external data to the external identification code converted by the data conversion unit.
  • the data exchange system may further include a code ancillary unit for attaching one external identification code of one external data received from one external database to the external identification code converted by the data conversion unit.
  • the base code conversion unit when the base code conversion unit receives one external data from another external database together with another database identifier and another external identification code for identifying other external data of the other database.
  • a set of another database identifier and another external identification code is added to the standard data, or the standard data is not generated, and the code existence determination unit is stored in the conversion database in association with the other database identifier.
  • the data conversion unit can also handle other external identification codes as converted external identification codes without determining whether or not they exist.
  • the conversion database stores a set of another database identifier corresponding to one external identification code and another external identification code for identifying other external data of the other database, Whether the code conversion unit refers to the conversion database and adds the set to the standard data, or does not generate standard data, and the code existence determination unit is stored in the conversion database in association with another database identifier Without determining whether or not, the data conversion unit can handle other external identification codes as converted external identification codes.
  • the conversion database stores a set of one database identifier and one external identification code corresponding to another external identification code for identifying other external data of another database
  • data The conversion unit searches the conversion database based on the database identifier and the external identification code held in the standard data before the determination by the code presence determination unit, and the database identifier and the external identification code held in the standard data in the conversion database
  • the external identification code can be treated as a converted external identification code.
  • the base code conversion unit when the base code corresponding to one external data is directly received from one external database, the base code conversion unit does not refer to the conversion database, and the code existence determination unit directly It can also be determined using the received base code.
  • the present invention provides a data exchange system that realizes transparent data exchange between external databases by using a database having a hierarchical structure as an intermediary.
  • An input data processing unit that processes external data stored in the data processing unit, and an output data processing unit that processes data provided to another external database based on processing in the input data processing unit.
  • the base database that stores the hierarchical structure information represented by the hierarchical structure of the base code that identifies the data, the external identification code that identifies the external data, the database identifier that identifies the external database, and the base code stored in the base database Conversion data stored in association with Standard data that associates the base and one external identification code that identifies one external data from one external database with the base code stored in the conversion database in association with the database identifier of one external database
  • the output data processing unit stores the base code corresponding to the standard data in the conversion database in association with another database identifier for identifying another external database
  • the data is converted into an external identification code stored in the conversion database in association with the base code corresponding to the standard data and another database identifier, and the conversion database corresponds to the standard data in correspondence with the other database identifier.
  • a data exchange system includes a data conversion unit that converts an external identification code stored in a conversion database in association with an identifier.
  • the present invention provides a data exchange method in a data exchange system that realizes transparent data exchange between external databases by using a database having a hierarchical structure as an intermediary.
  • a base database that stores hierarchical structure information represented by the hierarchical structure of the base code that identifies data, an external identification code that identifies external data stored in the external database, and a database identifier that identifies the external database
  • a conversion database stored in association with the base code stored in the base database, and one external identification code for identifying one external data from one external database, a database identifier of the one external database Stored in the conversion database Whether the base code conversion stage for converting the base code to standard data and the base code corresponding to the standard data are stored in the conversion database in association with other database identifiers for identifying other external databases If the base code corresponding to the standard data is stored in the conversion database in association with the other database identifier, the base code corresponding to the standard data and the other database identifier If the base code corresponding to the base code corresponding to
  • the base code that corresponds to the standard data of the hierarchical structure stored by In the external identification code stored in the conversion database in association with the classification position that goes back from the classification position, the classification position that descends below, or the base code of the classification position in the same row as the classification position and another database identifier
  • a data exchange method comprising a data conversion stage for conversion is provided.
  • the present invention provides a data exchange program for a data exchange system that realizes transparent data exchange between external databases by using a database having a hierarchical structure as an intermediary.
  • Database identifier that identifies the external database
  • the base database that stores the hierarchical structure information represented by the hierarchical structure of the base code that identifies the data
  • the external identification code that identifies the external data stored in the external database
  • a conversion database that is stored in association with the base code stored in the base database, and one external identification code for identifying one external data from one external database and one external Conversion data corresponding to the database identifier of the database
  • the base code conversion function that converts the base code stored in the database into standard data associated with the base code, and the base code corresponding to the standard data correspond to other database identifiers that identify other external databases, and the conversion database If the base code corresponding to the standard data is stored in the conversion database in association with another database identifier and the code existence determination function that determines whether the data is stored in the database, the standard data
  • a data exchange system and a data exchange method capable of realizing transparent data exchange by using a database having a hierarchical structure as an intermediary. And a data exchange program.
  • FIG. 1 shows an outline of a data exchange system according to an embodiment of the present invention.
  • the standard code or unified code approach cannot solve the problem that the “granularity” of information required by each operator differs. This causes an essential problem in the data exchange scene. For example, even in a JAN code that is uniquely identified as a product, the “color” of the product is not identified in a certain product, and one code is assigned. In addition, since a certain product is coded including even a color, there arises a problem that it is not possible to place an order such as “I want the product because I want any color.”
  • the data exchange system 1 is a system created by the present inventor in order to solve such a problem, and is adopted by each operator when using a database having a hierarchical structure that is the basis of data exchange. It is a system that realizes free data exchange while absorbing the problem of granularity without changing the original code system. In other words, the data exchange system 1 is also used in the case where each database manages elements that should be located in different hierarchies among a plurality of databases that handle elements that should be represented in a hierarchical structure. This is a data exchange system that realizes transparent data exchange.
  • the data exchange system 1 includes a plurality of databases (for example, the external database 20, the external database 22, and the external database 24) that store data of different code systems. It is the data exchange system which performs data exchange in. In particular, transparent data exchange between multiple databases that handle elements that should originally be expressed in a hierarchical structure, even when each database manages elements that should be located in different levels of the hierarchical structure. Is a data exchange system that realizes In the present embodiment, among a plurality of databases that handle elements that should be expressed in a hierarchical structure, the state in which each database manages elements that should be located in different levels of the hierarchical structure is described as “granularity is different.
  • the data exchange system 1 includes one database that stores one data (or data group) of one code system and another data (or other data group) of another code system that is different from the one code system. ) Is a system that executes appropriate data exchange with other databases storing data even if the data granularity is different.
  • the data exchange system 1 performs data exchange of data including various ambiguity in the attribute definition, with various standard attributes.
  • the data exchange system 1 includes data on classification of animals and plants, data on agricultural products (for example, varieties of agricultural products, etc.), data on fresh food (including fruits and vegetables, marine products, etc.), data on clothing, or food (processing) It is a system for exchanging data such as data on food (including food).
  • one external database (hereinafter simply referred to as the external database 20) is stored in predetermined external data (that is, the external database 20) relative to another external database (hereinafter simply referred to as the external database 22).
  • data will be described.
  • the external database 20 supplies information for ordering a predetermined product to the external database 22.
  • Each external database and the data exchange system 1 are connected to each other via a communication network 5 such as the Internet so that they can communicate with each other.
  • each external database is, for example, a predetermined product or commodity wholesaler, a middle wholesaler, an intermediary, or a company, store, restaurant, etc. that is responsible for selling or providing a predetermined product or product, or a university.
  • Servers provided by educational institutions such as public institutions such as government agencies. The server can also have a part of the functions and configuration of the data exchange system 1.
  • the external database 20 stores external data in association with an external identification code for identifying the external data. Specifically, the external database 20 stores the external data in association with the external identification code for identifying the contents and / or attributes of the external data. For example, the external database 20 is classified as “daikon”, and a plurality of dairy varieties that are subordinate concepts of “daikon” are used as external data, and each external data is associated with an external identification code that uniquely identifies the external data. Is stored. As an example, the external database 20 stores the external data “Moriguchi Daikon” in association with the external identification code “a 11 ′”, and the external data “Dochi Daikon” in association with the external identification code “a 12 ′”.
  • the external database 22 stores external data in the same manner as the external database 20 based on a code system different from that of the external database 20.
  • the external database 22 is classified as “root vegetables”, and a plurality of types of root vegetables that are subordinate concepts of “root vegetables” are used as external data, and are associated with external identification codes that uniquely identify the external data.
  • Store each external data As an example, the external database 22 stores the external data “Daikon” in association with the external identification code “a 1 ′” and the external data “Kabu” in association with the external identification code “a 2 ′”.
  • the data exchange system 1 includes a base database 120 that stores hierarchical structure information represented by the hierarchical structure of the base code that identifies data and / or data attributes.
  • “fruits and vegetables” is a superordinate concept such as “vegetables” and “fruits”.
  • subordinate concepts of “vegetables” include “root vegetables” and “leaf stem vegetables”.
  • the subordinate concepts of “root vegetables” include “daikon” and “kabu”.
  • subordinate concepts of “Daikon” include “Dochi Daikon” and “Moriguchi Daikon”.
  • the base database 120 stores information indicating such products or product attributes as hierarchical structure information having a hierarchical structure in which a hierarchy in which lower-level concept attributes are included in higher-level concept attributes is held in a plurality of stages.
  • the base database 120 associates the base code “A” for identifying the data “root vegetables” with the base code for identifying the data “vegetable” and the base code “A” for identifying the data “leaf vegetables”. B "etc. are stored.
  • the base database 120 stores the base code “a 1 ” for identifying the data “Daikon”, the base code “a 2 ” for identifying the data “Kabu”, and the like in association with the base code “A”. Further, the base database 120 associates the base code “a 1 ” with the base code “a 11 ” for identifying the data “Moriguchi Daikon”, the base code “a 12 ” for identifying the data “Dochu Daikon”, etc. Is stored in the lower hierarchy.
  • the base database 120 includes a base code for identifying the data “vegetable”, a base code for identifying a plurality of data (eg, root vegetables, leaf stem vegetables, etc.) included in the subordinate concept of the data “vegetable”, “root vegetables”.
  • the data exchange system 1 stores in advance the external identification codes of the plurality of external databases in association with the database identifiers uniquely identifying the plurality of external databases and the base codes stored in the base database 120.
  • a conversion database 105 is provided.
  • the conversion database 105 includes an external identification code “a 11 ′” for identifying data “Moriguchi Daikon” and a base code “a 11 ” stored in the base database 120 for the database identifier for identifying the external database 20. Are stored in association with each other.
  • the conversion database 105 includes a database identifier for identifying the external database 20, an external identification code “a 12 ′” for identifying data “Dochu Daikon”, and a base code “a 12 ” stored in the base database 120.
  • the conversion database 105 includes an external identification code “a 1 ′” for identifying the data “Daikon” and a base code “a 1 ” stored in the base database 120 for the database identifier for identifying the external database 22. Store in association.
  • the external database 20 places an order for “Dochu Daikon”.
  • the external database 22 which is another external database does not store data related to “Dochu Daikon”.
  • the external database 20 supplies the data exchange system 1 with an external identification code (eg, external identification code “a 12 ′”) of “Dochi Daikon”.
  • the external database 20 may supply an external identification code and / or external data to the data exchange system 1 together with information specifying the external database 22 (that is, the database identifier of the external database 22).
  • the data exchange system 1 searches the conversion database 105 using the external identification code received from the external database 20. That is, the data exchange system 1 searches the base code stored in the conversion database 105 in association with the database identifier for identifying the external database 20 and the external identification code (for example, “a 12 ′”), and performs the external identification.
  • the code is converted into standard data (for example, standard data “a 12 ”) using the base code extracted by the search.
  • the data exchange system 1 uses data represented by a base code as standard data.
  • the standard data is data in which a base code, an external database identifier, and / or external data are associated with an external identification code.
  • the standard data is data that can be freely referred to by a database that accesses the data exchange system 1.
  • the data exchange system 1 determines whether or not the base code corresponding to this standard data is stored in the information stored in the conversion database 105 in association with the database identifier of any other external database. Judge. For example, the data exchange system 1 determines whether the conversion database 105 stores a base code corresponding to this standard data in association with the database identifier of the external database 22.
  • the base code corresponding to the standard data is not stored in the conversion database 105 in association with the database identifier of the external database 22. Therefore, the data exchange system 1 searches the base database 120 and associates the base database in the hierarchical structure including the base code corresponding to the standard data with the database identifier of the external database 22 in the conversion database 105. This standard data is converted into a stored external identification code.
  • the base database 120 includes a base code “a 1 ” that is a superordinate concept of the base code “a 12 ” in the hierarchical structure.
  • the conversion database 105 stores the external identification code “a 1 ′” in association with the database identifier of the external database 22 and the base code “a 1 ”. Therefore, the data exchange system 1 is extracted by tracing the hierarchical structure from the classification position on the base code "a 12" that match the standard data "a 12" (for example, back up the hierarchy) based code "a 1" To do.
  • the data exchange system 1 associates the standard data “a 1 ” with the external identification code “a 1 ′” stored in the conversion database 105 in association with the extracted base code “a 1 ” and the database identifier of the external database 22. 12 "is converted.
  • the data exchange system 1 traces back the hierarchical structure of the base database 120 in the direction of the higher concept when the base code corresponding to the standard data is not stored in the conversion database 105 in association with the database identifier of the external database 22.
  • Search that is, search in the direction higher than the classification position.
  • the data exchange system 1 converts the base code obtained by the search into an external identification code stored in the conversion database 105 in association with the database identifier of the external database 22 and the base code obtained by the search.
  • the data exchange system 1 supplies the external database 22 with the external identification code obtained by the conversion and / or external data associated with the external identification code.
  • the data exchange system 1 determines that the base code corresponding to the standard data is stored in the conversion database 105, the database identifier of the external database 22 and the base code corresponding to the standard data (that is, The external identification code stored in the conversion database 105 and / or the external data associated with the external identification code is supplied to the external database 22 in association with the base code stored in the conversion database 105.
  • the data exchange system 1 when a plurality of external databases store data in different code systems, the code system of one external database and the codes of other external databases It is possible to smoothly supply predetermined data from one external database to another external database without constructing a database that has a one-to-one correspondence with the system. Moreover, according to the data exchange system 1, even if the granularities of data stored in a plurality of external databases are different from each other, appropriate data exchange from one external database to another external database can be performed. That is, according to the data exchange system 1, data can be flexibly exchanged from one external database to a plurality of external databases.
  • the data exchange system 1 associates information related to data corresponding to the base code (for example, information related to attributes of a predetermined product) as text data, numerical data, graphic data, and / or code data in association with the base code.
  • An attribute storage unit can be provided.
  • the communication network 5 is a communication network such as a mobile phone network and / or the Internet.
  • the communication network 5 can also include a communication network such as a wired LAN and a wireless LAN.
  • Each of the plurality of external databases can be provided not only with a predetermined database apparatus but also with a mobile communication terminal such as a mobile phone or a smartphone, or with an information processing terminal such as a personal computer, a notebook computer, or a tablet PC.
  • the data exchange system 1 can also acquire various data from the outside via a recording medium such as a magnetic recording medium, an optical recording medium, and / or a semiconductor recording medium.
  • the data handled by the data exchange system 1 is data that can be associated with a predetermined code and is used in a database including various data.
  • data is data related to items that are not necessarily completely standardized (that is, items that have ambiguity in attributes), and can be classified in a hierarchical structure (that is, a tree structure). It is a lot of data.
  • the data may be data relating to products distributed in a predetermined market and / or products, or data used between organizations (whether for profit or non-profit) that exchange predetermined information. This data is, for example, data relating to animal / plant classification, data relating to agricultural products, data relating to fresh food, data relating to clothing, or data relating to food.
  • the data is data relating to fresh foods, etc. whose producers, varieties / items, production areas, cultivation areas, cultivation methods, seasons, sizes, and / or ranks change from day to day.
  • fresh food includes fruits and vegetables, marine products and the like.
  • FIG. 2 shows an example of a functional configuration of the data exchange system according to the embodiment of the present invention.
  • the data exchange system 1 according to the present embodiment can be communicably connected to a plurality of external databases.
  • the data exchange system 1 and one external database are generally used in the following. Are connected so as to be communicable via the communication network 5.
  • the data exchange system 1 includes a data input unit 100 that accepts input of data from the outside, a conversion database 105 that stores an external identification code in association with a database identifier that identifies an external database, and a base code, and receives from an external database
  • a base code conversion unit 110 that converts the external identification code into standard data
  • a code presence determination unit that determines whether the base code corresponding to the standard data is stored in the conversion database 105 in association with another database identifier 115
  • a basic database 120 for storing hierarchical structure information represented by the hierarchical structure of the basic code
  • a data conversion unit 125 for converting standard data into an external identification code
  • incidental unit for attaching predetermined data to the external identification code 130
  • a data output device It includes a data output unit 140, a correspondence updating unit 150 for updating the data conversion database 105 is stored, and an information updating unit 155 to update the information infrastructure database 120 stores.
  • each component provided in the data exchange system 1 may have a part of functions of other components or
  • the data input unit 100 receives input of one database from another external database and / or another database identifier for identifying another database to which one external data is supplied. In addition, the data input unit 100 receives information or an instruction to update the data stored in the conversion database 105 or an information or instruction to update the information stored in the infrastructure database 120. In addition, the data input unit 100 receives input of additional information related to one external data and / or one external identification code for identifying one external data. External data can also hold a plurality of information.
  • the data input unit 100 can also directly receive the input of the base code corresponding to the one external data.
  • the base code conversion unit 110 directly supplies the base code to the code presence determination unit 115 without referring to the conversion database 105.
  • the base code conversion unit 110 can also determine the presence or appropriateness of the base code and perform predetermined error processing.
  • the external database that supplies the predetermined data to the data exchange system 1 does not require the conversion database 105 to store its own external identification code.
  • an external system including an external database has a predetermined data conversion function.
  • the data input unit 100 supplies the base code conversion unit 110 with one external data received from one external database, another database identifier, and / or one external identification code. Note that this one external data includes or is associated with the database identifier of one external database. One external data can also include a plurality of different information.
  • the data input unit 100 supplies information or an instruction to update the data stored in the conversion database 105 to the correspondence update unit 150. Further, the data input unit 100 supplies the information update unit 155 with information or an instruction to update the information stored in the infrastructure database 120. Further, the data input unit 100 supplies additional information and / or one external identification code to the incidental unit 130.
  • FIG. 3 shows an example of the data structure of the conversion database according to the embodiment of the present invention.
  • the conversion database 105 includes an external identification code that identifies external data of an external database that stores external data of a predetermined code system, a database identifier that identifies the external database, and any base stored in the base database 120. Store it in association with the code. As shown in FIG. 3, the conversion database 105 is associated with a database identifier that uniquely identifies the external database, and an external identification code that identifies the attribute and / or concept of the external data stored in the external database. And a base code corresponding to the external identification code.
  • the base code stored in the conversion database 105 is the same as the base code stored in the base database 120. In this case, the conversion database 105 statically associates the external identification code with the database identifier and a predetermined base code.
  • the conversion database 105 stores, as a base code associated with the external identification code, a superordinate concept or a subordinate concept of external data corresponding to the external identification code, or a base code associated with data corresponding to the same concept.
  • the conversion database 105 may store at least a base code of the same or the same type as the external data, or a base code of data corresponding to a superordinate concept of the external data, as a base code associated with the external data corresponding to the external identification code.
  • the conversion database 105 stores the data stored in the base code conversion unit 110, the code presence determination unit 115, and / or in response to the action of the base code conversion unit 110, the code presence determination unit 115, and / or the data conversion unit 125. The data is supplied to each data converter 125.
  • the conversion database 105 can store the external identification code and the base code in an n-to-m relationship (where n and m are each an integer of 1 or more).
  • the conversion database 105 can store a plurality of base codes in association with one external identification code (hereinafter referred to as “multiple registration of external identification codes” in some cases).
  • multiple registration of external identification codes hereinafter referred to as “multiple registration of external identification codes” in some cases.
  • one external database stores the information “Daikon Daikon” and the information “Daikon Moriguchi” as external data, but does not store the information “Daikon”.
  • one external database receives information from other external databases other than the information “Daikon Daikon” and information of “Daikon Moriguchi”, for example, information “Dochi Daikon”, the information is “ Suppose that it is required to be converted into the information “Aoibe Daikon”.
  • the conversion database 105 associates not only the base code corresponding to “Aoi Daikan” with the external identification code corresponding to the information “Aoi Daikon”, but also the base code corresponding to “Dosuke Daikon”. be able to.
  • the base code corresponding to “Aoikon Daikon” can be used.
  • the base code conversion unit 110 executes the conversion process preferentially using the external identification code associated with the information indicating “main registration” and the base code, it is possible to obtain a stable conversion process result. it can.
  • the conversion database 105 can also store a plurality of external identification codes in association with one base code (hereinafter referred to as “multiple registration of base codes”). For example, when one external database stores the information "Daikon Daikon” and the information "Daikon Moriguchi” as external data, all of this information is associated with the base code corresponding to "Daikon". is there. However, in this case, original information (for example, information on the “blue neck” portion of “blue neck”) may be lost. Since such a function can also be realized by a search going back up the hierarchy, the data exchange system 1 may prohibit registration of a plurality of base codes in the conversion database 105.
  • main indicates that the correspondence between the base code stored in the conversion database 105 and one external identification code has priority over other correspondences.
  • Information indicating “registration” can be associated.
  • the base code conversion unit 110 executes the conversion process preferentially using the base code associated with the information indicating “main registration” and the external identification code, so that a stable conversion process result can be obtained. it can.
  • the conversion database 105 is controlled by artificial intelligence, and may store the external identification code in a dynamic association with the database identifier and one of the base codes stored in the base database 120.
  • the conversion database 105 can have a function of dynamically associating the external identification code with the database identifier and / or the base code.
  • the conversion database 105 can update this association at any time by learning with artificial intelligence.
  • the artificial intelligence may be learned based on information provided from an external server or the like via the communication network 5.
  • the conversion database 105 stores the learning result by artificial intelligence and can be updated at any time.
  • the base code conversion unit 110 converts the external identification code into standard data based on the external data, the external identification code, and / or the database identifier received from the data input unit 100. That is, the base code conversion unit 110 is based on the base code stored in the conversion database 105 and the single external identification code in association with the single external identification code for identifying the single external data from the single external database. Thus, one external identification code is converted into standard data associated with the base code. Specifically, the base code conversion unit 110 receives an external identification code for identifying one external data and one external data from one external database. The infrastructure code conversion unit 110 can also receive external data and an external identification code together with other database identifiers for identifying other external databases to which one external data is supplied.
  • the base code conversion unit 110 refers to the conversion database 105 and associates one external identification code with the one external identification code and the database identifier of the one external database and stores the base in the conversion database 105.
  • the code and / or one external data is converted into standard data associated with it.
  • the base code conversion unit 110 extracts the base code stored in the conversion database 105, and sets the data that associates the extracted base code and one external data with one external identification code as standard data.
  • the external identification code is converted into standard data.
  • the base code conversion unit 110 supplies the standard data to the code presence determination unit 115.
  • the base code conversion unit 110 when the base code conversion unit 110 receives one external data together with another external identification code for identifying other external data of another database from one external database, the base code conversion unit 110 does not convert the external identification code into standard data. You can also. If the external identification code is not converted into standard data, the base code conversion unit 110 supplies information indicating that the external identification code has not been converted and the external identification code to the code existence determination unit 115. When the external code is not converted into standard data, the base code conversion unit 110 does not refer to the external identification code received from one external database to a database different from other databases.
  • the code existence determination unit 115 determines whether or not the base code corresponding to the standard data received from the base code conversion unit 110 is stored in the base code column of the conversion database 105 in association with another database identifier. Judgment is made with reference to the database 105.
  • the code presence determination unit 115 supplies information indicating the determination result to the data conversion unit 125.
  • the code presence determination unit 115 receives information indicating that the external identification code has not been converted into standard data from the base code conversion unit 110, the base code corresponding to the standard data is associated with another database identifier. Thus, the process of determining whether or not the data is stored in the conversion database 105 is not executed.
  • the code presence determination unit 115 supplies the data conversion unit 125 with information indicating that the determination process has not been executed and the external identification code received from the base code conversion unit 110.
  • FIG. 4 shows an example of the data configuration of the base database according to the embodiment of the present invention.
  • the infrastructure database 120 stores hierarchical structure information represented by the hierarchical structure of the infrastructure code that identifies the data.
  • the base database 120 is a base code for identifying data such as the contents of predetermined data or attributes of a higher concept, a base code for identifying data such as attributes of a lower concept of predetermined data, or predetermined data Stores hierarchical structure information represented by a hierarchical structure of a base code constructed including at least one of base codes for identifying itself.
  • the hierarchical structure is a structure in which a plurality of predetermined data are stacked in order from lower concept data to higher concept data to form the whole (in the following, the depth of the hierarchical structure is defined as n layers ( However, there are cases where n> 1).
  • the first data, the second data, the third data, the fourth data, and the fifth data which are different from each other, in the order of the first data, the second data, the third data, the fourth data, and the fifth data.
  • the case where there is data indicating the concept is taken as an example (for example, the first data is “vegetables”, the second data is “root vegetables”, the third data is “daikon”, the fourth The data is “Dochi Daikon”, and the fifth data is “Dochi Daikon” with limited production.)
  • the base code “A” for identifying the first data is arranged at the upper level of the hierarchical structure, and the base code “a 1 ” for identifying the second data is used as the base code. Arranged below “A”.
  • the base code “a 11 ” for identifying the third data is arranged under the base code “a 1 ”
  • the base code “a 111 ” for identifying the fourth data is under the base code “a 11 ”.
  • the base code “a 1111 ” that is arranged and identifies the fifth data is placed under the base code “a 111 ”.
  • the base database 120 holds each of the plurality of base codes by bundling the base codes of the data corresponding to the lower concept by the base codes of the data corresponding to the upper concept in a plurality of stages. For example, when there are n stages, the base database 120 has an n-level hierarchical structure.
  • the infrastructure database 120 supplies predetermined data to the data converter 125 in response to the action of the data converter 125.
  • the base database 120 can further store a character string such as a “standard name” corresponding to each base code and other accompanying information together with the base code.
  • the base database 120 stores character string information expressed in one of two-byte, one-byte, or mixed two-byte character string information as “standard name” information, or character string information in all these formats ( In other words, in this embodiment, it is referred to as “complete format” character string information).
  • the correspondence relationship update unit 150 and / or the information update unit 155 executes a predetermined process
  • the base database 120 is configured so that the data output unit 140 responds to the action of the correspondence relationship update unit 150 and / or the information update unit 155.
  • the “standard name” can be output to the user in a perceptible manner.
  • the data output unit 140 can attach information related to the standard name as supplementary information to the output data.
  • Data converter 125 When the data conversion unit 125 determines that the code presence determination unit 115 stores the base code corresponding to the standard data converted by the base code conversion unit 110 in the conversion database 105 in association with another database identifier The standard data is converted into an external identification code stored in the conversion database 105 in association with the base code corresponding to the standard data and another database identifier.
  • the data conversion unit 125 includes the same base code as the base code corresponding to the standard data converted by the base code conversion unit 110 by the code presence determination unit 115 in the conversion database 105 in association with another database identifier. If it is determined that the data is not stored, the standard data is converted into a database by associating one of the base codes in the hierarchical structure represented by the hierarchical structure information including the base code corresponding to the standard data with another database identifier. The external identification code stored in 105 is converted. That is, the data conversion unit 125 searches the base code, which is an alternative to the base code corresponding to the standard data converted by the base code conversion unit 110, from within the hierarchical structure for the purpose of converting the standard data into the external identification code.
  • the conversion process is executed using the base code extracted by searching.
  • the data conversion unit 125 displays the base code corresponding to the standard data, the hierarchical structure stored in the base database 120, the position where the base code corresponding to the standard data is classified (that is, the standard data corresponds to the standard data).
  • the data conversion unit 125 determines that the base database 120 Search backward (upward search), downward search (downward search) from the classification position of the base code corresponding to standard data (that is, base code that matches the base code corresponding to the standard data) ) And / or a search within the same hierarchy (horizontal search) to search for an appropriate base code.
  • the data conversion unit 125 searches for the base code using at least one search method selected from the group consisting of an upper search, a lower search, and a horizontal search, or a combination of at least two search methods. When combining a plurality of search methods, the data conversion unit 125 searches for a base code according to a predetermined rule.
  • the data conversion unit 125 can execute an upward search, a downward search, and / or a horizontal search in a predetermined combination (hereinafter, sometimes referred to as “composite search”). For example, the data conversion unit 125 may sequentially execute upward search, downward search, and horizontal search. As an example, the data conversion unit 125 first performs an upward search, and if an appropriate base code cannot be extracted by the upward search, then performs a downward search. The data conversion unit 125 can execute a horizontal search when an appropriate base code cannot be extracted even by a downward search.
  • the data conversion unit 125 may not execute part of the upward search, the downward search, or the horizontal search in the composite search. For example, the data conversion unit 125 first performs an upward search up to n levels (where n is an integer equal to or greater than 1 and the value of n is determined in advance). Next, the data conversion unit 125 can execute a downward search and a process that does not execute a horizontal search. A combination of upward search, downward search, and / or horizontal search performed by the data conversion unit 125 may be determined according to a request from the data supply side database and / or the data reception side database. When there is a request for determination of a search combination from both the data supply side database and the data reception side database, it is preferable to determine in advance which one has priority.
  • the data conversion unit 125 can also perform a search that combines an upper search, a lower search, and / or a horizontal search in one search (hereinafter, sometimes referred to as “mixed search”).
  • the data conversion unit 125 can search the hierarchical structure one hierarchy lower and then search one hierarchy lower.
  • the hierarchy stored in the base database 120 If there is no corresponding base code in the same group of the same layer as the base code of the specific layer for the base code in the structure, the specified base code is searched from multiple base codes of the “neighboring” group Extract. That is, in this case, the data conversion unit 125 executes a process of “searching up two levels” and further “searching down two levels”.
  • the data conversion unit 125 executes a search process with a predetermined combination in the mixed search.
  • the data conversion unit 125 can execute a downward search following the upward search, and can execute a mixed search when an appropriate base code cannot be extracted by any search.
  • the data conversion unit 125 executes the search in order such that the hierarchical structure goes back one level before the downward search, and then the hierarchical structure goes back two levels before the downward search. it can.
  • the execution order of this search can be determined in advance.
  • the combination of the upper search, the lower search, and / or the horizontal search constituting the mixed search executed by the data conversion unit 125 is determined according to the request from the data supply side database and / or the data reception side database. Also good. When there is a request for determination of a search combination from both the data supply side database and the data reception side database, it is preferable to determine in advance which one has priority.
  • the data conversion unit 125 can search the base code corresponding to the classification position of the external data in another hierarchical structure adopted by another database by upward search. Specifically, the data conversion unit 125 searches for a base code higher by n layers from the base code classification position corresponding to the standard data (provided that n ⁇ 1 is satisfied). For example, the data conversion unit 125 searches for a base code corresponding to information obtained when the granularity of information corresponding to the base code is rounded (for example, information “Pomeranian” is associated with a predetermined base code).
  • the data conversion unit 125 converts the original base code to “dog” with the granularity rounded. Search for the base code corresponding to the information.)
  • the data conversion unit 125 converts the standard data into an external identification code stored in the conversion database 105 in association with the base code extracted by searching and another database identifier.
  • the data conversion unit 125 can search the base code corresponding to the classification position of the external data in another hierarchical structure adopted by another database by a downward search. Specifically, when searching for the base code, the data conversion unit 125 searches the hierarchical structure from higher to lower. That is, the data conversion unit 125 can extract the base code of the classification position descending from the classification position. For example, the data conversion unit 125 searches for the base code corresponding to the information obtained when the granularity of the information corresponding to the base code is reduced (for example, the information “dog” corresponds to the predetermined base code).
  • the data conversion unit 125 reduces the granularity of the original base code. Search for the base code corresponding to the information "Pomeranian”).
  • the external database side that receives the data does not have an external identification code for receiving coarse-grained information
  • conversion to the base code corresponding to the lower concept information is effective.
  • the data conversion unit 125 adds detailed information that the original information does not have to the original information.
  • the data exchange system 1 executes an operation of searching and extracting a base code corresponding to information “Pomeranian” corresponding to a concept level lower than the concept level of information “dog”.
  • the data conversion unit 125 executes processing. For example, the data conversion unit 125 can execute a search according to a search order set in advance for each layer of the hierarchical structure stored in the base database 120. In addition, the data conversion unit 125 can execute a search according to the order of the base codes of the base database 120. The data conversion unit 125 can search for a base code that is one layer lower in the hierarchical structure, and if there is no base code corresponding to the external identification code to be converted, it can also search for the next lower layer. If an appropriate base code does not exist even after searching the next lower layer, the data conversion unit 125 may sequentially repeat the downward search.
  • the data conversion unit 125 can search the base code corresponding to the classification position of the external data in another hierarchical structure adopted by another database by horizontal search. Specifically, when searching for the base code, the data conversion unit 125 can also search for the base code classified in the same row as the conceptual level of the base code classification position corresponding to the standard data. For example, the data conversion unit 125 searches for another base code of the same concept level without changing the granularity of information corresponding to the base code or the conceptual level of classification in the hierarchical structure (for example, a predetermined base code).
  • the information “Akita Inu” When the information “Akita Inu” is associated with the information, the information can be converted into another base code without changing the granularity by converting the information “Pomeranian”, which is the same concept level as the information.
  • the conversion unit 125 searches the base code associated with the other base information having the same concept level as the information corresponding to the base code.
  • the external database on the reception side is a superordinate concept of predetermined external data. If there is no information corresponding to the above and information corresponding to the subordinate concept, and only other external data having the same concept level as the external data is stored, horizontal search is effective.
  • the data conversion unit 125 is within the same group in the same hierarchy within the hierarchical structure stored in the base database 120, that is, within a plurality of base codes belonging to the lower order of the base code corresponding to the same superordinate concept. Perform a search.
  • the data conversion unit 125 extracts one base code from a plurality of base codes based on a predetermined standard within the same group in the same hierarchy and uses it for the conversion process.
  • Predetermined criteria are, for example, criteria for searching in advance for each hierarchical layer of the base database 120 and searching according to this search ranking, criteria for searching according to the base code order in this hierarchical structure, etc. It is.
  • This search order may be determined according to a request from the data supplier database and / or the data receiver database.
  • a request for determining the search order from both the data supply side database and the data reception side database it is preferable to determine in advance which is to be prioritized.
  • the data conversion unit 125 converts the standard data into the external identification code stored in the conversion database 105 in association with the base code extracted from the base database 120, the original external identification code (that is, the data input) There may be a case where some information of the external data corresponding to the external identification code of the external data received by the unit 100 from one external database is lost. That is, in the data conversion unit 125, the external identification code of the external data received by the data input unit 100 is converted into the external identification code of the external data corresponding to the higher concept, thereby causing information loss.
  • the data input unit 100 receives an external identification code of “Dochi radish” from one external database and the data conversion unit 125 converts the external identification code into an external identification code of “radish”, at least “Sat” Information on “Appendix” is lost.
  • the data converter 125 converts the standard data into an external identification code, and when information loss occurs, loss information indicating that information has been lost and / or information loss level (i.e., Loss level information indicating the degree of loss) may be included in the converted external identification code. For example, every time the hierarchical structure of the base database 120 is traced, the granularity of information associated with the base code becomes coarse, and information loss occurs. Therefore, the data conversion unit 125 generates “the number of retroactive hierarchies” representing the degree of loss as the “loss level”. The data conversion unit 125 may include the generated information in the converted external identification code. Thereby, another external database that has received the external identification code can grasp the occurrence of loss and the level of loss.
  • the data conversion unit 125 when searching the hierarchical structure of the base database 120, the data conversion unit 125 generates the number of hierarchies that have been traced back in the hierarchical structure search (that is, “the number of retroactive hierarchies”) as loss information.
  • the number of retrospective hierarchies is “0”, it indicates “no loss of information”, and if the “number of retroactive hierarchies” is “1”, it indicates that “a retroactive one layer has occurred” When the “number” is “m”, it indicates that “m-level retroactive has occurred” (where m> 1).
  • the data conversion unit 125 can also generate information indicating the number of hierarchies in which the descending from the upper level to the lower level has occurred in the hierarchical structure search. For example, by going down the hierarchical structure of the base database 120, the information added to the original information becomes more detailed. Therefore, the data conversion unit 125 can return the “number of retroactive hierarchies” as a negative value using the same item as the “loss level” at the time of the upward search. That is, the data conversion unit 125 returns “ ⁇ 1”, for example, when a search is performed one level down. Note that the data conversion unit 125 can also generate predetermined error information when there is no base code corresponding to the external identification code to be converted even if it goes down to the lowest layer of the hierarchical structure. The data converter 125 can also include error information in the converted external identification code.
  • the data conversion unit 125 can also generate information indicating that the horizontal search has been executed. For example, the data conversion unit 125 may generate a horizontal search occurrence flag indicating that a search process in the horizontal direction (that is, a search process in one hierarchy belonging to the same conceptual level of the hierarchical structure) has occurred. Good. In addition, the data conversion unit 125 prepares a predetermined flag indicating that an alternative search including an upward search and a downward search (ie, “alternative search”) has occurred, and in the presence of the flag, When the value of “the number of hierarchies” is “zero”, information that can identify that a horizontal search has occurred may be generated. Further, the data conversion unit 125 can also generate predetermined error information when an appropriate base code cannot be searched by horizontal search.
  • a horizontal search occurrence flag indicating that a search process in the horizontal direction (that is, a search process in one hierarchy belonging to the same conceptual level of the hierarchical structure) has occurred. Good.
  • the data conversion unit 125 prepares a predetermined flag
  • the data conversion unit 125 when the mixed search is executed, the data conversion unit 125 generates information indicating that the mixed search is performed. For example, the data conversion unit 125 counts the number of upward layers in the upward search performed in the mixed search (hereinafter, “U”; U is an integer of 0 or more) and the downward in the downward search.
  • the combined search information represented as [U, D] can be generated by combining the number of downstream hierarchies (hereinafter referred to as “D”, where D is an integer greater than or equal to 0). For example, when searching up one level, the mixed search information is [1, 0], and when searching down one level, the mixed search information is [0, 1]. When a horizontal search within the same group is executed, the mixed search information is [1, 1].
  • the mixed search information becomes [2, 2], and the “parent” of the hierarchical structure
  • a plurality of base codes classified into the “siblings” that is, the same conceptual level (hierarchies in the same column) as the high-order classification position) of (that is, the base code existing in the high-order classification position of the classification position of one base code)
  • the mixed search information is [2, 1].
  • the data conversion unit 125 treats the external identification code as a converted external identification code.
  • the data conversion unit 125 supplies the converted external identification code to the incidental unit 130 and / or the data output unit 140. That is, the data conversion unit 125 treats the received external identification code as an external identification code that is output to the outside (in this embodiment, this processing is referred to as “direct conversion”).
  • the base code conversion unit 125 searches the base code matching the standard data by tracing back the hierarchical structure of the base database 120 from the bottom to the top, the base code conversion unit If the same base code as the base code corresponding to the standard data converted by 110 is not found, error information indicating that it was not found is supplied to the data output unit 140.
  • the error information is, for example, a null value or “zero” value, or flag information indicating an error.
  • the accessory unit 130 includes an information appending unit 132 that appends additional information to the external identification code, and a code appending unit 134 that appends the external identification code itself received from the outside to the external identification code.
  • the auxiliary unit 130 converts the additional information attached to the external identification code by the information auxiliary unit 132 and / or the information related to the external identification code attached to the external identification code by the code auxiliary unit 134 in association with the external identification code. It can also be stored in the database 105. In this case, the conversion database 105 can also supply corresponding additional information or the like when supplying the base code to other components.
  • the information supplementary unit 132 appends additional information related to one external data to the external identification code converted by the data conversion unit 125.
  • the additional information is, for example, text data indicating the contents of external data, numerical data, code data, and / or graphic data.
  • the information supplementary unit 132 attaches text data indicating “Moriguchi Daikon” as additional information to the external identification code converted by the data conversion unit 125.
  • the information supplementary unit 132 supplies the data output unit 140 with an external identification code supplemented with additional information.
  • the external identification code (hereinafter referred to as the original external identification code) supplied from the one external database to the other external database is the original external database that has received the external identification code accompanied by the additional information. Even when the external data represented by the external identification code is converted into the external identification code of the superordinate external data, the contents of the external data corresponding to the original external identification code can be grasped.
  • the information supplementary unit 132 is configured to add additional information added to the external data received by the data input unit 100 (for example, information related to a character string such as a name) and / or additional information stored in the conversion database 105 or Information related to the external identification code can be added to the standard data when the base code conversion unit 110 converts the external identification code into standard data in response to an action from the base code conversion unit 110.
  • additional information includes information related to a character string such as a name
  • the character string represented by the information is a character string in any one of full-width, half-width, or mixed full-width.
  • the information on the character string added to the standard data is information converted into all types of full-width, half-width, or mixed half-width (hereinafter referred to as “complete format”) by the process described below. Also good.
  • the base code conversion unit 110 and / or the data conversion unit 125 can execute the conversion process of the information related to the character string into the complete format information.
  • the base code conversion unit 110 can execute the conversion process.
  • the conversion process can also be executed when the base code conversion unit 110 stores predetermined information in the conversion database 105.
  • the data conversion unit 125 executes the process of converting the standard data into the external identification code
  • the conversion process to the complete format information can also be executed.
  • the data input unit 100 can further receive the following three pieces of information when receiving input of external data of text data. That is, as the format of the character string of the text data, there are a full-width character string, a half-width character string, and a character string in which all the half-width characters are mixed.
  • the data input unit 100 includes “full-width character string information” that is information when the character string of the text data is a full-width character string, “half-width character string information” that is information when the character string is a half-width character string, and full-width characters.
  • Input of “full-width mixed character string information”, which is information when a mixed character string may be included, is accepted.
  • the data input unit 100 supplies full-width character string information, half-width character string information, and / or full-width mixed character string information to the information-attached portion 132.
  • the information-attached unit 132 When the additional information is appended to the external identification code and the additional information is text data, the information-attached unit 132 includes the full-width character string information, half-width character string information, or full-width mixed character string received from the data input unit 100. Based on the information, the text data is converted into a predetermined format. Specifically, if the information supplementary unit 132 does not receive at least one of the full-width character string information, the half-width character string information, and the full-width mixed character string information from the data input unit 100, the information-added portion 132 excludes the received information. Is automatically generated and attached to the external identification code as additional information.
  • the information supplementary unit 132 analyzes the text data, and the information supplementary unit 132 itself adds full-width character string information, half-width character string information, or Full-width mixed character string information may be associated.
  • the information-accompanying unit 132 does not receive full-width character string information from the data input unit 100 and receives full-width mixed character string information, Half-width characters are converted to full-width characters, and full-width character string information is generated. Then, the information supplementary unit 132 includes the full-width character string information, the half-width character string information, and the full-width mixed character string information obtained by the generation in the additional information.
  • the information-adding unit 132 does not receive full-width character string information from the data input unit 100 and does not receive full-width mixed character string information
  • the half-width character of the character string indicated by the half-width character string information Is converted to double-byte, and double-byte character string information is generated.
  • the information supplementary unit 132 includes the full-width character string information and the half-width character string information obtained by the generation in the additional information.
  • the information-attached unit 132 when the full-width character string information is not received from the data input unit 100 and the full-width character string information is received, the information-attached unit 132 includes the full-width character string information as it is in the additional information.
  • the information-added unit 132 does not receive the full-width mixed character string information from the data input unit 100 and does not receive the full-width character string information, the information-added portion 132 receives the character string indicated by the half-width character string information. Either half-width characters are converted to full-width characters to generate full-width character string information, or the half-width characters of the character string indicated by the half-width character string information are maintained as they are. Then, the information supplementary unit 132 includes the full-width character string information obtained by the generation as it is or includes the half-width character string information as it is in the additional information.
  • the information-attached portion 132 performs kanji for the character string indicated by the full-width mixed character string information.
  • the conversion character string information that has been converted to Kana is included in the additional information.
  • the information-added unit 132 does not receive the half-width character string information from the data input unit 100 and does not receive the full-width mixed character string information, Include half-width character string information that has been converted to kanji and kana in additional information.
  • the data exchange system 1 allows the one external database to be replaced with another external database even when the character string format handled by one external database is different from the character string format handled by another external database. Since the external data supplied to can be converted into a predetermined character string format, stable data exchange between each external database can be realized.
  • the information supplement part 132 can function as a text data conversion system by itself.
  • the text data conversion system includes a text data acquisition unit that acquires text data from the outside, a text data determination unit that determines the type of text data acquired by the text data acquisition unit, and text based on the determination result of the text data determination unit.
  • a text data converter for converting the data into a predetermined format.
  • the type of text data is a type indicating that the text data is a full-width character string, a type indicating that the text data is a half-width character string, or a type indicating that the text data may be a mixture of full-width characters.
  • the text data conversion system also outputs a text data output unit that outputs text data converted into a predetermined format, and / or whether the output text data is automatically generated by the text data conversion system.
  • the flag part which attaches the flag to show to the said output text data can also be included.
  • the text data determination unit analyzes the acquired text data, and if the character string of the text data is a full-width character string, the full-width character string information, if the character string is a half-width character string, the half-width character string information, and If the character string may be a mixture of a full-width character string and a half-width character string, the full-width mixed character string information is determined as the type of text data.
  • the text data conversion unit obtains the text acquired based on the text data acquired by the text data acquisition unit, the text data not acquired, and the determination result of the text data determination unit, as in the above description of the information supplement unit 132. Performs conversion processing such as conversion of half-width characters to full-width characters and kanji-kana conversion.
  • the flag part adds a flag indicating whether or not the text data conversion part has automatically generated text data to the converted text data. For example, when the text data conversion unit converts half-width of text data to full-width and / or when full-width is converted to half-width, the flag portion does not include a flag indicating that it has been automatically generated or is not automatically generated. A flag indicating that there is not is attached. On the other hand, when the text data conversion unit executes the kanji / kana conversion process, the flag unit attaches a flag indicating that the text data is automatically generated to the converted text data.
  • the text data conversion system can unify the type of text data to be output even when the type of input text data is not standardized.
  • the text data conversion system can attach a predetermined flag to the output text data, it is possible to easily determine whether the output text data is automatically generated by the text data conversion system. it can.
  • the code attachment unit 134 attaches one external identification code of one external data received from one external database to the external identification code converted by the data conversion unit 125. That is, the code attachment unit 134 attaches one external identification code of one external data received by the data exchange system 1 from one external database to the external identification code converted by the data conversion unit 125. The code attachment unit 134 supplies the external identification code converted by the data conversion unit 125 to which the external identification code is attached to the data output unit 140. Thereby, in the data exchange system 1, when a predetermined external identification code is supplied from one external database to another external database, one external identification code is obtained from the external identification code supplied to the other external database. The external identification code supplied to another external database can be restored.
  • the data output unit 140 receives the external identification code converted by the data conversion unit 125, external data, and / or additional information associated with the external identification code or the external data, and / or information regarding the external identification code. And output to another external database (that is, the external database corresponding to the database identifier designated as the external database of the supply destination by one external database for the data exchange system 1). In addition, the data output unit 140 can store the external identification code converted by the data conversion unit 125 in a predetermined storage medium.
  • the data exchange system 1 can allow some of the components described above to exist outside the system.
  • the data exchange system 1 may include an external server including the conversion database 105, the infrastructure database 120, and / or the data conversion unit 125.
  • the correspondence relationship update unit 150 updates the data stored in the conversion database 105.
  • the correspondence update unit 150 receives information or an instruction to update the data stored in the conversion database 105
  • the correspondence update unit 150 updates the stored data according to the information or the instruction.
  • the correspondence update unit 150 sets information indicating “main registration” together with the one external identification code. The user can be instructed or forced to correspond to the corresponding relationship with the base code.
  • the correspondence update unit 150 sets information indicating “main registration” as one base code. The user can be instructed or forced to be associated with the corresponding relationship with the external identification code.
  • the information update unit 155 updates information stored in the base database 120.
  • the information update unit 155 receives information or an instruction to update the information stored in the base database 120
  • the information update unit 155 updates the stored information according to the information or the instruction.
  • Correspondence update unit 150 and / or information update unit 155 prevents the data exchange system 1 from outputting an unexpected data conversion processing result when the information associated with the base code is changed.
  • a code change management unit can be further included.
  • the code change management unit generates an unexpected result when the data stored in the conversion database 105 is not updated in the correspondence relationship update unit 150 in response to a change in the contents of the external database on the data supply side. Prevent output.
  • the code change management unit functions under the following preconditions.
  • the external data for which the data input unit 100 accepts input includes not only an external identification code and the like, but also name character string information of a name indicating the content of the external data.
  • the conversion database 105 further stores name character string information of external data identified by the external identification code in association with the database identifier, the external identification code, and the base code.
  • the code change management unit uses the name character string information attached to the external identification code or the like and the name character stored in the conversion database 105. Match column information. When the collation results do not match, the code change management unit may supply information indicating an error to the one external database side that provided the external data to the data exchange system 1. The code change management unit may supply information indicating an error to the data output unit 140 side.
  • the information indicating an error includes a flag indicating that an error has occurred, and / or name character string information attached to external data received by the data input unit 100, and a name character string stored in the conversion database 105 Information can also be included.
  • the code change management unit compares the name character string information attached to the external data received by the data input unit 100 and the name character string information stored in the conversion database 105. Parts can be compared by simple exact match.
  • the code change management unit performs a “fuzzy search” type comparison that absorbs the full-width / half-width differences, uppercase / lowercase differences, katakana / hiragana differences, and the like of the name strings represented by the name string information. You can also.
  • the code change management unit detects a matching part and a difference part when comparing the name character string information attached to the external data and the name character string information registered in the conversion database 105. It can also be attached to information indicating.
  • the code change management unit When the code change management unit detects the matching part and the difference part, the code change management part can also make a comparison using the above-mentioned “fuzzy search”. Furthermore, if the name string information is not stored in the conversion database 105 in advance, the code change management unit automatically associates the name string information attached to the external data with the external identification code or the like in the conversion database 105. May be stored. The code change management unit automatically adds the name automatically attached to the external data when there is a difference between the name character string information attached to the external data and the name character string information stored in the conversion database 105. Character string information can also be stored in the conversion database 105. In this case, the code change management unit can also supply predetermined error information and warning to the one external database side that provided the external data to the data exchange system 1 and / or the data output unit 140 side.
  • All or some of the components included in the data exchange system 1 can each include an error processing function that supplies a predetermined error to one external database and / or another external database when a predetermined error is detected.
  • the processing in each component can be stopped at the time of detection.
  • the data exchange system 1 has received an input of a flag indicating what kind of processing has been performed in the data exchange system 1 with respect to various types of data received from one external database. It can be associated with all or part of various data.
  • the data exchange system 1 can continue the data processing in the data exchange system 1 even when a predetermined error occurs, and supply the converted data to another external database.
  • the data exchange system 1 can stop all processes in the data exchange system 1 when m (where m is an integer equal to or greater than 1) predetermined errors occur.
  • FIG. 5 shows an example of an outline of a functional configuration of another form of the data exchange system according to the embodiment of the present invention.
  • the data exchange system 1a shown in FIG. 5 differs from the data exchange system 1 in the form of functional configuration. That is, the data exchange system 1a has substantially the same configuration and function as all or part of the data exchange system 1 except that the data exchange system 1a includes the input data processing unit 10 and the output data processing unit 15. Therefore, a detailed description is omitted except for differences.
  • the data exchange system 1a executes an input data processing unit 10 for processing external data stored in an external database, and processing of data provided to another external database based on the data processing in the input data processing unit 10. And an output data processing unit 15.
  • the input data processing unit 10 includes a conversion database 105, a base code conversion unit 110, and a base database 120. Further, the output data processing unit 15 has a data conversion unit 125.
  • the input data processing unit 10 and the output data processing unit 15 include a data input unit 100, a code presence determination unit 115, an information supplement unit 132, a code supplement unit 134, a data output unit 140, a correspondence update unit 150, and / or information. A part or all of the updating unit 155 may be further included.
  • the input data processing unit 10 converts the external identification code into standard data based on the acquired external data, external identification code, and / or database identifier.
  • the base code conversion unit 110 refers to the conversion database 105 and acquires the base code stored in the conversion database 105 in association with the external identification code of the acquired external data. Then, the base code conversion unit 110 converts the external identification code into standard data associated with the acquired base code. For example, the base code conversion unit 110 uses, as standard data, data that associates the base code acquired from the conversion database 105 and the external data acquired from the external database with the external identification code of the external database. Is converted to standard data.
  • the input data processing unit 10 supplies standard data to the output data processing unit 15.
  • the output data processing unit 15 refers to the conversion database 105 and determines whether or not the base code corresponding to the received standard data is stored in the conversion database 105 in association with the database identifier of another database.
  • the data conversion unit 125 determines that the same base code as the base code corresponding to the received standard data is stored in the conversion database 105 in association with another database identifier
  • the standard data is converted into the standard data.
  • the data is converted into an external identification code stored in the conversion database 105 in association with another database identifier.
  • the data conversion unit 125 determines that the same base code as the base code corresponding to the converted standard data is not stored in the conversion database 105 in association with another database identifier, it corresponds to the standard data.
  • the base code stored in the base database 120 is associated with the base code and the other database identifiers that are classified in the classification position that goes back from the classification position of the standard data to the conversion database 105. Convert to stored external identification code.
  • the data conversion unit 125 can also execute a conversion method (hereinafter referred to as “direct conversion process”) that does not go through a conversion process using the base database 120.
  • direct conversion process a conversion method that does not go through a conversion process using the base database 120.
  • the data conversion unit 125 can execute at least one of the following first to third direct conversion processes.
  • the first direct conversion process is executed by the following process, for example.
  • the data input unit 100 receives an output side database identifier and an external identification code.
  • the data input unit 100 may receive n sets (n is an integer of 1 or more) of a set of a database identifier and an external identification code.
  • the base code conversion unit 110 adds the set of n sets of database identifiers and external identification codes received by the data input unit 100 to the standard data and supplies them, or performs data conversion without generating standard data.
  • the data conversion unit 125 indicates the conversion result of the external identification code added to the standard data or the external identification code received by the data input unit 100 without searching the basic database 120 by the code existence determination unit 115.
  • Information is supplied to the data output unit 140 (that is, information indicating the conversion result is treated as an external identification code obtained by conversion. The same applies hereinafter).
  • the second direct conversion process is executed by the following process, for example.
  • n sets (n is an integer of 1 or more) of sets of database identifiers on the output side and external identification codes corresponding to the external identification codes on the input side can be stored.
  • the base code conversion unit 110 refers to the conversion database 105 and supplies n sets of database identifiers and external identification codes to the standard data or supplies the standard data to the data conversion unit 125 without generating the standard data. Supply.
  • the data conversion unit 125 uses the external identification code added to the standard data or the external identification code received by the data input unit 100 as information indicating the conversion result without performing the search of the base database 120 by the code presence determination unit 115. This is supplied to the data output unit 140.
  • the third direct conversion process is executed by the following process, for example.
  • n sets (n is an integer of 1 or more) of sets of database identifiers on the input side and external identification codes corresponding to the external identification codes on the output side can be stored.
  • the data conversion unit 125 searches the conversion database 105 based on the database identifier and the external identification code held in the standard data before the code presence determination unit 115 executes the conversion database 105 search process.
  • the data conversion unit 125 indicates the conversion result of the external identification code.
  • the information is supplied to the data output unit 140 as information.
  • the first to third direct conversion processes may be executed, for example, by assigning a priority to each direct conversion process and prioritizing any direct conversion process over other direct conversion processes. it can.
  • FIG. 6 shows an example of data in the conversion database according to the embodiment of the present invention
  • FIG. 7 shows an example of data in the base database according to the embodiment of the present invention
  • FIG. 8 shows an example of the processing flow of the information input system according to the embodiment of the present invention.
  • the database identifier of the first external database is “001”, the first external database stores the data “Moriguchi Daikon” in association with the external identification code “a 11 ′”, and the data “Dochi Daikon” ”In association with the external identification code“ a 12 ′ ”.
  • the database identifier of the second external database is “002”, the data “radish” is stored in association with the external identification code “a 1 ′”, and the data “cab” is stored as the external identification code “a 2 ′”. Assume that they are stored in association with.
  • the conversion database 105 stores the base code “a 11 ” stored in the base database 120 in association with the database identifier “001” and the external identification code “a 11 ′”. stores foundation code "a 12" stored in the underlying database 120 in association with a database identifier "001” and external identification code "a 12 ''. Similarly, the conversion database 105 stores the base code “a 1 ” stored in the base database 120 in association with the database identifier “002” and the external identification code “a 1 ′”, and stores the database identifier “002”. The base code “a 2 ” stored in the base database 120 is stored in association with the external identification code “a 2 ′”.
  • the infrastructure database 120 has an infrastructure code “a 1 ” (for example, data “radish”) as a subordinate concept of the infrastructure code “A” (for example, infrastructure code corresponding to the data “root vegetables”). ), A base code “a 2 ”, a base code “a 3 ”, etc., and a base code “a 11 ” (for example, data “Moriguchi Daikon”) as a subordinate concept of the base code “a 1 ”. And the hierarchical structure information of the hierarchical structure formed by associating the basic code “a 12 ” and the like.
  • the conversion database 105 and the base database 120 store a plurality of database identifiers, external identification codes, and / or base codes in addition to the above, but the purpose is to simplify the description.
  • some database identifiers, external identification codes, and / or infrastructure codes will be described.
  • the data input unit 100 accepts input of external data from the first external database (step 10; hereinafter, steps are represented as “S”). For example, the data input unit 100 accepts input of external data indicating “Moriguchi Daikon” associated with the external identification code “a 11 ′” together with the database identifier “002” of the second external data. The data input unit 100 supplies the received data and the like to the base code conversion unit 110.
  • the base code conversion unit 110 converts the external identification code into standard data based on the data received from the data input unit 100 (S15). For example, the base code conversion unit 110 associates the external identification code “a 11 ′” with the external identification code received from the data input unit 100 and the database identifier “001” of the first external database in the conversion database 105. to obtain the foundation code stored "a 11".
  • the base code conversion unit 110 supplies the obtained standard data to the code presence determination unit 115.
  • the code presence determination unit 115 determines whether or not the base code corresponding to the standard data received from the base code conversion unit 110 is stored in the conversion database 105 in association with the database identifier “002” of the second external database. Judgment is made (S20). The code presence determination unit 115 supplies information indicating the determination result to the data conversion unit 125.
  • the data conversion unit 125 converts the standard data and the standard data The data is converted into an external identification code stored in the conversion database 105 in association with the database identifier of the external database 2 (S25). The data conversion unit 125 supplies the external output code obtained by the conversion to the data output unit 140.
  • the data conversion unit 125 converts the standard data into the base database 120. And converted into an external identification code stored in the conversion database 105 in association with one of the base codes in the hierarchical structure including the base code corresponding to the standard data and the database identifier of the second external database (S30).
  • the data conversion unit 125 refers to the hierarchical structure information of the underlying database 120 that contains the base code same base code "a 11" and "a 11" corresponding to the standard data "a 11".
  • Underlying database 120 includes a base code “a 11” and conversion database 105, platform code “a 11” base code database identifier "a 1" and the second external database is a preamble of "002 And the external identification code “a 1 ′” is stored.
  • the data conversion unit 125 first searches the hierarchical concept “a 11 ” around the higher level concept and extracts the base code “a 1 ”. Then, the data conversion unit 125 refers to the conversion database 105 and refers to the external identification code “a 1 ′” associated with the database identifier “002” and the extracted base code “a 1 ”. Then, the data conversion unit 125 converts the standard data “a 11 ” into the external identification code “a 1 ′”. In this case, the data conversion unit 125 can add loss information indicating “1” as the “number of retroactive times” to the converted external identification code.
  • the data output unit 140 outputs the external identification code and / or external data received from the data conversion unit 125 to a predetermined external database (S35). For example, the data output unit 140 outputs a part or all of the external data associated with the external identification code “a 1 ′” and / or the standard data “a 11 ” to the second external database. .
  • FIG. 9 shows an example of a basic database according to another embodiment of the present invention
  • FIG. 10 shows an example of data in a conversion database according to another embodiment of the present invention
  • FIG. 11 shows an outline of the flow of data exchange in the data exchange system according to another embodiment of the present invention.
  • data is provided from company B to company A.
  • the infrastructure database 120 arranges the infrastructure code “A” for identifying the first data above the hierarchical structure (that is, the tree structure) and also identifies the infrastructure data “a 1 ” for identifying the second data. ”And the base code“ a 2 ”for identifying the third data are arranged below the base code“ A ”. Similarly, the base code “a 11 ” for identifying the fourth data and the base code “a 12 ” for identifying the fifth data are arranged below the base code “a 1 ”, and the base code “ a 111 ”, a base code“ a 112 ”for identifying the seventh data, and a base code“ a 113 ”for identifying the eighth data are arranged below the base code“ a 11 ”.
  • another base code “B” or the like is arranged in the same row as the base code “A”.
  • the base code “a 11 ”, or the base code “a 111 ” other base codes other than those illustrated may be arranged.
  • the first data is data indicating “vegetables”
  • the second data is data indicating “root vegetables”
  • the third data is data indicating “leaf vegetables”
  • the fourth data is “ It is assumed that the data is “daikon” and the fifth data is data indicating “kabu”.
  • the sixth data is data indicating “Daikon Daikin”
  • the seventh data is data indicating “Moriguchi Daikon”
  • the eighth data is data indicating “Seigoin Daikon”.
  • the conversion database 105 stores the external identification code, the base code, and / or the product name in association with the database identifier “A” for identifying the company A. Further, the conversion database 105 stores the external identification code, the base code, and / or the product name in association with the database identifier “B” for identifying the company B.
  • the conversion database 105 stores the database identifier “A” in association with the external identification code “0001”, the base code “a 11 ”, and the product name “Daikon”. Similarly, the conversion database 105 associates the database identifier “A” with the external identification code “0002”, the base code “a 111 ”, and the product name “Dochi Daikon”, and associates the database identifier “A” with the external identification code “0003”. ”, The base code“ a 12 ”, and the product name“ Kabu ”, and the database identifier“ A ”is stored with the external identification code“ 0003 ”, the base code“ a 113 ”, and the product name“ Kabu ”in association with each other.
  • the base code “a 113 ” and the product name “Kabu” are associated with each other, which indicates that the company A employs an association different from the base database 120. Therefore, when there are a plurality of associations between the external identification code and the base code, the conversion database 105 prohibits the plurality of associations or associates the priorities with each of the plurality of associations. Then, the data converter 125 executes the conversion process using the base code associated with the highest priority. For example, in the example of FIG. 10, a flag (hereinafter referred to as “priority flag” (not shown) indicating that the highest priority is associated with the base code “a 12 ” corresponding to the external identification code “0003”. ).) Can be associated. On the other hand, a priority flag is not associated with the base code “a 113 ” corresponding to the external identification code “0003”.
  • the conversion database 105 associates the database identifier “B” with the external identification code “1001”, the base code “a 111 ”, and the product name “Dochi Daikon”, and associates the database identifier “B” with the external identification code “1002”. Is associated with the product code “a 112 * ” and the product name “Moriguchi Daikon”, the database identifier “B” is associated with the external identification code “1003”, the product code “a 11 ” and the product name “Daikon”.
  • predetermined supplementary information can be attached to the base code. For example, a mark indicating that predetermined incidental information is attached is added to the base code “a 112 * ”. Based on the incidental information, the data converter 125 converts the standard data into an external identification code. For example, this incidental information indicates that, for a predetermined base code associated with a predetermined database identifier, another predetermined code is used as the external identification code regardless of the hierarchical structure of the base database 120. Information.
  • the base code “a 112 ” is stored in the conversion database 105 in association with the database identifier “B”, and when this base code is used for A company, the external base of company A is used. Assume that incidental information instructing to use the code “0003” is incidental.
  • the base code conversion unit 110 when supplying data (in this case, data corresponding to the external identification code “1002”) to the company A, first, the base code conversion unit 110 performs the external identification supplied from the company B external database.
  • the conversion database 105 is searched using the code “1002”, and the base code “a 112 ” stored in association with the database identifier “B” and the external identification code “1002” is acquired.
  • the base code conversion unit 110 treats data obtained by associating the base code “a 112 ” with the external identification code “1002” as the standard data “a 112 ”, and uses the external identification code “1002” as the standard data “a 112 ”. To "".
  • the accompanying information is attached to each of the base code and standard data stored in the conversion database 105 in advance.
  • the data conversion unit 125 receives this standard data from the base code conversion unit 110 and checks whether or not a base code corresponding to the standard data exists in the hierarchical structure of the base database 120.
  • this standard data is accompanied by additional information.
  • this incidental information is information for instructing the company A to use the company A external base code “0003” when using the base code. That is, it is information indicating conversion to another hierarchical structure different from the hierarchical structure used by the base database 120. Therefore, the data conversion unit 125 does not follow the hierarchical structure of the base database 120 and uses a code (here, the code “0003”) predetermined by the supplementary information as the external identification code.
  • the external identification code of company B is converted into the external identification code of company A via the standard data by the functions of the code presence determination unit 115 and the data conversion unit 125.
  • the external base code “1001” of company B is associated with the base code “a 111 ” in the conversion database 105, and this base code is converted into standard data “a 111 ” by the base code converter 110.
  • the data conversion unit 125 an external identification code associated with the underlying code "a 111" that match the base code corresponding to the standard data "a 111" with the database identifier "A" in the conversion database 105 " in 0002 ", to convert the standard data" a 111 ".
  • the data exchange system 1 executes the same processing for the base code that does not have accompanying information.
  • the conversion database stores a base code “a 112 ” with additional information associated with the external identification code “1002” of company B.
  • the conversion database 105 does not store the base code “a 112 ” in association with the database identifier of the company A.
  • the data exchange system 1 follows the upper layer of the code “a 112 ” of the base database 120 and selects the base code “a 11 ” as the base code to be converted.
  • the data exchange system 1 if there is no supplementary information, the external identification code of the standard data "a 111" stored in the base code "a 11” and the database identifier conversion database 105 in association with the "A" Converted to “0001” to obtain an external identification code.
  • the data exchange system 1 uses the external identification code for converting the code indicated by the supplementary information. That is, here, the code “0003” is an external identification code to be converted. As a result, the data exchange system 1 can convert the external identification code “1002” of company B into the external identification code “0003” of company A.
  • the base code conversion unit 110 executes processing based on the priority flag. For example, when acquiring the external identification code “0003” from the company A, the infrastructure code conversion unit 110 uses the infrastructure code associated with the priority flag (in the example of FIG. 10, the infrastructure code “a 12 ”), Convert the external identification code to standard data. Then, the data conversion unit 125 executes the conversion process using the standard data converted by the base code conversion unit 110 based on the priority flag.
  • FIG. 12 shows an example of the hardware configuration of the data exchange system according to the embodiment of the present invention.
  • a data exchange system 1 includes a CPU 1500, a graphic controller 1520, a random access memory (RAM), a memory 1530 such as a read-only memory (ROM) and / or a flash ROM, and a storage device that stores data. 1540, a read / write device 1545 for reading data from and / or writing data to a recording medium, an input device 1560 for inputting data, a communication interface 1550 for transmitting / receiving data to / from an external communication device, and a CPU 1500 A chip set that connects the graphic controller 1520, the memory 1530, the storage device 1540, the read / write device 1545, the input device 1560, and the communication interface 1550 so that they can communicate with each other. And a door 1510.
  • the constituent elements such as the CPU 1500 are one or more CPUs, and may include a plurality of CPUs.
  • the chip set 1510 includes a memory 1530, a CPU 1500 that accesses the memory 1530 and executes predetermined processing, and a graphic controller 1520 that controls display on an external display device. Perform data passing.
  • the CPU 1500 operates based on a program stored in the memory 1530 and controls each component.
  • the graphic controller 1520 displays an image on a predetermined display device based on image data temporarily stored on a buffer provided in the memory 1530.
  • the chipset 1510 connects a storage device 1540, a read / write device 1545, and a communication interface 1550.
  • the storage device 1540 stores programs and data used by the CPU 1500 of the data exchange system.
  • the storage device 1540 is, for example, a flash memory.
  • the read / write device 1545 reads the program and / or data from the storage medium storing the program and / or data, and stores the read program and / or data in the storage device 1540.
  • the reading / writing device 1545 acquires a predetermined program from a server on the Internet via the communication interface 1550, and stores the acquired program in the storage device 1540.
  • the communication interface 1550 executes data transmission / reception with an external device via a communication network. Further, when the communication network is disconnected, the communication interface 1550 can execute data transmission / reception with an external device without going through the communication network.
  • An input device 1560 such as a tablet or a microphone is connected to the chipset 1510 via a predetermined interface.
  • the data exchange program stored in the storage device 1540 is provided to the storage device 1540 via a communication network such as the Internet or a recording medium such as a magnetic recording medium or an optical recording medium.
  • the data exchange program stored in the storage device 1540 is executed by the CPU 1500.
  • the data exchange program can be installed in the computer by using the recording medium.
  • the recording medium storing the program may be a non-transitory recording medium such as a CD-ROM or DVD.
  • the information input program executed by the data exchange system 1 works on the CPU 1500 to change the data exchange system 1 to the input data processing unit 10, output data processing unit 15, data input unit 100, conversion described with reference to FIGS.
  • the conversion database 105 defines the data correspondence to the base database 120 of each of the plurality of external databases, data exchange between different external databases can be realized freely.
  • the data exchange system 1 according to the present embodiment is a basis for a conversion process having a tree structure defining a multi-level hierarchical structure with respect to a standard code or a unified code having a conventional one-dimensional structure.
  • a base database 120 is provided.
  • the data exchange system 1 can realize data exchange between arbitrary databases. Thereby, the data exchange system 1 can implement
  • each of the plurality of external databases exchanges data in a format in which the contents of the data can be grasped with respect to the external databases of different code systems while maintaining the unique code system.
  • data exchange with any database can be performed freely.
  • the data exchange system 1 includes the infrastructure database 120 that stores data including ambiguity as hierarchical structure information having a hierarchical structure, the data exchange system 1 differs from each other with the development of information communication technology and the progress of social complexity. Even when information used in multiple social areas (for example, multiple servers using different code systems) increases or changes, the information is shared between different social areas. Can be exchanged and used effectively.
  • the same base code as the base code corresponding to the standard data converted by the base code conversion unit 110 is not stored in the conversion database 105 in association with another database identifier.
  • the standard data can be converted into an appropriate external identification code by searching the hierarchical structure of the base database 120 in consideration of so-called difference in granularity. Therefore, the data exchange system 1 can realize flexible data exchange while each of various external databases using the system operates a unique code system.

Abstract

Provided are a data exchange system, a data exchange method, and a data exchange program that are capable of realizing transmissive data exchange even between databases in which data having different granularity are managed, by using as an intermediary a database having a hierarchical structure. A data exchange system 1 is provided with: a base database 120; a conversion database 105; a base code conversion unit 110; a code presence determination unit 115 that determines whether or not standard data has been stored in the conversion database 105 in association with another database identifier; and a data conversion unit 125 that converts the standard data into an external identification code when a base code corresponding to the standard data is stored in the conversion database 105 in association with another database identifier, and, when the base code is not stored, converts the standard data into the external identification code stored in the conversion database 105 in association with another database identifier and the base code of the hierarchical structure stored in the base database 120.

Description

データ交換システム、データ交換方法、及びデータ交換プログラムData exchange system, data exchange method, and data exchange program
 本発明は、データ交換システム、データ交換方法、及びデータ交換プログラムに関する。特に、本発明は、階層構造を有するデータベースを用い、任意のシステム間でデータ交換を実行するデータ交換システム、データ交換方法、及びデータ交換プログラムに関する。 The present invention relates to a data exchange system, a data exchange method, and a data exchange program. In particular, the present invention relates to a data exchange system, a data exchange method, and a data exchange program for exchanging data between arbitrary systems using a database having a hierarchical structure.
 多数の要素を有する集合をデータベース化し管理しようとする場合、一般に、これらの要素に一意で識別される識別子を付与する。例えば、ある会社の取り扱う商品には「商品コード」が付与され、この「商品コード」をベースに商取引される。ここで、取引の相手側が同一の商品に対して別の「商品コード」を付与していると、データ交換ができない。このような問題を解決するため、標準コード又は統一コード等が開発されている。 When an attempt is made to manage a set having a large number of elements as a database, generally an identifier uniquely identified is given to these elements. For example, a product handled by a company is given a “product code”, and a commercial transaction is performed based on the “product code”. Here, if the other party of the transaction gives another “product code” to the same product, data exchange cannot be performed. In order to solve such problems, standard codes or unified codes have been developed.
 しかし、これら標準コード又は統一コードでは解決できないケースがある。多数の要素が複雑な階層構造に分類され、各階層の分類要素(以下、「ノード」と称する場合がある)そのものが、有効な識別子として意味を有する場合である。例えば、食品流通構造改善促進機構が開発している「青果標準商品コード」には、「だいこん」の種類が複数(例えば「守口だいこん」等)登録されているが、本来これらをまとめる「分類概念」であるはずの「だいこん」もアイテムとして登録されている。「だいこん」も、ひとつの独立した要素概念として一般的に利用されるからである。「青果標準商品コード」では、これらのコードの間に階層関係が定義されていない。このため、「青果標準商品コード」を利用しようとしても、ある「だいこん」を「だいこん」として取り扱う事業者と、「守口だいこん」として取り扱う事業者の間ではデータ交換ができない。すなわち、階層構造で表現されるべき要素を取り扱う複数のデータベース間で、それぞれのデータベースが、異なる階層に位置すべき要素を管理している場合(以下、これをデータの「粒度が異なる」と称する場合がある)には、従来の標準コード又は統一コードといった概念によって、適切なデータ交換を実現することはできない。 However, there are cases where these standard codes or unified codes cannot be solved. This is a case where a large number of elements are classified into a complicated hierarchical structure, and the classification elements (hereinafter sometimes referred to as “nodes”) of each hierarchy themselves have meaning as effective identifiers. For example, in the “fruit and vegetable standard product code” developed by the Food Distribution Structure Improvement Promotion Organization, multiple types of “Daikon” (for example, “Moriguchi Daikon” etc.) are registered. "Daikon" which should be "is also registered as an item. This is because “Daikon” is also commonly used as an independent element concept. In the “fruit and vegetable standard product code”, no hierarchical relationship is defined between these codes. For this reason, even if an attempt is made to use the “fruit and vegetable standard product code”, data cannot be exchanged between a business operator who handles “Daikon” as “Daikon” and a business operator who handles it as “Moriguchi Daikon”. In other words, among a plurality of databases that handle elements to be expressed in a hierarchical structure, each database manages elements that should be located in different hierarchies (hereinafter, this is referred to as “different granularity” of data). In some cases, appropriate data exchange cannot be realized by a concept such as a conventional standard code or a unified code.
 すなわち、本来は階層構造で表現されるべき要素を取り扱う複数のデータベース間で、それぞれのデータベースが階層構造中の異なる階層に位置すべき要素を管理しているような場合(以下、データの「粒度が異なる」と称する場合がある)には、従来の標準コード又は統一コードといった概念によって、適切なデータ交換を実現することはできない。 In other words, when there are multiple databases that handle elements that should be represented in a hierarchical structure, each database manages elements that should be located at different levels in the hierarchical structure (hereinafter referred to as the “granularity of data”). May be referred to as “different”), the appropriate data exchange cannot be realized by the concept of the conventional standard code or the unified code.
 従来、デジタルデータ通信網を介して製品又はサービスの複数の供給者と購入者との間の商取引を仲介する電子商取引仲介方法であって、(a)供給者の製品又はサービスを示す供給者側分類コード体系と購入者側分類コード体系との対応を示すための標準コード体系と、複数の供給者が供給する同一の製品又はサービスに関する属性情報を標準化しこれらの属性情報を対比して閲覧可能にした閲覧用データと、供給者と購入者との組合せごとに設定された取引条件を含む非閲覧用データとを仲介者のデータベースとして予め記憶しておき、(b)仲介者は、購入者に提示する供給者の製品又はサービスの取引内容をこの購入者の分類コード体系にコード変換して購入者に提示し、(c)購入者は、購入を希望する製品又はサービスを選定し、この選定した製品又はサービスに対する取引申込みを仲介者に対して行い、(d)仲介者は、この購入者が選定した製品又はサービスの購入者ごとに異なる取引条件を前記非閲覧データから読出し、見積りを行って購入者に提示し、(e)購入者は、工程(d)で提示された見積りに基づいて供給者を決定し、(f)仲介者はこの工程(e)で決定した取引条件に基づいて、購入者及び供給者のそれぞれの分類コード体系にコード変換して、受発注手続を購入者及び供給者に代わって行う電子商取引仲介方法が知られている(例えば、特許文献1参照。)。特許文献1に記載の電子商取引仲介方法によれば、購入者と供給者との間にある分類コード体系の相違による障害をなくし、取引当事者ごとの特別な取引条件での取引を可能にできる。 2. Description of the Related Art Conventionally, an electronic commerce mediation method for mediating business transactions between a plurality of suppliers or purchasers of products or services via a digital data communication network, and (a) a supplier side indicating a supplier's products or services Standard code system for indicating correspondence between classification code system and purchaser's classification code system, and attribute information on the same product or service supplied by multiple suppliers can be standardized and browsed. The browsing data and the non-browsing data including the transaction conditions set for each combination of the supplier and the purchaser are stored in advance as a broker database, and (b) the broker is the buyer The contents of the transaction of the supplier's product or service presented to the customer are converted into the purchaser's classification code system and presented to the purchaser. (C) The purchaser selects the product or service desired for purchase. Applying for a transaction for the selected product or service to an intermediary; (d) the intermediary reads from the non-browsing data different transaction conditions for each purchaser of the product or service selected by the purchaser; Estimate and present to buyer, (e) Buyer determines supplier based on estimate presented in step (d), (f) Intermediary determines transaction in this step (e) There is known an electronic commerce mediation method that performs code conversion on behalf of the purchaser and the supplier by performing code conversion on the classification code system of the purchaser and the supplier based on the conditions (for example, Patent Document 1). reference.). According to the electronic commerce mediation method described in Patent Literature 1, it is possible to eliminate a failure due to a difference in the classification code system between the purchaser and the supplier, and to perform transactions under special transaction conditions for each transaction party.
特開2002-230342号公報JP 2002-230342 A
 特許文献1に記載されている電子商取引仲介方法は、サービス供給者側のコード体系と購入者側のコード体系とを1対1に対応させる標準コード体系を用いることで、コード体系の違いを吸収している。しかし、この方法では前述のような粒度の異なるデータを管理するデータベース間で、データ交換することはできない。 The electronic commerce mediation method described in Patent Document 1 absorbs the difference in code system by using a standard code system that has a one-to-one correspondence between the code system on the service provider side and the code system on the purchaser side. is doing. However, with this method, data cannot be exchanged between databases that manage data with different granularities as described above.
 したがって、本発明の目的は、階層構造を有するデータベースを仲介に用いることにより、透過的なデータ交換を実現することができるデータ交換システム、データ交換方法、及びデータ交換プログラムを提供することにある。 Therefore, an object of the present invention is to provide a data exchange system, a data exchange method, and a data exchange program capable of realizing transparent data exchange by using a database having a hierarchical structure as an intermediary.
 本発明は、上記目的を達成するため、階層構造を有するデータベースを仲介に用いることにより、外部データベース間の透過的なデータ交換を実現するデータ交換システムであって、データを識別する基盤コードの階層構造により表される階層構造情報を格納する基盤データベースと、外部データベースに格納されている外部データを識別する外部識別コードを、外部データベースを識別するデータベース識別子と基盤データベースに格納されている基盤コードとに対応づけて格納する変換データベースと、一の外部データベースからの一の外部データを識別する一の外部識別コードを、一の外部データベースのデータベース識別子に対応づけて変換データベースに格納されている基盤コードを対応づけた標準データに変換する基盤コード変換部と、標準データに対応する基盤コードが、他の外部データベースを識別する他のデータベース識別子に対応づけて変換データベースに格納されているか否かを判断するコード存在判断部と、他のデータベース識別子に対応づけて変換データベースに標準データに対応する基盤コードが格納されている場合、標準データを、標準データに対応する基盤コードと他のデータベース識別子とに対応づけて変換データベースに格納されている外部識別コードに変換し、他のデータベース識別子に対応づけて変換データベースに標準データに対応する基盤コードが格納されていない場合、標準データを、基盤データベースが格納している階層構造を標準データに対応する基盤コードの分類位置から上位に遡った分類位置、下位に下った分類位置、若しくは当該分類位置と同列の分類位置の基盤コードと他のデータベース識別子とに対応づけて変換データベースに格納されている外部識別コードに変換するデータ変換部とを備えるデータ交換システムが提供される。 In order to achieve the above object, the present invention provides a data exchange system that realizes transparent data exchange between external databases by using a database having a hierarchical structure as an intermediary. A base database for storing hierarchical structure information represented by a structure, an external identification code for identifying external data stored in the external database, a database identifier for identifying the external database, and a base code stored in the base database A conversion database that is stored in association with each other and one external identification code that identifies one external data from one external database is stored in the conversion database in association with the database identifier of the one external database Code that converts data into standard data A conversion unit, a code existence determination unit for determining whether or not a base code corresponding to standard data is stored in the conversion database in association with another database identifier for identifying another external database, and another database identifier When the base code corresponding to the standard data is stored in the conversion database in association with, the standard data is stored in the conversion database in association with the base code corresponding to the standard data and another database identifier If the base code corresponding to the standard data is not stored in the conversion database by converting to the identification code and corresponding to other database identifiers, the hierarchical structure stored in the base database corresponds to the standard data. A classification position that goes back to the top from the classification position of the base code, a classification position that goes down to the bottom, Properly the data exchange system and a data conversion unit that converts the external identification code stored in the conversion database in association with the base code and other database identifier of the classification position on a same rank classification position is provided.
 また、上記データ交換システムにおいて、階層構造情報が、所定のデータの上位概念のデータを識別する基盤コード、所定のデータの下位概念のデータを識別する基盤コード、若しくは所定のデータを識別する基盤コードの少なくともいずれかを含んで構築される基盤コードの階層構造により表される情報であってもよい。 In the data exchange system, the hierarchical structure information includes a base code that identifies data of a higher concept of predetermined data, a base code that identifies data of a lower concept of predetermined data, or a base code that identifies predetermined data May be information represented by a hierarchical structure of a base code constructed including at least one of the following.
 また、上記データ交換システムにおいて、データ変換部が変換した外部識別コードに、一の外部データに関連する付加情報を付帯させる情報付帯部を更に備えることもできる。 In addition, the data exchange system may further include an information attachment unit for attaching additional information related to one external data to the external identification code converted by the data conversion unit.
 また、上記データ交換システムにおいて、データ変換部が変換した外部識別コードに、一の外部データベースから受け取った一の外部データの一の外部識別コードを付帯させるコード付帯部を更に備えることもできる。 The data exchange system may further include a code ancillary unit for attaching one external identification code of one external data received from one external database to the external identification code converted by the data conversion unit.
 また、上記データ交換システムにおいて、基盤コード変換部が、一の外部データベースから、他のデータベース識別子と他のデータベースの他の外部データを識別する他の外部識別コードと共に一の外部データを受け取った場合、他のデータベース識別子と他の外部識別コードとのセットを標準データに付加するか、若しくは標準データを生成せず、コード存在判断部が、他のデータベース識別子に対応づけて変換データベースに格納されているか否かを判断せず、データ変換部が、他の外部識別コードを変換された外部識別コードとして扱うこともできる。 In the above data exchange system, when the base code conversion unit receives one external data from another external database together with another database identifier and another external identification code for identifying other external data of the other database. A set of another database identifier and another external identification code is added to the standard data, or the standard data is not generated, and the code existence determination unit is stored in the conversion database in association with the other database identifier. The data conversion unit can also handle other external identification codes as converted external identification codes without determining whether or not they exist.
 また、上記データ交換システムにおいて、変換データベースが、一の外部識別コードに対応する、他のデータベース識別子と他のデータベースの他の外部データを識別する他の外部識別コードとのセットを格納し、基盤コード変換部が、変換データベースを参照し、当該セットを標準データに付加するか、若しくは標準データを生成せず、コード存在判断部が、他のデータベース識別子に対応づけて変換データベースに格納されているか否かを判断せず、データ変換部が、他の外部識別コードを変換された外部識別コードとして扱うこともできる。 In the data exchange system, the conversion database stores a set of another database identifier corresponding to one external identification code and another external identification code for identifying other external data of the other database, Whether the code conversion unit refers to the conversion database and adds the set to the standard data, or does not generate standard data, and the code existence determination unit is stored in the conversion database in association with another database identifier Without determining whether or not, the data conversion unit can handle other external identification codes as converted external identification codes.
 また、上記データ交換システムにおいて、変換データベースが、他のデータベースの他の外部データを識別する他の外部識別コードに対応する、一のデータベース識別子と一の外部識別コードとのセットを格納し、データ変換部が、コード存在判断部による判断の前に、標準データに保持されたデータベース識別子及び外部識別コードに基づいて変換データベースを検索し、変換データベースに標準データに保持されたデータベース識別子及び外部識別コードに対応するデータベース識別子及び外部識別コードが格納されている場合、当該外部識別コードを変換された外部識別コードとして扱うこともできる。 In the data exchange system, the conversion database stores a set of one database identifier and one external identification code corresponding to another external identification code for identifying other external data of another database, and data The conversion unit searches the conversion database based on the database identifier and the external identification code held in the standard data before the determination by the code presence determination unit, and the database identifier and the external identification code held in the standard data in the conversion database When a database identifier and an external identification code corresponding to are stored, the external identification code can be treated as a converted external identification code.
 また、上記データ交換システムにおいて、一の外部データベースから一の外部データに対応する基盤コードを直接、受け付けた場合において、基盤コード変換部が、変換データベースを参照せず、コード存在判断部が、直接、受け付けた基盤コードを用いて判断することもできる。 In the above data exchange system, when the base code corresponding to one external data is directly received from one external database, the base code conversion unit does not refer to the conversion database, and the code existence determination unit directly It can also be determined using the received base code.
 また、本発明は上記目的を達成するため、階層構造を有するデータベースを仲介に用いることにより、外部データベース間の透過的なデータ交換を実現するデータ交換システムであって、データ交換システムが、外部データベースに格納されている外部データを処理する入力データ処理ユニットと、入力データ処理ユニットにおける処理に基づいて他の外部データベースに提供するデータを処理する出力データ処理ユニットとを備え、入力データ処理ユニットが、データを識別する基盤コードの階層構造により表される階層構造情報を格納する基盤データベースと、外部データを識別する外部識別コードを、外部データベースを識別するデータベース識別子と基盤データベースに格納されている基盤コードとに対応づけて格納する変換データベースと、一の外部データベースからの一の外部データを識別する一の外部識別コードを、一の外部データベースのデータベース識別子に対応づけて変換データベースに格納されている基盤コードを対応づけた標準データに変換する基盤コード変換部とを有し、出力データ処理ユニットが、他の外部データベースを識別する他のデータベース識別子に対応づけて変換データベースに標準データに対応する基盤コードが格納されている場合、標準データを、標準データに対応する基盤コードと他のデータベース識別子とに対応づけて変換データベースに格納されている外部識別コードに変換し、他のデータベース識別子に対応づけて変換データベースに標準データに対応する基盤コードが格納されていない場合、標準データを、基盤データベースが格納している階層構造を標準データに対応する基盤コードの分類位置から上位に遡った分類位置、下位に下った分類位置、若しくは当該分類位置と同列の分類位置の基盤コードと他のデータベース識別子とに対応づけて変換データベースに格納されている外部識別コードに変換するデータ変換部を有するデータ交換システムが提供される。 In order to achieve the above object, the present invention provides a data exchange system that realizes transparent data exchange between external databases by using a database having a hierarchical structure as an intermediary. An input data processing unit that processes external data stored in the data processing unit, and an output data processing unit that processes data provided to another external database based on processing in the input data processing unit. The base database that stores the hierarchical structure information represented by the hierarchical structure of the base code that identifies the data, the external identification code that identifies the external data, the database identifier that identifies the external database, and the base code stored in the base database Conversion data stored in association with Standard data that associates the base and one external identification code that identifies one external data from one external database with the base code stored in the conversion database in association with the database identifier of one external database When the output data processing unit stores the base code corresponding to the standard data in the conversion database in association with another database identifier for identifying another external database The data is converted into an external identification code stored in the conversion database in association with the base code corresponding to the standard data and another database identifier, and the conversion database corresponds to the standard data in correspondence with the other database identifier. If the base code is not stored, the standard data is stored in the base database. The hierarchical structure stored in the database, the classification position that goes back higher than the classification position of the basic code corresponding to the standard data, the classification position that descends lower, or the basic code and other databases of the classification position in the same row A data exchange system is provided that includes a data conversion unit that converts an external identification code stored in a conversion database in association with an identifier.
 また、本発明は上記目的を達成するため、階層構造を有するデータベースを仲介に用いることにより、外部データベース間の透過的なデータ交換を実現するデータ交換システムにおけるデータ交換方法であって、データ交換システムが、データを識別する基盤コードの階層構造により表される階層構造情報を格納する基盤データベースと、外部データベースに格納されている外部データを識別する外部識別コードを、外部データベースを識別するデータベース識別子と基盤データベースに格納されている基盤コードとに対応づけて格納する変換データベースとを有し、一の外部データベースからの一の外部データを識別する一の外部識別コードを、一の外部データベースのデータベース識別子に対応づけて変換データベースに格納されている基盤コードを対応づけた標準データに変換する基盤コード変換段階と、標準データに対応する基盤コードが、他の外部データベースを識別する他のデータベース識別子に対応づけて変換データベースに格納されているか否かを判断するコード存在判断段階と、他のデータベース識別子に対応づけて変換データベースに標準データに対応する基盤コードが格納されている場合、標準データを、標準データに対応する基盤コードと他のデータベース識別子とに対応づけて変換データベースに格納されている外部識別コードに変換し、他のデータベース識別子に対応づけて変換データベースに標準データに対応する基盤コードが格納されていない場合、標準データを、基盤データベースが格納している階層構造を標準データに対応する基盤コードの分類位置から上位に遡った分類位置、下位に下った分類位置、若しくは当該分類位置と同列の分類位置の基盤コードと他のデータベース識別子とに対応づけて変換データベースに格納されている外部識別コードに変換するデータ変換段階とを備えるデータ交換方法が提供される。 In order to achieve the above object, the present invention provides a data exchange method in a data exchange system that realizes transparent data exchange between external databases by using a database having a hierarchical structure as an intermediary. Is a base database that stores hierarchical structure information represented by the hierarchical structure of the base code that identifies data, an external identification code that identifies external data stored in the external database, and a database identifier that identifies the external database A conversion database stored in association with the base code stored in the base database, and one external identification code for identifying one external data from one external database, a database identifier of the one external database Stored in the conversion database Whether the base code conversion stage for converting the base code to standard data and the base code corresponding to the standard data are stored in the conversion database in association with other database identifiers for identifying other external databases If the base code corresponding to the standard data is stored in the conversion database in association with the other database identifier, the base code corresponding to the standard data and the other database identifier If the base code corresponding to the standard data is not stored in the conversion database in association with another database identifier, the standard data is converted to the base database. The base code that corresponds to the standard data of the hierarchical structure stored by In the external identification code stored in the conversion database in association with the classification position that goes back from the classification position, the classification position that descends below, or the base code of the classification position in the same row as the classification position and another database identifier A data exchange method comprising a data conversion stage for conversion is provided.
 また、本発明は上記目的を達成するため、階層構造を有するデータベースを仲介に用いることにより、外部データベース間の透過的なデータ交換を実現するデータ交換システム用のデータ交換プログラムであって、データ交換システムが、データを識別する基盤コードの階層構造により表される階層構造情報を格納する基盤データベースと、外部データベースに格納されている外部データを識別する外部識別コードを、外部データベースを識別するデータベース識別子と基盤データベースに格納されている基盤コードとに対応づけて格納する変換データベースとを有し、コンピューターに、一の外部データベースからの一の外部データを識別する一の外部識別コードを、一の外部データベースのデータベース識別子に対応づけて変換データベースに格納されている基盤コードを対応づけた標準データに変換する基盤コード変換機能と、標準データに対応する基盤コードが、他の外部データベースを識別する他のデータベース識別子に対応づけて変換データベースに格納されているか否かを判断するコード存在判断機能と、他のデータベース識別子に対応づけて変換データベースに標準データに対応する基盤コードが格納されている場合、標準データを、標準データに対応する基盤コードと他のデータベース識別子とに対応づけて変換データベースに格納されている外部識別コードに変換し、他のデータベース識別子に対応づけて変換データベースに標準データに対応する基盤コードが格納されていない場合、標準データを、基盤データベースが格納している階層構造を標準データに対応する基盤コードの分類位置から上位に遡った分類位置、下位に下った分類位置、若しくは当該分類位置と同列の分類位置の基盤コードと他のデータベース識別子とに対応づけて変換データベースに格納されている外部識別コードに変換するデータ変換機能とを実現させるデータ交換プログラムが提供される。 In order to achieve the above object, the present invention provides a data exchange program for a data exchange system that realizes transparent data exchange between external databases by using a database having a hierarchical structure as an intermediary. Database identifier that identifies the external database, the base database that stores the hierarchical structure information represented by the hierarchical structure of the base code that identifies the data, the external identification code that identifies the external data stored in the external database And a conversion database that is stored in association with the base code stored in the base database, and one external identification code for identifying one external data from one external database and one external Conversion data corresponding to the database identifier of the database The base code conversion function that converts the base code stored in the database into standard data associated with the base code, and the base code corresponding to the standard data correspond to other database identifiers that identify other external databases, and the conversion database If the base code corresponding to the standard data is stored in the conversion database in association with another database identifier and the code existence determination function that determines whether the data is stored in the database, the standard data corresponds to the standard data When the base code corresponding to the standard data is not stored in the conversion database by converting to the external identification code stored in the conversion database in association with the base code and other database identifier Standard data, hierarchical data stored in the base database Stored in the conversion database in association with the base code and other database identifiers of the base position of the classification position that goes back to the upper rank from the classification position of the corresponding base code, the lower classification position, or the same classification position as the classification position. A data exchange program for realizing a data conversion function for converting to an external identification code is provided.
 本発明に係るデータ交換システム、データ交換方法、及びデータ交換プログラムによれば、階層構造を有するデータベースを仲介に用いることにより、透過的なデータ交換を実現することができるデータ交換システム、データ交換方法、及びデータ交換プログラムを提供できる。 According to the data exchange system, data exchange method, and data exchange program according to the present invention, a data exchange system and a data exchange method capable of realizing transparent data exchange by using a database having a hierarchical structure as an intermediary. And a data exchange program.
本実施の形態に係るデータ交換システムの概要図である。It is a schematic diagram of the data exchange system concerning this embodiment. 本実施の形態に係るデータ交換システムの機能構成ブロック図である。It is a functional block diagram of the data exchange system which concerns on this Embodiment. 本実施の形態に係る変換データベースのデータ構成図である。It is a data block diagram of the conversion database which concerns on this Embodiment. 本実施の形態に係る基盤データベースのデータ構成図である。It is a data block diagram of the basic | foundation database which concerns on this Embodiment. 本実施の形態に係るデータ交換システムの他の形態の機能構成ブロック図である。It is a functional structure block diagram of the other form of the data exchange system which concerns on this Embodiment. 本実施の形態に係る変換データベースの一例を示す図である。It is a figure which shows an example of the conversion database which concerns on this Embodiment. 本実施の形態に係る基盤データベースの一例を示す図である。It is a figure which shows an example of the basic | foundation database which concerns on this Embodiment. 本実施の形態に係るデータ交換システムにおける処理のフロー図である。It is a flowchart of the process in the data exchange system which concerns on this Embodiment. 他の実施の形態に係る基盤データベースの図である。It is a figure of the basic | foundation database which concerns on other embodiment. 他の実施の形態に係る変換データベースのデータの図である。It is a figure of the data of the conversion database which concerns on other embodiment. 他の実施の形態に係るデータ交換システムにおけるデータ交換の流れの概念図である。It is a conceptual diagram of the flow of data exchange in the data exchange system which concerns on other embodiment. 本実施の形態に係るデータ交換システムのハードウェア構成図である。It is a hardware block diagram of the data exchange system which concerns on this Embodiment.
[実施の形態]
 図1は、本発明の実施の形態に係るデータ交換システムの概要を示す。
[Embodiment]
FIG. 1 shows an outline of a data exchange system according to an embodiment of the present invention.
[データ交換システム1の概要]
 工業製品等のように、一つ一つの製品が完全に規格化されている場合、単一品目に対して単一の識別子を対応づけることは容易である。一方、例えば、動物や植物の分類のように、曖昧で多彩な属性を有する要素を整理する場合、木構造を有する階層的な分類が要求される。このような要素に対して、一般的な一次元の構造で識別子を割り当てると問題が生じる。例えば、あるデータベースが「犬」という項目を要素として有するとしても、他のデータベースにおいては「犬」は分類であり、要素は「ポメラニアン」や「秋田犬」である場合がある。これらのデータベース間でデータ交換する場合には、本質的な困難を伴う。
[Outline of Data Exchange System 1]
When each product is completely standardized, such as an industrial product, it is easy to associate a single identifier with a single item. On the other hand, when organizing elements having vague and diverse attributes, such as classification of animals and plants, a hierarchical classification having a tree structure is required. A problem occurs when identifiers are assigned to such elements in a general one-dimensional structure. For example, even if a certain database has an item “dog” as an element, in another database, “dog” may be a classification, and the element may be “Pomeranian” or “Akita dog”. There are inherent difficulties in exchanging data between these databases.
 これら異なるデータベース間でのデータ交換に関し、従来は統一的な「標準コード」又は「統一コード」を定め、その使用を推進することで解決するアプローチが進められてきた。しかしながら、標準コードや統一コードを利用する場合、様々な問題がある。まず、各事業者が独自のコード体系で既にデータベースを運用している場合、コード体系の変更には大きな困難が伴う。また、仮に変更が可能であったとしても、これら標準コードや統一コードをそのまま利用することは、自社の運用に適さない場合がある。例えば、「ポメラニアン」や「秋田犬」の分類まで必要とする事業者が存在する一方、「犬」の分類で十分である事業者も存在する。更には、双方を必要とする事業者も存在し得る。事業者によって必要とされる情報の「粒度」はそれぞれ異なることが通常である。 In the past, regarding the data exchange between these different databases, an approach has been advanced in which a unified “standard code” or “unified code” is defined and promoted to be used. However, there are various problems when using standard codes and unified codes. First, when each business operator already operates a database with its own code system, it is very difficult to change the code system. Moreover, even if it can be changed, using these standard codes and unified codes as they are may not be suitable for in-house operations. For example, while there are businesses that require the classification of “Pomeranian” and “Akita Inu”, there are businesses where the classification of “Dog” is sufficient. Furthermore, there may be a business operator that requires both. The “granularity” of information required by each operator is usually different.
 また、コード体系を標準コードや統一コードに変更しなくても、外部とデータを交換する場合に、これら標準コードや統一コードを利用すればよいという運用も模索されてきた。しかし、この場合も、前記と同様、各事業者の運用に適さない場合が存在することは変わらず、木構造を有する曖昧な属性を有するデータを管理する場合の本質的な困難を解決することはできない。 Also, it has been sought to use such standard codes and unified codes when exchanging data with the outside without changing the code system to standard codes or unified codes. However, in this case as well, as described above, there are still cases where it is not suitable for the operation of each operator, and the essential difficulty in managing data with an ambiguous attribute having a tree structure is solved. I can't.
 すなわち、このような階層的な属性を必要とする要素を管理する場合、標準コードや統一コードによるアプローチでは、各事業者が必要とする情報の「粒度」が異なるという問題を解決できない。これは、データ交換の場面で本質的な問題を引き起こす。例えば、製品を一意に識別するとされているJANコードにおいてさえも、ある製品においてはその製品の「色」が識別されず、一つのコードが割り当てられているため、色を指定して発注できない。また、ある製品では、色まで含めてコード化されているために、「色はどれでもいいからその製品が欲しい」という発注ができない等の問題が発生する。 In other words, when managing elements that require such hierarchical attributes, the standard code or unified code approach cannot solve the problem that the “granularity” of information required by each operator differs. This causes an essential problem in the data exchange scene. For example, even in a JAN code that is uniquely identified as a product, the “color” of the product is not identified in a certain product, and one code is assigned. In addition, since a certain product is coded including even a color, there arises a problem that it is not possible to place an order such as “I want the product because I want any color.”
 本実施の形態に係るデータ交換システム1は、このような問題を解決すべく本発明者が創出したシステムであり、データ交換の基盤となる階層構造を有するデータベースの利用に際し、各事業者が採用している独自のコード体系を変更することなく、粒度の問題を吸収しながら自由なデータ交換を実現するシステムである。すなわち、データ交換システム1は、本来は階層構造で表現されるべき要素を取り扱う複数のデータベース間で、それぞれのデータベースが階層構造の異なる階層に位置すべき要素を管理しているような場合にも、透過的なデータ交換を実現するデータ交換システムである。 The data exchange system 1 according to the present embodiment is a system created by the present inventor in order to solve such a problem, and is adopted by each operator when using a database having a hierarchical structure that is the basis of data exchange. It is a system that realizes free data exchange while absorbing the problem of granularity without changing the original code system. In other words, the data exchange system 1 is also used in the case where each database manages elements that should be located in different hierarchies among a plurality of databases that handle elements that should be represented in a hierarchical structure. This is a data exchange system that realizes transparent data exchange.
 具体的に、本発明の実施の形態に係るデータ交換システム1は、互いに異なるコード体系のデータを格納する複数のデータベース(例えば、外部データベース20、外部データベース22、及び外部データベース24等)それぞれの間におけるデータ交換を実行するデータ交換システムである。特に、本来は階層構造で表現されるべき要素を取り扱う複数のデータベース間で、それぞれのデータベースが階層構造の異なる階層に位置すべき要素を管理しているような場合にも、透過的なデータ交換を実現するデータ交換システムである。本実施の形態において、本来は階層構造で表現されるべき要素を取り扱う複数のデータベース間で、それぞれのデータベースが階層構造の異なる階層に位置すべき要素を管理している状態を、「粒度が異なる」という場合がある。すなわち、データ交換システム1は、一のコード体系の一のデータ(若しくはデータ群)を格納する一のデータベースと、一のコード体系とは異なる他のコード体系の他のデータ(若しくは他のデータ群)を格納する他のデータベースとの間において、データの粒度が異なっていても適切なデータ交換を実行するシステムである。 Specifically, the data exchange system 1 according to the embodiment of the present invention includes a plurality of databases (for example, the external database 20, the external database 22, and the external database 24) that store data of different code systems. It is the data exchange system which performs data exchange in. In particular, transparent data exchange between multiple databases that handle elements that should originally be expressed in a hierarchical structure, even when each database manages elements that should be located in different levels of the hierarchical structure. Is a data exchange system that realizes In the present embodiment, among a plurality of databases that handle elements that should be expressed in a hierarchical structure, the state in which each database manages elements that should be located in different levels of the hierarchical structure is described as “granularity is different. " That is, the data exchange system 1 includes one database that stores one data (or data group) of one code system and another data (or other data group) of another code system that is different from the one code system. ) Is a system that executes appropriate data exchange with other databases storing data even if the data granularity is different.
 データ交換システム1は、基準になる属性が多様であり、属性の定義に曖昧さを含むデータのデータ交換を実行する。例えば、データ交換システム1は、動物・植物の分類に関するデータ、農産物に関するデータ(例えば、農産物の品種等)、生鮮食品(青果、水産物等を含む)に関するデータ、衣料品に関するデータ、又は食品(加工食品を含む)に関するデータ等のデータ交換用のシステムである。 The data exchange system 1 performs data exchange of data including various ambiguity in the attribute definition, with various standard attributes. For example, the data exchange system 1 includes data on classification of animals and plants, data on agricultural products (for example, varieties of agricultural products, etc.), data on fresh food (including fruits and vegetables, marine products, etc.), data on clothing, or food (processing) It is a system for exchanging data such as data on food (including food).
 例えば、一の外部データベース(以下、単に外部データベース20と称する)が、他の外部データベース(以下、単に外部データベース22と称する)に対し、所定の外部データ(すなわち、外部データベース20に格納されているデータ)を供給する場合を説明する。ここでは一例として、外部データベース20が、外部データベース22に対して所定の商品を発注する情報を供給する例を説明する。 For example, one external database (hereinafter simply referred to as the external database 20) is stored in predetermined external data (that is, the external database 20) relative to another external database (hereinafter simply referred to as the external database 22). (Data) will be described. Here, as an example, an example in which the external database 20 supplies information for ordering a predetermined product to the external database 22 will be described.
 なお、各外部データベースとデータ交換システム1とは、インターネット等の通信網5を介して相互に通信可能に接続される。また、各外部データベースは、例えば、所定の製品若しくは商品の卸業者、仲卸業者、仲介業者、又は所定の製品若しくは商品の販売、又はサービスの提供を担う企業、商店、飲食店等、又は大学等の教育機関、官公庁等の公的機関等が備えるサーバーが有する。そして、当該サーバーは、データ交換システム1の機能及び構成の一部を有することもできる。 Each external database and the data exchange system 1 are connected to each other via a communication network 5 such as the Internet so that they can communicate with each other. In addition, each external database is, for example, a predetermined product or commodity wholesaler, a middle wholesaler, an intermediary, or a company, store, restaurant, etc. that is responsible for selling or providing a predetermined product or product, or a university. Servers provided by educational institutions such as public institutions such as government agencies. The server can also have a part of the functions and configuration of the data exchange system 1.
 まず、外部データベース20は、外部データを、この外部データを識別する外部識別コードに対応づけて格納する。具体的に外部データベース20は、外部データの内容、及び/又は属性を識別する外部識別コードに対応づけて、この外部データを格納する。例えば、外部データベース20は、「だいこん」に分類され、「だいこん」の下位概念である複数のだいこんの品種を外部データとし、外部データを一意に識別する外部識別コードに対応づけて、各外部データを格納する。一例として、外部データベース20は、外部データ「守口大根」を外部識別コード「a11’」に対応づけ、外部データ「土付大根」を外部識別コード「a12’」に対応づけて格納する。 First, the external database 20 stores external data in association with an external identification code for identifying the external data. Specifically, the external database 20 stores the external data in association with the external identification code for identifying the contents and / or attributes of the external data. For example, the external database 20 is classified as “daikon”, and a plurality of dairy varieties that are subordinate concepts of “daikon” are used as external data, and each external data is associated with an external identification code that uniquely identifies the external data. Is stored. As an example, the external database 20 stores the external data “Moriguchi Daikon” in association with the external identification code “a 11 ′”, and the external data “Dochi Daikon” in association with the external identification code “a 12 ′”.
 一方、外部データベース22は、外部データベース20とは異なるコード体系に基づいて外部データベース20と同様に外部データを格納する。一例として、外部データベース22は、「根菜類」に分類され、「根菜類」の下位概念である複数の根菜類の種類を外部データとし、外部データを一意に識別する外部識別コードに対応づけて、各外部データを格納する。一例として、外部データベース22は、外部データ「だいこん」を外部識別コード「a’」に対応づけ、外部データ「かぶ」を外部識別コード「a’」に対応づけて格納する。 On the other hand, the external database 22 stores external data in the same manner as the external database 20 based on a code system different from that of the external database 20. As an example, the external database 22 is classified as “root vegetables”, and a plurality of types of root vegetables that are subordinate concepts of “root vegetables” are used as external data, and are associated with external identification codes that uniquely identify the external data. Store each external data. As an example, the external database 22 stores the external data “Daikon” in association with the external identification code “a 1 ′” and the external data “Kabu” in association with the external identification code “a 2 ′”.
 そして、データ交換システム1は、データ及び/又はデータの属性を識別する基盤コードの階層構造により表される階層構造情報を格納する基盤データベース120を備える。例えば、「青果物」は、「野菜」及び「果実」等の上位概念である。また、「野菜」の下位概念には「根菜類」及び「葉茎菜類」等が存在する。そして、「根菜類」の下位概念には、「だいこん」及び「かぶ」等が存在する。更に、「だいこん」の下位概念には「土付大根」及び「守口大根」等が存在する。基盤データベース120は、このような商品若しくは製品の属性を示す情報を、下位概念の属性を上位概念の属性で包括した階層を複数段階で保持する階層構造にした階層構造情報として格納する。 The data exchange system 1 includes a base database 120 that stores hierarchical structure information represented by the hierarchical structure of the base code that identifies data and / or data attributes. For example, “fruits and vegetables” is a superordinate concept such as “vegetables” and “fruits”. Further, subordinate concepts of “vegetables” include “root vegetables” and “leaf stem vegetables”. The subordinate concepts of “root vegetables” include “daikon” and “kabu”. Furthermore, subordinate concepts of “Daikon” include “Dochi Daikon” and “Moriguchi Daikon”. The base database 120 stores information indicating such products or product attributes as hierarchical structure information having a hierarchical structure in which a hierarchy in which lower-level concept attributes are included in higher-level concept attributes is held in a plurality of stages.
 一例として、基盤データベース120は、データ「野菜」を識別する基盤コードに対応づけて、データ「根菜類」を識別する基盤コード「A」、及びデータ「葉茎菜類」を識別する基盤コード「B」等を格納する。そして、基盤データベース120は、基盤コード「A」に対応づけて、データ「だいこん」を識別する基盤コード「a」、及びデータ「かぶ」を識別する基盤コード「a」等を格納する。更に、基盤データベース120は、基盤コード「a」に対応づけて、データ「守口大根」を識別する基盤コード「a11」、及びデータ「土付大根」を識別する基盤コード「a12」等を下位の階層に格納する。 As an example, the base database 120 associates the base code “A” for identifying the data “root vegetables” with the base code for identifying the data “vegetable” and the base code “A” for identifying the data “leaf vegetables”. B "etc. are stored. The base database 120 stores the base code “a 1 ” for identifying the data “Daikon”, the base code “a 2 ” for identifying the data “Kabu”, and the like in association with the base code “A”. Further, the base database 120 associates the base code “a 1 ” with the base code “a 11 ” for identifying the data “Moriguchi Daikon”, the base code “a 12 ” for identifying the data “Dochu Daikon”, etc. Is stored in the lower hierarchy.
 すなわち、基盤データベース120は、データ「野菜」を識別する基盤コード、データ「野菜」の下位概念に含まれる複数のデータ(例えば、根菜類、葉茎菜類等)を識別する基盤コード、「根菜類」の下位概念に含まれる複数のデータ(例えば、土付大根、守口大根等の個別品)、及び「葉茎菜類」等の下位概念に含まれる複数のデータのそれぞれを識別する基盤コード、並びに個別品(例えば、土付大根、守口大根等)の更に下位概念に含まれる複数のデータのそれぞれを識別する基盤コードを、上位概念に対応する基盤コードから下位概念に対応する基盤コードまでを用いて構成される階層構造を有する階層構造情報として格納する。したがって、データ交換システム1は、所定の基盤コードが存在する場合、この所定の基盤コードの上位概念の基盤コード、若しくは下位概念の基盤コードを階層構造情報により示される階層構造をたどることで検索できる。特に、データ交換システム1においては、下位概念の基盤コードの分類位置から上位に遡ることにより、当該基盤コードの上位概念に対応する基盤コードを取得できる。 That is, the base database 120 includes a base code for identifying the data “vegetable”, a base code for identifying a plurality of data (eg, root vegetables, leaf stem vegetables, etc.) included in the subordinate concept of the data “vegetable”, “root vegetables”. A basic code that identifies each of a plurality of data included in the subordinate concepts such as “Dochu Daikon, Moriguchi Daikon, etc.” and a plurality of data included in the subordinate concepts such as “leaf stem vegetables” , As well as individual codes (for example, daikon radish, moriguchi radish, etc.), from the basic code corresponding to the superordinate concept to the basic code corresponding to the subordinate concept Is stored as hierarchical structure information having a hierarchical structure configured using. Therefore, when a predetermined base code exists, the data exchange system 1 can search the base code of the higher concept of the predetermined base code or the base code of the lower concept by following the hierarchical structure indicated by the hierarchical structure information. . In particular, in the data exchange system 1, the base code corresponding to the superordinate concept of the base code can be acquired by going back to the top from the classification position of the base code of the subordinate concept.
 更に、データ交換システム1は、複数の外部データベースそれぞれの外部識別コードを、複数の外部データベースそれぞれを一意に識別するデータベース識別子と基盤データベース120に格納されている基盤コードとに対応づけて予め格納する変換データベース105を備える。一例として、変換データベース105は、外部データベース20を識別するデータベース識別子に、データ「守口大根」を識別する外部識別コード「a11’」と、基盤データベース120に格納されている基盤コード「a11」とを対応づけて格納する。同様にして変換データベース105は、外部データベース20を識別するデータベース識別子に、データ「土付大根」を識別する外部識別コード「a12’」と、基盤データベース120に格納されている基盤コード「a12」とを対応づけて格納する。また、変換データベース105は、外部データベース22を識別するデータベース識別子に、データ「だいこん」を識別する外部識別コード「a’」と、基盤データベース120に格納されている基盤コード「a」とを対応づけて格納する。 Furthermore, the data exchange system 1 stores in advance the external identification codes of the plurality of external databases in association with the database identifiers uniquely identifying the plurality of external databases and the base codes stored in the base database 120. A conversion database 105 is provided. As an example, the conversion database 105 includes an external identification code “a 11 ′” for identifying data “Moriguchi Daikon” and a base code “a 11 ” stored in the base database 120 for the database identifier for identifying the external database 20. Are stored in association with each other. Similarly, the conversion database 105 includes a database identifier for identifying the external database 20, an external identification code “a 12 ′” for identifying data “Dochu Daikon”, and a base code “a 12 ” stored in the base database 120. Are stored in association with each other. Also, the conversion database 105 includes an external identification code “a 1 ′” for identifying the data “Daikon” and a base code “a 1 ” stored in the base database 120 for the database identifier for identifying the external database 22. Store in association.
 ここで、外部データベース20が、「土付大根」を発注する例を説明する。例えば、他の外部データベースである外部データベース22は、「土付大根」に関するデータを格納していないものとする。まず、外部データベース20は、「土付大根」の外部識別コード(例えば、外部識別コード「a12’」)をデータ交換システム1に供給する。なお、外部データベース20は、外部データベース22を指定する情報(すなわち、外部データベース22のデータベース識別子)と共に外部識別コード及び/又は外部データをデータ交換システム1に供給してもよい。 Here, an example will be described in which the external database 20 places an order for “Dochu Daikon”. For example, it is assumed that the external database 22 which is another external database does not store data related to “Dochu Daikon”. First, the external database 20 supplies the data exchange system 1 with an external identification code (eg, external identification code “a 12 ′”) of “Dochi Daikon”. The external database 20 may supply an external identification code and / or external data to the data exchange system 1 together with information specifying the external database 22 (that is, the database identifier of the external database 22).
 データ交換システム1は、外部データベース20から受け取った外部識別コードを用いて変換データベース105を検索する。すなわち、データ交換システム1は、外部データベース20を識別するデータベース識別子と外部識別コード(例えば、「a12’」)とに対応づけて変換データベース105に格納されている基盤コードを検索し、外部識別コードを、検索により抽出される基盤コードを用いて標準データ(例えば、標準データ「a12」)に変換する。具体的に、データ交換システム1は、基盤コードで表現されたデータを標準データとして用いる。標準データは、外部識別コードに基盤コード、外部データベース識別子、及び/又は外部データ等が対応づけられたデータである。また、標準データは、データ交換システム1にアクセスするデータベースが自在に参照できるデータである。 The data exchange system 1 searches the conversion database 105 using the external identification code received from the external database 20. That is, the data exchange system 1 searches the base code stored in the conversion database 105 in association with the database identifier for identifying the external database 20 and the external identification code (for example, “a 12 ′”), and performs the external identification. The code is converted into standard data (for example, standard data “a 12 ”) using the base code extracted by the search. Specifically, the data exchange system 1 uses data represented by a base code as standard data. The standard data is data in which a base code, an external database identifier, and / or external data are associated with an external identification code. The standard data is data that can be freely referred to by a database that accesses the data exchange system 1.
 続いて、データ交換システム1は、他のいずれかの外部データベースのデータベース識別子に対応づけて変換データベース105に格納されている情報の中に、この標準データに対応する基盤コードが格納されているか否か判断する。例えば、データ交換システム1は、外部データベース22のデータベース識別子に対応づけて変換データベース105がこの標準データに対応する基盤コードを格納しているか否かを判断する。 Subsequently, the data exchange system 1 determines whether or not the base code corresponding to this standard data is stored in the information stored in the conversion database 105 in association with the database identifier of any other external database. Judge. For example, the data exchange system 1 determines whether the conversion database 105 stores a base code corresponding to this standard data in association with the database identifier of the external database 22.
 この場合、この標準データに対応する基盤コードは、外部データベース22のデータベース識別子に対応づけて変換データベース105に格納されていない。したがって、データ交換システム1は、基盤データベース120を検索し、この標準データに対応する基盤コードを含む階層構造内のいずれかの基盤コードと外部データベース22のデータベース識別子とに対応づけて変換データベース105に格納されている外部識別コードに、この標準データを変換する。 In this case, the base code corresponding to the standard data is not stored in the conversion database 105 in association with the database identifier of the external database 22. Therefore, the data exchange system 1 searches the base database 120 and associates the base database in the hierarchical structure including the base code corresponding to the standard data with the database identifier of the external database 22 in the conversion database 105. This standard data is converted into a stored external identification code.
 例えば、上記例において基盤データベース120は、階層構造内に基盤コード「a12」の上位概念である基盤コード「a」を含む。そして、変換データベース105は、外部データベース22のデータベース識別子と基盤コード「a」とに対応づけて、外部識別コード「a’」を格納している。したがって、データ交換システム1は、標準データ「a12」と一致する基盤コード「a12」の分類位置から階層構造をたどって(例えば、階層の上位に遡って)基盤コード「a」を抽出する。そして、データ交換システム1は、抽出した基盤コード「a」と外部データベース22のデータベース識別子とに対応づけて変換データベース105に格納されている外部識別コード「a’」に、標準データ「a12」を変換する。 For example, in the above example, the base database 120 includes a base code “a 1 ” that is a superordinate concept of the base code “a 12 ” in the hierarchical structure. The conversion database 105 stores the external identification code “a 1 ′” in association with the database identifier of the external database 22 and the base code “a 1 ”. Therefore, the data exchange system 1 is extracted by tracing the hierarchical structure from the classification position on the base code "a 12" that match the standard data "a 12" (for example, back up the hierarchy) based code "a 1" To do. Then, the data exchange system 1 associates the standard data “a 1 ” with the external identification code “a 1 ′” stored in the conversion database 105 in association with the extracted base code “a 1 ” and the database identifier of the external database 22. 12 "is converted.
 すなわち、データ交換システム1は、外部データベース22のデータベース識別子に対応づけて変換データベース105に標準データに対応する基盤コードが格納されていない場合、基盤データベース120の階層構造を上位概念の方向に遡って検索する(つまり、分類位置の上位の方向に検索する。)。そして、データ交換システム1は、検索により得られた基盤コードを、外部データベース22のデータベース識別子と検索して得られた基盤コードとに対応づけて変換データベース105に格納されている外部識別コードに変換する。そして、データ交換システム1は、変換して得られた外部識別コード及び/又はこの外部識別コードに対応づけられている外部データを外部データベース22に供給する。 In other words, the data exchange system 1 traces back the hierarchical structure of the base database 120 in the direction of the higher concept when the base code corresponding to the standard data is not stored in the conversion database 105 in association with the database identifier of the external database 22. Search (that is, search in the direction higher than the classification position). Then, the data exchange system 1 converts the base code obtained by the search into an external identification code stored in the conversion database 105 in association with the database identifier of the external database 22 and the base code obtained by the search. To do. The data exchange system 1 supplies the external database 22 with the external identification code obtained by the conversion and / or external data associated with the external identification code.
 なお、データ交換システム1は、変換データベース105にこの標準データに対応する基盤コードが格納されていると判断した場合には、外部データベース22のデータベース識別子とこの標準データに対応する基盤コード(すなわち、変換データベース105に格納されている基盤コード)とに対応づけて変換データベース105に格納されている外部識別コード及び/又はこの外部識別コードに対応付けられている外部データを外部データベース22に供給する。 If the data exchange system 1 determines that the base code corresponding to the standard data is stored in the conversion database 105, the database identifier of the external database 22 and the base code corresponding to the standard data (that is, The external identification code stored in the conversion database 105 and / or the external data associated with the external identification code is supplied to the external database 22 in association with the base code stored in the conversion database 105.
 これにより、本実施の形態に係るデータ交換システム1によれば、複数の外部データベースが互いに異なるコード体系でデータを格納している場合において、一の外部データベースのコード体系と他の外部データベースのコード体系とを1対1に対応させるデータベースを構築しなくても、一の外部データベースから他の外部データベースに所定のデータをスムーズに供給できる。また、データ交換システム1によれば、複数の外部データベースがそれぞれ格納するデータの粒度が互いに異なっていても、一の外部データベースから他の外部データベースへ適切なデータ交換ができる。すなわち、データ交換システム1によれば、一の外部データベースから、複数の外部データベースに対して柔軟にデータ交換ができる。 Thus, according to the data exchange system 1 according to the present embodiment, when a plurality of external databases store data in different code systems, the code system of one external database and the codes of other external databases It is possible to smoothly supply predetermined data from one external database to another external database without constructing a database that has a one-to-one correspondence with the system. Moreover, according to the data exchange system 1, even if the granularities of data stored in a plurality of external databases are different from each other, appropriate data exchange from one external database to another external database can be performed. That is, according to the data exchange system 1, data can be flexibly exchanged from one external database to a plurality of external databases.
 なお、データ交換システム1は、基盤コードに対応づけて、基盤コードに対応するデータに関する情報(例えば、所定の商品の属性に関する情報)をテキストデータ、数値データ、図形データ、及び/又は符号データとして格納する属性格納部を備えることもできる。 The data exchange system 1 associates information related to data corresponding to the base code (for example, information related to attributes of a predetermined product) as text data, numerical data, graphic data, and / or code data in association with the base code. An attribute storage unit can be provided.
 また、通信網5は、携帯電話網、及び/又はインターネット等の通信網である。通信網5は、有線LAN及び無線LAN等の通信ネットワークを含むこともできる。そして、複数の外部データベースはそれぞれ、所定のデータベース装置だけではなく、携帯電話、スマートフォン等の携帯通信端末、又はパーソナルコンピュータ、ノートパソコン、タブレットPC等の情報処理端末が備えることができる。また、データ交換システム1は、通信網5がない場合、磁気記録媒体、光学記録媒体、及び/又は半導体記録媒体等の記録媒体を介して、外部から各種データを取得することもできる。 The communication network 5 is a communication network such as a mobile phone network and / or the Internet. The communication network 5 can also include a communication network such as a wired LAN and a wireless LAN. Each of the plurality of external databases can be provided not only with a predetermined database apparatus but also with a mobile communication terminal such as a mobile phone or a smartphone, or with an information processing terminal such as a personal computer, a notebook computer, or a tablet PC. In addition, when there is no communication network 5, the data exchange system 1 can also acquire various data from the outside via a recording medium such as a magnetic recording medium, an optical recording medium, and / or a semiconductor recording medium.
 更に、データ交換システム1が扱うデータは、所定のコードが対応づけられ得るデータであって、様々なデータを含むデータベースにおいて用いられるデータである。特に、データは、一つ一つの品が完全に規格化されているとは限らない品目(すなわち、属性に曖昧性を有する品目)に関するデータであり、階層構造(すなわち、木構造)で分類可能なデータである。そして、データは、所定の市場において流通する製品、及び/又は商品に関するデータ、又は所定の情報を交換する組織(営利、非営利を問わない)間で用いられるデータであってよい。このデータは、例えば、動物・植物の分類に関するデータ、農産物に関するデータ、生鮮食品に関するデータ、衣料品に関するデータ、又は食品等に関するデータである。一例として、当該データは、生産者、品種・品目、産地、栽培地、栽培方法、季節、サイズ、及び/又はランク等が日によって変化する生鮮食品等に関するデータである。なお、生鮮食品は、青果、水産物等を含む。 Furthermore, the data handled by the data exchange system 1 is data that can be associated with a predetermined code and is used in a database including various data. In particular, data is data related to items that are not necessarily completely standardized (that is, items that have ambiguity in attributes), and can be classified in a hierarchical structure (that is, a tree structure). It is a lot of data. The data may be data relating to products distributed in a predetermined market and / or products, or data used between organizations (whether for profit or non-profit) that exchange predetermined information. This data is, for example, data relating to animal / plant classification, data relating to agricultural products, data relating to fresh food, data relating to clothing, or data relating to food. As an example, the data is data relating to fresh foods, etc. whose producers, varieties / items, production areas, cultivation areas, cultivation methods, seasons, sizes, and / or ranks change from day to day. In addition, fresh food includes fruits and vegetables, marine products and the like.
[データ交換システム1の構成の詳細]
 図2は、本発明の実施の形態に係るデータ交換システムの機能構成の一例を示す。なお、本実施の形態に係るデータ交換システム1は、複数の外部データベースと通信可能に接続することができるが、説明を簡略化するため、以下においては原則としてデータ交換システム1と1つの外部データベースとが通信網5を介して通信可能に接続されている例を説明する。
[Details of Configuration of Data Exchange System 1]
FIG. 2 shows an example of a functional configuration of the data exchange system according to the embodiment of the present invention. The data exchange system 1 according to the present embodiment can be communicably connected to a plurality of external databases. However, in order to simplify the explanation, the data exchange system 1 and one external database are generally used in the following. Are connected so as to be communicable via the communication network 5.
 データ交換システム1は、外部からのデータの入力を受け付けるデータ入力部100と、外部データベースを識別するデータベース識別子と基盤コードとに対応づけて外部識別コードを格納する変換データベース105と、外部データベースから受け取った外部識別コードを標準データに変換する基盤コード変換部110と、標準データに対応する基盤コードが他のデータベース識別子に対応づけて変換データベース105に格納されているか否かを判断するコード存在判断部115と、基盤コードの階層構造により表される階層構造情報を格納する基盤データベース120と、標準データを外部識別コードに変換するデータ変換部125と、外部識別コードに所定のデータを付帯させる付帯ユニット130と、外部にデータを出力するデータ出力部140と、変換データベース105が格納しているデータを更新する対応関係更新部150と、基盤データベース120が格納している情報を更新する情報更新部155とを備える。なお、データ交換システム1が備える各構成要素が、他の構成要素の一部の機能、若しくはすべての機能を兼ね備えてもよい。 The data exchange system 1 includes a data input unit 100 that accepts input of data from the outside, a conversion database 105 that stores an external identification code in association with a database identifier that identifies an external database, and a base code, and receives from an external database A base code conversion unit 110 that converts the external identification code into standard data, and a code presence determination unit that determines whether the base code corresponding to the standard data is stored in the conversion database 105 in association with another database identifier 115, a basic database 120 for storing hierarchical structure information represented by the hierarchical structure of the basic code, a data conversion unit 125 for converting standard data into an external identification code, and an incidental unit for attaching predetermined data to the external identification code 130, a data output device It includes a data output unit 140, a correspondence updating unit 150 for updating the data conversion database 105 is stored, and an information updating unit 155 to update the information infrastructure database 120 stores. In addition, each component provided in the data exchange system 1 may have a part of functions of other components or all functions.
(データ入力部100)
 データ入力部100は、一の外部データベースから、一の外部データ、及び/又は一の外部データの供給先である他のデータベースを識別する他のデータベース識別子の入力を受け付ける。また、データ入力部100は、変換データベース105が格納しているデータを更新する旨の情報若しくは指示、又は基盤データベース120が格納している情報を更新する旨の情報若しくは指示を受け取る。また、データ入力部100は、一の外部データに関連する付加情報、及び/又は一の外部データを識別する一の外部識別コードの入力を受け付ける。なお、外部データは、複数の情報を保持することもできる。
(Data input unit 100)
The data input unit 100 receives input of one database from another external database and / or another database identifier for identifying another database to which one external data is supplied. In addition, the data input unit 100 receives information or an instruction to update the data stored in the conversion database 105 or an information or instruction to update the information stored in the infrastructure database 120. In addition, the data input unit 100 receives input of additional information related to one external data and / or one external identification code for identifying one external data. External data can also hold a plurality of information.
 更に、データ入力部100は、一の外部データの入力を受け付ける場合に、一の外部データに対応する基盤コードの入力を直接、受け付けることもできる。この場合、基盤コード変換部110は、変換データベース105を参照せずに、直接、基盤コードをコード存在判断部115に供給する。なお、この場合において基盤コード変換部110は、基盤コードの存在の有無や適切性を判断し、所定のエラー処理を実行することもできる。この場合、データ交換システム1に所定のデータを供給する外部データベースは、変換データベース105に自身の外部識別コードを格納させることを要さない。この場合、外部データベースを備える外部のシステムが、所定のデータ変換機能を有することになる。 Furthermore, when receiving the input of one external data, the data input unit 100 can also directly receive the input of the base code corresponding to the one external data. In this case, the base code conversion unit 110 directly supplies the base code to the code presence determination unit 115 without referring to the conversion database 105. In this case, the base code conversion unit 110 can also determine the presence or appropriateness of the base code and perform predetermined error processing. In this case, the external database that supplies the predetermined data to the data exchange system 1 does not require the conversion database 105 to store its own external identification code. In this case, an external system including an external database has a predetermined data conversion function.
 データ入力部100は、一の外部データベースから受け取った一の外部データ、他のデータベース識別子、及び/又は一の外部識別コードを基盤コード変換部110に供給する。なお、この一の外部データには、一の外部データベースのデータベース識別子が含まれているか、若しくは対応づけられている。そして、一の外部データは、複数の異なる情報を含むこともできる。また、データ入力部100は、変換データベース105が格納しているデータを更新する旨の情報若しくは指示を対応関係更新部150に供給する。更に、データ入力部100は、基盤データベース120が格納している情報を更新する旨の情報若しくは指示を情報更新部155に供給する。また、データ入力部100は、付加情報、及び/又は一の外部識別コードを付帯ユニット130に供給する。 The data input unit 100 supplies the base code conversion unit 110 with one external data received from one external database, another database identifier, and / or one external identification code. Note that this one external data includes or is associated with the database identifier of one external database. One external data can also include a plurality of different information. In addition, the data input unit 100 supplies information or an instruction to update the data stored in the conversion database 105 to the correspondence update unit 150. Further, the data input unit 100 supplies the information update unit 155 with information or an instruction to update the information stored in the infrastructure database 120. Further, the data input unit 100 supplies additional information and / or one external identification code to the incidental unit 130.
(変換データベース105)
 図3は、本発明の実施の形態に係る変換データベースのデータ構成の一例を示す。
(Conversion database 105)
FIG. 3 shows an example of the data structure of the conversion database according to the embodiment of the present invention.
 変換データベース105は、予め定められたコード体系の外部データを格納する外部データベースの外部データを識別する外部識別コードを、外部データベースを識別するデータベース識別子と基盤データベース120に格納されているいずれかの基盤コードとに対応づけて格納する。図3に示すように、変換データベース105は、外部データベースを一意に識別するデータベース識別子に対応づけて、当該外部データベースが格納している外部データの属性、及び/又は概念等を識別する外部識別コードと、外部識別コードに対応する基盤コードとを格納する。ここで、変換データベース105に格納される基盤コードは、基盤データベース120に格納されている基盤コードと同一である。この場合、変換データベース105は、外部識別コードを、データベース識別子、及び所定の基盤コードに静的に対応づけることになる。 The conversion database 105 includes an external identification code that identifies external data of an external database that stores external data of a predetermined code system, a database identifier that identifies the external database, and any base stored in the base database 120. Store it in association with the code. As shown in FIG. 3, the conversion database 105 is associated with a database identifier that uniquely identifies the external database, and an external identification code that identifies the attribute and / or concept of the external data stored in the external database. And a base code corresponding to the external identification code. Here, the base code stored in the conversion database 105 is the same as the base code stored in the base database 120. In this case, the conversion database 105 statically associates the external identification code with the database identifier and a predetermined base code.
 例えば、変換データベース105は、外部識別コードに対応づける基盤コードとして、外部識別コードに対応する外部データの上位概念若しくは下位概念、又は同一概念に対応するデータに対応づけられる基盤コードを格納する。変換データベース105は、外部識別コードに対応する外部データに対応づけられる基盤コードとして、少なくとも外部データと同一若しくは同種の基盤コード、又は外部データの上位概念に対応するデータの基盤コードを格納することが好ましい。変換データベース105は、基盤コード変換部110、コード存在判断部115、及び/又はデータ変換部125の働きかけに応じ、格納しているデータを基盤コード変換部110、コード存在判断部115、及び/又はデータ変換部125のそれぞれに供給する。 For example, the conversion database 105 stores, as a base code associated with the external identification code, a superordinate concept or a subordinate concept of external data corresponding to the external identification code, or a base code associated with data corresponding to the same concept. The conversion database 105 may store at least a base code of the same or the same type as the external data, or a base code of data corresponding to a superordinate concept of the external data, as a base code associated with the external data corresponding to the external identification code. preferable. The conversion database 105 stores the data stored in the base code conversion unit 110, the code presence determination unit 115, and / or in response to the action of the base code conversion unit 110, the code presence determination unit 115, and / or the data conversion unit 125. The data is supplied to each data converter 125.
 また、変換データベース105は、外部識別コードと基盤コードとをn対mの関係で格納できる(ただし、n及びmはそれぞれ1以上の整数である。)。例えば、変換データベース105は、1つの外部識別コードに対し、複数の基盤コードを対応づけて格納できる(以下、外部識別コードの「複数登録」という場合がある。)。一例として、一の外部データベースが「青首だいこん」という情報と「守口だいこん」という情報とを外部データとして格納している一方で、「だいこん」という情報を格納していない場合を考える。更に、他の外部データベースから一の外部データベースが「青首だいこん」という情報及び「守口だいこん」という情報を除く他のだいこんの情報、例えば「土付だいこん」という情報を受け取る場合は当該情報を「青首だいこん」という情報へ変換することが要求されているとする。この場合、変換データベース105は、「青首だいこん」という情報に対応する外部識別コードに、「青首だいこん」に対応する基盤コードだけでなく、「土付だいこん」に対応する基盤コードも対応づけることができる。また、「青首だいこん」に対応する基盤コードに、基盤データベース120が格納している階層構造の一つ上位の基盤コード(例えば、「だいこん」に対応する基盤コード)を対応づけることで、その他の種類の「だいこん」すべてについて、「青首だいこん」に対応する基盤コードを用いることができる。 The conversion database 105 can store the external identification code and the base code in an n-to-m relationship (where n and m are each an integer of 1 or more). For example, the conversion database 105 can store a plurality of base codes in association with one external identification code (hereinafter referred to as “multiple registration of external identification codes” in some cases). As an example, let us consider a case where one external database stores the information “Daikon Daikon” and the information “Daikon Moriguchi” as external data, but does not store the information “Daikon”. In addition, when one external database receives information from other external databases other than the information “Daikon Daikon” and information of “Daikon Moriguchi”, for example, information “Dochi Daikon”, the information is “ Suppose that it is required to be converted into the information “Aoibe Daikon”. In this case, the conversion database 105 associates not only the base code corresponding to “Aoi Daikan” with the external identification code corresponding to the information “Aoi Daikon”, but also the base code corresponding to “Dosuke Daikon”. be able to. In addition, by associating the base code corresponding to “Aoikon Daikon” with the base code one level higher in the hierarchical structure stored in the base database 120 (for example, the base code corresponding to “Daikon”), For all types of "Daikon", the base code corresponding to "Aoibe Daikon" can be used.
 ここで、1つの外部識別コードに対し、複数の基盤コードが対応づけられている場合、変換データベース105が格納している外部識別コードと一の基盤コードとの対応関係に、他の対応関係に優先することを示す「主登録」を示す情報を対応づけることもできる。基盤コード変換部110は、「主登録」を示す情報が対応づけられている外部識別コードと基盤コードとを優先的に用いて変換処理を実行するので、安定的な変換処理結果を得ることができる。 Here, when a plurality of base codes are associated with one external identification code, the correspondence between the external identification code stored in the conversion database 105 and one base code is changed to another correspondence relation. It is also possible to associate information indicating “main registration” indicating priority. Since the base code conversion unit 110 executes the conversion process preferentially using the external identification code associated with the information indicating “main registration” and the base code, it is possible to obtain a stable conversion process result. it can.
 更に、変換データベース105は、1つの基盤コードに対し、複数の外部識別コードを対応づけて格納することもできる(以下、基盤コードの「複数登録」という場合がある。)。例えば、一の外部データベースが「青首だいこん」という情報と「守口だいこん」という情報を外部データとして格納している一方、これらの情報の全てを「だいこん」に対応する基盤コードに対応づける場合である。ただし、この場合、本来の情報(例えば、「青首だいこん」の「青首」部分の情報)が損失し得る。なお、このような機能は階層を遡る検索で実現することもできるので、データ交換システム1は、変換データベース105への基盤コードの複数登録を禁止してもよい。 Furthermore, the conversion database 105 can also store a plurality of external identification codes in association with one base code (hereinafter referred to as “multiple registration of base codes”). For example, when one external database stores the information "Daikon Daikon" and the information "Daikon Moriguchi" as external data, all of this information is associated with the base code corresponding to "Daikon". is there. However, in this case, original information (for example, information on the “blue neck” portion of “blue neck”) may be lost. Since such a function can also be realized by a search going back up the hierarchy, the data exchange system 1 may prohibit registration of a plurality of base codes in the conversion database 105.
 ここで、変換データベース105が基盤コードを複数登録している場合、変換データベース105が格納している基盤コードと一の外部識別コードとの対応関係に他の対応関係に優先することを示す「主登録」を示す情報を対応づけることができる。基盤コード変換部110は、「主登録」を示す情報が対応づけられている基盤コードと外部識別コードとを優先的に用いて変換処理を実行するので、安定的な変換処理結果を得ることができる。 Here, when the conversion database 105 has registered a plurality of base codes, “main” indicates that the correspondence between the base code stored in the conversion database 105 and one external identification code has priority over other correspondences. Information indicating “registration” can be associated. The base code conversion unit 110 executes the conversion process preferentially using the base code associated with the information indicating “main registration” and the external identification code, so that a stable conversion process result can be obtained. it can.
 なお、変換データベース105は、人工知能により制御され、外部識別コードを、データベース識別子と基盤データベース120に格納されているいずれかの基盤コードとに動的に対応づけて格納してもよい。この場合、変換データベース105は、外部識別コードとデータベース識別子及び/又は基盤コードとを動的に対応付ける機能を有することができる。変換データベース105は、この対応付けを人工知能による学習により随時更新できる。人工知能は、外部のサーバ等から通信網5を介して提供される情報に基づいて学習してもよい。変換データベース105は人工知能による学習結果を格納し、随時更新できる。 Note that the conversion database 105 is controlled by artificial intelligence, and may store the external identification code in a dynamic association with the database identifier and one of the base codes stored in the base database 120. In this case, the conversion database 105 can have a function of dynamically associating the external identification code with the database identifier and / or the base code. The conversion database 105 can update this association at any time by learning with artificial intelligence. The artificial intelligence may be learned based on information provided from an external server or the like via the communication network 5. The conversion database 105 stores the learning result by artificial intelligence and can be updated at any time.
(基盤コード変換部110)
 基盤コード変換部110は、データ入力部100から受け取った外部データ、外部識別コード、及び/又はデータベース識別子に基づいて、外部識別コードを標準データに変換する。すなわち、基盤コード変換部110は、一の外部データベースからの一の外部データを識別する一の外部識別コードに対応づけて変換データベース105に格納されている基盤コードと一の外部識別コードとに基づいて、一の外部識別コードを基盤コードが対応づけられた標準データに変換する。具体的に、基盤コード変換部110は、一の外部データベースから一の外部データ及び一の外部データを識別する外部識別コードを受け取る。なお、基盤コード変換部110は、外部データ、及び外部識別コードを一の外部データの供給先である他の外部データベースを識別する他のデータベース識別子と共に受け取ることもできる。そして、基盤コード変換部110は、変換データベース105を参照し、一の外部識別コードを、一の外部識別コードと一の外部データベースのデータベース識別子とに対応づけて変換データベース105が格納している基盤コード及び/又は一の外部データが対応づけられた標準データに変換する。例えば、基盤コード変換部110は、変換データベース105が格納している基盤コードを抽出し、抽出した基盤コードと一の外部データとを一の外部識別コードに対応づけたデータを標準データとすることで、外部識別コードを標準データに変換する。基盤コード変換部110は、標準データをコード存在判断部115に供給する。
(Base code converter 110)
The base code conversion unit 110 converts the external identification code into standard data based on the external data, the external identification code, and / or the database identifier received from the data input unit 100. That is, the base code conversion unit 110 is based on the base code stored in the conversion database 105 and the single external identification code in association with the single external identification code for identifying the single external data from the single external database. Thus, one external identification code is converted into standard data associated with the base code. Specifically, the base code conversion unit 110 receives an external identification code for identifying one external data and one external data from one external database. The infrastructure code conversion unit 110 can also receive external data and an external identification code together with other database identifiers for identifying other external databases to which one external data is supplied. The base code conversion unit 110 refers to the conversion database 105 and associates one external identification code with the one external identification code and the database identifier of the one external database and stores the base in the conversion database 105. The code and / or one external data is converted into standard data associated with it. For example, the base code conversion unit 110 extracts the base code stored in the conversion database 105, and sets the data that associates the extracted base code and one external data with one external identification code as standard data. The external identification code is converted into standard data. The base code conversion unit 110 supplies the standard data to the code presence determination unit 115.
 また、基盤コード変換部110は、一の外部データベースから、他のデータベースの他の外部データを識別する他の外部識別コードと共に一の外部データを受け取った場合、外部識別コードを標準データに変換しないこともできる。基盤コード変換部110は、外部識別コードを標準データに変換しない場合、変換しなかったことを示す情報、及び当該外部識別コードをコード存在判断部115に供給する。なお、基盤コード変換部110は、外部識別コードを標準データに変換しない場合、他のデータベースとは異なるデータベースには、一の外部データベースから受け取った外部識別コードを参照させない。 In addition, when the base code conversion unit 110 receives one external data together with another external identification code for identifying other external data of another database from one external database, the base code conversion unit 110 does not convert the external identification code into standard data. You can also. If the external identification code is not converted into standard data, the base code conversion unit 110 supplies information indicating that the external identification code has not been converted and the external identification code to the code existence determination unit 115. When the external code is not converted into standard data, the base code conversion unit 110 does not refer to the external identification code received from one external database to a database different from other databases.
(コード存在判断部115)
 コード存在判断部115は、基盤コード変換部110から受け取った標準データに対応する基盤コードが、他のデータベース識別子に対応づけて変換データベース105の基盤コードの欄に格納されているか否かについて、変換データベース105を参照して判断する。コード存在判断部115は、判断結果を示す情報をデータ変換部125に供給する。なお、コード存在判断部115は、基盤コード変換部110から外部識別コードを標準データに変換しなかったことを示す情報を受け取った場合、標準データに対応する基盤コードが他のデータベース識別子に対応づけて変換データベース105に格納されているか否かの判断処理を実行しない。コード存在判断部115は、判断処理を実行しなかったことを示す情報、及び基盤コード変換部110から受け取った外部識別コードをデータ変換部125に供給する。
(Code existence judgment unit 115)
The code existence determination unit 115 determines whether or not the base code corresponding to the standard data received from the base code conversion unit 110 is stored in the base code column of the conversion database 105 in association with another database identifier. Judgment is made with reference to the database 105. The code presence determination unit 115 supplies information indicating the determination result to the data conversion unit 125. When the code presence determination unit 115 receives information indicating that the external identification code has not been converted into standard data from the base code conversion unit 110, the base code corresponding to the standard data is associated with another database identifier. Thus, the process of determining whether or not the data is stored in the conversion database 105 is not executed. The code presence determination unit 115 supplies the data conversion unit 125 with information indicating that the determination process has not been executed and the external identification code received from the base code conversion unit 110.
(基盤データベース120)
 図4は、本発明の実施の形態に係る基盤データベースのデータ構成の一例を示す。
(Base database 120)
FIG. 4 shows an example of the data configuration of the base database according to the embodiment of the present invention.
 基盤データベース120は、データを識別する基盤コードの階層構造により表される階層構造情報を格納する。具体的に、基盤データベース120は、所定のデータの内容若しくは上位概念の属性等のデータを識別する基盤コード、所定のデータの下位概念の属性等のデータを識別する基盤コード、若しくは所定のデータそれ自身を識別する基盤コードの少なくともいずれかを含んで構築される基盤コードの階層構造により表される階層構造情報を格納する。なお、階層構造は、複数の所定のデータが、下位概念のデータから上位概念のデータへと順に積み重ねて全体を構成している構造である(以下において、階層構造の深さを、n階層(ただし、n>1)の階層という場合がある。)。 The infrastructure database 120 stores hierarchical structure information represented by the hierarchical structure of the infrastructure code that identifies the data. Specifically, the base database 120 is a base code for identifying data such as the contents of predetermined data or attributes of a higher concept, a base code for identifying data such as attributes of a lower concept of predetermined data, or predetermined data Stores hierarchical structure information represented by a hierarchical structure of a base code constructed including at least one of base codes for identifying itself. The hierarchical structure is a structure in which a plurality of predetermined data are stacked in order from lower concept data to higher concept data to form the whole (in the following, the depth of the hierarchical structure is defined as n layers ( However, there are cases where n> 1).
 例えば、互いに異なる第1データ、第2データ、第3データ、第4データ、及び第5データであって、第1データ、第2データ、第3データ、第4データ、第5データの順に下位概念を示すデータが存在する場合を例に挙げる(一例として、第1データが「野菜」、であり、第2データが「根菜類」であり、第3データが「だいこん」であり、第4データが「土付大根」であり、第5データが産地が限定された「土付大根」である。)。 For example, the first data, the second data, the third data, the fourth data, and the fifth data, which are different from each other, in the order of the first data, the second data, the third data, the fourth data, and the fifth data. The case where there is data indicating the concept is taken as an example (for example, the first data is “vegetables”, the second data is “root vegetables”, the third data is “daikon”, the fourth The data is “Dochi Daikon”, and the fifth data is “Dochi Daikon” with limited production.)
 この場合、図4に示すように、階層構造は、第1データを識別する基盤コード「A」を階層構造の上位に配置すると共に、第2データを識別する基盤コード「a」を基盤コード「A」の下位に配置する。同様に、第3データを識別する基盤コード「a11」が基盤コード「a」の下位に配置され、第4データを識別する基盤コード「a111」が基盤コード「a11」の下位に配置され、第5データを識別する基盤コード「a1111」が基盤コード「a111」の下位に配置される。基盤データベース120は、複数の基盤コードそれぞれを、上位概念に対応するデータの基盤コードによって下位概念に対応するデータの基盤コードを複数段階で束ねることによって保持する。例えば、段階がn段階ある場合、基盤データベース120はn階層の階層構造を有することになる。基盤データベース120は、データ変換部125の働きかけに応じ、所定のデータをデータ変換部125に供給する。 In this case, as shown in FIG. 4, in the hierarchical structure, the base code “A” for identifying the first data is arranged at the upper level of the hierarchical structure, and the base code “a 1 ” for identifying the second data is used as the base code. Arranged below “A”. Similarly, the base code “a 11 ” for identifying the third data is arranged under the base code “a 1 ”, and the base code “a 111 ” for identifying the fourth data is under the base code “a 11 ”. The base code “a 1111 ” that is arranged and identifies the fifth data is placed under the base code “a 111 ”. The base database 120 holds each of the plurality of base codes by bundling the base codes of the data corresponding to the lower concept by the base codes of the data corresponding to the upper concept in a plurality of stages. For example, when there are n stages, the base database 120 has an n-level hierarchical structure. The infrastructure database 120 supplies predetermined data to the data converter 125 in response to the action of the data converter 125.
 なお、基盤データベース120は、基盤コードと共に基盤コードそれぞれに対応する「標準名称」等の文字列、その他の付帯情報を更に格納することもできる。基盤データベース120は、「標準名称」の情報として、全角、半角、又は全半角混在のいずれかの文字列形式で表される文字列情報を格納するか、若しくはこれらすべての形式の文字列情報(すなわち、本実施の形態においては「完全形式」の文字列情報と称する。)を格納することができる。また、基盤データベース120は、対応関係更新部150及び/又は情報更新部155が所定の処理を実行する場合に、対応関係更新部150及び/又は情報更新部155の働きかけに応じ、データ出力部140を介し、「標準名称」をユーザに知覚可能に出力することもできる。また、データ出力部140は、出力するデータに、付帯情報として標準名称に関する情報を付帯させることもできる。 Note that the base database 120 can further store a character string such as a “standard name” corresponding to each base code and other accompanying information together with the base code. The base database 120 stores character string information expressed in one of two-byte, one-byte, or mixed two-byte character string information as “standard name” information, or character string information in all these formats ( In other words, in this embodiment, it is referred to as “complete format” character string information). In addition, when the correspondence relationship update unit 150 and / or the information update unit 155 executes a predetermined process, the base database 120 is configured so that the data output unit 140 responds to the action of the correspondence relationship update unit 150 and / or the information update unit 155. The “standard name” can be output to the user in a perceptible manner. Further, the data output unit 140 can attach information related to the standard name as supplementary information to the output data.
(データ変換部125)
 データ変換部125は、コード存在判断部115が、基盤コード変換部110によって変換された標準データに対応する基盤コードが他のデータベース識別子に対応づけて変換データベース105に格納されていると判断した場合、標準データを、標準データに対応する基盤コードと他のデータベース識別子とに対応づけて変換データベース105に格納されている外部識別コードに変換する。
(Data converter 125)
When the data conversion unit 125 determines that the code presence determination unit 115 stores the base code corresponding to the standard data converted by the base code conversion unit 110 in the conversion database 105 in association with another database identifier The standard data is converted into an external identification code stored in the conversion database 105 in association with the base code corresponding to the standard data and another database identifier.
 また、データ変換部125は、コード存在判断部115が、基盤コード変換部110によって変換された標準データに対応する基盤コードと同一の基盤コードが、他のデータベース識別子に対応づけて変換データベース105に格納されていないと判断した場合、標準データを、標準データに対応する基盤コードを含む階層構造情報により表される階層構造内のいずれかの基盤コードと他のデータベース識別子とに対応づけて変換データベース105に格納されている外部識別コードに変換する。すなわち、データ変換部125は、標準データを外部識別コードに変換することを目的として、基盤コード変換部110によって変換された標準データに対応する基盤コードの代替となる基盤コードを階層構造内から検索し、検索して抽出した基盤コードを用いて変換処理を実行する。例えば、データ変換部125は、標準データに対応する基盤コードを、基盤データベース120が格納している階層構造を当該標準データに対応する基盤コードが分類されている位置(つまり、当該標準データに対応する基盤コードに一致する基盤コードの分類位置)から上位、下位、若しくは水平(同列)の分類位置に分類されている基盤コードと他のデータベース識別子とに対応づけて変換データベース105に格納されている外部識別コードに変換する。 In addition, the data conversion unit 125 includes the same base code as the base code corresponding to the standard data converted by the base code conversion unit 110 by the code presence determination unit 115 in the conversion database 105 in association with another database identifier. If it is determined that the data is not stored, the standard data is converted into a database by associating one of the base codes in the hierarchical structure represented by the hierarchical structure information including the base code corresponding to the standard data with another database identifier. The external identification code stored in 105 is converted. That is, the data conversion unit 125 searches the base code, which is an alternative to the base code corresponding to the standard data converted by the base code conversion unit 110, from within the hierarchical structure for the purpose of converting the standard data into the external identification code. Then, the conversion process is executed using the base code extracted by searching. For example, the data conversion unit 125 displays the base code corresponding to the standard data, the hierarchical structure stored in the base database 120, the position where the base code corresponding to the standard data is classified (that is, the standard data corresponds to the standard data). Stored in the conversion database 105 in association with the base code and other database identifiers that are classified into the top, bottom, or horizontal (same row) classification position from the base code matching position). Convert to an external identification code.
 具体的に、データ変換部125は、コード存在判断部115において、他のデータベース識別子に対応づけて変換データベース105に標準データに対応する基盤コードが格納されていないと判断された場合、基盤データベース120の階層構造を標準データに対応する基盤コード(つまり、当該標準データに対応する基盤コードと一致する基盤コード)の分類位置から上位に向けて遡る検索(上方検索)、下位に下る検索(下方検索)、及び/又は同一階層内の検索(水平検索)をすることにより、適切な基盤コードを検索する。データ変換部125は、上方検索、下方検索、及び水平検索からなる群から選択される少なくとも1つの検索方法、又は少なくとも2つの検索方法の組合せを用いて基盤コードを検索する。複数の検索方法を組み合わせる場合、データ変換部125は、予め定められた取り決めに従って、基盤コードを検索する。 Specifically, when the code existence determination unit 115 determines that the base code corresponding to the standard data is not stored in the conversion database 105 in association with another database identifier, the data conversion unit 125 determines that the base database 120 Search backward (upward search), downward search (downward search) from the classification position of the base code corresponding to standard data (that is, base code that matches the base code corresponding to the standard data) ) And / or a search within the same hierarchy (horizontal search) to search for an appropriate base code. The data conversion unit 125 searches for the base code using at least one search method selected from the group consisting of an upper search, a lower search, and a horizontal search, or a combination of at least two search methods. When combining a plurality of search methods, the data conversion unit 125 searches for a base code according to a predetermined rule.
 データ変換部125は、上方検索、下方検索、及び/又は水平検索を、予め定められた組合せで実行できる(以下、「複合検索」という場合がある。)。例えば、データ変換部125は、上方検索、下方検索、及び水平検索を順次実行してもよい。一例として、データ変換部125は、まず上方検索を実行し、上方検索によって適切な基盤コードが抽出できない場合、次に下方検索を実行する。そして、データ変換部125は、下方検索でも適切な基盤コードを抽出できない場合に、水平検索を実行することができる。 The data conversion unit 125 can execute an upward search, a downward search, and / or a horizontal search in a predetermined combination (hereinafter, sometimes referred to as “composite search”). For example, the data conversion unit 125 may sequentially execute upward search, downward search, and horizontal search. As an example, the data conversion unit 125 first performs an upward search, and if an appropriate base code cannot be extracted by the upward search, then performs a downward search. The data conversion unit 125 can execute a horizontal search when an appropriate base code cannot be extracted even by a downward search.
 また、データ変換部125は、複合検索において、上方検索、下方検索、又は水平検索の一部を実行しなくてもよい。例えば、データ変換部125は、まず、n階層上までの上方検索を実行する(ただし、nは1以上の整数であり、nの値は予め決定される。)。次に、データ変換部125は、下方検索を実行すると共に水平検索を実行しない処理を実行することもできる。データ変換部125が実行する上方検索、下方検索、及び/又は水平検索の組合せは、データ供給側データベース、及び/又はデータ受取側データベースからの要求に応じて決定してもよい。データ供給側データベース及びデータ受取側データベースの双方から検索の組合せの決定の要求がある場合、いずれを優先するかについては予め決定しておくことが好ましい。 In addition, the data conversion unit 125 may not execute part of the upward search, the downward search, or the horizontal search in the composite search. For example, the data conversion unit 125 first performs an upward search up to n levels (where n is an integer equal to or greater than 1 and the value of n is determined in advance). Next, the data conversion unit 125 can execute a downward search and a process that does not execute a horizontal search. A combination of upward search, downward search, and / or horizontal search performed by the data conversion unit 125 may be determined according to a request from the data supply side database and / or the data reception side database. When there is a request for determination of a search combination from both the data supply side database and the data reception side database, it is preferable to determine in advance which one has priority.
 更に、データ変換部125は、1回の検索で、上方検索、下方検索、及び/又は水平検索を組み合わせた検索を実行することもできる(以下、「混合検索」という場合がある。)。一例として、データ変換部125は、階層構造を1階層上方に検索した後、1階層下方に検索することができる。また、例えば、階層構造の特定階層のみに基盤コードを配列している外部データベースがデータ交換システム1を介して一の外部データベースからデータを受け取る場合であって、基盤データベース120が格納している階層構造内の基盤コードに対して、特定階層の基盤コードと同一階層の同一グループ内に対応する基盤コードが存在しない場合、「隣」のグループの複数の基盤コードから所定の基盤コードを検索して抽出する。すなわち、この場合、データ変換部125は、「2階層上方に検索」し、更に「2階層下層に検索」する処理を実行することになる。 Furthermore, the data conversion unit 125 can also perform a search that combines an upper search, a lower search, and / or a horizontal search in one search (hereinafter, sometimes referred to as “mixed search”). As an example, the data conversion unit 125 can search the hierarchical structure one hierarchy lower and then search one hierarchy lower. Further, for example, when an external database in which a base code is arranged only in a specific hierarchy of a hierarchical structure receives data from one external database via the data exchange system 1, the hierarchy stored in the base database 120 If there is no corresponding base code in the same group of the same layer as the base code of the specific layer for the base code in the structure, the specified base code is searched from multiple base codes of the “neighboring” group Extract. That is, in this case, the data conversion unit 125 executes a process of “searching up two levels” and further “searching down two levels”.
 データ変換部125は、混合検索において、予め定められた組合せで検索処理を実行する。例えば、データ変換部125は、上方検索に続いて下方検索を実行し、いずれの検索でも適切な基盤コードが抽出できない場合、混合検索を実行することができる。データ変換部125は、混合検索においては、階層構造を1階層遡ってから下方検索を実行し、次に階層構造を2階層遡ってから下方検索を実行する、というような順位で順次検索を実行できる。この検索の実行順位は、予め定めておくことができる。また、データ変換部125が実行する混合検索を構成する上方検索、下方検索、及び/又は水平検索の組合せは、データ供給側データベース、及び/又はデータ受取側データベースからの要求に応じて決定してもよい。データ供給側データベース及びデータ受取側データベースの双方から検索の組合せの決定の要求がある場合、いずれを優先するかについては予め決定しておくことが好ましい。 The data conversion unit 125 executes a search process with a predetermined combination in the mixed search. For example, the data conversion unit 125 can execute a downward search following the upward search, and can execute a mixed search when an appropriate base code cannot be extracted by any search. In the mixed search, the data conversion unit 125 executes the search in order such that the hierarchical structure goes back one level before the downward search, and then the hierarchical structure goes back two levels before the downward search. it can. The execution order of this search can be determined in advance. Further, the combination of the upper search, the lower search, and / or the horizontal search constituting the mixed search executed by the data conversion unit 125 is determined according to the request from the data supply side database and / or the data reception side database. Also good. When there is a request for determination of a search combination from both the data supply side database and the data reception side database, it is preferable to determine in advance which one has priority.
 ここで、上方検索について説明する。データ変換部125は、他のデータベースが採用している他の階層構造における外部データの分類位置に対応する基盤コードを上方検索で検索することができる。具体的に、データ変換部125は、標準データに対応する基盤コードの分類位置からn階層上位の基盤コードを検索する(ただし、n≧1を満たす)。例えば、データ変換部125は、基盤コードに対応する情報の粒度を丸めた際に得られる情報に対応する基盤コードを検索する(例えば、所定の基盤コードに「ポメラニアン」という情報が対応づけられている場合において、当該情報をより上位概念である「犬」という情報に変換することで粒度を丸めることができる。そして、データ変換部125は、当初の基盤コードを、粒度を丸めた「犬」という情報に対応する基盤コードを検索する。)。なお、データを受け取る外部データベース側が詳細な情報を要さない場合や、詳細な情報処理を実行する能力がない場合等に、上位概念の情報に対応する基盤コードへの変換が有効である。そして、データ変換部125は、検索して抽出される基盤コードと他のデータベース識別子とに対応づけて変換データベース105に格納されている外部識別コードに、標準データを変換する。 Here, the upward search will be described. The data conversion unit 125 can search the base code corresponding to the classification position of the external data in another hierarchical structure adopted by another database by upward search. Specifically, the data conversion unit 125 searches for a base code higher by n layers from the base code classification position corresponding to the standard data (provided that n ≧ 1 is satisfied). For example, the data conversion unit 125 searches for a base code corresponding to information obtained when the granularity of information corresponding to the base code is rounded (for example, information “Pomeranian” is associated with a predetermined base code). In this case, it is possible to round the granularity by converting the information into the information “dog”, which is a higher-level concept, and the data conversion unit 125 converts the original base code to “dog” with the granularity rounded. Search for the base code corresponding to the information.) In addition, when the external database side that receives the data does not require detailed information, or when there is no ability to execute detailed information processing, conversion to the base code corresponding to the high-level concept information is effective. Then, the data conversion unit 125 converts the standard data into an external identification code stored in the conversion database 105 in association with the base code extracted by searching and another database identifier.
 次に、下方検索について説明する。データ変換部125は、他のデータベースが採用している他の階層構造における外部データの分類位置に対応する基盤コードを下方検索で検索することができる。具体的に、データ変換部125は、基盤コードを検索する場合に、階層構造を上位から下位に向けて検索する。すなわち、データ変換部125は、分類位置から下位に下った分類位置の基盤コードを抽出できる。例えば、データ変換部125は、基盤コードに対応する情報の粒度を下げる(細かくする)際に得られる情報に対応する基盤コードを検索する(例えば、所定の基盤コードに「犬」という情報が対応づけられている場合において、当該情報をより下位概念である「ポメラニアン」という情報に変換することで粒度を下げることができる。そして、データ変換部125は、当初の基盤コードを、粒度を下げた「ポメラニアン」という情報に対応する基盤コードを検索する。)。なお、データを受け取る外部データベース側が粒度の荒い情報を受け取るための外部識別コードを有さない場合等に、下位概念の情報に対応する基盤コードへの変換が有効である。換言すれば、下方検索においてデータ変換部125は、元の情報が有さない詳細な情報を元の情報に付加することになる。 Next, the downward search will be described. The data conversion unit 125 can search the base code corresponding to the classification position of the external data in another hierarchical structure adopted by another database by a downward search. Specifically, when searching for the base code, the data conversion unit 125 searches the hierarchical structure from higher to lower. That is, the data conversion unit 125 can extract the base code of the classification position descending from the classification position. For example, the data conversion unit 125 searches for the base code corresponding to the information obtained when the granularity of the information corresponding to the base code is reduced (for example, the information “dog” corresponds to the predetermined base code). In this case, it is possible to reduce the granularity by converting the information into information called “Pomeranian”, which is a lower concept, and the data conversion unit 125 reduces the granularity of the original base code. Search for the base code corresponding to the information "Pomeranian"). In addition, when the external database side that receives the data does not have an external identification code for receiving coarse-grained information, conversion to the base code corresponding to the lower concept information is effective. In other words, in the downward search, the data conversion unit 125 adds detailed information that the original information does not have to the original information.
 例えば、データ交換システム1を介し、一の外部データベースが他の外部データベースに所定の取引の「発注データ」を供給する場合に、一の外部データベースから「犬ならどのような種類でもよい」ことを意図して「犬」という外部データがデータ交換システム1に供給されたとする。この場合、データ交換システム1は、「犬」という情報の概念レベルよりも下位の概念レベルに対応する「ポメラニアン」という情報に対応する基盤コードを検索、抽出する動作を実行する。 For example, when one external database supplies “ordering data” of a predetermined transaction to another external database via the data exchange system 1, “any kind of dog can be used” from one external database. Assume that the external data “dog” is intentionally supplied to the data exchange system 1. In this case, the data exchange system 1 executes an operation of searching and extracting a base code corresponding to information “Pomeranian” corresponding to a concept level lower than the concept level of information “dog”.
 ここで、変換データベース105の階層構造を下方に検索する場合、下位の概念レベルに対応する基盤コードは複数存在し得る。この場合、予め定められた取り決めに基づいて複数の基盤コードのいずれかを選択し、データ変換部125は処理を実行する。例えば、データ変換部125は、基盤データベース120が格納する階層構造の階層ごとに予め設定されている検索順位に則って検索を実行できる。また、データ変換部125は、基盤データベース120の基盤コードの順に応じて検索を実行することもできる。データ変換部125は、階層構造の1階層下位の基盤コードを検索し、変換すべき外部識別コードに対応する基盤コードが存在しない場合に、更に1つ下の階層を検索することもできる。そして、1つ下の階層を検索しても適切な基盤コードが存在しない場合には、データ変換部125は、順次、下方に下る検索を繰り返してもよい。 Here, when searching the hierarchical structure of the conversion database 105 downward, there may be a plurality of base codes corresponding to the lower concept levels. In this case, one of a plurality of base codes is selected based on a predetermined agreement, and the data conversion unit 125 executes processing. For example, the data conversion unit 125 can execute a search according to a search order set in advance for each layer of the hierarchical structure stored in the base database 120. In addition, the data conversion unit 125 can execute a search according to the order of the base codes of the base database 120. The data conversion unit 125 can search for a base code that is one layer lower in the hierarchical structure, and if there is no base code corresponding to the external identification code to be converted, it can also search for the next lower layer. If an appropriate base code does not exist even after searching the next lower layer, the data conversion unit 125 may sequentially repeat the downward search.
 更に、水平検索について説明する。データ変換部125は、他のデータベースが採用している他の階層構造における外部データの分類位置に対応する基盤コードを水平検索で検索することができる。具体的に、データ変換部125は、基盤コードを検索する場合に、標準データに対応する基盤コードの分類位置の概念レベルと同列に分類されている基盤コードを検索することもできる。例えば、データ変換部125は、基盤コードに対応する情報の粒度や階層構造内における分類の概念レベルを変更せずに、同一の概念レベルの他の基盤コードを検索する(例えば、所定の基盤コードに「秋田犬」という情報が対応づけられている場合において、当該情報と同一の概念レベルである「ポメラニアン」という情報に変換することで粒度を変更せずに他の基盤コードに変換できる。データ変換部125は、当初の基盤コードを、当該基盤コードに対応する情報と同一の概念レベルの他の情報に対応づけられている基盤コードを検索する。)。なお、一の外部データベース(データ供給側)と他の外部データベース(データ受取側)とがデータ交換システム1を介してデータ交換する場合に、受け取り側の外部データベースが、所定の外部データの上位概念に対応する情報、及び下位概念に対応する情報のいずれも有しておらず、当該外部データと概念レベルが同一の他の外部データのみを格納している場合、水平検索が有効である。 Furthermore, horizontal search will be described. The data conversion unit 125 can search the base code corresponding to the classification position of the external data in another hierarchical structure adopted by another database by horizontal search. Specifically, when searching for the base code, the data conversion unit 125 can also search for the base code classified in the same row as the conceptual level of the base code classification position corresponding to the standard data. For example, the data conversion unit 125 searches for another base code of the same concept level without changing the granularity of information corresponding to the base code or the conceptual level of classification in the hierarchical structure (for example, a predetermined base code). When the information “Akita Inu” is associated with the information, the information can be converted into another base code without changing the granularity by converting the information “Pomeranian”, which is the same concept level as the information. The conversion unit 125 searches the base code associated with the other base information having the same concept level as the information corresponding to the base code. When one external database (data supply side) and another external database (data reception side) exchange data via the data exchange system 1, the external database on the reception side is a superordinate concept of predetermined external data. If there is no information corresponding to the above and information corresponding to the subordinate concept, and only other external data having the same concept level as the external data is stored, horizontal search is effective.
 なお、水平検索においてデータ変換部125は、基盤データベース120が格納する階層構造内の、同一階層の同一グループ内、すなわち、同一の上位概念に対応する基盤コードの下位に属する複数の基盤コード内で検索を実行する。また、データ変換部125は、この同一階層の同一グループ内で、予め定められた基準に基づいて、複数の基盤コードから一の基盤コードを抽出して変換処理に用いる。予め定められた基準は、例えば、基盤データベース120の階層構造の階層ごとに検索順位を予め決めておき、この検索順位に従って検索する基準や、この階層構造内の基盤コードの順に従って検索する基準等である。この検索順位は、データ供給側データベース、及び/又はデータ受取側データベースからの要求に応じて決定してもよい。データ供給側データベース及びデータ受取側データベースの双方から検索順位の決定の要求がある場合、いずれを優先するかについては予め決定しておくことが好ましい。 Note that in the horizontal search, the data conversion unit 125 is within the same group in the same hierarchy within the hierarchical structure stored in the base database 120, that is, within a plurality of base codes belonging to the lower order of the base code corresponding to the same superordinate concept. Perform a search. In addition, the data conversion unit 125 extracts one base code from a plurality of base codes based on a predetermined standard within the same group in the same hierarchy and uses it for the conversion process. Predetermined criteria are, for example, criteria for searching in advance for each hierarchical layer of the base database 120 and searching according to this search ranking, criteria for searching according to the base code order in this hierarchical structure, etc. It is. This search order may be determined according to a request from the data supplier database and / or the data receiver database. When there is a request for determining the search order from both the data supply side database and the data reception side database, it is preferable to determine in advance which is to be prioritized.
 また、データ変換部125が標準データを、基盤データベース120から抽出される基盤コードに対応づけて変換データベース105に格納されている外部識別コードに変換する場合、元の外部識別コード(すなわち、データ入力部100が一の外部データベースから受け取った外部データの外部識別コード)に対応する外部データの一部の情報が損失する場合がある。すなわち、データ変換部125において、データ入力部100が受け取った外部データの外部識別コードが、より上位概念に対応する外部データの外部識別コードに変換されることにより、情報の損失が発生し得る。例えば、データ入力部100が一の外部データベースから「土付大根」の外部識別コードを受け取り、データ変換部125が、この外部識別コードを「大根」の外部識別コードに変換した場合、少なくとも「土付」に関する情報が損失する。 When the data conversion unit 125 converts the standard data into the external identification code stored in the conversion database 105 in association with the base code extracted from the base database 120, the original external identification code (that is, the data input) There may be a case where some information of the external data corresponding to the external identification code of the external data received by the unit 100 from one external database is lost. That is, in the data conversion unit 125, the external identification code of the external data received by the data input unit 100 is converted into the external identification code of the external data corresponding to the higher concept, thereby causing information loss. For example, when the data input unit 100 receives an external identification code of “Dochi radish” from one external database and the data conversion unit 125 converts the external identification code into an external identification code of “radish”, at least “Sat” Information on "Appendix" is lost.
 そこで、データ変換部125は、標準データを外部識別コードに変換する場合であって、情報の損失が発生した場合、情報が損失したことを示す損失情報、及び/又は情報損失のレベル(すなわち、損失の程度)を示す損失レベル情報を、変換した外部識別コードに含ませてもよい。例えば、基盤データベース120の階層構造を遡るごとに、基盤コードに対応づけられている情報の粒度が粗くなり、情報の損失が発生する。そこで、データ変換部125は、損失の度合いを表す「遡り階層数」を「損失レベル」として生成する。データ変換部125は、生成したこれらの情報を、変換した外部識別コードに含ませてもよい。これにより、当該外部識別コードを受け取った他の外部データベースは、損失の発生と損失のレベルとを把握できる。例えば、データ変換部125は、基盤データベース120の階層構造を検索する場合に、階層構造の検索において遡りが発生した階層数(すなわち、「遡り階層数」)を損失情報として生成する。一例として、遡り階層数が「0」の場合は「情報の損失なし」を示し、「遡り階層数」が「1」の場合は「1階層の遡りが発生した」ことを示し、「遡り階層数」が「m」の場合は「m階層の遡りが発生した」ことを示す(ただし、m>1)。 Therefore, the data converter 125 converts the standard data into an external identification code, and when information loss occurs, loss information indicating that information has been lost and / or information loss level (i.e., Loss level information indicating the degree of loss) may be included in the converted external identification code. For example, every time the hierarchical structure of the base database 120 is traced, the granularity of information associated with the base code becomes coarse, and information loss occurs. Therefore, the data conversion unit 125 generates “the number of retroactive hierarchies” representing the degree of loss as the “loss level”. The data conversion unit 125 may include the generated information in the converted external identification code. Thereby, another external database that has received the external identification code can grasp the occurrence of loss and the level of loss. For example, when searching the hierarchical structure of the base database 120, the data conversion unit 125 generates the number of hierarchies that have been traced back in the hierarchical structure search (that is, “the number of retroactive hierarchies”) as loss information. As an example, if the number of retrospective hierarchies is “0”, it indicates “no loss of information”, and if the “number of retroactive hierarchies” is “1”, it indicates that “a retroactive one layer has occurred” When the “number” is “m”, it indicates that “m-level retroactive has occurred” (where m> 1).
 同様にデータ変換部125は、階層構造の検索において上位から下位への下りが発生した階層数を示す情報を生成することもできる。例えば、基盤データベース120の階層構造を下ることで、元の情報に付加される情報がより詳細になる。そこで、データ変換部125は、上方検索時の「損失レベル」と同一の項目を用い、「遡り階層数」をマイナスの値で返すことができる。すなわち、データ変換部125は、例えば、1階層下った検索を実行した場合には「-1」を返す。なお、データ変換部125は、階層構造の最下層まで下っても変換すべき外部識別コードに対応する基盤コードが存在しない場合に、所定のエラー情報を生成することもできる。なお、データ変換部125は、エラー情報を変換した外部識別コードに含ませることもできる。 Similarly, the data conversion unit 125 can also generate information indicating the number of hierarchies in which the descending from the upper level to the lower level has occurred in the hierarchical structure search. For example, by going down the hierarchical structure of the base database 120, the information added to the original information becomes more detailed. Therefore, the data conversion unit 125 can return the “number of retroactive hierarchies” as a negative value using the same item as the “loss level” at the time of the upward search. That is, the data conversion unit 125 returns “−1”, for example, when a search is performed one level down. Note that the data conversion unit 125 can also generate predetermined error information when there is no base code corresponding to the external identification code to be converted even if it goes down to the lowest layer of the hierarchical structure. The data converter 125 can also include error information in the converted external identification code.
 更にデータ変換部125は、水平検索を実行した場合、水平検索を実行したことを示す情報を生成することもできる。例えば、データ変換部125は、水平方向での検索処理(すなわち、階層構造の同一の概念レベルに属する一の階層内での検索処理)が発生したことを示す水平検索発生フラグを生成してもよい。また、データ変換部125は、上方検索及び下方検索を含めて代替となる検索(すなわち、「代替検索」)が発生したことを示す所定のフラグを用意して、当該フラグの存在下、「遡り階層数」の値が「ゼロ」である場合に、水平検索が発生したことを識別することができる情報を生成してもよい。また、データ変換部125は、水平検索で適切な基盤コードを検索できない場合、所定のエラー情報を生成することもできる。 Furthermore, when the horizontal conversion is executed, the data conversion unit 125 can also generate information indicating that the horizontal search has been executed. For example, the data conversion unit 125 may generate a horizontal search occurrence flag indicating that a search process in the horizontal direction (that is, a search process in one hierarchy belonging to the same conceptual level of the hierarchical structure) has occurred. Good. In addition, the data conversion unit 125 prepares a predetermined flag indicating that an alternative search including an upward search and a downward search (ie, “alternative search”) has occurred, and in the presence of the flag, When the value of “the number of hierarchies” is “zero”, information that can identify that a horizontal search has occurred may be generated. Further, the data conversion unit 125 can also generate predetermined error information when an appropriate base code cannot be searched by horizontal search.
 また、データ変換部125は、混合検索を実行した場合、混合検索をしたことを示す情報を生成する。例えば、データ変換部125は、混合検索において実行した上方検索での上方への遡り階層数(以下、「U」と表す。Uは0以上の整数である。)と、下方検索での下方への下り階層数(以下、「D」と表す。Dは0以上の整数である。)とを組合せ、[U,D]と表した混合検索情報を生成することができる。例えば、1階層上方に検索した場合、混合検索情報は[1,0]となり、1階層下方に検索した場合、混合検索情報は[0,1]となる。また、同一グループ内での水平検索を実行した場合、混合検索情報は[1,1]となる。更に、階層構造の同一の概念レベルに複数のグループが存在する場合、一のグループの「隣」のグループへ水平検索した場合、混合検索情報は[2,2]となり、階層構造の「親」(すなわち、一の基盤コードの分類位置の上位の分類位置に存在する基盤コード)の「兄弟」(すなわち、上位の分類位置と同一の概念レベル(同列の階層)に分類される複数の基盤コード)の基盤コードを検索した場合、混合検索情報は[2,1]となる。 In addition, when the mixed search is executed, the data conversion unit 125 generates information indicating that the mixed search is performed. For example, the data conversion unit 125 counts the number of upward layers in the upward search performed in the mixed search (hereinafter, “U”; U is an integer of 0 or more) and the downward in the downward search. The combined search information represented as [U, D] can be generated by combining the number of downstream hierarchies (hereinafter referred to as “D”, where D is an integer greater than or equal to 0). For example, when searching up one level, the mixed search information is [1, 0], and when searching down one level, the mixed search information is [0, 1]. When a horizontal search within the same group is executed, the mixed search information is [1, 1]. Further, when there are a plurality of groups at the same conceptual level of the hierarchical structure, when a horizontal search is performed on the “adjacent” group of one group, the mixed search information becomes [2, 2], and the “parent” of the hierarchical structure A plurality of base codes classified into the “siblings” (that is, the same conceptual level (hierarchies in the same column) as the high-order classification position) of (that is, the base code existing in the high-order classification position of the classification position of one base code) ), The mixed search information is [2, 1].
 なお、データ変換部125は、判断処理を実行しなかったことを示す情報と外部識別コードとを受け取った場合、この外部識別コードを変換した外部識別コードとして扱う。データ変換部125は、変換した外部識別コードを付帯ユニット130及び/又はデータ出力部140に供給する。すなわち、データ変換部125は、受け取った外部識別コードを外部に出力する外部識別コードとして扱う(本実施の形態において、かかる処理を「直接変換」と称する。)。 In addition, when the data conversion unit 125 receives information indicating that the determination process has not been executed and the external identification code, the data conversion unit 125 treats the external identification code as a converted external identification code. The data conversion unit 125 supplies the converted external identification code to the incidental unit 130 and / or the data output unit 140. That is, the data conversion unit 125 treats the received external identification code as an external identification code that is output to the outside (in this embodiment, this processing is referred to as “direct conversion”).
 また、データ変換部125は、基盤データベース120の階層構造を下位から上位に向けて遡り、標準データと一致する基盤コードを検索した場合、階層構造の最上位まで検索しても、基盤コード変換部110によって変換された標準データに対応する基盤コードと同一の基盤コードが発見されなかった場合には、発見されなかったことを示すエラー情報をデータ出力部140に供給する。エラー情報は、例えば、ヌル値若しくは「ゼロ」値、又はエラーを示すフラグ情報等である。 In addition, when the data conversion unit 125 searches the base code matching the standard data by tracing back the hierarchical structure of the base database 120 from the bottom to the top, the base code conversion unit If the same base code as the base code corresponding to the standard data converted by 110 is not found, error information indicating that it was not found is supplied to the data output unit 140. The error information is, for example, a null value or “zero” value, or flag information indicating an error.
(付帯ユニット130)
 付帯ユニット130は、外部識別コードに付加情報を付帯する情報付帯部132と、外部識別コードに外部から受け取った外部識別コード自体を付帯するコード付帯部134とを有する。なお、付帯ユニット130は、情報付帯部132が外部識別コードに付帯した付加情報、及び/又はコード付帯部134が外部識別コードに付帯した外部識別コードに関する情報を、外部識別コードに対応づけて変換データベース105に格納することもできる。この場合、変換データベース105は、基盤コードを他の構成要素に供給する場合に、対応する付加情報等も合わせて供給することができる。
(Attached unit 130)
The accessory unit 130 includes an information appending unit 132 that appends additional information to the external identification code, and a code appending unit 134 that appends the external identification code itself received from the outside to the external identification code. The auxiliary unit 130 converts the additional information attached to the external identification code by the information auxiliary unit 132 and / or the information related to the external identification code attached to the external identification code by the code auxiliary unit 134 in association with the external identification code. It can also be stored in the database 105. In this case, the conversion database 105 can also supply corresponding additional information or the like when supplying the base code to other components.
(情報付帯部132)
 情報付帯部132は、データ変換部125が変換した外部識別コードに、一の外部データに関連する付加情報を付帯する。付加情報は、例えば、外部データの内容を示すテキストデータ、数値データ、符号データ、及び/又は図形データ等である。一例として、情報付帯部132は、外部データが「守口大根」である場合、データ変換部125が変換した外部識別コードに「守口大根」を示すテキストデータを付加情報として付帯させる。情報付帯部132は、付加情報を付帯させた外部識別コードをデータ出力部140に供給する。これにより、付加情報が付帯された外部識別コードを受け取った他の外部データベースは、一の外部データベースが他の外部データベースに供給した外部識別コード(以下、元の外部識別コードという)が、元の外部識別コードで表される外部データの上位概念の外部データの外部識別コードに変換されていた場合であっても、元の外部識別コードに対応する外部データの内容を把握することができる。
(Informational part 132)
The information supplementary unit 132 appends additional information related to one external data to the external identification code converted by the data conversion unit 125. The additional information is, for example, text data indicating the contents of external data, numerical data, code data, and / or graphic data. As an example, when the external data is “Moriguchi Daikon”, the information supplementary unit 132 attaches text data indicating “Moriguchi Daikon” as additional information to the external identification code converted by the data conversion unit 125. The information supplementary unit 132 supplies the data output unit 140 with an external identification code supplemented with additional information. As a result, the external identification code (hereinafter referred to as the original external identification code) supplied from the one external database to the other external database is the original external database that has received the external identification code accompanied by the additional information. Even when the external data represented by the external identification code is converted into the external identification code of the superordinate external data, the contents of the external data corresponding to the original external identification code can be grasped.
 ここで、情報付帯部132は、データ入力部100が受け付けた外部データに付加された付加情報(例えば、名称等の文字列等に関する情報)及び/又は変換データベース105に格納されている付加情報若しくは外部識別コードに関する情報を、基盤コード変換部110からの働きかけに応じ、基盤コード変換部110が外部識別コードを標準データに変換する場合に、当該標準データに付加することもできる。なお、付加情報が名称等の文字列に関する情報を含む場合、当該情報で表される文字列は、全角、半角、又は全半角混在のいずれかの形式の文字列である。そして、標準データに付加される文字列に関する情報は、以下で説明する処理により全角、半角、又は全半角混在の全ての形式(以下、「完全形式」と称する。)に変換した情報であってもよい。文字列に関する情報の完全形式の情報への変換処理は、例えば、基盤コード変換部110、及び/又はデータ変換部125が実行できる。一例として、データ入力部100が外部データの入力を受け付けた時点で、基盤コード変換部110が当該変換処理を実行することができる。また、基盤コード変換部110が所定の情報を変換データベース105に格納する時点で当該変換処理を実行することもできる。また、データ変換部125が標準データを外部識別コードに変換する処理を実行する場合に、完全形式の情報への変換処理を実行することもできる。 Here, the information supplementary unit 132 is configured to add additional information added to the external data received by the data input unit 100 (for example, information related to a character string such as a name) and / or additional information stored in the conversion database 105 or Information related to the external identification code can be added to the standard data when the base code conversion unit 110 converts the external identification code into standard data in response to an action from the base code conversion unit 110. When the additional information includes information related to a character string such as a name, the character string represented by the information is a character string in any one of full-width, half-width, or mixed full-width. The information on the character string added to the standard data is information converted into all types of full-width, half-width, or mixed half-width (hereinafter referred to as “complete format”) by the process described below. Also good. For example, the base code conversion unit 110 and / or the data conversion unit 125 can execute the conversion process of the information related to the character string into the complete format information. As an example, when the data input unit 100 receives an input of external data, the base code conversion unit 110 can execute the conversion process. The conversion process can also be executed when the base code conversion unit 110 stores predetermined information in the conversion database 105. Further, when the data conversion unit 125 executes the process of converting the standard data into the external identification code, the conversion process to the complete format information can also be executed.
 また、データ入力部100は、テキストデータの外部データの入力を受け付ける場合、以下の3つの情報を更に受け付けることができる。すなわち、テキストデータの文字列の形式としては、全角文字列、半角文字列、及び全半角が混在している文字列が存在する。データ入力部100は、テキストデータの文字列が全角文字列である場合の情報である「全角文字列情報」、半角文字列である場合の情報である「半角文字列情報」、及び全半角が混在している文字列を含んでもよい場合の情報である「全半角混在文字列情報」の入力を受け付ける。データ入力部100は、全角文字列情報、半角文字列情報、及び/又は全半角混在文字列情報を情報付帯部132に供給する。 In addition, the data input unit 100 can further receive the following three pieces of information when receiving input of external data of text data. That is, as the format of the character string of the text data, there are a full-width character string, a half-width character string, and a character string in which all the half-width characters are mixed. The data input unit 100 includes “full-width character string information” that is information when the character string of the text data is a full-width character string, “half-width character string information” that is information when the character string is a half-width character string, and full-width characters. Input of “full-width mixed character string information”, which is information when a mixed character string may be included, is accepted. The data input unit 100 supplies full-width character string information, half-width character string information, and / or full-width mixed character string information to the information-attached portion 132.
 情報付帯部132は、外部識別コードに付加情報を付帯する場合において、付帯情報がテキストデータである場合、データ入力部100から受け取った全角文字列情報、半角文字列情報、又は全半角混在文字列情報に基づいて、テキストデータを所定の形式に変換する。具体的に、情報付帯部132は、データ入力部100から全角文字列情報、半角文字列情報、及び全半角混在文字列情報のうち、少なくとも一つの情報を受け取らない場合、受け取った情報を除く他の情報を自動的に生成し、付加情報として外部識別コードに付帯する。なお、情報付帯部132は、データ入力部100がテキストデータの入力を受け付けた場合、当該テキストデータを解析し、情報付帯部132自身が当該テキストデータに全角文字列情報、半角文字列情報、又は全半角混在文字列情報を対応づけてもよい。 When the additional information is appended to the external identification code and the additional information is text data, the information-attached unit 132 includes the full-width character string information, half-width character string information, or full-width mixed character string received from the data input unit 100. Based on the information, the text data is converted into a predetermined format. Specifically, if the information supplementary unit 132 does not receive at least one of the full-width character string information, the half-width character string information, and the full-width mixed character string information from the data input unit 100, the information-added portion 132 excludes the received information. Is automatically generated and attached to the external identification code as additional information. When the data input unit 100 accepts input of text data, the information supplementary unit 132 analyzes the text data, and the information supplementary unit 132 itself adds full-width character string information, half-width character string information, or Full-width mixed character string information may be associated.
 例えば、情報付帯部132は、データ入力部100から全角文字列情報を受け取らなかった場合であって、全半角混在文字列情報を受け取った場合、全半角混在文字列情報により示される文字列内の半角文字を全角に変換し、全角文字列情報を生成する。そして、情報付帯部132は、生成して得られた全角文字列情報、半角文字列情報、及び全半角混在文字列情報を付加情報に含ませる。また、情報付帯部132は、データ入力部100から全角文字列情報を受け取らなかった場合であって、全半角混在文字列情報も受け取らなかった場合、半角文字列情報により示される文字列の半角文字を全角に変換し、全角文字列情報を生成する。そして、情報付帯部132は、生成して得られた全角文字列情報、及び半角文字列情報を付加情報に含ませる。 For example, when the information-accompanying unit 132 does not receive full-width character string information from the data input unit 100 and receives full-width mixed character string information, Half-width characters are converted to full-width characters, and full-width character string information is generated. Then, the information supplementary unit 132 includes the full-width character string information, the half-width character string information, and the full-width mixed character string information obtained by the generation in the additional information. Further, when the information-adding unit 132 does not receive full-width character string information from the data input unit 100 and does not receive full-width mixed character string information, the half-width character of the character string indicated by the half-width character string information Is converted to double-byte, and double-byte character string information is generated. Then, the information supplementary unit 132 includes the full-width character string information and the half-width character string information obtained by the generation in the additional information.
 また、情報付帯部132は、データ入力部100から全半角混在文字列情報を受け取らなかった場合であって、全角文字列情報を受け取った場合、全角文字列情報をそのまま付加情報に含ませる。一方、情報付帯部132は、データ入力部100から全半角混在文字列情報を受け取らなかった場合であって、かつ、全角文字列情報も受け取らなかった場合、半角文字列情報により示される文字列の半角文字を全角に変換し、全角文字列情報を生成するか、若しくは半角文字列情報により示される文字列の半角文字をそのまま維持する。そして、情報付帯部132は、生成して得られた全角文字列情報をそのまま、又は半角文字列情報をそのまま付加情報に含ませる。 In addition, when the full-width character string information is not received from the data input unit 100 and the full-width character string information is received, the information-attached unit 132 includes the full-width character string information as it is in the additional information. On the other hand, if the information-added unit 132 does not receive the full-width mixed character string information from the data input unit 100 and does not receive the full-width character string information, the information-added portion 132 receives the character string indicated by the half-width character string information. Either half-width characters are converted to full-width characters to generate full-width character string information, or the half-width characters of the character string indicated by the half-width character string information are maintained as they are. Then, the information supplementary unit 132 includes the full-width character string information obtained by the generation as it is or includes the half-width character string information as it is in the additional information.
 更に、情報付帯部132は、データ入力部100から半角文字列情報を受け取らなかった場合であって、全半角混在文字列情報を受け取った場合、全半角混在文字列情報により示される文字列について漢字カナ変換した変換文字列情報を付加情報に含ませる。一方、情報付帯部132は、データ入力部100から半角文字列情報を受け取らなかった場合であって、かつ、全半角混在文字列情報を受け取らなかった場合、全角文字列情報により示される文字列について漢字カナ変換した半角文字列情報を付加情報に含ませる。 Further, when the information ancillary unit 132 has not received the half-width character string information from the data input unit 100 and has received full-width mixed character string information, the information-attached portion 132 performs kanji for the character string indicated by the full-width mixed character string information. The conversion character string information that has been converted to Kana is included in the additional information. On the other hand, when the information-added unit 132 does not receive the half-width character string information from the data input unit 100 and does not receive the full-width mixed character string information, Include half-width character string information that has been converted to kanji and kana in additional information.
 これにより、データ交換システム1は、一の外部データベースが扱う文字列の形式と、他の外部データベースが扱う文字列の形式とが互いに異なる場合であっても、一の外部データベースが他の外部データベースに対して供給する外部データを所定の文字列の形式に変換することができるので、各外部データベース間で安定したデータ交換を実現できる。 As a result, the data exchange system 1 allows the one external database to be replaced with another external database even when the character string format handled by one external database is different from the character string format handled by another external database. Since the external data supplied to can be converted into a predetermined character string format, stable data exchange between each external database can be realized.
 なお、情報付帯部132は、単体で、テキストデータ変換システムとして機能することもできる。テキストデータ変換システムは、外部からテキストデータを取得するテキストデータ取得部と、テキストデータ取得部が取得したテキストデータの種別を判断するテキストデータ判断部と、テキストデータ判断部の判断結果に基づいてテキストデータを所定の形式に変換するテキストデータ変換部とを含む。テキストデータの種別とは、テキストデータが全角文字列であることを示す種別、半角文字列であることを示す種別、若しくは全半角が混在してもよい文字列であることを示す種別である。また、テキストデータ変換システムは、所定の形式に変換されたテキストデータを出力するテキストデータ出力部、及び/又は出力されるテキストデータがテキストデータ変換システムにより自動生成されたデータであるか否かを示すフラグを当該出力されるテキストデータに付帯させるフラグ部を含むこともできる。 In addition, the information supplement part 132 can function as a text data conversion system by itself. The text data conversion system includes a text data acquisition unit that acquires text data from the outside, a text data determination unit that determines the type of text data acquired by the text data acquisition unit, and text based on the determination result of the text data determination unit. A text data converter for converting the data into a predetermined format. The type of text data is a type indicating that the text data is a full-width character string, a type indicating that the text data is a half-width character string, or a type indicating that the text data may be a mixture of full-width characters. The text data conversion system also outputs a text data output unit that outputs text data converted into a predetermined format, and / or whether the output text data is automatically generated by the text data conversion system. The flag part which attaches the flag to show to the said output text data can also be included.
 テキストデータ判断部は、取得されたテキストデータを解析し、当該テキストデータの文字列が全角文字列である場合に全角文字列情報を、半角文字列である場合に半角文字列情報を、そして、全角文字列と半角文字列とが混在している文字列であってもよい場合に全半角混在文字列情報をテキストデータの種別として判断する。テキストデータ変換部は、情報付帯部132の上記説明と同様に、テキストデータ取得部が取得したテキストデータ、及び取得しなかったテキストデータ、並びにテキストデータ判断部の判断結果に基づいて、取得したテキストデータの半角文字の全角文字への変換や、漢字カナ変換等の変換処理を実行する。 The text data determination unit analyzes the acquired text data, and if the character string of the text data is a full-width character string, the full-width character string information, if the character string is a half-width character string, the half-width character string information, and If the character string may be a mixture of a full-width character string and a half-width character string, the full-width mixed character string information is determined as the type of text data. The text data conversion unit obtains the text acquired based on the text data acquired by the text data acquisition unit, the text data not acquired, and the determination result of the text data determination unit, as in the above description of the information supplement unit 132. Performs conversion processing such as conversion of half-width characters to full-width characters and kanji-kana conversion.
 フラグ部は、テキストデータ変換部がテキストデータを自動生成したか否かを示すフラグを、変換されたテキストデータに付帯させる。例えば、テキストデータ変換部がテキストデータの半角を全角に変換した場合、及び/又は全角を半角に変換した場合、フラグ部は、自動生成したことを示すフラグを付帯させないか、若しくは自動生成していないことを示すフラグを付帯させる。一方、フラグ部は、テキストデータ変換部が漢字カナ変換処理を実行した場合、変換されたテキストデータに、テキストデータが自動生成されたことを示すフラグを付帯させる。 The flag part adds a flag indicating whether or not the text data conversion part has automatically generated text data to the converted text data. For example, when the text data conversion unit converts half-width of text data to full-width and / or when full-width is converted to half-width, the flag portion does not include a flag indicating that it has been automatically generated or is not automatically generated. A flag indicating that there is not is attached. On the other hand, when the text data conversion unit executes the kanji / kana conversion process, the flag unit attaches a flag indicating that the text data is automatically generated to the converted text data.
 これにより、テキストデータ変換システムは、入力されるテキストデータの種別が統一されていない場合であっても、出力されるテキストデータの種別を統一できる。また、テキストデータ変換システムは、出力されるテキストデータに所定のフラグを付帯させることができるので、出力されるテキストデータが、テキストデータ変換システムにより自動生成されたか否かを容易に判断することができる。 This allows the text data conversion system to unify the type of text data to be output even when the type of input text data is not standardized. In addition, since the text data conversion system can attach a predetermined flag to the output text data, it is possible to easily determine whether the output text data is automatically generated by the text data conversion system. it can.
(コード付帯部134)
 コード付帯部134は、データ変換部125が変換した外部識別コードに、一の外部データベースから受け取った一の外部データの一の外部識別コードを付帯する。すなわち、コード付帯部134は、データ交換システム1が一の外部データベースから受け取った一の外部データの一の外部識別コードを、データ変換部125において変換された外部識別コードに付帯する。コード付帯部134は、外部識別コードが付帯されているデータ変換部125において変換された外部識別コードをデータ出力部140に供給する。これにより、データ交換システム1において、一の外部データベースから他の外部データベースに所定の外部識別コードが供給された場合において、他の外部データベースに供給された外部識別コードから、一の外部識別コードが他の外部データベースに供給した外部識別コードを復元できる。
(Attached part 134 with cord)
The code attachment unit 134 attaches one external identification code of one external data received from one external database to the external identification code converted by the data conversion unit 125. That is, the code attachment unit 134 attaches one external identification code of one external data received by the data exchange system 1 from one external database to the external identification code converted by the data conversion unit 125. The code attachment unit 134 supplies the external identification code converted by the data conversion unit 125 to which the external identification code is attached to the data output unit 140. Thereby, in the data exchange system 1, when a predetermined external identification code is supplied from one external database to another external database, one external identification code is obtained from the external identification code supplied to the other external database. The external identification code supplied to another external database can be restored.
(データ出力部140)
 データ出力部140は、データ変換部125により変換された外部識別コード、外部データ、及び/又は当該外部識別コード若しくは当該外部データに対応づけられている付加情報、及び/又は外部識別コードに関する情報を、他の外部データベース(すなわち、一の外部データベースがデータ交換システム1に対して供給先の外部データベースとして指定したデータベース識別子に該当する外部データベース)に対して出力する。また、データ出力部140は、所定の記憶媒体に、データ変換部125により変換された外部識別コードを記憶させることもできる。
(Data output unit 140)
The data output unit 140 receives the external identification code converted by the data conversion unit 125, external data, and / or additional information associated with the external identification code or the external data, and / or information regarding the external identification code. And output to another external database (that is, the external database corresponding to the database identifier designated as the external database of the supply destination by one external database for the data exchange system 1). In addition, the data output unit 140 can store the external identification code converted by the data conversion unit 125 in a predetermined storage medium.
 なお、データ交換システム1は、上記で説明した各構成要素の一部をシステムの外部に存在させることができる。例えば、データ交換システム1は、変換データベース105、基盤データベース120、及び/又はデータ変換部125等を外部のサーバーに備えさせることもできる。 Note that the data exchange system 1 can allow some of the components described above to exist outside the system. For example, the data exchange system 1 may include an external server including the conversion database 105, the infrastructure database 120, and / or the data conversion unit 125.
(対応関係更新部150)
 対応関係更新部150は、変換データベース105が格納しているデータを更新する。対応関係更新部150は、変換データベース105が格納しているデータを更新する旨の情報若しくは指示を受け取った場合、当該情報若しくは当該指示に応じ、格納しているデータを更新する。
(Correspondence update unit 150)
The correspondence relationship update unit 150 updates the data stored in the conversion database 105. When the correspondence update unit 150 receives information or an instruction to update the data stored in the conversion database 105, the correspondence update unit 150 updates the stored data according to the information or the instruction.
 また、変換データベース105が、1つの外部識別コードに対して複数の基盤コードを対応づけて格納する場合、対応関係更新部150は、「主登録」を示す情報を当該1つの外部識別コードと一の基盤コードとの対応関係に対応づけるべきことをユーザに指示、若しくは強制させることもできる。同様に、変換データベース105が、1つの基盤コードに対して複数の外部識別コードを対応づけて格納する場合、対応関係更新部150は、「主登録」を示す情報を当該1つの基盤コードと一の外部識別コードとの対応関係に対応づけるべきことをユーザに指示、若しくは強制させることもできる。 Further, when the conversion database 105 stores a plurality of base codes in association with one external identification code, the correspondence update unit 150 sets information indicating “main registration” together with the one external identification code. The user can be instructed or forced to correspond to the corresponding relationship with the base code. Similarly, when the conversion database 105 stores a plurality of external identification codes in association with one base code, the correspondence update unit 150 sets information indicating “main registration” as one base code. The user can be instructed or forced to be associated with the corresponding relationship with the external identification code.
(情報更新部155)
 情報更新部155は、基盤データベース120が格納している情報を更新する。情報更新部155は、基盤データベース120が格納している情報を更新する旨の情報若しくは指示を受け取った場合、当該情報若しくは当該指示に応じ、格納している情報を更新する。
(Information update unit 155)
The information update unit 155 updates information stored in the base database 120. When the information update unit 155 receives information or an instruction to update the information stored in the base database 120, the information update unit 155 updates the stored information according to the information or the instruction.
(コード変更管理部)
 対応関係更新部150、及び/又は情報更新部155は、基盤コードに対応づけられている情報が変更された場合に、データ交換システム1から予期せぬデータ変換処理結果が出力されることを防止することを目的として、コード変更管理部を更に含むことができる。コード変更管理部は、データ供給側の外部データベースの内容の変更に対応して変換データベース105が格納しているデータの更新が対応関係更新部150においてなされなかった場合等において、予期せぬ結果が出力されることを防止する。
(Code Change Management Department)
Correspondence update unit 150 and / or information update unit 155 prevents the data exchange system 1 from outputting an unexpected data conversion processing result when the information associated with the base code is changed. For the purpose, a code change management unit can be further included. The code change management unit generates an unexpected result when the data stored in the conversion database 105 is not updated in the correspondence relationship update unit 150 in response to a change in the contents of the external database on the data supply side. Prevent output.
 例えば、コード変更管理部は、以下の前提条件で機能する。まず、データ入力部100が入力を受け付ける外部データには、外部識別コード等だけでなく、当該外部データの内容を示す名称の名称文字列情報が付帯されているとする。また、変換データベース105が、データベース識別子、外部識別コード、及び基盤コードに対応づけて、外部識別コードで識別される外部データの名称文字列情報を更に格納しているとする。 For example, the code change management unit functions under the following preconditions. First, it is assumed that the external data for which the data input unit 100 accepts input includes not only an external identification code and the like, but also name character string information of a name indicating the content of the external data. Further, it is assumed that the conversion database 105 further stores name character string information of external data identified by the external identification code in association with the database identifier, the external identification code, and the base code.
 そして、基盤コード変換部110において外部識別コードを標準データに変換する場合に、コード変更管理部は、外部識別コード等に付帯された名称文字列情報と、変換データベース105に格納されている名称文字列情報とを照合する。照合結果が不一致である場合、コード変更管理部は、データ交換システム1に外部データを提供した一の外部データベース側にエラーを示す情報を供給してもよい。また、コード変更管理部は、データ出力部140側にエラーを示す情報を供給してもよい。エラーを示す情報は、エラーが発生したことを表すフラグ、及び/又はデータ入力部100が入力を受け付けた外部データに付帯された名称文字列情報や、変換データベース105が格納している名称文字列情報を含むこともできる。 When the base code conversion unit 110 converts the external identification code into standard data, the code change management unit uses the name character string information attached to the external identification code or the like and the name character stored in the conversion database 105. Match column information. When the collation results do not match, the code change management unit may supply information indicating an error to the one external database side that provided the external data to the data exchange system 1. The code change management unit may supply information indicating an error to the data output unit 140 side. The information indicating an error includes a flag indicating that an error has occurred, and / or name character string information attached to external data received by the data input unit 100, and a name character string stored in the conversion database 105 Information can also be included.
 ここで、コード変更管理部がデータ入力部100が入力を受け付けた外部データに付帯された名称文字列情報と変換データベース105に格納されている名称文字列情報とを比較する場合に、コード変更管理部は、単純な完全一致による比較をすることができる。また、コード変更管理部は、名称文字列情報により表される名称文字列の全角/半角の違いや大文字/小文字の違い、カタカナ/ひらがなの違い等を吸収した「曖昧検索」型の比較をすることもできる。また、コード変更管理部は、外部データに付帯された名称文字列情報と変換データベース105に登録された名称文字列情報とを比較する場合に、一致部分と差異部分とを検出し、これをエラーを示す情報に付帯させることもできる。コード変更管理部は、一致部分と差異部分とを検出する場合に、上記「曖昧検索」を利用して比較することもできる。更に、コード変更管理部は、変換データベース105に予め名称文字列情報が格納されていない場合、外部データに付帯された名称文字列情報を、外部識別コード等に対応づけて自動的に変換データベース105に格納してもよい。また、コード変更管理部は、外部データに付帯された名称文字列情報と変換データベース105に格納されている名称文字列情報との間に差異がある場合、自動的に外部データに付帯された名称文字列情報を変換データベース105に格納することもできる。なお、この場合においてコード変更管理部は、所定のエラー情報や警告を、データ交換システム1に外部データを提供した一の外部データベース側、及び/又はデータ出力部140側に供給することもできる。 Here, when the code change management unit compares the name character string information attached to the external data received by the data input unit 100 and the name character string information stored in the conversion database 105, the code change management is performed. Parts can be compared by simple exact match. In addition, the code change management unit performs a “fuzzy search” type comparison that absorbs the full-width / half-width differences, uppercase / lowercase differences, katakana / hiragana differences, and the like of the name strings represented by the name string information. You can also. In addition, the code change management unit detects a matching part and a difference part when comparing the name character string information attached to the external data and the name character string information registered in the conversion database 105. It can also be attached to information indicating. When the code change management unit detects the matching part and the difference part, the code change management part can also make a comparison using the above-mentioned “fuzzy search”. Furthermore, if the name string information is not stored in the conversion database 105 in advance, the code change management unit automatically associates the name string information attached to the external data with the external identification code or the like in the conversion database 105. May be stored. The code change management unit automatically adds the name automatically attached to the external data when there is a difference between the name character string information attached to the external data and the name character string information stored in the conversion database 105. Character string information can also be stored in the conversion database 105. In this case, the code change management unit can also supply predetermined error information and warning to the one external database side that provided the external data to the data exchange system 1 and / or the data output unit 140 side.
(エラー処理)
 データ交換システム1が備える全て若しくは一部の構成要素はそれぞれ、所定のエラーを検出した場合に当該エラーを一の外部データベース及び/又は他の外部データベースに供給するエラー処理機能を含むことができる。また、データ交換システム1が備える全て若しくは一部の構成要素はそれぞれ、所定のエラーを検出した場合に、検出時点で各構成要素における処理を停止することもできる。この場合、データ交換システム1は、一の外部データベースから入力を受け付けた各種データについて、データ交換システム1内でどのような処理がなされたか、若しくはなされていないかを示すフラグを、入力を受け付けた各種データの全て若しくは一部に対応づけることができる。また、データ交換システム1は、所定のエラーが発生した場合であっても、データ交換システム1におけるデータ処理を継続し、変換したデータを他の外部データベースに供給することもできる。あるいは、データ交換システム1は、m個(ただし、mは1以上の整数)の所定のエラーが発生した場合に、データ交換システム1内の全ての処理を停止することもできる。
(Error handling)
All or some of the components included in the data exchange system 1 can each include an error processing function that supplies a predetermined error to one external database and / or another external database when a predetermined error is detected. In addition, when all or some of the components included in the data exchange system 1 detect a predetermined error, the processing in each component can be stopped at the time of detection. In this case, the data exchange system 1 has received an input of a flag indicating what kind of processing has been performed in the data exchange system 1 with respect to various types of data received from one external database. It can be associated with all or part of various data. Further, the data exchange system 1 can continue the data processing in the data exchange system 1 even when a predetermined error occurs, and supply the converted data to another external database. Alternatively, the data exchange system 1 can stop all processes in the data exchange system 1 when m (where m is an integer equal to or greater than 1) predetermined errors occur.
 図5は、本発明の実施の形態に係るデータ交換システムの他の形態の機能構成の概要の一例を示す。なお、図5に示すデータ交換システム1aは、データ交換システム1とは機能構成の形態が異なる。すなわち、データ交換システム1aは、入力データ処理ユニット10と出力データ処理ユニット15とを有して構成される点を除き、データ交換システム1の全部若しくは一部と略同一の構成及び機能を有する。したがって、相違点を除き詳細な説明は省略する。 FIG. 5 shows an example of an outline of a functional configuration of another form of the data exchange system according to the embodiment of the present invention. The data exchange system 1a shown in FIG. 5 differs from the data exchange system 1 in the form of functional configuration. That is, the data exchange system 1a has substantially the same configuration and function as all or part of the data exchange system 1 except that the data exchange system 1a includes the input data processing unit 10 and the output data processing unit 15. Therefore, a detailed description is omitted except for differences.
 データ交換システム1aは、外部データベースに格納されている外部データを処理する入力データ処理ユニット10と、入力データ処理ユニット10におけるデータの処理に基づいて他の外部データベースに提供するデータの処理を実行する出力データ処理ユニット15とを備える。入力データ処理ユニット10は、変換データベース105と、基盤コード変換部110と、基盤データベース120とを有する。また、出力データ処理ユニット15は、データ変換部125を有する。入力データ処理ユニット10、及び出力データ処理ユニット15は、データ入力部100、コード存在判断部115、情報付帯部132、コード付帯部134、データ出力部140、対応関係更新部150、及び/又は情報更新部155の一部又は全部を更に有することもできる。 The data exchange system 1a executes an input data processing unit 10 for processing external data stored in an external database, and processing of data provided to another external database based on the data processing in the input data processing unit 10. And an output data processing unit 15. The input data processing unit 10 includes a conversion database 105, a base code conversion unit 110, and a base database 120. Further, the output data processing unit 15 has a data conversion unit 125. The input data processing unit 10 and the output data processing unit 15 include a data input unit 100, a code presence determination unit 115, an information supplement unit 132, a code supplement unit 134, a data output unit 140, a correspondence update unit 150, and / or information. A part or all of the updating unit 155 may be further included.
 入力データ処理ユニット10は、外部データベースから外部データを取得した場合、取得した外部データ、外部識別コード、及び/又はデータベース識別子に基づいて、外部識別コードを標準データに変換する。具体的に、基盤コード変換部110は、変換データベース105を参照し、取得した外部データの外部識別コードに対応づけて変換データベース105が格納している基盤コードを取得する。そして、基盤コード変換部110は、外部識別コードを、取得した基盤コードを対応づけた標準データに変換する。例えば、基盤コード変換部110は、変換データベース105から取得した基盤コードと外部データベースから取得した外部データとを当該外部データベースの外部識別コードに対応づけたデータを標準データとすることで、外部識別コードを標準データに変換する。入力データ処理ユニット10は、標準データを出力データ処理ユニット15に供給する。 When the input data processing unit 10 acquires external data from the external database, the input data processing unit 10 converts the external identification code into standard data based on the acquired external data, external identification code, and / or database identifier. Specifically, the base code conversion unit 110 refers to the conversion database 105 and acquires the base code stored in the conversion database 105 in association with the external identification code of the acquired external data. Then, the base code conversion unit 110 converts the external identification code into standard data associated with the acquired base code. For example, the base code conversion unit 110 uses, as standard data, data that associates the base code acquired from the conversion database 105 and the external data acquired from the external database with the external identification code of the external database. Is converted to standard data. The input data processing unit 10 supplies standard data to the output data processing unit 15.
 出力データ処理ユニット15は、変換データベース105を参照して、受け取った標準データに対応する基盤コードが、他のデータベースのデータベース識別子に対応づけて変換データベース105に格納されているか否かを判断する。そしてデータ変換部125は、受け取った標準データに対応する基盤コードと同一の基盤コードが他のデータベース識別子に対応づけて変換データベース105に格納されていると判断した場合、標準データを、標準データと他のデータベース識別子とに対応づけて変換データベース105に格納されている外部識別コードに変換する。 The output data processing unit 15 refers to the conversion database 105 and determines whether or not the base code corresponding to the received standard data is stored in the conversion database 105 in association with the database identifier of another database. When the data conversion unit 125 determines that the same base code as the base code corresponding to the received standard data is stored in the conversion database 105 in association with another database identifier, the standard data is converted into the standard data. The data is converted into an external identification code stored in the conversion database 105 in association with another database identifier.
 一方、データ変換部125は、変換された標準データに対応する基盤コードと同一の基盤コードが、他のデータベース識別子に対応づけて変換データベース105に格納されていないと判断した場合、標準データに対応する基盤コードを、基盤データベース120が格納している階層構造を当該標準データの分類位置から上位に遡った分類位置に分類されている基盤コードと他のデータベース識別子とに対応づけて変換データベース105に格納されている外部識別コードに変換する。 On the other hand, if the data conversion unit 125 determines that the same base code as the base code corresponding to the converted standard data is not stored in the conversion database 105 in association with another database identifier, it corresponds to the standard data. The base code stored in the base database 120 is associated with the base code and the other database identifiers that are classified in the classification position that goes back from the classification position of the standard data to the conversion database 105. Convert to stored external identification code.
 なお、データ変換部125は、基盤データベース120を用いた変換処理等を経由しない変換方法(以下、「直接変換処理」という。)を実行することもできる。例えば、データ変換部125は、以下の第1乃至第3の直接変換処理の少なくともいずれかを実行することができる。 The data conversion unit 125 can also execute a conversion method (hereinafter referred to as “direct conversion process”) that does not go through a conversion process using the base database 120. For example, the data conversion unit 125 can execute at least one of the following first to third direct conversion processes.
 具体的に、第1の直接変換処理は、例えば、以下のプロセスで実行される。まず、データ入力部100が、出力側のデータベース識別子、及び外部識別コードを受け取る。データ入力部100は、データベース識別子と外部識別コードとのセットをnセット(nは1以上の整数)受け取ってもよい。次に、基盤コード変換部110は、データ入力部100が受け取ったnセットのデータベース識別子と外部識別コードとのセットを標準データに付加して供給するか、若しくは標準データを生成せずにデータ変換部125に供給する。そして、データ変換部125は、コード存在判断部115による基盤データベース120の検索を経ずに、標準データに付加された外部識別コード、若しくはデータ入力部100が受け取った外部識別コードを変換結果を示す情報として(すなわち、変換結果を示す情報を、変換されて得られた外部識別コードとして扱う。以下同じ。)データ出力部140に供給する。 Specifically, the first direct conversion process is executed by the following process, for example. First, the data input unit 100 receives an output side database identifier and an external identification code. The data input unit 100 may receive n sets (n is an integer of 1 or more) of a set of a database identifier and an external identification code. Next, the base code conversion unit 110 adds the set of n sets of database identifiers and external identification codes received by the data input unit 100 to the standard data and supplies them, or performs data conversion without generating standard data. To the unit 125. Then, the data conversion unit 125 indicates the conversion result of the external identification code added to the standard data or the external identification code received by the data input unit 100 without searching the basic database 120 by the code existence determination unit 115. Information is supplied to the data output unit 140 (that is, information indicating the conversion result is treated as an external identification code obtained by conversion. The same applies hereinafter).
 また、第2の直接変換処理は、例えば、以下のプロセスで実行される。まず、変換データベース105において、入力側の外部識別コードに対応する、出力側のデータベース識別子と外部識別コードとのセットをnセット(nは1以上の整数)格納可能にする。そして、基盤コード変換部110が、変換データベース105を参照し、nセットのデータベース識別子と外部識別コードとを標準データに付加して供給するか、若しくは標準データを生成せずにデータ変換部125に供給する。データ変換部125は、コード存在判断部115による基盤データベース120の検索を経ずに、標準データに付加された外部識別コード、若しくはデータ入力部100が受け取った外部識別コードを変換結果を示す情報としてデータ出力部140に供給する。 Also, the second direct conversion process is executed by the following process, for example. First, in the conversion database 105, n sets (n is an integer of 1 or more) of sets of database identifiers on the output side and external identification codes corresponding to the external identification codes on the input side can be stored. Then, the base code conversion unit 110 refers to the conversion database 105 and supplies n sets of database identifiers and external identification codes to the standard data or supplies the standard data to the data conversion unit 125 without generating the standard data. Supply. The data conversion unit 125 uses the external identification code added to the standard data or the external identification code received by the data input unit 100 as information indicating the conversion result without performing the search of the base database 120 by the code presence determination unit 115. This is supplied to the data output unit 140.
 また、第3の直接変換処理は、例えば、以下のプロセスで実行される。まず、変換データベース105において、出力側の外部識別コードに対応する、入力側のデータベース識別子と外部識別コードとのセットをnセット(nは1以上の整数)格納可能にする。そして、データ変換部125は、コード存在判断部115による変換データベース105の検索処理の実行前に、標準データに保持されたデータベース識別子及び外部識別コードに基づいて変換データベース105を検索する。そして、データ変換部125は、変換データベース105に、標準データに保持されたデータベース識別子及び外部識別コードに対応するデータベース識別子及び外部識別コードが格納されている場合、この外部識別コードを変換結果を示す情報としてデータ出力部140に供給する。 Also, the third direct conversion process is executed by the following process, for example. First, in the conversion database 105, n sets (n is an integer of 1 or more) of sets of database identifiers on the input side and external identification codes corresponding to the external identification codes on the output side can be stored. The data conversion unit 125 searches the conversion database 105 based on the database identifier and the external identification code held in the standard data before the code presence determination unit 115 executes the conversion database 105 search process. When the database identifier and the external identification code corresponding to the database identifier and the external identification code held in the standard data are stored in the conversion database 105, the data conversion unit 125 indicates the conversion result of the external identification code. The information is supplied to the data output unit 140 as information.
 ここで、第1乃至第3の直接変換処理は、例えば、各直接変換処理のそれぞれに優先順位を対応づけて、いずれかの直接変換処理を他の直接変換処理に優先させて実行することができる。 Here, the first to third direct conversion processes may be executed, for example, by assigning a priority to each direct conversion process and prioritizing any direct conversion process over other direct conversion processes. it can.
(データ交換システム1の処理の流れの概要)
 図6は、本発明の実施の形態に係る変換データベースのデータの一例を示し、図7は、本発明の実施の形態に係る基盤データベースのデータの一例を示す。そして、図8は、本発明の実施の形態に係る情報入力システムの処理の流れの一例を示す。
(Outline of the processing flow of the data exchange system 1)
FIG. 6 shows an example of data in the conversion database according to the embodiment of the present invention, and FIG. 7 shows an example of data in the base database according to the embodiment of the present invention. FIG. 8 shows an example of the processing flow of the information input system according to the embodiment of the present invention.
 ここでは、第1の外部データベースから第2の外部データベースに所定のデータを供給する場合を一例として説明する。また、第1の外部データベースのデータベース識別子が「001」であり、第1の外部データベースが、データ「守口大根」を外部識別コード「a11’」に対応づけて格納し、データ「土付大根」を外部識別コード「a12’」に対応づけて格納しているとする。一方、第2の外部データベースのデータベース識別子が「002」であり、データ「大根」を外部識別コード「a’」に対応づけて格納し、データ「かぶ」を外部識別コード「a’」に対応づけて格納しているとする。 Here, a case where predetermined data is supplied from the first external database to the second external database will be described as an example. The database identifier of the first external database is “001”, the first external database stores the data “Moriguchi Daikon” in association with the external identification code “a 11 ′”, and the data “Dochi Daikon” ”In association with the external identification code“ a 12 ′ ”. On the other hand, the database identifier of the second external database is “002”, the data “radish” is stored in association with the external identification code “a 1 ′”, and the data “cab” is stored as the external identification code “a 2 ′”. Assume that they are stored in association with.
 そして、図6に示すように変換データベース105は、データベース識別子「001」と外部識別コード「a11’」とに対応づけて基盤データベース120に格納されている基盤コード「a11」を格納し、データベース識別子「001」と外部識別コード「a12’」とに対応づけて基盤データベース120に格納されている基盤コード「a12」を格納している。同様に、変換データベース105は、データベース識別子「002」と外部識別コード「a’」とに対応づけて基盤データベース120に格納されている基盤コード「a」を格納し、データベース識別子「002」と外部識別コード「a’」とに対応づけて基盤データベース120に格納されている基盤コード「a」を格納している。 Then, as shown in FIG. 6, the conversion database 105 stores the base code “a 11 ” stored in the base database 120 in association with the database identifier “001” and the external identification code “a 11 ′”. stores foundation code "a 12" stored in the underlying database 120 in association with a database identifier "001" and external identification code "a 12 ''. Similarly, the conversion database 105 stores the base code “a 1 ” stored in the base database 120 in association with the database identifier “002” and the external identification code “a 1 ′”, and stores the database identifier “002”. The base code “a 2 ” stored in the base database 120 is stored in association with the external identification code “a 2 ′”.
 更に、基盤データベース120は、図7に示すように、基盤コード「A」(例えば、データ「根菜類」に対応する基盤コード)の下位概念として基盤コード「a」(例えば、データ「大根」に対応する基盤コード)、基盤コード「a」、基盤コード「a」等を対応づけると共に、基盤コード「a」の下位概念として基盤コード「a11」(例えば、データ「守口大根」に対応する基盤コード)、基盤コード「a12」等が対応づけられることによって形成される階層構造の階層構造情報を格納する。なお、ここでの説明において変換データベース105、及び基盤データベース120は、上記以外にも複数のデータベース識別子、外部識別コード、及び/又は基盤コードを格納しているが、説明を簡略化することを目的として、一部のデータベース識別子、外部識別コード、及び/又は基盤コードを取り上げて説明する。 Further, as shown in FIG. 7, the infrastructure database 120 has an infrastructure code “a 1 ” (for example, data “radish”) as a subordinate concept of the infrastructure code “A” (for example, infrastructure code corresponding to the data “root vegetables”). ), A base code “a 2 ”, a base code “a 3 ”, etc., and a base code “a 11 ” (for example, data “Moriguchi Daikon”) as a subordinate concept of the base code “a 1 ”. And the hierarchical structure information of the hierarchical structure formed by associating the basic code “a 12 ” and the like. In addition, in the description here, the conversion database 105 and the base database 120 store a plurality of database identifiers, external identification codes, and / or base codes in addition to the above, but the purpose is to simplify the description. As an example, some database identifiers, external identification codes, and / or infrastructure codes will be described.
 まず、データ入力部100は、第1の外部データベースから外部データの入力を受け付ける(ステップ10。以下、ステップを「S」と表す。)。例えば、データ入力部100は、外部識別コード「a11’」が対応づけられた「守口大根」を示す外部データの入力を、第2の外部データのデータベース識別子「002」と共に受け付ける。データ入力部100は、受け付けたデータ等を基盤コード変換部110に供給する。 First, the data input unit 100 accepts input of external data from the first external database (step 10; hereinafter, steps are represented as “S”). For example, the data input unit 100 accepts input of external data indicating “Moriguchi Daikon” associated with the external identification code “a 11 ′” together with the database identifier “002” of the second external data. The data input unit 100 supplies the received data and the like to the base code conversion unit 110.
 基盤コード変換部110は、データ入力部100から受け取ったデータ等に基づいて外部識別コードを標準データに変換する(S15)。例えば、基盤コード変換部110は、外部識別コード「a11’」を、データ入力部100から受け取った外部識別コードと第1の外部データベースのデータベース識別子「001」とに対応づけて変換データベース105に格納されている基盤コード「a11」を取得する。そして、基盤コード変換部110は、取得した基盤コード「a11」と外部識別コード「a11’」に対応する外部データとを外部識別コード「a11’」に対応づけたデータを標準データとして扱う(ただし、本実施形態では、説明の簡略化のため、標準データを、当該標準データに対応づけられている基盤コードと同一の表記とする。)。基盤コード変換部110は、得られた標準データをコード存在判断部115に供給する。 The base code conversion unit 110 converts the external identification code into standard data based on the data received from the data input unit 100 (S15). For example, the base code conversion unit 110 associates the external identification code “a 11 ′” with the external identification code received from the data input unit 100 and the database identifier “001” of the first external database in the conversion database 105. to obtain the foundation code stored "a 11". The base code conversion unit 110, the data that correlates 'and external data corresponding to the external identification code "a 11 base code" a 11 "and external identification code obtained" a 11 "' to" as the standard data (However, in this embodiment, for the sake of simplicity, standard data is represented by the same notation as the base code associated with the standard data.) The base code conversion unit 110 supplies the obtained standard data to the code presence determination unit 115.
 コード存在判断部115は、基盤コード変換部110から受け取った標準データに対応する基盤コードが、第2の外部データベースのデータベース識別子「002」に対応づけて変換データベース105に格納されているか否かを判断する(S20)。コード存在判断部115は、判断結果を示す情報をデータ変換部125に供給する。 The code presence determination unit 115 determines whether or not the base code corresponding to the standard data received from the base code conversion unit 110 is stored in the conversion database 105 in association with the database identifier “002” of the second external database. Judgment is made (S20). The code presence determination unit 115 supplies information indicating the determination result to the data conversion unit 125.
 データ変換部125は、コード存在判断部115において当該標準データに対応する基盤コードが変換データベース105に格納されていると判断された場合(S20:Y)、当該標準データを、当該標準データと第2の外部データベースのデータベース識別子とに対応づけて変換データベース105に格納されている外部識別コードに変換する(S25)。データ変換部125は、変換して得られた外部識別コードをデータ出力部140に供給する。 When the code existence determination unit 115 determines that the base code corresponding to the standard data is stored in the conversion database 105 (S20: Y), the data conversion unit 125 converts the standard data and the standard data The data is converted into an external identification code stored in the conversion database 105 in association with the database identifier of the external database 2 (S25). The data conversion unit 125 supplies the external output code obtained by the conversion to the data output unit 140.
 一方、データ変換部125は、コード存在判断部115において当該標準データに対応する基盤コードが変換データベース105に格納されていないと判断された場合(S20:N)、当該標準データを、基盤データベース120を参照し、当該標準データに対応する基盤コードを含む階層構造内のいずれかの基盤コードと第2の外部データベースのデータベース識別子とに対応づけて変換データベース105に格納されている外部識別コードに変換する(S30)。例えば、データ変換部125は、標準データ「a11」に対応する基盤コード「a11」と同一の基盤コード「a11」が含まれる基盤データベース120の階層構造情報を参照する。基盤データベース120は基盤コード「a11」を含んでおり、かつ、変換データベース105は、基盤コード「a11」の上位概念である基盤コード「a」と第2の外部データベースのデータベース識別子「002」に対応づけて、外部識別コード「a’」を格納している。 On the other hand, if the code existence determination unit 115 determines that the base code corresponding to the standard data is not stored in the conversion database 105 (S20: N), the data conversion unit 125 converts the standard data into the base database 120. And converted into an external identification code stored in the conversion database 105 in association with one of the base codes in the hierarchical structure including the base code corresponding to the standard data and the database identifier of the second external database (S30). For example, the data conversion unit 125 refers to the hierarchical structure information of the underlying database 120 that contains the base code same base code "a 11" and "a 11" corresponding to the standard data "a 11". Underlying database 120 includes a base code "a 11" and conversion database 105, platform code "a 11" base code database identifier "a 1" and the second external database is a preamble of "002 And the external identification code “a 1 ′” is stored.
 したがって、データ変換部125は、まず、階層構造の基盤コード「a11」を中心に上位概念に遡って検索し、基盤コード「a」を抽出する。そして、データ変換部125は、変換データベース105を参照し、データベース識別子「002」と抽出した基盤コード「a」とに対応づけられている外部識別コード「a’」を参照する。そして、データ変換部125は、標準データ「a11」を外部識別コード「a’」に変換する。なお、この場合においてデータ変換部125は、「遡り回数」として「1」を示す損失情報を、変換した外部識別コードに付加できる。 Therefore, the data conversion unit 125 first searches the hierarchical concept “a 11 ” around the higher level concept and extracts the base code “a 1 ”. Then, the data conversion unit 125 refers to the conversion database 105 and refers to the external identification code “a 1 ′” associated with the database identifier “002” and the extracted base code “a 1 ”. Then, the data conversion unit 125 converts the standard data “a 11 ” into the external identification code “a 1 ′”. In this case, the data conversion unit 125 can add loss information indicating “1” as the “number of retroactive times” to the converted external identification code.
 データ出力部140は、データ変換部125から受け取った外部識別コード及び/又は外部データを所定の外部データベースに対して出力する(S35)。例えば、データ出力部140は、外部識別コード「a’」及び/又は標準データ「a11」に対応づけられている外部データの一部若しくは全部を、第2の外部データベースに対して出力する。 The data output unit 140 outputs the external identification code and / or external data received from the data conversion unit 125 to a predetermined external database (S35). For example, the data output unit 140 outputs a part or all of the external data associated with the external identification code “a 1 ′” and / or the standard data “a 11 ” to the second external database. .
 図9は、本発明の他の実施の形態に係る基盤データベースの一例を示し、図10は、本発明の他の実施の形態に係る変換データベースのデータの一例を示す。また、図11は、本発明の他の実施の形態に係るデータ交換システムにおけるデータ交換の流れの概要を示す。ここでは、B社からA社に対してデータが提供される例を説明する。 FIG. 9 shows an example of a basic database according to another embodiment of the present invention, and FIG. 10 shows an example of data in a conversion database according to another embodiment of the present invention. FIG. 11 shows an outline of the flow of data exchange in the data exchange system according to another embodiment of the present invention. Here, an example in which data is provided from company B to company A will be described.
 図9に示すように、基盤データベース120は、第1データを識別する基盤コード「A」を階層構造(すなわち、木構造)の上位に配置すると共に、第2データを識別する基盤コード「a」及び第3データを識別する基盤コード「a」を基盤コード「A」の下位に配置する。同様に、第4データを識別する基盤コード「a11」及び第5データを識別する基盤コード「a12」が基盤コード「a」の下位に配置され、第6データを識別する基盤コード「a111」、第7データを識別する基盤コード「a112」、及び第8データを識別する基盤コード「a113」が基盤コード「a11」の下位に配置される。なお、基盤コード「A」と同列に、他の基盤コード「B」等が配置される。同様に、基盤コード「a」、基盤コード「a11」、若しくは基盤コード「a111」のそれぞれについても、図示した以外に他の基盤コードが配置されていてもよい。 As illustrated in FIG. 9, the infrastructure database 120 arranges the infrastructure code “A” for identifying the first data above the hierarchical structure (that is, the tree structure) and also identifies the infrastructure data “a 1 ” for identifying the second data. ”And the base code“ a 2 ”for identifying the third data are arranged below the base code“ A ”. Similarly, the base code “a 11 ” for identifying the fourth data and the base code “a 12 ” for identifying the fifth data are arranged below the base code “a 1 ”, and the base code “ a 111 ”, a base code“ a 112 ”for identifying the seventh data, and a base code“ a 113 ”for identifying the eighth data are arranged below the base code“ a 11 ”. In addition, another base code “B” or the like is arranged in the same row as the base code “A”. Similarly, for each of the base code “a 1 ”, the base code “a 11 ”, or the base code “a 111 ”, other base codes other than those illustrated may be arranged.
 ここでは一例として、第1データは「野菜」を示すデータであり、第2データは「根菜類」を示すデータであり、第3データは「葉菜類」を示すデータであり、第4データは「だいこん」を示すデータであり、第5データは「かぶ」を示すデータであるとする。また、第6データは「土付きだいこん」を示すデータであり、第7データは「守口だいこん」を示すデータであり、第8データは「聖護院だいこん」を示すデータであるとする。 As an example, the first data is data indicating “vegetables”, the second data is data indicating “root vegetables”, the third data is data indicating “leaf vegetables”, and the fourth data is “ It is assumed that the data is “daikon” and the fifth data is data indicating “kabu”. In addition, it is assumed that the sixth data is data indicating “Daikon Daikin”, the seventh data is data indicating “Moriguchi Daikon”, and the eighth data is data indicating “Seigoin Daikon”.
 また、図10に示すように、変換データベース105は、A社を識別するデータベース識別子「A」に対応づけて、外部識別コード、基盤コード、及び/又は品名を対応づけて格納する。更に、変換データベース105は、B社を識別するデータベース識別子「B」に対応づけて、外部識別コード、基盤コード、及び/又は品名を対応づけて格納する。 Also, as shown in FIG. 10, the conversion database 105 stores the external identification code, the base code, and / or the product name in association with the database identifier “A” for identifying the company A. Further, the conversion database 105 stores the external identification code, the base code, and / or the product name in association with the database identifier “B” for identifying the company B.
 例えば、変換データベース105は、データベース識別子「A」に外部識別コード「0001」と基盤コード「a11」と品名「だいこん」とを対応づけて格納する。同様に、変換データベース105は、データベース識別子「A」に外部識別コード「0002」と基盤コード「a111」と品名「土付だいこん」とを対応づけ、データベース識別子「A」に外部識別コード「0003」と基盤コード「a12」と品名「かぶ」とを対応づけ、データベース識別子「A」に外部識別コード「0003」と基盤コード「a113」と品名「かぶ」とを対応づけて格納する。 For example, the conversion database 105 stores the database identifier “A” in association with the external identification code “0001”, the base code “a 11 ”, and the product name “Daikon”. Similarly, the conversion database 105 associates the database identifier “A” with the external identification code “0002”, the base code “a 111 ”, and the product name “Dochi Daikon”, and associates the database identifier “A” with the external identification code “0003”. ”, The base code“ a 12 ”, and the product name“ Kabu ”, and the database identifier“ A ”is stored with the external identification code“ 0003 ”, the base code“ a 113 ”, and the product name“ Kabu ”in association with each other.
 ここで、基盤コード「a113」と品名「かぶ」とが対応づけられているが、これは、基盤データベース120とは異なる対応づけをA社が採用していることを示す。そこで、変換データベース105は、外部識別コードと基盤コードとの対応づけに複数の対応づけが存在する場合、複数の対応づけを禁止するか、若しくは複数の対応づけのそれぞれに優先順位を対応づける。そして、データ変換部125は、最も高い優先順位が対応づけられた基盤コードを用いて変換処理を実行する。例えば、図10の例においては、外部識別コード「0003」に対応する基盤コード「a12」に最も高い優先順位が対応づけられていることを示すフラグ(以下、「優先フラグ」という(図示しない)。)を対応づけることができる。一方、外部識別コード「0003」に対応する基盤コード「a113」には、優先フラグを対応づけない。 Here, the base code “a 113 ” and the product name “Kabu” are associated with each other, which indicates that the company A employs an association different from the base database 120. Therefore, when there are a plurality of associations between the external identification code and the base code, the conversion database 105 prohibits the plurality of associations or associates the priorities with each of the plurality of associations. Then, the data converter 125 executes the conversion process using the base code associated with the highest priority. For example, in the example of FIG. 10, a flag (hereinafter referred to as “priority flag” (not shown) indicating that the highest priority is associated with the base code “a 12 ” corresponding to the external identification code “0003”. ).) Can be associated. On the other hand, a priority flag is not associated with the base code “a 113 ” corresponding to the external identification code “0003”.
 また、変換データベース105は、データベース識別子「B」に外部識別コード「1001」と基盤コード「a111」と品名「土付だいこん」とを対応づけ、データベース識別子「B」に外部識別コード「1002」と基盤コード「a112 」と品名「守口だいこん」とを対応づけ、データベース識別子「B」に外部識別コード「1003」と基盤コード「a11」と品名「だいこん」とを対応づけ、データベース識別子「B」に外部識別コード「1004」と基盤コード「a12」と品名「かぶ」とを対応づけ、データベース識別子「B」に外部識別コード「1005」と基盤コード「a113」と品名「聖護院だいこん」とを対応づける。 Also, the conversion database 105 associates the database identifier “B” with the external identification code “1001”, the base code “a 111 ”, and the product name “Dochi Daikon”, and associates the database identifier “B” with the external identification code “1002”. Is associated with the product code “a 112 * ” and the product name “Moriguchi Daikon”, the database identifier “B” is associated with the external identification code “1003”, the product code “a 11 ” and the product name “Daikon”. “B” is associated with the external identification code “1004”, the base code “a 12 ”, and the product name “Kabu”, and the database identifier “B” is associated with the external identification code “1005”, the base code “a 113 ”, and the product name “Seigoin”. Correspond to "Daikon".
 ここで、基盤コードには予め定められた付帯情報を付帯させることができる。例えば、基盤コード「a112 」には、所定の付帯情報が付帯されていることを示すマークが付加されている。この付帯情報に基づいて、データ変換部125は標準データを外部識別コードに変換する。例えば、この付帯情報は、所定のデータベース識別子に対応づけられている所定の基盤コードについては、基盤データベース120の階層構造に関わらず、予め定められた別のコードを外部識別コードとして用いることを示す情報である。 Here, predetermined supplementary information can be attached to the base code. For example, a mark indicating that predetermined incidental information is attached is added to the base code “a 112 * ”. Based on the incidental information, the data converter 125 converts the standard data into an external identification code. For example, this incidental information indicates that, for a predetermined base code associated with a predetermined database identifier, another predetermined code is used as the external identification code regardless of the hierarchical structure of the base database 120. Information.
 一例として、データベース識別子「B」に対応づけて基盤コード「a112」が変換データベース105に格納されており、この基盤コードに、A社に対してこの基盤コードを用いる場合はA社の外部基盤コード「0003」を用いることを指示する付帯情報が付帯されているとする。この場合、A社に対してデータ(ここでは、外部識別コード「1002」に対応するデータ)を供給するときは、まず、基盤コード変換部110は、B社の外部データベースから供給される外部識別コード「1002」を用いて変換データベース105を検索し、データベース識別子「B」と外部識別コード「1002」とに対応づけて格納されている基盤コード「a112」を取得する。そして、基盤コード変換部110は、外部識別コード「1002」にこの基盤コードを「a112」対応づけたデータを標準データ「a112」として扱い、外部識別コード「1002」を標準データ「a112」に変換する。なお、付帯情報は変換データベース105に格納されている基盤コード、及び標準データのそれぞれに予め付帯されている。 As an example, the base code “a 112 ” is stored in the conversion database 105 in association with the database identifier “B”, and when this base code is used for A company, the external base of company A is used. Assume that incidental information instructing to use the code “0003” is incidental. In this case, when supplying data (in this case, data corresponding to the external identification code “1002”) to the company A, first, the base code conversion unit 110 performs the external identification supplied from the company B external database. The conversion database 105 is searched using the code “1002”, and the base code “a 112 ” stored in association with the database identifier “B” and the external identification code “1002” is acquired. Then, the base code conversion unit 110 treats data obtained by associating the base code “a 112 ” with the external identification code “1002” as the standard data “a 112 ”, and uses the external identification code “1002” as the standard data “a 112 ”. To "". The accompanying information is attached to each of the base code and standard data stored in the conversion database 105 in advance.
 次に、データ変換部125は、基盤コード変換部110からこの標準データを受け取り、標準データに対応する基盤コードが基盤データベース120の階層構造中に存在するか否か確認する。ただし、ここでこの標準データには付帯情報が付帯されている。この付帯情報は上記のとおり、A社に対してこの基盤コードを用いる場合はA社の外部基盤コード「0003」を用いることを指示する情報である。つまり、基盤データベース120が用いている階層構造とは異なる別の階層構造への変換を示す情報である。そこで、データ変換部125は、基盤データベース120の階層構造に従わず、付帯情報によって予め定められたコード(ここでは、コード「0003」)を外部識別コードとする。 Next, the data conversion unit 125 receives this standard data from the base code conversion unit 110 and checks whether or not a base code corresponding to the standard data exists in the hierarchical structure of the base database 120. Here, however, this standard data is accompanied by additional information. As described above, this incidental information is information for instructing the company A to use the company A external base code “0003” when using the base code. That is, it is information indicating conversion to another hierarchical structure different from the hierarchical structure used by the base database 120. Therefore, the data conversion unit 125 does not follow the hierarchical structure of the base database 120 and uses a code (here, the code “0003”) predetermined by the supplementary information as the external identification code.
 そして、図11に示すように、コード存在判断部115及びデータ変換部125の機能により、B社の外部識別コードが標準データを介してA社の外部識別コードに変換される。例えば、B社の外部基盤コード「1001」は、変換データベース105において基盤コード「a111」に対応づけられており、この基盤コードが基盤コード変換部110において「a111」という標準データに変換される。そして、データ変換部125は、変換データベース105においてこの標準データ「a111」に対応する基盤コードに一致する基盤コード「a111」とデータベース識別子「A」とに対応づけられている外部識別コード「0002」に、標準データ「a111」を変換する。データ交換システム1は、付帯情報が付帯されていない基盤コードについて、同様の処理を実行する。 Then, as shown in FIG. 11, the external identification code of company B is converted into the external identification code of company A via the standard data by the functions of the code presence determination unit 115 and the data conversion unit 125. For example, the external base code “1001” of company B is associated with the base code “a 111 ” in the conversion database 105, and this base code is converted into standard data “a 111 ” by the base code converter 110. The Then, the data conversion unit 125, an external identification code associated with the underlying code "a 111" that match the base code corresponding to the standard data "a 111" with the database identifier "A" in the conversion database 105 " in 0002 ", to convert the standard data" a 111 ". The data exchange system 1 executes the same processing for the base code that does not have accompanying information.
 一方、変換データベースは、B社の外部識別コード「1002」に対応づけて付帯情報が付帯された基盤コード「a112」を格納している。そして、A社のデータベース識別子に対応づけて、変換データベース105は基盤コード「a112」を格納していない。この場合、仮に付帯情報がない場合、データ交換システム1は、基盤データベース120のコード「a112」の上位階層をたどり、基盤コード「a11」を変換する基盤コードとして選択する。そして、データ交換システム1は、付帯情報がない場合、標準データ「a111」を、基盤コード「a11」とデータベース識別子「A」とに対応づけて変換データベース105に格納されている外部識別コード「0001」に変換して外部識別コードとする。しかし、ここでは、付帯情報が基盤コードに付帯されているので、データ交換システム1は、付帯情報によって示されるコードを変換する外部識別コードとする。すなわち、ここでは、コード「0003」を変換する外部識別コードとする。これにより、データ交換システム1は、B社の外部識別コード「1002」を、A社の外部識別コード「0003」に変換することができる。 On the other hand, the conversion database stores a base code “a 112 ” with additional information associated with the external identification code “1002” of company B. The conversion database 105 does not store the base code “a 112 ” in association with the database identifier of the company A. In this case, if there is no supplementary information, the data exchange system 1 follows the upper layer of the code “a 112 ” of the base database 120 and selects the base code “a 11 ” as the base code to be converted. The data exchange system 1, if there is no supplementary information, the external identification code of the standard data "a 111" stored in the base code "a 11" and the database identifier conversion database 105 in association with the "A" Converted to “0001” to obtain an external identification code. However, here, since the supplementary information is attached to the base code, the data exchange system 1 uses the external identification code for converting the code indicated by the supplementary information. That is, here, the code “0003” is an external identification code to be converted. As a result, the data exchange system 1 can convert the external identification code “1002” of company B into the external identification code “0003” of company A.
 なお、基盤コード変換部110は、変換データベース105において同一の外部識別コードに複数の基盤コードが対応づけられている外部識別コードを用いる場合、優先フラグに基づいて処理を実行する。例えば、基盤コード変換部110は、A社から外部識別コード「0003」を取得した場合、優先フラグが対応づけられている基盤コード(図10の例では、基盤コード「a12」)を用い、外部識別コードを標準データに変換する。そして、データ変換部125は、基盤コード変換部110が優先フラグに基づいて変換した標準データを用いて変換処理を実行する。 In the case where an external identification code in which a plurality of base codes are associated with the same external identification code in the conversion database 105 is used, the base code conversion unit 110 executes processing based on the priority flag. For example, when acquiring the external identification code “0003” from the company A, the infrastructure code conversion unit 110 uses the infrastructure code associated with the priority flag (in the example of FIG. 10, the infrastructure code “a 12 ”), Convert the external identification code to standard data. Then, the data conversion unit 125 executes the conversion process using the standard data converted by the base code conversion unit 110 based on the priority flag.
 図12は、本発明の実施の形態に係るデータ交換システムのハードウェア構成の一例を示す。 FIG. 12 shows an example of the hardware configuration of the data exchange system according to the embodiment of the present invention.
 本発明の実施の形態に係るデータ交換システム1は、CPU1500と、グラフィックコントローラ1520と、RandomAccessMemory(RAM)、Read-OnlyMemory(ROM)及び/又はフラッシュROM等のメモリ1530と、データを記憶する記憶装置1540と、記録媒体からデータを読み込み及び/又は記録媒体にデータを書き込む読込み/書込み装置1545と、データを入力する入力装置1560と、外部の通信機器とデータを送受信する通信インターフェース1550と、CPU1500とグラフィックコントローラ1520とメモリ1530と記憶装置1540と読込み/書込み装置1545と入力装置1560と通信インターフェース1550とを互いに通信可能に接続するチップセット1510とを備える。なお、CPU1500等の構成要素は、1つ以上のCPU等であって、複数のCPU等を含んで構成することもできる。 A data exchange system 1 according to an embodiment of the present invention includes a CPU 1500, a graphic controller 1520, a random access memory (RAM), a memory 1530 such as a read-only memory (ROM) and / or a flash ROM, and a storage device that stores data. 1540, a read / write device 1545 for reading data from and / or writing data to a recording medium, an input device 1560 for inputting data, a communication interface 1550 for transmitting / receiving data to / from an external communication device, and a CPU 1500 A chip set that connects the graphic controller 1520, the memory 1530, the storage device 1540, the read / write device 1545, the input device 1560, and the communication interface 1550 so that they can communicate with each other. And a door 1510. Note that the constituent elements such as the CPU 1500 are one or more CPUs, and may include a plurality of CPUs.
 チップセット1510は、メモリ1530と、メモリ1530にアクセスして所定の処理を実行するCPU1500と、外部の表示装置の表示を制御するグラフィックコントローラ1520とを相互に接続することにより、各構成要素間のデータの受渡しを実行する。CPU1500は、メモリ1530に格納されたプログラムに基づいて動作して、各構成要素を制御する。グラフィックコントローラ1520は、メモリ1530内に設けられたバッファ上に一時的に蓄えられた画像データに基づいて、画像を所定の表示装置に表示させる。 The chip set 1510 includes a memory 1530, a CPU 1500 that accesses the memory 1530 and executes predetermined processing, and a graphic controller 1520 that controls display on an external display device. Perform data passing. The CPU 1500 operates based on a program stored in the memory 1530 and controls each component. The graphic controller 1520 displays an image on a predetermined display device based on image data temporarily stored on a buffer provided in the memory 1530.
 また、チップセット1510は、記憶装置1540と、読込み/書込み装置1545と、通信インターフェース1550とを接続する。記憶装置1540は、データ交換システムのCPU1500が使用するプログラムとデータとを格納する。記憶装置1540は、例えば、フラッシュメモリである。読込み/書込み装置1545は、プログラム及び/又はデータを記憶している記憶媒体からプログラム及び/又はデータを読み取って、読み取ったプログラム及び/又はデータを記憶装置1540に格納する。読込み/書込み装置1545は、例えば、通信インターフェース1550を介し、インターネット上のサーバーから所定のプログラムを取得して、取得したプログラムを記憶装置1540に格納する。 Also, the chipset 1510 connects a storage device 1540, a read / write device 1545, and a communication interface 1550. The storage device 1540 stores programs and data used by the CPU 1500 of the data exchange system. The storage device 1540 is, for example, a flash memory. The read / write device 1545 reads the program and / or data from the storage medium storing the program and / or data, and stores the read program and / or data in the storage device 1540. For example, the reading / writing device 1545 acquires a predetermined program from a server on the Internet via the communication interface 1550, and stores the acquired program in the storage device 1540.
 通信インターフェース1550は、通信ネットワークを介して外部の装置とデータの送受信を実行する。また、通信インターフェース1550は、通信ネットワークが不通の場合、通信ネットワークを介さずに外部の装置とデータの送受信を実行することもできる。そして、タブレット、マイク等の入力装置1560は、所定のインターフェースを介してチップセット1510と接続する。 The communication interface 1550 executes data transmission / reception with an external device via a communication network. Further, when the communication network is disconnected, the communication interface 1550 can execute data transmission / reception with an external device without going through the communication network. An input device 1560 such as a tablet or a microphone is connected to the chipset 1510 via a predetermined interface.
 記憶装置1540に格納されるデータ交換プログラムは、インターネット等の通信ネットワーク、又は磁気記録媒体、光学記録媒体等の記録媒体を介して記憶装置1540に提供される。そして、記憶装置1540に格納されたデータ交換プログラムは、CPU1500により実行される。なお、記録媒体を用いることで、コンピューターにデータ交換プログラムをインストールできる。プログラムを格納している記録媒体は、CD-ROMやDVD等の非一過性の記録媒体であってよい。 The data exchange program stored in the storage device 1540 is provided to the storage device 1540 via a communication network such as the Internet or a recording medium such as a magnetic recording medium or an optical recording medium. The data exchange program stored in the storage device 1540 is executed by the CPU 1500. Note that the data exchange program can be installed in the computer by using the recording medium. The recording medium storing the program may be a non-transitory recording medium such as a CD-ROM or DVD.
 データ交換システム1により実行される情報入力プログラムは、CPU1500に働きかけて、データ交換システム1を、図1から図11にかけて説明した入力データ処理ユニット10、出力データ処理ユニット15、データ入力部100、変換データベース105、基盤コード変換部110、コード存在判断部115、基盤データベース120、データ変換部125、付帯ユニット130、情報付帯部132、コード付帯部134、データ出力部140、対応関係更新部150、及び情報更新部155として機能させる。 The information input program executed by the data exchange system 1 works on the CPU 1500 to change the data exchange system 1 to the input data processing unit 10, output data processing unit 15, data input unit 100, conversion described with reference to FIGS. A database 105, a base code conversion unit 110, a code presence determination unit 115, a base database 120, a data conversion unit 125, an auxiliary unit 130, an information auxiliary unit 132, a code auxiliary unit 134, a data output unit 140, a correspondence update unit 150, It functions as the information update unit 155.
(実施の形態の効果)
 本実施の形態に係るデータ交換システム1は、複数の外部データベースそれぞれの基盤データベース120に対するデータの対応関係を変換データベース105において定義しているので、互いに異なる外部データベース間で自在にデータ交換を実現できる。特に、従来の一次元的な構造を有する標準コード又は統一コードに対し、本実施の形態に係るデータ交換システム1は、多段階の階層構造を定義した木構造を有する、変換処理の基盤となる基盤データベース120を備えている。この基盤データベース120を用いることで、データ交換システム1は、任意のデータベース間でのデータ交換を実現することができる。これにより、データ交換システム1は、変換データベース105が格納しているデータの対応関係を定義するだけで、任意のデータベース間でのデータ交換を実現できる。
(Effect of embodiment)
In the data exchange system 1 according to the present embodiment, since the conversion database 105 defines the data correspondence to the base database 120 of each of the plurality of external databases, data exchange between different external databases can be realized freely. . In particular, the data exchange system 1 according to the present embodiment is a basis for a conversion process having a tree structure defining a multi-level hierarchical structure with respect to a standard code or a unified code having a conventional one-dimensional structure. A base database 120 is provided. By using the base database 120, the data exchange system 1 can realize data exchange between arbitrary databases. Thereby, the data exchange system 1 can implement | achieve the data exchange between arbitrary databases only by defining the correspondence of the data which the conversion database 105 stores.
 すなわち、本実施の形態に係るデータ交換システム1は、複数の外部データベースのそれぞれが、独自コード体系を維持したまま、異なるコード体系の外部データベースに対し、データの内容を把握できる形式でデータ交換を実行できる。すなわち、データ交換システム1によれば、任意のデータベースとの間で、データ交換を自在に実行できる。そして、データ交換システム1は、曖昧さを含むデータについて、階層構造を有する階層構造情報として格納する基盤データベース120を備えるので、情報通信技術の発展と社会の複雑さの進展とに伴い、互いに異なる複数の社会的領域(例えば、互いに異なるコード体系を利用している複数のサーバー)内で利用される情報が増大、変化した場合であっても、当該情報を互いに異なる社会的領域間で相互に交換し、有効に活用できる。 That is, in the data exchange system 1 according to the present embodiment, each of the plurality of external databases exchanges data in a format in which the contents of the data can be grasped with respect to the external databases of different code systems while maintaining the unique code system. Can be executed. That is, according to the data exchange system 1, data exchange with any database can be performed freely. Since the data exchange system 1 includes the infrastructure database 120 that stores data including ambiguity as hierarchical structure information having a hierarchical structure, the data exchange system 1 differs from each other with the development of information communication technology and the progress of social complexity. Even when information used in multiple social areas (for example, multiple servers using different code systems) increases or changes, the information is shared between different social areas. Can be exchanged and used effectively.
 よって、データ交換システム1によれば、基盤コード変換部110で変換された標準データに対応する基盤コードと同一の基盤コードが、他のデータベース識別子に対応づけて変換データベース105に格納されていない場合でも、いわゆる粒度の違いを考慮して基盤データベース120の階層構造を検索することで標準データを適切な外部識別コードに変換できる。したがって、データ交換システム1は、当該システムを利用する様々な外部データベースそれぞれが独自のコード体系を運用しつつ、柔軟なデータ交換を実現できる。 Therefore, according to the data exchange system 1, the same base code as the base code corresponding to the standard data converted by the base code conversion unit 110 is not stored in the conversion database 105 in association with another database identifier. However, the standard data can be converted into an appropriate external identification code by searching the hierarchical structure of the base database 120 in consideration of so-called difference in granularity. Therefore, the data exchange system 1 can realize flexible data exchange while each of various external databases using the system operates a unique code system.
 以上、本発明の実施の形態を説明したが、上記に記載した実施の形態は特許請求の範囲に係る発明を限定するものではない。また、実施の形態の中で説明した特徴の組合せの全てが発明の課題を解決するための手段に必須であるとは限らない点に留意すべきである。更に、上記した実施形態の技術的要素は、単独で適用されてもよいし、プログラム部品とハードウェア部品とのような複数の部分に分割されて適用されるようにすることもできる。 As mentioned above, although embodiment of this invention was described, embodiment described above does not limit the invention which concerns on a claim. In addition, it should be noted that not all the combinations of features described in the embodiments are essential to the means for solving the problems of the invention. Furthermore, the technical elements of the above-described embodiments may be applied independently, or may be applied by being divided into a plurality of parts such as program parts and hardware parts.
 1、1a データ交換システム
 5 通信網
 10 入力データ処理ユニット
 15 出力データ処理ユニット
 20、22、24 外部データベース
 100 データ入力部
 105 変換データベース
 110 基盤コード変換部
 115 コード存在判断部
 120 基盤データベース
 125 データ変換部
 130 付帯ユニット
 132 情報付帯部
 134 コード付帯部
 140 データ出力部
 150 対応関係更新部
 155 情報更新部
 1500 CPU
 1510 チップセット
 1520 グラフィックコントローラ
 1530 メモリ
 1540 記憶装置
 1545 読込み/書込み装置
 1550 通信インターフェース
 1560 入力装置
DESCRIPTION OF SYMBOLS 1, 1a Data exchange system 5 Communication network 10 Input data processing unit 15 Output data processing unit 20, 22, 24 External database 100 Data input part 105 Conversion database 110 Base code conversion part 115 Code presence judgment part 120 Base database 125 Data conversion part 130 Attached Unit 132 Information Attached Part 134 Code Attached Part 140 Data Output Part 150 Correspondence Update Part 155 Information Update Part 1500 CPU
1510 chip set 1520 graphic controller 1530 memory 1540 storage device 1545 read / write device 1550 communication interface 1560 input device

Claims (11)

  1.  階層構造を有するデータベースを仲介に用いることにより、外部データベース間の透過的なデータ交換を実現するデータ交換システムであって、
     データを識別する基盤コードの階層構造により表される階層構造情報を格納する基盤データベースと、
     外部データベースに格納されている外部データを識別する外部識別コードを、前記外部データベースを識別するデータベース識別子と前記基盤データベースに格納されている前記基盤コードとに対応づけて格納する変換データベースと、
     一の外部データベースからの一の外部データを識別する一の外部識別コードを、前記一の外部データベースのデータベース識別子に対応づけて前記変換データベースに格納されている前記基盤コードを対応づけた標準データに変換する基盤コード変換部と、
     前記標準データに対応する前記基盤コードが、他の外部データベースを識別する他のデータベース識別子に対応づけて前記変換データベースに格納されているか否かを判断するコード存在判断部と、
     前記他のデータベース識別子に対応づけて前記変換データベースに前記標準データに対応する前記基盤コードが格納されている場合、前記標準データを、前記標準データに対応する前記基盤コードと前記他のデータベース識別子とに対応づけて前記変換データベースに格納されている前記外部識別コードに変換し、
     前記他のデータベース識別子に対応づけて前記変換データベースに前記標準データに対応する前記基盤コードが格納されていない場合、前記標準データを、前記基盤データベースが格納している前記階層構造を前記標準データに対応する前記基盤コードの分類位置から上位に遡った分類位置、下位に下った分類位置、若しくは当該分類位置と同列の分類位置の基盤コードと前記他のデータベース識別子とに対応づけて前記変換データベースに格納されている前記外部識別コードに変換するデータ変換部と
    を備えるデータ交換システム。
    A data exchange system that realizes transparent data exchange between external databases by using a database having a hierarchical structure as an intermediary,
    A base database for storing hierarchical structure information represented by a hierarchical structure of a base code for identifying data;
    A conversion database for storing an external identification code for identifying external data stored in an external database in association with a database identifier for identifying the external database and the base code stored in the base database;
    One external identification code for identifying one external data from one external database is associated with the database identifier of the one external database and standard data associated with the base code stored in the conversion database. A base code converter to convert;
    A code presence determination unit that determines whether the base code corresponding to the standard data is stored in the conversion database in association with another database identifier that identifies another external database;
    When the base code corresponding to the standard data is stored in the conversion database in association with the other database identifier, the standard data is converted to the base code corresponding to the standard data and the other database identifier. Is converted into the external identification code stored in the conversion database in association with
    When the base code corresponding to the standard data is not stored in the conversion database in association with the other database identifier, the standard data is stored in the hierarchical structure stored in the base database as the standard data. In the conversion database, the classification position is traced back to the upper position from the classification position of the corresponding base code, the classification position is lower, or the base code of the classification position in the same row as the classification position and the other database identifier. A data exchange system comprising: a data conversion unit that converts the stored external identification code.
  2.  前記階層構造情報が、所定のデータの上位概念のデータを識別する基盤コード、前記所定のデータの下位概念のデータを識別する基盤コード、若しくは前記所定のデータを識別する基盤コードの少なくともいずれかを含んで構築される前記基盤コードの前記階層構造により表される情報である請求項1に記載のデータ交換システム。 The hierarchical structure information includes at least one of a base code for identifying data of a higher concept of predetermined data, a base code for identifying data of a lower concept of the predetermined data, and a base code for identifying the predetermined data. The data exchange system according to claim 1, wherein the data exchange system is information represented by the hierarchical structure of the infrastructure code constructed and included.
  3.  前記データ変換部が変換した前記外部識別コードに、前記一の外部データに関連する付加情報を付帯させる情報付帯部
    を更に備える請求項1又は2に記載のデータ交換システム。
    3. The data exchange system according to claim 1, further comprising an information attachment unit that attaches additional information related to the one external data to the external identification code converted by the data conversion unit.
  4.  前記データ変換部が変換した前記外部識別コードに、前記一の外部データベースから受け取った前記一の外部データの前記一の外部識別コードを付帯させるコード付帯部
    を更に備える請求項1~3のいずれか1項に記載のデータ交換システム。
    4. The code attachment unit according to claim 1, further comprising a code attachment unit for attaching the one external identification code of the one external data received from the one external database to the external identification code converted by the data conversion unit. The data exchange system according to item 1.
  5.  前記基盤コード変換部が、前記一の外部データベースから、前記他のデータベース識別子と前記他のデータベースの他の外部データを識別する他の外部識別コードと共に前記一の外部データを受け取った場合、前記他のデータベース識別子と前記他の外部識別コードとのセットを前記標準データに付加するか、若しくは前記標準データを生成せず、
     前記コード存在判断部が、前記他のデータベース識別子に対応づけて前記変換データベースに格納されているか否かを判断せず、
     前記データ変換部が、前記他の外部識別コードを変換された外部識別コードとして扱う請求項1~4のいずれか1項に記載のデータ交換システム。
    When the base code converter receives the one external data from the one external database together with the other database identifier and another external identification code for identifying the other external data of the other database, A set of the database identifier and the other external identification code is added to the standard data, or the standard data is not generated,
    The code presence determination unit does not determine whether the code database is stored in the conversion database in association with the other database identifier,
    The data exchange system according to any one of claims 1 to 4, wherein the data conversion unit handles the other external identification code as a converted external identification code.
  6.  前記変換データベースが、前記一の外部識別コードに対応する、前記他のデータベース識別子と前記他のデータベースの他の外部データを識別する他の外部識別コードとのセットを格納し、
     前記基盤コード変換部が、前記変換データベースを参照し、前記セットを前記標準データに付加するか、若しくは前記標準データを生成せず、
     前記コード存在判断部が、前記他のデータベース識別子に対応づけて前記変換データベースに格納されているか否かを判断せず、
     前記データ変換部が、前記他の外部識別コードを変換された外部識別コードとして扱う請求項1~4のいずれか1項に記載のデータ交換システム。
    The conversion database stores a set of the other database identifier corresponding to the one external identification code and another external identification code for identifying other external data of the other database;
    The base code conversion unit refers to the conversion database, adds the set to the standard data, or does not generate the standard data,
    The code presence determination unit does not determine whether the code database is stored in the conversion database in association with the other database identifier,
    The data exchange system according to any one of claims 1 to 4, wherein the data conversion unit handles the other external identification code as a converted external identification code.
  7.  前記変換データベースが、前記他のデータベースの他の外部データを識別する他の外部識別コードに対応する、前記一のデータベース識別子と前記一の外部識別コードとのセットを格納し、
     前記データ変換部が、前記コード存在判断部による判断の前に、前記標準データに保持されたデータベース識別子及び外部識別コードに基づいて前記変換データベースを検索し、前記変換データベースに前記標準データに保持された前記データベース識別子及び前記外部識別コードに対応するデータベース識別子及び外部識別コードが格納されている場合、当該外部識別コードを変換された外部識別コードとして扱う請求項1~4のいずれか1項に記載のデータ交換システム。
    The conversion database stores a set of the one database identifier and the one external identification code corresponding to another external identification code identifying other external data of the other database;
    The data conversion unit searches the conversion database based on the database identifier and the external identification code held in the standard data before the determination by the code presence determination unit, and is held in the standard data in the conversion database. 5. The method according to claim 1, wherein when the database identifier and the external identification code corresponding to the database identifier and the external identification code are stored, the external identification code is treated as a converted external identification code. Data exchange system.
  8.  前記一の外部データベースから前記一の外部データに対応する前記基盤コードを直接、受け付けた場合において、
     前記基盤コード変換部が、前記変換データベースを参照せず、
     前記コード存在判断部が、直接、受け付けた前記基盤コードを用いて判断する請求項1~7のいずれか1項に記載のデータ交換システム。
    In the case where the base code corresponding to the one external data is directly received from the one external database,
    The infrastructure code converter does not refer to the conversion database,
    The data exchange system according to any one of claims 1 to 7, wherein the code presence determination unit directly makes a determination using the received base code.
  9.  階層構造を有するデータベースを仲介に用いることにより、外部データベース間の透過的なデータ交換を実現するデータ交換システムであって、
     前記データ交換システムが、外部データベースに格納されている外部データを処理する入力データ処理ユニットと、前記入力データ処理ユニットにおける処理に基づいて他の外部データベースに提供するデータを処理する出力データ処理ユニットと
    を備え、
     前記入力データ処理ユニットが、
     データを識別する基盤コードの階層構造により表される階層構造情報を格納する基盤データベースと、
     前記外部データを識別する外部識別コードを、前記外部データベースを識別するデータベース識別子と前記基盤データベースに格納されている前記基盤コードとに対応づけて格納する変換データベースと、
     一の外部データベースからの一の外部データを識別する一の外部識別コードを、前記一の外部データベースのデータベース識別子に対応づけて前記変換データベースに格納されている前記基盤コードを対応づけた標準データに変換する基盤コード変換部と、
    を有し、
     前記出力データ処理ユニットが、
     前記他の外部データベースを識別する他のデータベース識別子に対応づけて前記変換データベースに前記標準データに対応する前記基盤コードが格納されている場合、前記標準データを、前記標準データに対応する前記基盤コードと前記他のデータベース識別子とに対応づけて前記変換データベースに格納されている前記外部識別コードに変換し、
     前記他のデータベース識別子に対応づけて前記変換データベースに前記標準データに対応する前記基盤コードが格納されていない場合、前記標準データを、前記基盤データベースが格納している前記階層構造を前記標準データに対応する前記基盤コードの分類位置から上位に遡った分類位置、下位に下った分類位置、若しくは当該分類位置と同列の分類位置の基盤コードと前記他のデータベース識別子とに対応づけて前記変換データベースに格納されている前記外部識別コードに変換するデータ変換部
    を有するデータ交換システム。
    A data exchange system that realizes transparent data exchange between external databases by using a database having a hierarchical structure as an intermediary,
    An input data processing unit that processes external data stored in an external database by the data exchange system; and an output data processing unit that processes data provided to another external database based on processing in the input data processing unit; With
    The input data processing unit is
    A base database for storing hierarchical structure information represented by a hierarchical structure of a base code for identifying data;
    A conversion database for storing an external identification code for identifying the external data in association with a database identifier for identifying the external database and the base code stored in the base database;
    One external identification code for identifying one external data from one external database is associated with the database identifier of the one external database and standard data associated with the base code stored in the conversion database. A base code converter to convert;
    Have
    The output data processing unit is
    When the base code corresponding to the standard data is stored in the conversion database in association with another database identifier for identifying the other external database, the standard data is converted to the base code corresponding to the standard data. And the external identification code stored in the conversion database in association with the other database identifier,
    When the base code corresponding to the standard data is not stored in the conversion database in association with the other database identifier, the standard data is stored in the hierarchical structure stored in the base database as the standard data. In the conversion database, the classification position is traced back to the upper position from the classification position of the corresponding base code, the classification position is lower, or the base code of the classification position in the same row as the classification position and the other database identifier. A data exchange system comprising a data conversion unit for converting the stored external identification code.
  10.  階層構造を有するデータベースを仲介に用いることにより、外部データベース間の透過的なデータ交換を実現するデータ交換システムにおけるデータ交換方法であって、
     前記データ交換システムが、データを識別する基盤コードの階層構造により表される階層構造情報を格納する基盤データベースと、外部データベースに格納されている外部データを識別する外部識別コードを、前記外部データベースを識別するデータベース識別子と前記基盤データベースに格納されている前記基盤コードとに対応づけて格納する変換データベースとを有し、
     一の外部データベースからの一の外部データを識別する一の外部識別コードを、前記一の外部データベースのデータベース識別子に対応づけて前記変換データベースに格納されている前記基盤コードを対応づけた標準データに変換する基盤コード変換段階と、
     前記標準データに対応する前記基盤コードが、他の外部データベースを識別する他のデータベース識別子に対応づけて前記変換データベースに格納されているか否かを判断するコード存在判断段階と、
     前記他のデータベース識別子に対応づけて前記変換データベースに前記標準データに対応する前記基盤コードが格納されている場合、前記標準データを、前記標準データに対応する前記基盤コードと前記他のデータベース識別子とに対応づけて前記変換データベースに格納されている前記外部識別コードに変換し、
     前記他のデータベース識別子に対応づけて前記変換データベースに前記標準データに対応する前記基盤コードが格納されていない場合、前記標準データを、前記基盤データベースが格納している前記階層構造を前記標準データに対応する前記基盤コードの分類位置から上位に遡った分類位置、下位に下った分類位置、若しくは当該分類位置と同列の分類位置の基盤コードと前記他のデータベース識別子とに対応づけて前記変換データベースに格納されている前記外部識別コードに変換するデータ変換段階と
    を備えるデータ交換方法。
    A data exchange method in a data exchange system that realizes transparent data exchange between external databases by using a database having a hierarchical structure as an intermediary,
    The data exchange system includes a base database for storing hierarchical structure information represented by a hierarchical structure of a base code for identifying data, and an external identification code for identifying external data stored in the external database. A conversion database that stores the database identifier in association with the base code stored in the base database;
    One external identification code for identifying one external data from one external database is associated with the database identifier of the one external database and standard data associated with the base code stored in the conversion database. A base code conversion stage to convert;
    A code presence determination step of determining whether the base code corresponding to the standard data is stored in the conversion database in association with another database identifier for identifying another external database;
    When the base code corresponding to the standard data is stored in the conversion database in association with the other database identifier, the standard data is converted to the base code corresponding to the standard data and the other database identifier. Is converted into the external identification code stored in the conversion database in association with
    When the base code corresponding to the standard data is not stored in the conversion database in association with the other database identifier, the standard data is stored in the hierarchical structure stored in the base database as the standard data. In the conversion database, the classification position is traced back to the upper position from the classification position of the corresponding base code, the classification position is lower, or the base code of the classification position in the same row as the classification position and the other database identifier. A data exchange method comprising: a data conversion step of converting the stored external identification code.
  11.  階層構造を有するデータベースを仲介に用いることにより、外部データベース間の透過的なデータ交換を実現するデータ交換システム用のデータ交換プログラムであって、
     前記データ交換システムが、データを識別する基盤コードの階層構造により表される階層構造情報を格納する基盤データベースと、外部データベースに格納されている外部データを識別する外部識別コードを、前記外部データベースを識別するデータベース識別子と前記基盤データベースに格納されている前記基盤コードとに対応づけて格納する変換データベースとを有し、
     コンピューターに、
     一の外部データベースからの一の外部データを識別する一の外部識別コードを、前記一の外部データベースのデータベース識別子に対応づけて前記変換データベースに格納されている前記基盤コードを対応づけた標準データに変換する基盤コード変換機能と、
     前記標準データに対応する前記基盤コードが、他の外部データベースを識別する他のデータベース識別子に対応づけて前記変換データベースに格納されているか否かを判断するコード存在判断機能と、
     前記他のデータベース識別子に対応づけて前記変換データベースに前記標準データに対応する前記基盤コードが格納されている場合、前記標準データを、前記標準データに対応する前記基盤コードと前記他のデータベース識別子とに対応づけて前記変換データベースに格納されている前記外部識別コードに変換し、
     前記他のデータベース識別子に対応づけて前記変換データベースに前記標準データに対応する前記基盤コードが格納されていない場合、前記標準データを、前記基盤データベースが格納している前記階層構造を前記標準データに対応する前記基盤コードの分類位置から上位に遡った分類位置、下位に下った分類位置、若しくは当該分類位置と同列の分類位置の基盤コードと前記他のデータベース識別子とに対応づけて前記変換データベースに格納されている前記外部識別コードに変換するデータ変換機能と
    を実現させるデータ交換プログラム。
    A data exchange program for a data exchange system that realizes transparent data exchange between external databases by using a database having a hierarchical structure as an intermediary,
    The data exchange system includes a base database for storing hierarchical structure information represented by a hierarchical structure of a base code for identifying data, and an external identification code for identifying external data stored in the external database. A conversion database that stores the database identifier in association with the base code stored in the base database;
    On the computer,
    One external identification code for identifying one external data from one external database is associated with the database identifier of the one external database and standard data associated with the base code stored in the conversion database. The base code conversion function to convert,
    A code existence determination function for determining whether the base code corresponding to the standard data is stored in the conversion database in association with another database identifier for identifying another external database;
    When the base code corresponding to the standard data is stored in the conversion database in association with the other database identifier, the standard data is converted to the base code corresponding to the standard data and the other database identifier. Is converted into the external identification code stored in the conversion database in association with
    When the base code corresponding to the standard data is not stored in the conversion database in association with the other database identifier, the standard data is stored in the hierarchical structure stored in the base database as the standard data. In the conversion database, the classification position is traced back to the upper position from the classification position of the corresponding base code, the classification position is lower, or the base code of the classification position in the same row as the classification position and the other database identifier. A data exchange program for realizing a data conversion function for converting into the stored external identification code.
PCT/JP2017/019325 2016-05-31 2017-05-24 Data exchange system, data exchange method, and data exchange program WO2017208922A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2018520831A JP6842071B2 (en) 2016-05-31 2017-05-24 Data exchange system, data exchange method, and data exchange program
CN201780047417.5A CN109564541B (en) 2016-05-31 2017-05-24 Data exchange system, data exchange method, and data exchange program

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2016108194 2016-05-31
JP2016-108194 2016-05-31

Publications (1)

Publication Number Publication Date
WO2017208922A1 true WO2017208922A1 (en) 2017-12-07

Family

ID=60478587

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2017/019325 WO2017208922A1 (en) 2016-05-31 2017-05-24 Data exchange system, data exchange method, and data exchange program

Country Status (3)

Country Link
JP (1) JP6842071B2 (en)
CN (1) CN109564541B (en)
WO (1) WO2017208922A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018216346A1 (en) * 2017-05-24 2018-11-29 株式会社東新システム Data exchange system, data exchange method, and data exchange program
WO2019176824A1 (en) * 2018-03-14 2019-09-19 日本電気株式会社 Data creator, data classifier, data acquisition system, data creation method, data classification method, and recording medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113656400B (en) * 2021-07-08 2024-02-27 上海二三四五网络科技有限公司 Characteristic data encoding method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003216654A (en) * 2002-01-21 2003-07-31 Beacon Information Technology:Kk Data management system and computer program
JP2005293134A (en) * 2004-03-31 2005-10-20 Toshiba Corp Hierarchical database management system, hierarchical database management method and hierarchical database management program
JP2008243193A (en) * 2007-02-26 2008-10-09 System Produce:Kk Data management system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05165689A (en) * 1991-12-18 1993-07-02 Oki Electric Ind Co Ltd Information processing system
EP1093061A1 (en) * 1999-10-14 2001-04-18 SAP Aktiengesellschaft Integrated database federation system
JP4020562B2 (en) * 1999-07-07 2007-12-12 松下電器産業株式会社 Information management device and remote controller
US7693917B2 (en) * 2001-11-30 2010-04-06 Intelligent Medical Objects, Inc. Method for adaptive data management

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003216654A (en) * 2002-01-21 2003-07-31 Beacon Information Technology:Kk Data management system and computer program
JP2005293134A (en) * 2004-03-31 2005-10-20 Toshiba Corp Hierarchical database management system, hierarchical database management method and hierarchical database management program
JP2008243193A (en) * 2007-02-26 2008-10-09 System Produce:Kk Data management system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018216346A1 (en) * 2017-05-24 2018-11-29 株式会社東新システム Data exchange system, data exchange method, and data exchange program
JPWO2018216346A1 (en) * 2017-05-24 2020-03-26 株式会社東新システム Data exchange system, data exchange method, and data exchange program
JP7125691B2 (en) 2017-05-24 2022-08-25 株式会社東新システム Data exchange system, data exchange method, and data exchange program
WO2019176824A1 (en) * 2018-03-14 2019-09-19 日本電気株式会社 Data creator, data classifier, data acquisition system, data creation method, data classification method, and recording medium
JPWO2019176824A1 (en) * 2018-03-14 2021-03-11 日本電気株式会社 Data creation device, data classification device, data processing system, data creation method, data classification method and program
JP7010364B2 (en) 2018-03-14 2022-01-26 日本電気株式会社 Data creation device, data classification device, data processing system, data creation method, data classification method and program

Also Published As

Publication number Publication date
CN109564541A (en) 2019-04-02
JP6842071B2 (en) 2021-03-17
JPWO2017208922A1 (en) 2019-03-28
CN109564541B (en) 2023-09-01

Similar Documents

Publication Publication Date Title
Wang et al. A graph-based context-aware requirement elicitation approach in smart product-service systems
US9800675B2 (en) Methods for dynamically generating an application interface for a modeled entity and devices thereof
US8700494B2 (en) Identifying product variants
Frischmuth et al. Ontowiki–an authoring, publication and visualization interface for the data web
US11853365B2 (en) Template-based faceted search experience
CN109388637A (en) Data warehouse information processing method, device, system, medium
US10599720B2 (en) Tag mapping process and pluggable framework for generating algorithm ensemble
US20100017378A1 (en) Enhanced use of tags when storing relationship information of enterprise objects
US10318702B2 (en) Multi-valued decision diagram reversible restriction
WO2017208922A1 (en) Data exchange system, data exchange method, and data exchange program
US8239371B2 (en) Fast search views over business objects
CN107146095A (en) Exhibition information processing method, device and the mailing system of a kind of mail
Szekely et al. Exploiting semantics of web services for geospatial data fusion
US10747941B2 (en) Tag mapping process and pluggable framework for generating algorithm ensemble
US20160364426A1 (en) Maintenance of tags assigned to artifacts
CN110998542B (en) Data exchange system, data exchange method, and data exchange program
JP2005316699A (en) Content disclosure system, content disclosure method and content disclosure program
US20220391820A1 (en) Data-driven requirements analysis and matching
US8060488B2 (en) System and method for classifying and defining relationships between product information data
US20210342783A1 (en) System and method of automated extraction and visualization of knowledge about enterprise technology, personnel and business functions
US20220391821A1 (en) Data-driven requirements analysis and matching
CN117874120A (en) Intelligent data integration method and system based on data virtualization
CN114491161A (en) Graph-based multi-storage-form space big data integrated management method and device
van Blommestein Decentralized metadata development for open B2B electronic business
CN109426667A (en) The interpretation method and device of air ticket classification CAT rule

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2018520831

Country of ref document: JP

Kind code of ref document: A

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17806479

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17806479

Country of ref document: EP

Kind code of ref document: A1