HK1259086A1 - Data processing method and device - Google Patents
Data processing method and device Download PDFInfo
- Publication number
- HK1259086A1 HK1259086A1 HK19101586.7A HK19101586A HK1259086A1 HK 1259086 A1 HK1259086 A1 HK 1259086A1 HK 19101586 A HK19101586 A HK 19101586A HK 1259086 A1 HK1259086 A1 HK 1259086A1
- Authority
- HK
- Hong Kong
- Prior art keywords
- user
- carbon
- data
- payment
- application
- Prior art date
Links
Landscapes
- Hardware Redundancy (AREA)
Description
技术领域Technical Field
本申请涉及计算机技术领域,尤其涉及一种数据处理方法及装置。This application relates to the field of computer technology, and in particular to a data processing method and apparatus.
背景技术Background Technology
碳排放,是关于温室气体排放的一个总称或简称。人类的任何活动都有可能造成碳排放,比如汽车尾气造成碳排放,火电站造成碳排放等等。Carbon emissions are a general term or abbreviation for greenhouse gas emissions. Any human activity can potentially cause carbon emissions, such as carbon emissions from vehicle exhaust and coal-fired power plants.
现如今,多数科学家和政府承认温室气体已经并将继续为地球和人类带来灾难。为了避免这种情况的进一步恶化,国际社会在1992年制定了《联合国气候变化框架公约》(以下简称《公约》),并于1997年12月在日本京都召开的《公约》第三次缔约方大会上达成了《京都议定书》(以下简称《议定书》)。《议定书》要求30多个附件一国家(包括发达国家和经济转型国家)在2008至2012年间,把温室气体的排放量平均比1990年削减>5.2%。在得到占发达国家1990年CO2排放总量的55%以上的缔约发达国家批准后,《议定书》于2005年2月16日正式生效。这标志着国际社会进入了一个实质性减排温室气体的阶段,人类发展史上首次具有了一个国际法律框架,用以限制人类活动对地球系统的碳循环和气候变化的干扰。减少碳排放成为缔约国家社会经济发展和生产经营活动的重要目标之一。Today, most scientists and governments acknowledge that greenhouse gases have brought and will continue to bring disaster to the Earth and humanity. To prevent this situation from worsening, the international community adopted the United Nations Framework Convention on Climate Change (UNFCCC) in 1992, and the Kyoto Protocol (Kyoto Protocol) was adopted at the Third Conference of the Parties to the Convention held in Kyoto, Japan, in December 1997. The Protocol required more than 30 Annex I countries (including developed countries and countries in transition) to reduce their greenhouse gas emissions by an average of >5.2% compared to 1990 levels between 2008 and 2012. After being ratified by the contracting developed countries, which accounted for more than 55% of the total CO2 emissions in 1990, the Protocol officially entered into force on February 16, 2005. This marked the beginning of a substantial phase of greenhouse gas emission reduction in the international community, and for the first time in human history, an international legal framework was established to limit human activities' interference with the Earth's carbon cycle and climate change. Reducing carbon emissions has become one of the important goals of socio-economic development and production activities in contracting countries.
换言之,碳排放已成为重要的社会问题,如何鼓励企业或个人主动控制碳排放则是全人类需要努力的方向。而其中很关键的一环就是让企业和个人清楚了解自己日常行为的碳排放量以及如果采用了更为环保的行为会节约多少碳排放量(下称节碳量)。In other words, carbon emissions have become a significant social issue, and encouraging businesses and individuals to proactively control carbon emissions is a direction that all of humanity needs to strive towards. A crucial aspect of this is ensuring that businesses and individuals clearly understand the carbon emissions from their daily activities and how much carbon emissions they could save by adopting more environmentally friendly behaviors (hereinafter referred to as carbon savings).
而在现有技术中,对企业而言,由于企业行为比较集中,利于各个企业计算和控制各个企业行为中的碳排放量以及节碳量。但对个人而言,由于个人行为很松散随意,导致碳排放行为来源很多,造成信息非常庞杂,并且对普通人而言,也很少会关心自己的行为所带来的碳排放量。因此,如何利用个人碎片化的行为信息来计算每个人日常行为节碳量,成为急需解决的问题。In existing technologies, for enterprises, the relatively centralized nature of their activities makes it easy to calculate and control carbon emissions and carbon savings across individual businesses. However, for individuals, the loose and arbitrary nature of their actions leads to numerous sources of carbon emissions, resulting in a vast amount of complex information. Furthermore, ordinary people rarely pay attention to the carbon emissions generated by their own actions. Therefore, how to utilize fragmented personal behavioral information to calculate the carbon savings of each individual's daily activities has become an urgent problem to be solved.
发明内容Summary of the Invention
本申请实施例提供一种数据处理方法,用以解决如何利用个人碎片化的行为信息使每个人获知日常行为的节碳量的问题。This application provides a data processing method to address the problem of how to utilize fragmented personal behavioral information to enable each individual to know the amount of carbon savings from their daily activities.
本申请实施例提供一种数据处理装置,用以解决如何利用个人碎片化的行为信息使每个人获知日常行为的节碳量的问题。This application provides a data processing device to address the problem of how to utilize fragmented personal behavioral information to enable each individual to know the amount of carbon savings from their daily activities.
本申请实施例提供的一种数据处理方法,包括:This application provides a data processing method, including:
获取用户的缴费数据,所述缴费数据是用户使用在线缴费服务的行为数据;Obtain user payment data, which is user behavior data when using online payment services;
确定针对缴费数据计算节碳量所使用的节碳量量化算法为:针对减少乘坐交通工具出行的节碳量量化算法,以及针对节约纸制品的节碳量量化算法;The carbon saving quantification algorithms used to calculate carbon saving based on payment data are determined to be: carbon saving quantification algorithms for reducing travel by public transportation and carbon saving quantification algorithms for saving paper products.
根据所述缴费数据及确定出的预设节碳量量化算法,计算所述用户的节碳量;The user's carbon savings are calculated based on the payment data and the predetermined carbon-saving quantification algorithm.
根据计算出的所述用户的节碳量,将所述用户的节碳量处理为用于反映用户节碳量的特定数据,所述处理至少包括:将计算得到的节碳量转换为积分的形式。Based on the calculated carbon savings of the user, the carbon savings of the user are processed into specific data to reflect the carbon savings of the user. The processing includes at least: converting the calculated carbon savings into an integral form.
本申请实施例提供的一种数据处理装置,包括:This application provides a data processing apparatus, comprising:
获取模块,获取用户的缴费数据,所述缴费数据是用户使用在线缴费服务的行为数据;The acquisition module acquires the user's payment data, which is the user's behavior data when using online payment services;
确定模块,确定针对缴费数据计算节碳量所使用的节碳量量化算法为:针对减少乘坐交通工具出行的节碳量量化算法,以及针对节约纸制品的节碳量量化算法;The module determines the carbon saving quantification algorithm used to calculate carbon saving based on payment data: a carbon saving quantification algorithm for reducing transportation use and a carbon saving quantification algorithm for saving paper products.
计算模块,根据所述缴费数据及确定出的预设节碳量量化算法,计算所述用户的节碳量;The calculation module calculates the user's carbon savings based on the payment data and the determined preset carbon saving quantification algorithm.
处理模块,根据计算出的所述用户的节碳量,将所述用户的节碳量处理为用于反映用户节碳量的特定数据,所述处理至少包括:将计算得到的节碳量转换为积分的形式。The processing module processes the calculated carbon savings of the user into specific data that reflects the user's carbon savings. The processing includes at least converting the calculated carbon savings into an integral form.
本申请实施例采用的上述至少一个技术方案能够达到以下有益效果:The above-described technical solutions adopted in the embodiments of this application can achieve the following beneficial effects:
通过本申请中的技术方案,可将用户碎片化的行为数据进行汇总,并基于汇总后的各类行为数据,结合相应的节碳量量化算法,计算出用户所减少的碳排放量,即用户的节碳量,相应的业务提供方可进一步基于计算得到的用户的节碳量,对用户所对应的数据进行处理,这样的方式将使用户可更加直观地获知自身的节碳量,而无需自行查询、计算,对于用户而言较为便捷,并且,通过业务提供方基于用户节碳量对用户进行诸如积分累计、账户等级提升等数据处理方式,将相应的业务与用户的节碳量进行关联。The technical solution in this application can aggregate fragmented user behavior data and, based on the aggregated behavior data and the corresponding carbon-saving quantification algorithm, calculate the user's reduced carbon emissions, i.e., the user's carbon savings. The corresponding service provider can then further process the user's data based on the calculated carbon savings. This approach allows users to more intuitively understand their carbon savings without having to query or calculate it themselves, making it more convenient. Furthermore, by having the service provider perform data processing such as points accumulation and account level upgrades based on the user's carbon savings, the corresponding services can be linked to the user's carbon savings.
附图说明Attached Figure Description
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:
图1为本申请实施例提供的数据处理过程示意图;Figure 1 is a schematic diagram of the data processing process provided in an embodiment of this application;
图2a~2e为本申请实施例提供的针对不同场景中不同的用户行为数据的数据处理过程示意图;Figures 2a-2e are schematic diagrams of the data processing process for different user behavior data in different scenarios provided in the embodiments of this application;
图3为本申请实施例提供的实现数据处理过程的架构示意图;Figure 3 is a schematic diagram of the architecture for implementing the data processing process provided in an embodiment of this application;
图4a为本申请实施例提供的用户进行积分累加的控件的示意图;Figure 4a is a schematic diagram of a control for accumulating points for a user, provided in an embodiment of this application;
图4b为本申请实施例提供的一种展示积分总量的示意图;Figure 4b is a schematic diagram showing the total points according to an embodiment of this application;
图4c为本申请实施例提供的另一种展示积分总量的示意图;Figure 4c is another schematic diagram showing the total points provided in an embodiment of this application;
图5a~5b为本申请实施例提供的用户之间进行积分获取时的示意图;Figures 5a and 5b are schematic diagrams illustrating the point accumulation process between users according to embodiments of this application.
图6为本申请实施例提供的数据处理装置结构示意图;Figure 6 is a schematic diagram of the data processing device provided in an embodiment of this application;
具体实施方式Detailed Implementation
为使本申请的目的、技术方案和优点更加清楚,下面将结合本申请具体实施例及相应的附图对本申请技术方案进行清楚、完整地描述。显然,所描述的实施例仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly and completely described below in conjunction with specific embodiments and corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
本申请旨在通过收集用户在一段时间内的碎片化的行为数据进行汇总计算,计算用户的碳排放量以及节碳量。This application aims to calculate a user's carbon emissions and carbon savings by collecting and summarizing fragmented behavioral data over a period of time.
基于此,本申请实施例提供一种数据处理过程,如图1所示,该过程具体包括以下步骤:Based on this, this application provides a data processing procedure, as shown in Figure 1, which specifically includes the following steps:
S101:获取用户的行为数据,所述行为数据是用户在使用互联网服时产生的,所述行为数据包括表明身份的用户标识,及表明所述行为数据所对应的互联网服务的标识信息。S101: Obtain user behavior data, which is generated when the user uses the Internet service. The behavior data includes a user identifier indicating the user's identity and an identifier information indicating the Internet service corresponding to the behavior data.
本申请实施例中,获取到的用户的行为数据,通常是碎片化的多个行为数据。In this embodiment of the application, the user's behavior data obtained is typically fragmented into multiple behavior data.
对于行为数据而言,每一行为数据中,均包括用户标识(如:用户ID、用户的账户等)及用以表明该行为数据所对应的互联网服务的标识信息。这里所述的互联网服务,可包括电子支付、在线预约、在线票务、在线缴费以及健康服务中的至少一种。所述健康服务可以为手机系统或APP中用以监控用户运动行为的服务,所述健康服务包括计步服务或计算距离服务中的至少一种。For behavioral data, each piece of behavioral data includes a user identifier (such as user ID, user account, etc.) and identification information indicating the corresponding internet service. The internet service mentioned here may include at least one of electronic payment, online booking, online ticketing, online bill payment, and health services. The health service may be a service in a mobile system or app used to monitor the user's exercise behavior, and the health service may include at least one of step counting or distance calculation services.
根据行为数据中包含的标识信息,可区分来自不同互联网服务行为数据。Based on the identification information contained in the behavioral data, behavioral data from different Internet services can be distinguished.
在将用户碎片化的行为数据汇总的过程中,需要保证汇总的行为数据均属于同一用户。对于线上行为数据而言,在实际应用中,用户可能通过不同的应用(或服务器)使用互联网服务,如:用户通过支付应用使用在线支付服务,用户通过订餐应用使用在线订餐服务等,用户在使用这些互联网服务时,可能使用不同的账户。那么,为了保证所获取到的行为数据均是该用户的行为数据,故在一种方式下,可获取用户的不同账户(即,用户标识),实际操作时,可由用户输入其不同的账户名,进而可将该用户不同的账户名进行保存,后续便可通过用户的账户名,从相应的应用(或服务器)中获取与该账户相关联的行为数据。当然,上述方法并不仅限于对用户账户的获取,也适用于其他的用户标识,这里不再赘述。In the process of aggregating fragmented user behavior data, it is necessary to ensure that all aggregated behavior data belongs to the same user. For online behavior data, in practice, users may use internet services through different applications (or servers), such as online payment through a payment application or online food ordering through a food ordering application. Users may use different accounts when using these internet services. Therefore, to ensure that the acquired behavior data is consistent with the user's behavior data, one approach is to obtain the user's different accounts (i.e., user identifiers). In practice, the user can input their different account names, which can then be saved. Subsequently, the behavior data associated with that account can be retrieved from the corresponding application (or server) using that account name. Of course, the above method is not limited to obtaining user accounts; it also applies to other user identifiers, which will not be elaborated upon here.
同时,不同的互联网服务具有不同的标识信息,其中,标识信息可包括:服务类型标识、订单号中的类型标识位等等,那么,通过行为数据中的标识信息,可进一步确定出该行为数据所对应的互联网服务的类型。Meanwhile, different internet services have different identification information, which may include: service type identifier, type identifier in order number, etc. Therefore, by using the identification information in behavioral data, the type of internet service corresponding to the behavioral data can be further determined.
实际操作时,在获取到用户的行为数据后,可按照约定明确行为数据中代表类型的字段,故基于该字段中的内容,确定行为数据对应互联网服务的类型。当然,某些应用(或服务器)所提供的互联网服务的类型较为固定,如:票务网站服务器,只提供票务服务。那么,如果从这些应用(或服务器)中获取的行为数据,则可根据该应用(或服务器)的名称、域名、网址等信息,直接识别出行为数据所对应的互联网服务的类型。这里并不构成对本申请的限定。In practice, after obtaining user behavior data, the fields representing the type of behavior data can be clearly defined according to an agreement. Therefore, based on the content of these fields, the type of internet service corresponding to the behavior data can be determined. Of course, some applications (or servers) provide relatively fixed types of internet services, such as ticketing website servers that only provide ticketing services. In such cases, if behavior data is obtained from these applications (or servers), the type of internet service corresponding to the behavior data can be directly identified based on the application's (or server's) name, domain name, URL, and other information. This does not constitute a limitation of this application.
需要说明的是,本方法的执行主体既可以是应用,也可以是服务器。当执行主体为应用时,作为一种可能的方式,该应用能够向用户提供各类互联网服务,那么,就可由该应用自身实现对用户的行为数据的产生,相应地,后续可直接基于产生的行为数据,进行碳排放量的计算。换言之,在该方式下,用户只需在作为执行主体的应用中注册账户,便可以使用该应用中的各类互联网服务,进而所产生的行为数据均与该账户相关联,故该应用只需获取与该账户相关的行为数据即可。It should be noted that the executing entity of this method can be either an application or a server. When the executing entity is an application, one possible approach is for the application to provide various internet services to users. In this case, the application itself can generate user behavior data, and consequently, carbon emissions can be directly calculated based on the generated behavior data. In other words, under this method, users only need to register an account in the application acting as the executing entity to use various internet services within that application. The resulting behavior data is all associated with that account, so the application only needs to obtain the behavior data related to that account.
作为另一种可能的方式,该应用并不能够提供互联网服务,那么,该应用可向能够提供互联网服务的第三方应用(或第三方服务器)发起行为数据的获取请求,并接收第三方应用所反馈的用户的行为数据,或者,与第三方应用进行数据同步,以接收第三应用生成的用户的行为数据。在该方式下,基于前述内容,用户在作为执行主体的应用中,可输入该用户的各第三方账户以及不同的第三方账户所对应的第三方应用(或第三方服务器),作为执行主体的应用则会将各第三方账户,与用户在作为执行主体的应用中注册的账户进行关联。以第三方应用为例,在获取行为数据的过程中,由于用户输入了各第三方账户分别对应的第三方应用(或第三方服务器),故作为执行主体的应用,可根据第三方账户,确定出与该第三方账户对应的第三方应用,并可向该第三方应用发出携带第三方账户的获取请求,那么,第三方应用将根据该第三方账户,查找与该第三方账户相关的行为数据并反馈,从而实现对行为数据的获取过程。当然,这里的过程并不构成对本申请的限定。As another possible approach, if the application cannot provide internet service, it can initiate a request to a third-party application (or server) that can provide internet service to obtain behavioral data, and receive the user's behavioral data fed back by the third-party application. Alternatively, it can synchronize data with the third-party application to receive user behavioral data generated by the third-party application. In this approach, based on the foregoing, the user, acting as the executing entity, can input their various third-party accounts and the corresponding third-party applications (or servers). The executing application will then associate each third-party account with the account registered by the user within the executing application. Taking a third-party application as an example, during the process of obtaining behavioral data, since the user inputs the third-party application (or server) corresponding to each third-party account, the executing application can determine the third-party application corresponding to that account and send a request carrying the third-party account information to that third-party application. The third-party application will then search for and feed back the behavioral data related to that third-party account, thus completing the process of obtaining behavioral data. Of course, this process does not constitute a limitation of this application.
当然,在实际操作中,如果涉及到第三方应用,则作为执行主体的应用,可预先向第三方应用注册相应的权限,以便接收第三方应用反馈用户的行为数据。如果涉及到第三方服务器,则作为执行主体的应用,可通过与第三方应用约定的数据传输协议,获取第三方服务器反馈的用户的行为数据。Of course, in practice, if a third-party application is involved, the application acting as the executor can pre-register the corresponding permissions with the third-party application to receive user behavior data from the third-party application. If a third-party server is involved, the application acting as the executor can obtain user behavior data from the third-party server through the data transmission protocol agreed upon with the third-party application.
进一步地,在实际应用场景下,对于第三方服务器或第三方应用以常用数据格式所产生的行为数据,诸如:二维表格式、超文本标记语言(HyperText Markup Language,HTML)格式、可扩展标记语言(Extensible Markup Language,XML)格式等,作为执行主体的应用或服务器在获取到行为数据后,可基于相应的格式实现对行为数据的读取、解析。Furthermore, in practical application scenarios, for behavioral data generated by third-party servers or third-party applications in commonly used data formats, such as two-dimensional table format, HyperText Markup Language (HTML) format, Extensible Markup Language (XML) format, etc., the application or server as the execution subject can read and parse the behavioral data based on the corresponding format after obtaining the behavioral data.
而对于某些特定的数据格式,作为执行主体的应用可与第三方应用之间约定数据的传输格式,如JSON格式。除此之外,也可以在应用自身的应用程序编程接口(ApplicationProgramming Interface,API)中预先添加不同格式数据的解析方法,以实现不同格式的行为数据的解析。这里并不构成对本申请的限定。For certain specific data formats, the application acting as the executor can agree on the data transmission format with third-party applications, such as JSON. Alternatively, different data parsing methods can be pre-added to the application's own Application Programming Interface (API) to parse behavioral data of various formats. This does not constitute a limitation of this application.
对于获取到的行为数据,既可以存储在终端本地,也可以存储在服务器中。The acquired behavioral data can be stored either locally on the terminal or on the server.
S102:根据所述互联网服务的标识信息,确定至少一种预设的节碳量量化算法。S102: Based on the identification information of the Internet service, determine at least one preset carbon saving quantification algorithm.
在本申请实施例中,互联网服务与节碳量量化算法预先建立有对应关系,故可以根据互联网服务的标识信息,以及所述互联网服务与节碳量量化算法的对应关系,确定至少一种预设节碳量量化算法。所述节碳量量化算法,包括但不限于:量化公式、量化模型等。In this embodiment, an existing correspondence is established between internet services and carbon-saving quantification algorithms. Therefore, at least one preset carbon-saving quantification algorithm can be determined based on the identification information of the internet services and the correspondence between the internet services and the carbon-saving quantification algorithms. The carbon-saving quantification algorithms include, but are not limited to, quantification formulas and quantification models.
换言之,不同的互联网服务(即,包含不同标识信息的行为数据)可能对应着不同的节碳量量化算法,比如:电子支付服务可以节约纸制品,而步行出行则节约的是交通工具的排碳量。同时,互联网服务与节碳量量化算法也可能是一对多的对应关系,也就是说在一个互联网服务中可能会用到多个节碳量量化算法。例如:对于用户使用在线购票服务的场景,在线票务服务可使用户无需前往相应的票务地点,也就可以减少因用户乘坐交通工具前往票务地点所造成的碳排放,故在计算用户使用在线购票服务的节碳量时,可使用减少乘坐交通工具出行的节碳量量化算法,并且,用户在线购票也可避免支付时打印纸质票据(即,纸制品),也能够减少碳排放,故在计算用户使用在线购票服务的节碳量时,还可使用节约纸制品的节碳量量化算法。In other words, different internet services (i.e., behavioral data containing different identifiers) may correspond to different carbon-saving quantification algorithms. For example, electronic payment services can save paper products, while walking saves carbon emissions from transportation. Furthermore, the relationship between internet services and carbon-saving quantification algorithms may be one-to-many, meaning that multiple carbon-saving quantification algorithms may be used within a single internet service. For instance, in the scenario of users using online ticketing services, online ticketing eliminates the need for users to travel to ticketing locations, thus reducing carbon emissions caused by users traveling to ticketing locations. Therefore, when calculating the carbon savings from using online ticketing services, a carbon-saving quantification algorithm that reduces transportation travel can be used. Additionally, online ticketing avoids printing paper tickets (i.e., paper products) during payment, further reducing carbon emissions. Therefore, when calculating the carbon savings from using online ticketing services, a carbon-saving quantification algorithm that saves paper products can also be used.
这里需要说明的是,在本申请实施例中,预设节碳量量化算法也分成不同的类型,包括但不限于:第一预设算法,所述第一预设算法为针对节约纸制品的节碳量量化算法(比如:节约打印纸质票据的节碳量量化算法),以及第二预设算法,所述第二预设算法为针对减少乘坐交通工具出行的节碳量量化算法(比如:步行的节碳量量化算法)。It should be noted that in the embodiments of this application, the preset carbon saving quantification algorithms are also divided into different types, including but not limited to: a first preset algorithm, which is a carbon saving quantification algorithm for saving paper products (e.g., a carbon saving quantification algorithm for saving printed paper tickets), and a second preset algorithm, which is a carbon saving quantification algorithm for reducing the use of transportation (e.g., a carbon saving quantification algorithm for walking).
第一预设算法,针对节约纸制品的节碳量量化算法。The first preset algorithm is a quantification algorithm for carbon savings in paper-saving products.
由于传统的线下方式中,用户在执行上述各类型的业务时,均可能产生相应的纸制品(如:纸质支付凭证票据、消费小票、预约单等等),以纸质票据为例进行说明,而纸质票据的产生进一步会造成碳排放,所以,在该方式中,可通过计算票据纸张所对应的碳排放量,以计算出相应的节碳量。In traditional offline methods, users may generate paper products (such as paper payment vouchers, receipts, appointment slips, etc.) when performing the above types of business. Taking paper receipts as an example, the generation of paper receipts further causes carbon emissions. Therefore, in this method, the carbon emission corresponding to the paper of the receipt can be calculated to calculate the corresponding carbon saving.
具体可以采用如下公式:Specifically, the following formula can be used:
其中,ERy,为每一笔线上支付所节省的纸质票据的节碳量(单位:吨CO2);这里需要说明的是,ERy实质上表征每一笔线下支付所打印的纸质票据对应的碳排放量,正是由于用户采用线上支付的方式可避免打印纸质票据,故在此将ERy的数值作为每一笔线上支付所节省的纸质票据的节碳量;Wherein, ER y represents the carbon savings (in tons of CO2) of paper receipts saved by each online payment. It should be noted that ER y actually represents the carbon emissions corresponding to the paper receipts printed for each offline payment. Since users can avoid printing paper receipts by using online payment, the value of ER y is used here as the carbon savings of paper receipts saved by each online payment.
i,为线下支付的商户类型;i represents the merchant type for offline payments;
Fi,为i类型商户采用POS机支付的比例(百分数);F <sub>i</sub> represents the percentage (in percentages) of merchants of type i using POS machine payments.
ADi,y,为第y年用户在i类型商户采用线下支付的次数(单位:次数);AD i, y represents the number of times a user makes offline payments at merchant type i in year y (unit: number of times);
EFy,为第y年线下支付的基准线排放因子(单位:g CO2/次)。EF y is the baseline emission factor for offline payments in year y (unit: g CO2/time).
需要说明的是,EFy可基于不同地区票据纸张生产商的排放强度确定,例如:表1示出了若干省份票据纸张生产商的排放强度:It should be noted that EF y can be determined based on the emission intensity of paper manufacturers in different regions. For example, Table 1 shows the emission intensity of paper manufacturers in several provinces:
表1Table 1
通过上述公式,可以确定出用户以线上方式减少票据生成的节碳量。由于每一笔在线支付业务所减少票据生成对应的节碳量,其数值过小,所以,上述公式采用以年度的方式计算减少票据生成所对应的节碳量,当然,在实际应用中,也可以设定业务次数的阈值,当业务次数达到该阈值后,一并计算节碳量。这里并不构成对本申请的限定。The above formula can be used to determine the carbon savings achieved by reducing invoice generation through online transactions. Since the carbon savings from each individual online payment transaction are relatively small, the formula calculates the carbon savings on an annual basis. However, in practice, a threshold for the number of transactions can be set, and carbon savings can be calculated only after the number of transactions reaches that threshold. This does not constitute a limitation of this application.
第二预设算法,针对减少乘坐交通工具出行的节碳量量化算法。The second preset algorithm is a quantification algorithm for reducing carbon savings by reducing the use of public transportation.
由于传统的线下方式中,用户在执行上述各类型的业务时,均可能前往相应的业务地点(如:银行、商店、餐馆等)以执行相应的业务,该过程中,用户使用的交通工具可能会产生碳排放,所以,在该方式中,可通过线上方式减少用户出行所使用交通工具造成的碳排放,进而计算出相应的节碳量。In traditional offline methods, users may travel to the corresponding business locations (such as banks, shops, restaurants, etc.) to perform the aforementioned types of business. During this process, the transportation used by users may generate carbon emissions. Therefore, in this method, carbon emissions caused by the transportation used by users can be reduced through online methods, thereby calculating the corresponding carbon savings.
具体可以采用如下公式:Specifically, the following formula can be used:
P=L*W;P = L * W;
其中,L,为用户以线上方式执行成业务时所处的位置与最近的业务地点之间的距离;Where L is the distance between the user’s location when performing a business online and the nearest business location;
W,为交通工具所产生的碳排放量均值;(这里的交通工具可包括使用旧能源的各类交通工具)W represents the average carbon emissions generated by a mode of transportation; (modes of transportation here can include all types of transportation that use older energy sources).
P,为使用交通工具在这一段距离内所产生的碳排放量。P represents the carbon emissions generated by using transportation over this distance.
对于上述公式,用户采用线上方式执行相应的业务,那么,用户也就无需前往相应的业务地点,所以,P的值就可作为用户采用线上方式执行相应的业务的节碳量。For the above formula, if users perform the corresponding business online, then users do not need to go to the corresponding business location. Therefore, the value of P can be used as the carbon saving amount when users perform the corresponding business online.
S103:根据所述行为数据及确定的所述预设的节碳量量化算法,计算所述用户的节碳量。S103: Calculate the user's carbon savings based on the behavioral data and the predetermined carbon saving quantification algorithm.
对于计算过程,需要说明的是,在使用前述的第一预设算法计算节碳量时,用户每一次使用互联网服务均可减少纸制品的产生,所以用户的节碳量与用户使用互联网服务的次数有关,同时,由于不同的地区的碳排放标准相互之间具有差异,所以用户的节碳量还与用户所处的区域有关,故在本申请实施例中,当使用第一预设算法进行节碳量计算时,根据所述行为数据及确定出的预设节碳量量化算法,计算所述用户的节碳量,具体包括:根据所述行为数据,至少确定用户执行所述互联网服务的次数,以及用户执行所述互联网服务时所处的地理位置,根据确定出的用户执行所述互联网服务的次数、地理位置以及第一预设算法,计算所述用户的节碳量。Regarding the calculation process, it should be noted that when using the aforementioned first preset algorithm to calculate carbon savings, each time a user uses internet services, the generation of paper products can be reduced. Therefore, the user's carbon savings are related to the number of times the user uses internet services. At the same time, since carbon emission standards vary from region to region, the user's carbon savings are also related to the region where the user is located. Therefore, in this embodiment of the application, when using the first preset algorithm to calculate carbon savings, the user's carbon savings are calculated based on the behavioral data and the determined preset carbon savings quantification algorithm. Specifically, this includes: determining at least the number of times the user performs the internet service and the user's geographical location when performing the internet service based on the behavioral data; and calculating the user's carbon savings based on the determined number of times the user performs the internet service, the geographical location, and the first preset algorithm.
在使用前述的第二预设算法计算节碳量时,用户的节碳量与用户行走的距离或步数有关,故当使用第二预设算法进行节碳量计算时,根据所述行为数据及确定出的预设节碳量量化算法,计算所述用户的节碳量,具体包括:根据所述行为数据,至少确定用户步行的步数或步行的距离,根据确定出的用户步行的步数或步行的距离,以及第二预设算法,计算所述用户的节碳量。When using the aforementioned second preset algorithm to calculate carbon savings, the user's carbon savings are related to the distance or number of steps the user walks. Therefore, when using the second preset algorithm to calculate carbon savings, the user's carbon savings are calculated based on the behavioral data and the determined preset carbon savings quantification algorithm. Specifically, this includes: determining at least the number of steps or the distance the user walks based on the behavioral data; and calculating the user's carbon savings based on the determined number of steps or the distance the user walks, and the second preset algorithm.
在实际计算时,如果互联网服务与节碳量量化算法是一对一的对应关系,则可使用该节碳量量化算法计算用户的节碳量,而如果互联网服务与节碳量量化算法是一对多的对应关系,则可结合上述的节碳量量化算法,计算用户的节碳量。具体可根据实际应用的情况进行确定,这里并不构成对本申请的限定。In practical calculations, if there is a one-to-one correspondence between internet services and carbon-saving quantification algorithms, then the algorithm can be used to calculate the user's carbon savings. If there is a one-to-many correspondence between internet services and carbon-saving quantification algorithms, then the aforementioned algorithms can be combined to calculate the user's carbon savings. The specific method can be determined based on the actual application, and this does not constitute a limitation of this application.
此外,在某些实际应用场景下,获取到的行为数据中,可能包含冗余的数据,例如:获取到用户使用在线票务服务的行为数据,其中包含金额数据,但在进行节碳量计算的过程中,并不需要该金额数据。In addition, in some practical application scenarios, the acquired behavioral data may contain redundant data. For example, the acquired behavioral data of users using online ticketing services may include monetary data, but this monetary data is not needed in the process of calculating carbon savings.
而在另一些实际应用场景下,获取到的行为数据,有可能不能直接使用,例如:根据用户使用在线票务服务的行为数据计算节碳量时,主要基于用户使用在线票务服务的次数,那么,就需要针对获取到的多条行为数据进行统计处理,以确定出相应的次数。In other practical application scenarios, the acquired behavioral data may not be usable directly. For example, when calculating carbon savings based on users' behavior data of using online ticketing services, the calculation is mainly based on the number of times users use online ticketing services. Therefore, it is necessary to perform statistical processing on multiple behavioral data points to determine the corresponding number of times.
故在本申请实施例中,在进行计算前,还可对获取到的行为数据进行诸如统计、筛选、剔除等数据整理操作。作为实际操作中的一种可行方式,可由作为执行主体的应用(或服务器),执行对行为数据的数据整理操作。作为实际操作中的另一种可行方式,可由作为执行主体的应用(或服务器)与行为数据提供方进行约定,明确计算所需的行为数据,这样一来,可由行为数据提供方对用户的行为数据进行上述的数据整理操作,再提供给作为执行主体的应用(或服务器)。这里并不构成对本申请的限定。Therefore, in this embodiment of the application, before calculation, data processing operations such as statistics, filtering, and elimination can be performed on the acquired behavioral data. As a feasible approach in practice, the application (or server) acting as the execution subject can perform the data processing operations on the behavioral data. As another feasible approach in practice, the application (or server) acting as the execution subject can agree with the behavioral data provider to specify the behavioral data required for calculation. In this way, the behavioral data provider can perform the aforementioned data processing operations on the user's behavioral data and then provide it to the application (or server) acting as the execution subject. This does not constitute a limitation of this application.
基于上述的行为数据和节碳量量化算法,所计算得到的量化值,就表征了用户所减少的碳排放量,也即,用户的节碳量。Based on the aforementioned behavioral data and carbon saving quantification algorithm, the calculated quantification value represents the amount of carbon emissions reduced by the user, that is, the user's carbon saving.
当然,在实际应用中,可以按照设定的周期计算用户的节碳量,也可以按照用户使用互联网服务的次数计算用户的节碳量。这里并不构成对本申请的限定。Of course, in practical applications, a user's carbon savings can be calculated according to a set period or based on the number of times the user uses internet services. This does not constitute a limitation of this application.
S104:根据计算出的所述用户的节碳量及所述用户标识,对所述用户对应的特定数据进行处理。其中,所述特定数据与节碳量相关。S104: Based on the calculated carbon savings of the user and the user identifier, process the specific data corresponding to the user. The specific data is related to the carbon savings.
作为本申请实施例中的一种方式,在计算得到了用户的节碳量后,可基于该节碳量,对用户在一段时间内的节碳量进行诸如:统计、分析等处理。作为本申请实施例中的另一种方式,可基于计算得到的节碳量,转换为积分的形式,积分的分值越大,则表明该用户的节碳量越多,相应地,业务提供方还可根据积分的高低为该用户提供不同的业务。这里并不构成对本申请的限定。As one embodiment of this application, after calculating the user's carbon savings, the user's carbon savings over a period of time can be processed, such as through statistics and analysis. As another embodiment of this application, the calculated carbon savings can be converted into an integral form. The higher the integral value, the greater the user's carbon savings. Accordingly, the service provider can provide different services to the user based on the integral value. This does not constitute a limitation of this application.
在本申请实施例中,用户标识可包括用户的账户,那么,特定数据可以包括该用户的账户内的数据,包括但不限于:用户账户内的节碳积分、节碳等级、节碳勋章和/或与节碳相关的虚拟物品等等。当然,本申请所述的特定数据也可以是其他可以反映用户节碳量的数据。In this embodiment, the user identifier may include the user's account. Therefore, the specific data may include data within the user's account, including but not limited to: carbon-saving points, carbon-saving levels, carbon-saving badges, and/or carbon-saving related virtual items, etc. Of course, the specific data described in this application can also be other data that reflects the user's carbon-saving amount.
下面结合不同的场景,对上述如图1所述的方法进行详细说明:The method described in Figure 1 above will be explained in detail below, taking into account different scenarios:
现在个人与互联网的关系越来越紧密,同时随着移动互联网的普及,个人的很多行为都可以反应在互联网上,比如出行会用到约车软件,吃饭会用到点外卖的软件等等。也即,用户使用互联网服务的频率越来越高,而互联网服务相较于传统的线下方式,能够减少用户的碳排放量。具体而言:The relationship between individuals and the internet is becoming increasingly intertwined. With the widespread adoption of mobile internet, many personal behaviors are reflected online; for example, people use ride-hailing apps for transportation and food delivery apps for dining. In other words, users are using internet services more frequently, and compared to traditional offline methods, internet services can reduce users' carbon emissions. Specifically:
场景一、用户使用在线票务服务。Scenario 1: Users use online ticketing services.
在线票务服务,可包括针对火车票、飞机票、船票、电影票、门票等,以在线的方式进行预订、购买、退票的服务。相较于传统用户前往票务地点获得票务服务的方式而言,在线票务服务可以减少用户出行,尤其能够减少用户乘坐交通出行所产生的碳排放量。同时,也可能减少购票或退票过程中产生的纸制品(如:打印的纸质票据)。Online ticketing services include the online booking, purchase, and refund of tickets for trains, planes, ships, movies, and other attractions. Compared to the traditional method of users going to ticket offices to obtain tickets, online ticketing services can reduce user travel, especially reducing carbon emissions from transportation. It may also reduce paper products (such as printed tickets) generated during the ticket purchase or refund process.
当用户使用了在线票务服务后,提供该在线票务的服务提供方(如:票务网站),将基于用户本次执行的在线票务行为,生成在线票务数据,该在线票务数据就是用户使用在线票务服务的行为数据,那么,便可以根据该行为数据,计算用户的节碳量。When a user uses an online ticketing service, the service provider (such as a ticketing website) will generate online ticketing data based on the user's online ticketing behavior. This online ticketing data is the user's behavioral data of using the online ticketing service. Therefore, the user's carbon savings can be calculated based on this behavioral data.
此场景下,执行主体既可以是具有节碳量计算功能的应用客户端(以下简称为:计算应用),也可以是具有节碳量计算功能的服务器,以执行主体为计算应用进行说明。并且,由于在线票务服务通常由票务网站提供,用户可通过该票务网站对应的应用(后续称为:票务应用)使用在线票务服务,而用户使用在线票务服务所产生的行为数据,可由该票务网站的服务器生成(后续称为:票务服务器)。In this scenario, the executing entity can be either an application client with carbon saving calculation capabilities (hereinafter referred to as: the computing application) or a server with carbon saving calculation capabilities; the computing application will be used as the executing entity for explanation. Furthermore, since online ticketing services are typically provided by ticketing websites, users can access these services through the application corresponding to that website (hereinafter referred to as: the ticketing application). The behavioral data generated by users accessing the online ticketing service can be generated by the ticketing website's server (hereinafter referred to as: the ticketing server).
基于此,如图2a所示,假设用户进行在线购票,本场景中获取、计算节碳量的过程如下:Based on this, as shown in Figure 2a, assuming a user purchases tickets online, the process of obtaining and calculating carbon savings in this scenario is as follows:
S201:计算应用向票务服务器发送携带有用户信息的获取请求,以获取该用户的票务数据。S201: The computing application sends a request carrying user information to the ticketing server to obtain the user's ticketing data.
在实际应用中,当用户需要在线购票时,可通过相应的票务应用向票务服务器发出购票请求,其中,购票请求中可携带有用户信息(如:用户的身份证号、姓名、在票务应用中注册的票务账户等)以及购票信息(如:所要购买的票务类型、时间、地点等),那么,票务服务器在接收到由票务应用发出的购票请求后,则会根据在线购票请求进行出票,并生成该用户的票务数据进行记录。In practical applications, when a user needs to purchase tickets online, they can send a purchase request to the ticketing server through the corresponding ticketing application. The purchase request can carry user information (such as the user's ID number, name, and ticketing account registered in the ticketing application) and purchase information (such as the type of ticket to be purchased, time, and location). After receiving the purchase request from the ticketing application, the ticketing server will issue the ticket according to the online purchase request and generate and record the user's ticketing data.
基于前述内容,计算应用中预先存储有该用户的各类用户信息,所以,获取请求中所携带的用户信息中,就可包括:用户的身份证号、姓名、在票务应用中注册的票务账户等。Based on the foregoing, the computing application pre-stores various types of user information for the user. Therefore, the user information carried in the request may include: the user's ID number, name, ticketing account registered in the ticketing application, etc.
在实际的获取过程中,计算应用可根据用户预先输入的票务账户以及该票务账户所对应的票务服务器,向该票务服务器发送携带有该票务账户的获取请求,以便于获取与该票务账户相关的票务数据。当然,计算应用可按照设定的周期,获取指定时段内该用户的票务数据,如:计算应用按照一天的周期向票务服务器发送获取请求,并在获取请求中明确,只获取该用户24小时之内的票务数据。换言之,获取请求中还携带有时间信息。当然,这里并不构成对本申请的限定。In the actual acquisition process, the computing application can send an acquisition request carrying the ticketing account information to the ticketing server based on the pre-entered ticketing account and the corresponding ticketing server, in order to obtain ticketing data related to that account. Of course, the computing application can also acquire the user's ticketing data for a specified time period according to a set cycle. For example, the computing application can send an acquisition request to the ticketing server on a daily cycle, explicitly stating in the acquisition request that it only needs to acquire the user's ticketing data within the last 24 hours. In other words, the acquisition request also carries time information. However, this does not constitute a limitation of this application.
对于本步骤中的获取过程而言,除了上述由计算应用主动获取的方式之外,计算应用还可预先将用户在计算应用中注册的账户(后续称为:计算账户)以及用户的票务账户均发送给票务服务器,以使得票务服务器根据该票务账户,动态地获取与该票务账户相关的票务数据,并由票务服务器根据计算账户,主动向计算应用推送与该票务账户相关的票务数据。当然,如果计算应用自身具备在线票务服务,用户又使用了该计算应用提供的在线票务服务,那么,在这种情况下,该计算应用直接获取其产生的票务数据。这里并不构成对本申请的限定。Regarding the acquisition process in this step, in addition to the aforementioned method of active acquisition by the computing application, the computing application can also pre-send the user's registered account (hereinafter referred to as the "computing account") and the user's ticketing account to the ticketing server. This allows the ticketing server to dynamically acquire ticketing data related to the ticketing account and actively push the ticketing data related to the computing account to the computing application. Of course, if the computing application itself has an online ticketing service, and the user uses the online ticketing service provided by the computing application, then in this case, the computing application directly acquires the ticketing data it generates. This does not constitute a limitation of this application.
S202:票务服务器接收获取请求,并根据该获取请求中所携带的用户信息,确定与该用户信息对应的票务数据,并将确定出的所述票务数据反馈给所述计算应用。S202: The ticketing server receives the retrieval request, determines the ticketing data corresponding to the user information carried in the retrieval request, and feeds back the determined ticketing data to the computing application.
其中,所述票务数据中至少包含用户ID,以及反映票务服务类型的标识信息。这里的票务数据,也就是用户使用在线票务服务的行为数据。The ticketing data includes at least a user ID and identification information reflecting the type of ticketing service. This ticketing data refers to user behavior data related to online ticketing services.
当然,如果获取请求中包含时间信息,则票务服务器将根据所述时间信息,获取与所述时间信息相匹配的用户的票务数据。Of course, if the request includes time information, the ticketing server will retrieve the ticketing data of the user that matches the time information.
并且,如前述方法中所述,计算应用可以向票务服务器约定该计算应用所需的票务数据,也就可由该票务服务器对用户的票务数据进行数据整理操作,再将整理后的票务数据发送给计算应用。例如:票务服务器所存储的票务数据中,可能包括购票金额、始发地、目的地等数据,但这些数据对于计算节碳量的过程属于无用数据,故票务服务器可对用户的票务数据进行整理,剔除上述的购票金额、始发地、目的地等数据,从而将经过剔除后的票务数据发送给计算应用。Furthermore, as described in the aforementioned method, the computing application can specify the ticketing data it needs to the ticketing server. The ticketing server can then process the user's ticketing data and send the processed data to the computing application. For example, the ticketing data stored on the ticketing server may include information such as ticket price, origin, and destination. However, this data is useless for calculating carbon savings. Therefore, the ticketing server can process the user's ticketing data, removing the aforementioned information such as ticket price, origin, and destination, and then send the processed ticketing data to the computing application.
S203:计算应用获取到票务数据后,根据所述票务数据中包含的用户ID,确定该票务数据与该用户的账户相关联,根据所述票务数据中包含的标识信息,确定计算所需的节碳量量化算法。S203: After the computing application obtains the ticketing data, it determines that the ticketing data is associated with the user's account based on the user ID contained in the ticketing data, and determines the carbon saving quantification algorithm required for calculation based on the identification information contained in the ticketing data.
其中,与前述内容相类似,在一种方式下,预先建立了标识信息与节碳量量化算法之间的对应关系,那么,计算应用便可根据标识信息与节碳量量化算法之间的对应关系,可确定出针对票务数据计算节碳量所使用的节碳量量化算法为:避免用户乘坐交通工具出行的节碳量量化算法,以及减少打印纸质票据的节碳量量化算法。Similar to the aforementioned content, in one approach, a correspondence between identification information and carbon saving quantification algorithms is pre-established. Then, the calculation application can determine the carbon saving quantification algorithm used to calculate carbon saving for ticketing data based on the correspondence between identification information and carbon saving quantification algorithms: a carbon saving quantification algorithm to avoid users taking public transportation, and a carbon saving quantification algorithm to reduce the printing of paper tickets.
而在另一种方式下,计算应用通过标识信息可确定出应用场景为在线票务服务,针对该场景预先定义了相应的节碳量量化算法,故计算应用通过标识信息可确定出在线票务服务场景下的节碳量量化算法进一步为:避免用户乘坐交通工具出行的节碳量量化算法,以及减少打印纸质票据的节碳量量化算法节碳量量化算法。In another approach, the computing application can identify the application scenario as online ticketing service through the identification information. For this scenario, a corresponding carbon saving quantification algorithm is predefined. Therefore, the carbon saving quantification algorithm for the online ticketing service scenario can be further identified by the computing application through the identification information as: a carbon saving quantification algorithm to avoid users taking public transportation, and a carbon saving quantification algorithm to reduce the printing of paper tickets.
S204:根据确定出的节碳量量化算法,以及获取到的票务数据,计算用户使用该在线票务服务的节碳量,并根据计算得到的所述节碳量,对用户对应的特定数据进行处理。S204: Based on the determined carbon saving quantification algorithm and the obtained ticketing data, calculate the carbon saving amount of the user using the online ticketing service, and process the specific data corresponding to the user based on the calculated carbon saving amount.
在本场景中,票务应用具有定位功能,能够在用户发出在线票务指令时确定用户的位置信息(即用户位置信息)。In this scenario, the ticketing application has a location function, which can determine the user's location information (i.e., user location information) when the user issues an online ticketing instruction.
那么,在计算过程中,计算应用可根据获取到的票务数据中的票务单号(可以理解地,票务单号唯一地标识了一次在线票务服务),可以统计出用户使用在线票务服务的次数,并且,计算应用还可通过票务应用获取用户在使用在线票务服务时的用户位置信息,并根据该用户位置信息所对应的地区,可确定出前述公式中的EFy,从而,基于此可计算出用户每一次使用在线票务服务所减少打印纸质票据的节碳量。如果用户在同一地区使用了多次在线票务服务,由于该地区对应的EFy相同,那么,用户减少打印纸质票据的节碳量=n*ERy。而如果用户在不同地区使用了多次在线票务服务,由于不同地区对应的EFy不同,故用户减少打印纸质票据的节碳量为用户在各地区节碳量的累加。During the calculation process, the application can use the ticket number (which uniquely identifies each online ticketing service) from the obtained ticketing data to count the number of times a user uses the online ticketing service. Furthermore, the application can obtain the user's location information when using the online ticketing service and determine EF<sub>y</sub> in the aforementioned formula based on the region corresponding to that location. Therefore, it can calculate the carbon savings from each use of the online ticketing service. If a user uses the online ticketing service multiple times in the same region, since the corresponding EF<sub> y </sub> is the same for that region, the carbon savings from reduced paper ticket printing = n * ER<sub>y</sub> . However, if a user uses the online ticketing service multiple times in different regions, since the corresponding EF<sub>y</sub> is different for each region, the carbon savings from reduced paper ticket printing is the sum of the carbon savings in each region.
此外,计算应用还可以根据用户使用该在线票务服务时的用户位置信息,确定与用户位置最近的票务地点位置(如:火车站),并计算用户位置与该票务地点位置之间的距离L,再根据上述公式中交通工具所产生的碳排放量均值W,计算出在这一距离内,避免用户乘坐交通工具出行的节碳量。In addition, the computing application can determine the nearest ticketing location (such as a train station) based on the user's location information when using the online ticketing service, calculate the distance L between the user's location and the ticketing location, and then calculate the carbon savings by avoiding the user's use of transportation within this distance based on the average carbon emissions W generated by transportation in the above formula.
故在本场景中,用户的节碳量可包括避免乘坐交通工具出行的节碳量,也可包括减少打印纸质票据的节碳量。Therefore, in this scenario, a user's carbon savings may include carbon savings from avoiding transportation or carbon savings from reducing the printing of paper tickets.
之后,可基于用户使用在线票务服务的节碳量,转换为积分,用户登录至作为执行主体的应用后,便可浏览到增长的积分。换言之,这样的方式能够使得用户直观地获知自己使用在线票务服务所减少的碳排放量,即节碳量。Subsequently, the carbon savings achieved by users through online ticketing services can be converted into points. Users can then view their accumulated points after logging into the application that implements the service. In other words, this method allows users to intuitively understand the amount of carbon emissions they reduce by using online ticketing services, i.e., carbon savings.
场景二、用户使用在线支付服务。Scenario 2: Users use online payment services.
在线支付服务,可包括以在线方式进行的当面支付、转账等服务,相较于传统的支付服务而言,可以减少支付过程中所产生的纸制品(如:打印的纸质票据),进而能够减少碳排放量。Online payment services, including face-to-face payments and transfers conducted online, can reduce paper products (such as printed paper receipts) generated during the payment process compared to traditional payment services, thereby reducing carbon emissions.
当用户使用了在线支付服务后,提供该在线支付的服务提供方,将基于用户本次执行的在线支付行为,生成在线支付数据,该在线支付数据就是用户使用在线支付服务的行为数据,那么,便可以根据该行为数据,计算用户的节碳量。When a user uses an online payment service, the service provider will generate online payment data based on the user's online payment behavior. This online payment data is the user's behavior data when using the online payment service, and the user's carbon savings can be calculated based on this behavior data.
与前述场景相类似,本场景中的执行主体也可以是具有节碳量计算功能的计算应用(或服务器),仍以执行主体为计算应用进行说明。并且,在实际场景中,能够提供在线支付服务的服务提供方,可包括:商品网站、支付平台、和/或银行等,以支付平台为例,用户可通过支付平台对应的应用(后续称为:支付应用)使用在线支付服务,而用户使用在线支付服务时产生的行为数据,可由支付平台的服务器(后续称为:支付服务器)生成。Similar to the aforementioned scenarios, the executing entity in this scenario can also be a computing application (or server) with carbon saving calculation capabilities; the explanation will still focus on the computing application as the executing entity. Furthermore, in practical scenarios, service providers capable of offering online payment services can include: e-commerce websites, payment platforms, and/or banks, etc. Taking a payment platform as an example, users can use online payment services through the application corresponding to the payment platform (hereinafter referred to as: payment application), and the behavioral data generated when users use online payment services can be generated by the payment platform's server (hereinafter referred to as: payment server).
基于此,如图2b所示,假设用户通过支付平台进行在线付款给目标用户,该用户及目标用户均在支付平台上注册有相应的账户,本场景中获取、计算节碳量的过程如下:Based on this, as shown in Figure 2b, assuming a user makes an online payment to a target user through a payment platform, and both the user and the target user have registered corresponding accounts on the payment platform, the process of obtaining and calculating carbon savings in this scenario is as follows:
S211:计算应用向支付服务器发送携带有用户信息的获取请求,以获取该用户的支付日志数据。S211: The computing application sends a request carrying user information to the payment server to obtain the user's payment log data.
需要说明的是,在实际应用时,当用户需要进行在线支付时,可通过相应的支付应用向支付服务器发送付款请求,其中,付款请求中携带有用户信息(如:用户在支付平台上注册的支付账户),目标用户信息(如:目标用户的在支付平台上注册的目标账户)以及付款信息(如:付款金额)。支付服务器在接收到支付应用发送的付款请求后,则会根据接收到的所述付款请求,从用户的支付账户中获取与付款金额匹配的款项,分配给目标用户的目标账户中,并生成支付日志数据。It should be noted that in practical applications, when a user needs to make an online payment, they can send a payment request to the payment server through the corresponding payment application. This payment request carries user information (e.g., the user's registered payment account on the payment platform), target user information (e.g., the target user's registered target account on the payment platform), and payment information (e.g., the payment amount). Upon receiving the payment request from the payment application, the payment server will, based on the received request, retrieve funds matching the payment amount from the user's payment account, allocate them to the target user's target account, and generate payment log data.
基于前述内容,获取请求中所携带的用户信息可包括:用户在支付平台上注册的支付账户。与前述场景相类似,本场景中,计算应用也可根据用户预先输入的支付账户以及该票务账户所对应的支付服务器,向支付服务器发送携带有该支付账户的获取请求,以便于获取与该支付账户相关的支付日志数据。并且,计算应用也可按照设定的周期,向支付服务器发送获取请求,以获取用户的支付日志数据,并且,获取请求中还可携带时间信息,该时间信息可以使计算应用获取指定时段内该用户的支付日志数据。这里便不再过多赘述。Based on the foregoing, the user information carried in the retrieval request may include the user's registered payment account on the payment platform. Similar to the previous scenario, in this scenario, the computing application can also send a retrieval request carrying the payment account information to the payment server based on the pre-entered payment account and the payment server corresponding to that ticketing account, in order to obtain payment log data related to that payment account. Furthermore, the computing application can also send retrieval requests to the payment server at set intervals to obtain the user's payment log data, and the retrieval request can also carry time information, which allows the computing application to obtain the user's payment log data within a specified time period. Further details will not be elaborated upon here.
对于本步骤中的获取过程而言,除了上述由计算应用主动获取的方式之外,计算应用还可预先将用户在计算应用中注册的计算账户以及用户的支付账户均发送给支付服务器,以使得支付服务器根据该支付账户,动态地获取与该支付账户相关的支付日志数据,并由支付服务器根据计算账户,主动向计算应用推送与该支付账户相关的支付日志数据。当然,如果计算应用自身具备在线支付服务,用户又使用了该计算应用提供的在线支付服务,那么,在这种情况下,该计算应用直接获取其产生的支付日志数据。这里并不构成对本申请的限定。Regarding the acquisition process in this step, in addition to the aforementioned method of active acquisition by the computing application, the computing application can also pre-send the user's registered computing account and payment account to the payment server. This allows the payment server to dynamically acquire payment log data related to the payment account and then proactively push this payment log data to the computing application. Of course, if the computing application itself provides an online payment service, and the user uses that service, then the computing application directly acquires the generated payment log data. This does not constitute a limitation of this application.
S212:支付服务器接收获取请求,并根据该获取请求中所携带的用户信息,确定与该用户信息对应的支付日志数据,并将确定出的所述支付日志数据反馈给所述计算应用。S212: The payment server receives the acquisition request, determines the payment log data corresponding to the user information carried in the acquisition request, and feeds back the determined payment log data to the computing application.
其中,所述支付日志数据中至少包含用户ID,以及反映支付服务类型的标识信息。这里的支付日志数据,也就是用户使用在线支付服务的行为数据。当然,如果获取请求中包含时间信息,则支付服务器将根据所述时间信息,获取与所述时间信息相匹配的用户的支付日志数据。The payment log data includes at least a user ID and identification information reflecting the type of payment service. This payment log data refers to the user's behavior data when using online payment services. Of course, if the request includes time information, the payment server will retrieve the payment log data of the user matching that time information.
同样,在计算节碳量的过程中,并不需要支付日志数据中的支付金额、目标用户、支付时间等数据,所以,计算应用可以针对接收到的支付日志数据进行数据整理操作,以剔除计算过程中不必要的数据,或者,根据与支付服务器之间的约定,使支付服务器在发送支付日志数据之前,进行相应的数据整理操作。Similarly, the calculation of carbon savings does not require data such as payment amount, target user, and payment time from the payment log data. Therefore, the calculation application can perform data processing on the received payment log data to remove unnecessary data during the calculation process, or, according to the agreement with the payment server, have the payment server perform corresponding data processing operations before sending the payment log data.
S213:计算应用在获取到支付日志数据后,将根据所述支付日志数据中包含的用户ID,确定该支付日志数据与该用户的账户相关联,并根据所述支付日志数据中包含的标识信息,确定计算所需的节碳量量化算法。S213: After obtaining the payment log data, the computing application will determine that the payment log data is associated with the user's account based on the user ID contained in the payment log data, and determine the carbon saving quantification algorithm required for calculation based on the identification information contained in the payment log data.
其中,与前述内容相类似,在一种方式下,预先建立了标识信息与节碳量量化算法之间的对应关系,那么,计算应用可根据标识信息与节碳量量化算法之间的对应关系,可确定出针对支付日志数据计算节碳量所使用的节碳量量化算法为:减少打印纸质票据的节碳量量化算法。Similar to the aforementioned content, in one approach, a correspondence between identification information and carbon saving quantification algorithms is pre-established. Then, the calculation application can determine the carbon saving quantification algorithm used to calculate carbon saving for payment log data based on the correspondence between identification information and carbon saving quantification algorithms: the carbon saving quantification algorithm for reducing the printing of paper tickets.
而在另一种方式下,计算应用通过标识信息可确定出应用场景为在线支付服务,该场景预先定义了相应的节碳量量化算法,故计算应用通过标识信息可确定出,在线支付服务的节碳量量化算法进一步为:减少打印纸质票据的节碳量量化算法。In another approach, the computing application can identify the application scenario as online payment service through the identification information. This scenario has a predefined corresponding carbon saving quantification algorithm. Therefore, the computing application can determine through the identification information that the carbon saving quantification algorithm for online payment service is further: a carbon saving quantification algorithm for reducing the printing of paper tickets.
S214:根据确定出的节碳量量化算法,以及获取到的支付日志数据,计算用户使用该在线支付服务的节碳量,并根据计算得到的所述节碳量,对用户对应的特定数据进行处理。S214: Based on the determined carbon saving quantification algorithm and the obtained payment log data, calculate the carbon saving amount of the user using the online payment service, and process the specific data corresponding to the user based on the calculated carbon saving amount.
在本场景中,支付应用具有定位功能,能够在用户发出在线支付指令时确定用户的位置信息(即用户位置信息)。In this scenario, the payment application has a location function, which can determine the user's location information (i.e., user location information) when the user issues an online payment instruction.
故在计算过程中,计算应用可根据获取到的支付日志数据中的支付单号(可以理解地,支付单号唯一地标识了一次在线支付服务),可以统计出用户使用在线支付服务的次数,并且,计算应用还可通过支付应用获取用户在使用在线支付服务时的用户位置信息,并根据该用户位置信息所对应的地区,可确定出前述公式中的EFy,从而,基于此可计算出用户每一次使用在线支付服务所减少打印纸质票据的节碳量。如果用户在同一地区使用了多次在线支付服务,由于该地区对应的EFy相同,那么,用户减少打印纸质票据的节碳量=n*ERy。而如果用户在不同地区使用了多次在线支付服务,由于不同地区对应的EFy不同,故用户减少打印纸质票据的节碳量为用户在各地区节碳量的累加。Therefore, during the calculation process, the application can use the payment order number (which uniquely identifies each online payment service) from the obtained payment log data to count the number of times a user uses the online payment service. Furthermore, the application can obtain the user's location information when using the online payment service through the payment application, and determine EF<sub>y</sub> in the aforementioned formula based on the region corresponding to that location. Thus, the carbon savings from each use of the online payment service can be calculated. If a user uses the online payment service multiple times in the same region, since the corresponding EF<sub> y </sub> is the same for that region, the carbon savings from reduced paper printing = n*ER<sub>y</sub> . However, if a user uses the online payment service multiple times in different regions, since the corresponding EF<sub>y</sub> is different for each region, the carbon savings from reduced paper printing is the sum of the carbon savings in each region.
相类似地,该场景中,也可以基于计算得到的节碳量,转换为积分,从而使得用户直观地获知自己使用在线支付服务的节碳量。Similarly, in this scenario, the calculated carbon savings can be converted into points, allowing users to intuitively understand the carbon savings they achieve by using online payment services.
场景三、用户使用在线预约服务。Scenario 3: Users use online reservation services.
在线预约服务,可包括:在线饭店预约、酒店预约、场地预定、医院挂号等服务,相较于传统用户前往业务地点进行预约的方式而言,在线预约服务能够使得用户无需前往业务地点,也就能够减少用户使用交通工具出行所产生的碳排放量。Online booking services can include online restaurant reservations, hotel reservations, venue bookings, hospital registration, and other services. Compared to the traditional method of users going to business locations to make reservations, online booking services allow users to avoid going to business locations, thereby reducing the carbon emissions generated by users using transportation.
当用户使用了在线预约服务后,提供该在线预约的服务提供方(如:医院网站),将基于用户本次执行的在线预约行为,生成在线预约数据,该在线预约数据就是用户使用在线预约服务的行为数据,那么,便可以根据该行为数据,计算用户的节碳量。When a user uses an online appointment service, the service provider (such as a hospital website) will generate online appointment data based on the user's online appointment behavior. This online appointment data is the user's behavior data when using the online appointment service. Therefore, the user's carbon savings can be calculated based on this behavior data.
与前述场景相类似,本场景中的执行主体也可以是具有节碳量计算功能的应用或服务器,仍以执行主体为计算应用进行说明。并且,在实际场景中,能够提供在线预约服务的服务提供方,可包括:预约平台、医院、酒店和/或饭店等,以预约平台为例,用户可通过预约平台的应用(后续称为:预约应用)使用在线预约服务,而用户使用在线预约服务时产生的行为数据,可由预约平台的服务器(后续称为:预约服务器)生成。Similar to the aforementioned scenarios, the executing entity in this scenario can also be an application or server with carbon saving calculation capabilities; the explanation will still focus on the calculation application as the executing entity. Furthermore, in real-world scenarios, service providers capable of offering online booking services can include: booking platforms, hospitals, hotels, and/or restaurants, etc. Taking a booking platform as an example, users can use the online booking service through the booking platform's application (hereinafter referred to as: booking application), and the behavioral data generated when users use the online booking service can be generated by the booking platform's server (hereinafter referred to as: booking server).
基于此,如图2c所示,假设用户通过预约平台进行在线挂号,本场景中获取、计算节碳量的过程如下:Based on this, as shown in Figure 2c, assuming a user registers online through an appointment platform, the process of obtaining and calculating carbon savings in this scenario is as follows:
S221:计算应用向预约服务器发送携带有用户信息的获取请求,以获取该用户的挂号数据。S221: The computing application sends a request carrying user information to the reservation server to obtain the user's registration data.
需要说明的是,在实际应用中,当用户需要在线挂号时,可通过相应的预约应用向预约服务器发送挂号请求,其中,挂号请求中携带有用户信息(如:用户的医疗保险信息、用户姓名、身份证号、用户在预约应用中注册的预约账户等),挂号类型信息(如:专家号、普通号等),以及用户所选定的医院信息(如:医院等级、医院名称等),那么,预约服务器在接收到由预约应用发送的挂号请求后,则会根据挂号请求向相应的医院进行挂号,并在挂号成功后,将电子挂号单反馈给所述预约应用,同时基于该电子挂号单生成该用户的挂号数据,并记录。It should be noted that in practical applications, when a user needs to register online, they can send a registration request to the appointment server through the corresponding appointment application. This request includes user information (such as the user's medical insurance information, name, ID number, and the appointment account registered in the application), appointment type information (such as specialist appointment or general appointment), and the hospital information selected by the user (such as hospital level and name). Upon receiving the registration request from the application, the appointment server will register the user with the corresponding hospital based on the request. After successful registration, the server will send an electronic registration slip back to the application and generate and record the user's registration data based on this slip.
基于前述内容,计算应用中预先存储有该用户的各类用户信息,所以,获取请求中所携带的用户信息,可包括:用户的医疗保险信息、用户姓名、身份证号、用户在预约应用中注册的预约账户等。与前述场景类似,计算应用可按照设定周期的方式向预约服务器发送获取请求,并请求获取指定时段内该用户的挂号数据。这里不再详细描述。Based on the foregoing, the computing application pre-stores various types of user information for this user. Therefore, the user information carried in the retrieval request may include: the user's medical insurance information, user name, ID number, and the appointment account registered by the user in the appointment application. Similar to the aforementioned scenario, the computing application can send retrieval requests to the appointment server at set intervals, requesting to retrieve the user's registration data for a specified time period. This will not be described in detail here.
对于本步骤中的获取过程而言,除了上述由计算应用主动获取的方式之外,计算应用也可以与预约服务器之间进行约定,具体地,计算应用可将用户在计算应用中注册的计算账户以及用户的预约账户均发送给预约服务器,以使得预约服务器根据该预约账户,动态地获取与该预约账户相关的挂号数据,并由预约服务器主动向计算应用推送与该支付账户相关的挂号数据。当然,如果计算应用自身具备在线预约服务,用户又使用了该计算应用提供的在线预约服务,那么,在这种情况下,该计算应用直接获取其产生的挂号数据。这里并不构成对本申请的限定。Regarding the acquisition process in this step, in addition to the aforementioned method of active acquisition by the computing application, the computing application can also make an agreement with the reservation server. Specifically, the computing application can send both the user's registered computing account and the user's reservation account to the reservation server, so that the reservation server can dynamically obtain the registration data related to the reservation account and actively push the registration data related to the payment account to the computing application. Of course, if the computing application itself has an online reservation service, and the user uses the online reservation service provided by the computing application, then in this case, the computing application directly obtains the registration data it generates. This does not constitute a limitation of this application.
S222:预约服务器接收获取请求,并根据该获取请求中所携带的用户信息,确定与该用户信息对应的挂号数据,并将确定出的所述挂号数据反馈给所述计算应用。S222: The reservation server receives the retrieval request, determines the registration data corresponding to the user information based on the user information carried in the retrieval request, and feeds back the determined registration data to the computing application.
其中,所述挂号数据中至少包含用户ID,以及反映预约服务类型的标识信息。这里的挂号数据,也就是用户使用在线预约服务的行为数据。The registration data includes at least a user ID and identification information reflecting the type of appointment service. This registration data refers to user behavior data related to using the online appointment service.
同样地,挂号数据中诸如挂号类型、就诊日期等数据对于计算节碳量的过程无用的数据,故还可以采用与前述方式相似的数据整理操作,对挂号数据进行整理。具体可参考前述内容,这里不再详细说明。Similarly, data such as registration type and appointment date in the registration data are useless for calculating carbon savings. Therefore, similar data processing operations as described above can be used to process the registration data. Please refer to the previous content for details, which will not be elaborated here.
S223:计算应用获取到挂号数据后,根据所述挂号数据中包含的用户ID,确定该挂号数据与该用户的账户相关联,根据所述挂号数据中包含的标识信息,确定计算所需的节碳量量化算法。S223: After the application obtains the registration data, it determines that the registration data is associated with the user's account based on the user ID contained in the registration data, and determines the carbon saving quantification algorithm required for calculation based on the identification information contained in the registration data.
在一种方式下,预先建立了标识信息与节碳量量化算法之间的对应关系,那么,计算应用根据标识信息与节碳量量化算法之间的对应关系,可确定出针对挂号数据计算节碳量所使用的节碳量量化算法为:避免用户乘坐交通工具出行的节碳量量化算法。In one approach, a pre-established correspondence between identification information and carbon-saving quantification algorithms is established. Based on this correspondence, the calculation application can determine the carbon-saving quantification algorithm used to calculate carbon savings for registration data: a carbon-saving quantification algorithm that avoids users taking public transportation.
而在另一种方式下,计算应用通过标识信息可确定出应用场景为在线预约服务,该场景预先定义了相应的节碳量量化算法,故计算应用通过标识信息可确定出在线预约服务的节碳量量化算法进一步为:避免用户乘坐交通工具出行的节碳量量化算法。In another approach, the computing application can identify the application scenario as an online reservation service through the identification information. This scenario has a predefined corresponding carbon saving quantification algorithm. Therefore, the computing application can further identify the carbon saving quantification algorithm for the online reservation service through the identification information as: a carbon saving quantification algorithm to avoid users taking public transportation.
S224:根据确定出的节碳量量化算法,以及获取到的挂号数据,计算用户使用该在线预约服务的节碳量,并根据计算得到的所述节碳量,对用户对应的特定数据进行处理。S224: Based on the determined carbon saving quantification algorithm and the obtained registration data, calculate the carbon saving amount of the user using the online appointment service, and process the specific data corresponding to the user based on the calculated carbon saving amount.
在计算过程中,若预约应用具有定位功能,能够在用户发出在线挂号指令时确定用户所在的位置(即用户位置),那么,计算应用所获取到的挂号数据中还包括用户使用该在线挂号服务时所处的位置。同时,基于挂号数据中包含的医院地址,计算应用可确定出该医院所在的位置,并计算用户位置与该医院之间的距离L,再根据上述公式中交通工具所产生的碳排放量均值W,计算出在这一距离内,避免用户乘坐交通工具出行的节碳量。During the calculation process, if the appointment application has location functionality and can determine the user's location (i.e., user location) when the user issues an online registration command, then the registration data obtained by the application will also include the user's location when using the online registration service. Simultaneously, based on the hospital address included in the registration data, the application can determine the hospital's location and calculate the distance L between the user's location and the hospital. Then, according to the average carbon emissions W generated by transportation in the above formula, it can calculate the carbon savings by avoiding the user's use of transportation within this distance.
类似地,该场景中,也可以基于计算得到的节碳量,转换为积分,从而使得用户直观地获知自己使用在线预约服务的节碳量。Similarly, in this scenario, the calculated carbon savings can be converted into points, allowing users to intuitively understand the carbon savings they achieve by using the online booking service.
场景四、用户使用在线缴费服务。Scenario 4: Users use online payment services.
在线缴费服务,可包括在线缴纳水、电、天然气、交通罚款等费用的服务。通过在线缴费服务,能够使得用户无需前往缴费地点就可以实现缴费,也就减少了用户乘坐交通工具前往缴费地点的碳排放量。同时,也能够减少在缴费过程中打印的纸质票据。Online payment services can include online payment for water, electricity, gas, traffic fines, and other bills. These services allow users to pay without going to a payment location, reducing carbon emissions from traveling to payment points. They also reduce the need for printed paper receipts.
当用户使用了在线缴费服务后,提供该在线缴费的服务提供方,将基于用户本次执行的在线缴费行为,生成在线缴费数据,该在线缴费数据就是用户使用在线缴费服务的行为数据,那么,便可以根据该行为数据,计算用户的节碳量。When a user uses the online payment service, the service provider will generate online payment data based on the user's online payment behavior. This online payment data is the user's behavior data when using the online payment service. Based on this behavior data, the user's carbon savings can be calculated.
与前述场景相类似,本场景中以执行主体为计算应用进行说明。并且,在实际场景中,能够提供在线缴费服务的服务提供方,可包括:在线缴费平台、缴费网站和/或银行,以缴费平台为例,用户可通过缴费平台对应的应用(后续称为:缴费应用)使用在线缴费服务,而用户使用在线缴费服务时产生的行为数据,可由缴费平台的服务器(后续称为:缴费服务器)生成。Similar to the aforementioned scenarios, this scenario focuses on the computing application as the executing entity. Furthermore, in real-world scenarios, service providers capable of offering online payment services can include: online payment platforms, payment websites, and/or banks. Taking a payment platform as an example, users can utilize the online payment service through the application corresponding to the payment platform (hereinafter referred to as: payment application). The behavioral data generated when users use the online payment service can be generated by the payment platform's server (hereinafter referred to as: payment server).
基于此,如图2d所示,假设用户通过缴费平台在线交通罚款,且该用户在该缴费平台上注册有相应的账户,该账户中有充足金额,本场景中获取、计算节碳量的过程如下:Based on this, as shown in Figure 2d, assuming a user pays traffic fines online through a payment platform, and the user has a registered account on that platform with sufficient funds, the process of obtaining and calculating carbon savings in this scenario is as follows:
S231:计算应用向缴费服务器发送携带有用户信息的获取请求,以获取该用户的缴费数据。S231: The computing application sends a request carrying user information to the payment server to obtain the user's payment data.
需要说明的是,在实际应用中,当用户需要进行在线缴费时,可通过相应的缴费应用向缴费服务器发出缴费请求,其中,缴费请求中携带有用户信息(如:用户驾驶证号、身份证号、罚款单号、用户在该缴费平台上所注册的缴费账户等)。那么,缴费服务器在接收到缴费应用发送的缴费请求后,则会根据缴费请求从该用户的账户中扣除相应数额的款项,再向相应的交通缴费网站进行缴费,并在缴费成功后,将电子缴费凭证反馈给所述缴费应用,同时基于该电子缴费凭证生成该用户的缴费数据,并记录。It should be noted that in practical applications, when a user needs to make an online payment, they can send a payment request to the payment server through the corresponding payment application. This request includes user information (such as the user's driver's license number, ID card number, fine ticket number, and the payment account registered on the payment platform). Upon receiving the payment request from the application, the payment server will deduct the corresponding amount from the user's account, process the payment through the relevant traffic payment website, and, upon successful payment, send an electronic payment voucher to the application. Simultaneously, the server will generate and record the user's payment data based on this electronic payment voucher.
基于前述内容,计算应用中预先存储有该用户的各类用户信息,所以,获取请求中所携带的用户信息,可包括:用户驾驶证号、身份证号、罚款单号、用户在该缴费平台上所注册的缴费账户等。且类似于前述场景,计算应用可按照设定周期的方式向缴费服务器发送获取请求,并请求获取指定时段内该用户的缴费数据。这里不再具体说明。Based on the foregoing, the computing application pre-stores various types of user information. Therefore, the user information carried in the retrieval request may include: the user's driver's license number, ID card number, fine ticket number, and the payment account registered by the user on the payment platform. Similar to the aforementioned scenario, the computing application can send retrieval requests to the payment server at set intervals, requesting payment data for the user within a specified time period. Further details will not be provided here.
对于本步骤中的获取过程而言,除了上述由计算应用主动获取的方式之外,计算应用也可以与缴费服务器之间进行约定(约定过程可参考前述场景,这里不再赘述),由缴费服务器主动向计算应用推送携带有上述用户信息的缴费数据。当然,如果计算应用自身具备在线缴费服务,用户又使用了该计算应用提供的在线缴费服务,那么,在这种情况下,该计算应用直接获取其产生的缴费数据。这里并不构成对本申请的限定。Regarding the acquisition process in this step, in addition to the method of active acquisition by the computing application as described above, the computing application can also make an agreement with the payment server (the agreement process can be referred to the aforementioned scenario, and will not be repeated here), in which case the payment server actively pushes payment data carrying the aforementioned user information to the computing application. Of course, if the computing application itself has an online payment service, and the user uses the online payment service provided by the computing application, then in this case, the computing application directly acquires the payment data it generates. This does not constitute a limitation of this application.
S232:缴费服务器接收获取请求,并根据该获取请求中所携带的用户信息,确定与该用户信息对应的缴费数据,并将确定出的所述缴费数据反馈给所述计算应用。S232: The payment server receives the acquisition request, determines the payment data corresponding to the user information based on the user information carried in the acquisition request, and feeds back the determined payment data to the computing application.
其中,所述缴费数据中至少包含用户ID,以及反映缴费服务类型的标识信息。这里的缴费数据,也就是用户使用在线缴费服务的行为数据。在实际应用时,可针对缴费数据进行数据整理操作,具体可参考前述内容,这里不再详细说明。The payment data includes at least a user ID and identification information reflecting the type of payment service. This payment data refers to user behavior data related to online payment services. In practical applications, data processing operations can be performed on the payment data; details are provided above and will not be elaborated upon here.
S233:计算应用获取到缴费数据后,根据所述缴费数据中包含的用户ID,确定该缴费数据与该用户的账户相关联,根据所述缴费数据中包含的标识信息,确定计算所需的节碳量量化算法。S233: After the computing application obtains the payment data, it determines that the payment data is associated with the user's account based on the user ID contained in the payment data, and determines the carbon saving quantification algorithm required for calculation based on the identification information contained in the payment data.
其中,与前述内容相类似,在一种方式下,预先建立了标识信息与节碳量量化算法之间的对应关系,那么,计算应用根据标识信息与节碳量量化算法之间的对应关系,可确定出针对缴费数据计算节碳量所使用的节碳量量化算法为:避免用户乘坐交通工具出行的节碳量量化算法,以及减少打印纸质票据的节碳量量化算法。Similar to the aforementioned content, in one approach, a correspondence between identification information and carbon saving quantification algorithms is pre-established. Then, the calculation application can determine the carbon saving quantification algorithms used to calculate carbon saving for payment data based on the correspondence between identification information and carbon saving quantification algorithms: carbon saving quantification algorithms to avoid users taking public transportation and carbon saving quantification algorithms to reduce the printing of paper tickets.
而在另一种方式下,计算应用通过标识信息可确定出应用场景为在线缴费服务,该场景预先定义了相应的节碳量量化算法,故计算应用通过标识信息可确定出在线缴费服务场景下的节碳量量化算法进一步为:避免用户乘坐交通工具出行的节碳量量化算法,以及减少打印纸质票据的节碳量量化算法。In another approach, the computing application can identify the application scenario as online payment service through the identification information. This scenario has a predefined corresponding carbon saving quantification algorithm. Therefore, the computing application can further identify the carbon saving quantification algorithm in the online payment service scenario through the identification information as: a carbon saving quantification algorithm to avoid users taking public transportation, and a carbon saving quantification algorithm to reduce the printing of paper tickets.
S234:根据确定出的节碳量量化算法,以及获取到的缴费数据,计算用户使用该在线缴费服务的节碳量,并根据计算得到的所述节碳量,对用户对应的特定数据进行处理。S234: Based on the determined carbon saving quantification algorithm and the obtained payment data, calculate the carbon saving amount of the user using the online payment service, and process the specific data corresponding to the user based on the calculated carbon saving amount.
本场景中,缴费应用具有定位功能,能够在用户发出在线缴费指令时确定用户的位置信息(即用户位置信息)。In this scenario, the payment application has a location function, which can determine the user's location information (i.e., user location information) when the user issues an online payment instruction.
故计算过程中,计算应用可根据获取到的缴费数据中的缴费单号(可以理解地,缴费单号唯一地标识了一次在线缴费服务),可以统计出用户使用在线缴费服务的次数,并且,计算应用还可通过缴费应用获取用户在使用在线缴费服务时的用户位置信息,并根据该用户位置信息所对应的地区,可确定出前述公式中的EFy,从而,基于此可计算出用户每一次使用在线缴费服务所减少打印纸质票据的节碳量。如果用户在同一地区使用了多次在线缴费服务,由于该地区对应的EFy相同,那么,用户减少打印纸质票据的节碳量=n*ERy。而如果用户在不同地区使用了多次在线缴费服务,由于不同地区对应的EFy不同,故用户减少打印纸质票据的节碳量为用户在各地区节碳量的累加。Therefore, during the calculation process, the application can use the payment slip number (which uniquely identifies each online payment service) from the obtained payment data to count the number of times a user uses the online payment service. Furthermore, the application can obtain the user's location information when using the online payment service and determine EF<sub>y</sub> in the aforementioned formula based on the region corresponding to that location. Thus, the carbon savings from each use of the online payment service can be calculated. If a user uses the online payment service multiple times in the same region, since the corresponding EF<sub> y </sub> is the same for that region, the carbon savings from reduced paper receipts = n * ER<sub>y</sub> . However, if a user uses the online payment service multiple times in different regions, since the corresponding EF <sub>y</sub> is different for each region, the carbon savings from reduced paper receipts is the sum of the carbon savings in each region.
此外,计算应用还可根据用户使用该在线缴费服务时的用户位置信息,确定出与用户位置最近的缴费地点位置(如:银行),并计算用户位置与该缴费地点位置之间的距离L,再根据上述公式中交通工具所产生的碳排放量均值W,计算出在这一距离内,避免用户乘坐交通工具出行的节碳量。In addition, the computing application can determine the nearest payment location (such as a bank) based on the user's location information when using the online payment service, calculate the distance L between the user's location and the payment location, and then calculate the carbon savings by avoiding the user's use of transportation within this distance based on the average carbon emissions W generated by transportation in the above formula.
故在本场景中,用户的节碳量可包括避免乘坐交通工具出行的节碳量,也可包括减少打印纸质票据的节碳量。Therefore, in this scenario, a user's carbon savings may include carbon savings from avoiding transportation or carbon savings from reducing the printing of paper tickets.
该场景中,计算应用将基于计算得到的节碳量,转换为积分,从而使得用户直观地获知自己使用在线缴费服务的节碳量。In this scenario, the computing application converts the calculated carbon savings into points, allowing users to intuitively understand the carbon savings they achieve by using online payment services.
除了以上诸场景之外,用户以步行方式出行,也能够起到减少碳排放量的作用,具体如下述场景:In addition to the scenarios mentioned above, walking can also help reduce carbon emissions, as shown in the following scenarios:
场景五、用户步行出行,使用健康服务对步行进行数据监控。Scenario 5: Users walk and use health services to monitor their walking data.
用户步行出行的方式,能够减少用户使用交通工具所带来的碳排放量。结合上述场景,用户可以采用步行的方式,前往上述的服务地点,如步行前往医院进行挂号、步行前往票务地点进行购票、步行前往缴费地点缴纳相关费用等,均可以起到减少碳排放量的作用。Walking can reduce carbon emissions from using transportation. In the scenarios described above, users can walk to various service locations, such as hospitals for registration, ticket offices for purchase, and payment locations for bills, all of which contribute to reducing carbon emissions.
对于步行数据的产生,可由具有步行采集功能的健康服务应用(后续称为:步行应用)生成,进而,便可基于该步行数据计算用户的节碳量。其中,所述步行数据包括步数、步行距离中的至少一种。Walking data can be generated by health service applications with walking data collection capabilities (hereinafter referred to as "walking applications"), and then the user's carbon savings can be calculated based on this walking data. The walking data includes at least one of steps and walking distance.
与前述场景相类似,本场景中以执行主体为计算应用进行说明。基于此,如图2e所示,本场景中获取、计算节碳量的过程如下:Similar to the previous scenario, this scenario focuses on the computational application as the executing entity. Based on this, as shown in Figure 2e, the process of obtaining and calculating carbon savings in this scenario is as follows:
S241:计算应用向步行应用发送携带有用户信息的获取请求,以获取该用户的步行数据。S241: The computing application sends a request carrying user information to the walking application in order to obtain the user's walking data.
需要说明的是,在实际应用时,所述的步行数据,可由步行应用通过相应的采集算法、模型和/或感应设备(如:智能手环、智能手表等),进行相应处理得到。这里并不构成对本申请的限定。假设步行数据中包括:用户的步数、用户步行过程中的位置信息、步行距离等,同时,所述步行数据还携带有用户信息(如:用户在步行应用中注册的账户)。It should be noted that in practical applications, the walking data can be obtained by the walking application through corresponding collection algorithms, models, and/or sensing devices (such as smart bracelets, smartwatches, etc.) after processing. This does not constitute a limitation of this application. It is assumed that the walking data includes: the user's step count, the user's location information during walking, walking distance, etc., and that the walking data also carries user information (such as the user's registered account in the walking application).
相应地,由计算应用发出的获取请求中,携带有该用户的账户,以便获取到与该账户相关联的步行数据。Accordingly, the acquisition request issued by the computing application carries the user's account in order to obtain walking data associated with that account.
对于本步骤中的获取过程而言,除了上述由计算应用主动获取的方式之外,计算应用也可以与步行应用之间进行约定,由步行应用主动向计算应用推送携带有上述用户信息的步行数据。当然,如果计算应用自身具备步行数据的采集功能,那么,在这种情况下,该计算应用直接获取其产生的步行数据。这里并不构成对本申请的限定。Regarding the acquisition process in this step, in addition to the aforementioned method of active acquisition by the computing application, the computing application can also agree with the walking application to have the walking application actively push walking data carrying the aforementioned user information to the computing application. Of course, if the computing application itself has the function of collecting walking data, then in this case, the computing application directly acquires the walking data it generates. This does not constitute a limitation of this application.
S242:步行应用接收获取请求,并根据该获取请求中所携带的用户信息,确定与该用户信息对应的步行数据,并将确定出的所述步行数据反馈给所述计算应用。S242: The walking application receives the acquisition request, determines the walking data corresponding to the user information carried in the acquisition request, and feeds back the determined walking data to the computing application.
其中,所述步行数据中至少包含用户ID,以及反映步行行为类型的标识信息。这里的步行数据,也就是用户进行步行所对应的行为数据。The walking data includes at least a user ID and identification information reflecting the type of walking behavior. In other words, the walking data refers to the behavioral data corresponding to a user's walking activity.
S243:计算应用获取到步行数据后,根据所述步行数据中包含的用户ID,确定该步行数据与该账户相关联,根据所述步行数据中包含的标识信息,确定计算所需的节碳量量化算法。S243: After the computing application obtains the walking data, it determines that the walking data is associated with the account based on the user ID contained in the walking data, and determines the carbon saving quantification algorithm required for calculation based on the identification information contained in the walking data.
其中,与前述内容相类似,在一种方式下,预先建立了标识信息与节碳量量化算法之间的对应关系,那么,计算应用根据标识信息,可确定出针对步行数据计算节碳量所使用的节碳量量化算法为:避免用户乘坐交通工具出行的节碳量量化算法。Similar to the aforementioned content, in one approach, a correspondence between identification information and carbon saving quantification algorithms is pre-established. Then, based on the identification information, the calculation application can determine the carbon saving quantification algorithm used to calculate carbon saving for walking data: a carbon saving quantification algorithm that avoids users taking public transportation.
而在另一种方式下,计算应用通过标识信息可确定出应用场景为用户步行,该场景预先定义了相应的节碳量量化算法,故计算应用通过标识信息可确定出用户步行的节碳量量化算法为:避免用户乘坐交通工具出行的节碳量量化算法。In another approach, the computing application can determine the application scenario as user walking through the identification information. This scenario has a predefined corresponding carbon saving quantification algorithm. Therefore, the computing application can determine the carbon saving quantification algorithm for user walking through the identification information as: the carbon saving quantification algorithm for avoiding user travel by transportation.
S244:根据确定出的节碳量量化算法,以及获取到的步行数据,计算用户步行的节碳量,并根据计算得到的所述节碳量,对用户对应的特定数据进行处理。S244: Based on the determined carbon saving quantification algorithm and the acquired walking data, calculate the carbon saving amount of the user's walking, and process the specific data corresponding to the user based on the calculated carbon saving amount.
在计算步行数据对应的节碳量时,由于步行数据中包含用户在步行过程中的位置信息,那么,计算应用便可以基于步行数据中的位置信息,确定该用户在交通路线上的行走路程,从而,可基于该行走路程,以及步行的节碳量量化算法,确定用户步行的节碳量。When calculating the carbon savings corresponding to walking data, since the walking data contains the user's location information during the walking process, the computing application can determine the user's walking distance on the transportation route based on the location information in the walking data. Therefore, based on the walking distance and the carbon savings quantification algorithm of walking, the carbon savings of the user's walking can be determined.
当然,如果作为执行主体的计算应用(或服务器)自身具备采集用户步行数据的功能,那么,在这种情况下,可由该计算应用(或服务器)直接获取其产生的步行数据。Of course, if the computing application (or server) that performs the task has the function of collecting user walking data, then in this case, the computing application (or server) can directly obtain the walking data it generates.
基于上述内容,本申请中的数据处理方法,可将用户碎片化的行为数据进行汇总,并基于汇总后的各类行为数据,结合相应的节碳量量化算法,计算出用户所减少的碳排放量,即用户的节碳量,相应的业务提供方可进一步基于计算得到的用户的节碳量,对用户所对应的数据进行处理,这样的方式将使用户可更加直观地获知自身的节碳量,而无需自行查询、计算,对于用户而言较为便捷,并且,通过业务提供方基于用户节碳量对用户进行诸如积分累计、账户等级提升等数据处理方式,将相应的业务与用户的节碳量进行关联。Based on the above, the data processing method in this application can aggregate fragmented user behavior data and, based on the aggregated behavior data and the corresponding carbon-saving quantification algorithm, calculate the user's reduced carbon emissions, i.e., the user's carbon savings. The corresponding service provider can further process the user's data based on the calculated carbon savings. This method allows users to more intuitively know their own carbon savings without having to query or calculate it themselves, which is more convenient for users. Furthermore, by having the service provider perform data processing on the user based on the user's carbon savings, such as accumulating points and upgrading account levels, the corresponding services can be linked to the user's carbon savings.
作为一种实际应用的方式,本申请实施例中所描述的内容(包括上述如图1所示的方法、图2a~2e所示的场景以及后续内容),均可基于如图3所示的架构,具体而言,在图3中,应用客户端获取来源于用户、第三方应用、第三方服务所产生的碎片化的用户行为数据,这些行为数据中包括用户使用不同互联网服务所产生的行为数据。应用客户端将获取到的行为数据发送给服务器,以实现对用户的节碳量的计算,以及基于节碳量进行相应的数据处理,再通过应用客户端,将处理结果展示给用户。这里并不构成对本申请的限定。As a practical application, the content described in the embodiments of this application (including the method shown in Figure 1, the scenarios shown in Figures 2a-2e, and subsequent content) can all be based on the architecture shown in Figure 3. Specifically, in Figure 3, the application client obtains fragmented user behavior data generated by the user, third-party applications, and third-party services. This behavior data includes behavior data generated by the user using different Internet services. The application client sends the obtained behavior data to the server to calculate the user's carbon savings and perform corresponding data processing based on the carbon savings. The processing results are then displayed to the user through the application client. This does not constitute a limitation of this application.
在本申请实施例中,在计算用户的节碳量的过程中,由于获取到的用户的行为数据中包含不同类型的行为数据,而每一种类型的行为数据所对应的节碳量量化算法之间存在一定的差异,所以,计算用户的节碳量,可分别计算不同类型的行为数据所对应的节碳量,也即,在本申请实施例中,根据获取到的所述行为数据,以及预设的节碳量量化算法,计算所述用户的节碳量,具体为:针对每一类型的行为数据,根据该类型的行为数据,以及预设的节碳量量化算法,确定该类型的行为数据对应的节碳量。In this embodiment of the application, during the calculation of a user's carbon savings, since the acquired user behavior data contains different types of behavior data, and there are certain differences between the carbon savings quantification algorithms corresponding to each type of behavior data, the carbon savings of a user can be calculated separately for each type of behavior data. That is, in this embodiment of the application, the user's carbon savings are calculated based on the acquired behavior data and the preset carbon savings quantification algorithm. Specifically, for each type of behavior data, the carbon savings corresponding to that type of behavior data are determined based on that type of behavior data and the preset carbon savings quantification algorithm.
如前所述,获取到的行为数据中通常包含相应的标识信息,也就可以根据该标识信息确定出行为数据的类型。其中,标识信息可包括:业务订单号中的类型标识位、类型信息等。As mentioned earlier, the acquired behavioral data typically contains corresponding identification information, which can be used to determine the type of behavioral data. This identification information may include: a type identifier bit in the business order number, type information, etc.
例如:在线支付业务的业务数据中包含每一笔在线支付业务的订单号,通过该订单号中的标识位,可确定出该业务为在线支付业务;又例如:在线预订业务的业务数据中包含业务类型信息,便可通过该业务类型信息确定出该业务为在线预订业务。这里并不构成对本申请的限定。For example, the business data of online payment transactions includes the order number of each online payment transaction. The identifier in this order number can be used to determine that the transaction is an online payment transaction. Similarly, the business data of online booking transactions includes business type information, which can be used to determine that the transaction is an online booking transaction. This does not constitute a limitation of this application.
针对确定出的每一类型的业务数据,便可以使用相应的节碳量量化算法,计算该类型的业务数据所对应的节碳量。具体可参考前述内容,这里不再过多赘述。For each type of business data identified, a corresponding carbon-saving quantification algorithm can be used to calculate the carbon savings corresponding to that type of business data. For details, please refer to the preceding content; further elaboration will not be repeated here.
经过上述内容,确定了用户的节碳量后,便可以根据用户的节碳量,对用户所对应的特定数据进行处理,作为本申请实施例中的一种方式,根据计算出的所述用户的节碳量,对所述用户对应的特定数据进行处理,可包括:获取预设周期时间内用户在多个互联网服务中的节碳量,将获取到的节碳量进行累加,并根据累加后的节碳量对所述特定数据进行处理。After determining the user's carbon savings based on the above, specific data corresponding to the user can be processed based on the user's carbon savings. As one method in this application embodiment, processing the specific data corresponding to the user based on the calculated carbon savings may include: obtaining the user's carbon savings in multiple Internet services within a preset period, accumulating the obtained carbon savings, and processing the specific data based on the accumulated carbon savings.
具体而言,实际操作时,用户可能随时会使用不同的互联网服务,前述内容中提供了按照预设周期时间计算用户的节碳量的方式,故在此可以获取预设周期时间内用户的节碳量,并累加。Specifically, in actual operation, users may use different Internet services at any time. The aforementioned content provides a way to calculate the user's carbon savings according to a preset period. Therefore, the user's carbon savings within the preset period can be obtained and accumulated.
更为具体地,根据累加后的节碳量对所述特定数据进行处理的过程可以为:将计算出的所述用户在预设周期内累加后的节碳量,与所述用户的节碳总量进行累加,得到更新后的节碳总量,并根据更新后的节碳总量对所述特定数据进行处理。More specifically, the process of processing the specific data based on the accumulated carbon savings can be as follows: the calculated accumulated carbon savings of the user within a preset period is added to the user's total carbon savings to obtain an updated total carbon savings, and the specific data is processed based on the updated total carbon savings.
在上述累加节碳量的过程中,既可以分别统计每一类型业务各自对应的节碳量,并分别累加至各业务对应的历史节碳总量中,也可以在统计出各类型业务的节碳量后,累加各类型业务的节碳量,得到用户的节碳总量,该节碳总量反映了用户碎片化的行为数据所对应的节碳量的统计值。当然,对节碳量累加的方式并不构成对本申请的限定。In the process of accumulating carbon savings, one can either separately calculate the carbon savings corresponding to each type of service and add them separately to the historical total carbon savings for each service, or first calculate the carbon savings for each type of service and then add them together to obtain the user's total carbon savings. This total carbon savings reflects the statistical value of carbon savings corresponding to the user's fragmented behavioral data. Of course, the method of accumulating carbon savings does not constitute a limitation on this application.
在本申请实施例中,用户不断发出新的行为,相应地,也就不断地有行为数据产生,那么,便可以根据新生成的行为数据计算用户的节碳量,并与用户的节碳总量进行累加。In this embodiment of the application, users continuously generate new behaviors, and correspondingly, behavioral data is continuously generated. Therefore, the user's carbon savings can be calculated based on the newly generated behavioral data and accumulated with the user's total carbon savings.
更新后的节碳量可以展示给用户,使得用户可直观地获知自身的节碳量,当然,作为本申请实施例中的一种方式,对于业务提供方而言,也可以基于更新后的节碳量转换为积分的形式,换言之,将计算出的所述用户在预设周期内累加后的节碳量,与所述用户的节碳总量进行累加,可包括:根据预设的转换规则,将计算出的所述用户的节碳量转换为积分,将转换后的积分与该用户的积分总量进行累加,得到更新后的积分总量。The updated carbon savings can be displayed to users, allowing them to intuitively understand their own carbon savings. Of course, as one method in this application embodiment, the service provider can also convert the updated carbon savings into points. In other words, the calculated carbon savings accumulated by the user within a preset period can be added to the user's total carbon savings. This can include: converting the calculated carbon savings of the user into points according to a preset conversion rule, and adding the converted points to the user's total points to obtain the updated total points.
其中,预设的转换规则,可包含相应的转换系数,进而可根据转换系数,将用户的节碳量转换为相应的积分。实际应用时,根据积分的高低,业务提供方可为用户提供不同的业务,如:为用户提供可使用积分进行兑换的商品,或,根据积分高低,为用户提供折扣等等。The preset conversion rules can include corresponding conversion coefficients, which can then be used to convert a user's carbon savings into corresponding points. In practical applications, based on the number of points accumulated, service providers can offer users different services, such as providing goods that can be redeemed with points, or offering discounts based on the number of points accumulated.
上述转换方式并不仅限于积分,还可以是用户的账户等级、勋章等。这里并不构成对本申请的限定。The conversion methods described above are not limited to points; they can also include user account levels, badges, etc. This does not constitute a limitation of this application.
对于上述的积分的累加过程,可按照设定的周期自动累加,如:按照每1天为周期,将当天转换的积分与用户的积分总量进行累加。也可根据用户的确认指令进行累加,对于该方式,可向用户提供用于进行积分累加的控件,控件的形式可采用诸如悬浮控件、嵌入式控件、弹窗控件等多种形式,例如:如图4a所示,应用界面嵌入有控件,该控件用于实现积分的累加。The points accumulation process described above can be automated according to a set period, such as accumulating the points converted on a daily basis with the user's total points. Alternatively, points can be accumulated based on user confirmation. For this method, a control for accumulating points can be provided to the user. This control can take various forms, such as a floating control, an embedded control, or a pop-up control. For example, as shown in Figure 4a, the application interface embeds a control used to accumulate points.
基于此,将转换后的积分与该用户的积分总量进行累加,可包括:接收用户通过所述控件发出的确认指令,将转换后的积分与该用户的积分总量进行累加。Based on this, the converted points can be added to the user's total points, which may include: receiving a confirmation instruction from the user through the control and adding the converted points to the user's total points.
如:对于图4a中的控件,用户通过点击该控件,便可以实现对积分的累加。For example, with the control in Figure 4a, users can accumulate points by clicking the control.
在实际应用中的一种可选方式,可以按照不同类型的行为(包括:不同类型的业务行为和步行),分别计算其积分总量并展示,也即,如图4b所示,界面中包含不同类型的行为项,在每一类行项中显示出各类行为对应的积分总量。除此之外,在实际应用中的另一种可选方式,还可以将全局的积分总量进行展示,即,如图4c所示,图4c中的积分总量是用户的所有行为数据所对应的全局积分总量。这里并不构成对本申请的限定。In practical applications, one option is to calculate and display the total points for different types of behavior (including different types of business behavior and walking). That is, as shown in Figure 4b, the interface includes different types of behavior items, and displays the total points for each type of behavior within each category. Alternatively, another option in practical applications is to display the total global points, as shown in Figure 4c. The total points in Figure 4c represent the total global points corresponding to all of the user's behavior data. This does not constitute a limitation of this application.
此外,作为实际应用中的一种扩展方式,不同用户之间可相互获取未累加的积分,也即,所述方法还包括:接收所述用户针对其他用户未累加的积分发出的获取指令,根据所述获取指令,获取其他用户未累加的积分中的全部或部分积分,将获取到的全部或部分积分,与该用户的积分总量进行累加。Furthermore, as an extension in practical applications, different users can obtain each other's unaccumulated points. That is, the method also includes: receiving a user's acquisition instruction for other users' unaccumulated points, acquiring all or part of the unaccumulated points of other users according to the acquisition instruction, and accumulating the acquired all or part of the points with the user's total points.
其中,所述的其他用户,是与所述用户具有关联关系的用户,如:其他用户是所述用户联系人列表中的各联系人用户。The other users mentioned above are users who are associated with the user, such as the contact users in the user's contact list.
实际应用中,服务器会针对每一用户计算积分,并且,服务器中存储有不同用户彼此之间的关联关系,那么,针对任一用户,服务器会根据已存储的不同用户之间的关联关系,确定与该用户具有关联关系的各用户,并将各用户的积分数据发送给该用户,以便于通过该用户所使用的应用展示各用户的积分数据。In practical applications, the server calculates points for each user and stores the relationships between different users. Then, for any given user, the server will determine the users associated with that user based on the stored relationships and send the points data of each user to that user so that the user's points data can be displayed through the application used by that user.
其中,各用户的积分数据,包括:各用户当前的积分总量、每一类型的行为数据分别对应的积分总量、未累加的积分中的至少一种。The points data for each user includes at least one of the following: the current total points for each user, the total points corresponding to each type of behavioral data, and unaccumulated points.
这样一来,该用户便可以通过其使用的应用,直观地查看到联系人列表中的各联系人用户未累加的积分、各联系人用户的积分总量、每一类型的行为数据分别对应的积分总量等数据。In this way, the user can intuitively view the unaccumulated points of each contact in the contact list, the total points of each contact, and the total points corresponding to each type of behavioral data through the application they use.
如果该用户点击获取了某个联系人用户未累加的积分,那么,通过该用户所使用的应用,会向服务器发出获取请求,服务器根据获取请求中的用户标识,将该联系人用户未累加的积分,转移给发出获取请求的用户。If a user clicks to retrieve unaccumulated points for a contact user, the application used by that user will send a retrieval request to the server. The server will then transfer the unaccumulated points of that contact user to the user who sent the retrieval request, based on the user identifier in the retrieval request.
当然,在一种可选方式中,用户获取其他用户未累加的积分,并不是获取其他用户未累加的全部积分,而是有一定的数量限制,如:实际的获取量,为其他用户未累加积分的10%。Of course, in one alternative method, when a user obtains points that other users have not accumulated, it does not mean obtaining all the points that other users have not accumulated, but rather there is a certain quantity limit, such as: the actual amount obtained is 10% of the points that other users have not accumulated.
如图5a所示,提供一种实际应用场景,在图5a中可见,用户的联系人列表中,每一联系人项上都显示出了未累加的积分,此时,用户可以点击任意联系人,获取其未累加的积分。当然,进一步也可如图5b所示,当用户点击了任意联系人后,将进入该联系人的详细界面,其中显示出该联系人不同类型的行为所对应的未累加的积分,用户可以进一步点击不同的行为项,获取该类型行为所对应的未累加积分。可见,上述方式能够增加用户之间的互动及趣味性。当然,如图5a和5b所示的场景并不构成对本申请的限定。As shown in Figure 5a, a practical application scenario is provided. In Figure 5a, each contact in the user's contact list displays unaccumulated points. The user can then click on any contact to retrieve their unaccumulated points. Alternatively, as shown in Figure 5b, when the user clicks on any contact, they will enter that contact's detailed interface, which displays the unaccumulated points corresponding to different types of actions taken by that contact. The user can then click on different action items to retrieve the unaccumulated points corresponding to that type of action. It is evident that the above method can increase user interaction and engagement. Of course, the scenarios shown in Figures 5a and 5b do not constitute a limitation of this application.
在本申请实施例中,还可以采用为用户分配虚拟物品的方式,也即,所述方法还包括:确定所述用户的更新后的积分总量,根据所述更新后的积分总量,为所述用户分配与所述更新后的积分总量相匹配的虚拟物品。In this embodiment of the application, the method can also be to allocate virtual items to the user. That is, the method further includes: determining the updated total points of the user, and allocating virtual items to the user that match the updated total points.
其中,所述虚拟物品可以包括:虚拟树、虚拟勋章、虚拟奖牌等。The virtual items may include: virtual trees, virtual badges, virtual medals, etc.
当然,在本申请实施例中,虚拟物品根据积分总量不同具有不同的显示状态,具体地,根据预先划分的积分区间,确定用户的积分总量所落入的积分区间,并根据预先设定的积分区间与虚拟物品显示状态的对应关系,确定用户的虚拟物品的显示状态。其中,所述虚拟物品的显示状态,包括但不限于:虚拟物品的尺寸、形状、颜色等。Of course, in this embodiment, virtual items have different display states depending on the total points accumulated. Specifically, based on pre-defined point ranges, the point range into which the user's total points fall is determined, and the display state of the user's virtual items is determined based on a pre-set correspondence between point ranges and virtual item display states. The display state of the virtual items includes, but is not limited to, the size, shape, and color of the virtual items.
例如:假设预先按照数值由小到大的顺序,划分成3个积分区间,这3个积分区间对应的虚拟树的尺寸也由小到大,那么,便可以根据用户的节碳量,确定用户的积分总量,再确定用户的积分总量所落入的区间,进而确定出分配给用户的虚拟树的尺寸。随着用户节碳量的增加,用户的积分总量也相应增加,当用户的积分总量到达下一积分区间后,用户的虚拟树的尺寸也相应增大。For example, suppose the system is pre-divided into three integration intervals in ascending order of numerical values. The size of the virtual tree corresponding to these three integration intervals also increases from small to large. Then, based on the user's carbon savings, the user's total points can be determined, and the interval into which the user's total points fall can be determined, thus determining the size of the virtual tree allocated to the user. As the user's carbon savings increase, the user's total points also increase accordingly. When the user's total points reach the next integration interval, the size of the user's virtual tree also increases accordingly.
又例如:用户的虚拟物品还可以是虚拟奖牌,随着用户节碳量的增加,用户的积分总量也增加,该虚拟奖牌可由铜牌变为银牌,再变为金牌。For example, a user's virtual items can also be virtual medals. As a user's carbon savings increase, the user's total points also increase, and the virtual medal can change from bronze to silver, and then to gold.
当然,上述的示例并不构成对本申请的限定。Of course, the examples above do not constitute a limitation of this application.
实际应用中,虚拟树具有不同的种类,每一种虚拟树所对应的积分总量均不同,用户的积分总量就反映了用户的节碳量,那么,虚拟树所对应的积分,实质上反映了该种类的树木在自然环境下可以吸收的碳排放量。In practical applications, virtual trees come in different types, and each type of virtual tree corresponds to a different total number of points. The total number of points a user has reflects the amount of carbon savings a user has. Therefore, the points corresponding to a virtual tree essentially reflect the amount of carbon emissions that type of tree can absorb in the natural environment.
作为该方式的延伸,业务提供方可借助第三方基金赞助的方式,以该用户的名义植树,具体而言,业务提供方将根据用户的积分总量,确定与该积分总量相匹配的树木信息(包括:树木品种、树龄等),并将该树木信息以及该用户的用户信息,发送给第三方基金,以使得第三方基金根据树木信息,确定相应的树木,并以该用户的名义植树。As an extension of this approach, the service provider can use a third-party fund sponsorship to plant trees in the user's name. Specifically, the service provider will determine the tree information (including tree species, age, etc.) that matches the user's total points, and send the tree information and the user's information to the third-party fund so that the third-party fund can determine the appropriate trees based on the tree information and plant them in the user's name.
该方式将用户的节碳量转变为实际的树木,有益于环境保护,也能够促进用户的环保意识。This method converts users' carbon savings into actual trees, which is beneficial to environmental protection and can also promote users' environmental awareness.
以上为本申请实施例提供的数据处理方法,基于同样的思路,本申请实施例还提供一种数据处理装置,如图6所示,包括:The above describes the data processing method provided in the embodiments of this application. Based on the same idea, the embodiments of this application also provide a data processing apparatus, as shown in FIG6, including:
获取模块601,获取用户的行为数据,所述行为数据是用户在使用互联网服务时产生的,所述行为数据包括表明用户身份的用户标识,及表明所述行为数据所对应的互联网服务的标识信息;The acquisition module 601 acquires user behavior data, which is generated when the user uses Internet services. The behavior data includes a user identifier that indicates the user's identity and identification information that indicates the Internet service corresponding to the behavior data.
确定模块602,根据所述互联网服务的标识信息,确定至少一种预设节碳量量化算法;The determining module 602 determines at least one preset carbon saving quantification algorithm based on the identification information of the Internet service;
计算模块603,根据所述行为数据及确定出的预设节碳量量化算法,计算所述用户的节碳量;The calculation module 603 calculates the user's carbon savings based on the behavioral data and the determined preset carbon saving quantification algorithm.
处理模块604,根据计算出的所述用户的节碳量及所述用户标识,对所述用户对应的特定数据进行处理,其中,所述特定数据与节碳量相关。The processing module 604 processes specific data corresponding to the user based on the calculated carbon saving amount of the user and the user identifier, wherein the specific data is related to the carbon saving amount.
所述至少一种预设节炭量量化算法,具体包括:第一预设算法,所述第一预设算法为针对节约纸制品的节碳量量化算法;及,第二预设算法,所述第二预设算法为针对减少乘坐交通工具出行的节碳量量化算法。The at least one preset carbon saving quantification algorithm specifically includes: a first preset algorithm, which is a carbon saving quantification algorithm for saving paper products; and a second preset algorithm, which is a carbon saving quantification algorithm for reducing the use of transportation.
所述确定模块602,根据互联网服务的标识信息,及预先保存的互联网服务与节碳量量化算法的对应关系,确定至少一种预设节碳量量化算法。The determining module 602 determines at least one preset carbon saving quantification algorithm based on the identification information of the Internet service and the pre-saved correspondence between the Internet service and the carbon saving quantification algorithm.
当使用第一预设算法进行节碳量计算时,所述计算模块603,根据所述行为数据,至少确定用户执行所述互联网服务的次数,以及用户执行所述互联网服务时所处的地理位置,根据确定出的用户执行所述互联网服务的次数、地理位置以及第一预设算法,计算所述用户的节碳量。When using the first preset algorithm to calculate carbon savings, the calculation module 603 determines, based on the behavioral data, at least the number of times the user performs the Internet service and the geographical location of the user when performing the Internet service. Based on the determined number of times the user performs the Internet service, the geographical location, and the first preset algorithm, the carbon savings of the user are calculated.
当使用第二预设算法进行节碳量计算时,所述计算模块603,根据所述行为数据,至少确定用户步行的步数或步行的距离,根据确定出的用户步行的步数或步行的距离,以及第二预设算法,计算所述用户的节碳量。When using the second preset algorithm to calculate carbon savings, the calculation module 603 determines at least the number of steps or the distance the user walks based on the behavioral data, and calculates the user's carbon savings based on the determined number of steps or the distance the user walks, and the second preset algorithm.
所述互联网服务具体包括:电子支付、在线预约、在线票务、在线缴费服务、健康服务中的至少一种。The internet services specifically include at least one of the following: electronic payment, online reservation, online ticketing, online bill payment, and health services.
处理模块604,获取预设周期时间内用户在多个互联网服务中的节碳量,将获取到的节碳量进行累加,并根据累加后的节碳量对所述特定数据进行处理。The processing module 604 obtains the amount of carbon saved by the user in multiple Internet services within a preset period, accumulates the obtained carbon savings, and processes the specific data based on the accumulated carbon savings.
处理模块604,将计算出的所述用户在预设周期内累加后的节碳量,与所述用户的节碳总量进行累加,得到更新后的节碳总量,并根据更新后的节碳总量对所述特定数据进行处理。The processing module 604 adds the calculated carbon savings amount accumulated by the user within a preset period to the user's total carbon savings amount to obtain an updated total carbon savings amount, and processes the specific data based on the updated total carbon savings amount.
进一步地,处理模块604,根据预设的转换规则,将计算出的所述用户的节碳量转换为积分,将转换后的积分与该用户的积分总量进行累加,得到更新后的积分总量。Furthermore, the processing module 604 converts the calculated carbon savings of the user into points according to the preset conversion rules, and adds the converted points to the user's total points to obtain the updated total points.
向用户提供用于进行积分累加的控件,处理模块604,接收用户通过所述控件发出的确认指令,将转换后的积分与该用户的积分总量进行累加。The processing module 604 provides the user with a control for accumulating points, receives the confirmation command issued by the user through the control, and adds the converted points to the user's total points.
装置还包括:积分获取模块605,接收所述用户针对其他用户未累加的积分发出的获取指令,根据所述获取指令,获取其他用户未累加的积分中的全部或部分积分,将获取到的全部或部分积分,与该用户的积分总量进行累加。The device also includes: a points acquisition module 605, which receives an acquisition instruction issued by the user for points that other users have not accumulated, acquires all or part of the points that other users have not accumulated according to the acquisition instruction, and adds the acquired points to the user's total points.
所述装置还包括:分配模块606,确定所述用户的更新后的积分总量,根据所述更新后的积分总量,为所述用户分配与所述更新后的积分总量相匹配的虚拟物品。其中,所述虚拟物品根据积分总量不同具有不同的显示状态。The device further includes an allocation module 606, which determines the user's updated total points and allocates virtual items to the user that match the updated total points. The virtual items have different display states depending on the total points.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。This invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in one or more blocks of the flowchart illustrations and/or one or more blocks of the block diagrams.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means that implement the functions specified in one or more flowcharts and/or one or more block diagrams.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process, such that the instructions, which execute on the computer or other programmable apparatus, provide steps for implementing the functions specified in one or more flowcharts and/or one or more block diagrams.
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration, a computing device includes one or more processors (CPU), input/output interfaces, network interfaces, and memory.
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and/or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, 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 technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
本领域技术人员应明白,本申请的实施例可提供为方法、系统或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
以上所述仅为本申请的实施例而已,并不用于限制本申请。对于本领域技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本申请的权利要求范围之内。The above description is merely an embodiment of this application and is not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.
Claims (8)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| HK19101586.7A HK1259086A1 (en) | 2019-01-29 | 2019-01-29 | Data processing method and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| HK19101586.7A HK1259086A1 (en) | 2019-01-29 | 2019-01-29 | Data processing method and device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| HK1259086A1 true HK1259086A1 (en) | 2019-11-22 |
Family
ID=71669457
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| HK19101586.7A HK1259086A1 (en) | 2019-01-29 | 2019-01-29 | Data processing method and device |
Country Status (1)
| Country | Link |
|---|---|
| HK (1) | HK1259086A1 (en) |
-
2019
- 2019-01-29 HK HK19101586.7A patent/HK1259086A1/en unknown
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN108510325B (en) | A data processing method and device | |
| CN112734460B (en) | Data processing, payment data output, payment preferential data providing method and device | |
| CN112200595A (en) | Coupon checking method, payment method, device, equipment and medium | |
| HK1259086A1 (en) | Data processing method and device | |
| HK1259085A1 (en) | Data processing method and device | |
| HK1259039A1 (en) | Data processing method and apparatus | |
| HK1259034A1 (en) | Data processing method and apparatus | |
| HK1258934A1 (en) | Data processing method and apparatus | |
| HK1258934B (en) | Data processing method and apparatus | |
| HK1259087B (en) | Data processing method and apparatus | |
| HK1259087A1 (en) | Data processing method and apparatus | |
| HK1259084A1 (en) | Data processing method and apparatus | |
| HK1259033A1 (en) | Data processing method and apparatus | |
| HK1259033B (en) | Data processing method and apparatus | |
| HK1259035A1 (en) | Data processing method and device | |
| HK1259035B (en) | Data processing method and device | |
| HK1259084B (en) | Data processing method and apparatus | |
| OA18985A (en) | Calculating individual carbon footprints |