Data processing and access method, device, computer system and readable storage medium

By establishing tags with data objects and automatically generating data access requests, it solves the problem of difficulty for business personnel to access database data, achieves access to underlying databases and cross-database capabilities at the business level, and improves work efficiency.

CN112905586BActive Publication Date: 2024-10-18ALIBABA GROUP HOLDING LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN201911222491.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-12-03
Publication Date
2024-10-18
Estimated Expiration
2039-12-03

AI Technical Summary

Technical Problem

It is difficult for business personnel to understand and access the data in the database, resulting in inconvenience in data query and analysis. Existing technology cannot effectively shield database details, affecting work efficiency.

Method used

By establishing tags corresponding to data objects, displaying tags, and receiving automatically generated data access requests after user selection, providing corresponding data object content, supporting cross-data source access, and shielding underlying database details.

Benefits of technology

It enables business personnel to access the underlying database at the business level, shields database details, improves work efficiency, and has the ability to access multiple databases.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112905586B_ABST
    Figure CN112905586B_ABST
Patent Text Reader

Abstract

The embodiments of the present disclosure disclose a data processing and access method, device, computer system and readable storage medium. The data processing method includes establishing a label corresponding to a data object; displaying the label; receiving a data access request automatically generated after a user selects the label; and providing the user with the content of the data object corresponding to the label in response to the data access request.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to a data processing and access method, device, computer system and readable storage medium. Background Art

[0002] In a data processing system, data is usually stored in physical tables of a database. A physical table usually includes multiple records, each of which corresponds to a specific object. Each record also includes multiple fields for describing different characteristics of the specific object. In the process of making the present disclosure, the inventors found that business personnel understand business concepts and business processes, and can easily understand models, concepts, objects, business processes, and indicators in the business, but business personnel are not familiar with methods of accessing databases and viewing tables, and it is difficult for them to understand the data expressed in tables. Therefore, there is a gap between the current state of data storage and the needs of business personnel, which causes inconvenience to business personnel in querying, analyzing, and using data. Summary of the invention

[0003] In order to solve the problems in the related art, the embodiments of the present disclosure provide a data processing and access method, device, computer system and readable storage medium.

[0004] In a first aspect, an embodiment of the present disclosure provides a data processing method.

[0005] Specifically, the data processing method includes: establishing a label corresponding to the data object;

[0006] displaying the label;

[0007] receiving a data access request automatically generated after a user selects the tag;

[0008] In response to the data access request, the content of the data object corresponding to the tag is provided to the user.

[0009] In combination with the first aspect, in a first implementation manner of the first aspect of the present disclosure, the content of the data object is a physical table content or a result obtained by operating the physical table content; or

[0010] The content of the data object is a proper subset of the content of the physical table or a result obtained by operating on the proper subset; or

[0011] The content of the data object is the field content in the physical table or the result obtained by operating the field content.

[0012] In combination with the first aspect, in a second implementation of the first aspect of the present disclosure, the step of establishing a label corresponding to the data object includes:

[0013] Establish corresponding labels for data objects associated with specific subjects.

[0014] In combination with the second implementation of the first aspect, in a third implementation of the first aspect of the present disclosure, the step of establishing a corresponding label for a data object associated with a specific subject includes:

[0015] Generate a corresponding label for a data object associated with a specific subject, and bind the corresponding label to the specific subject; or

[0016] Bind an existing tag to the specific subject.

[0017] In combination with the second implementation manner of the first aspect, in a fourth implementation manner of the first aspect of the present disclosure, the specific subject includes an entity or a relationship.

[0018] In combination with the fourth implementation of the first aspect, in a fifth implementation of the first aspect of the present disclosure, it is characterized in that the establishing of a corresponding label for a data object associated with a specific subject includes:

[0019] When the specific subject is an entity, a primary tag is established for a data object used to uniquely identify the entity, and a common tag is established for other data objects related to the entity;

[0020] When the specific subject is a relationship, primary tags are respectively established for multiple data objects used to uniquely identify the relationship to form a primary tag group used to uniquely identify the relationship, and common tags are established for other data objects related to the relationship.

[0021] In combination with the first aspect, in a sixth implementation manner of the first aspect of the present disclosure, establishing labels corresponding to data objects includes establishing corresponding labels for different data objects distributed in different data sources.

[0022] In combination with the sixth implementation manner of the first aspect, in a seventh implementation manner of the first aspect of the present disclosure, the data processing method further includes:

[0023] When the data access request involves the different data sources, generating a joint data source based on the different data sources;

[0024] The content of the data object corresponding to the tag is obtained from the joint data source.

[0025] In combination with the seventh implementation manner of the first aspect, in an eighth implementation manner of the first aspect of the present disclosure, generating a joint data source based on the different data sources includes:

[0026] When the different data sources are of different types, the joint data source is generated based on the different types of data sources, and the data in the joint data source complies with the same storage and access rules.

[0027] In combination with the first aspect, in a ninth implementation manner of the first aspect of the present disclosure, the data access request is generated based on a tag selected by a user and a type of a data source where a data object corresponding to the tag is located.

[0028] In a second aspect, an embodiment of the present disclosure provides a data processing method.

[0029] Specifically, the data processing method includes:

[0030] Establishing labels corresponding to data objects;

[0031] receiving a data access request automatically generated based on a selection of the tag;

[0032] In response to the data access request, content of the data object corresponding to the tag is provided.

[0033] In a third aspect, an embodiment of the present disclosure provides a data access method.

[0034] Specifically, the data access method includes: displaying a label corresponding to a data object;

[0035] In response to a user selecting the tag, automatically generating a data access request;

[0036] The content of the data object corresponding to the tag is received and returned in response to the data access request.

[0037] In combination with the third aspect, in a first implementation manner of the third aspect of the present disclosure, the content of the data object is a physical table content or a result obtained by operating the physical table content; or

[0038] The content of the data object is a proper subset of the content of the physical table or a result obtained by operating on the proper subset; or

[0039] The content of the data object is the field content in the physical table or the result obtained by operating the field content.

[0040] In combination with the third aspect, in a second implementation manner of the third aspect of the present disclosure, the data access method further includes: displaying a specific subject associated with the tag.

[0041] In combination with the third aspect, in a third implementation method of the third aspect of the present disclosure, the data access request is automatically generated in response to the user selecting the tag, including: when the data objects corresponding to the tag are distributed in different data sources, a cross-data source data access request is automatically generated.

[0042] In a fourth aspect, an embodiment of the present disclosure provides a data processing device.

[0043] Specifically, the data processing device includes: a label establishment module, used to establish a label corresponding to the data object;

[0044] A label display module, used to display the label;

[0045] A data access request receiving module, used for receiving a data access request automatically generated after a user selects the tag;

[0046] The data object content providing module is used to provide the content of the data object corresponding to the tag to the user in response to the data access request.

[0047] In combination with the fourth aspect, in a first implementation manner of the fourth aspect of the present disclosure, the content of the data object is a physical table content or a result obtained by operating the physical table content; or

[0048] The content of the data object is a proper subset of the content of the physical table or a result obtained by operating on the proper subset; or

[0049] The content of the data object is the field content in the physical table or the result obtained by operating the field content.

[0050] In combination with the fourth aspect, in a second implementation of the fourth aspect of the present disclosure, the step of establishing a label corresponding to the data object includes:

[0051] Establish corresponding labels for data objects associated with specific subjects.

[0052] In combination with the second implementation of the fourth aspect, in a third implementation of the fourth aspect of the present disclosure, the step of establishing a corresponding label for a data object associated with a specific subject includes:

[0053] Generate a corresponding label for a data object associated with a specific subject, and bind the corresponding label to the specific subject; or

[0054] Bind an existing tag to the specific subject.

[0055] In combination with the second implementation manner of the fourth aspect, in a fourth implementation manner of the fourth aspect of the present disclosure, the specific subject includes an entity or a relationship.

[0056] In combination with the fourth implementation of the fourth aspect, in a fifth implementation of the fourth aspect of the present disclosure, it is characterized in that the establishing of a corresponding label for a data object associated with a specific subject includes:

[0057] When the specific subject is an entity, a primary tag is established for a data object used to uniquely identify the entity, and a common tag is established for other data objects related to the entity;

[0058] When the specific subject is a relationship, primary tags are respectively established for multiple data objects used to uniquely identify the relationship to form a primary tag group used to uniquely identify the relationship, and common tags are established for other data objects related to the relationship.

[0059] In combination with the fourth aspect, in a sixth implementation of the fourth aspect of the present disclosure, the establishing of labels corresponding to data objects includes establishing corresponding labels for different data objects distributed in different data sources.

[0060] In combination with the sixth implementation manner of the fourth aspect, in a seventh implementation manner of the fourth aspect of the present disclosure, the data processing device further includes:

[0061] When the data access request involves the different data sources, generating a joint data source based on the different data sources;

[0062] The content of the data object corresponding to the tag is obtained from the joint data source.

[0063] In combination with the seventh implementation manner of the fourth aspect, in an eighth implementation manner of the fourth aspect of the present disclosure, generating a joint data source based on the different data sources includes:

[0064] When the different data sources are of different types, the joint data source is generated based on the different types of data sources, and the data in the joint data source complies with the same storage and access rules.

[0065] In combination with the fourth aspect, in a ninth implementation manner of the fourth aspect of the present disclosure, the data access request is generated based on a tag selected by a user and a type of a data source where a data object corresponding to the tag is located.

[0066] In a fifth aspect, an embodiment of the present disclosure provides a data access device.

[0067] Specifically, the data access device includes: a label display module, which displays labels corresponding to data objects;

[0068] a data access request generating module, for automatically generating a data access request in response to a user selecting the tag;

[0069] The data object content returning module is used to receive the content of the data object corresponding to the tag and returned in response to the data access request.

[0070] In combination with the fifth aspect, in a first implementation manner of the fifth aspect of the present disclosure, the content of the data object is a physical table content or a result obtained by operating the physical table content; or

[0071] The content of the data object is a proper subset of the content of the physical table or a result obtained by operating on the proper subset; or

[0072] The content of the data object is the field content in the physical table or the result obtained by operating the field content.

[0073] In combination with the fifth aspect, in a second implementation of the fifth aspect of the present disclosure, the data access device further includes: a specific subject display module, which is used to display the specific subject associated with the tag.

[0074] In combination with the fifth aspect, in a third implementation method of the fifth aspect of the present disclosure, the data access request is automatically generated in response to the user selecting the tag, including: when the data objects corresponding to the tag are distributed in different data sources, a cross-data source data access request is automatically generated.

[0075] In a sixth aspect, an embodiment of the present disclosure provides a computer system. Specifically, the computer system includes: a processor; a memory storing executable instructions, and when the executable instructions are executed by the processor, the following method steps are implemented:

[0076] displaying the label;

[0077] receiving a data access request automatically generated after a user selects the tag;

[0078] In response to the data access request, the content of the data object corresponding to the tag is provided to the user.

[0079] In combination with the sixth aspect, in a first implementation manner of the sixth aspect of the present disclosure, the content of the data object is a physical table content or a result obtained by operating the physical table content; or

[0080] The content of the data object is a proper subset of the content of the physical table or a result obtained by operating on the proper subset; or

[0081] The content of the data object is the field content in the physical table or the result obtained by operating the field content.

[0082] In combination with the sixth aspect, in a second implementation of the sixth aspect of the present disclosure, the step of establishing a label corresponding to the data object includes:

[0083] Establish corresponding labels for data objects associated with specific subjects.

[0084] In combination with the second implementation of the sixth aspect, in a third implementation of the sixth aspect of the present disclosure, the step of establishing a corresponding label for a data object associated with a specific subject includes:

[0085] Generate a corresponding label for a data object associated with a specific subject, and bind the corresponding label to the specific subject; or

[0086] Bind an existing tag to the specific subject.

[0087] In combination with the second implementation manner of the sixth aspect, in a fourth implementation manner of the sixth aspect of the present disclosure, the specific subject includes an entity or a relationship.

[0088] In combination with the fourth implementation of the sixth aspect, in a fifth implementation of the sixth aspect of the present disclosure, it is characterized in that the establishing of a corresponding label for a data object associated with a specific subject includes:

[0089] When the specific subject is an entity, a primary tag is established for a data object used to uniquely identify the entity, and a common tag is established for other data objects related to the entity;

[0090] When the specific subject is a relationship, primary tags are respectively established for multiple data objects used to uniquely identify the relationship to form a primary tag group used to uniquely identify the relationship, and common tags are established for other data objects related to the relationship.

[0091] In combination with the sixth aspect, in a sixth implementation of the sixth aspect of the present disclosure, the establishing of labels corresponding to data objects includes establishing corresponding labels for different data objects distributed in different data sources.

[0092] In combination with the sixth implementation of the sixth aspect, in a seventh implementation of the sixth aspect of the present disclosure, the data processing method further includes:

[0093] When the data access request involves the different data sources, generating a joint data source based on the different data sources;

[0094] The content of the data object corresponding to the tag is obtained from the joint data source.

[0095] In combination with the seventh implementation manner of the sixth aspect, in an eighth implementation manner of the sixth aspect of the present disclosure, generating a joint data source based on the different data sources includes:

[0096] When the different data sources are of different types, the joint data source is generated based on the different types of data sources, and the data in the joint data source complies with the same storage and access rules.

[0097] In combination with the sixth aspect, in a ninth implementation of the sixth aspect of the present disclosure, the data access request is generated based on a tag selected by a user and a type of data source where a data object corresponding to the tag is located.

[0098] In a seventh aspect, an embodiment of the present disclosure provides a computer system. Specifically, the computer system includes: a processor; a memory storing executable instructions, and when the executable instructions are executed by the processor, the following method steps are implemented:

[0099] In response to a user selecting the tag, automatically generating a data access request;

[0100] The content of the data object corresponding to the tag is received and returned in response to the data access request.

[0101] In combination with the seventh aspect, in a first implementation manner of the seventh aspect of the present disclosure, the content of the data object is a physical table content or a result obtained by operating the physical table content; or

[0102] The content of the data object is a proper subset of the content of the physical table or a result obtained by operating on the proper subset; or

[0103] The content of the data object is the field content in the physical table or the result obtained by operating the field content.

[0104] In combination with the seventh aspect, in a second implementation manner of the seventh aspect of the present disclosure, the data access method further includes: displaying a specific subject associated with the tag.

[0105] In combination with the seventh aspect, in a third implementation method of the seventh aspect of the present disclosure, the data access request is automatically generated in response to the user selecting the tag, including: when the data objects corresponding to the tag are distributed in different data sources, a cross-data source data access request is automatically generated.

[0106] In an eighth aspect, a computer-readable storage medium is provided in an embodiment of the present disclosure.

[0107] Specifically, the computer-readable storage medium stores executable instructions. When the executable instructions are executed by the processor, the method described in any one of the first aspect, the first implementation of the first aspect to the ninth implementation of the first aspect, the second aspect, the third aspect, the first implementation of the third aspect to the third implementation of the third aspect is implemented.

[0108] The technical solution provided by the disclosed embodiment may include the following beneficial effects: Based on the data objects of specific database tables, the disclosed embodiment abstracts the data objects associated with entities and relationships according to the needs of business personnel, and establishes labels for the data objects. In the process of accessing the database, business personnel only need to operate the entities, relationships and labels directly related to the business, without directly accessing the tables and fields of the underlying database. The disclosed embodiment converts the operations of business personnel on entities, relationships and labels into operations on tables and fields in the underlying database. Furthermore, entities, relationships and labels can be associated with multiple different tables in multiple different databases. In this way, business personnel can access the underlying database at the business level, shielding the database details that business personnel cannot understand and do not need to understand, and have the ability to access across multiple databases, thereby improving work efficiency.

[0109] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0110] Other features, objectives and advantages of the present disclosure will become more apparent through the following detailed description of non-limiting embodiments in conjunction with the accompanying drawings. In the accompanying drawings:

[0111] Figure 1 A diagram showing a correspondence relationship between an exemplary business model and a physical table according to an embodiment of the present disclosure;

[0112] Figure 2 A schematic diagram showing an exemplary user interface for performing data statistics using tags according to an embodiment of the present disclosure;

[0113] Figure 3A A flowchart showing a data processing method according to an embodiment of the present disclosure;

[0114] Figure 3B A flowchart showing a data processing method according to another embodiment of the present disclosure;

[0115] Figure 4 A flow chart showing a data access method according to an embodiment of the present disclosure;

[0116] Figure 5 A flow chart showing a data access method according to an embodiment of the present disclosure;

[0117] Figure 6 A block diagram showing a data processing device according to an embodiment of the present disclosure;

[0118] Figure 7 A block diagram showing a data access device according to an embodiment of the present disclosure;

[0119] Figure 8 A block diagram showing a data access device according to an embodiment of the present disclosure;

[0120] Fig. 9 A structural block diagram of a computer system according to an embodiment of the present disclosure is shown;

[0121] Fig.10 A schematic diagram showing the structure of a computer system suitable for implementing the data processing method and / or data access method according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0122] Hereinafter, exemplary embodiments of the present disclosure will be described in detail with reference to the accompanying drawings so that those skilled in the art can easily implement them. In addition, for the sake of clarity, parts not related to the description of the exemplary embodiments are omitted in the accompanying drawings.

[0123] In the present disclosure, it should be understood that terms such as "include" or "have" are intended to indicate the presence of features, numbers, steps, behaviors, components, parts, or a combination thereof disclosed in the present specification, and are not intended to exclude the possibility that one or more other features, numbers, steps, behaviors, components, parts, or a combination thereof exist or are added.

[0124] It should also be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present disclosure may be combined with each other. The present disclosure will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0125] Figure 1 A corresponding relationship diagram between an exemplary business model and a physical table according to an embodiment of the present disclosure is shown, which includes entities represented by circles, relationships represented by diamonds, and physical tables used to describe the entities and relationships respectively.

[0126] like Figure 1As shown, in the exemplary business model, buyers 110, sellers 120, and commodities 130 are associated with each other through relationships 140, and relationships 140 may be, for example, transaction relationships 150. Table A user basic information table 111 and Table B user transaction preference table 112 are used to describe buyers 110. Table A has fields uid (user ID), gender (gender), age (age), and Table B has fields uid (user ID), avg_spend (average monthly consumption amount), avg_bills (average monthly consumption). Table C seller information table 121 is used to describe sellers 120, which has fields shop_id (shop ID), s_name (shop name), s_star (shop star), s_platform (platform), s_rate (shop good reviews). Table D: Product information table 131 is used to describe product 130, which has fields item_id (product ID), shop_id (shop ID), item_title (product title), item_prop (product property), cat_id (category ID), cat_name (category name), price (product price). Table E: Order table 151 is used to describe transaction relationship 150, which has fields cid (order ID), uid (user ID), shop_id (shop ID), item_id (product ID), datetime (transaction date), amt_pay (transaction amount).

[0127] from Figure 1 It can be seen that business modeling may involve data in multiple physical tables. For users who are not familiar with database operations, writing database query statements such as SQL statements to access the database is a very difficult and arduous task.

[0128] Figure 2 A schematic diagram showing an exemplary user interface for performing data statistics using tags according to an embodiment of the present disclosure.

[0129] like Figure 2 As shown, the exemplary user interface includes a candidate label area 201 , a chart configuration area 202 , and a chart display area 203 .

[0130] As an example, the candidate tag area shows 4 different tags, each tag corresponds to a different field in the physical table, and the number and specific content of the tags can be automatically configured according to the user's current business scenario. For example, when creating a tag, the business scenario applicable to the tag can be set, so that the tag to be displayed can be automatically determined according to the current business scenario.

[0131] For example, when the user wants to perform statistical analysis on the user's electricity consumption, the candidate label area 201 can display labels: customer status (status_code), customer number (cons_no), urban and rural category (urban_rural), settlement method (settle_mode), which correspond to the fields in the physical table: status_code, cons_no, urban_rural, and settle_mode.

[0132] Assuming that the data that the user wants to count is the number of users with different user statuses, the user status label (status_code) can be dragged to the "Select X-axis" input box of the chart configuration area 202, and the customer number label (cons_no) can be dragged to the "Select Y-axis" input box of the chart configuration area 202, and then the count "Count" can be selected in the "Aggregate function" input box, and "Histogram" can be selected in the "Statistical chart" input box. According to the label selected by the user, the system automatically determines the field in the physical table corresponding to the label, generates a database query statement, and obtains the field data. The field data is processed according to the aggregate function selected by the user and displayed in the chart display area 203 in the form of a histogram.

[0133] It can be seen from the above examples that according to the embodiments of the present disclosure, users do not need to understand the underlying technology of database access, but can easily access database data simply by selecting a label, which provides great convenience to users. In particular, due to the rapid development of computer technology, the update and iteration of database technology is also very rapid, requiring business personnel to master the latest database technology like professional developers, which will undoubtedly seriously affect production and operational efficiency and increase enterprise costs for enterprises. Through the technology of the present disclosure, the underlying technology of the database can be shielded from business personnel. When the database technology is updated, the developers only need to modify the label system accordingly. The business system is less affected and no additional training is required for business personnel.

[0134] Figure 3A A flow chart of a data processing method according to an embodiment of the present disclosure is shown.

[0135] like Figure 3A As shown, the data processing method according to the embodiment of the present disclosure includes the following steps S301 to S304.

[0136] In step S301, a label corresponding to a data object is established;

[0137] In step S302, the label is displayed;

[0138] In step S303, receiving a data access request automatically generated after the user selects the tag;

[0139] In step S304, in response to the data access request, the content of the data object corresponding to the tag is provided to the user.

[0140] For example, in Figure 1 In the example shown, based on business needs, you can create tags: user ID (f_uid), age (f_age), shop ID (f_shop_id), transaction date (f_datetime), and transaction amount (f_amt_pay). f_uid corresponds to the field uid in table A; f_age corresponds to the field age in table A; f_shop_id corresponds to the field shop_id in table C; f_datetime corresponds to the field datetime in table E; and f_amt_pay corresponds to the field amt_pay in table E. Figure 2 In the example shown, the tag configuration area 202 displays tags: customer status (status_code), customer number (cons_no), urban-rural category (urban_rural), settlement mode (settle_mode), which correspond to the fields in the physical table: status_code, cons_no, urban_rural, settle_mode. After the user selects a tag, a database SQL query statement can be automatically generated to obtain the content of the corresponding data object in the database.

[0141] In this way, users can access the underlying database through tags and complete business-related analysis without knowing the details of the underlying database tables and fields.

[0142] Figure 3B A flow chart of a data processing method according to another embodiment of the present disclosure is shown.

[0143] like Figure 3B As shown, the data processing method includes the following steps S305 to S307.

[0144] In step S305, a label corresponding to the data object is established.

[0145] In step S306 , a data access request automatically generated based on the selection of the tag is received.

[0146] In step S307, in response to the data access request, the content of the data object corresponding to the tag is provided.

[0147] According to the embodiments of the present disclosure, in addition to the user, the subject who selects the tag can also be automatically selected during the program execution process. For example, during the program execution process, the tag is automatically selected according to a certain calculation result or judgment result obtained previously, thereby realizing access to the data object corresponding to the tag. By accessing the data object through the tag, the technical details of the underlying data source (for example, the database) can be shielded from the subject accessing the data object. In the process of data access, there is no need to write complex access statements for the underlying database, which is convenient for users, simplifies program design, and improves program operation efficiency.

[0148] According to an embodiment of the present disclosure, in reference to Figure 3A or Figure 3B In the described method, the data access request is generated based on the tag selected by the user and the type of data source where the data object corresponding to the tag is located. Specifically, the data source may be of different types. When selecting a tag, the user can specify the data source or data source type that he wants to access, or the data source or data source type can be automatically determined based on the tag attributes. According to the data source type, the data access request is automatically generated in the corresponding query language and syntax, thereby realizing access to multiple different types of data sources.

[0149] According to an embodiment of the present disclosure, the content of the data object is the content of a physical table or a result obtained by operating on the content of the physical table; or the content of the data object is a proper subset of the content of the physical table or a result obtained by operating on the proper subset; or the content of the data object is the content of a field in a physical table or a result obtained by operating on the content of the field.

[0150] The content of the data object may be the content of the entire physical table, or a proper subset of the physical table content, such as a set of several field contents or a set of specific records in several field contents, or the content of a single field in the physical table. According to the embodiment of the present disclosure, a field may be a column in a physical table, and a record may be a row in a physical table. Alternatively, the content of the data object may be the result of an operation on the content of a physical table or a proper subset of the content of a physical table or the content of a field. For example, assuming that the physical table includes two fields: registration date and total consumption amount, a label "average monthly consumption amount" may be established, and the content of the corresponding data object of the label may be calculated based on the content of the two fields: registration date and total consumption amount. Alternatively, assuming that the physical table includes a field: average daily visits, a label "average monthly visits" may be established, and the content of the corresponding data object of the label may be calculated based on the content of the field average daily visits. In this way, labels may be established more flexibly based on business needs on the basis of existing database records, further facilitating the use of business personnel.

[0151] According to an embodiment of the present disclosure, the step of establishing a label corresponding to a data object includes: establishing a corresponding label for a data object associated with a specific subject.

[0152] The specific subject associated with the data object can be an entity or a relationship. For example, the label f_shop_id can correspond to Figure 1 The field shop_id of the table C of the seller 120 (entity) in the transaction relationship 150 (relationship) can correspond to the field shop_id of the table E of the transaction relationship 150 (relationship). Creating tags for data objects associated with a specific subject facilitates users to identify the tags they need to use and also facilitates classification management of tags.

[0153] According to an embodiment of the present disclosure, establishing a corresponding label for a data object associated with a specific subject includes: generating a corresponding label for a data object associated with a specific subject; or binding an existing label to the specific subject.

[0154] According to an embodiment of the present disclosure, a data object associated with a specific subject may already have a corresponding label, in which case the label can be bound to the specific subject; alternatively, a data object associated with a specific subject may not have a corresponding label, in which case a corresponding label needs to be generated for the data object associated with the specific subject, and then the label can be bound to the specific subject.

[0155] According to an embodiment of the present disclosure, the corresponding labels are established for data objects associated with a specific subject, including: when the specific subject is an entity, a primary label is established for the data object used to uniquely identify the entity, and a common label is established for other data objects related to the entity; when the specific subject is a relationship, primary labels are respectively established for multiple data objects used to uniquely identify the relationship to form a primary label group used to uniquely identify the relationship, and common labels are established for other data objects related to the relationship.

[0156] For example, in Figure 1In Table A and Table B, uid (user ID) is the field that uniquely identifies the user, so the tag f_uid is the primary tag, and the other tags are common tags. The shop_id (shop ID) in Table C is the field that uniquely identifies the shop, so f_shop_id is the primary tag. When modeling a relationship, a relationship can consist of two or more related entities. In this case, the primary tags of the two or more entities can be used to form the primary tag group of the relationship, which is used to uniquely identify a relationship. A relationship can also be associated with only one entity. In this case, several primary tags can be specified to form the primary tag group of the relationship with the primary tag of the entity. For example, if a relationship is such that someone ran a red light at xx time at xx location, if only the primary tag (person id) of the person is used, then if a person runs a red light multiple times, there will be multiple records, which does not meet the requirement that the primary tag uniquely determines an object. Therefore, a field (such as "red light running time") can be selected from the relationship data and combined with the person id to form a primary tag group. In this way, the red light running record (relationship) of a person can be uniquely agreed upon by the person id + red light running time. By establishing main tags and main tag groups, each record in the database table can be easily distinguished, thereby improving the efficiency of database operations.

[0157] According to an embodiment of the present disclosure, the establishing of labels corresponding to data objects includes establishing corresponding labels for different data objects distributed in different data sources.

[0158] According to an embodiment of the present disclosure, the data source may be a physical table. Figure 1 In the example, for the entity of buyer 110, you can create tags: user ID (f_uid), age (f_age), average monthly consumption amount (f_avg_spend), where the fields corresponding to f_uid and f_age are in table A, and the field corresponding to f_avg_spend is in table B. Table A and table B are different data sources. Since the fields of the physical table are relatively fixed, while the business models vary greatly, a single physical table may not meet the requirements of the business model. By creating tags across tables for specific entities, the diversified requirements of the business model can be met.

[0159] According to an embodiment of the present disclosure, when the data access request involves the different data sources, a joint data source is generated based on the different data sources; and the content of the data object corresponding to the tag is acquired from the joint data source.

[0160] For example, in the above example, when a data query request that requires a cross-table query is received, such as when a data query request involving both the user's age (age) and the average monthly consumption amount (avg_spend) is received, Table A and Table B are combined to generate a large data table, and the field content corresponding to the above label is obtained from the large data table. This can avoid repeated queries in multiple data tables, improve system execution efficiency, and avoid omissions. Moreover, users only need to select labels without paying attention to the underlying cross-table access details, and do not need to write cross-table access statements by themselves, which greatly facilitates users.

[0161] According to an embodiment of the present disclosure, the generation of a joint data source based on the different data sources includes: when the different data sources are of different types, the joint data source is generated based on the different types of data sources, and the data in the joint data source complies with the same storage and access rules. Specifically, when the types of data sources to be accessed are different, a joint data source can be first generated based on these different types of data sources, and the data in the joint data source complies with the same storage and access rules, thereby achieving access across different types of data sources. For example, if the two databases to be accessed are an Oracle database and an SQL database, respectively, a SQL joint database can be generated based on the association and correspondence between the data in the two databases, and the SQL joint database can be accessed. In this way, access to different types of data sources can be achieved.

[0162] According to an embodiment of the present disclosure, the data access request is generated based on a tag selected by a user and the type of data source where the data object corresponding to the tag is located.

[0163] Figure 4 A flow chart of a data access method according to an embodiment of the present disclosure is shown.

[0164] like Figure 4 As shown, the data access method according to the embodiment of the present disclosure includes steps S401 to S403.

[0165] In step S401, a label corresponding to a data object is displayed;

[0166] In step S402, in response to the user selecting the tag, a data access request is automatically generated;

[0167] In step S403, the content of the data object corresponding to the tag returned in response to the data access request is received.

[0168] According to the embodiment of the present disclosure, the user may be a business person of the enterprise or other person who wants to use the database.

[0169] For example, Figure 2 As shown, the exemplary user interface includes a candidate label area 201, a chart configuration area 202, and a chart display area 203. As an example, the candidate label area shows 4 different labels, each label corresponds to a different field in the physical table, and the number and specific content of the labels can be automatically configured according to the user's current business scenario. For example, when creating a label, the business scenario applicable to the label can be set, so that the label to be displayed can be automatically determined according to the current business scenario.

[0170] For example, when the user wants to perform statistical analysis on the user's electricity consumption, the candidate label area 201 can display labels: customer status (status_code), customer number (cons_no), urban and rural category (urban_rural), settlement method (settle_mode), which correspond to the fields in the physical table: status_code, cons_no, urban_rural, and settle_mode.

[0171] Assuming that the data that the user wants to count is the number of users with different user statuses, the user status label (status_code) can be dragged to the "Select X-axis" input box of the chart configuration area 202, and the customer number label (cons_no) can be dragged to the "Select Y-axis" input box of the chart configuration area 202, and then the count "Count" can be selected in the "Aggregate function" input box, and "Histogram" can be selected in the "Statistical chart" input box. According to the label selected by the user, the system automatically determines the field in the physical table corresponding to the label, generates a data access request, and obtains the field data. The field data is processed according to the aggregate function selected by the user and displayed in the chart display area 203 in the form of a histogram.

[0172] It can be seen from the above examples that according to the embodiments of the present disclosure, users do not need to understand the underlying technology of database access, but can easily access database data simply by selecting a label, which provides great convenience to users. In particular, due to the rapid development of computer technology, the update and iteration of database technology is also very rapid, requiring business personnel to master the latest database technology like professional developers, which will undoubtedly seriously affect production and operational efficiency and increase enterprise costs for enterprises. Through the technology of the present disclosure, the underlying technology of the database can be shielded from business personnel. When the database technology is updated, the developers only need to modify the label system accordingly. The business system is less affected and no additional training is required for business personnel.

[0173] According to an embodiment of the present disclosure, the content of the data object is the content of a physical table or a result obtained by operating on the content of the physical table; or the content of the data object is a proper subset of the content of the physical table or a result obtained by operating on the proper subset; or the content of the data object is the content of a field in a physical table or a result obtained by operating on the content of the field.

[0174] The content of the data object may be the content of the entire physical table, or a proper subset of the physical table content, such as a set of several field contents or a set of specific records in several field contents, or the content of a single field in the physical table. According to the embodiment of the present disclosure, a field may be a column in a physical table, and a record may be a row in a physical table. Alternatively, the content of the data object may be the result of an operation on the content of a physical table or a proper subset of the content of a physical table or the content of a field. For example, assuming that the physical table includes two fields: registration date and total consumption amount, a label "average monthly consumption amount" may be established, and the content of the corresponding data object of the label may be calculated based on the content of the two fields: registration date and total consumption amount. Alternatively, assuming that the physical table includes a field: average daily visits, a label "average monthly visits" may be established, and the content of the corresponding data object of the label may be calculated based on the content of the field average daily visits. In this way, labels may be established more flexibly based on business needs on the basis of existing database records, further facilitating the use of business personnel.

[0175] Figure 5 A flow chart of a data access method according to an embodiment of the present disclosure is shown.

[0176] Figure 5 In addition to including and Figure 4 The same steps S401 to S403 also include step S404.

[0177] In step S404, a specific subject associated with the tag is displayed.

[0178] For example, when displaying the tags user ID (f_uid) and age (f_age), the entity associated with the two tags can also be displayed: buyer 110; when displaying the tags transaction date (f_datetime) and transaction amount (f_amt_pay), the transaction relationship 150 associated with the two tags can also be displayed. In this way, it is convenient for users to understand which entity or relationship the tag corresponds to.

[0179] According to an embodiment of the present disclosure, automatically generating a data access request in response to a user selecting the tag includes: automatically generating a cross-data source data access request when the data objects corresponding to the tag are distributed in different data sources.

[0180] According to an embodiment of the present disclosure, the data source may be a physical table. Figure 1 In the example, for the entity of buyer 110, you can create tags: user ID (f_uid), age (f_age), average monthly consumption amount (f_avg_spend), where the fields corresponding to f_uid and f_age are in table A, and the field corresponding to f_avg_spend is in table B. Table A and table B are different data sources. Since the fields of the physical table are relatively fixed, while the business models vary greatly, a single physical table may not meet the requirements of the business model. By creating tags across tables for specific entities, the diversified requirements of the business model can be met.

[0181] According to an embodiment of the present disclosure, when the data objects corresponding to the tags are distributed in different data sources, a cross-data source data access request is automatically generated.

[0182] For example, in the above example, when a data query request that requires a cross-table query is received, such as when a data query request involving both the user's age (age) and the average monthly spending amount (avg_spend) is received, a cross-data source data access request is automatically generated. This can avoid repeated queries in multiple data tables, improve system execution efficiency, and avoid omissions. Moreover, users only need to select tags without paying attention to the underlying cross-table access details, and do not need to write cross-table access statements themselves, which greatly facilitates users.

[0183] Figure 6 A block diagram of a data processing device according to an embodiment of the present disclosure is shown.

[0184] like Figure 6 As shown, the data processing device 600 according to an embodiment of the present disclosure includes:

[0185] The label establishment module 601 is used to establish a label corresponding to the data object;

[0186] The label display module 602 is used to display the label;

[0187] A data access request receiving module 603, used to receive a data access request automatically generated after a user selects the tag;

[0188] The data object content providing module 604 is used to provide the content of the data object corresponding to the tag to the user in response to the data access request.

[0189] According to an embodiment of the present disclosure, the content of the data object is the content of a physical table or a result obtained by operating on the content of the physical table; or the content of the data object is a proper subset of the content of the physical table or a result obtained by operating on the proper subset; or the content of the data object is the content of a field in a physical table or a result obtained by operating on the content of the field.

[0190] According to an embodiment of the present disclosure, the step of establishing a label corresponding to a data object includes: establishing a corresponding label for a data object associated with a specific subject.

[0191] According to an embodiment of the present disclosure, establishing a corresponding label for a data object associated with a specific subject includes: generating a corresponding label for a data object associated with a specific subject, and binding the corresponding label to the specific subject; or binding an existing label to the specific subject.

[0192] According to an embodiment of the present disclosure, the specific subject includes an entity or a relationship.

[0193] According to an embodiment of the present disclosure, the corresponding labels are established for data objects associated with a specific subject, including: when the specific subject is an entity, a primary label is established for the data object used to uniquely identify the entity, and a common label is established for other data objects related to the entity; when the specific subject is a relationship, primary labels are respectively established for multiple data objects used to uniquely identify the relationship to form a primary label group used to uniquely identify the relationship, and common labels are established for other data objects related to the relationship.

[0194] According to an embodiment of the present disclosure, the establishing of labels corresponding to data objects includes establishing corresponding labels for different data objects distributed in different data sources.

[0195] According to an embodiment of the present disclosure, when the data access request involves the different data sources, a joint data source is generated based on the different data sources; and the content of the data object corresponding to the tag is acquired from the joint data source.

[0196] According to an embodiment of the present disclosure, the generation of a joint data source based on the different data sources includes: when the different data sources are of different types, the joint data source is generated based on the different types of data sources, and the data in the joint data source complies with the same storage and access rules. Specifically, when the types of data sources to be accessed are different, a joint data source can be first generated based on these different types of data sources, and the data in the joint data source complies with the same storage and access rules, thereby achieving access across different types of data sources. For example, if the two databases to be accessed are an Oracle database and an SQL database, respectively, a SQL joint database can be generated based on the association and correspondence between the data in the two databases, and the SQL joint database can be accessed. In this way, access to different types of data sources can be achieved.

[0197] According to an embodiment of the present disclosure, the data access request is generated based on a tag selected by a user and the type of data source where the data object corresponding to the tag is located.

[0198] Figure 7 A block diagram of a data access device according to an embodiment of the present disclosure is shown.

[0199] like Figure 7 As shown, the data access device 700 according to an embodiment of the present disclosure includes:

[0200] The label display module 701 displays labels corresponding to data objects;

[0201] A data access request generating module 702, for automatically generating a data access request in response to a user selecting the tag;

[0202] The data object content returning module 703 is configured to receive the content of the data object corresponding to the tag and returned in response to the data access request.

[0203] According to an embodiment of the present disclosure, the content of the data object is the content of a physical table or a result obtained by operating on the content of the physical table; or the content of the data object is a proper subset of the content of the physical table or a result obtained by operating on the proper subset; or the content of the data object is the content of a field in a physical table or a result obtained by operating on the content of the field.

[0204] Figure 8 A block diagram of a data access device according to an embodiment of the present disclosure is shown.

[0205] exist Figure 8 In addition to including and Figure 7 The same modules 701 to 703 as in the above, and also include additional modules:

[0206] The specific subject display module 704 is used to display the specific subject associated with the tag.

[0207] According to an embodiment of the present disclosure, automatically generating a data access request in response to a user selecting the tag includes: automatically generating a cross-data source data access request when the data objects corresponding to the tag are distributed in different data sources.

[0208] Fig. 9 A structural block diagram of a computer system according to an embodiment of the present disclosure is shown.

[0209] like Fig. 9 As shown, the computer system 900 includes a memory 901 and a processor 902. The memory 901 is used to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor 902 to implement the following method steps:

[0210] Establishing labels corresponding to data objects;

[0211] displaying the label;

[0212] receiving a data access request automatically generated after a user selects the tag;

[0213] In response to the data access request, the content of the data object corresponding to the tag is provided to the user.

[0214] According to an embodiment of the present disclosure, the content of the data object is the content of a physical table or a result obtained by operating the content of the physical table; or

[0215] The content of the data object is a proper subset of the content of the physical table or a result obtained by operating on the proper subset; or

[0216] The content of the data object is the field content in the physical table or the result obtained by operating the field content.

[0217] According to an embodiment of the present disclosure, a corresponding label is established for a data object associated with a specific subject.

[0218] According to an embodiment of the present disclosure, the step of establishing a corresponding label for a data object associated with a specific subject includes:

[0219] Generate a corresponding label for a data object associated with a specific subject, and bind the corresponding label to the specific subject; or

[0220] Bind an existing tag to the specific subject.

[0221] According to an embodiment of the present disclosure, the specific subject includes an entity or a relationship.

[0222] According to an embodiment of the present disclosure, the step of establishing a corresponding label for a data object associated with a specific subject includes:

[0223] When the specific subject is an entity, a primary tag is established for a data object used to uniquely identify the entity, and a common tag is established for other data objects related to the entity;

[0224] When the specific subject is a relationship, primary tags are respectively established for multiple data objects used to uniquely identify the relationship to form a primary tag group used to uniquely identify the relationship, and common tags are established for other data objects related to the relationship.

[0225] According to an embodiment of the present disclosure, the establishing of labels corresponding to data objects includes establishing corresponding labels for different data objects distributed in different data sources.

[0226] According to an embodiment of the present disclosure, the method steps further include:

[0227] When the data access request involves the different data sources, generating a joint data source based on the different data sources;

[0228] The content of the data object corresponding to the tag is obtained from the joint data source.

[0229] According to an embodiment of the present disclosure, generating a joint data source based on the different data sources includes:

[0230] When the different data sources are of different types, the joint data source is generated based on the different types of data sources, and the data in the joint data source complies with the same storage and access rules.

[0231] According to an embodiment of the present disclosure, the data access request is generated based on a tag selected by a user and the type of data source where the data object corresponding to the tag is located.

[0232] The one or more computer instructions may be executed by the processor 902 to implement the following method steps:

[0233] Display labels corresponding to data objects;

[0234] In response to a user selecting the tag, automatically generating a data access request;

[0235] The content of the data object corresponding to the tag is received and returned in response to the data access request.

[0236] According to an embodiment of the present disclosure, the content of the data object is the content of a physical table or a result obtained by operating on the content of the physical table; or the content of the data object is a proper subset of the content of the physical table or a result obtained by operating on the proper subset; or the content of the data object is the content of a field in a physical table or a result obtained by operating on the content of the field.

[0237] According to an embodiment of the present disclosure, the method steps further include: displaying a specific subject associated with the tag.

[0238] According to an embodiment of the present disclosure, automatically generating a data access request in response to a user selecting the tag includes: automatically generating a cross-data source data access request when the data objects corresponding to the tag are distributed in different data sources.

[0239] Fig.10 A schematic diagram showing the structure of a computer system suitable for implementing the data processing method and / or data access method according to an embodiment of the present disclosure is shown.

[0240] like Fig.10 As shown, the computer system 1000 includes a central processing unit (CPU) 1001, which can perform various processes in the above-mentioned embodiments according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage part 1009 into a random access memory (RAM) 1003. In the RAM 1003, various programs and data required for the operation of the system 1000 are also stored. The CPU 1001, the ROM 1002, and the RAM 1003 are connected to each other via a bus 1004. An input / output (I / O) interface 1005 is also connected to the bus 1004.

[0241] The following components are connected to the I / O interface 1005: an input section 1006 including a keyboard, a mouse, etc.; an output section 1007 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 1008 including a hard disk, etc.; and a communication section 1009 including a network interface card such as a LAN card, a modem, etc. The communication section 1009 performs communication processing via a network such as the Internet. A drive 1010 is also connected to the I / O interface 1005 as needed. A removable medium 1011, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 1010 as needed, so that a computer program read therefrom is installed into the storage section 1008 as needed.

[0242] In particular, according to an embodiment of the present disclosure, the method described above can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program tangibly contained on its readable medium, and the computer program includes a program code for executing the above-mentioned data processing and / or access method. In such an embodiment, the computer program can be downloaded and installed from a network through the communication part 1009, and / or installed from the removable medium 1011.

[0243] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the road map or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0244] The units or modules involved in the embodiments described in the present disclosure may be implemented by software or programmable hardware. The units or modules described may also be set in a processor, and the names of these units or modules do not constitute limitations on the units or modules themselves in some cases.

[0245] As another aspect, the present disclosure further provides a readable storage medium, which may be a readable storage medium included in the electronic device or computer system in the above embodiment; or a readable storage medium that exists independently and is not assembled into the device. The readable storage medium stores one or more programs, and the programs are used by one or more processors to execute the method described in the present disclosure.

[0246] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Developers in the field should understand that the scope of the invention involved in the present disclosure is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the inventive concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other.

Claims

1. A data processing method, characterized in that: include: Establishing labels corresponding to data objects; displaying the label; receiving a data access request automatically generated after a user selects the tag; The data access request is generated based on a tag selected by a user and a type of a data source where a data object corresponding to the tag selected by the user is located; the tag selected by the user is selected by the user from the displayed tags; In response to the data access request, providing the user with the content of the data object corresponding to the tag, the content of the data object including chart data; The establishing of labels corresponding to the data objects includes establishing corresponding labels for different data objects distributed in different data sources respectively; The method further comprises: When the data access request involves the different data sources, generating a joint data source based on the different data sources; Acquire the content of the data object corresponding to the tag from the joint data source; The generating a joint data source based on the different data sources includes: When the different data sources are of different types, the joint data source is generated based on the different types of data sources, and the data in the joint data source complies with the same storage and access rules.

2. The method according to claim 1, characterized in that: The content of the data object is the content of a physical table or a result obtained by operating the content of the physical table; or The content of the data object is a proper subset of the content of the physical table or a result obtained by operating on the proper subset; or The content of the data object is the field content in the physical table or the result obtained by operating the field content.

3. The method according to claim 1, characterized in that The step of establishing a label corresponding to the data object includes: Establish corresponding labels for data objects associated with specific subjects.

4. The method according to claim 3, characterized in that The step of establishing a corresponding label for a data object associated with a specific subject includes: Generate a corresponding label for a data object associated with a specific subject, and bind the corresponding label to the specific subject; or Bind an existing tag to the specific subject.

5. The method according to claim 3, characterized in that: The specific subject includes an entity or a relationship.

6. The method according to claim 5, characterized in that The step of establishing a corresponding label for a data object associated with a specific subject includes: When the specific subject is an entity, a primary tag is established for a data object used to uniquely identify the entity, and a common tag is established for other data objects related to the entity; When the specific subject is a relationship, primary tags are respectively established for multiple data objects used to uniquely identify the relationship to form a primary tag group used to uniquely identify the relationship, and common tags are established for other data objects related to the relationship.

7. A data processing method, characterized in that: include: Establishing labels corresponding to data objects; receiving a data access request automatically generated based on a selection of the tag; The data access request is generated based on a tag selected by a user and a type of a data source where a data object corresponding to the tag selected by the user is located; the tag selected by the user is selected by the user from the displayed tags; In response to the data access request, providing content of the data object corresponding to the tag, the content of the data object including chart data; The establishing of labels corresponding to the data objects includes establishing corresponding labels for different data objects distributed in different data sources respectively; The method further comprises: When the data access request involves the different data sources, generating a joint data source based on the different data sources; Acquire the content of the data object corresponding to the tag from the joint data source; The generating a joint data source based on the different data sources includes: When the different data sources are of different types, the joint data source is generated based on the different types of data sources, and the data in the joint data source complies with the same storage and access rules.

8. A data access method, characterized in that: include: Display labels corresponding to data objects; In response to the user selecting the tag, automatically generating a data access request; the data access request is generated based on the tag selected by the user and the type of data source where the data object corresponding to the tag selected by the user is located; the tag selected by the user is selected by the user from the displayed tags; receiving content of the data object corresponding to the tag returned in response to the data access request, wherein the content of the data object includes chart data; The labels corresponding to the data objects are corresponding labels established for different data objects distributed in different data sources; The method further comprises: When the data access request involves the different data sources, generating a joint data source based on the different data sources; Acquire the content of the data object corresponding to the tag from the joint data source; The generating a joint data source based on the different data sources includes: When the different data sources are of different types, the joint data source is generated based on the different types of data sources, and the data in the joint data source complies with the same storage and access rules.

9. The method according to claim 8, characterized in that: The content of the data object is the content of a physical table or a result obtained by operating the content of the physical table; or The content of the data object is a proper subset of the content of the physical table or a result obtained by operating on the proper subset; or The content of the data object is the field content in the physical table or the result obtained by operating the field content.

10. The method according to claim 8, characterized in that Also includes: Displays the specific subject associated with the tag.

11. The method according to claim 8, characterized in that In response to the user selecting the tag, automatically generating a data access request comprises: When the data objects corresponding to the tags are distributed in different data sources, a cross-data source data access request is automatically generated.

12. A data processing device, characterized in that: include: A label creation module, used to create labels corresponding to data objects; A label display module, used to display the label; a data access request receiving module, configured to receive a data access request automatically generated after a user selects the tag; the data access request is generated based on the tag selected by the user and the type of data source where the data object corresponding to the tag selected by the user is located; the tag selected by the user is selected by the user from the displayed tags; a data object content providing module, configured to provide the user with the content of the data object corresponding to the tag in response to the data access request, wherein the content of the data object includes chart data; The establishing of labels corresponding to the data objects includes establishing corresponding labels for different data objects distributed in different data sources respectively; When the data access request involves the different data sources, generating a joint data source based on the different data sources; Acquire the content of the data object corresponding to the tag from the joint data source; The generating a joint data source based on the different data sources includes: When the different data sources are of different types, the joint data source is generated based on the different types of data sources, and the data in the joint data source complies with the same storage and access rules.

13. A data access device, characterized in that: include: The label display module displays labels corresponding to data objects; a data access request generation module, configured to automatically generate a data access request in response to a user selecting the tag; the data access request is generated based on the tag selected by the user and the type of data source where the data object corresponding to the tag selected by the user is located; the tag selected by the user is selected by the user from the displayed tags; A data object content returning module, configured to receive the content of the data object corresponding to the tag returned in response to the data access request, wherein the content of the data object includes chart data; The labels corresponding to the data objects are corresponding labels established for different data objects distributed in different data sources; When the data access request involves the different data sources, generating a joint data source based on the different data sources; Acquire the content of the data object corresponding to the tag from the joint data source; The generating a joint data source based on the different data sources includes: When the different data sources are of different types, the joint data source is generated based on the different types of data sources, and the data in the joint data source complies with the same storage and access rules.

14. The device according to claim 13, characterized in that Also includes: The specific subject display module is used to display the specific subject associated with the tag.

15. A computer system, characterized in that: Comprises a memory and a processor; wherein the memory is used to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the method steps of any one of claims 1-7, or the method steps of any one of claims 8-11.

16. A readable storage medium having computer instructions stored thereon, characterized in that: When the computer instructions are executed by a processor, the method steps of any one of claims 1-7 or any one of claims 8-11 are implemented.

Citation Information

Patent Citations

  • Tagged data construction method and device, tagged data query method and device, equipment and storage medium

    CN110377649A