Method, device and equipment for searching target carbon emission data

Through the Elasticsearch search engine, carbon emission data is segmented and scored, and combined with preset thresholds and scoring rules, the problem of low search efficiency of carbon emission data in the existing technology is solved, and a method of quickly and efficiently obtaining target carbon emission data is realized.

CN119202017APending Publication Date: 2024-12-27SHANGHAI YI CARBON TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411200611.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-29
Publication Date
2024-12-27

AI Technical Summary

Technical Problem

The prior art is difficult to quickly and efficiently obtain target carbon emission data that meets the needs of users from massive carbon emission data, resulting in users needing to view them one by one, which is inefficient.

Method used

The Elasticsearch search engine is used to perform word segmentation and matching score processing on carbon emission data. Combined with preset thresholds and scoring rules, target carbon emission data with high matching are selected and sorted according to categories.

Benefits of technology

It achieves rapid and efficient acquisition of target carbon emission data that meets user needs from the carbon emission database, improving the compatibility of search results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119202017A_ABST
    Figure CN119202017A_ABST
Patent Text Reader

Abstract

The invention provides a method, a device and equipment for searching target carbon emission data. The method comprises the steps that on the basis of keywords input by a user, carbon emission data are searched and obtained from a preset carbon emission database, and the carbon emission data comprise a plurality of carbon emission data records; performing word segmentation and matching degree scoring processing on the carbon emission data by adopting an Elasticsearch search engine so as to determine a first matching degree score of each carbon emission data record of the carbon emission data and the keyword; all carbon emission data records with the first matching degree scores meeting a first preset threshold value in the carbon emission data are screened out to serve as first target carbon emission data. The first target carbon emission data can be quickly and efficiently obtained without browsing and checking the carbon emission data in the search results one by one, so that the matching degree with user requirements is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of computer data processing, and in particular to a technology for searching target carbon emission data. Background Art

[0002] Carbon emission data include carbon emission data of organizations, especially enterprises in various industries (scope 1-direct greenhouse gas emissions, scope 2-indirect greenhouse gas emissions, scope 3-other indirect greenhouse gas emissions), and carbon footprint data of products (carbon emission data generated by the organization when producing unit products, as well as carbon emission data of raw materials and logistics transportation). The carbon emission data of an organization can reflect the relevant information of the organization and its products, such as the industry in which it is located, the products produced and operated, the required raw materials, etc.; the carbon emission data of the organization can also reflect the possible correlation between different organizations, for example, the product of organization A may be the raw material required for the production of organization B, which belongs to the upstream and downstream relationship of the industrial chain, or organization A and organization B produce the same product, which belongs to the competitor relationship, etc. In addition, the carbon emission data of an organization can be used to accurately measure the carbon emission intensity of the organization, and can also be used as the basis for the organization's activities such as developing carbon assets and paying carbon tariffs, and can also be used as input for the calculation of carbon emission data of downstream organizations.

[0003] At present, there are several authoritative and commonly used carbon emission databases in the world, including databases of energy consumption and carbon emission data of countries and regions around the world. There are also many third-party service providers that can provide carbon emission data service platforms to collect, aggregate and maintain carbon emission data of many organizations in comprehensive or vertical fields, and implement structured processing. They can analyze and process the carbon emission data of each organization to serve the production and operation goals and carbon emission reduction goals of the organization.

[0004] Users usually obtain some data from the carbon emission database by keyword matching according to the general database search method, but the target carbon emission data that meets the user's needs still needs to be checked one by one to determine. For example, searching for the keyword "glass bottle" may search out many related carbon emission data records, and users still have to check them one by one to finally determine, which is inefficient.

[0005] Therefore, how to quickly and efficiently obtain target carbon emission data that meets user needs from a carbon emission database that includes massive carbon emission data is a technical problem to be solved by this application. Summary of the invention

[0006] The purpose of the present invention is to provide a method, device and equipment for searching target carbon emission data, so as to at least partially solve the technical problem of how to quickly and efficiently obtain target carbon emission data that meets user needs from a carbon emission database.

[0007] According to one aspect of the present invention, a method for searching target carbon emission data is provided, wherein the method comprises:

[0008] Based on the keywords input by the user, searching and acquiring carbon emission data from a preset carbon emission database, wherein the carbon emission data includes a plurality of carbon emission data records;

[0009] Using an Elasticsearch search engine, the carbon emission data is segmented and matched with each other to determine a first matching score between each carbon emission data record of the carbon emission data and the keyword;

[0010] All carbon emission data records whose first matching scores meet a first preset threshold in the carbon emission data are screened out as first target carbon emission data.

[0011] Optionally, the method for searching target carbon emission data further includes:

[0012] Based on a preset word library and a first preset scoring rule, the first target carbon emission data is segmented and matched to determine a second matching score between each carbon emission data record of the first target carbon emission data and the keyword;

[0013] All carbon emission data records whose second matching scores meet a second preset threshold in the first target carbon emission data are screened out as second target carbon emission data.

[0014] Optionally, the method for searching target carbon emission data further includes:

[0015] According to the second preset scoring rule, the score of each carbon emission data record of the second target carbon emission data is calculated, and all carbon emission data records in the second target carbon emission data whose scores meet the third preset threshold are screened out as the third target carbon emission data.

[0016] Optionally, the method for searching target carbon emission data further includes:

[0017] Each carbon emission data record in the first target carbon emission data is sorted according to category, wherein the carbon emission data records of the same category are sorted according to the first matching score.

[0018] Optionally, the method for searching target carbon emission data further includes:

[0019] Each carbon emission data record in the second target carbon emission data is sorted according to category, wherein the carbon emission data records of the same category are sorted according to the second matching score.

[0020] Optionally, the method for searching target carbon emission data further includes:

[0021] Each carbon emission data record in the third target carbon emission data is sorted according to category, wherein the carbon emission data records of the same category are sorted according to the score.

[0022] According to another aspect of the present invention, a device for searching target carbon emission data is provided, wherein the device comprises:

[0023] The first module is used to search and obtain carbon emission data from a preset carbon emission database based on keywords input by a user, wherein the carbon emission data includes a plurality of carbon emission data records;

[0024] The second module is used to use the Elasticsearch search engine to perform word segmentation and matching score processing on the carbon emission data to determine a first matching score between each carbon emission data record of the carbon emission data and the keyword;

[0025] The third module is used to filter out all carbon emission data records whose first matching scores in the carbon emission data meet a first preset threshold as first target carbon emission data.

[0026] Optionally, the device for searching target carbon emission data further includes:

[0027] A fourth module is used to perform word segmentation and matching scoring processing on the first target carbon emission data based on a preset word library and a first preset scoring rule to determine a second matching score between each carbon emission data record of the first target carbon emission data and the keyword;

[0028] The fifth module is used to filter out all carbon emission data records whose second matching scores meet a second preset threshold in the first target carbon emission data as second target carbon emission data.

[0029] Optionally, the device for searching target carbon emission data further includes:

[0030] The sixth module is used to calculate the score of each carbon emission data record of the second target carbon emission data according to the second preset scoring rule, and filter out all carbon emission data records in the second target carbon emission data whose scores meet the third preset threshold as the third target carbon emission data.

[0031] Compared with the prior art, the present invention provides a method, device and equipment for searching target carbon emission data. The method includes: based on the keywords input by the user, searching and obtaining carbon emission data from a preset carbon emission database, wherein the carbon emission data includes a plurality of carbon emission data records; using the Elasticsearch search engine to perform word segmentation and matching score processing on the carbon emission data to determine the first matching score between each carbon emission data record of the carbon emission data and the keyword; screening out all carbon emission data records in the carbon emission data whose first matching score meets the first preset threshold as the first target carbon emission data. Optionally, the method also includes: based on a preset vocabulary and a first preset scoring rule, performing word segmentation and matching score processing on the first target carbon emission data to determine the second matching score between each carbon emission data record of the first target carbon emission data and the keyword; screening out all carbon emission data records in the first target carbon emission data whose second matching score meets the second preset threshold as the second target carbon emission data. Optionally, the method also includes: calculating the score of each carbon emission data record of the second target carbon emission data according to a second preset scoring rule, and screening out all carbon emission data records in the second target carbon emission data whose scores meet a third preset threshold as third target carbon emission data.

[0032] The technical effects that the present invention can bring are:

[0033] For keyword search results, the Elasticsearch search engine is used to perform word segmentation and matching score processing on the carbon emission data in the search results. Without browsing and checking one by one, the first target carbon emission data can be obtained quickly and efficiently, which improves the degree of fit with user needs. Further, based on the preset vocabulary and the first preset scoring rule, the first target carbon emission data is again segmented and matched to obtain the second target carbon emission data, which further improves the degree of fit with user needs. Further, based on the second preset scoring rule, the score of each record of the second target carbon emission data is calculated, and the third target carbon emission data is obtained according to the score screening, which further improves the degree of fit with user needs. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Other features, objects and advantages of the present invention will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings:

[0035] Figure 1 A schematic diagram of a method for searching target carbon emission data according to one aspect of the present invention;

[0036] Figure 2A schematic diagram of a device for searching target carbon emission data according to another aspect of the present invention is shown;

[0037] The same or similar reference numerals in the drawings represent the same or similar components. DETAILED DESCRIPTION

[0038] The present invention is further described in detail below in conjunction with the accompanying drawings.

[0039] In a typical configuration of each embodiment of the present invention, the execution subject of the method, each trusted party of the system and / or each module of the device may include one or more processors (CPU), input / output interface, network interface and memory.

[0040] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0041] Computer readable media may include permanent and non-permanent, removable and non-removable media, and may be implemented by any method or technology to store information. Information may be computer readable instructions, data structures, modules of programs, or other data. Computer storage media may include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include non-transitory media such as modulated data signals and carrier waves.

[0042] The third-party service provider platform that currently provides carbon emission data services to organizations can accurately collect and structure the carbon emission data of many organizations, as well as analyze and process the carbon emission data of each organization. For example, it can analyze the carbon emission data of different organizations to determine whether there is a certain correlation (for example, they are in the same industry, their products belong to the upstream and downstream of the supply chain, or they have a competitive relationship and produce similar products), etc. The third-party service provider platform can provide commercial services for the organization's production and operation goals and carbon emission reduction goals. The present application provides a technical solution that can quickly and efficiently search for target carbon emission data that meets the needs of users according to user needs.

[0043] In order to further illustrate the technical means adopted by the present invention and the effects achieved, the technical scheme of the present invention is clearly and completely described below in conjunction with the accompanying drawings and various embodiments.

[0044] Figure 1 A schematic diagram of a method for searching target carbon emission data according to one aspect of the present invention is shown, wherein the method of one embodiment includes:

[0045] S101 searches and obtains carbon emission data from a preset carbon emission database based on keywords input by a user, wherein the carbon emission data includes a plurality of carbon emission data records;

[0046] S102 uses an Elasticsearch search engine to perform word segmentation and matching score processing on the carbon emission data to determine a first matching score between each carbon emission data record of the carbon emission data and the keyword;

[0047] S103: Filter out all carbon emission data records whose first matching scores meet a first preset threshold in the carbon emission data as first target carbon emission data.

[0048] The method of this embodiment is implemented by a device 100 installed with corresponding software and hardware. The device 100 can be a computer device and / or a cloud, and can search and obtain the carbon emission data of the organization from a carbon emission database storing the carbon emission data of the organization and the carbon footprint data of the product, wherein the carbon emission database can be deployed in the device 100 or independently. The computer device includes but is not limited to a personal computer, a laptop computer, an industrial computer, a server, a network host, a single network server or a network server cluster; the cloud is composed of a large number of computers or network servers based on cloud computing (Cloud Computing), wherein cloud computing is a type of distributed computing, a virtual supercomputer composed of a group of loosely coupled computer sets.

[0049] Here, the computer device and / or cloud are only examples. Other existing or future devices and / or resource sharing platforms that are applicable to the present application should also be included in the protection scope of the present application and are incorporated herein by reference.

[0050] In this embodiment, in step S101, the device 100 searches for carbon emission data from a preset carbon emission database based on keywords input by a user, wherein the carbon emission data includes a plurality of carbon emission data records.

[0051] Among them, the user can determine the keywords according to their production and operation needs, wherein the keywords can be the organization name, product name, carbon reduction technology name (for example, distillation tower, heat recovery, etc.), special product code (for example, CAS (Chemical Abstracts Service, Chemical Abstracts Service) number of chemical products), etc. Access the carbon emission data service platform of the third-party service provider (for example, Yitan's carbon exploration) through the device 100, and access the pre-built carbon emission database, wherein the carbon emission database may include a large amount of carbon emission data of many organizations and the carbon footprint data of the organization's products, wherein the carbon emission data of the organization can be obtained directly from the organization, or can be obtained through public channels, such as purchased or free domestic and foreign carbon footprint / factor database resources, the organization's carbon disclosure report or ESG (Environmental-Social-Governance, Environmental-Social-Governance) report, and other channels. The organization actively or agrees to disclose carbon emission data through third parties. Among them, the carbon emission data of the organization obtained may contain redundant data, data that does not conform to the format, invalid data, etc., and the carbon emission data of the organization obtained can also be pre-processed, and the redundant and invalid data are removed and stored in the carbon emission database.

[0052] Among them, according to the input keyword, the carbon emission data matching the keyword can be searched from the carbon emission database, wherein the obtained carbon emission data includes several carbon emission data records of different categories, wherein the categories may include: product carbon footprint, organization (or enterprise), application factor (for example, waste, etc.) and special type (empty type, or no valid carbon emission data), etc., or categories determined by other classification methods, wherein the same carbon emission database adopts the same classification method. As an example, if the keyword determined by the user is "glass bottle", the keyword "glass" can be input through the device 100 deployed with the carbon exploration platform of Yitan, and the search result obtained includes several carbon emission data records of related organizations, products and application factors, etc., and some records are shown in Table 1.

[0053] Table 1

[0054]

[0055] Continuing with this embodiment, in step S102, the device 100 uses the Elasticsearch search engine to perform word segmentation and matching score processing on the carbon emission data to determine a first matching score between each carbon emission data record of the carbon emission data and the keyword.

[0056] Among them, in order to improve the fit between the searched carbon emission data and the needs of users, for the carbon emission data obtained based on keyword search, the Elasticsearch search engine can be used, and the Elasticsearch word segmenter can be used to perform word segmentation and matching score processing on the carbon emission data based on its rules and algorithms to determine the first matching score between each carbon emission data record of the carbon emission data and the keyword. Among them, Elasticsearch is a distributed, highly scalable, and highly real-time search and data analysis engine. Using the Elasticsearch word segmenter technology, through the rules and algorithms of Elasticsearch, each field data in each record of the input carbon emission data will be converted into "words" through text. Each "word" represents an independent word or phrase. At the same time, the word segmenter will also record the position of the word and the character offset of the original data / word, providing necessary and quick information for search and index operations, and determining the relevant matching weights and scores. Continuing with the above example, the Elasticsearch search engine is used to perform word segmentation and matching score processing on the carbon emission data in Table 1 to determine the first matching score (or score) between each carbon emission data record and the keyword, as shown in Table 2.

[0057] Table 2

[0058]

[0059] Continuing with this embodiment, in step S103, the device 100 selects all carbon emission data records in the carbon emission data whose first matching scores meet a first preset threshold as first target carbon emission data.

[0060] Among them, the first preset threshold can be preset according to user needs, and then all carbon emission data records whose first matching scores meet the first preset threshold are screened out from the carbon emission data obtained based on the keyword search. Continuing the above example, assuming that the first preset threshold is 5, and meeting the first preset threshold is greater than 5, then based on the above Table 2, the first target carbon emission data obtained is shown in Table 3.

[0061] Table 3

[0062]

[0063] Through the above embodiments, target carbon emission data that meets user needs can be quickly and efficiently searched and acquired from the carbon emission database.

[0064] Optionally, in order to further improve the fit between search results and user needs, the method for searching target carbon emission data further includes:

[0065] S104: Based on a preset word library and a first preset scoring rule, the first target carbon emission data is segmented and matched to determine a second matching score between each carbon emission data record of the first target carbon emission data and the keyword;

[0066] S105: Filter out all carbon emission data records whose second matching scores meet a second preset threshold in the first target carbon emission data as second target carbon emission data.

[0067] Among them, a word library for word segmentation can be pre-organized and formulated in combination with the characteristics of relevant industries, and a first preset scoring rule can be customized in combination with the word library, wherein the word library can organize special words according to the relevant regulations and standards of each industry, including but not limited to the commonly used product abbreviations, aliases or recognized common names, industry standard terms, etc. in different industries, and can also include industries, name codes or codes, composition information, and product upstream and downstream information, etc. An exemplary customized first preset scoring rule for evaluating a certain field can be shown in Table 4, wherein the data heat of the field data (for example, the number of likes, collections, citations and / or approvals of the data) can be counted based on the degree of match between the keywords and the field, and the "interaction" attribute of the data can be used to evaluate the score of each carbon emission data record, and superimposed on the first matching score as the second matching score.

[0068] Table 4

[0069]

[0070]

[0071] In this optional embodiment, in step S104, the device 100 can perform word segmentation and matching scoring on the obtained first target carbon emission data according to a preset vocabulary and a first preset scoring rule, and superimpose the calculation with the aforementioned first matching score to obtain a second matching score between each carbon emission data record of the first target carbon emission data and the keyword.

[0072] Continuing in this optional embodiment, in step S105, the device 100 selects all carbon emission data records in the first target carbon emission data whose second matching scores meet the second preset threshold as the second target carbon emission data.

[0073] The above exemplary carbon emission data obtained by searching with the Elasticsearch search engine is shown in Table 3. Assuming that the field names to be matched include "name" and "sales products", without considering the popularity of the data, the preset vocabulary and the above-mentioned customized first preset scoring rule are used to perform word segmentation and matching score on the data in Table 3, and the carbon emission data obtained after superimposing the calculation and screening with the above-mentioned first matching score is shown in Table 5.

[0074] Table 5

[0075]

[0076] Assuming that the second preset threshold is 10, and satisfying the second preset threshold is greater than 10, all carbon emission data records with scores greater than 10 can be screened out from Table 5 as the second target carbon emission data.

[0077] Through the above optional embodiments, target carbon emission data that further meets the needs of the user can be searched and acquired from the carbon emission database.

[0078] Optionally, in order to further improve the fit between search results and user needs, the method for searching target carbon emission data further includes:

[0079] S106 calculates the score of each carbon emission data record of the second target carbon emission data according to the second preset scoring rule, and selects all carbon emission data records in the second target carbon emission data whose scores meet the third preset threshold as the third target carbon emission data.

[0080] Among them, it is also possible to customize several corresponding scoring parameter items in combination with categories, such as product carbon footprint, organization (or enterprise), application factor and special type, and calculate the second preset scoring rule of carbon emission data record according to these scoring parameter items for different categories. An exemplary second preset scoring rule for customizing the calculation score is shown in Table 6 below.

[0081] Table 6

[0082]

[0083] In this optional embodiment, in step S106, the device 100 calculates according to the second preset scoring rule that is customized, and superimposes the second matching score to obtain the score of each carbon emission data record of the aforementioned second target carbon emission data, and screens out all carbon emission data records in the second target carbon emission data whose scores meet the third preset threshold value as the third target carbon emission data. The above exemplary obtained second target carbon emission data is assumed to be shown in Table 5. Assuming that Company A has completed the certification and Company B has not completed the certification, the customized second preset scoring rule as shown in Table 6 can be used to calculate the data in Table 5 and superimpose it with the aforementioned second matching score. The obtained carbon emission data is shown in Table 7.

[0084] Table 7

[0085]

[0086]

[0087] Among them, all carbon emission data records whose scores meet the third preset threshold in the second target carbon emission data can also be screened out as the third target carbon emission data. For the carbon emission data shown in the above exemplary Table 7, assuming that the third preset threshold is 12, and the third preset threshold is met as greater than 12, all carbon emission data records with a score greater than 12 can be screened out from Table 7 as the third target carbon emission data, as shown in Table 8.

[0088] Table 8

[0089]

[0090] In order to better display it to users and facilitate more intuitive viewing, the acquired target carbon emission data can be sorted.

[0091] Optionally, the method for searching target carbon emission data further includes:

[0092] Each carbon emission data record in the first target carbon emission data is sorted according to category, wherein the carbon emission data records of the same category are sorted according to the first matching score.

[0093] In this optional embodiment, the first target carbon emission data obtained through steps S101 to S103 in the aforementioned embodiment can be sorted according to categories, such as product carbon footprint, organization (or enterprise), application factor and special type, and different carbon emission data records of the same category can be sorted according to their first matching scores.

[0094] Optionally, the method for searching target carbon emission data further includes:

[0095] Each carbon emission data record in the second target carbon emission data is sorted according to category, wherein the carbon emission data records of the same category are sorted according to the second matching score.

[0096] In this optional embodiment, the second target carbon emission data obtained through steps S101 to S105 in the aforementioned embodiment can be sorted according to categories, such as product carbon footprint, organization (or enterprise), application factor and special type, and different carbon emission data records of the same category can be sorted according to their second matching scores.

[0097] Optionally, the method for searching target carbon emission data further includes:

[0098] Each carbon emission data record in the third target carbon emission data is sorted according to category, wherein the carbon emission data records of the same category are sorted according to the score.

[0099] In this optional embodiment, the third target carbon emission data obtained through steps S101 to S106 in the aforementioned embodiment can be sorted according to categories, such as product carbon footprint, organization (or enterprise), application factor and special type, and different carbon emission data records of the same category can be sorted according to their scores.

[0100] In another optional embodiment, for the second target carbon emission data obtained through steps S101 to S105 in the above embodiment, the device 100 calculates according to the second preset scoring rule, and re-sorts different carbon emission data records of the same category according to the score when sorting, and does not add the second matching score as the score of each carbon emission data record of the above second target carbon emission data, so that the user can view more searched carbon emission data according to the degree of fit.

[0101] Figure 2 A device for searching target carbon emission data according to another aspect of the present invention is shown, wherein the device of one embodiment includes:

[0102] The first module 210 is used to search and obtain carbon emission data from a preset carbon emission database based on keywords input by a user, wherein the carbon emission data includes a plurality of carbon emission data records;

[0103] The second module 220 is used to use the Elasticsearch search engine to perform word segmentation and matching score processing on the carbon emission data to determine a first matching score between each carbon emission data record of the carbon emission data and the keyword;

[0104] The third module 230 is used to filter out all carbon emission data records in the carbon emission data whose first matching scores meet a first preset threshold as first target carbon emission data.

[0105] In this embodiment, the apparatus has the same software and hardware environment as the device 100 for executing the aforementioned method embodiment and / or optional embodiment.

[0106] In this embodiment, through the first module 210 of the device, carbon emission data can be searched and acquired from a preset carbon emission database according to keywords input by a user, wherein the carbon emission data includes a plurality of carbon emission data records.

[0107] Among them, the user can determine the keywords according to their production and operation needs, wherein the keywords can be the name of the organization, the name of the product, the name of the carbon reduction technology, the special product code, etc. Through the first module 210 of the device, the carbon emission database in the carbon emission data service platform of the third-party service provider is accessed, wherein the carbon emission database may include a large amount of carbon emission data of many organizations and the carbon footprint data of the products of the organization, wherein the carbon emission data of the organization can be obtained directly from the organization, or can be obtained through public channels, such as purchased or free domestic and foreign carbon footprint / factor database resources, the carbon disclosure report or ESG report of the organization, and the carbon emission data obtained from other channels that the organization actively or agrees to disclose to a third party. Among them, the carbon emission data of the organization obtained may contain redundant data, data that does not conform to the format, invalid data, etc., and the carbon emission data of the organization obtained can also be pre-processed, and the redundant and invalid data are removed and stored in the carbon emission database. Among them, according to the input keywords, the carbon emission data matching the keywords can be searched from the carbon emission database, wherein the obtained carbon emission data includes several carbon emission data records of different categories, wherein the categories may include: product carbon footprint, organization (or enterprise), application factor (for example, waste, etc.) and special types (empty type, or no valid carbon emission data), etc., or categories determined by other classification methods, wherein the same carbon emission database adopts the same classification method.

[0108] Continuing with this embodiment, through the second module 220 of the device, an Elasticsearch search engine can be used to perform word segmentation and matching score processing on the carbon emission data to determine a first matching score between each carbon emission data record of the carbon emission data and the keyword.

[0109] Among them, in order to improve the fit between the searched carbon emission data and user needs, for the carbon emission data obtained based on keyword search, the second module 220 of the device can use the Elasticsearch search engine, and use the Elasticsearch word segmenter to perform word segmentation and matching score processing on the carbon emission data based on its rules and algorithms to determine the first matching score between each carbon emission data record of the carbon emission data and the keyword.

[0110] Continuing in this embodiment, through the third module 230 of the device, all carbon emission data records in the carbon emission data whose first matching scores meet the first preset threshold can be screened out as the first target carbon emission data.

[0111] Among them, a first preset threshold can be preset according to user needs, and then all carbon emission data records whose first matching scores meet the first preset threshold are screened out from the carbon emission data obtained based on the keyword search.

[0112] Through the device of the above embodiment, it is possible to quickly and efficiently search and obtain target carbon emission data that meets the needs of the user from the carbon emission database.

[0113] Optionally, the device for searching target carbon emission data further includes:

[0114] The fourth module 240 is used to perform word segmentation and matching scoring processing on the first target carbon emission data based on a preset word library and a first preset scoring rule to determine a second matching score between each carbon emission data record of the first target carbon emission data and the keyword;

[0115] The fifth module 250 is used to filter out all carbon emission data records whose second matching scores meet a second preset threshold in the first target carbon emission data as second target carbon emission data.

[0116] In order to further improve the fit between search results and user needs, in this optional embodiment, through the fourth module 240 of the device, the first target carbon emission data obtained can be segmented and matched according to the preset vocabulary and the first preset scoring rule, and superimposed with the aforementioned first matching score to obtain a second matching score between each carbon emission data record of the first target carbon emission data and the keyword.

[0117] Continuing in this optional embodiment, through the fifth module 250 of the device, all carbon emission data records in the first target carbon emission data whose second matching scores meet the second preset threshold are screened out as the second target carbon emission data.

[0118] By using the device of the above optional embodiment, target carbon emission data that further meets the needs of the user can be searched and obtained from the carbon emission database.

[0119] Optionally, the device for searching target carbon emission data further includes:

[0120] The sixth module 260 is used to calculate the score of each carbon emission data record of the second target carbon emission data according to the second preset scoring rule, and filter out all carbon emission data records in the second target carbon emission data whose scores meet the third preset threshold as the third target carbon emission data.

[0121] In order to further improve the fit between search results and user needs, in this optional embodiment, the sixth module 260 of the device is used to calculate according to the customized second preset scoring rule and superimpose the second matching score to obtain the score of each carbon emission data record of the aforementioned second target carbon emission data, and screen out all carbon emission data records in the second target carbon emission data whose scores meet the third preset threshold as the third target carbon emission data.

[0122] In each embodiment and / or optional embodiment of the above-mentioned device, the unmentioned parts in the method steps performed by each module are the same as those in the aforementioned related method embodiments and / or optional embodiments, and will not be repeated here.

[0123] According to yet another aspect of the present invention, a computer-readable medium is provided, wherein the computer-readable medium stores computer-readable instructions, and the computer-readable instructions can be executed by a processor to implement the aforementioned method.

[0124] It should be noted that the various method embodiments of the present invention can be implemented in software and / or a combination of software and hardware. The software program involved in the present invention can be executed by a processor to implement the steps or functions of the above-mentioned various embodiments. Similarly, the software program of the present invention (including related data structures) can be stored in a computer-readable recording medium.

[0125] In addition, a part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. The program instruction for calling the method of the present invention may be stored in a fixed or removable recording medium, and / or transmitted through a data stream in a broadcast or other signal-bearing medium, and / or stored in a working memory of a computer device that operates according to the program instruction.

[0126] According to another aspect of the present invention, a device for searching target carbon emission data is provided, the device comprising: a memory for storing computer program instructions and a processor for executing the program instructions, wherein when the computer program instructions are executed by the processor, the device is triggered to execute methods and / or technical solutions as described in the aforementioned embodiments and / or optional embodiments.

[0127] It is obvious to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above, and that the present invention can be implemented in other specific forms without departing from the spirit or essential features of the present invention. Therefore, from any point of view, the embodiments should be regarded as exemplary and non-restrictive, and the scope of the present invention is defined by the appended claims rather than the above description, and it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present invention. Any figure mark in the claims should not be regarded as limiting the claims involved. In addition, it is obvious that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices stated in the device claim can also be implemented by one unit or device through software and / or hardware. The words first, second, etc. are used to indicate names, and do not indicate any particular order.

Claims

1. A method for searching target carbon emission data, characterized in that: The method comprises: Based on the keywords input by the user, searching and acquiring carbon emission data from a preset carbon emission database, wherein the carbon emission data includes a plurality of carbon emission data records; Using an Elasticsearch search engine, the carbon emission data is segmented and matched with each other to determine a first matching score between each carbon emission data record of the carbon emission data and the keyword; All carbon emission data records whose first matching scores meet a first preset threshold in the carbon emission data are screened out as first target carbon emission data.

2. The method according to claim 1, characterized in that The method further comprises: Based on a preset word library and a first preset scoring rule, the first target carbon emission data is segmented and matched to determine a second matching score between each carbon emission data record of the first target carbon emission data and the keyword; All carbon emission data records whose second matching scores meet a second preset threshold in the first target carbon emission data are screened out as second target carbon emission data.

3. The method according to claim 2, characterized in that The method further comprises: According to the second preset scoring rule, the score of each carbon emission data record of the second target carbon emission data is calculated, and all carbon emission data records in the second target carbon emission data whose scores meet the third preset threshold are screened out as the third target carbon emission data.

4. The method according to claim 1, characterized in that: The method further comprises: Each carbon emission data record in the first target carbon emission data is sorted according to category, wherein the carbon emission data records of the same category are sorted according to the first matching score.

5. The method according to claim 2, characterized in that: The method further comprises: Each carbon emission data record in the second target carbon emission data is sorted according to category, wherein the carbon emission data records of the same category are sorted according to the second matching score.

6. The method according to claim 3, characterized in that The method further comprises: Each carbon emission data record in the third target carbon emission data is sorted according to category, wherein the carbon emission data records of the same category are sorted according to the score.

7. A device for searching target carbon emission data, characterized in that: The device comprises: The first module is used to search and obtain carbon emission data from a preset carbon emission database based on keywords input by a user, wherein the carbon emission data includes a plurality of carbon emission data records; The second module is used to use the Elasticsearch search engine to perform word segmentation and matching score processing on the carbon emission data to determine a first matching score between each carbon emission data record of the carbon emission data and the keyword; The third module is used to filter out all carbon emission data records whose first matching scores in the carbon emission data meet a first preset threshold as first target carbon emission data.

8. The method according to claim 7, characterized in that The device also includes: A fourth module is used to perform word segmentation and matching scoring processing on the first target carbon emission data based on a preset word library and a first preset scoring rule to determine a second matching score between each carbon emission data record of the first target carbon emission data and the keyword; The fifth module is used to filter out all carbon emission data records whose second matching scores meet a second preset threshold in the first target carbon emission data as second target carbon emission data.

9. The method according to claim 8, characterized in that The device also includes: The sixth module is used to calculate the score of each carbon emission data record of the second target carbon emission data according to the second preset scoring rule, and filter out all carbon emission data records in the second target carbon emission data whose scores meet the third preset threshold as the third target carbon emission data.

10. A computer-readable medium, characterized in that Computer readable instructions are stored thereon, and the computer readable instructions are executed by a processor to implement the method according to any one of claims 1 to 6.

11. A device for searching target carbon emission data, characterized in that: The device comprises: one or more processors; and A memory storing computer readable instructions which, when executed, cause the processor to perform the operations of the method as claimed in any one of claims 1 to 6.