CN113722315A - Data generation method and device, electronic equipment and computer readable medium - Google Patents

Data generation method and device, electronic equipment and computer readable medium Download PDF

Info

Publication number
CN113722315A
CN113722315A CN202110034475.2A CN202110034475A CN113722315A CN 113722315 A CN113722315 A CN 113722315A CN 202110034475 A CN202110034475 A CN 202110034475A CN 113722315 A CN113722315 A CN 113722315A
Authority
CN
China
Prior art keywords
data
target
business
service
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110034475.2A
Other languages
Chinese (zh)
Inventor
贾广亮
张睿
刘倩
王威
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Century Trading Co Ltd
Beijing Wodong Tianjun Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Wodong Tianjun Information Technology Co Ltd
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 Beijing Jingdong Century Trading Co Ltd, Beijing Wodong Tianjun Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN202110034475.2A priority Critical patent/CN113722315A/en
Publication of CN113722315A publication Critical patent/CN113722315A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2282Tablespace storage structures; Management thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0639Performance analysis of employees; Performance analysis of enterprise or organisation operations
    • G06Q10/06393Score-carding, benchmarking or key performance indicator [KPI] analysis

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Development Economics (AREA)
  • Strategic Management (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Educational Administration (AREA)
  • Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Game Theory and Decision Science (AREA)
  • Software Systems (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Computational Linguistics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the disclosure discloses a data generation method, a data generation device, an electronic device and a computer readable medium. One specific embodiment of the data generation method includes: acquiring data requirement information of data to be inquired; determining a service unit associated with the data to be queried by using a pre-constructed data processing platform, wherein the data processing platform processes an index and the data corresponding to the index through three levels of a service domain, a service theme and the service unit, the service domain corresponds to at least one service theme, the service theme corresponds to at least one service unit, and the service unit corresponds to at least one data index; acquiring a pre-established list corresponding to the service unit; and generating the data to be queried according to the list and the data requirement information. The embodiment can efficiently and accurately generate the data to be queried related to the data requirement information through the data processing platform and the data requirement information.

Description

Data generation method and device, electronic equipment and computer readable medium
Technical Field
Embodiments of the present disclosure relate to the field of computer technologies, and in particular, to a data generation method, an apparatus, an electronic device, and a computer-readable medium.
Background
Currently, each enterprise may need data of a certain dimension of the target business domain involved, so that the data can be further analyzed and certain strategies can be adopted subsequently. Currently, for the generation of data of a certain dimension of a target business field, a general method is as follows: and directly inquiring a detail table related to data of a certain dimension of the target business field, and analyzing the data through the detail table to obtain the data.
However, when the above data is generated in the above manner, there are often technical problems as follows: the generated data is not reasonable and effective enough, resulting in lower efficiency and accuracy.
Disclosure of Invention
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
Some embodiments of the present disclosure propose data generation methods, apparatuses, devices and computer readable media to solve the technical problems mentioned in the background section above.
In a first aspect, some embodiments of the present disclosure provide a data generation method, including: acquiring data requirement information of data to be inquired; determining a service unit associated with the data to be queried by using a pre-constructed data processing platform, wherein the data processing platform processes indexes and data corresponding to the indexes through three levels of a service domain, a service theme and the service unit, the service domain corresponds to at least one service theme, the service theme corresponds to at least one service unit, and the service unit corresponds to at least one data index; acquiring a pre-established list corresponding to the service unit, wherein the list records data information of each index in the service unit; and generating the data to be inquired according to the list and the data requirement information.
Optionally, the determining, by using a pre-constructed data processing platform, a service unit associated with the data to be queried includes: determining a business domain associated with the data to be queried as a first target business domain by utilizing a pre-constructed data processing platform; determining a business theme related to the first target business domain as a first target business theme by utilizing the data processing platform according to the data requirement information; and determining the business unit associated with the first target business theme by utilizing the data processing platform according to the data requirement information.
Optionally, the generating the data to be queried according to the list and the data requirement information includes: summarizing the dimension table and the detail table to generate a data summary table; and according to the data requirement information, performing data screening on the data in the data summary table to obtain the data to be inquired.
Optionally, the service domain, the service theme, the service unit, the index and the data in the data processing platform are added through the following steps: acquiring target data from a data source; determining whether a service domain associated with the target data exists in each service domain in the data processing platform as a second target service domain; in response to determining that the second target service domain exists, determining each service topic set associated with the second target service domain; determining whether a business theme related to the target data exists in each business theme set related to the second target business domain as a second target business theme; in response to determining that the second target business theme exists, determining each business unit associated with the second target business theme; determining whether a service unit associated with the target data exists in each service unit associated with the second target service theme as a second target service unit; in response to determining that the second target business unit exists, adding the target data to a list corresponding to the second target business unit according to a predetermined time.
Optionally, the method further includes: in response to determining that the second target business topic does not exist, adding the second target business topic to each business topic associated with the second target business domain; adding the second target business unit in the business unit associated with the second target business theme; creating at least one index corresponding to the second target service unit and a list associated with the second target service unit; and adding data index information corresponding to the target data to a list associated with the second target service unit according to a preset time and storing at least one index corresponding to the second target service unit.
Optionally, the method further includes: in response to determining that the second target service unit does not exist, adding the second target service unit to each service unit associated with the second target service theme; creating at least one index corresponding to the second target service unit and a list associated with the second target service unit; and adding data index information corresponding to the target data to a list associated with the second target service unit according to a preset time and storing at least one index corresponding to the second target service unit.
Optionally, the dimension table and the detail table corresponding to the service unit are continuously updated according to a predetermined time period.
In a second aspect, some embodiments of the present disclosure provide an apparatus for generating data, the apparatus comprising: a first acquisition unit configured to acquire data requirement information of data to be queried; the data processing platform processes indexes and data corresponding to the indexes through three levels of business domains, business themes and business units, wherein the business domains correspond to at least one business theme, the business themes correspond to at least one business unit, and the business units correspond to at least one data index; a second obtaining unit, configured to obtain a pre-established list corresponding to the service unit, where the list records data information of each index in the service unit; and a generating unit configured to generate the data to be queried according to the list and the data request information.
Optionally, the determining unit is further configured to: determining a business domain associated with the data to be queried as a first target business domain by utilizing a pre-constructed data processing platform; determining a business theme related to the first target business domain as a first target business theme by utilizing the data processing platform according to the data requirement information; and determining the business unit associated with the first target business theme by utilizing the data processing platform according to the data requirement information.
Optionally, the generating unit is further configured to: summarizing the dimension table and the detail table to generate a data summary table; and according to the data requirement information, performing data screening on the data in the data summary table to obtain the data to be inquired.
Optionally, the apparatus further comprises: the service domain, the service theme, the service unit, the index and the data in the data processing platform are added through the following steps: acquiring target data from a data source; determining whether a service domain associated with the target data exists in each service domain in the data processing platform as a second target service domain; in response to determining that the second target service domain exists, determining each service topic set associated with the second target service domain; determining whether a business theme related to the target data exists in each business theme set related to the second target business domain as a second target business theme; in response to determining that the second target business theme exists, determining each business unit associated with the second target business theme; determining whether a service unit associated with the target data exists in each service unit associated with the second target service theme as a second target service unit; in response to determining that the second target business unit exists, adding the target data to a list corresponding to the second target business unit according to a predetermined time.
Optionally, the apparatus further comprises: in response to determining that the second target business topic does not exist, adding the second target business topic to each business topic associated with the second target business domain; adding the second target business unit in the business unit associated with the second target business theme; creating at least one index corresponding to the second target service unit and a list associated with the second target service unit; and adding data index information corresponding to the target data to a list associated with the second target service unit according to a preset time and storing at least one index corresponding to the second target service unit.
Optionally, the apparatus further comprises: in response to determining that the second target service unit does not exist, adding the second target service unit to each service unit associated with the second target service theme; creating at least one index corresponding to the second target service unit and a list associated with the second target service unit; and adding data index information corresponding to the target data to a list associated with the second target service unit according to a preset time and storing at least one index corresponding to the second target service unit.
Optionally, the apparatus further comprises: and the dimension table and the detail table corresponding to the service unit are continuously updated according to a preset time period.
In a third aspect, some embodiments of the present disclosure provide an electronic device, comprising: one or more processors; a storage device having one or more programs stored thereon which, when executed by one or more processors, cause the one or more processors to implement a method as in any one of the first aspects.
In a fourth aspect, some embodiments of the disclosure provide a computer readable medium having a computer program stored thereon, wherein the program when executed by a processor implements a method as in any one of the first aspect.
The above embodiments of the present disclosure have the following beneficial effects: according to the data generation method of some embodiments of the disclosure, the data to be queried related to the data requirement information can be efficiently and accurately generated through the data processing platform and the data requirement information. In particular, the generated data is not reasonable and efficient enough, resulting in lower efficiency and accuracy. Based on this, the data generation method of some embodiments of the present disclosure may first obtain data requirement information of the data to be queried for use as a basis for generating the data to be queried. And then, determining a business unit associated with the data to be queried by using a pre-constructed data processing platform. The data processing platform processes indexes and data corresponding to the indexes through three levels of a service domain, a service theme and a service unit, wherein the service domain corresponds to at least one service theme, the service theme corresponds to at least one service unit, and the service unit corresponds to at least one data index. The data processing platform can efficiently and accurately process the data through three levels of a service domain, a service theme and a service unit, so that the data is more refined. In practice, the data processing platform also associates the data corresponding to each link through a service scene. And further, a pre-established list corresponding to the service unit is obtained. And finally, according to the list corresponding to the service unit and the data requirement information, the data to be inquired can be accurately generated. Therefore, the method can efficiently and accurately generate the data to be inquired related to the data requirement information through the data processing platform and the data requirement information.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale.
FIG. 1 is a schematic diagram of an application scenario diagram of a data generation method of some embodiments of the present disclosure;
FIG. 2 is a flow diagram of some embodiments of a data generation method according to the present disclosure;
FIG. 3 is a schematic illustration of a joining data processing platform of a data generation method according to some embodiments of the present disclosure;
FIG. 4 is a flow diagram of further embodiments of a data generation method according to the present disclosure;
FIG. 5 is a schematic block diagram of some embodiments of a data generation apparatus according to the present disclosure;
FIG. 6 is a schematic structural diagram of an electronic device suitable for use in implementing some embodiments of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings. The embodiments and features of the embodiments in the present disclosure may be combined with each other without conflict.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Fig. 1 is a schematic diagram of an application scenario diagram of a data generation method of some embodiments of the present disclosure.
As shown in fig. 1, the electronic device 101 may first obtain data requirement information 102 of data 106 to be queried. In the application scenario, the data requirement information 102 may be: "count the ex-warehouse information of floristic logistics from 1 month to 2 months in Beijing area". Then, by using the pre-constructed data processing platform 103, the business unit 104 associated with the data 106 to be queried is determined. The data processing platform 103 processes the indexes and the data corresponding to the indexes through three levels, namely, a service domain, a service theme and a service unit, wherein the service domain corresponds to at least one service theme, the service theme corresponds to at least one service unit, and the service unit corresponds to at least one data index. In this application scenario, the service unit 104 may be an ex-warehouse service unit 104. Then, a pre-established list 105 corresponding to the service unit 104 is obtained. In the present application scenario, the schedule table 105 may be the ex-warehouse schedule 1051. Finally, the data to be queried 106 is generated based on the list 105 and the data request information 102. In this application scenario, the data to be queried 106 may be: "data of the stock-out of florist logistics from 1 month to 2 months in Beijing area".
The electronic device 101 may be hardware or software. When the electronic device is hardware, the electronic device may be implemented as a distributed cluster formed by a plurality of servers or terminal devices, or may be implemented as a single server or a single terminal device. When the electronic device is embodied as software, it may be installed in the above-listed hardware devices. It may be implemented, for example, as multiple software or software modules to provide distributed services, or as a single software or software module. And is not particularly limited herein.
It should be understood that the number of electronic devices in fig. 1 is merely illustrative. There may be any number of electronic devices, as desired for implementation.
With continued reference to fig. 2, a flow 200 of some embodiments of a data generation method according to the present disclosure is shown. The data generation method comprises the following steps:
step 201, obtaining data requirement information of data to be queried.
In some embodiments, an executing subject of the data generating method (for example, the electronic device 101 shown in fig. 1) may obtain the data requirement information of the data to be queried in a wired connection manner or a wireless connection manner. Here, the data requirement information may be information required by the user in a certain dimension according to a specific service scenario. For example, the data requirement information may be; "data of ex-warehouse of florist logistics in Peking area from 1 month to 2 months" in the field of logistics. Here, the above-mentioned logistics field characterizes a business scenario. The geographic dimension may be "Beijing". The time dimension may be "months 1 to 2".
It should be noted that the wireless connection means may include, but is not limited to, a 3G/4G/5G connection, a WiFi connection, a bluetooth connection, a WiMAX connection, a Zigbee connection, a uwb (ultra wideband) connection, and other wireless connection means now known or developed in the future.
Step 202, determining a service unit associated with the data to be queried by using a pre-constructed data processing platform.
In some embodiments, the execution subject may determine, by using a pre-built data processing platform, a business unit associated with the data to be queried. The data processing platform processes indexes and data corresponding to the indexes through three levels of a service domain, a service theme and a service unit, wherein the service domain corresponds to at least one service theme, the service theme corresponds to at least one service unit, and the service unit corresponds to at least one data index. Here, the service domain may refer to a service domain. By way of example, the business domain may be a business domain involved by a target enterprise that is associated with a development of the enterprise. For example, the business field may be an enterprise business field, a business field related to user health. The business theme can be theme information planned for different business fields. The business theme comprises at least one piece of business index information. By way of example, business areas related to logistics may correspond to distribution topics, warehouse topics, and so forth. The business index information included in the transaction topic may be: order number index, transaction amount index, and the like. The ex-warehouse service unit corresponds to indexes such as ex-warehouse time index, ex-warehouse state index, ex-warehouse single number index, ex-warehouse article name index and the like.
Step 203, obtaining a pre-established list corresponding to the service unit.
In some embodiments, the execution main body may obtain the pre-established list corresponding to the service unit in a wired connection manner or a wireless connection manner. Wherein, the list records data information of each index in the service unit.
It should be noted that the wireless connection means may include, but is not limited to, a 3G/4G/5G connection, a WiFi connection, a bluetooth connection, a WiMAX connection, a Zigbee connection, a uwb (ultra wideband) connection, and other wireless connection means now known or developed in the future.
And step 204, generating the data to be inquired according to the list and the data requirement information.
In some embodiments, the executing entity may generate the data to be queried according to the list and the data requirement information. For example, the execution body may sequentially filter the data information of each index in the list according to the data request information.
In some optional implementation manners of some embodiments, the generating the data to be queried according to the list and the data requirement information may include the following steps:
and step one, summarizing the dimension table and the detail table to generate a data summary table.
And secondly, screening the data in the data summary table according to the data requirement information to obtain the data to be inquired.
Optionally, the dimension table and the detail table corresponding to the service unit are continuously updated according to a predetermined time period.
In some optional implementation manners of some embodiments, the service domain, the service theme, the service unit, the index, and the data in the data processing platform are added by the following steps:
first, target data is obtained from a data source. The data of the data source is reported by each production system, and different systems can report the data continuously every day. The data source is from the production system and the user reporting system. For example: the article information is input by adopting a pin and stored in a database, and the order placing process of a user is to transmit messages through each interface and store the messages in the database.
And secondly, determining whether a service domain associated with the target data exists in each service domain in the data processing platform as a second target service domain. As an example, the executing entity may determine whether a service domain associated with the target data exists in each service domain in the data processing platform as a second target service domain by querying a relevant database.
And thirdly, in response to the second target service domain, determining each service theme set associated with the second target service domain. As an example, in response to determining that the second target service domain exists, the execution subject may determine, by querying a relevant database, respective service subject sets associated with the second target service domain.
And fourthly, determining whether the business theme related to the target data exists in each business theme set related to the second target business domain or not as a second target business theme. As an example, the executing entity may determine whether a business topic associated with the target data exists in each business topic set associated with the second target business domain as a second target business topic by querying a related database
And fifthly, determining each service unit associated with the second target service theme in response to determining that the second target service theme exists. As an example, in response to determining that the second target business topic exists, the executing entity may query a relevant database to determine the business units associated with the second target business topic.
And sixthly, determining whether the service unit associated with the target data exists in each service unit associated with the second target service theme or not as a second target service unit. As an example, the executing entity may query a relevant database to determine whether a service unit associated with the target data exists in service units associated with the second target service topic as a second target service unit.
Seventhly, in response to determining that the second target service unit exists, adding the target data to a list corresponding to the second target service unit according to a predetermined time.
As an example, as shown in fig. 3, the target data may be: "shipment information of the target item of today's commonweal logistics". Then, the data processing platform has the corresponding business fields as follows: "field of logistics". Then, through the target data and the 'logistics field', the data processing platform can be determined to have the corresponding service theme as follows: "subject of transaction". Furthermore, according to the target data and the transaction theme, the data processing platform is determined to have corresponding service units as follows: "shipping service unit". And finally, adding the target data to a detail list corresponding to the shipment service unit.
Optionally, the above steps further include:
and step one, in response to determining that the second target business topic does not exist, adding the second target business topic in each business topic associated with the second target business domain.
And secondly, adding the second target business unit in the business unit associated with the second target business theme.
And step three, establishing at least one index corresponding to the second target service unit and a list associated with the second target service unit.
And fourthly, adding data index information corresponding to the target data to a detailed table associated with the second target service unit according to preset time and storing at least one index corresponding to the second target service unit.
Optionally, the above steps further include:
and step one, responding to the fact that the second target service unit does not exist, and adding the second target service unit in each service unit associated with the second target service theme.
And step two, at least one index corresponding to the second target service unit and a detail list associated with the second target service unit are newly established.
And thirdly, adding data index information corresponding to the target data to a detailed table associated with the second target service unit according to preset time and storing at least one index corresponding to the second target service unit.
The above embodiments of the present disclosure have the following beneficial effects: according to the data generation method of some embodiments of the disclosure, the data to be queried related to the data requirement information can be efficiently and accurately generated through the data processing platform and the data requirement information. In particular, the generated data is not reasonable and efficient enough, resulting in lower efficiency and accuracy. Based on this, the data generation method of some embodiments of the present disclosure may first obtain data requirement information of the data to be queried for use as a basis for generating the data to be queried. And then, determining a business unit associated with the data to be queried by using a pre-constructed data processing platform. The data processing platform processes indexes and data corresponding to the indexes through three levels of a service domain, a service theme and a service unit, wherein the service domain corresponds to at least one service theme, the service theme corresponds to at least one service unit, and the service unit corresponds to at least one data index. The data processing platform can efficiently and accurately process the data through three levels of a service domain, a service theme and a service unit, so that the data is more refined. In practice, the data processing platform also associates the data corresponding to each link through a service scene. And further, a pre-established list corresponding to the service unit is obtained. And finally, according to the list corresponding to the service unit and the data requirement information, the data to be inquired can be accurately generated. Therefore, the method can efficiently and accurately generate the data to be inquired related to the data requirement information through the data processing platform and the data requirement information.
With continued reference to FIG. 4, a flow 400 of further embodiments of a data generation method according to the present disclosure is shown. The data generation method comprises the following steps:
step 401, obtaining data requirement information of data to be queried.
Step 402, using a pre-constructed data processing platform to determine a service domain associated with the data to be queried as a first target service domain.
In some embodiments, an executing agent (e.g., the electronic device 101 shown in fig. 1) may determine, by using a pre-built data processing platform, a business domain associated with the data to be queried as a first target business domain.
Step 403, according to the data requirement information, determining a service topic associated with the first target service domain as a first target service topic by using the data processing platform.
In some embodiments, the execution subject may determine, by using the data processing platform, a service topic associated with the first target service domain as the first target service topic according to the data requirement information.
And step 404, determining the service unit associated with the first target service theme by using the data processing platform according to the data requirement information.
In some embodiments, the executing agent may determine, by using the data processing platform, the service unit associated with the first target service theme according to the data requirement information.
Step 405, obtaining a pre-established list corresponding to the service unit.
Step 406, generating the data to be queried according to the list and the data requirement information.
In some embodiments, the specific implementation and technical effects of steps 401, 405 and 406 can refer to steps 201, 203 and 204 in the embodiments corresponding to fig. 2, which are not described herein again.
As can be seen from fig. 4, compared with the description of some embodiments corresponding to fig. 2, the flow 400 of the data generation method in some embodiments corresponding to fig. 4 embodies the step of determining the service unit associated with the data to be queried. Therefore, the scheme described in the embodiments enables the data processing platform to efficiently and accurately process data through three levels of the service domain, the service theme and the service unit, so that the data is more refined. In practice, the data processing platform also associates the data corresponding to each link through a service scene.
With continuing reference to fig. 5, as an implementation of the above-described method for the above-described figures, the present disclosure provides some embodiments of a data generating apparatus, which correspond to those of the method embodiments described above for fig. 2, and which may be particularly applicable to various electronic devices.
As shown in fig. 5, the data generation apparatus 500 of some embodiments includes: a first acquisition unit 501, a determination unit 502, a second acquisition unit 503, and a generation unit 504. The first obtaining unit 501 is configured to obtain data requirement information of data to be queried. A determining unit 502, configured to determine, by using a pre-constructed data processing platform, a service unit associated with the data to be queried, where the data processing platform processes an index and data corresponding to the index through three levels, namely, a service domain, a service topic and a service unit, the service domain corresponds to at least one service topic, the service topic corresponds to at least one service unit, and the service unit corresponds to at least one data index. A second obtaining unit 503, configured to obtain a pre-established list corresponding to the service unit, where the list records data information of each index in the service unit. A generating unit 504 configured to generate the data to be queried according to the list and the data request information.
In some optional implementations of some embodiments, the determining unit 502 of the data generating apparatus 500 may be further configured to: determining a business domain associated with the data to be queried as a first target business domain by utilizing a pre-constructed data processing platform; determining a business theme related to the first target business domain as a first target business theme by utilizing the data processing platform according to the data requirement information; and determining the business unit associated with the first target business theme by utilizing the data processing platform according to the data requirement information.
In some optional implementations of some embodiments, the generating unit 504 of the data generating apparatus 500 may be further configured to: summarizing the dimension table and the detail table to generate a data summary table; and according to the data requirement information, performing data screening on the data in the data summary table to obtain the data to be inquired.
In some optional implementation manners of some embodiments, the service domain, the service theme, the service unit, the index, and the data in the data processing platform are added by the following steps: acquiring target data from a data source; determining whether a service domain associated with the target data exists in each service domain in the data processing platform as a second target service domain; in response to determining that the second target service domain exists, determining each service topic set associated with the second target service domain; determining whether a business theme related to the target data exists in each business theme set related to the second target business domain as a second target business theme; in response to determining that the second target business theme exists, determining each business unit associated with the second target business theme; determining whether a service unit associated with the target data exists in each service unit associated with the second target service theme as a second target service unit; in response to determining that the second target business unit exists, adding the target data to a list corresponding to the second target business unit according to a predetermined time. In some alternative implementations of some embodiments, the decision tree is one of: the method comprises the steps of determining a decision tree of the attribute to be divided based on information gain, determining a decision tree of the attribute to be divided based on an information gain rate, and determining a decision tree of the attribute to be divided based on a Gini coefficient.
In some optional implementations of some embodiments, the data generating apparatus 500 further includes: in response to determining that the second target business topic does not exist, adding the second target business topic to each business topic associated with the second target business domain; adding the second target business unit in the business unit associated with the second target business theme; creating at least one index corresponding to the second target service unit and a list associated with the second target service unit; and adding data index information corresponding to the target data to a list associated with the second target service unit according to a preset time and storing at least one index corresponding to the second target service unit.
In some optional implementations of some embodiments, the data generating apparatus 500 further includes: in response to determining that the second target service unit does not exist, adding the second target service unit to each service unit associated with the second target service theme; creating at least one index corresponding to the second target service unit and a list associated with the second target service unit; and adding data index information corresponding to the target data to a list associated with the second target service unit according to a preset time and storing at least one index corresponding to the second target service unit.
In some optional implementation manners of some embodiments, the dimension table and the detail table corresponding to the service unit are continuously updated according to a predetermined time period.
It will be understood that the elements described in the apparatus 500 correspond to various steps in the method described with reference to fig. 2. Thus, the operations, features and resulting advantages described above with respect to the method are also applicable to the apparatus 500 and the units included therein, and are not described herein again.
Referring now to fig. 6, shown is a schematic diagram of an electronic device 600 suitable for use in implementing some embodiments of the present disclosure. The electronic device shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 6, electronic device 600 may include a processing means (e.g., central processing unit, graphics processor, etc.) 601 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage means 608 into a Random Access Memory (RAM) 603. In the RAM603, various programs and data necessary for the operation of the electronic apparatus 600 are also stored. The processing device 601, the ROM 602, and the RAM603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
Generally, the following devices may be connected to the I/O interface 605: input devices 606 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 607 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 608 including, for example, tape, hard disk, etc.; and a communication device 609. The communication means 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. While fig. 6 illustrates an electronic device 600 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided. Each block shown in fig. 6 may represent one device or may represent multiple devices as desired.
In particular, according to some embodiments of the present disclosure, the processes described above with reference to the flow diagrams may be implemented as computer software programs. For example, some embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In some such embodiments, the computer program may be downloaded and installed from a network through the communication device 609, or installed from the storage device 608, or installed from the ROM 602. The computer program, when executed by the processing device 601, performs the above-described functions defined in the methods of some embodiments of the present disclosure.
It should be noted that the computer readable medium described above in some embodiments of the present disclosure may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In some embodiments of the disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In some embodiments of the present disclosure, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the apparatus; or may exist separately without being assembled into the electronic device. The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: acquiring data requirement information of data to be inquired; determining a service unit associated with the data to be queried by using a pre-constructed data processing platform, wherein the data processing platform processes indexes and data corresponding to the indexes through three levels of a service domain, a service theme and the service unit, the service domain corresponds to at least one service theme, the service theme corresponds to at least one service unit, and the service unit corresponds to at least one data index; acquiring a pre-established list corresponding to the service unit, wherein the list records data information of each index in the service unit; and generating the data to be inquired according to the list and the data requirement information.
Computer program code for carrying out operations for embodiments of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in some embodiments of the present disclosure may be implemented by software, and may also be implemented by hardware. The described units may also be provided in a processor, and may be described as: a processor includes a first acquisition unit, a determination unit, a second acquisition unit, and a generation unit. The names of these units do not in some cases form a limitation to the unit itself, and for example, the second obtaining unit may also be described as a "unit that obtains a pre-established list corresponding to the service unit".
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention in the embodiments of the present disclosure is not limited to the specific combination of the above-mentioned features, but also encompasses other embodiments in which any combination of the above-mentioned features or their equivalents is made without departing from the inventive concept as defined above. For example, the above features and (but not limited to) technical features with similar functions disclosed in the embodiments of the present disclosure are mutually replaced to form the technical solution.

Claims (10)

1. A method of data generation, comprising:
acquiring data requirement information of data to be inquired;
determining a service unit associated with the data to be queried by using a pre-constructed data processing platform, wherein the data processing platform processes indexes and data corresponding to the indexes through three levels of a service domain, a service theme and the service unit, the service domain corresponds to at least one service theme, the service theme corresponds to at least one service unit, and the service unit corresponds to at least one data index;
acquiring a pre-established list corresponding to the service unit, wherein the list records data information of each index in the service unit;
and generating the data to be inquired according to the list and the data requirement information.
2. The method of claim 1, wherein the determining, by using a pre-built data processing platform, the business unit associated with the data to be queried comprises:
determining a business domain associated with the data to be queried as a first target business domain by utilizing a pre-constructed data processing platform;
determining a business theme related to the first target business domain as a first target business theme by utilizing the data processing platform according to the data requirement information;
and determining the business unit associated with the first target business theme by utilizing the data processing platform according to the data requirement information.
3. The method of claim 1, wherein the generating the data to be queried according to the list and the data requirement information comprises:
summarizing the dimension table and the detail table to generate a data summary table;
and according to the data requirement information, data in the data summary table are subjected to data screening to obtain the data to be inquired.
4. The method of claim 1, wherein business domains, business topics, business units, metrics, and data in the data processing platform are added by:
acquiring target data from a data source;
determining whether a service domain associated with the target data exists in each service domain in the data processing platform as a second target service domain;
in response to determining that the second target service domain exists, determining respective service topic sets associated with the second target service domain;
determining whether a business theme related to the target data exists in each business theme set related to the second target business domain as a second target business theme;
in response to determining that the second target business topic exists, determining business units associated with the second target business topic;
determining whether a service unit associated with the target data exists in each service unit associated with the second target service theme as a second target service unit;
in response to determining that the second target business unit exists, adding the target data to a list corresponding to the second target business unit according to a predetermined time.
5. The method of claim 4, wherein the method further comprises:
in response to determining that the second target business topic does not exist, adding the second target business topic in each business topic associated with the second target business domain;
adding the second target business unit in the business unit associated with the second target business theme;
at least one index corresponding to the second target service unit and a list associated with the second target service unit are newly established;
and adding data index information corresponding to the target data to a list associated with the second target service unit according to a preset time and storing at least one index corresponding to the second target service unit.
6. The method of claim 4, wherein the method further comprises:
in response to determining that the second target business unit does not exist, adding the second target business unit to each business unit associated with the second target business topic;
at least one index corresponding to the second target service unit and a list associated with the second target service unit are newly established;
and adding data index information corresponding to the target data to a list associated with the second target service unit according to a preset time and storing at least one index corresponding to the second target service unit.
7. The method of claim 3, wherein the dimension table and the detail table corresponding to the service unit are continuously updated according to a predetermined time period.
8. A data generation apparatus, comprising:
a first acquisition unit configured to acquire data requirement information of data to be queried;
the data processing platform processes indexes and data corresponding to the indexes through three levels of business domains, business themes and business units, wherein the business domains correspond to at least one business theme, the business themes correspond to at least one business unit, and the business units correspond to at least one data index;
a second obtaining unit, configured to obtain a pre-established list corresponding to the service unit, where the list records data information of each index in the service unit;
and the generating unit is configured to generate the data to be inquired according to the list and the data requirement information.
9. An electronic device, comprising:
one or more processors;
storage means for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method recited in any of claims 1-7.
10. A computer-readable medium, on which a computer program is stored, wherein the program, when executed by a processor, implements the method of any one of claims 1-7.
CN202110034475.2A 2021-01-11 2021-01-11 Data generation method and device, electronic equipment and computer readable medium Pending CN113722315A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110034475.2A CN113722315A (en) 2021-01-11 2021-01-11 Data generation method and device, electronic equipment and computer readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110034475.2A CN113722315A (en) 2021-01-11 2021-01-11 Data generation method and device, electronic equipment and computer readable medium

Publications (1)

Publication Number Publication Date
CN113722315A true CN113722315A (en) 2021-11-30

Family

ID=78672491

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110034475.2A Pending CN113722315A (en) 2021-01-11 2021-01-11 Data generation method and device, electronic equipment and computer readable medium

Country Status (1)

Country Link
CN (1) CN113722315A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115374187A (en) * 2022-10-24 2022-11-22 北京国电通网络技术有限公司 Index data acquisition method and device, electronic equipment and computer readable medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115374187A (en) * 2022-10-24 2022-11-22 北京国电通网络技术有限公司 Index data acquisition method and device, electronic equipment and computer readable medium

Similar Documents

Publication Publication Date Title
CN105472045A (en) Database migration method and database migration device
CN111026944B (en) Information processing method, device, medium and electronic equipment
US20160019273A1 (en) Collaborative product lifecycle management
CN111950857A (en) Index system management method and device based on service indexes and electronic equipment
CN115293657B (en) Carbon emission index information generation method, apparatus, electronic device, and medium
CN110737655B (en) Method and device for reporting data
CN112699111B (en) Report generation method and device, electronic equipment and computer readable medium
CN113722315A (en) Data generation method and device, electronic equipment and computer readable medium
CN110866031B (en) Database access path optimization method and device, computing equipment and medium
CN111787041B (en) Method and device for processing data
CN111324470A (en) Method and device for generating information
CN113378346A (en) Method and device for model simulation
CN112507676B (en) Method and device for generating energy report, electronic equipment and computer readable medium
CN111278085A (en) Method and device for acquiring target network
CN110730109A (en) Method and apparatus for generating information
CN111552715B (en) User query method and device
CN109587066B (en) Method and device for generating information
CN115034175A (en) Table data processing method, device, terminal and storage medium
CN113760929A (en) Data synchronization method and device, electronic equipment and computer readable medium
CN112100211A (en) Data storage method and device, electronic equipment and computer readable medium
CN113554385B (en) Distribution robot control method, distribution robot control device, electronic equipment and computer readable medium
CN113077352B (en) Insurance service article recommending method based on user information and insurance related information
CN112015997B (en) Page display method and device, electronic equipment and computer readable medium
CN111143408B (en) Event processing method and device based on business rule
CN113962782A (en) Order information processing method and device, electronic equipment and computer readable medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination