Index coding method and device, electronic device, and computer readable medium

By determining the request account and region and generating indicator code values ​​based on the service and logical structure, the automation and uniformity of indicator code management in telecom operators are solved, and the uniqueness and efficient management of indicator codes are achieved.

CN114841302BActive Publication Date: 2024-12-24CHINA UNITED NETWORK COMM GRP CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202210549468.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-20
Publication Date
2024-12-24
Estimated Expiration
2042-05-20

AI Technical Summary

Technical Problem

In the prior art, the indicator coding management method of telecom operators cannot automatically generate indicator coding, resulting in repeated indicator coding and lack of unified monitoring and management, especially in scenarios with a wide business scope and a large number of indicators.

Method used

By responding to indicator encoding requests, determine the request account and its corresponding region, and generate unique indicator encoding values ​​based on the business architecture and logical architecture to ensure the traceability and uniqueness of encoding and improve coding efficiency.

Benefits of technology

It realizes the uniqueness and unified management of indicator coding, improves coding efficiency, can automatically generate indicator coding, and solves the problem of repeated indicator coding.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114841302B_ABST
    Figure CN114841302B_ABST
Patent Text Reader

Abstract

The present invention discloses an indicator coding method and device, an electronic device, and a computer-readable medium to solve the problem of repeated coding of indicators and lack of unified monitoring and management of indicators in the prior art due to the business corresponding to the indicators being used as the coding basis. The indicator coding method of the present invention includes: in response to an indicator coding request, determining a requesting account that issues the indicator coding request and a region corresponding to the requesting account; wherein the indicator coding request includes a business architecture and a logical architecture of the indicator to be coded; respectively determining first coding values ​​corresponding to the requesting account, the region corresponding to the requesting account, the business architecture of the indicator to be coded, and the logical architecture of the indicator to be coded; according to each of the first coding values, determining a second coding value corresponding to the indicator to be coded, the second coding value being used to indicate the dimension of the indicator to be coded.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to an indicator coding method, an indicator coding device, an electronic device, and a computer-readable medium. Background Art

[0002] Indicators reflect the quantitative concepts and value characteristics of enterprise operations. In some related technologies, the business corresponding to the indicator is used as the coding basis, the name of the indicator is split according to a certain format, the split fields are encoded, and the final indicator code is formed by merging.

[0003] However, the indicators of some enterprises (such as telecom operators) involve a wide range of business and a large number of indicators. For the same business, each department and branch has its own definition, resulting in repeated coding of indicators. At the same time, each branch may have different rules for the coding format of various indicators, resulting in a lack of unified monitoring and management of indicators.

[0004] Moreover, the current telecom operators' indicator coding management method mainly manages existing indicators. When new indicators are generated, it is impossible to automatically generate indicator codes based on business categories, regions or operators. Summary of the invention

[0005] To this end, the present invention provides an indicator coding method and device, an electronic device, and a computer-readable medium to solve the problem in the prior art of repeated coding of indicators due to the business corresponding to the indicators being used as the coding basis, and lack of unified monitoring and management of the indicators.

[0006] In order to achieve the above object, the present invention provides an indicator encoding method in a first aspect, the method comprising:

[0007] In response to the indicator coding request, determining the requesting account that issues the indicator coding request and the region corresponding to the requesting account; wherein the indicator coding request includes the business architecture and the logical architecture of the indicator to be coded;

[0008] Determine first coding values ​​corresponding to the requesting account, the region corresponding to the requesting account, the business architecture of the indicator to be coded, and the logical architecture of the indicator to be coded, respectively;

[0009] According to each of the first coding values, a second coding value corresponding to the indicator to be encoded is determined, and the second coding value is used to indicate the dimension of the indicator to be encoded.

[0010] Optionally, the respectively determining of the first coding values ​​corresponding to the requesting account, the region corresponding to the requesting account, the business architecture of the indicator to be coded, and the logical architecture of the indicator to be coded includes: determining the management identifier corresponding to the management unit to which the requesting account belongs as the first coding value corresponding to the requesting account; determining the administrative organization code of the region corresponding to the requesting account as the first coding value corresponding to the region corresponding to the requesting account; determining the business identifier corresponding to the business architecture of the indicator to be coded according to the correspondence between the preset business architecture type and the business identifier and the business architecture of the indicator to be coded, and determining the business identifier corresponding to the business architecture of the indicator to be coded as the first coding value corresponding to the business architecture of the indicator to be coded; determining the logical identifier corresponding to the logical architecture of the indicator to be coded according to the correspondence between the preset logical architecture type and the logical identifier and the logical architecture of the indicator to be coded, and determining the logical identifier corresponding to the logical architecture of the indicator to be coded as the first coding value corresponding to the logical architecture of the indicator to be coded.

[0011] Further optionally, after determining the second coding value corresponding to the indicator to be encoded based on each of the first coding values, it also includes: in response to a correspondence modification request, modifying the correspondence between the business architecture type and the business identifier and / or the correspondence between the logical architecture type and the logical identifier; wherein the correspondence modification request includes at least one of a request to modify the correspondence between the business architecture type and the business identifier and a request to modify the correspondence between the logical architecture type and the logical identifier; determining a modified first coding value corresponding to the business architecture and / or logical architecture of the indicator to be encoded based on the modified correspondence between the business architecture type and the business identifier and / or the modified correspondence between the logical architecture type and the logical identifier; and determining a modified second coding value corresponding to the indicator to be encoded based on the modified first coding value.

[0012] Optionally, determining the second coding value corresponding to the indicator to be encoded according to each of the first coding values, includes: determining the natural order corresponding to the indicator to be encoded according to the number of coding values ​​existing in the indicator coding data lake; wherein the indicator coding data lake includes coding values ​​corresponding to multiple indicators; according to the order of the first coding value corresponding to the requesting account, the first coding value corresponding to the region corresponding to the requesting account, the first coding value corresponding to the business architecture of the indicator to be encoded, the first coding value corresponding to the logical architecture of the indicator to be encoded, and the order of the natural order corresponding to the indicator to be encoded, the first coding values ​​are spliced ​​into the second coding value corresponding to the indicator to be encoded.

[0013] Optionally, after determining the second coding value corresponding to the indicator to be encoded according to each of the first coding values, it also includes: in response to a dimension value encoding request, encoding each layer of dimension value under the dimension of the indicator to be encoded using digital coding according to the second coding value.

[0014] Optionally, the respectively determining of the first coding values ​​corresponding to the requesting account, the region corresponding to the requesting account, the business architecture of the indicator to be encoded, and the logical architecture of the indicator to be encoded includes: in a case where there is no coding value of the indicator that is consistent with both the business architecture and the logical architecture of the indicator to be encoded in the indicator coding data lake, respectively determining the first coding values ​​corresponding to the requesting account, the region corresponding to the requesting account, the business architecture of the indicator to be encoded, and the logical architecture of the indicator to be encoded; wherein the indicator coding data lake includes coding values ​​corresponding to multiple indicators.

[0015] Optionally, after determining the second coding value corresponding to the indicator to be encoded based on each of the first coding values, it also includes: in response to a request for performing a data operation on the data corresponding to the second coding value, obtaining the data corresponding to the second coding value, and recording the correspondence between the second coding value and the data operation.

[0016] Optionally, after determining the second coding value corresponding to the indicator to be encoded based on each of the first coding values, the method further includes: obtaining data corresponding to the second coding value; inputting the data corresponding to the second coding value into a pre-trained model to obtain analysis results of the data corresponding to the second coding value; and using the analysis results as data analysis results corresponding to the second coding value.

[0017] A second aspect of the present invention provides an indicator encoding device, the device comprising:

[0018] An information receiving module, configured to determine, in response to an indicator coding request, a requesting account that issues the indicator coding request and a region corresponding to the requesting account; wherein the indicator coding request includes a business architecture and a logical architecture of the indicator to be coded;

[0019] A first encoding module, used to respectively determine first encoding values ​​corresponding to the requesting account, the region corresponding to the requesting account, the business architecture of the indicator to be encoded, and the logical architecture of the indicator to be encoded;

[0020] The second encoding module is used to determine the second encoding value corresponding to the indicator to be encoded according to each of the first encoding values, and the second encoding value is used to indicate the dimension of the indicator to be encoded.

[0021] A third aspect of the present invention provides an electronic device, comprising:

[0022] one or more processors;

[0023] A memory having one or more programs stored thereon, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the above method;

[0024] One or more I / O interfaces are connected between the processor and the memory and are configured to implement information interaction between the processor and the memory.

[0025] A fourth aspect of the present invention provides a computer-readable medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the method according to the above claim.

[0026] The present invention has the following advantages:

[0027] In the indicator coding method, indicator coding device, electronic device and computer-readable medium of the present invention, an indicator coding request is used to obtain the request account corresponding to the indicator to be coded, the region corresponding to the request account, the business architecture of the indicator to be coded and the logical architecture of the indicator to be coded, and further determine the first coding value corresponding to the request account corresponding to the indicator to be coded, the region corresponding to the request account, the business architecture of the indicator to be coded and the logical architecture of the indicator to be coded, and determine the second coding value for indicating the dimension of the indicator to be coded through the first coding value, thereby ensuring that the information of the indicator to be coded can be traced back through the second coding value, ensuring the uniqueness of the second coding value, and since only the indicator coding request is required to complete the coding of the indicator to be coded, the efficiency of indicator coding is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] The accompanying drawings are used to provide further understanding of the present invention and constitute a part of the specification. Together with the following specific embodiments, they are used to explain the present invention, but do not constitute a limitation of the present invention.

[0029] Figure 1 A schematic diagram of a flow chart of an indicator encoding method provided by an embodiment of the present invention;

[0030] Figure 2 A flowchart of some steps of an indicator encoding method provided by an embodiment of the present invention;

[0031] Figure 3 A flowchart of some steps of an indicator encoding method provided by an embodiment of the present invention;

[0032] Figure 4 A flowchart of some steps of an indicator encoding method provided by an embodiment of the present invention;

[0033] Figure 5 A flowchart of some steps of an indicator encoding method provided by an embodiment of the present invention;

[0034] Figure 6 A block diagram of a composition of an indicator encoding device provided by an embodiment of the present invention;

[0035] Figure 7 A schematic diagram of the composition of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0036] The specific implementation of the present invention is described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation described here is only used to illustrate and explain the present invention, and is not used to limit the present invention.

[0037] As used herein, the term "and / or" includes any and all combinations of one or more of the associated listed items.

[0038] The terms used in the present invention are only used to describe specific embodiments and are not intended to limit the present invention. As used in the present invention, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.

[0039] When the terms “comprising” and / or “made of…” are used in the present invention, it specifies the existence of the stated features, integers, steps, operations, elements and / or components, but does not exclude the existence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof.

[0040] The embodiments of the present invention may be described with reference to plan views and / or cross-sectional views by way of ideal schematic views of the present invention. Therefore, the exemplary illustrations may be modified according to manufacturing techniques and / or tolerances.

[0041] Unless otherwise defined, all terms (including technical and scientific terms) used in the present invention have the same meaning as those commonly understood by those of ordinary skill in the art. It will also be understood that terms such as those defined in commonly used dictionaries should be interpreted as having a meaning consistent with their meaning in the context of the relevant art and the present invention, and will not be interpreted as having an idealized or overly formal meaning unless the present invention clearly defines it as such.

[0042] In a first aspect, an embodiment of the present invention provides an indicator coding method, which can be used for telecommunications operator indicator coding.

[0043] Figure 1 The figure is a flowchart of the steps of the indicator encoding method according to an embodiment of the present invention.

[0044] Reference Figure 1 , the indicator encoding method of the embodiment of the present invention includes:

[0045] S101. In response to an indicator code request, determine a requesting account for issuing the indicator code request and a region corresponding to the requesting account.

[0046] The indicator coding request includes the business architecture and logical architecture of the indicator to be coded.

[0047] The indicator coding device receives the indicator coding request, which may be sent by the indicator creator (or the person in charge of management) through the interactive interface (such as an application interactive interface, a website interactive interface) of a terminal (such as a mobile phone, a computer, etc.).

[0048] If the creator logs in to the interactive interface through an account created in advance, he / she can enter the business architecture and logical architecture of the indicator he / she wants to encode (i.e., the indicator to be encoded) in the interactive interface.

[0049] The terminal obtains the business architecture and logical architecture of the indicator to be encoded, and obtains the account used by the indicator creator to log in to the interactive interface, and uses it as the request account for sending the indicator encoding request. Then, the business architecture and logical architecture of the indicator to be encoded are packaged into an indicator encoding request and sent to the indicator encoding device.

[0050] After receiving the indicator coding request, the indicator coding device determines the region of the requesting account based on the requesting account that sent the indicator coding request and the region to which the requesting account belongs.

[0051] S102. Determine first coding values ​​corresponding to the requesting account, the region corresponding to the requesting account, the business architecture of the indicator to be encoded, and the logical architecture of the indicator to be encoded, respectively.

[0052] After obtaining the requesting account, the region corresponding to the requesting account, the business architecture of the indicator to be encoded, and the logical architecture of the indicator to be encoded, the indicator encoding device respectively determines the first encoding value corresponding to the requesting account, the region corresponding to the requesting account, the business architecture of the indicator to be encoded, and the logical architecture of the indicator to be encoded.

[0053] S103. Determine a second coding value corresponding to the indicator to be encoded according to each first coding value, where the second coding value is used to indicate a dimension of the indicator to be encoded.

[0054] After acquiring each first coding value, the indicator coding device generates a second coding value from each first coding value according to a predetermined rule.

[0055] Among them, the second coding value can indicate the dimension to which the indicator to be coded belongs, such as the region where the creator of the indicator to be coded is located, the company, the business structure and logical structure of the indicator to be coded, etc.

[0056] Since the second coding value can indicate the dimension to which the indicator to be coded belongs, other users who are not the creator of the indicator can determine the business architecture, logical architecture, and creator information corresponding to the indicator through the second coding value.

[0057] In the indicator coding method of the embodiment of the present invention, an indicator coding request is used to obtain the requesting account corresponding to the indicator to be coded, the region corresponding to the requesting account, the business architecture of the indicator to be coded, and the logical architecture of the indicator to be coded, and further determine the first coding value corresponding to the requesting account corresponding to the indicator to be coded, the region corresponding to the requesting account, the business architecture of the indicator to be coded, and the logical architecture of the indicator to be coded, and determine the second coding value for indicating the dimension of the indicator to be coded through the first coding value, thereby ensuring that the information of the indicator to be coded can be traced back through the second coding value, ensuring the uniqueness of the second coding value, and since only the indicator coding request is required to complete the coding of the indicator to be coded, the efficiency of indicator coding is improved.

[0058] Optionally, determining the first coding value corresponding to the requesting account, the region corresponding to the requesting account, the business architecture of the indicator to be encoded, and the logical architecture of the indicator to be encoded, respectively, can be by determining the attributes of the requesting account, the region corresponding to the requesting account, the business architecture of the indicator to be encoded, and the logical architecture of the indicator to be encoded, and then determining the corresponding first coding value.

[0059] Figure 2 It is a flowchart for respectively determining the first coding value corresponding to the requesting account, the region corresponding to the requesting account, the business architecture of the indicator to be coded, and the logical architecture of the indicator to be coded.

[0060] Reference Figure 2 The steps of respectively determining the first coding value corresponding to the requesting account, the region corresponding to the requesting account, the business architecture of the indicator to be coded, and the logical architecture of the indicator to be coded include:

[0061] S201. Determine the management identifier corresponding to the management unit to which the requesting account belongs as the first coding value corresponding to the requesting account.

[0062] The indicator encoding device determines the managed unit to which the requesting account belongs based on the requesting account, and determines the managed identifier corresponding to the managed unit as the first encoding value corresponding to the requesting account.

[0063] If the requesting account is a head office account, then its corresponding managed unit is the head office, and the corresponding first coding value can be set to U; if the requesting account is a subsidiary account, then its corresponding managed unit is the subsidiary, and the corresponding first coding value can be set to Z; if the requesting account is a provincial company account, then its corresponding managed unit is the provincial company, and the corresponding first coding value can be set to S; if the requesting account is a municipal company account, then its corresponding managed unit is the municipal company, and the corresponding first coding value can be set to D.

[0064] S202. Determine the administrative organization code of the region corresponding to the requesting account as the first code value corresponding to the region corresponding to the requesting account.

[0065] The indicator encoding device determines the administrative organization code of the region as the first code value corresponding to the region corresponding to the requesting account according to the region corresponding to the requesting account.

[0066] If the requested account is a head office, the company code corresponding to the head office (specifically, it can be a 2-digit code from 00 to 99) will be used as the first code value corresponding to the region corresponding to the requested account; if the requested account is a subsidiary, the company code corresponding to the subsidiary will be used as the first code value corresponding to the region corresponding to the requested account; if the requested account is a provincial branch, the company code corresponding to the provincial branch will be used as the first code value corresponding to the region corresponding to the requested account; if the requested account is a prefecture-level branch, the national unified 6-digit administrative organization code corresponding to the prefecture-level city will be used as the first code value corresponding to the region corresponding to the requested account, such as: the branch in Tianjin is 120100; the branch in Shijiazhuang is 130100.

[0067] S203. Determine the business identifier corresponding to the business architecture of the indicator to be encoded according to the correspondence between the preset business architecture type and the business identifier and the business architecture of the indicator to be encoded, and determine the business identifier corresponding to the business architecture of the indicator to be encoded as the first coding value corresponding to the business architecture of the indicator to be encoded.

[0068] The indicator encoding device searches for the business identifier corresponding to the business architecture of the indicator to be encoded in the correspondence between the preset business architecture type and the business identifier according to the business architecture of the indicator to be encoded, and uses the business identifier as the first encoding value corresponding to the business architecture of the indicator to be encoded.

[0069] For example, the correspondence between the preset business architecture type and the business identifier may be:

[0070] Market / Sales Domain: M (Market)

[0071] Product domain: P (Product)

[0072] Customer domain: C (Customer)

[0073] Service management domain: S (Service)

[0074] Partner domain: B (Business Partner)

[0075] Resource Management Domain: R (Resource)

[0076] When the indicator to be coded is an indicator of the market / sales domain, that is, its corresponding business architecture is the market / sales domain, the first coding value corresponding to the business architecture of the indicator to be coded is M; when the indicator to be coded is an indicator of the product domain, that is, its corresponding business architecture is the product domain, the first coding value corresponding to the business architecture of the indicator to be coded is P; when the indicator to be coded is an indicator of the customer domain, that is, its corresponding business architecture is the customer domain, the first coding value corresponding to the business architecture of the indicator to be coded is C; when the indicator to be coded is an indicator of the service management domain, that is, its corresponding business architecture is the service management domain, the first coding value corresponding to the business architecture of the indicator to be coded is S; when the indicator to be coded is an indicator of the partner domain, that is, its corresponding business architecture is the partner domain, the first coding value corresponding to the business architecture of the indicator to be coded is B; when the indicator to be coded is an indicator of the resource management domain, that is, its corresponding business architecture is the resource management domain, the first coding value corresponding to the business architecture of the indicator to be coded is R.

[0077] S204. Determine the logical identifier corresponding to the logical architecture of the indicator to be encoded according to the correspondence between the preset logical architecture type and the logical identifier and the logical architecture of the indicator to be encoded, and determine the logical identifier corresponding to the logical architecture of the indicator to be encoded as the first coding value corresponding to the logical architecture of the indicator to be encoded.

[0078] The indicator encoding device searches for the logical identifier corresponding to the logical architecture of the indicator to be encoded in the correspondence between the preset logical architecture type and the logical identifier according to the logical architecture of the indicator to be encoded, and uses the logical identifier as the first encoding value corresponding to the logical architecture of the indicator to be encoded.

[0079] For example, the correspondence between the preset logical architecture type and the logical identifier can be:

[0080] Basic indicator: B (Basic)

[0081] Dimension: D

[0082] Combination indicator: C (Compose)

[0083] Analysis indicator: A (Analyse)

[0084] When the indicator to be encoded is a basic indicator, that is, its corresponding logical structure is a basic indicator, the first coding value corresponding to the logical structure of the indicator to be encoded is B; when the indicator to be encoded is a dimensional indicator, that is, its corresponding logical structure is a dimension, the first coding value corresponding to the logical structure of the indicator to be encoded is D; when the indicator to be encoded is a combination indicator, that is, its corresponding logical structure is a combination indicator, the first coding value corresponding to the logical structure of the indicator to be encoded is C; when the indicator to be encoded is an analysis indicator, that is, its corresponding logical structure is an analysis indicator, the first coding value corresponding to the logical structure of the indicator to be encoded is A.

[0085] Optionally, after respectively determining the first coding values ​​corresponding to the requesting account, the region corresponding to the requesting account, the business architecture of the indicator to be encoded, and the logical architecture of the indicator to be encoded, each first coding value may be generated into a second coding value according to a predetermined rule.

[0086] Figure 3 The present invention is a flowchart of determining a second coding value corresponding to an indicator to be coded according to each of the first coding values.

[0087] Reference Figure 3 , according to each of the first coding values, determining the second coding value corresponding to the to-be-coded indicator may include:

[0088] S301. Determine the natural order corresponding to the to-be-encoded indicator according to the number of encoding values ​​existing in the indicator encoding data lake.

[0089] Among them, the indicator coding data lake can be a data lake built using Apache Hudi (data lake platform) and includes coding values ​​corresponding to multiple indicators.

[0090] The indicator coding data lake can be constructed by importing already created indicators. For indicators coded by other methods, these indicators can be classified according to business architecture and logical architecture and imported into the indicator coding system in batches. The indicator coding system automatically generates codes based on the business architecture and logical architecture of these codes and imports these codes into the indicator coding data lake.

[0091] The indicator coding system can use the indicator coding method of the embodiment of the present invention to re-encode these indicators, such as setting the request accounts for these indicators to the head office account, and the region corresponding to the request account is also set to the head office, and encoding is performed according to the business architecture and logical architecture of these codes.

[0092] For indicators encoded by the indicator encoding method of the embodiment of the present invention, the corresponding codes can be directly imported into the indicator encoding data lake.

[0093] S302. Concatenate the first coding value into a second coding value corresponding to the indicator to be encoded according to the first coding value corresponding to the requesting account, the first coding value corresponding to the region corresponding to the requesting account, the first coding value corresponding to the business architecture of the indicator to be encoded, the first coding value corresponding to the logical architecture of the indicator to be encoded, and the natural sorting order of the indicator to be encoded.

[0094] For example, if the business architecture created by the head office account is the partner domain and the logical architecture is the basic indicator, the corresponding first coding values ​​are U, 00, B, B respectively, and the number of coding values ​​existing in the indicator coding data lake is 1000, then the second coding value corresponding to the indicator is U00BB1000.

[0095] Optionally, after determining the second coding value corresponding to the indicator to be encoded, it also includes: in response to a dimension value encoding request, encoding each layer of dimension value under the dimension of the indicator to be encoded using digital coding according to the second coding value.

[0096] Specifically, after receiving the dimension value encoding request, the indicator encoding device uses a 2-digit code for each layer of dimension value under the dimension, and arranges them in sequence from 00-99.

[0097] For example, if the business architecture created by the head office account is partner domain and the logical architecture is basic indicator, the first-level dimension value under the indicator is mobile service or fixed-line service. When the first-level dimension value is mobile service, the second-level dimension value can be 2G, 3G, 4G or 5G. Referring to the following table, when the code of the indicator is U00BB1000, when the first-level dimension value is mobile service and the second-level dimension value is 2G, the corresponding code is U00BB10000101. Similarly, when the first-level dimension value is mobile service and the second-level dimension value is 3G, the corresponding code is U00BB10000102. When the first-level dimension value is mobile service and the second-level dimension value is 4G, the corresponding code is U00BB10000103. When the first-level dimension value is mobile service and the second-level dimension value is 5G, the corresponding code is U00BB10000104. When the first-level dimension value is fixed-line service, the corresponding code is U00BB100002.

[0098] First-level dimension value Secondary dimension value The third dimension coding U00BB1000 Mobile Services U00BB100001 2G U00BB10000101 3G U00BB10000102 4G U00BB10000103 5G U00BB10000104 Fixed-line business U00BB100002

[0099] Optionally, since there are many indicator codes in the indicator coding data lake, after receiving the indicator coding request, the indicator coding device can query in the indicator coding lake to check whether there is a coding value of the indicator that is consistent with the business architecture and logical architecture of the indicator to be encoded.

[0100] When there is no coding value of the indicator that is consistent with the business architecture and logical architecture of the indicator to be encoded in the indicator coding data lake, the indicator coding device then executes the first coding value step of respectively determining the requesting account, the region corresponding to the requesting account, the business architecture of the indicator to be encoded, and the logical architecture of the indicator to be encoded.

[0101] Optionally, after the indicator code data lake is established, for each code in the indicator code data lake, the correspondence between the data operations performed on the data corresponding to the code and the code can be recorded to track the original source of the data.

[0102] Take the second code value corresponding to the to-be-coded indicator as an example, refer to Figure 4 , after determining the second coding value corresponding to the to-be-coded indicator according to each first coding value, it also includes:

[0103] S401. In response to a request for performing a data operation on data corresponding to a second coding value, obtain the data corresponding to the second coding value, and record a corresponding relationship between the second coding value and the data operation.

[0104] That is to say, when it is necessary to perform data operations (such as outputting reports or applications) on the data corresponding to the second coding value (i.e., the data corresponding to the indicator to be encoded, such as data specifically representing the indicator), the correspondence between the second coding value and the data operation is recorded as the indicator lineage corresponding to the second coding value.

[0105] Through indicator lineage, you can track the source of the data corresponding to the second code value, as well as the output report or API (Application Programming Interface). When the business side questions the abnormality of the indicator or needs to confirm the caliber of the indicator, you can find the corresponding relationship based on the query tool, and then find the original source of the data.

[0106] The indicator lineage query function can be connected with the metadata management function and the indicator coding data lake management function to expand the data link and realize the mutual query function.

[0107] Optionally, when the indicator encoding device outputs the indicator encoding to other data products, it can splice the query SQL (Structured Query Language) corresponding to each indicator and application method to generate an API interface, so that the application end only needs to pass in the indicator identifier, Where condition (filtering condition), and GroupBY field (dimension) each time to obtain the data of the corresponding indicator and dimension.

[0108] Optionally, after the indicator coding data lake is established, multiple models for analyzing the data corresponding to the coding can be established, and these models can be sent to MySQL (database), Clickhouse (column storage database for online analytical processing queries), Greenplum (database) and other engines suitable for OALP (online analytical processing) ad hoc query analysis for use by other users.

[0109] Take the second code value corresponding to the to-be-coded indicator as an example, refer to Figure 5 , analyze the data corresponding to the second coding value according to the model, including:

[0110] S501. Obtain data corresponding to the second coding value.

[0111] S502: Input the data corresponding to the second coding value into a pre-trained model to obtain an analysis result of the data corresponding to the second coding value.

[0112] S503: Use the analysis result as the data analysis result corresponding to the second coding value.

[0113] The data warehouse model serves as the data source of the data set. The indicator encoding device can obtain the data corresponding to the second encoding value from the data warehouse model. When analyzing the application, the model is associated, the data corresponding to the second encoding value is input into the pre-trained model, the analysis result of the data corresponding to the second encoding value is obtained, and the analysis result is output as the data analysis result corresponding to the second encoding value on the data product end.

[0114] Optionally, in the case where the correspondence modification request includes the correspondence between the business architecture type and the business identifier, the correspondence between the business architecture type and the business identifier is modified in response to the correspondence modification request.

[0115] For example, the correspondence between the preset business architecture types and business identifiers can be deleted, modified, added, and other operations can be performed.

[0116] For example, if the enterprise domain E (Enterprise) is added to the preset correspondence between business architecture types and business identifiers, the correspondence between business architecture types and business identifiers becomes:

[0117] Market / Sales Domain: M (Market)

[0118] Product domain: P (Product)

[0119] Customer domain: C (Customer)

[0120] Service management domain: S (Service)

[0121] Partner domain: B (Business Partner)

[0122] Resource Management Domain: R (Resource)

[0123] Enterprise domain: E (Enterprise).

[0124] It is also possible to delete some correspondences between business architecture types and business identifiers in the preset correspondences between business architecture types and business identifiers. For example, the correspondences between the market / sales domain: M (Market) and the product domain: P (Product) are merged, and the product domain: P (Product) is deleted. Then, the correspondence between the business architecture types and business identifiers after the deletion becomes:

[0125] Market / sales domain / product domain: M (Market)

[0126] Customer domain: C (Customer)

[0127] Service management domain: S (Service)

[0128] Partner domain: B (Business Partner)

[0129] Resource management domain: R (Resource).

[0130] The correspondence between the preset business architecture type and the business identifier can also be modified, and the business identifier corresponding to the partner domain can be modified to A. Based on the modification of the correspondence between the business architecture type and the business identifier, the encoding in the indicator encoding data lake also needs to be changed. Specifically, it can be: determining the modified first encoding value corresponding to the business architecture of the indicator to be encoded according to the modified correspondence between the business architecture type and the business identifier; and determining the modified second encoding value corresponding to the indicator to be encoded according to the modified first encoding value.

[0131] Optionally, when the correspondence modification request includes the correspondence between the logical architecture type and the logical identifier, the correspondence between the logical architecture type and the logical identifier is modified in response to the correspondence modification request.

[0132] For example, the correspondence between the preset logical architecture types and logical identifiers can be deleted, modified, added, etc.

[0133] For example, if the comprehensive management indicator M (Manage) is added to the preset correspondence between the logical architecture type and the logical identifier, the correspondence between the logical architecture type and the logical identifier becomes:

[0134] Basic indicator: B (Basic)

[0135] Dimension: D

[0136] Combination indicator: C (Compose)

[0137] Analysis indicator: A (Analyse)

[0138] Comprehensive management indicators: M (Manage).

[0139] You can also delete some of the correspondences between logical architecture types and logical identifiers in the preset correspondences between logical architecture types and logical identifiers. For example, merge the correspondences between the basic indicator: B (Basic) and the dimension: D (Dimension), and delete the dimension: D (Dimension). After the deletion, the correspondence between the logical architecture type and the logical identifier becomes:

[0140] Basic indicators / dimensions: B (Basic)

[0141] Combination indicator: C (Compose)

[0142] Analysis indicator: A (Analyse).

[0143] The correspondence between the preset logical architecture type and the logical identifier can also be modified, and the logical identifier corresponding to the combined indicator can be modified to D. Based on the modification of the correspondence between the logical architecture type and the logical identifier, the encoding in the indicator encoding data lake also needs to be changed. Specifically, it can be: determining the modified first encoding value corresponding to the logical architecture of the indicator to be encoded according to the modified correspondence between the logical architecture type and the logical identifier; and determining the modified second encoding value corresponding to the indicator to be encoded according to the modified first encoding value.

[0144] Of course, in some embodiments, the dimension values ​​under the dimension can also be deleted, modified, or added. For example, if the code corresponding to the first-level dimension value is changed to 02, then the first-level dimension value is for service, and the second-level dimension value is 2G, then the corresponding code is U00BB10000201. Similarly, if the first-level dimension value is mobile service and the second-level dimension value is 3G, then the corresponding code is U00BB10000202; if the first-level dimension value is mobile service and the second-level dimension value is 4G, then the corresponding code is U00BB10000203; if the first-level dimension value is mobile service and the second-level dimension value is 5G, then the corresponding code is U00BB10000204.

[0145] These modifications can not only be made by the administrator of the indicator coding device, but also by setting up other administrators so that other users can also make modifications.

[0146] The step division of the above methods is only for the purpose of clear description. When implemented, they can be combined into one step or some steps can be split and decomposed into multiple steps. As long as they include the same logical relationship, they are all within the scope of protection of this patent; adding insignificant modifications to the algorithm or process or introducing insignificant designs without changing the core design of the algorithm and process are all within the scope of protection of this patent.

[0147] Second, refer to Figure 6 , an embodiment of the present invention provides an indicator encoding device, the device comprising:

[0148] An information receiving module, used to determine, in response to an indicator coding request, a requesting account for issuing the indicator coding request and a region corresponding to the requesting account; wherein the indicator coding request includes a business architecture and a logical architecture of the indicator to be coded;

[0149] A first encoding module, used to respectively determine a first encoding value corresponding to the requesting account, the region corresponding to the requesting account, the business architecture of the indicator to be encoded, and the logical architecture of the indicator to be encoded;

[0150] The second encoding module is used to determine the second encoding value corresponding to the indicator to be encoded according to each first encoding value, and the second encoding value is used to indicate the dimension of the indicator to be encoded.

[0151] In the indicator encoding device of the embodiment of the present invention, an indicator encoding request is used to obtain the request account corresponding to the indicator to be encoded, the region corresponding to the request account, the business architecture of the indicator to be encoded, and the logical architecture of the indicator to be encoded, and further determine the first encoding value corresponding to the request account corresponding to the indicator to be encoded, the region corresponding to the request account, the business architecture of the indicator to be encoded, and the logical architecture of the indicator to be encoded, and determine the second encoding value for indicating the dimension of the indicator to be encoded through the first encoding value, thereby ensuring that the information of the indicator to be encoded can be traced back through the second encoding value, ensuring the uniqueness of the second encoding value, and since only the indicator encoding request is required to complete the encoding of the indicator to be encoded, the efficiency of indicator encoding is improved.

[0152] It should be clear that the present invention is not limited to the specific configurations and processes described in the above embodiments and shown in the figures. For the convenience and brevity of description, a detailed description of the known methods is omitted here, and the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, which will not be repeated here.

[0153] Reference Figure 7 , an embodiment of the present invention provides an electronic device, comprising:

[0154] One or more processors 701;

[0155] A memory 702 having one or more programs stored thereon, which, when executed by one or more processors, enables the one or more processors to implement any one of the above-mentioned indicator encoding methods;

[0156] One or more I / O interfaces 703 are connected between the processor and the memory and are configured to implement information exchange between the processor and the memory.

[0157] Among them, the processor 701 is a device with data processing capabilities, including but not limited to a central processing unit (CPU); the memory 702 is a device with data storage capabilities, including but not limited to random access memory (RAM, more specifically SDRAM, DDR, etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory (FLASH); the I / O interface (read-write interface) 703 is connected between the processor 701 and the memory 902, and can realize information interaction between the processor 701 and the memory 702, including but not limited to a data bus (Bus), etc.

[0158] In some embodiments, the processor 701 , the memory 702 , and the I / O interface 703 are connected to each other through a bus, and further connected to other components of the computing device.

[0159] This embodiment also provides a computer-readable medium on which a computer program is stored. When the program is executed by a processor, the indicator encoding method provided in this embodiment is implemented. To avoid repeated description, the specific steps of the indicator encoding method are not repeated here.

[0160] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the above invented methods can be implemented as software, firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some physical components or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data architectures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is well known to those skilled in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

[0161] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0162] Those skilled in the art will understand that although some embodiments described herein include certain features included in other embodiments but not other features, the combination of features from different embodiments is meant to be within the scope of the present embodiment and to form different embodiments.

[0163] It is to be understood that the above embodiments are merely exemplary embodiments used to illustrate the principles of the present invention, but the present invention is not limited thereto. For those of ordinary skill in the art, various modifications and improvements can be made without departing from the spirit and essence of the present invention, and these modifications and improvements are also considered to be within the scope of protection of the present invention.

Claims

1. An indicator coding method, characterized in that: The method comprises: In response to the indicator coding request, determining the requesting account that issues the indicator coding request and the region corresponding to the requesting account; wherein the indicator coding request includes the business architecture and the logical architecture of the indicator to be coded; Determine first coding values ​​corresponding to the requesting account, the region corresponding to the requesting account, the business architecture of the indicator to be coded, and the logical architecture of the indicator to be coded, respectively; Determine, according to each of the first coding values, a second coding value corresponding to the indicator to be coded, where the second coding value is used to indicate a dimension of the indicator to be coded; The step of determining the second coding value corresponding to the indicator to be coded according to each of the first coding values ​​includes: Determine the natural order corresponding to the to-be-encoded indicator according to the number of coded values ​​existing in the indicator coding data lake; wherein the indicator coding data lake includes coded values ​​corresponding to a plurality of indicators; According to the order of the first coding value corresponding to the requesting account, the first coding value corresponding to the region corresponding to the requesting account, the first coding value corresponding to the business architecture of the indicator to be encoded, the first coding value corresponding to the logical architecture of the indicator to be encoded, and the order of the natural sorting corresponding to the indicator to be encoded, the first coding value is spliced ​​into the second coding value corresponding to the indicator to be encoded.

2. The method according to claim 1, characterized in that The determining of the first coding values ​​corresponding to the requesting account, the region corresponding to the requesting account, the business architecture of the indicator to be coded, and the logical architecture of the indicator to be coded respectively includes: Determine the management identifier corresponding to the management unit to which the requesting account belongs as the first code value corresponding to the requesting account; Determine the administrative organization code of the region corresponding to the requesting account as the first code value corresponding to the region corresponding to the requesting account; According to the correspondence between the preset business architecture type and the business identifier and the business architecture of the indicator to be encoded, the business identifier corresponding to the business architecture of the indicator to be encoded is determined, and the business identifier corresponding to the business architecture of the indicator to be encoded is determined as the first coding value corresponding to the business architecture of the indicator to be encoded; According to the correspondence between the preset logical architecture type and the logical identifier and the logical architecture of the indicator to be encoded, the logical identifier corresponding to the logical architecture of the indicator to be encoded is determined, and the logical identifier corresponding to the logical architecture of the indicator to be encoded is determined as the first coding value corresponding to the logical architecture of the indicator to be encoded.

3. The method according to claim 2, characterized in that After determining the second coding value corresponding to the to-be-coded indicator according to each of the first coding values, the method further includes: In response to the correspondence modification request, modify the correspondence between the service architecture type and the service identifier and / or the correspondence between the logical architecture type and the logical identifier; The correspondence modification request includes at least one of a request to modify the correspondence between a service architecture type and a service identifier and a request to modify the correspondence between a logical architecture type and a logical identifier; Determine the modified first coding value corresponding to the business architecture and / or logical architecture of the indicator to be coded according to the modified correspondence between the business architecture type and the business identifier and / or the modified correspondence between the logical architecture type and the logical identifier; And determine the modified second coding value corresponding to the to-be-coded indicator according to the modified first coding value.

4. The method according to claim 1, characterized in that: After determining the second coding value corresponding to the to-be-coded indicator according to each of the first coding values, the method further includes: In response to the dimension value encoding request, digital encoding is used to encode each layer of dimension value under the dimension of the indicator to be encoded according to the second encoding value.

5. The method according to claim 1, characterized in that The first coding value corresponding to the requesting account, the region corresponding to the requesting account, the business architecture of the indicator to be coded, and the logical architecture of the indicator to be coded respectively includes: If there is no code value of the indicator that is consistent with both the business architecture and the logical architecture of the indicator to be encoded in the indicator encoding data lake, determine the first code value corresponding to the requesting account, the region corresponding to the requesting account, the business architecture of the indicator to be encoded, and the logical architecture of the indicator to be encoded respectively; Among them, the indicator coding data lake includes coding values ​​corresponding to multiple indicators.

6. The method according to claim 1, characterized in that After determining the second coding value corresponding to the to-be-coded indicator according to each of the first coding values, the method further includes: In response to a request for performing a data operation on the data corresponding to the second coding value, the data corresponding to the second coding value is obtained, and a corresponding relationship between the second coding value and the data operation is recorded.

7. The method according to claim 1, characterized in that After determining the second coding value corresponding to the to-be-coded indicator according to each of the first coding values, the method further includes: Obtaining data corresponding to the second encoding value; Inputting the data corresponding to the second coding value into a pre-trained model to obtain an analysis result of the data corresponding to the second coding value; The analysis result is used as the data analysis result corresponding to the second coding value.

8. An index encoding device, characterized in that: The device comprises: An information receiving module, configured to determine, in response to an indicator coding request, a requesting account that issues the indicator coding request and a region corresponding to the requesting account; wherein the indicator coding request includes a business architecture and a logical architecture of the indicator to be coded; A first encoding module, used to respectively determine first encoding values ​​corresponding to the requesting account, the region corresponding to the requesting account, the business architecture of the indicator to be encoded, and the logical architecture of the indicator to be encoded; A second encoding module, used to determine a second encoding value corresponding to the indicator to be encoded according to each of the first encoding values, where the second encoding value is used to indicate a dimension of the indicator to be encoded; The second encoding module determines the second encoding value corresponding to the to-be-encoded indicator according to each of the first encoding values, including: Determine the natural order corresponding to the to-be-encoded indicator according to the number of coded values ​​existing in the indicator coding data lake; wherein the indicator coding data lake includes coded values ​​corresponding to a plurality of indicators; According to the order of the first coding value corresponding to the requesting account, the first coding value corresponding to the region corresponding to the requesting account, the first coding value corresponding to the business architecture of the indicator to be encoded, the first coding value corresponding to the logical architecture of the indicator to be encoded, and the order of the natural sorting corresponding to the indicator to be encoded, the first coding value is spliced ​​into the second coding value corresponding to the indicator to be encoded.

9. An electronic device, characterized in that: include: one or more processors; A memory having one or more programs stored thereon, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 7; One or more I / O interfaces are connected between the processor and the memory and are configured to implement information interaction between the processor and the memory.

10. A computer readable medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Multi-type code management system

    CN106920019A

  • Implementation method and device based on barcode payment

    CN111260360A

  • Index coding method and device and readable storage medium

    CN111967225A

  • Visual data creating method and device and computing equipment

    CN113946620A

  • Telecommunication business index system construction method and device and storage medium

    CN114091938A