A method, device and equipment for data processing
Using image recognition technology to identify merchants' carbon-saving behaviors solves the problem of being unable to effectively quantify carbon emissions in existing technologies, realizes the quantification of merchants' carbon emissions, and promotes merchants' energy-saving and emission-reducing behaviors.
Patent Information
- Application Number
- CN202110545546.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2017-12-14
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2037-12-14
AI Technical Summary
The existing technology cannot effectively quantify people's carbon emissions in daily life, resulting in the inability to effectively carry out carbon saving work.
By obtaining images to be recognized collected by users, using a pre-trained image recognition model to identify merchants' carbon-saving behaviors, and determining their carbon emissions based on the identified behaviors, a data processing method, device and equipment are provided to achieve this goal. .
It has achieved effective quantification of merchants' carbon emissions, allowing merchants to understand their own carbon conservation status, thereby carrying out carbon conservation work more effectively and promoting social energy conservation and emission reduction.
Smart Images

Figure CN113139524B_ABST
Abstract
Description
[0001] This application is "A method, device and equipment for data processing (application date: December 14, 2017, application number: 201711334828.0)”. Technical Field
[0002] The present invention relates to the field of computer technology, and in particular to a method, device and equipment for data processing. Background Art
[0003] Carbon emissions is a general term or abbreviation for greenhouse gas emissions. People's daily lives may directly or indirectly contribute to carbon emissions, such as automobile exhaust emissions, thermal power generation, and the use of disposable goods. As carbon emissions increase, the degree of damage to the environment on which people depend for survival is also gradually increasing.
[0004] Currently, people are reducing carbon emissions through various means, such as developing and promoting cleaner electric vehicles, building more wind and hydroelectric power stations, and manufacturing and using more environmentally friendly consumables. However, there are currently no effective quantitative criteria for carbon savings, which allows people to understand their actual carbon savings in real life, and thus cannot carry out subsequent carbon savings more effectively based on the actual carbon savings in real life.
[0005] Based on this, how to effectively quantify the amount of carbon savings in people’s daily lives is an urgent problem to be solved. Summary of the invention
[0006] This specification provides a data processing method to solve the problem in the prior art that carbon savings cannot be effectively quantified.
[0007] This specification provides a data processing method, including:
[0008] Acquire an image to be identified sent by a user, where the image to be identified is collected by the user for a merchant;
[0009] Recognize the image to be recognized by using a pre-trained image recognition model to recognize the carbon-saving behavior of the merchant;
[0010] According to the carbon saving behavior, a value representing the carbon saving amount of the merchant is determined.
[0011] This specification provides a data processing device to solve the problem in the prior art that carbon saving cannot be effectively quantified.
[0012] This specification provides a data processing device, including:
[0013] An acquisition module, which acquires an image to be identified sent by a user, wherein the image to be identified is collected by the user for a merchant;
[0014] A recognition module, which recognizes the image to be recognized through a pre-trained image recognition model to determine the merchant's carbon-saving behavior;
[0015] A determination module determines a value representing the carbon saving amount of the merchant according to the carbon saving behavior.
[0016] This specification provides a data processing device to solve the problem in the prior art that carbon saving cannot be effectively quantified.
[0017] This specification provides a data processing device, including one or more memories and a processor, wherein the memory stores a program and is configured to execute the following steps by the one or more processors:
[0018] Acquire an image to be identified sent by a user, where the image to be identified is collected by the user for a merchant;
[0019] Recognize the image to be recognized by using a pre-trained image recognition model to recognize the carbon-saving behavior of the merchant;
[0020] According to the carbon saving behavior, a value representing the carbon saving amount of the merchant is determined.
[0021] This specification provides a data processing method to solve the problem in the prior art that carbon savings cannot be effectively quantified.
[0022] This specification provides a data processing method, including:
[0023] Collect images to be identified for merchants;
[0024] The image to be identified is sent to a server so that the server can identify the image to be identified through a pre-trained image recognition model to identify the carbon saving behavior of the merchant, and determine a value representing the carbon saving amount of the merchant based on the carbon saving behavior.
[0025] This specification provides a data processing device to solve the problem in the prior art that carbon saving cannot be effectively quantified.
[0026] This specification provides a data processing device, including:
[0027] A collection module collects images to be identified from merchants;
[0028] The sending module sends the image to be identified to the server, so that the server can identify the image to be identified through a pre-trained image recognition model to identify the carbon saving behavior of the merchant, and determine a value representing the carbon saving amount of the merchant based on the carbon saving behavior.
[0029] This specification provides a data processing device to solve the problem in the prior art that carbon saving cannot be effectively quantified.
[0030] This specification provides a data processing device, including one or more memories and a processor, wherein the memory stores a program and is configured to execute the following steps by the one or more processors:
[0031] Collect images to be identified for merchants;
[0032] The image to be identified is sent to a server so that the server can identify the image to be identified through a pre-trained image recognition model to identify the carbon saving behavior of the merchant, and determine a value representing the carbon saving amount of the merchant based on the carbon saving behavior.
[0033] At least one of the above technical solutions adopted in this specification can achieve the following beneficial effects:
[0034] In one or more embodiments of the present specification, after obtaining the image to be identified that is collected by the user for a merchant, the image to be identified can be identified through a pre-trained image recognition model to identify the merchant's carbon-saving behavior, and based on the identified carbon-saving behavior, a value representing the merchant's carbon-saving amount can be determined.
[0035] Since the carbon-saving behavior of merchants can be identified based on the images to be identified collected by users for merchants, the carbon saving amount of the merchant can be effectively quantified based on the identified carbon-saving behavior. Therefore, based on the quantified value of the carbon saving amount, merchants can understand their actual carbon-saving situation, and based on the actual carbon-saving situation learned, they can effectively carry out subsequent carbon-saving work, which can bring positive impacts to the society's energy conservation and emission reduction work. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] The drawings described herein are used to provide a further understanding of this specification and constitute a part of this specification. The illustrative embodiments and descriptions of this specification are used to explain this specification and do not constitute an improper limitation on this specification. In the drawings:
[0037] Figure 1 A schematic diagram of the data processing process provided for this specification;
[0038] Figure 2 A schematic diagram of a user collecting images of a merchant provided in this manual;
[0039] Figure 3 A schematic diagram of the entire data processing process provided for this specification;
[0040] Figure 4A schematic diagram of a data processing device provided in this specification;
[0041] Figure 5 A schematic diagram of a data processing device provided in this specification;
[0042] Figure 6 A schematic diagram of a data processing device provided in this specification;
[0043] Figure 7 A schematic diagram of a data processing device provided in this specification. DETAILED DESCRIPTION
[0044] In this specification, a user can collect images of merchants and send the collected images to a server through a terminal, so that the server can quantify the carbon-saving behavior implemented by the merchant based on the images sent by the user. The information related to the merchant's carbon-saving behavior included in the image can be collected by the user actively for the merchant's carbon-saving behavior, or the user can collect items related to the merchant's carbon-saving behavior in the process of collecting other information while in the merchant. For example, when a user is dining in a merchant, non-disposable chopsticks are collected in the process of taking pictures of the dishes. The non-disposable chopsticks mentioned here are items related to the merchant's carbon-saving behavior.
[0045] Since users have little motivation to actively help merchants improve the quantitative value of their carbon-saving behaviors through fraudulent means, quantifying merchants' carbon-saving behaviors through images collected by users from merchants can effectively avoid the possibility of merchants falsifying data to improve the quantitative value of their own carbon-saving behaviors.
[0046] In this specification, the execution entity for quantifying the merchant's carbon savings may be a terminal, a server, or other equipment. To facilitate the description of the data processing method provided in this specification, the following description will only take the server as an example.
[0047] In order to enable those skilled in the art to better understand the technical solutions in one or more embodiments of this specification, the technical solutions in one or more embodiments of this specification will be clearly and completely described below in conjunction with the drawings in one or more embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this specification.
[0048] Figure 1 The data processing process provided in this specification specifically includes the following steps:
[0049] S100: Acquire an image to be recognized sent by a user.
[0050] In this specification, users can capture images of merchants, obtain images to be identified, and send the images to be identified to the server, and the server can identify the acquired images to be identified. The images to be identified mentioned here may refer to images collected by users, which contain information related to the merchant's carbon-saving behavior. The images to be identified may be in the form of video or picture. The carbon-saving behaviors mentioned here can be divided into two categories. One category refers to the positive behaviors that merchants have taken to promote carbon saving, such as not using disposable tableware and using environmentally friendly furniture. The other category refers to the negative behaviors that merchants have taken that do not promote carbon saving, such as using disposable tableware and excessive coal burning. Users can perform image capture on merchants' carbon-saving behaviors as follows: Figure 2 shown.
[0051] Figure 2 This is a schematic diagram of a user collecting images of a merchant provided in this manual.
[0052] Suppose that when a user is dining in a merchant, he finds that the tableware provided by the merchant is non-disposable tableware. The user can use the mobile phone he holds to capture images of the non-disposable tableware provided by the merchant, obtain images to be identified, and send the images to be identified to the server for identification.
[0053] S102: Recognize the image to be recognized by using a pre-trained image recognition model to recognize the carbon-saving behavior of the merchant.
[0054] After the server obtains the image to be identified sent by the user through the terminal, it can identify the image to be identified through a pre-trained image recognition model. The image recognition model can be obtained manually based on a large number of collected training samples. The image recognition model mentioned here can use commonly used recognition algorithms such as MobileNet, FasterRCNN, etc., and the recognition algorithm used is not limited here.
[0055] It can be seen from the above step S100 that the merchant's carbon-saving behavior can be divided into two categories. Therefore, in this specification, the server can use the image recognition model to identify which category the merchant's carbon-saving behavior belongs to from the acquired image to be recognized. For example, when the server recognizes the presence of a chopstick sterilizer from the image to be recognized sent by the user through the pre-trained image recognition model, it can be determined that the merchant's carbon-saving behavior is a positive behavior that promotes carbon saving.
[0056] In addition to determining what type of carbon-saving behavior a merchant has through the image to be identified sent by the user, the server can also determine the specific form of carbon-saving behavior implemented by the merchant. For example, when the server identifies an energy-saving lamp from the image to be identified through the image recognition model, it can determine that the specific form of carbon-saving behavior implemented by the restaurant is the positive behavior of using energy-saving lamps; when the server identifies a chopstick sterilizer from the image to be identified through the image recognition model, it can determine that the specific form of carbon-saving behavior implemented by the restaurant is the positive behavior of providing non-disposable chopsticks (because generally speaking, the use of chopstick sterilizers by restaurants can indicate that the restaurant provides non-disposable chopsticks, and providing non-disposable chopsticks indicates that the restaurant has increased its carbon savings).
[0057] For another example, when the server identifies bamboo furniture from the image to be identified through the image recognition model, it can determine that the specific form of the merchant's carbon-saving behavior is the positive behavior of using bamboo furniture (generally speaking, the growth rate of bamboo is faster than that of trees, so the use of bamboo furniture can reduce the felling of trees, and the reduction in the amount of tree felling increases the amount of greenhouse gases absorbed by trees, thereby indirectly increasing the amount of carbon savings).
[0058] In this specification, if the server cannot identify the carbon-saving behavior of the merchant from the acquired image to be identified through the pre-trained image recognition model, it can send a marking prompt to the user to allow the user to mark the sent image to be identified. The server can determine the carbon-saving behavior of the merchant based on the marking information sent by the user.
[0059] For example, suppose that a user captures an image of a chopstick sterilizer and sends the image to be identified to the server. If the server cannot identify the merchant's carbon-saving behavior from the image to be identified through a pre-trained image recognition model, it can send a marking prompt to the user. After the user sees the marking prompt sent by the server, the user can send the marking information of the chopstick sterilizer to the server through the terminal, so that the server can determine the merchant's carbon-saving behavior (what type of behavior the merchant's carbon-saving behavior belongs to, and the specific form of the carbon-saving behavior, etc.) based on the marking information. For example, when the server receives the marking information sent by the user as disposable chopsticks, it can be determined that the merchant's carbon-saving behavior is a negative behavior that does not promote carbon saving, and the specific form is the use of disposable tableware.
[0060] Usually, the above image recognition models are usually pre-trained by humans through a large number of training samples, and these training samples are usually manually labeled. Therefore, if the image recognition model needs to be further adjusted later, it is necessary to determine some training samples through manual labeling again, so as to adjust the image recognition model through these training samples, which will greatly consume manpower costs and reduce the efficiency of model training.
[0061] In this manual, since the image recognition model can be trained using the marking information sent by the user, it is equivalent to the user completing the marking of the training samples. This not only continuously improves the recognition ability of the image recognition model, but also greatly reduces the manpower cost of training the image recognition model and improves the efficiency of model training.
[0062] S104: Determine a value representing the carbon saving amount of the merchant according to the carbon saving behavior.
[0063] After the server determines the merchant's carbon-saving behavior, it can determine a value that matches the carbon-saving behavior and represents the merchant's carbon-saving amount. When the merchant's carbon-saving behavior is a positive behavior that promotes carbon-saving, the value representing the merchant's carbon-saving amount can be a positive value, and when the merchant's carbon-saving behavior is a negative behavior that does not promote carbon-saving, the value representing the merchant's carbon-saving amount can be a negative value.
[0064] In this specification, the value representing the carbon saving amount of the merchant may be in the form of points, that is, the server may determine the carbon saving points representing the carbon saving amount of the merchant based on the merchant's carbon saving behavior. The server may add the determined carbon saving points to the merchant's carbon saving account. Among them, the carbon saving account mentioned here may be one that the merchant has opened in advance. The merchant may submit its own merchant information to the server in advance to apply for opening a carbon saving account. The server may review the merchant information submitted by the merchant, and open a carbon saving account for the merchant after determining that the merchant information submitted by the merchant has passed the review.
[0065] After determining the merchant's carbon-saving behavior, the server can further determine the behavior category to which the merchant's carbon-saving behavior belongs, and then add the carbon-saving points corresponding to the behavior category to the merchant's carbon-saving account. For example, if the server determines that the merchant's carbon-saving behavior is a positive behavior that promotes carbon saving based on the identified carbon-saving behavior, the carbon-saving points corresponding to the positive behavior can be added to the merchant's carbon-saving account, and when it is determined that the merchant's carbon-saving behavior is a negative behavior that does not promote carbon saving, the carbon-saving points corresponding to the negative behavior can be deducted from the merchant's carbon-saving account.
[0066] After determining the merchant's carbon-saving behavior, the server may also add carbon-saving points that match the specific form to the merchant's carbon-saving account according to the specific form of the carbon-saving behavior. In other words, different specific forms may correspond to different carbon-saving points, and merchants may obtain different carbon-saving points by adopting different forms of carbon-saving behavior. For example, when the server determines that the specific form of the merchant's carbon-saving behavior is the use of a chopstick sterilizer, the carbon-saving points corresponding to this form may be added to the merchant's carbon-saving account. For another example, when the server determines that the specific form of the merchant's carbon-saving behavior is the use of disposable tableware, the carbon-saving points corresponding to this form may be deducted from the merchant's carbon-saving account.
[0067] After determining the specific form of the merchant's carbon-saving behavior, the server can also determine the carbon-saving points that need to be added to the merchant's carbon-saving account through the specific form, a preset algorithm, and other information. The other information mentioned here can refer to the user's credit rating, the number of carbon-saving positive reviews the merchant has received, and other information. When the server determines that the merchant's carbon-saving behavior is a positive behavior that promotes carbon-saving based on an image to be identified sent by a user, it can be counted as a carbon-saving positive review received by the merchant.
[0068] Of course, the server may also determine the carbon saving points in other ways and add the carbon saving points to the merchant's carbon saving account, which will not be explained here one by one.
[0069] While the server adds the determined carbon saving points to the merchant's carbon saving account, it can also determine the contribution of the user who sent the image to be identified, and then add the contribution to the user's account and / or distribute virtual items corresponding to the contribution to the user.
[0070] The server can determine the user's contribution in a variety of ways. For example, active carbon-saving behaviors can include a variety of specific forms, and different specific forms correspond to different contributions. Therefore, the server can determine the corresponding contribution based on the specific form of the determined carbon-saving behavior; or determine the corresponding contribution based on the user's credit rating. Of course, the server can also determine the user's contribution in other ways, which will not be explained one by one here.
[0071] The contribution mentioned above can be in many forms, such as points, red envelopes, etc. The virtual items mentioned above can also be in many forms, such as the server can issue coupons to users, or issue VIP privileges of some services to users within a time limit.
[0072] In order to further encourage merchants to implement active carbon-saving behaviors, the server can provide many convenient services to the merchant based on the carbon-saving points in the merchant's carbon-saving account. For example, when the server determines that the carbon-saving points in the merchant's carbon-saving account exceed the set points or reach the set ranking, the merchant's information can be displayed on the merchant recommendation homepage to further promote the merchant. For another example, when it is determined that the carbon-saving points in the merchant's carbon-saving account exceed the set points, the merchant's loan amount can be increased. Of course, there are many more convenient services that the server provides to merchants based on the merchant's carbon-saving points, which will not be listed one by one here.
[0073] It can be seen from the above method that since the carbon-saving behavior of the merchant can be identified based on the image to be identified collected by the user for the merchant, the carbon saving amount of the merchant can be effectively quantified based on the identified carbon-saving behavior of the merchant. Therefore, based on the quantified value of the carbon saving amount, the merchant can understand its actual carbon saving situation, and based on the actual carbon saving situation learned, the subsequent carbon saving work can be effectively carried out, which can bring positive impacts to the society's energy conservation and emission reduction work.
[0074] In addition, the server can use the marking information sent by the user and the images to be identified in which the carbon-saving behavior has not been identified to train and adjust the image recognition model, which greatly reduces the manpower cost consumed in training the image recognition model and improves the efficiency of model training.
[0075] Moreover, since merchants' carbon-saving behaviors can enable them to obtain corresponding carbon-saving points, the server can provide convenient services to merchants based on the carbon-saving points in their carbon-saving accounts. Therefore, with the popularization of carbon-saving accounts among merchants and the reward mechanism brought by the carbon-saving points in carbon-saving accounts, positive carbon-saving behaviors can be further promoted more effectively, thereby having a more positive impact on the environment on which people depend for survival.
[0076] In this specification, since the server needs to quantify the carbon saving amount of the merchant according to the image to be identified sent by the user, the server Figure 1 After receiving the image to be identified sent by the user, the step S100 shown needs to determine which merchant the image to be identified belongs to, and then determine the value representing the carbon saving amount of the merchant based on the image to be identified. In this specification, there are many ways for the server to determine the merchant corresponding to the above-mentioned image to be identified. For example, when a user evaluates a merchant through a mobile phone, the collected image to be identified can be sent to the server through the merchant's evaluation page, so that the server can add the determined carbon saving points to the carbon saving account of the merchant evaluated by the user based on the image to be identified.
[0077] For another example, when a user checks out via electronic payment, the collected image to be recognized can be sent to the server. The server can add the carbon saving points corresponding to the carbon saving behavior to the carbon saving account of the merchant receiving the payment when the user checks out, based on the carbon saving behavior recognized from the image to be recognized.
[0078] For another example, when the terminal collects the carbon-saving behavior of the merchant, it can determine the location information based on which the carbon-saving behavior is collected, and then send the collected image to be identified and the determined location information to the server, and the server can add the carbon-saving points determined based on the image to be identified to the carbon-saving account of the merchant corresponding to the location information. Of course, the merchant corresponding to the above-mentioned image to be identified can also be determined in other ways, which will not be explained one by one here.
[0079] In this specification, the terminal can send the collected image to be identified, the merchant logo, and the location information based on which the image to be identified is collected to the server, and the server can then identify the image to be identified when it determines that the location information matches the location of the merchant corresponding to the merchant logo, and based on the identified carbon-saving behavior, add the carbon-saving points corresponding to the carbon-saving behavior to the merchant's carbon-saving account.
[0080] The purpose of this is that some merchants may collect unrelated images to be identified elsewhere (such as collecting images to be identified from other merchants) to commit fraud. From the above method, it can be seen that even if some merchants collect images to be identified from other merchants to commit fraud, the server will add the determined carbon saving points to the carbon saving account of the merchant corresponding to the location information based on the location information when collecting the image to be identified, thereby effectively reducing the possibility of merchants committing fraud.
[0081] In this specification, since the above-mentioned marking information obtained by the server is derived subjectively by the user, there is a possibility that the carbon-saving behavior of the merchant determined by the server through the marking information is wrong. The server determines the value representing the carbon saving amount of the merchant based on the carbon-saving behavior determined by the erroneous marking information, which may cause losses to the merchant or other merchants.
[0082] In order to reduce the adverse effects of the above-mentioned problems, in this specification, when the server needs to determine the carbon-saving behavior of the merchant based on the marking information sent by the user, the benchmark value corresponding to the carbon-saving behavior can be multiplied by the determined trust coefficient, and the product of the two can be determined as the value representing the carbon saving amount of the merchant.
[0083] There are many ways for the server to determine the trust coefficient. For example, different carbon-saving behaviors (or different specific forms of carbon-saving behaviors) may correspond to different trust coefficients. The server may determine the corresponding trust coefficient based on the determined carbon-saving behaviors (or specific forms of carbon-saving behaviors) of the merchant, and then determine the value representing the carbon-saving amount of the merchant based on the trust coefficient and the reference value corresponding to the carbon-saving behavior.
[0084] The trust coefficient mentioned here can be determined manually. For those images to be identified for which the server cannot identify the carbon-saving behavior (or the specific form of carbon-saving behavior) through the image recognition model, the server administrator can first determine the carbon-saving behavior (or the specific form of carbon-saving behavior) marked by the user for these images to be identified based on the marking information sent by the user, and then, for different carbon-saving behaviors (different specific forms of carbon-saving behavior) marked by the user, manually identify the images to be identified corresponding to the carbon-saving behavior (or the specific form) to determine the accuracy of the user's marking of the carbon-saving behavior (or the specific form), and then determine the trust coefficient corresponding to the carbon-saving behavior (or the specific form) based on the determined accuracy.
[0085] Of course, the server can determine the trust factor not only based on the determined carbon-saving behavior (or the specific form of carbon-saving behavior), but also based on the user information of the user and / or the merchant information of the merchant. The user information and merchant information mentioned here can refer to the credit rating of the user or merchant, the existing carbon-saving points in the carbon-saving account, and other information. As for other ways to determine the trust factor, they will not be explained one by one here.
[0086] In order to further illustrate the data processing method provided in this specification, the entire data processing process will be described below through a specific example. Figure 3 shown.
[0087] Figure 3 A schematic diagram of the entire data processing process provided in this manual.
[0088] from Figure 3 It can be seen that users can get certain rewards by collecting images of merchants' carbon-saving behaviors, and merchants can obtain certain carbon-saving points through the images to be identified collected by users for the merchants. Therefore, through this reward mechanism, more merchants can be encouraged to implement positive carbon-saving behaviors, thus forming a virtuous cycle and bringing positive impacts to energy conservation and emission reduction in the whole society.
[0089] The above is a data processing method provided by one or more embodiments of this specification. Based on the same idea, this specification also provides a corresponding data processing device, such as Figure 4, 5 shown.
[0090] Figure 4 A schematic diagram of a data processing device provided in this specification specifically includes:
[0091] The acquisition module 401 acquires the image to be identified sent by the user, where the image to be identified is collected by the user for the merchant;
[0092] The recognition module 402 recognizes the image to be recognized by using a pre-trained image recognition model to determine the merchant's carbon saving behavior;
[0093] The determination module 403 determines a value representing the carbon saving amount of the merchant according to the carbon saving behavior.
[0094] The device also includes:
[0095] The receiving module 404 receives, when the image recognition model fails to recognize the carbon-saving behavior of the merchant from the image to be recognized, marking information corresponding to the image to be recognized sent by the user, wherein the marking information includes the carbon-saving behavior of the merchant marked by the user for the image to be recognized;
[0096] The determination module 403 determines a value representing the carbon saving amount of the merchant according to the received marking information.
[0097] The determination module 403 determines the carbon-saving behavior included in the marking information; determines a reference value corresponding to the carbon-saving behavior; and determines a value representing the carbon-saving amount of the merchant according to the product of the reference value and the trust coefficient.
[0098] The device also includes:
[0099] The adjustment module 405 adjusts the image recognition model according to the image to be recognized and the marking information.
[0100] The determination module 403 determines the contribution of the user; provides the user with a virtual item corresponding to the contribution, and / or adds the contribution to the user's account.
[0101] The value representing the carbon saving amount of the merchant includes: a carbon saving score representing the carbon saving amount of the merchant;
[0102] The device also includes:
[0103] The adding module 406 adds the carbon saving points to the carbon saving account of the merchant.
[0104] Figure 5 A schematic diagram of a data processing device provided in this specification specifically includes:
[0105] A collection module 501 collects images of merchants as images to be identified;
[0106] The sending module 502 sends the image to be identified to the server, so that the server can identify the carbon saving behavior of the merchant from the image to be identified through a pre-trained image recognition model, and determine a value representing the carbon saving amount of the merchant based on the carbon saving behavior.
[0107] The device also includes:
[0108] A receiving module 503 receives a marking prompt sent by the server, wherein the marking prompt is sent to the user when the server fails to identify the carbon-saving behavior of the merchant from the image to be identified through the image recognition model;
[0109] The sending module 502 receives the marking information input by the user according to the marking prompt, and sends the marking information to the server, so that the server determines the carbon saving behavior of the merchant according to the marking information.
[0110] Based on the data processing method described above, this specification also provides a device for data processing, such as Figure 6 The device includes one or more memories and a processor, wherein the memory stores a program and is configured to execute the following steps by the one or more processors:
[0111] Acquire an image to be identified sent by a user, where the image to be identified is collected by the user for a merchant;
[0112] Recognize the image to be recognized by using a pre-trained image recognition model to recognize the carbon-saving behavior of the merchant;
[0113] According to the carbon saving behavior, a value representing the carbon saving amount of the merchant is determined.
[0114] Based on the data processing method described above, this specification also provides a device for data processing, such as Figure 7 The device includes one or more memories and a processor, wherein the memory stores a program and is configured to execute the following steps by the one or more processors:
[0115] Collecting images of merchants as images to be identified;
[0116] The image to be identified is sent to a server, so that the server can identify the carbon-saving behavior of the merchant from the image to be identified through a pre-trained image recognition model, and determine a value representing the carbon-saving amount of the merchant based on the carbon-saving behavior.
[0117] In one or more embodiments of the present specification, after obtaining the image to be identified that is collected by the user for a merchant, the image to be identified can be identified through a pre-trained image recognition model to identify the merchant's carbon-saving behavior, and based on the identified carbon-saving behavior, a value representing the merchant's carbon-saving amount can be determined.
[0118] Since the carbon-saving behavior of merchants can be identified based on the images to be identified collected by users for merchants, the carbon saving amount of the merchant can be effectively quantified based on the identified carbon-saving behavior. Therefore, based on the quantified value of the carbon saving amount, merchants can understand their actual carbon-saving situation, and based on the actual carbon-saving situation learned, they can effectively carry out subsequent carbon-saving work, which can bring positive impacts to the society's energy conservation and emission reduction work.
[0119] In the 1990s, improvements to a technology could be clearly distinguished as hardware improvements (for example, improvements to the circuit structure of diodes, transistors, switches, etc.) or software improvements (improvements to the method flow). However, with the development of technology, many improvements to the method flow today can be regarded as direct improvements to the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that an improvement in a method flow cannot be implemented using a hardware entity module. For example, a programmable logic device (PLD) (such as a field programmable gate array (FPGA)) is such an integrated circuit whose logical function is determined by the user's programming of the device. Designers can "integrate" a digital system on a PLD by programming it themselves, without having to ask a chip manufacturer to design and produce a dedicated integrated circuit chip. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly implemented by "logic compiler" software, which is similar to the software compiler used when developing and writing programs, and the original code before compilation must also be written in a specific programming language, which is called hardware description language (HDL). There is not only one HDL, but many kinds, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. The most commonly used ones are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also know that it is only necessary to program the method flow slightly in the above-mentioned hardware description languages and program it into the integrated circuit, and then it is easy to obtain the hardware circuit that implements the logic method flow.
[0120] The controller can be implemented in any appropriate manner, for example, the controller can take the form of a microprocessor or processor and a computer-readable medium storing a computer-readable program code (such as software or firmware) that can be executed by the (micro)processor, a logic gate, a switch, an application-specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320. The memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art also know that in addition to implementing the controller in a purely computer-readable program code manner, the controller can be implemented in the form of a logic gate, a switch, an application-specific integrated circuit, a programmable logic controller, and an embedded microcontroller by logically programming the method steps. Therefore, this controller can be considered as a hardware component, and the devices included therein for implementing various functions can also be regarded as structures within the hardware component. Or even, the devices for implementing various functions can be regarded as both software modules for implementing the method and structures within the hardware component.
[0121] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
[0122] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing this specification, the functions of each unit can be implemented in the same or multiple software and / or hardware.
[0123] Those skilled in the art will appreciate that the embodiments of this specification may be provided as methods, systems, or computer program products. Therefore, this specification may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0124] This specification is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to one or more embodiments of this specification. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0125] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0126] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0127] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0128] 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.
[0129] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media 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 magnetic 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 temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0130] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity 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, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0131] This specification may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. One or more embodiments of this specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.
[0132] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0133] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0134] The above description is only one or more embodiments of this specification and is not intended to limit this specification. For those skilled in the art, one or more embodiments of this specification may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of one or more embodiments of this specification shall be included in the scope of the claims of this specification.
Claims
1. A method for data processing, comprising: Acquire an image to be identified sent by a user, where the image to be identified is an image collected by the user for a merchant and contains information related to the merchant's carbon saving behavior; Recognize the image to be recognized by a pre-trained image recognition model to recognize the carbon-saving behavior of the merchant, wherein the carbon-saving behavior includes positive behavior that promotes carbon saving and negative behavior that does not promote carbon saving; According to the carbon-saving behavior, a value representing the carbon-saving amount of the merchant is determined; the user is a user with little motivation to actively help the merchant improve the quantitative value of the carbon-saving behavior by fraudulent means.
2. The method of claim 1, further comprising: When the image recognition model fails to identify the carbon-saving behavior of the merchant from the image to be recognized, receiving marking information corresponding to the image to be recognized sent by the user, the marking information including the carbon-saving behavior of the merchant marked by the user for the image to be recognized; A value representing the carbon saving amount of the merchant is determined according to the received marking information.
3. The method according to claim 2, determining a value representing the carbon saving amount of the merchant according to the received marking information, specifically comprising: Determining the carbon-saving behavior included in the marking information; Determining a reference value corresponding to the carbon-saving behavior; A value representing the carbon saving amount of the merchant is determined according to the product of the reference value and the trust coefficient.
4. The method of claim 2, further comprising: The image recognition model is adjusted according to the image to be recognized and the marking information.
5. The method of claim 1, further comprising: Determining the contribution of the user; The user is provided with a virtual item corresponding to the contribution, and / or the contribution is added to the user's account.
6. According to the method as claimed in claim 1, the image recognition model is obtained manually based on a large number of collected training samples, and / or the image recognition model is trained using the marking information sent by the user.
7. The method according to claim 1, wherein the value representing the carbon saving amount of the merchant comprises: A carbon saving credit representing the carbon saving amount of the merchant; The method further comprises: The carbon saving points are added to the carbon saving account of the merchant.
8. A method for data processing, comprising: Collecting an image of a merchant as an image to be identified, wherein the image to be identified includes information related to the merchant's carbon saving behavior; The user sends the image to be identified to the server, so that the server can identify the carbon-saving behavior of the merchant from the image to be identified through a pre-trained image recognition model, and the carbon-saving behavior includes positive behavior that promotes carbon saving and negative behavior that does not promote carbon saving; and determine the value that characterizes the carbon saving amount of the merchant based on the carbon-saving behavior; the user is a user with less motivation to actively help the merchant improve the quantitative value of the carbon-saving behavior through fraudulent means.
9. The method of claim 8, further comprising: receiving a marking prompt sent by the server, wherein the marking prompt is sent when the server fails to identify the carbon-saving behavior of the merchant from the image to be identified through the image recognition model; The marking information input by the user according to the marking prompt is received, and the marking information is sent to the server, so that the server determines the carbon saving behavior of the merchant according to the marking information.
10. The method as claimed in claim 8, wherein the image recognition model is obtained manually based on a large number of collected training samples, and / or the image recognition model is trained using the marking information sent by the user.
11. A data processing device, comprising: An acquisition module, which acquires an image to be identified sent by a user, wherein the image to be identified is an image collected by the user for a merchant and contains information related to the merchant's carbon saving behavior; A recognition module, which recognizes the image to be recognized by using a pre-trained image recognition model to determine the merchant's carbon-saving behavior, wherein the carbon-saving behavior includes positive behavior that promotes carbon saving and negative behavior that does not promote carbon saving; The determination module determines a value representing the carbon saving amount of the merchant according to the carbon saving behavior; the user is a user with little motivation to actively help the merchant improve the quantitative value of the carbon saving behavior by fraudulent means.
12. The apparatus of claim 11, further comprising: a receiving module, which receives marking information corresponding to the image to be recognized sent by the user when the carbon-saving behavior of the merchant is not recognized from the image to be recognized by the image recognition model, wherein the marking information includes the carbon-saving behavior of the merchant marked by the user for the image to be recognized; The determination module determines a value representing the carbon saving amount of the merchant according to the received marking information.
13. The device as claimed in claim 12, wherein the determination module determines the carbon-saving behavior included in the marking information; determines a reference value corresponding to the carbon-saving behavior; and determines a value representing the carbon-saving amount of the merchant based on the product of the reference value and a trust coefficient.
14. The apparatus of claim 12, further comprising: An adjustment module adjusts the image recognition model according to the image to be recognized and the marking information.
15. The device as claimed in claim 11, wherein the determination module determines the contribution of the user; provides the user with a virtual item corresponding to the contribution, and / or adds the contribution to the user's account.
16. The device according to claim 12, wherein the value representing the carbon saving amount of the merchant comprises: A carbon saving credit representing the carbon saving amount of the merchant; The device also includes: An adding module is used to add the carbon saving points to the carbon saving account of the merchant.
17. A data processing device, comprising: A collection module, collecting an image of a merchant as an image to be identified, wherein the image to be identified includes information related to the merchant's carbon saving behavior; A sending module, in which the user sends the image to be identified to the server, so that the server can identify the carbon-saving behavior of the merchant from the image to be identified through a pre-trained image recognition model, wherein the carbon-saving behavior includes positive behaviors that promote carbon-saving and negative behaviors that do not promote carbon-saving, and determine a value characterizing the carbon-saving amount of the merchant based on the carbon-saving behavior; the user is a user with little motivation to actively help the merchant improve the quantitative value of the carbon-saving behavior through fraudulent means.
18. The apparatus of claim 17, further comprising: A receiving module, receiving a marking prompt sent by the server, wherein the marking prompt is sent when the server fails to identify the carbon-saving behavior of the merchant from the image to be identified through the image recognition model; The sending module receives the marking information input by the user according to the marking prompt, and sends the marking information to the server, so that the server determines the carbon saving behavior of the merchant according to the marking information.
19. A data processing device, comprising one or more memories and a processor, wherein the memory stores a program and is configured to execute the following steps by the one or more processors: Acquire an image to be identified sent by a user, where the image to be identified is an image collected by the user for a merchant and contains information related to the merchant's carbon saving behavior; Recognize the image to be recognized by a pre-trained image recognition model to recognize the carbon-saving behavior of the merchant, wherein the carbon-saving behavior includes positive behavior that promotes carbon saving and negative behavior that does not promote carbon saving; According to the carbon-saving behavior, a value representing the carbon-saving amount of the merchant is determined; the user is a user with little motivation to actively help the merchant improve the quantitative value of the carbon-saving behavior by means of fraud.
20. A data processing device, comprising one or more memories and a processor, wherein the memory stores a program and is configured to execute the following steps by the one or more processors: Collecting an image to be identified for a merchant, wherein the image to be identified includes an image of information related to the merchant's carbon saving behavior; The user sends the image to be identified to the server, so that the server identifies the image to be identified through a pre-trained image recognition model to identify the carbon-saving behavior of the merchant, wherein the carbon-saving behavior includes positive behavior that promotes carbon saving and negative behavior that does not promote carbon saving, and determines a value characterizing the carbon saving amount of the merchant based on the carbon-saving behavior; the user is a user with little motivation to actively help the merchant improve the quantitative value of the carbon-saving behavior through fraudulent means.
