Asset protocol configuration method and device, electronic equipment and storage medium
By analyzing virtual assets and payment information, signing and executing automatic renewal agreements, the problems of complexity and high failure rate of existing automatic renewal services are solved, and efficient renewal operations and user experience are achieved.
Patent Information
- Application Number
- CN202411042935.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-31
- Publication Date
- 2024-12-03
AI Technical Summary
The existing automatic renewal service has cumbersome processes when subscribing to users and lacks unified management and matching mechanisms, resulting in the differences between different payment channels increasing the complexity and failure rate of signing agreements, and poor user experience.
By analyzing the asset attribute information and payment information of virtual assets, selecting payment channels that support contract payment, finding matching automatic renewal agreement templates, signing and executing renewal agreements, monitoring renewal time, and realizing renewal operations of virtual assets.
It improves the efficiency and success rate of automatic renewal agreement signing, blocks the differences between different asset types and payment channels, improves user experience, and avoids service interruptions.
Smart Images

Figure CN119067670A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a configuration method, device, electronic device and storage medium for an asset protocol. Background Art
[0002] In the related art, in today's digital economy, automatic renewal services have become a common business model. When users subscribe to certain services (such as online videos, music, software, etc.), they usually choose automatic renewal to avoid service interruption.
[0003] In the related art, the automatic renewal mechanism has the following problems: users need to sign an automatic renewal agreement separately every time they make a payment, which is a cumbersome process and a poor user experience. The renewal agreements for different goods and services are different, and there is a lack of a unified management and matching mechanism. Different payment channels (such as credit cards, Apple Pay, WeChat Pay, etc.) have different support for renewal agreements, which increases the complexity of signing the agreement. The system generally configures the agreement template based on historical purchase records. If the user changes the payment channel or changes other consumption habits, it will cause errors in the agreement template and lead to repeated signing, and repeated signing will lead to payment failures and other problems.
[0004] With respect to the above-mentioned problems existing in the related technologies, no effective solutions have been found so far. Summary of the invention
[0005] The embodiments of the present invention provide a configuration method, device, electronic device and storage medium of an asset protocol to solve the technical problems of related technologies.
[0006] According to one aspect of an embodiment of the present application, a method for configuring an asset agreement is provided, including: selecting a virtual asset to be paid for; responding to a payment request for the virtual asset, parsing asset attribute information of the virtual asset, and determining payment information of the virtual asset; signing an automatic renewal agreement for the virtual asset based on the asset attribute information and the payment information; and executing a renewal operation for the virtual asset based on the automatic renewal agreement.
[0007] Further, parsing the asset attribute information of the virtual asset includes: parsing the asset type of the virtual asset; determining whether the asset type is a specified type, wherein the specified type is used to characterize that the corresponding virtual asset supports automatic renewal; if the asset type is a specified type, determining the renewal period of the virtual asset, wherein the asset attribute information includes the asset type and the renewal period.
[0008] Further, determining the payment information of the virtual asset includes: responding to the payment request, displaying a selection interface of several payment channels on the payment interface; responding to the user's selection instruction on the selection interface, determining the target payment channel selected by the selection instruction; judging whether the target payment channel supports contract payment; if the target payment channel supports contract payment, obtaining the payment channel identifier and contract payment parameters of the target payment channel, wherein the payment information includes the payment channel identifier and the contract payment parameters.
[0009] Furthermore, signing the automatic renewal agreement for the virtual asset based on the asset attribute information and the payment information includes: using the asset attribute information and the payment information as keywords, searching for a matching automatic renewal agreement template in a preset agreement library; reading the agreement price and renewal promotion information of the virtual asset, wherein the renewal promotion information is used to characterize the asset price and promotion duration of the virtual asset before the first automatic renewal; filling the agreement price and the renewal promotion information into the automatic renewal agreement template; executing the payment request, and signing the automatic renewal agreement based on the automatic renewal agreement template.
[0010] Further, executing the payment request and signing the automatic renewal agreement based on the automatic renewal agreement template includes: executing the payment request and calling the automatic renewal agreement template; sending the payment request to the payment server based on the automatic renewal agreement template; after the payment is successful, binding the payment result information to the automatic renewal agreement template to complete the signing of the automatic renewal agreement template, wherein the payment result information includes the asset identifier of the virtual asset and the payment channel identifier.
[0011] Furthermore, after signing the automatic renewal agreement for the virtual asset based on the asset attribute information and the payment information, the method also includes: returning an agreement notification message of the virtual asset to the user account that purchased the virtual asset, wherein the agreement notification message is used to indicate that automatic renewal has been enabled for the virtual asset; displaying the automatic renewal agreement on the management page of the user account; and responding to an editing instruction from the user account regarding the automatic renewal agreement, updating the content or effectiveness status of the automatic renewal agreement based on the editing instruction.
[0012] Further, executing the renewal operation of the virtual asset according to the automatic renewal agreement includes: monitoring the renewal time of the virtual asset within the validity period of the automatic renewal agreement; after the renewal time arrives, calling the automatic renewal agreement template and generating a renewal payment request based on the automatic renewal agreement; sending the renewal payment request to the payment server to complete the renewal operation of the virtual asset.
[0013] According to another aspect of an embodiment of the present application, a configuration device for an asset agreement is also provided, including: a selection module for selecting a virtual asset to be paid for; a parsing module for responding to a payment request for the virtual asset, parsing the asset attribute information of the virtual asset, and determining the payment information of the virtual asset; a generation module for signing an automatic renewal agreement for the virtual asset based on the asset attribute information and the payment information; and a renewal module for executing a renewal operation of the virtual asset according to the automatic renewal agreement.
[0014] Furthermore, the parsing module includes: a parsing unit, used to parse the asset type of the virtual asset; a first judgment unit, used to judge whether the asset type is a specified type, wherein the specified type is used to characterize that the corresponding virtual asset supports automatic renewal; a first determination unit, used to determine the renewal period of the virtual asset if the asset type is a specified type, wherein the asset attribute information includes the asset type and the renewal period.
[0015] Further, the parsing module includes: a display unit, used to respond to the payment request and display a selection interface of several payment channels on the payment interface; a second determination unit, used to respond to the selection instruction of the user on the selection interface and determine the target payment channel selected by the selection instruction; a second judgment unit, used to judge whether the target payment channel supports contract payment;
[0016] An acquisition unit is used to acquire a payment channel identifier and a contract payment parameter of the target payment channel if the target payment channel supports contract payment, wherein the payment information includes the payment channel identifier and the contract payment parameter.
[0017] Furthermore, the generation module includes: a search unit, used to search for a matching automatic renewal agreement template in a preset agreement library using the asset attribute information and the payment information as keywords; a reading unit, used to read the agreement price and renewal promotion information of the virtual asset, wherein the renewal promotion information is used to characterize the asset price and promotion duration of the virtual asset before the first automatic renewal; a filling unit, used to fill the agreement price and the renewal promotion information into the automatic renewal agreement template; and a signing unit, used to execute the payment request and sign the automatic renewal agreement based on the automatic renewal agreement template.
[0018] Furthermore, the signing unit includes: a calling subunit, used to execute the payment request and call the automatic renewal agreement template; a sending subunit, used to send the payment request to the payment server based on the automatic renewal agreement template; and a binding subunit, used to bind the payment result information to the automatic renewal agreement template after the payment is successful, so as to complete the signing of the automatic renewal agreement template, wherein the payment result information includes the asset identifier and payment channel identifier of the virtual asset.
[0019] Furthermore, the device also includes: a notification module, which is used to return an agreement notification message of the virtual asset to the user account that purchased the virtual asset after the generation module signs the automatic renewal agreement of the virtual asset according to the asset attribute information and the payment information, wherein the agreement notification message is used to indicate that the automatic renewal of the virtual asset has been activated; a display module, which is used to display the automatic renewal agreement on the management page of the user account; and an update module, which is used to respond to the user account's editing instructions for the automatic renewal agreement and update the content or effectiveness status of the automatic renewal agreement based on the editing instructions.
[0020] Furthermore, the renewal module includes: a monitoring unit, used to monitor the renewal time of the virtual asset within the validity period of the automatic renewal agreement; a generation unit, used to call the automatic renewal agreement template after the renewal time arrives, and generate a renewal payment request based on the automatic renewal agreement; a renewal unit, used to send the renewal payment request to the payment server to complete the renewal operation of the virtual asset.
[0021] According to another aspect of an embodiment of the present application, a storage medium is further provided, which includes a stored program, and the above steps are executed when the program is run.
[0022] According to another aspect of an embodiment of the present application, there is also provided an electronic device, including a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; wherein: the memory is used to store computer programs; and the processor is used to execute the steps in the above method by running the program stored in the memory.
[0023] The embodiment of the present application also provides a computer program product including instructions, which, when executed on a computer, enables the computer to execute the steps in the above method.
[0024] The embodiments of the present invention propose a configuration method, device, electronic device and storage medium for an asset agreement, which selects a virtual asset to be paid, responds to a payment request for the virtual asset, parses the asset attribute information of the virtual asset, and determines the payment information of the virtual asset, signs an automatic renewal agreement for the virtual asset according to the asset attribute information and the payment information, and executes a renewal operation for the virtual asset according to the automatic renewal agreement. By obtaining the asset attribute information and the corresponding payment information of the virtual asset to be paid, and accurately matching the renewal agreement based on the asset attribute information and the payment information, the differences between different asset types and different payment channels are shielded, and the technical problem of high failure rate of signing renewal agreements in related technologies is solved, the efficiency and success rate of signing automatic renewal agreements online are improved, and the user experience is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0026] Figure 1 is a hardware structure block diagram of a server according to an embodiment of the present invention;
[0027] Figure 2 is a flow chart of a method for configuring an asset protocol according to an embodiment of the present invention;
[0028] Figure 3 is a working principle diagram of the automatic renewal system in an embodiment of the present invention;
[0029] Figure 4 is a flow chart of signing a renewal agreement in an embodiment of the present invention;
[0030] Figure 5 is a structural block diagram of a configuration device for an asset protocol according to an embodiment of the present invention;
[0031] Figure 6 It is a structural diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0032] In order to enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only embodiments of a part of the present application, not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work should fall within the scope of protection of the present application. It should be noted that the embodiments in the present application and the features in the embodiments can be combined with each other without conflict.
[0033] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0034] The method embodiment provided in the first embodiment of the present application can be executed in a computer, a server or a similar computing device. Taking running on a server as an example, Figure 1 FIG. 1 is a hardware structure diagram of a server according to an embodiment of the present invention. Figure 1 As shown, the server may include one or more ( Figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data. Optionally, the server may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above server. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations shown.
[0035] The memory 104 can be used to store server programs, for example, software programs and modules of application software, such as a server program corresponding to a configuration method of an asset protocol in an embodiment of the present invention. The processor 102 executes various functional applications and data processing by running the server program stored in the memory 104, that is, to implement the above method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the server via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0036] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the server. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0037] In this embodiment, a configuration method of an asset protocol is provided. Figure 2 is a flow chart of a configuration method of an asset protocol according to an embodiment of the present invention, such as Figure 2 As shown, the process includes the following steps:
[0038] S202, selecting the virtual asset to be paid;
[0039] The virtual assets of this embodiment can be assets / commodities that can be traded on the virtual asset platform, such as value-added services, multimedia resources, etc. Optionally, the virtual assets can be membership services of a multimedia platform (such as on-demand software, live broadcast software, etc.), on-demand rights for specific videos, or usage rights such as video conferencing and application software, or unlocking rights for specific functions.
[0040] S204, responding to the payment request for the virtual asset, parsing the asset attribute information of the virtual asset, and determining the payment information of the virtual asset;
[0041] Optionally, the asset attribute information includes: asset identification, asset type, whether automatic renewal is supported, renewal cycle, and promotional activity information (such as first-time purchase discount).
[0042] Optionally, the payment information includes: payment channel and payment method. The payment channel corresponds to the corresponding payer, such as WeChat payment, Alipay payment, UnionPay payment, etc. The payment method includes one-time payment and contract payment.
[0043] S206, signing an automatic renewal agreement for the virtual asset according to the asset attribute information and the payment information;
[0044] The automatic renewal agreement of this embodiment is a necessary agreement for virtual assets to perform renewal operations. Through the automatic renewal agreement, when the virtual assets expire, the system triggers automatic payment and renewal.
[0045] S208, executing a renewal operation of the virtual asset according to the automatic renewal agreement.
[0046] By adopting the solution of this embodiment, a virtual asset to be paid is selected, a payment request for the virtual asset is responded to, the asset attribute information of the virtual asset is parsed, and the payment information of the virtual asset is determined, an automatic renewal agreement for the virtual asset is signed according to the asset attribute information and the payment information, and a renewal operation of the virtual asset is performed according to the automatic renewal agreement. By obtaining the asset attribute information and the corresponding payment information of the virtual asset to be paid, and accurately matching the renewal agreement based on the asset attribute information and the payment information, the differences between different asset types and different payment channels are shielded, the technical problem of high failure rate of signing renewal agreements in related technologies is solved, the efficiency and success rate of signing automatic renewal agreements online are improved, and the user experience is improved.
[0047] In one implementation of the present embodiment, parsing the asset attribute information of the virtual asset includes: parsing the asset type of the virtual asset; determining whether the asset type is a specified type, wherein the specified type is used to characterize that the corresponding virtual asset supports automatic renewal; if the asset type is a specified type, determining the renewal period of the virtual asset, wherein the asset attribute information includes the asset type and the renewal period.
[0048] In this embodiment, the asset type can be read from the attribute information of the virtual asset, and classified according to whether it supports automatic renewal. If it is a specified type that supports automatic renewal, the renewal period is further determined according to the asset type. For example, the virtual asset is a "golden movie viewing monthly card", which supports automatic renewal and the renewal period is one month. For another example, the virtual asset is a "movie A on-demand card", which does not support automatic renewal.
[0049] In an implementation scenario of this embodiment, if the virtual asset does not support automatic renewal, the corresponding payment request directly initiates the payment operation, completes the payment, ends the process, or sets the generated automatic renewal agreement to an invalid state.
[0050] By obtaining the asset type of the virtual asset and the renewal period, the necessary parameters related to the virtual asset in the automatic renewal agreement can be determined, which improves data support for the automatic renewal agreement template prepared for subsequent matching.
[0051] In one implementation of the present embodiment, determining the payment information of the virtual asset includes: responding to the payment request, displaying a selection interface of several payment channels on the payment interface; responding to a selection instruction of the user on the selection interface, determining the target payment channel selected by the selection instruction; judging whether the target payment channel supports contract payment; if the target payment channel supports contract payment, obtaining the payment channel identifier and contract payment parameters of the target payment channel, wherein the payment information includes the payment channel identifier and the contract payment parameters.
[0052] Optionally, the selection interface includes payment channel 1, payment channel 2, and payment channel 3. Payment channel 3 (such as payment by another person) does not support contract payment. Payment channel 1 and payment channel 2 support contract payment. If the user selects payment channel 1, the contract payment parameters of payment channel 1 are continued to be obtained. In one example, several payment channels displayed on the payment interface are matched according to the asset type of the virtual asset. If the virtual asset supports automatic renewal, only payment channels that support contract payment are displayed. If the virtual asset does not support automatic renewal, payment channels of all payment methods (including contract payment, one-time payment, etc.) are displayed.
[0053] In an example, if the payment method of the target payment channel selected by the user supports contract payment and one-time payment, if the user selects the one-time payment method, the background converts the one-time payment into contract payment and obtains the contract payment parameters of the target payment channel.
[0054] By obtaining the payment channel identifier and contracted payment parameters of the target payment channel selected by the user, the necessary payment-related parameters in the automatic renewal agreement can be determined, thereby improving data support for the automatic renewal agreement template prepared for subsequent matching.
[0055] In one implementation of the present embodiment, signing an automatic renewal agreement for the virtual asset based on the asset attribute information and the payment information includes: using the asset attribute information and the payment information as keywords, searching for a matching automatic renewal agreement template in a preset agreement library; reading the agreement price and renewal promotion information of the virtual asset, wherein the renewal promotion information is used to characterize the asset price and promotion duration of the virtual asset before the first automatic renewal; filling the agreement price and the renewal promotion information into the automatic renewal agreement template; executing the payment request, and signing the automatic renewal agreement based on the automatic renewal agreement template.
[0056] Optionally, the preset protocol library pre-stores automatic renewal agreement templates corresponding to multiple combinations of asset attribute information and payment information. The asset attribute information and the payment information are used as keywords to find a matching automatic renewal agreement template from the preset protocol library. The automatic renewal agreement template in the preset protocol library includes multiple fixed fields of the protocol, such as asset type, asset identification, payment channel identification and the contract payment parameters. The variable fields of the protocol are subsequently filled into the automatic renewal agreement template to obtain a complete automatic renewal agreement template. The variable fields can be the agreement price (the price of the product may change at any time) and renewal promotion information (which can be identified by the activity code). If there is no renewal promotion information, empty data is used directly. The renewal promotion information is used to describe the reward information for users who choose automatic renewal. For example, if the first month of automatic renewal is only 5 yuan, the asset price and promotion duration will be 5 yuan and 1 month respectively.
[0057] Using the solution of this embodiment, taking virtual assets as paid membership as an example, the virtual assets selected by the user can be used to know the type of membership opened by the user and the length of membership. Through the payment channel selected by the user, it is known whether the user uses Alipay or WeChat and other channels, so as to know whether to use the contracted payment method or the ordinary payment method. Through the above, the available protocol templates can be routed from the protocol table to accurately match the most suitable renewal agreement.
[0058] In one example, executing the payment request and signing the automatic renewal agreement based on the automatic renewal agreement template includes: executing the payment request and calling the automatic renewal agreement template; sending the payment request to the payment server based on the automatic renewal agreement template; after the payment is successful, binding the payment result information to the automatic renewal agreement template to complete the signing of the automatic renewal agreement template, wherein the payment result information includes the asset identifier of the virtual asset and the payment channel identifier.
[0059] Based on the signed payment of the target payment channel selected by the user, it has the payment capability to make payment and activate automatic renewal. Therefore, after the payment is completed, the background confirms that the user has signed the automatic renewal agreement template, and then binds the asset identifier, payment channel identifier and automatic renewal agreement template for user background management and user viewing.
[0060] By binding and signing an automatic renewal agreement, after the user initiates a payment request for the first time, subsequent renewals can be completed automatically without the need for manual user operations, thus avoiding interruptions in virtual asset services and improving user experience.
[0061] In an example of this embodiment, executing the renewal operation of the virtual asset according to the automatic renewal agreement includes: monitoring the renewal time of the virtual asset during the validity period of the automatic renewal agreement; after the renewal time arrives, calling the automatic renewal agreement template and generating a renewal payment request based on the automatic renewal agreement; sending the renewal payment request to the payment server to complete the renewal operation of the virtual asset.
[0062] The logic of the above renewal operation is mainly completed on the payment server of the corresponding payment channel. In an example, the renewal operation can be completed entirely on the payment server without generating and triggering a renewal payment request. After the payment server completes, it returns a renewal completion notification, and the server where the virtual assets are located updates the valid status of the virtual assets of the user account in the next cycle.
[0063] Optionally, the validity period is set as a fixed field of the automatic renewal agreement, such as a fixed setting of 3 years. In other examples, after the automatic renewal agreement is generated, the validity period of the automatic renewal agreement is also set, and the validity period is set according to the active period of the virtual asset, such as setting the validity period according to the copyright duration of the virtual asset, setting the maximum copyright duration as the validity period, setting the validity period according to the update duration of the virtual asset, and setting the last update time as the expiration date of the validity period. This can avoid continued deductions after the virtual asset expires, affecting the user experience. If the active period of the virtual asset is infinite, the validity period is set later according to the price adjustment of the virtual asset. For example, for movie membership, the validity period is set to 3 years, and the price is adjusted every 3 years.
[0064] In an implementation scenario of this embodiment, after the automatic renewal agreement of the virtual asset is signed according to the asset attribute information and the payment information, it also includes: returning an agreement notification message of the virtual asset to the user account that purchased the virtual asset, wherein the agreement notification message is used to indicate that automatic renewal has been enabled for the virtual asset; displaying the automatic renewal agreement on the management page of the user account; and responding to the user account's editing instructions for the automatic renewal agreement, updating the content or effectiveness status of the automatic renewal agreement based on the editing instructions.
[0065] After completing the signing of the automatic renewal agreement, the user can choose to interrupt the automatic renewal agreement on the virtual asset management page, or reactivate the terminated automatic renewal agreement. In some cases, some agreement fields of the automatic renewal agreement can also be updated, such as the automatic renewal time, whether to notify the user after renewal, payment channels, etc.
[0066] In one implementation of this embodiment, after the automatic renewal agreement of the virtual asset is signed according to the asset attribute information and the payment information, it also includes: monitoring the attribute updates of the virtual asset, and updating or activating the automatic renewal agreement based on the attribute updates. For example, when the virtual asset initially creates an automatic renewal agreement, the deduction date is at the beginning of the month. Later, the attribute of the virtual asset changes and the deduction date becomes the end of the month, then the deduction date in the automatic renewal agreement is updated to the end of the month. Or when the user pays for the virtual asset for the first time and signs the automatic renewal agreement, the virtual asset does not support automatic renewal. Later, the attribute of the virtual asset changes and can support automatic renewal. In this case, the automatic renewal agreement can be automatically activated, and the status of the automatic renewal agreement can be updated from an invalid state to a valid state, avoiding the user from re-signing the agreement.
[0067] The solution of this embodiment provides a solution for an autonomous routing protocol for purchasing automatically-renewable products, which can achieve accurate matching of payment and automatic renewal agreements through program analysis and routing based on product characteristics and the payment channel selected by the user, thereby automatically signing the corresponding renewal agreement when the user pays. Figure 3 : is a working principle diagram of the automatic renewal system in an embodiment of the present invention. The system includes the following functional modules: a business platform where virtual assets are located, a commodity information module, a payment information module, a protocol library module, a routing module, and a payment module. Each module works together to realize the autonomous routing and signing of the automatic renewal agreement. The functions of each module are described below:
[0068] The product information module is used to store and manage characteristic information of different products and services, such as product category, whether automatic renewal is supported, renewal cycle (such as monthly, annual), activity information, etc.
[0069] The payment information module is used to store and manage the payment channel information available to users, such as the payment methods commonly used by users (bank card, WeChat, Alipay), whether to choose automatic renewal, etc.
[0070] The protocol library module is used to store templates for various automatic renewal agreements. These templates are classified and managed according to different product categories and payment methods for quick matching and calling.
[0071] The routing module is used to analyze product information and user information and select the most suitable automatic renewal agreement template. The core algorithm of the routing module is based on product characteristics and user payment channels, and accurately matches the most suitable renewal agreement through certain rules and logic.
[0072] The payment module is used to process the user's payment request. During the payment process, the routing module is called to select the automatic renewal agreement template, and after the payment is successful, the agreement is bound to the user's payment result information to complete the signing of the automatic renewal agreement.
[0073] Figure 4 is a flow chart of signing a renewal agreement in an embodiment of the present invention, including:
[0074] Step S41: The user selects a product;
[0075] The user browses and selects a product (such as a gold monthly membership) on the video platform, and clicks the "Buy" button to enter the payment process.
[0076] Step S42: Obtain product information;
[0077] The product information module obtains characteristic information of the selected product, including product category, whether automatic renewal is supported, and renewal cycle (such as once a month).
[0078] Step S43: Obtain payment information;
[0079] The payment information module obtains information related to the user's payment channel, such as the payment method selected by the user (such as Alipay).
[0080] Step S44: Select a matching protocol;
[0081] The routing module selects the most matching automatic renewal agreement template from the agreement library based on the product information and payment information.
[0082] Step S45: Processing the payment request;
[0083] The payment module processes the user's payment request and calls the automatic renewal agreement template selected by the routing module during the payment process.
[0084] Step S46: Sign a renewal agreement.
[0085] After the payment is successful, the payment module will bind the automatic renewal agreement with the user's payment information to complete the signing of the automatic renewal agreement.
[0086] By adopting the solution of this embodiment, a suitable renewal agreement is routed according to the goods purchased by the user and the payment channel selected, the user experience is improved, automatic renewal is enabled at the same time as the contract is signed, and third-party differences are shielded. Multiple payment channels are supported, and users can flexibly choose the most convenient and secure payment method, improve user payment flexibility and satisfaction, ensure payment security and selectivity, and enhance user payment experience. Through the characteristics of the purchased goods, combined with the payment channel selected by the user, through the analysis and routing of the program, the relevant agreements are accurately hit, and the user can sign the corresponding automatic renewal agreement and enable automatic renewal at the same time as the payment.
[0087] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0088] In this embodiment, a configuration device for an asset protocol is also provided to implement the above-mentioned embodiments and preferred implementation modes, which have been described and will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware for a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0089] Figure 5 is a structural block diagram of a configuration device for an asset protocol according to an embodiment of the present invention, such as Figure 5 As shown, the device includes: a selection module 50, a parsing module 52, a generation module 54, and a renewal module 56, wherein:
[0090] A selection module 50, for selecting a virtual asset to be paid for;
[0091] A parsing module 52, for responding to a payment request for the virtual asset, parsing asset attribute information of the virtual asset, and determining payment information of the virtual asset;
[0092] A generating module 54, configured to sign an automatic renewal agreement for the virtual asset according to the asset attribute information and the payment information;
[0093] The renewal module 56 is used to execute the renewal operation of the virtual asset according to the automatic renewal agreement.
[0094] Optionally, the parsing module includes: a parsing unit, used to parse the asset type of the virtual asset; a first judgment unit, used to judge whether the asset type is a specified type, wherein the specified type is used to characterize that the corresponding virtual asset supports automatic renewal; a first determination unit, used to determine the renewal period of the virtual asset if the asset type is a specified type, wherein the asset attribute information includes the asset type and the renewal period.
[0095] Optionally, the parsing module includes: a display unit, used to respond to the payment request and display a selection interface of several payment channels on the payment interface; a second determination unit, used to respond to the user's selection instruction on the selection interface and determine the target payment channel selected by the selection instruction; a second judgment unit, used to judge whether the target payment channel supports contract payment; an acquisition unit, used to acquire the payment channel identifier and contract payment parameters of the target payment channel if the target payment channel supports contract payment, wherein the payment information includes the payment channel identifier and the contract payment parameters.
[0096] Optionally, the generation module includes: a search unit, used to search for a matching automatic renewal agreement template in a preset agreement library using the asset attribute information and the payment information as keywords; a reading unit, used to read the agreement price and renewal promotion information of the virtual asset, wherein the renewal promotion information is used to characterize the asset price and promotion duration of the virtual asset before the first automatic renewal; a filling unit, used to fill the agreement price and the renewal promotion information into the automatic renewal agreement template; and a signing unit, used to execute the payment request and sign the automatic renewal agreement based on the automatic renewal agreement template.
[0097] Optionally, the signing unit includes: a calling subunit, used to execute the payment request and call the automatic renewal agreement template; a sending subunit, used to send the payment request to the payment server based on the automatic renewal agreement template; and a binding subunit, used to bind the payment result information to the automatic renewal agreement template after the payment is successful, so as to complete the signing of the automatic renewal agreement template, wherein the payment result information includes the asset identifier and payment channel identifier of the virtual asset.
[0098] Optionally, the device also includes: a notification module, which is used to return an agreement notification message of the virtual asset to the user account that purchased the virtual asset after the generation module signs the automatic renewal agreement of the virtual asset according to the asset attribute information and the payment information, wherein the agreement notification message is used to indicate that automatic renewal has been enabled for the virtual asset; a display module, which is used to display the automatic renewal agreement on the management page of the user account; and an update module, which is used to respond to the user account's editing instructions for the automatic renewal agreement, and update the content or effectiveness status of the automatic renewal agreement based on the editing instructions.
[0099] Optionally, the renewal module includes: a monitoring unit, used to monitor the renewal time of the virtual asset during the validity period of the automatic renewal agreement; a generation unit, used to call the automatic renewal agreement template after the renewal time arrives, and generate a renewal payment request based on the automatic renewal agreement; a renewal unit, used to send the renewal payment request to the payment server to complete the renewal operation of the virtual asset.
[0100] It should be noted that the above modules can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.
[0101] The embodiment of the present application also provides an electronic device, Figure 6 is a structural diagram of an electronic device according to an embodiment of the present invention, such as Figure 6 As shown, it includes a processor 61, a communication interface 62, a memory 63 and a communication bus 64, wherein the processor 61, the communication interface 62 and the memory 63 communicate with each other through the communication bus 64, and the memory 63 is used to store computer programs; the processor 61 is used to implement the following steps when executing the program stored in the memory 63: selecting a virtual asset to be paid; responding to a payment request for the virtual asset, parsing the asset attribute information of the virtual asset, and determining the payment information of the virtual asset; signing an automatic renewal agreement for the virtual asset according to the asset attribute information and the payment information; and executing a renewal operation for the virtual asset according to the automatic renewal agreement.
[0102] Further, parsing the asset attribute information of the virtual asset includes: parsing the asset type of the virtual asset; determining whether the asset type is a specified type, wherein the specified type is used to characterize that the corresponding virtual asset supports automatic renewal; if the asset type is a specified type, determining the renewal period of the virtual asset, wherein the asset attribute information includes the asset type and the renewal period.
[0103] Further, determining the payment information of the virtual asset includes: responding to the payment request, displaying a selection interface of several payment channels on the payment interface; responding to the user's selection instruction on the selection interface, determining the target payment channel selected by the selection instruction; judging whether the target payment channel supports contract payment; if the target payment channel supports contract payment, obtaining the payment channel identifier and contract payment parameters of the target payment channel, wherein the payment information includes the payment channel identifier and the contract payment parameters.
[0104] Furthermore, signing the automatic renewal agreement for the virtual asset based on the asset attribute information and the payment information includes: using the asset attribute information and the payment information as keywords, searching for a matching automatic renewal agreement template in a preset agreement library; reading the agreement price and renewal promotion information of the virtual asset, wherein the renewal promotion information is used to characterize the asset price and promotion duration of the virtual asset before the first automatic renewal; filling the agreement price and the renewal promotion information into the automatic renewal agreement template; executing the payment request, and signing the automatic renewal agreement based on the automatic renewal agreement template.
[0105] Further, executing the payment request and signing the automatic renewal agreement based on the automatic renewal agreement template includes: executing the payment request and calling the automatic renewal agreement template; sending the payment request to the payment server based on the automatic renewal agreement template; after the payment is successful, binding the payment result information to the automatic renewal agreement template to complete the signing of the automatic renewal agreement template, wherein the payment result information includes the asset identifier of the virtual asset and the payment channel identifier.
[0106] Furthermore, after signing the automatic renewal agreement for the virtual asset based on the asset attribute information and the payment information, the method also includes: returning an agreement notification message of the virtual asset to the user account that purchased the virtual asset, wherein the agreement notification message is used to indicate that automatic renewal has been enabled for the virtual asset; displaying the automatic renewal agreement on the management page of the user account; and responding to an editing instruction from the user account regarding the automatic renewal agreement, updating the content or effectiveness status of the automatic renewal agreement based on the editing instruction.
[0107] Further, executing the renewal operation of the virtual asset according to the automatic renewal agreement includes: monitoring the renewal time of the virtual asset within the validity period of the automatic renewal agreement; after the renewal time arrives, calling the automatic renewal agreement template and generating a renewal payment request based on the automatic renewal agreement; sending the renewal payment request to the payment server to complete the renewal operation of the virtual asset.
[0108] The communication bus mentioned in the above terminal can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
[0109] The communication interface is used for communication between the above terminal and other devices.
[0110] The memory may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.
[0111] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0112] In another embodiment provided in the present application, a computer-readable storage medium is provided, in which instructions are stored. When the computer-readable storage medium is executed on a computer, the computer executes the configuration method of the asset protocol described in any of the above embodiments.
[0113] In another embodiment provided in the present application, a computer program product including instructions is also provided, which, when executed on a computer, enables the computer to execute the method for configuring the asset protocol described in any of the above embodiments.
[0114] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive Solid State Disk (SSD)), etc.
[0115] The above description is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application are included in the protection scope of the present application.
[0116] The above description is only a specific implementation of the present application, so that those skilled in the art can understand or implement the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest range consistent with the principles and novel features applied for herein.
Claims
1. A method for configuring an asset protocol, characterized in that: include: Select the virtual asset to be paid; Responding to a payment request for the virtual asset, parsing asset attribute information of the virtual asset, and determining payment information of the virtual asset; Signing an automatic renewal agreement for the virtual asset according to the asset attribute information and the payment information; The renewal operation of the virtual asset is performed according to the automatic renewal agreement.
2. The method according to claim 1, characterized in that Parsing the asset attribute information of the virtual asset includes: Parsing the asset type of the virtual asset; Determine whether the asset type is a specified type, wherein the specified type is used to indicate that the corresponding virtual asset supports automatic renewal; If the asset type is a specified type, determine a renewal period of the virtual asset, wherein the asset attribute information includes the asset type and the renewal period.
3. The method according to claim 1, characterized in that Determining the payment information of the virtual asset includes: In response to the payment request, displaying a selection interface of several payment channels on the payment interface; In response to a selection instruction of the user on the selection interface, determining a target payment channel selected by the selection instruction; Determine whether the target payment channel supports contract payment; If the target payment channel supports contract payment, obtain the payment channel identifier and contract payment parameters of the target payment channel, wherein the payment information includes the payment channel identifier and the contract payment parameters.
4. The method according to claim 1, characterized in that Signing the automatic renewal agreement for the virtual asset according to the asset attribute information and the payment information includes: Using the asset attribute information and the payment information as keywords, searching for a matching automatic renewal agreement template in a preset agreement library; Reading the agreed price and renewal promotion information of the virtual asset, wherein the renewal promotion information is used to represent the asset price and promotion duration of the virtual asset before the first automatic renewal; Fill the agreement price and the renewal promotion information into the automatic renewal agreement template; The payment request is executed, and an automatic renewal agreement is signed based on the automatic renewal agreement template.
5. The method according to claim 4, characterized in that Executing the payment request and signing the automatic renewal agreement based on the automatic renewal agreement template includes: Execute the payment request and call the automatic renewal agreement template; Sending the payment request to the payment server based on the automatic renewal agreement template; After the payment is successful, the payment result information is bound to the automatic renewal agreement template to complete the signing of the automatic renewal agreement template, wherein the payment result information includes the asset identifier and payment channel identifier of the virtual asset.
6. The method according to claim 1, characterized in that After signing the automatic renewal agreement of the virtual asset according to the asset attribute information and the payment information, the method further includes: Returning a protocol notification message of the virtual asset to the user account that purchased the virtual asset, wherein the protocol notification message is used to indicate that automatic renewal has been enabled for the virtual asset; Displaying the automatic renewal agreement on the management page of the user account; In response to an edit instruction from the user account for the automatic renewal agreement, the content or effective status of the automatic renewal agreement is updated based on the edit instruction.
7. The method according to claim 1, characterized in that The renewal operation of the virtual asset according to the automatic renewal agreement includes: During the validity period of the automatic renewal agreement, monitoring the renewal time of the virtual asset; After the renewal time arrives, calling the automatic renewal agreement template, and generating a renewal payment request based on the automatic renewal agreement; The renewal payment request is sent to the payment server to complete the renewal operation of the virtual asset.
8. A configuration device for an asset protocol, characterized in that: include: A selection module, used to select the virtual assets to be paid; A parsing module, used to respond to a payment request for the virtual asset, parse the asset attribute information of the virtual asset, and determine the payment information of the virtual asset; A generation module, used for signing an automatic renewal agreement for the virtual asset according to the asset attribute information and the payment information; A renewal module is used to execute the renewal operation of the virtual asset according to the automatic renewal agreement.
9. An electronic device, characterized in that: The electronic device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the method for configuring the asset protocol as claimed in any one of claims 1 to 7.
10. A storage medium, characterized in that: The storage medium stores a computer program, which, when executed by a processor, implements the steps of the method for configuring the asset protocol as claimed in any one of claims 1 to 7.
