Data generation method and device, electronic equipment and storage medium

By obtaining the service characteristics and configuration detection rules of service commodities, the service commodity transaction details are automatically detected, which solves the problems of low efficiency and high error rate in service commodity transaction data accounting in the existing technology, and achieves efficient and accurate generation of transaction details.

CN118710353APending Publication Date: 2024-09-27BEIJING JINGDONG TUOXIAN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310308365.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-27
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

In the existing technology, the accounting efficiency of service commodity transaction data is low and the error rate is high. It lacks a universal revenue detailed statistical model, resulting in low efficiency of manual accounting.

Method used

By obtaining the service characteristics of service commodities, configuring the trigger time and detection rules of the transaction details detection task, starting the transaction details detection task in response to the order monitoring operation, and generating transaction details based on the detection rules, automatic detection and accounting of service commodity transaction details are realized.

Benefits of technology

It improves the efficiency of service commodity transaction data accounting, reduces the error rate, realizes universal detection of diverse service commodities, and improves the accuracy and efficiency of transaction details generation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118710353A
    Figure CN118710353A
Patent Text Reader

Abstract

The invention provides a data generation method and device, electronic equipment and a storage medium, and relates to the technical field of electronic commerce. The service commodity data generation method comprises the steps of obtaining service features of a service commodity; configuring a triggering moment of a transaction detail detection task based on the service features, and configuring a detection rule of transaction details corresponding to the triggering moment; in response to an order monitoring operation on the service commodity, starting a transaction detail detection task at a triggering moment; and executing a transaction detail detection task based on the detection rule, and generating transaction details based on an execution result, the transaction detail detection task being a task for detecting the transaction details of the service commodity. Through the technical scheme of the invention, parallel detection of service commodities with diversity characteristics based on service characteristics is realized, the universality of transaction detail detection operation is realized, the detail generation efficiency is improved, and the error rate of transaction details is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] With the development of e-commerce platforms, many types of services have emerged. Correspondingly, goods can be divided into physical goods and service goods. Service goods refer to goods that can be traded without the participation of an intermediary (logistics). Compared with physical goods, service goods have the characteristics of diverse delivery forms, support for service fulfillment and cancellation at any time during a long period of validity, and complex service content. As a result, there is still no universal accounting model for service commodity income to conduct detailed income statistics, and manual accounting is used, resulting in low accounting efficiency and high error rate.

[0003] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0004] The purpose of the present disclosure is to provide a service commodity data generation method, a service commodity data generation device, an electronic device and a computer-readable storage medium, which can at least to some extent improve the problems of low efficiency and high error rate in calculating service commodity transaction data in related technologies.

[0005] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by the practice of the present disclosure.

[0006] According to one aspect of the present disclosure, there is provided a method for generating data of a service commodity, comprising: acquiring service characteristics of the service commodity; configuring a triggering moment of a transaction detail detection task based on the service characteristics, and configuring detection rules for the transaction details corresponding to the triggering moment; in response to an order monitoring operation on the service commodity, starting the transaction detail detection task at the triggering moment; executing the transaction detail detection task based on the detection rules, and generating transaction details based on the execution result, wherein the transaction detail detection task is a task for detecting the transaction details of the service commodity.

[0007] In one embodiment, the service feature includes constructing an equity unit for the service product, and the triggering moment for configuring the transaction detail detection task based on the service feature includes: splitting the service product into at least one equity unit based on the service step; and configuring the triggering moment based on the cycle type of the equity unit.

[0008] In one embodiment, configuring the trigger moment based on the cycle type of the equity unit includes: detecting that the cycle type of the equity unit is the first type, and determining the issuance moment of the service product as the trigger moment; detecting that the cycle type of the equity unit is the second type, and determining the cancellation moment of the service product as the trigger moment; detecting that the cycle type of the equity unit is the third type, and determining the actual completion moment of the service product as the trigger moment; detecting that the cycle type of the equity unit is the fourth type, and determining the preset completion moment of the service product as the trigger moment, wherein the first type is an online service type or a long-cycle service type, the second type is an online-to-offline O2O service or a short-cycle service type, the third type is a preprocessing type, and the fourth type is an expired service type.

[0009] In one embodiment, the configuration of the detection rules for the transaction details corresponding to the trigger moment includes: if the trigger moment is the issuance moment, configuring the detection rules with a specified unit time as the detection unit; if the trigger moment is the cancellation moment, configuring the detection rules based on the number of executions of the equity unit.

[0010] In one embodiment, the configuration of the detection rules for the transaction details corresponding to the triggering moment further includes: detecting the service validity of the equity unit within the service cycle based on the service characteristics; and configuring the detection rules based on the detection results of the service validity.

[0011] In one embodiment, before obtaining the service characteristics of the service product, it also includes: generating a configuration interface for the service characteristics of the service product; obtaining the service characteristics of the service product includes: obtaining the service characteristics in response to the configuration operation obtained on the configuration interface of the service characteristics.

[0012] In one embodiment, executing the transaction details detection task based on the detection rules and generating transaction details based on the execution results includes: determining the transaction proportion of each equity unit based on a preset proportion configuration model; executing the transaction details detection task for each equity unit based on the detection rules and the transaction proportion to obtain the transaction details.

[0013] In one embodiment, the determination of the transaction proportion of each equity unit based on a preset proportional configuration model includes: detecting the configuration parameters of the number of services provided to the equity unit within the service period; if the equity unit is determined to be an unlimited-time equity based on the configuration parameters, the total cost value and the single cost value of the equity unit are input into the first proportional configuration model to output the transaction proportion; if the equity unit is determined to be a limited-time equity based on the configuration parameters, the total cost value and the single cost value are input into the second proportional configuration model to output the transaction proportion.

[0014] In one embodiment, the transaction details detection task is performed on each equity unit based on the detection rule and the transaction ratio, and the transaction details obtained include: if the detection rule is configured with a specified unit time as the detection unit, a first transaction detail is generated based on the transaction ratio, and the first transaction detail represents the transaction details within the specified unit time; if the detection rule is configured based on the number of executions of the equity unit, a second transaction detail is generated based on the transaction ratio and the number of executions, and the second transaction detail represents the transaction details of a single time.

[0015] In one embodiment, the transaction details detection task is executed based on the detection rules, and the transaction details are generated based on the execution results, and also includes: detecting the transaction direction of the service commodity based on the order of the service commodity; if the transaction direction is a reverse transaction, generating a third transaction detail based on the relationship between the pre-generated transaction data of the order and the first transaction details, or the relationship between the pre-generated transaction data of the order and the second transaction details.

[0016] In one embodiment, the transaction details detection task is executed based on the detection rules, and the transaction details are generated based on the execution results, which also includes: upon detecting that the transaction details detection task is completed, a transaction link of the transaction details is generated based on the business scenario of the service commodity corresponding to the triggering node of the transaction details; and based on the transaction link, the transaction details are pushed to the transaction subject of the transaction details respectively.

[0017] According to another aspect of the present disclosure, there is provided a data generation device for a service commodity, comprising: an acquisition module for acquiring service features of the service commodity; a configuration module for configuring a triggering moment of a transaction detail detection task based on the service features, and configuring detection rules for the transaction details corresponding to the triggering moment; a triggering module for starting the transaction detail detection task at the triggering moment in response to an order monitoring operation on the service commodity; and a detection module for executing the transaction detail detection task based on the detection rules, and generating transaction details based on the execution result, wherein the transaction detail detection task is a task for detecting the transaction details of the service commodity.

[0018] According to another aspect of the present disclosure, there is provided an electronic device, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute any one of the above-mentioned service commodity data generation methods by executing the executable instructions.

[0019] According to another aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, any one of the above-mentioned methods for generating data of a service commodity is implemented.

[0020] The data generation scheme for service commodities provided by the embodiments of the present disclosure can distinguish the diversity of service commodities by detecting the service features of the service commodities, so as to match the generated triggering moment with the service features of the service commodities, so as to ensure the effectiveness and reliability of executing the transaction details detection task at the triggering moment. Furthermore, the data detection rules for the service commodities are configured in combination with the triggering moment and the service features of the service commodities, so as to execute the transaction details detection task according to the detection rules and obtain the transaction details, thereby realizing parallel detection of service commodities with diverse characteristics based on the service features. While realizing the universality of the transaction details detection operation, it is beneficial to improve the efficiency of detail generation and reduce the error rate of transaction details.

[0021] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.

[0023] Figure 1 A schematic diagram showing a statistical system structure of a service commodity in an embodiment of the present disclosure;

[0024] Figure 2 A flow chart showing a method for generating data of a service commodity in an embodiment of the present disclosure;

[0025] Figure 3 A schematic diagram showing another method for generating data of a service commodity in an embodiment of the present disclosure;

[0026] Figure 4 A schematic diagram showing a data configuration interface for a service product in an embodiment of the present disclosure;

[0027] Figure 5 A flowchart showing another method for generating data of a service commodity in an embodiment of the present disclosure is shown;

[0028] Figure 6 A system schematic diagram showing a data generation solution for a service commodity in an embodiment of the present disclosure;

[0029] Figure 7 A schematic diagram showing a system for recording and executing a solution for generating a service commodity in an embodiment of the present disclosure;

[0030] Figure 8 A schematic diagram showing a data generation device for a service commodity in an embodiment of the present disclosure;

[0031] Fig. 9 A schematic diagram of an electronic device in an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0032] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that the disclosure will be more comprehensive and complete and to fully convey the concepts of the example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.

[0033] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.

[0034] The solution provided by the present application can distinguish the diversity of service commodities by detecting the service characteristics of service commodities, so that the generated triggering moment matches the service characteristics of the service commodities, so as to ensure the effectiveness and reliability of executing the transaction details detection task at the triggering moment. Furthermore, the data detection rules of the service commodities are configured in combination with the triggering moment and the service characteristics of the service commodities, so as to execute the transaction details detection task according to the detection rules and obtain the transaction details, thereby realizing parallel detection of service commodities with diverse characteristics based on service characteristics, which is beneficial to improving the efficiency of detail generation and reducing the error rate of transaction details while realizing the universality of transaction details detection operations.

[0035] Figure 11 is a schematic diagram of a computer system provided by an exemplary embodiment of the present application. The system includes: a plurality of terminals 120 and a server cluster 140.

[0036] The terminal 120 may be a mobile terminal such as a mobile phone, a game console, a tablet computer, an e-book reader, smart glasses, an MP4 (Moving Picture Experts Group Audio Layer IV) player, a smart home device, an AR (Augmented Reality) device, a VR (Virtual Reality) device, or the terminal 120 may also be a personal computer (PC), such as a laptop computer and a desktop computer.

[0037] The terminal 120 may be installed with an application for providing statistics of service commodities.

[0038] The terminal 120 is connected to the server cluster 140 via a communication network. Optionally, the communication network is a wired network or a wireless network.

[0039] The server cluster 140 is a server, or is composed of several servers, or is a virtualization platform, or is a cloud computing service center. The server cluster 140 is used to provide background services for applications that provide statistics of service commodities. Optionally, the server cluster 140 undertakes the main computing work and the terminal 120 undertakes the secondary computing work; or, the server cluster 140 undertakes the secondary computing work and the terminal 120 undertakes the main computing work; or, the terminal 120 and the server cluster 140 adopt a distributed computing architecture for collaborative computing.

[0040] In some optional embodiments, the server cluster 140 is used to store statistical program information of service commodities.

[0041] Optionally, the client of the application installed in different terminals 120 is the same, or the client of the application installed on the two terminals 120 is the client of the same type of application of different control system platforms. Based on the different terminal platforms, the specific form of the client of the application may also be different, for example, the application client may be a mobile client, a PC client or a World Wide Web (Web) client.

[0042] Those skilled in the art will appreciate that the number of the terminals 120 may be more or less. For example, there may be only one terminal, or there may be dozens or hundreds of terminals, or a greater number. The embodiment of the present application does not limit the number and device type of the terminals.

[0043] Optionally, the system may also include a management device ( Figure 1 (not shown), the management device is connected to the server cluster 140 via a communication network. Optionally, the communication network is a wired network or a wireless network.

[0044] Optionally, the above-mentioned wireless network or wired network uses standard communication technology and / or protocol. The network is usually the Internet, but it can also be any network, including but not limited to a local area network (LAN), a metropolitan area network (MAN), a wide area network (WAN), a mobile, wired or wireless network, a dedicated network or any combination of a virtual private network). In some embodiments, the data exchanged through the network is represented by technologies and / or formats including Hyper Text Mark-up Language (HTML), Extensible Markup Language (XML), etc. In addition, conventional encryption technologies such as Secure Socket Layer (SSL), Transport Layer Security (TLS), Virtual Private Network (VPN), Internet Protocol Security (IPsec) can also be used to encrypt all or some links. In other embodiments, customized and / or dedicated data communication technologies can also be used to replace or supplement the above-mentioned data communication technologies.

[0045] The following is a more detailed description of the service product data generation method in this example implementation mode in conjunction with the accompanying drawings and embodiments.

[0046] like Figure 2 As shown, according to an embodiment of the present disclosure, a method for generating data of a service commodity includes:

[0047] Step S202, obtaining the service characteristics of the service product.

[0048] Among them, the service characteristics of service goods include the type of service goods, the rights and interests content of the service goods, the number of services of the service goods, the validity period of the service goods and the method of performance, etc. The number of services of the service goods, the validity period of the service goods and the method of performance can be specifically reflected in the number of services, validity period and performance method of the rights and interests content.

[0049] Step S204, configuring the triggering time of the transaction detail detection task based on the service characteristics, and configuring the detection rules of the transaction details corresponding to the triggering time, wherein the transaction detail detection task is a task for detecting the transaction details of the service commodity.

[0050] Among them, transaction details include income details or expenditure details, etc.

[0051] The triggering moment includes, but is not limited to, the moment when the order of the service product is completed, the moment when the service is issued, the moment when the service is cancelled, and the designated moment set after the service expires.

[0052] The detection rules may specifically include detection based on transaction mode, detection by unit time (eg, day), or detection by times, etc.

[0053] Specifically, the matching task triggering time and detection rules can be automatically configured through the service characteristics of the service product.

[0054] Step S206, in response to the order monitoring operation for the service product, the transaction details detection task is started at the triggering moment.

[0055] Among them, based on monitoring the execution process of the order of the service product, it is possible to detect whether the triggering moment has been reached based on the execution process, so as to trigger the execution of the transaction details detection task.

[0056] Step S208, executing the transaction details detection task based on the detection rules, and generating transaction details based on the execution results.

[0057] Among them, after the transaction details detection task is triggered, the transaction data is counted based on the configured detection rules.

[0058] Specifically, the data generation scheme of the service product according to the present disclosure may include a configuration module and a statistical execution module, wherein the configuration module is used to execute the scheme of the above steps S202 to S204, and the statistical execution module is used to execute the scheme of the above steps S206 to S208.

[0059] In this embodiment, by detecting the service characteristics of the service commodity, the diversity of the service commodity can be distinguished, so that the generated trigger moment matches the service characteristics of the service commodity, so as to ensure the effectiveness and reliability of executing the transaction details detection task at the trigger moment. Furthermore, the data detection rules of the service commodity are configured in combination with the trigger moment and the service characteristics of the service commodity, so as to execute the transaction details detection task according to the detection rules and obtain the transaction details, thereby realizing parallel detection of service commodities with diverse characteristics based on service characteristics. While realizing the universality of the transaction details detection operation, it is beneficial to improve the efficiency of detail generation and reduce the error rate of transaction details.

[0060] In one embodiment, the service feature includes constructing an equity unit of the service product, and configuring the triggering moment of the transaction detail detection task based on the service feature includes: splitting the service product into at least one equity unit based on the service steps; and configuring the triggering moment based on the cycle type of the equity unit.

[0061] Among them, the equity unit is specifically a service content in the service commodity and is the smallest write-off unit of the service commodity.

[0062] Specifically, taking the family doctor service product as an example, the rights and interests units of this product include but are not limited to general consultation and expert consultation.

[0063] In this embodiment, by splitting the service commodity into at least one equity unit, the corresponding trigger moment can be configured based on the periodic type characteristics of the equity unit, so that at the corresponding trigger moment, the transaction details of different equity units can be detected separately, and the function of charging different equity units separately can be further realized, thereby ensuring the efficiency and accuracy of the generation of transaction detail data.

[0064] Furthermore, the transaction details generated based on the equity units are also conducive to ensuring the orderliness and completeness of the transaction details.

[0065] In one embodiment, configuring the triggering time based on the periodic type of the equity unit includes: detecting that the periodic type of the equity unit is the first type, and determining the issuing time of the service commodity as the triggering time.

[0066] Among them, the first type is an online service type or a long-cycle service type.

[0067] Specifically, taking health service products as an example, the rights and interests units of online services include but are not limited to consultation, diagnosis, follow-up, green channel, free chat and evaluation.

[0068] It is detected that the cycle type of the equity unit is the second type, and the write-off time of the service commodity is determined as the triggering time.

[0069] Among them, the second type is online to offline O2O service or short-cycle service type.

[0070] Specifically, O2O services can be further divided into in-store services and door-to-door services. In-store services include but are not limited to physical examinations, dentistry, ophthalmology and prenatal examinations, while door-to-door services include unit-limited inspections and tests.

[0071] It is detected that the cycle type of the equity unit is the third type, and the actual completion time of the service product is determined as the triggering time.

[0072] Among them, the third type is the pre-processing type.

[0073] Specifically, the pre-processing type includes pre-payment and the like.

[0074] It is detected that the cycle type of the equity unit is the fourth type, and the preset completion time of the service product is determined as the triggering time.

[0075] Among them, the fourth type is the expired service type.

[0076] In this embodiment, by detecting the type of service cycle of the equity unit, the corresponding triggering moment is configured based on different cycle types to ensure the effectiveness and efficiency of the execution of the transaction detail detection task after the triggering moment.

[0077] In one embodiment, configuring the detection rules of the transaction details corresponding to the triggering moment includes: if the triggering moment is the issuance moment, configuring the detection rules with the specified unit time as the detection unit; if the triggering moment is the cancellation moment, configuring the detection rules based on the number of executions of the equity unit.

[0078] The specified unit time may specifically be 1 day, or a multiple of 1 day.

[0079] In this embodiment, by further detecting whether the configured triggering moment is the issuance moment or the cancellation moment of the equity unit, transactions are detected on a daily basis at the issuance moment and on a per-transaction basis at the cancellation moment, so that the triggering moment can conform to the periodic characteristics of the service commodity.

[0080] In one embodiment, configuring detection rules for transaction details corresponding to the triggering moment also includes: detecting the service validity of the equity unit within the service cycle based on the service characteristics; and configuring detection rules based on the detection results of the service validity.

[0081] In this embodiment, the detection rule is configured for the detection result of the service validity through the service validity, that is, whether the service content of the equity unit is included in the transaction details.

[0082] like Figure 3As shown, according to another embodiment of the present disclosure, a method for generating data of a service commodity includes:

[0083] Step S302: Generate a configuration interface for the service features of the service product.

[0084] Among them, the configuration interface can be set in combination with the type of equity unit and the rules of equity income.

[0085] Step S304, in response to the configuration operation obtained on the configuration interface of the service feature, obtain the service feature.

[0086] Step S306: split the service product into at least one equity unit based on the service step, and configure the trigger time based on the periodic type of the equity unit.

[0087] Step S308, configuring the detection rules of the transaction details based on the trigger time, service validity, service times and cost value of the equity unit.

[0088] Step S310, in response to the order monitoring operation for the service product, the transaction details detection task is started at the triggering moment.

[0089] Step S312, executing the transaction details detection task based on the detection rules, and generating transaction details based on the execution results.

[0090] like Figure 4 As shown, the configuration interface includes the equity unit ID, name, cost, and type, etc. In addition, it can also include the configuration of service effectiveness, including whether to include it in transaction income, and whether to include it in transaction income on a daily basis or on a number of times.

[0091] Furthermore, the configuration interface can also perform editing operations such as adding, deleting, and modifying equity units.

[0092] In this embodiment, by building a configuration interface for the visual operation end, it supports users to manually configure the service features of the equity units in the service products, and configures the corresponding detection rules in combination with the content of the service features of the equity units, thereby realizing the specific content configuration of the service features, and then being able to obtain the detection rules based on the configuration results, so that at the triggering moment, the transaction details of each equity unit are detected based on the detection rules, thereby ensuring the flexibility and diversity of the detection rule configuration of the transaction details.

[0093] In one embodiment, executing a transaction detail detection task based on a detection rule and generating transaction details based on the execution result includes:

[0094] The transaction proportion of each equity unit is determined based on the preset proportional allocation model.

[0095] Among them, the proportional allocation model refers to the calculation model used to calculate the transaction ratio of equity units.

[0096] The transaction proportion refers to the proportion of the transaction data of an equity unit in the transaction data of all equity units of the service product. For example, the transaction proportion is specifically the price proportion of the service unit.

[0097] Based on the detection rules and transaction proportions, the transaction details detection task is performed on each equity unit to obtain the transaction details.

[0098] Among them, transaction detail detection is performed based on detection rules and recommended proportions, that is, when the trigger moment is reached, the equity unit is detected based on unit time or based on the number of times, and the detection result is obtained. Combined with the transaction proportion of each equity unit, the transaction details of the equity unit can be obtained.

[0099] In this embodiment, the transaction proportion of each equity unit is determined based on the proportional configuration model. The transaction proportions corresponding to the service characteristics of different equity units are calculated in different ways. Combined with the corresponding detection rules, transaction details such as the transaction data of a single equity, the daily transaction data of a single equity, the total transaction data of a single equity, the remaining amount of a single equity, etc. can be determined, thereby ensuring the efficiency and reliability of the calculation of transaction details.

[0100] like Figure 5 As shown, in one embodiment, determining the transaction proportion of each equity unit based on a preset proportion configuration model includes:

[0101] Step S502: Detect the configuration parameters of the service times for the equity unit within the service period.

[0102] Step S504: if the equity unit is determined to be unlimited equity based on the configuration parameters, the total cost value and the single cost value of the equity unit are input into the first proportion configuration model to output the transaction proportion.

[0103] Among them, the total cost refers to the total cost without limit.

[0104] Specifically, if the equity unit is determined to be an unlimited equity based on the configuration parameters, the first proportion configuration model is shown in formula (1).

[0105]

[0106] Among them, A1 is the transaction ratio output by the first proportion configuration model, a is the single cost value, b is the total cost value, and n is the number of services.

[0107] Step S506: If the equity unit is determined to be a limited-time equity based on the configuration parameters, the total cost value and the single cost value are input into the second proportion configuration model to output the transaction proportion.

[0108] Specifically, if the equity unit is determined to be a limited equity based on the configuration parameters, the second proportion configuration model is shown in formula (2).

[0109]

[0110] A1 is the transaction ratio output by the first proportional configuration model, a is the single cost value, b is the total cost value, and n is the number of services.

[0111] In addition, the total cost or single cost can be obtained from the configuration interface or generated through evaluation model evaluation.

[0112] In this embodiment, since the service commodity usually has a service period, a certain time range or a relative time can be flexibly selected. The service commodity is assembled from a variety of equity units. Different equity units can be configured as unlimited service or limited service within the service period. If it is an unlimited service right, the total cost of unlimited times needs to be configured. If it is a limited number of times, the single cost needs to be configured. Based on the detection of configuration parameters, the accuracy of the transaction ratio output by the proportional configuration model can be guaranteed.

[0113] In one embodiment, based on the detection rules and transaction proportions, the transaction details detection task is performed on each equity unit, and the obtained transaction details include:

[0114] If the detection rule is configured with a specified unit time as the detection unit, a first transaction detail is generated based on the transaction ratio, and the first transaction detail represents the transaction details within the specified unit time.

[0115] Specifically, the daily transaction data of a single benefit = (actual payment amount of a single service product * benefit price ratio) / number of days of benefit validity period.

[0116] If the detection rule is configured based on the number of executions of the equity unit, a second transaction detail is generated based on the transaction proportion and the number of executions, and the second transaction detail represents a single transaction detail.

[0117] Specifically, the transaction data of a single benefit = (actual payment amount for a single service product * proportion of benefit price) / number of benefits.

[0118] In addition, the transaction details can also include the actual transaction data of each equity unit in the order,

[0119] In this embodiment, the transaction proportion of each equity unit is calculated based on the characteristics such as the type of equity unit and whether the equity unit is applied a limited number of times or an unlimited number of times, and the transaction process of each equity unit is further detected in combination with the detection method specified in the detection rule to obtain the corresponding transaction details. For example, for the detection rule configured with a specified unit time as the detection unit, that is, for the long-cycle equity unit, the transaction details can use the daily transaction data of a single equity unit as the main detailed data; for the detection rule configured based on the number of executions of the equity unit, that is, for the short-cycle equity unit, the transaction details can use the transaction data of a single equity unit as the main detailed data, so that the transaction details can reflect the characteristics of the service product and make it more intuitive for users to view.

[0120] In one embodiment, a transaction detail detection task is performed based on detection rules, and transaction details are generated based on the execution results, and it also includes: detecting the transaction direction of the service commodity based on the order of the service commodity; if the transaction direction is a reverse transaction, generating a third transaction detail based on the relationship between the pre-generated transaction data of the order and the first transaction detail, or the relationship between the pre-generated transaction data of the order and the second transaction detail.

[0121] Specifically, the remaining transaction data of a single equity = (actual payment amount of a single service product * equity price ratio) - the total positive amount recorded in the daily transaction data of a single equity or the transaction data of a single equity.

[0122] In one embodiment, a transaction detail detection task is executed based on detection rules, and transaction details are generated based on the execution results, which also includes: when the transaction detail detection task is detected to be completed, a transaction link of the transaction details is generated based on the business scenario of the service product corresponding to the trigger node of the transaction details; and the transaction details are pushed to the transaction subject of the transaction details based on the transaction link.

[0123] In this embodiment, by recording the collection task trigger node, the income amount, and the transaction link rules in the actual business scenario, the income amount is recorded under the transaction parties at a specific time to form the collection detail data and store it in the database.

[0124] The following uses health service products as specific service products and the specific income details of health service products as the data of specific service products to further describe the data generation scheme of the service products disclosed in the present invention.

[0125] Specifically, Figure 6 As shown, the service commodity data generation system includes a pre-sale configuration system 602 and a billing execution system 604 .

[0126] Among them, the pre-sales configuration system mainly combines financial billing rules and all current health virtual service types, and first extracts the rules applicable to the billing of service products, which mainly include daily billing and per-time billing; then builds a pre-sales configuration system to support the determination of billing rules for different rights and interests after the service product is configured, combined with the rights and interests content, number of times, validity period, performance method and other characteristics in the current virtual service. Combined with the cost of different rights and interests, the price proportion of each right in the virtual service product is calculated as the basis for the subsequent allocation calculation in the billing execution system.

[0127] Specifically, combined with financial opinions, the following health service income accounting methods are summarized into two methods. One is to charge on a daily basis at the service issuance node, which is applicable to long-term or higher-value services such as unlimited consultations, follow-ups, free chats, green passes, etc.; the other is to charge on a per-time basis at the service verification node, which is applicable to limited-time or short-term services such as O2O services and limited-time consultations.

[0128] Combined with the existing health service types and detection rules, a visual operation terminal is built to support users to manually configure the rights and interests content in the service products, and configure the corresponding income accounting rules based on the rights and interests content. As shown in the following figure: Multiple rights and interests can be added to the service products, and the pre-sales configuration system supports the configuration of the cost, number of times, detection rules and other information of each right and interests, and supports the addition, deletion, modification and reduction of rights and interests.

[0129] Income accounting rules (i.e. detection rules): Since the actual service receipts are recorded in the equity dimension, the corresponding income rules need to be configured according to the individual equity. If the equity cycle is long, it will be recorded when it is issued to the user, so it needs to be configured as "recorded by day". If the number of times the equity is limited, it will be recorded when the equity is written off, so it needs to be configured as "recorded by time". Of course, if due to special business activities, the equity content in some service products does not need to be recorded, you can also choose the "do not count income" option.

[0130] Rights and interests content: Health service products have a unified validity period, and a certain time range or a relative time can be flexibly selected. Multiple rights and interests can be assembled into service products. Due to its own characteristics, each right and interest can be configured as unlimited / limited. If it is an unlimited right and interest, the unlimited total cost needs to be configured. If it is a limited right and interest, the single cost needs to be configured. The backend of the pre-sales configuration system will calculate the price ratio of a single right and interest according to the cost price filled in by the user according to the following formula.

[0131] The price of limited rights accounts for the proportion

[0132] =(single equity cost * number of times) / (∑single equity cost * number of times

[0133] +∑ Unlimited total cost)

[0134] Price ratio of unlimited rights

[0135] = Total cost of unlimited equity / (∑ Single equity cost*Number of times

[0136] +∑ Unlimited total cost)

[0137] like Figure 6 As shown, a method for generating data of a service commodity according to another embodiment of the present disclosure includes:

[0138] Step S606: service product configuration.

[0139] Step S608: accounting rule configuration.

[0140] Step S610: putting service products on the shelves.

[0141] Step S612, service order completion node: advance payment.

[0142] Step S614, service issuance node: charge on a daily basis.

[0143] Step S616, service verification node: charge on a per-time basis.

[0144] Step S618, whether to refund, if "No", go to step S620, if "Yes", go to step S622.

[0145] Step S620, service expired nodes, one-time transfer processing.

[0146] Step S622: order after-sales processing.

[0147] Step S624, service cancellation node: reverse processing of income.

[0148] like Figure 7 As shown, the collection execution system 604 mainly calculates the income and stores the detailed data at important time nodes such as order completion and service issuance according to the service income rules and equity price ratio in the pre-sales configuration system. The collection realized in this invention is mainly divided into two types: pre-collection and actual collection. Pre-collection is based on the order dimension, with the order invoicing agency as the main body. At the nodes such as order completion and order reversal, the positive and reverse income are recorded with the actual payment amount of the whole order; actual collection is based on the single equity dimension. According to the rules in the pre-sales configuration system, at the nodes such as service issuance and service write-off, the equity allocation income details of the service commodity are recorded with the order invoicing agency as the main body.

[0149] Specifically, the collection execution system can calculate the revenue and store detailed data at important time points such as order completion and service delivery according to the service revenue rules and equity price ratio in the pre-sales configuration system. In this invention, the system is mainly divided into three core modules, namely, the collection task trigger module, the revenue amount calculation module, and the revenue detail generation module. The three modules complement each other and work in a related manner to finally complete the collection task. The specific functions are shown in the following structure diagram.

[0150] Receipt task triggering module: This module mainly monitors the order and service status, and triggers the receipt task at the corresponding time node according to the service commodity revenue rules configured in the pre-sales configuration system;

[0151] Income amount calculation module: This module receives notifications from the collection task trigger module and calculates the equity apportionment income details based on the equity price ratio configured in the pre-sales configuration system, that is, the transaction ratio, and a single equity dimension according to the following formula;

[0152] (1) Order actual payment amount = actual payment amount of a single service item * number of service items.

[0153] (2) Amount of single equity income = (actual payment amount for a single service product * equity price ratio) / number of equity transactions.

[0154] (3) Daily income of a single benefit = (actual payment amount for a single service product * benefit price ratio) / number of days during which the benefit is valid.

[0155] (4) Remaining amount of a single equity = (actual amount paid for a single service product * equity price ratio) - the sum of the positive amounts recorded in (2) or (3).

[0156] (5) Prepayment Reverse = -|Actual payment amount of order|.

[0157] (6) Paid-in negative = -|total positive amounts recorded in equity|.

[0158] Income details generation module: This module will record the trigger node of the collection task, the income amount, and according to the transaction link rules in the actual business scenario, record the income amount under the transaction parties at a specific time to form the collection details data and store it in the database.

[0159] It should be noted that the above figures are only schematic illustrations of the processes included in the method according to an exemplary embodiment of the present invention, and are not intended to be limiting. It is easy to understand that the processes shown in the above figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.

[0160] It will be appreciated by those skilled in the art that various aspects of the present invention may be implemented as a system, method or program product. Therefore, various aspects of the present invention may be specifically implemented in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software, which may be collectively referred to herein as a "circuit", "module" or "system".

[0161] Refer to the following Figure 8 The service commodity data generating device 800 according to this embodiment of the present invention will be described. Figure 8 The service commodity data generating device 800 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0162] The data generation device 800 of the service commodity is expressed in the form of a hardware module. The components of the data generation device 800 of the service commodity may include but are not limited to: an acquisition module 802, which is used to acquire the service characteristics of the service commodity; a configuration module 804, which is used to configure the triggering moment of the transaction detail detection task based on the service characteristics, and configure the detection rules of the transaction details corresponding to the triggering moment; a triggering module 806, which is used to start the transaction detail detection task at the triggering moment in response to the order monitoring operation of the service commodity; a detection module 808, which is used to execute the transaction detail detection task based on the detection rules, and generate the transaction details based on the execution result, wherein the transaction detail detection task is a task of detecting the transaction details of the service commodity.

[0163] Refer to the following Fig. 9 An electronic device 900 according to this embodiment of the present invention will be described. Fig. 9 The electronic device 900 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0164] like Fig. 9 As shown, the electronic device 900 is in the form of a general computing device. The components of the electronic device 900 may include but are not limited to: at least one processing unit 910, at least one storage unit 920, and a bus 930 connecting different system components (including the storage unit 920 and the processing unit 910).

[0165] The storage unit stores program codes, which can be executed by the processing unit 910, so that the processing unit 910 performs the steps of various exemplary embodiments of the present invention described in the above “Exemplary Method” section of this specification. For example, the processing unit 910 can perform the following steps: Figure 1 Steps S202 and S208 shown in , and other steps defined in the data generation method for service products of the present disclosure.

[0166] The storage unit 920 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 9201 and / or a cache storage unit 9202 , and may further include a read-only storage unit (ROM) 9203 .

[0167] The storage unit 920 may also include a program / utility 9204 having a set (at least one) of program modules 9205, such program modules 9205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0168] Bus 930 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.

[0169] The electronic device 900 may also communicate with one or more external devices 960 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device, and / or communicate with any device that enables the electronic device 900 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 950. Furthermore, the electronic device 900 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 950. As shown, the network adapter 950 communicates with other modules of the electronic device 900 via a bus 930. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.

[0170] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the implementation of the present disclosure.

[0171] In an exemplary embodiment of the present disclosure, a computer-readable storage medium is also provided, on which a program product capable of implementing the above method of the present specification is stored. In some possible implementations, various aspects of the present invention may also be implemented in the form of a program product, which includes a program code, and when the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps according to various exemplary embodiments of the present invention described in the above "Exemplary Method" section of the present specification.

[0172] The program product for implementing the above method according to an embodiment of the present invention may adopt a portable compact disk read-only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto, and in this document, a readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, apparatus, or device.

[0173] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0174] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.

[0175] Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).

[0176] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.

[0177] In addition, although the steps of the method in the present disclosure are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.

[0178] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the implementation of the present disclosure.

[0179] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any modification, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the appended claims.

Claims

1. A method for generating data of a service commodity, characterized in that: include: Obtaining service characteristics of the service product; Configuring a triggering time of a transaction detail detection task based on the service feature, and configuring a detection rule of the transaction detail corresponding to the triggering time; In response to an order monitoring operation for the service product, starting the transaction detail detection task at the triggering moment; executing the transaction details detection task based on the detection rule, and generating transaction details based on the execution result, The transaction details detection task is a task for detecting the transaction details of the service commodity.

2. The method for generating data of a service product according to claim 1, characterized in that: The service feature includes a rights and interests unit for constructing the service commodity, and the triggering moment of configuring the transaction detail detection task based on the service feature includes: Splitting the service product into at least one equity unit based on the service steps; The triggering time is configured based on the period type of the equity unit.

3. The method for generating data of a service product according to claim 2, characterized in that: The configuration of the detection rule of the transaction details corresponding to the triggering time includes: If the triggering time is the time when the service product is issued, the detection rule is configured with a specified unit time as the detection unit; If the triggering moment is the time at which the service commodity is redeemed, the detection rule is configured based on the number of executions of the equity unit.

4. The method for generating data of a service product according to claim 2, characterized in that: The configuration of the detection rule of the transaction details corresponding to the triggering moment also includes: Detecting the service validity of the equity unit within a service period based on the service characteristics; The detection rule is configured based on the detection result of the service effectiveness.

5. The method for generating data of a service product according to claim 2, characterized in that: Before obtaining the service characteristics of the service product, it also includes: Generating a configuration interface for the service features of the service product; The service characteristics of obtaining the service product include: In response to the acquired configuration operation on the configuration interface of the service feature, the service feature is acquired.

6. The method for generating data of a service product according to claim 3, characterized in that: The performing the transaction details detection task based on the detection rule and generating the transaction details based on the execution result includes: Determine the transaction proportion of each equity unit based on a preset proportion allocation model; Based on the detection rules and the transaction proportions, the transaction details detection task is performed on each of the equity units to obtain the transaction details.

7. The method for generating data of a service product according to claim 6, characterized in that: The service feature includes the service times of the equity unit, and the determining the transaction proportion of each equity unit based on the preset proportion configuration model includes: Detecting configuration parameters of the number of services provided to the equity unit within the service period; If the equity unit is determined to be an unlimited equity based on the configuration parameters, the total cost value and the single cost value of the equity unit are input into the first proportion configuration model to output the transaction proportion; If the equity unit is determined to be a limited-time equity based on the configuration parameters, the total cost value and the single cost value are input into a second proportion configuration model to output the transaction proportion.

8. The method for generating data of a service product according to claim 7, characterized in that: The transaction details detection task is performed on each equity unit based on the detection rule and the transaction proportion to obtain the transaction details, including: If the detection rule is configured with a specified unit time as the detection unit, a first transaction detail is generated based on the transaction proportion, and the first transaction detail represents the transaction detail within the specified unit time; If the detection rule is configured based on the number of executions of the equity unit, a second transaction detail is generated based on the transaction proportion and the number of executions, and the second transaction detail represents a single transaction detail.

9. The method for generating data of a service product according to claim 8, characterized in that: The performing of the transaction detail detection task based on the detection rule and generating the transaction details based on the execution result also includes: Detecting the transaction direction of the service commodity based on the order of the service commodity; If the transaction direction is a reverse transaction, a third transaction detail is generated based on the relationship between the pre-generated transaction data of the order and the first transaction detail, or the relationship between the pre-generated transaction data of the order and the second transaction detail.

10. The method for generating data of a service product according to any one of claims 1 to 9, characterized in that: Executing the transaction detail detection task based on the detection rule and generating transaction details based on the execution result, further comprising: It is detected that the transaction detail detection task is completed, and a transaction link of the transaction detail is generated based on the business scenario of the service commodity corresponding to the triggering node of the transaction detail; The transaction details are pushed to the transaction subjects of the transaction details respectively based on the transaction link.

11. A data generation device for a service product, characterized in that: include: An acquisition module, used to acquire the service characteristics of the service product; A configuration module, configured to configure a triggering moment of a transaction detail detection task based on the service feature, and to configure a detection rule of the transaction detail corresponding to the triggering moment; A trigger module, configured to start the transaction detail detection task at the triggering moment in response to an order monitoring operation on the service commodity; a detection module, configured to execute the transaction detail detection task based on the detection rule, and generate transaction details based on the execution result, The transaction details detection task is a task for detecting the transaction details of the service commodity.

12. An electronic device, characterized in that: include: processor; as well as A memory, configured to store executable instructions of the processor; The processor is configured to execute the service commodity data generation method according to any one of claims 1 to 10 by executing the executable instructions.

13. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for generating service product data according to any one of claims 1 to 10 is implemented.