A method, device, storage medium and electronic device for switching subscriptions

By receiving subscription switching notifications from the system server on the server side of the subscription object, querying and establishing a new subscription relationship, the order drop problem caused by the inability to establish a relationship when the user switches the subscription is solved, and the user can complete the subscription relationship without opening the App. Establish and upgrade compatibility for downgraded subscriptions.

CN114466058BActive Publication Date: 2024-12-24BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110870874.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-30
Publication Date
2024-12-24
Estimated Expiration
2041-07-30

AI Technical Summary

Technical Problem

In the prior art, users cannot successfully establish a subscription relationship during the process of switching subscription objects, resulting in order drop situations.

Method used

By providing the subscription object, the server that provides the subscription object performs the subscription switching notification sent by the receiving system server, query the subscription relationship information between the designated user and the first object, establish a subscription relationship with the second object, and update its status to be valid after obtaining the transaction information .

Benefits of technology

Avoid order drops due to missing system callbacks. Users do not need to open the App to establish a new subscription relationship, which improves the payment experience and is compatible with upgrading and downgrading subscriptions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114466058B_ABST
    Figure CN114466058B_ABST
Patent Text Reader

Abstract

The disclosed embodiment proposes a method, device, storage medium and electronic device for switching subscriptions, the method comprising the following steps performed by a server providing a subscription object: receiving a subscription switching notification sent by a system server, querying the first subscription relationship information between the specified user and the first object, wherein the subscription switching notification indicates that the specified user switches from subscribing to the first object to subscribing to the second object; establishing a second subscription relationship between the specified user and the second object, and setting the second subscription relationship to an initial state; querying the transaction information of the second subscription relationship from the system server based on the first subscription relationship information, and updating the second subscription relationship to a valid state when the transaction information is queried. The disclosed embodiment does not need to rely on whether the system server callbacks the purchase voucher of the previous subscription to the developer App, thereby avoiding the loss of orders due to the lack of callbacks from the system server.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of controlling subscription products on the Internet, and in particular to a method for switching subscriptions, a switching device, a storage medium and an electronic device. Background Art

[0002] In the system of smart terminal devices (such as mobile phones, Pads, etc.), services are generally provided for purchasing virtual products or services in the App, which is referred to as the system server. In this way, users can purchase paid virtual products or services in the App installed on the smart terminal device, such as game props, e-books, video memberships, etc. The products or services that can be traded or subscribed by the system server include automatically renewed subscription products or services, which generally refer to automatic renewal after the validity period has expired. For example, if a user purchases a monthly video membership, the system server will automatically deduct the fee every month after the user purchases it, until the user manually cancels or the developer removes the corresponding product or service.

[0003] For the auto-renewal subscription products or services mentioned above, the system provides practical product functions for auto-renewal subscription products or services, that is, when a user has subscribed to a certain product or service, he can switch to a different product or service in the same subscription group. For example, if a user first subscribes to a monthly video membership for one month, the user can directly switch to an annual video membership in the App or in the subscription management page of the system. This process is called switching subscriptions. The switching subscriptions here can be divided into upgrades and downgrades. Upgrading refers to switching from a low-level product or service to a high-level product or service, such as switching from a monthly membership to an annual membership, and vice versa. Among them, upgrading subscriptions is effective immediately, while downgrading subscriptions will not take effect until the next renewal cycle. There are two ways to switch subscriptions. One is for the user to directly purchase a new product in the App, which is similar to the process of subscribing to a product for the first time. The other is Figure 1 As shown, you can switch directly through the system's subscription management page.

[0004] The existing subscription switching process is generally divided into two steps: subscription ordering and subscription confirmation. First, the developer server (i.e., the server that provides virtual products or services, that is, the App server) perceives the subscription switching action through the server-to-server notification sent by the system server or the user's operation on the page, and then places a subscription order. Then the user completes the payment in the system. After the user completes the payment, the system calls back the purchase ticket to the App, and the App sends the purchase ticket to the developer server for verification. If the verification is successful, the user's subscription relationship with the new product (i.e., the product switched to) is established. In this way, the existing technical solution needs to rely on the ticket that the system calls back to the client to trigger the subscription confirmation action.

[0005] However, if the user switches subscriptions directly on the subscription management page of the system, the system may not call back the ticket to the client. Even if the system calls back the ticket to the client, the subscription confirmation cannot be triggered if the user does not open the App. In this way, the new subscription relationship cannot be established successfully, resulting in dropped orders. In other words, the user has paid but cannot enjoy the benefits of the new product. Summary of the invention

[0006] In view of this, the embodiments of the present disclosure propose a method, device, storage medium and electronic device for switching subscriptions to solve the problem in the prior art that users cannot successfully establish a subscription relationship when switching subscription objects, resulting in lost orders.

[0007] On the one hand, an embodiment of the present disclosure provides a method for implementing switching subscriptions, the method comprising the following steps performed by a server that provides a subscription object: receiving a subscription switching notification sent by a system server, querying first subscription relationship information between the specified user and the first object, wherein the subscription switching notification indicates that the specified user switches from subscribing to the first object to subscribing to the second object; establishing a second subscription relationship between the specified user and the second object, and setting the second subscription relationship to an initial state; querying the system server for transaction information of the second subscription relationship based on the first subscription relationship information, and updating the second subscription relationship to a valid state when the transaction information is queried.

[0008] In some embodiments, querying the system server for transaction information of the second subscription relationship based on the first subscription relationship information includes: obtaining the first subscription relationship transaction certificate in the first subscription relationship information; and sending a request to query the transaction information of the second subscription relationship to the system server based on the first subscription relationship transaction certificate.

[0009] In some embodiments, the subscription switching notification includes: a first subscription relationship identifier and information about the second object.

[0010] In some embodiments, the first object and the second object respectively correspond to different levels of the same base object.

[0011] In some embodiments, when the level of the second object is lower than that of the first object, querying the system server for the transaction information of the second subscription relationship includes: polling the system server for the transaction information of the second subscription relationship at fixed or irregular time intervals.

[0012] In some embodiments, updating the second subscription relationship to a valid state when the transaction information is queried includes: obtaining the second subscription relationship transaction certificate in the transaction information; and updating the second subscription relationship to a valid state based on the second subscription relationship transaction certificate.

[0013] On the other hand, an embodiment of the present disclosure provides a method for implementing switching subscriptions, the method comprising the following steps performed by a system server: in response to a subscription switching request submitted by a specified user on a subscription management page of the system, sending a subscription switching notification to a server that provides a subscription object, the subscription switching notification indicating that the specified user switches from subscribing to a first object to subscribing to a second object; receiving a request from the server that provides the subscription object, and querying transaction information of a second subscription relationship between the specified user and the second object based on a first subscription relationship between the specified user and the first object; and sending the queried transaction information to the server that provides the subscription object.

[0014] On the other hand, an embodiment of the present disclosure provides a device for implementing switching subscriptions, which is located in a server that provides a subscription object, and includes the following parts: a query module, used to receive a subscription switching notification sent by a system server, and query the first subscription relationship information between the specified user and the first object, wherein the subscription switching notification indicates that the specified user switches from subscribing to the first object to subscribing to the second object; a setting module, used to establish a second subscription relationship between the specified user and the second object, and set the second subscription relationship to an initial state; an update module, used to query the system server for transaction information of the second subscription relationship based on the first subscription relationship information, and update the second subscription relationship to a valid state when the transaction information is queried.

[0015] On the other hand, an embodiment of the present disclosure further provides a storage medium storing a computer program, characterized in that when the computer program is executed by a processor, the steps of any of the above methods are implemented.

[0016] An embodiment of the present disclosure further provides an electronic device, comprising at least a memory and a processor, wherein a computer program is stored in the memory, and wherein the processor implements the steps of any of the above methods when executing the computer program in the memory.

[0017] On the other hand, the disclosed embodiment completes the subscription switching process for the subscription object through the server-side interaction of the developer App, and establishes a new subscription relationship accordingly, without relying on whether the system server of the Y system calls back the purchase voucher of the previous subscription to the developer App, thereby avoiding the order drop due to the lack of the Y system callback; further, the disclosed embodiment can be compatible with both upgraded subscriptions and downgraded subscriptions. When the user downgrades the subscription, the purchase record of the user's re-subscription object can be obtained in time through polling. The user can establish a new subscription relationship without opening the APP, thereby improving the user's payment experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0019] Figure 1 A schematic diagram of switching subscription objects through the system's subscription management page;

[0020] Figure 2 A schematic diagram of object subscription according to an embodiment of the present disclosure;

[0021] Figure 3 A schematic diagram of switching a subscription object according to an embodiment of the present disclosure;

[0022] Figure 4 A schematic diagram of a method according to an embodiment of the present disclosure;

[0023] Figure 5 A schematic diagram of a method according to an embodiment of the present disclosure;

[0024] Figure 6 A schematic diagram of a method according to an embodiment of the present disclosure;

[0025] Figure 7 The figure is a flowchart of a method according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0026] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution of the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings of the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of the embodiments. Based on the described embodiments of the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.

[0027] Unless otherwise defined, the technical terms or scientific terms used in the present disclosure should be understood by people with ordinary skills in the field to which the present disclosure belongs. The "first", "second" and similar words used in the present disclosure do not indicate any order, quantity or importance, but are only used to distinguish different components. "Include" or "comprise" and similar words mean that the elements or objects appearing before the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0028] In order to keep the following description of the embodiments of the present disclosure clear and concise, the present disclosure omits detailed descriptions of well-known functions and well-known components.

[0029] A first embodiment of the present disclosure provides a method for switching subscriptions. Subscription here generally refers to the process in which a user performs at least one purchase operation on a virtual product or service on the Internet or in an App through an electronic device terminal, especially a smart terminal device. For example, a user can purchase virtual products or services provided in different Apps based on a mobile phone, tablet computer, etc. through, for example, a transaction tool in the system; the subscription object here refers to the specific object targeted by the subscription, for example, it can be a virtual product or service that can be subscribed to and provided on the Internet or in an App.

[0030] The scenario in which the method for switching subscriptions involved in the disclosed embodiments is applied is particularly for the case where, after a user completes at least the first subscription to a certain object, the user subscribes to the object again to switch due to changes in subscription time, subscription content, etc. The switching here occurs after the same user subscribes to the same basic object for the first time or the Nth time, specifically for the case where the subscription time, subscription content, etc. are changed for the same basic object to achieve re-subscription. For example, a video membership service can be used as a basic object, and video membership services of different times, such as weekly membership, quarterly membership, annual membership, etc., are different subscription objects based on the video membership service. In particular, in the system of smart terminal devices, all subscriptions to the same basic object will be divided into the same subscription group on the system subscription management page to facilitate the management of subscription objects.

[0031] As described above, in order to implement the method of switching subscriptions in the embodiment of the present disclosure, the same user needs to complete at least one subscription to a certain basic object. Here, taking the example of user A completing the first subscription to product M on the developer App operated by the developer server B in the Y system of the terminal device, the entire process of subscription and payment for the first subscription is introduced. Figure 2 As shown, specifically including:

[0032] 1. Subscription ordering steps: (1) User A first confirms to subscribe to product M on the developer app; (2) Based on user A's confirmation, the developer app initiates a subscription order request for product M to the developer server B; (3) Developer server B establishes a subscription relationship between user A and product M. At this time, the subscription relationship is in the initial state, that is, the subscription has not actually taken effect;

[0033] 2. The user completes the payment in the system: (4) After receiving the order result from developer server B, the developer app sends a payment request to the system server (e.g., Apple Store on iOS); (5) The payment box sent by the system server is displayed; (6) User A can choose to pay by password or fingerprint; (7) The developer app sends a payment confirmation request from user A to the system server; (8) After the payment is completed, the system server will call back the payment result and purchase information (e.g., purchase receipt) to the developer app;

[0034] 3. Verify the payment result and purchase information callback by the system: (9) After receiving the payment result, the developer app sends the purchase voucher to the developer server B for subscription confirmation and verifies whether the purchase voucher is authentic and valid; (10) The developer server B sends the purchase voucher uploaded by the developer app to the system server to verify the authenticity of the purchase voucher; (11) After the verification is passed, the developer server B saves the purchase voucher and updates the subscription relationship to success at the same time. At this time, the subscription relationship is truly effective, user A obtains the rights and interests of product M, and the entire first subscription process ends.

[0035] After user A subscribes to product M for the first time, for example, user A can switch subscriptions to other products associated with product M in the next subscription process using the method of the embodiment of the present disclosure. The specific switching process is as follows: Figure 3 As shown, the method is introduced step by step below, wherein, Figure 4 As shown, the switching method here is executed by the server that provides the subscription object, and the server here refers to the developer server, which includes the following steps:

[0036] S101, receiving a subscription switching notification sent by a system server, and querying first subscription relationship information between a specified user and the first object, wherein the subscription switching notification indicates that the specified user switches from subscribing to the first object to subscribing to the second object.

[0037] In this step, a subscription switching notification sent by the system server is received, and the first subscription relationship information between the specified user and the first object is queried, wherein the subscription switching notification indicates that the specified user switches from subscribing to the first object to subscribing to the second object, wherein the first object here can be the object subscribed to by the specified user for the first time, or can be the object of any previous subscription completed by the specified user. Specifically, the specified user can switch the subscribed object on the smart terminal device, such as modifying the subscription duration or subscription content for a virtual product or service. For example, user A can switch the subscribed object on the subscription management page in the Y system, switching from the previously subscribed product M to product N.

[0038] In the embodiments of the present disclosure, it should be noted that the first object and the second object correspond to different levels of the same basic object, and the product M and product N exemplified here may be products with different subscription times for the same basic object, and therefore, product M and product N differ in level. In the embodiments of the present disclosure, the switching of the subscribed object here indicates the change of the object subscribed by the specified user from the first object to the second object. Since the first object and the second object correspond to different levels of the same basic object, such change includes at least two types: upgraded subscription and downgraded subscription. For example, upgraded subscription may refer to switching from the first object of a low-level product to the second object of a high-level product, such as switching from a monthly membership of a video membership to an annual membership. In practice, high-level products often charge higher fees than low-level products. Downgraded subscription refers to switching from the first object of a high-level product to the second object of a low-level product, such as switching from an annual membership of a video membership to a monthly membership.

[0039] It should be noted that after the designated user completes the switching of the subscribed object, if product N as the second object is an upgraded subscription relative to product M of the first object, the Y system will immediately switch the subscription to product N, and perform payment and deduction operations at the same time. The system server of the Y system (such as Apple Store) will send a subscription switching notification in server-to-server mode to the developer server that operates the developer App and the developer App, and this type of subscription switching notification can be marked as INTERACTIVE_RENEWAL; if product N as the second object is a downgraded subscription relative to product M of the subscribed product, although the system server of the Y system will not start deducting fees until the current subscription period of the first object ends and the next renewal period begins, it will immediately send a subscription switching notification marked as DID_CHANGE_RENEWAL-PREF to the developer server and developer App after the subscription switching is completed.

[0040] The subscription switching notification received by the developer server includes: a first subscription relationship identifier and information about the second object, where the first subscription relationship identifier represents the subscription information of the specified user in the Y system for the first object based on the basic object, which mainly includes the first subscription relationship identifier, which refers to information indicating the corresponding subscription relationship between the specified user and the first object; in the embodiment of the present disclosure, the information of the second object includes at least user information and object information of the second object, where the user information is, for example, the ID of the specified user (such as original_transaction-id), and the object information is, for example, the number of the basic object (such as product_id), the specific content of the second object, etc. Of course, the subscription switching notification here may also include other information, such as subscription time information, smart terminal device information subscribed by the specified user, user location information, etc., which is not limited in the present disclosure.

[0041] Furthermore, in this step, based on the subscription switching notification, the first subscription relationship information between the designated user and the first object is queried. The first subscription relationship here represents the subscription relationship between the designated user and the first object based on the same basic object before the current subscription upgrade or downgrade. Specifically, for example, the developer server or developer App can locate the first subscription relationship formed by the designated user for the same basic object in the first subscription completion or the last subscription completion operation based on the relevant information in the subscription switching notification (such as the first subscription relationship identifier), that is, for example, the subscription relationship between the designated user A and the product M of the first object. Here, the positioning can be achieved, for example, by tracking the ID of the same designated user, and of course it can also be achieved in other ways.

[0042] S102: Establish a second subscription relationship between the designated user and the second object, and set the second subscription relationship to an initial state.

[0043] After querying the first subscription relationship information between the designated user and the first object through the above step S101, in this step, a second subscription relationship between the designated user and the second object is established, and the second subscription relationship is set to an initial state, where the second subscription relationship is a one-to-one association relationship between the designated user and the second object. In this embodiment, after determining the first subscription relationship between the designated user and the first object, in this step, a second subscription relationship between the designated user and the second object can be established based on the first subscription relationship that has been determined, wherein since the second subscription relationship is not yet fully effective, the second subscription relationship can be set to an initial state.

[0044] Specifically, since the first subscription relationship is a one-to-one association relationship between the designated user and the first object, it reflects the correspondence between the designated user and the first object and the base object associated with it. Based on the second subscription relationship, it can also reflect the one-to-one association relationship between the designated user and the second object after switching, such as upgrading or downgrading subscription, that is, establishing a second subscription relationship between the designated user and the second object. It should be noted that, since the second subscription relationship has not yet been confirmed based on the relevant purchase information, the second subscription relationship is still in an initial state.

[0045] For example, a subscription relationship is established between user A and product N as the second object, wherein it is assumed that the subscription from product M of the first object to product N of the second object is an upgrade subscription; at this time, the status of the second subscription relationship is set to the initial status, which means that the corresponding subscription relationship has not actually taken effect.

[0046] S103: query the system server for transaction information of the second subscription relationship based on the first subscription relationship information, and update the second subscription relationship to a valid state when the transaction information is found.

[0047] After the second subscription relationship between the designated user and the second object is established through the above step S102, and the second subscription relationship is set to the initial state, in this step, the transaction information of the second subscription relationship is queried from the system server based on the first subscription relationship information, and the second subscription relationship is updated to the valid state when the transaction information is queried. Specifically, since the second subscription relationship between the designated user and the second object is still in the initial state after the initial establishment, it is still necessary to further confirm the second subscription relationship based on the transaction status such as the switching, purchase and payment status of the second object. Only after confirmation, the second subscription relationship is considered to be completed and is updated to the valid state.

[0048] Further, in step S103, the transaction information of the second subscription relationship is queried from the system server based on the first subscription relationship information, such as Figure 5 As shown, the specific steps include:

[0049] S201: Obtain a first subscription relationship transaction voucher in the first subscription relationship information.

[0050] In this step, the first subscription relationship transaction certificate in the first subscription relationship information is obtained. The first object and the second object are associated based on the same basic object. The first object can be the basic object itself, or any subscription object that has completed subscription based on the basic object. For example, if the second object is an annual membership product of a video service, and the user's first successful purchase is a monthly membership product of the video service, then the first object is the monthly membership product of the video service. If the user successfully purchases a quarterly membership product of the video service after the first successful purchase, then the first object may also be the quarterly membership product of the video service.

[0051] Since the first subscription relationship transaction voucher in the first subscription relationship information indicates that the specified user has successfully subscribed to the first object, obtaining the first subscription relationship transaction voucher can be used to confirm that the specified user is purchasing a different level object for the same basic object again, rather than purchasing a new product. The first subscription relationship transaction voucher here can be transaction information generated by the user during the purchase process of the first object, such as a purchase voucher.

[0052] S202: Based on the transaction certificate of the first subscription relationship, a request for querying the transaction information of the second subscription relationship is sent to the system server.

[0053] After obtaining the first subscription relationship transaction voucher in the first subscription relationship information through the above step S201, in this step, based on the first subscription relationship transaction voucher, a request for querying the transaction information of the second subscription relationship is sent to the system server. Specifically, in the disclosed embodiment, based on the first subscription relationship transaction voucher of the product M as the first object that the user first subscribed to or the most recently completed subscription, such as the purchase voucher, the system server of the Y system can be requested to query the transaction information of the second subscription relationship between the user and the product N as the second object during the switching process, so as to ensure that the specified user is repurchasing objects of different levels of the basic object.

[0054] Further, when the transaction information is queried, the second subscription relationship is updated to a valid state, such as Figure 6 As shown, including:

[0055] S301: Obtain a second subscription relationship transaction certificate in the transaction information.

[0056] In this step, after sending a query to the system server for the transaction information of the second subscription relationship, if it is determined through the query that the designated user has completed the purchase, payment and other operations, the transaction information of the second subscription relationship can be obtained from the system server, and specifically, the second subscription relationship transaction voucher indicating that the transaction is actually completed can be obtained. The second subscription relationship transaction voucher here can be the transaction information generated by the user during the purchase process of the second object, such as a purchase record of successful payment for the second object, and the specific form can be, for example, a purchase voucher, etc.

[0057] S302: Update the second subscription relationship to a valid state based on the second subscription relationship transaction certificate.

[0058] After obtaining the second subscription relationship transaction certificate in the transaction information through the above step S301, in this step, the second subscription relationship is updated to a valid state based on the second subscription relationship transaction certificate. Since the second subscription relationship has not been confirmed in the process of establishing the second subscription relationship between the designated user and the second object, the second subscription relationship is still in an initial state. Therefore, after obtaining the second subscription relationship transaction certificate, it can be considered that the second subscription relationship is confirmed, thereby updating the second subscription relationship to a valid state and actually completing the subscription to the second object.

[0059] Specifically, when the level of the second object is higher than the level of the first object, for example, when the designated user upgrades its subscription from product M of the first object to product N of the second object, based on obtaining the second subscription relationship transaction certificate from the system server of the Y system, the developer server will update the status of the second subscription relationship between the designated user and the second object to a valid status. For example, this means that user A obtains the right to use the upgraded product N.

[0060] However, when the level of the second object is lower than that of the first object, querying the system server for the transaction information of the second subscription relationship includes: polling the system server for the transaction information of the second subscription relationship at fixed or irregular time intervals.

[0061] Specifically, for example, in the case where the designated user downgrades from the first object to the second object, since the system server generally starts to deduct the subscription to the second object after the current subscription period of the first object ends and the next renewal period begins, the transaction information of the second subscription relationship can be requested from the system server at a fixed time interval or an irregular time interval. For example, if the subscription is downgraded from product M as the first object to product N as the second object, the actual deduction will not begin until the use of product M ends and the next renewal period begins, so the developer server can poll the transaction information of the second subscription relationship of the second object from the system server of the Y system. The polling interval can be set according to actual needs, such as a fixed time interval of once per hour, or an irregular time interval. During the polling period, the user does not need to open the developer App for query; in this way, after the system server of the Y system actually completes the deduction, it can query and obtain the purchase and payment information of product N as the second object, and the developer server will update the status of the second subscription relationship between the user and the second object to a valid state, for example, this also indicates that user A obtains the right to use the downgraded subscription product N, so that the subscription relationship can be confirmed without the user opening the developer App.

[0062] In the embodiment of the present disclosure, based on the above-mentioned method for implementing subscription switching, a switching operation for a subscribed object can be implemented. This switching may include upgrading a subscription or downgrading a subscription. The following takes the example of user A's subscription object from product M to product N to illustrate the specific process as follows:

[0063] (1) User A switches subscription objects on the subscription management page of the Y system, assuming that the user switches from product M to product N; (2) If product N is an upgraded subscription relative to product M, the Y system will immediately switch the subscription to product N and make payment and deduction at the same time; after the switch is completed, the system server of the Y system sends a server-to-server subscription switch notification to the developer server B, and the switch notification is marked as I NTERACTIVE_RENEWAL; (3) If product N is a downgraded subscription relative to product M, payment and deduction will not start until the next renewal cycle, but after the switch to the downgraded subscription is completed, a subscription switch notification marked as DID_CHANGE_RENEWAL-PREF will be sent to the developer server B immediately; (4) After receiving the subscription switch notification, the developer server B will locate the first subscription relationship for the first object that the user subscribed to for the first time or the last subscription completed according to the subscription information in the subscription switch notification; (5) Establish a subscription relationship between user A and product N, and the status of the subscription relationship at this time is the initial state; (6) According to the transaction information of user A's first subscription or the last subscription completed with product M, send a notification to the Y system The system server queries the transaction information for product N; (7) If the upgrade from product M to product N is a subscription upgrade, the transaction information queried from the system server of system Y will include the purchase voucher of product N, etc. The developer server B updates the status of the subscription relationship between user A and product N based on the transaction information, and user A obtains the rights and interests of product N; (8) If the downgrade from product M to product N is a subscription, the deduction will not start until the next renewal cycle. For this reason, the developer server B polls the system server of system Y for the transaction information for product N. After it is found that the actual deduction for product N is realized, the transaction information about product N can be queried and the transaction voucher can be obtained, thereby updating the status of the subscription relationship between user A and product N, and user A obtains the rights and interests of product N.

[0064] The disclosed embodiment completes the subscription switching process for the subscription object through the server-side interaction of the developer App, and establishes a new subscription relationship accordingly, without relying on whether the system server of the Y system calls back the purchase voucher of the previous subscription to the developer App, thereby avoiding the order drop due to the lack of the Y system callback; further, the disclosed embodiment can be compatible with both upgraded subscriptions and downgraded subscriptions. When the user downgrades the subscription, the user's purchase record for the re-subscribed object is obtained in time through polling, and the user can establish a new subscription relationship without opening the App, thereby improving the user's payment experience.

[0065] The second embodiment of the present disclosure provides a device for implementing subscription object switching, which is used to implement the method in the first embodiment above. The device is located in a server that provides subscription objects. Specifically, after implementing, for example, the first subscription of user A to product M, user A can use the device of the second embodiment of the present disclosure to switch subscriptions to other products associated with product M in the next subscription process. The switching device here includes a query module, a setting module, and an update module, and the above modules are coupled to each other, wherein:

[0066] A query module, configured to receive a subscription switching notification sent by a system server, and query the first subscription relationship information between the specified user and the first object, wherein the subscription switching notification indicates that the specified user switches from subscribing to the first object to subscribing to the second object;

[0067] A setting module, used to establish a second subscription relationship between the designated user and the second object, and set the second subscription relationship to an initial state;

[0068] An updating module is used to query the transaction information of the second subscription relationship from the system server based on the first subscription relationship information, and update the second subscription relationship to a valid state when the transaction information is queried.

[0069] Furthermore, the subscription switching notification includes: a first subscription relationship identifier and information about the second object.

[0070] Furthermore, the first object and the second object respectively correspond to different levels of the same basic object.

[0071] In some embodiments, the update module further comprises:

[0072] An acquiring unit, configured to acquire a first subscription relationship transaction voucher from the first subscription relationship information;

[0073] A query unit is used to send a request for querying the transaction information of the second subscription relationship to the system server based on the transaction certificate of the first subscription relationship.

[0074] In some embodiments, the updating module is further configured to poll the system server for transaction information of the second subscription relationship at fixed or irregular time intervals when the level of the second object is lower than the level of the first object.

[0075] In some embodiments, the query unit further comprises:

[0076] An acquiring subunit, configured to acquire a second subscription relationship transaction certificate in the transaction information;

[0077] An updating subunit is used to update the second subscription relationship to a valid state based on the second subscription relationship transaction certificate.

[0078] The disclosed embodiment completes the subscription switching process for the subscription object through the server-side interaction of the developer App, and establishes a new subscription relationship accordingly, without relying on whether the system server of the Y system calls back the purchase voucher of the previous subscription to the developer App, thereby avoiding the order drop due to the lack of the Y system callback; further, the disclosed embodiment can be compatible with both upgraded subscriptions and downgraded subscriptions. When the user downgrades the subscription, the user's purchase record for the re-subscribed object is obtained in time through polling, and the user can establish a new subscription relationship without opening the App, thereby improving the user's payment experience.

[0079] A third embodiment of the present disclosure provides a method for switching subscriptions, the method comprising executing by a system server, which cooperates with the method in the first embodiment, such as Figure 7 As shown, the method specifically comprises the following steps:

[0080] S401, in response to a subscription switching request submitted by a designated user on a subscription management page of a system, sending a subscription switching notification to a server providing a subscription object, wherein the subscription switching notification indicates that the designated user switches from subscribing to a first object to subscribing to a second object.

[0081] In this step, in response to the subscription switching request submitted by the designated user on the subscription management page of the system, a subscription switching notification is sent to the server providing the subscription object, wherein the subscription switching notification indicates that the designated user switches from subscribing to the first object to subscribing to the second object, wherein the first object here can be the object subscribed to by the designated user for the first time, or can be the object of any previous subscription completed by the designated user. Specifically, the designated user can switch the subscribed object on the smart terminal device, such as modifying the subscription duration or subscription content for a certain product or service. For example, user A can switch the subscribed object on the subscription management page in the Y system, switching from the previously subscribed product M to product N.

[0082] In the embodiments of the present disclosure, it should be noted that the first object and the second object correspond to different levels of the same basic object, and the product M and product N exemplified here may be products with different subscription times for the same basic object, and therefore, product M and product N differ in level. In the embodiments of the present disclosure, the switching of the subscribed object here indicates the change of the object subscribed by the specified user from the first object to the second object. Since the first object and the second object correspond to different levels of the same basic object, such change includes at least two types: upgraded subscription and downgraded subscription. For example, upgraded subscription may refer to switching from the first object of a low-level product to the second object of a high-level product, such as switching from a monthly membership of a video membership to an annual membership. In practice, high-level products often charge higher fees than low-level products. Downgraded subscription refers to switching from the first object of a high-level product to the second object of a low-level product, such as switching from an annual membership of a video membership to a monthly membership.

[0083] It should be noted that after the designated user completes the switching of the subscribed object, if product N as the second object is an upgraded subscription relative to product M of the first object, the Y system will immediately switch the subscription to product N, and perform payment and deduction operations at the same time. The system server of the Y system will send a subscription switching notification in server-to-server (serve to serve) mode to the developer server that operates the developer App and the developer App, and this type of subscription switching notification can be marked as INTERACTIVE_RENEWAL; if product N as the second object is a downgraded subscription relative to product M of the subscribed product, although the system server of the Y system will not start deducting fees until the current subscription period of the first object ends and the next renewal period begins, it will immediately send a subscription switching notification marked as DID_CHANGE_RENEWAL-PREF to the developer server and developer App after the subscription switching is completed.

[0084] The subscription switching notification sent here includes: a first subscription relationship identifier and information about the second object, where the first subscription relationship identifier here indicates the subscription information of the specified user in the Y system for the first object based on the basic object, which mainly includes the first subscription relationship identifier, which refers to information indicating the corresponding subscription relationship between the specified user and the first object; in the embodiment of the present disclosure, the information of the second object at least includes user information and object information of the second object, where the user information is, for example, the ID of the specified user (such as original_transaction-id), and the object information is, for example, the number of the basic object (such as product_id), the content of the second object, etc. Of course, the subscription switching notification here may also include other information, such as subscription time information, information about the smart mobile device used by the specified user for subscription, user location information, etc., which is not limited in the present disclosure.

[0085] S402, receiving a request from the server providing the subscription object, and querying transaction information of a second subscription relationship between the specified user and the second object based on a first subscription relationship between the specified user and the first object.

[0086] S403: Send the queried transaction information to the server that provides the subscription object.

[0087] After sending the subscription switching notification to the server providing the subscription object in the above step S401, in step S402, a request from the server providing the subscription object is received, and the transaction information of the second subscription relationship between the specified user and the second object is queried based on the first subscription relationship between the specified user and the first object, and the queried transaction information is sent to the server providing the subscription object in step S403. Specifically, since the second subscription relationship between the specified user and the second object is still in the initial state after the initial establishment, it is necessary to further confirm the second subscription relationship based on the transaction conditions such as the switching, purchase and payment of the second object. Only after the confirmation, the second subscription relationship is considered to be completed, so that the initial state is updated to the valid state. To this end, the transaction information of the second subscription relationship between the specified user and the second object is queried based on the subscription relationship between the specified user and the first object according to the request of the specified user. For the specific content, please refer to the relevant description in the first embodiment, which will not be repeated here.

[0088] The disclosed embodiment completes the subscription switching process for the subscription object through the server-side interaction of the developer App, and establishes a new subscription relationship accordingly, without relying on whether the system server of the Y system calls back the purchase voucher of the previous subscription to the developer App, thereby avoiding the order drop due to the lack of the Y system callback; further, the disclosed embodiment can be compatible with both upgraded subscriptions and downgraded subscriptions. When the user downgrades the subscription, the user's purchase record for the re-subscribed object is obtained in time through polling, and the user can establish a new subscription relationship without opening the App, thereby improving the user's payment experience.

[0089] A fourth embodiment of the present disclosure provides a storage medium, which is a computer-readable medium and may be a storage medium of a server or a system server that provides subscription objects, and stores a computer program. When the computer program is executed by a processor, any method provided in the first embodiment or the third embodiment of the present disclosure may be implemented, and exemplarily includes the following steps S11 to S13:

[0090] S11, in response to a switching notification from a first object to a second object, determining subscription information of the second object, wherein the switching notification is determined based on a switching type of the second object relative to the first object;

[0091] S12, establishing a first subscription relationship between the user and the second object based on the subscription information;

[0092] S13: Based on the switching type, update the state of the first subscription relationship.

[0093] In addition, for example, the following steps S14 to S16 are also included:

[0094] S14, in response to a subscription switching request submitted by a designated user on a subscription management page of the system, sending a subscription switching notification to a server providing a subscription object, wherein the subscription switching notification indicates that the designated user switches from subscribing to a first object to subscribing to a second object;

[0095] S15, receiving a request from the server providing the subscription object, and querying transaction information of a second subscription relationship between the specified user and the second object based on a first subscription relationship between the specified user and the first object;

[0096] S16, sending the queried transaction information to the server that provides the subscription object.

[0097] Furthermore, when the computer program is executed by a processor, other methods provided by the first embodiment or the third embodiment of the present disclosure are implemented.

[0098] The disclosed embodiment completes the subscription switching process for the subscription object through the server-side interaction of the developer App, and establishes a new subscription relationship accordingly, without relying on whether the system server of the Y system calls back the purchase voucher of the previous subscription to the developer App, thereby avoiding the order drop due to the lack of the Y system callback; further, the disclosed embodiment can be compatible with both upgraded subscriptions and downgraded subscriptions. When the user downgrades the subscription, the user's purchase record for the re-subscribed object is obtained in time through polling, and the user can establish a new subscription relationship without opening the App, thereby improving the user's payment experience.

[0099] The fifth embodiment of the present disclosure provides an electronic device, which includes at least a memory and a processor. The electronic device may be an electronic device on a server providing a subscription object or a system server. A computer program is stored on the memory. When the processor executes the computer program on the memory, any method provided in the first embodiment or the third embodiment of the present disclosure is implemented. Exemplarily, the steps of the electronic device computer program are as follows S21 to S23:

[0100] S21, in response to a switching notification from a first object to a second object, determining subscription information of the second object, wherein the switching notification is determined based on a switching type of the second object relative to the first object;

[0101] S22, establishing a first subscription relationship between the user and the second object based on the subscription information;

[0102] S23: Based on the switching type, update the state of the first subscription relationship.

[0103] In addition, the following steps S24 to S26 are also included, for example:

[0104] S24, in response to a subscription switching request submitted by the designated user on a subscription management page of the system, sending a subscription switching notification to a server providing the subscription object, wherein the subscription switching notification indicates that the designated user switches from subscribing to the first object to subscribing to the second object;

[0105] S25, receiving a request from the server providing the subscription object, and querying transaction information of a second subscription relationship between the specified user and the second object based on a first subscription relationship between the specified user and the first object;

[0106] S26, sending the queried transaction information to the server that provides the subscription object.

[0107] Furthermore, the processor also executes other computer programs corresponding to the method in the first embodiment or the third embodiment.

[0108] The disclosed embodiment completes the subscription switching process for the subscription object through the server-side interaction of the developer App, and establishes a new subscription relationship accordingly, without relying on whether the system server of the Y system calls back the purchase voucher of the previous subscription to the developer App, thereby avoiding the order drop due to the lack of the Y system callback; further, the disclosed embodiment can be compatible with both upgraded subscriptions and downgraded subscriptions. When the user downgrades the subscription, the user's purchase record for the re-subscribed object is obtained in time through polling, and the user can establish a new subscription relationship without opening the App, thereby improving the user's payment experience.

[0109] The storage medium may be included in the electronic device, or may exist independently without being installed in the electronic device.

[0110] The storage medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: obtains at least two Internet Protocol addresses; sends a node evaluation request including at least two Internet Protocol addresses to a node evaluation device, wherein the node evaluation device selects an Internet Protocol address from the at least two Internet Protocol addresses and returns it; receives the Internet Protocol address returned by the node evaluation device; wherein the obtained Internet Protocol address indicates an edge node in a content distribution network.

[0111] Alternatively, the storage medium carries one or more programs, and when the one or more programs are executed by the electronic device, the electronic device: receives a node evaluation request including at least two Internet Protocol addresses; selects an Internet Protocol address from the at least two Internet Protocol addresses; and returns the selected Internet Protocol address; wherein the received Internet Protocol address indicates an edge node in a content distribution network.

[0112] Computer program code for performing operations of the present disclosure may be written in one or more programming languages, or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the passenger computer, partially on the passenger computer, as a separate software package, partially on the passenger computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the passenger computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0113] It should be noted that the storage medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any storage medium other than a computer 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. The program code contained on the storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0114] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0115] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of a unit does not, in some cases, limit the unit itself.

[0116] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0117] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0118] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.

[0119] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.

[0120] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.

[0121] Multiple embodiments of the present disclosure are described in detail above, but the present disclosure is not limited to these specific embodiments. Those skilled in the art can make various variations and modifications to the embodiments based on the concepts of the present disclosure, and these variations and modifications should all fall within the scope of protection required by the present disclosure.

Claims

1. A method for switching subscriptions, characterized in that: The method comprises the following steps performed by a server providing a subscription object: Receive a subscription switching notification sent by the system server, and query first subscription relationship information between a specified user and a first object, wherein the subscription switching notification indicates that the specified user switches from subscribing to the first object to subscribing to a second object, and the first object and the second object respectively correspond to different levels of the same basic object; Establishing a second subscription relationship between the designated user and the second object, and setting the second subscription relationship to an initial state; Based on the first subscription relationship information, query the system server for transaction information of the second subscription relationship, and update the second subscription relationship to a valid state when the transaction information is found; When the level of the second object is lower than the level of the first object, querying the system server for transaction information of the second subscription relationship includes: Poll the system server for transaction information of the second subscription relationship at fixed or irregular time intervals.

2. The method according to claim 1, characterized in that The querying the system server for the transaction information of the second subscription relationship based on the first subscription relationship information includes: Obtaining a first subscription relationship transaction voucher in the first subscription relationship information; Based on the transaction certificate of the first subscription relationship, a request for querying the transaction information of the second subscription relationship is sent to the system server.

3. The method according to claim 1, characterized in that The subscription switching notification includes: a first subscription relationship identifier and information about the second object.

4. The method according to claim 1, characterized in that: When the transaction information is queried, updating the second subscription relationship to a valid state includes: Obtaining a second subscription relationship transaction certificate in the transaction information; The second subscription relationship is updated to a valid state based on the second subscription relationship transaction certificate.

5. A method for switching subscriptions, characterized in that: The method comprises the following steps performed by the system server: In response to a subscription switching request submitted by a designated user on a subscription management page of the system, a subscription switching notification is sent to a server providing a subscription object, wherein the subscription switching notification indicates that the designated user switches from subscribing to a first object to subscribing to a second object, wherein the first object and the second object respectively correspond to different levels of the same basic object; receiving a request from the server providing the subscription object, querying the transaction information of the second subscription relationship between the specified user and the second object based on the first subscription relationship between the specified user and the first object, when the level of the second object is lower than the level of the first object, the request is that the server providing the subscription object polls the system server for the transaction information of the second subscription relationship at a fixed time interval or an irregular time interval; The queried transaction information is sent to the server providing the subscription object.

6. A device for switching subscriptions, characterized in that: The device is located in the server that provides the subscription object, and includes the following parts: A query module, configured to receive a subscription switching notification sent by a system server, and query first subscription relationship information between a specified user and a first object, wherein the subscription switching notification indicates that the specified user switches from subscribing to the first object to subscribing to the second object, and the first object and the second object respectively correspond to different levels of the same basic object; A setting module, used to establish a second subscription relationship between the designated user and the second object, and set the second subscription relationship to an initial state; an updating module, configured to query the system server for transaction information of the second subscription relationship based on the first subscription relationship information, and update the second subscription relationship to a valid state when the transaction information is found; When the level of the second object is lower than the level of the first object, the updating module is used for: Poll the system server for transaction information of the second subscription relationship at fixed or irregular time intervals.

7. A storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.

8. An electronic device comprising at least a memory and a processor, wherein a computer program is stored in the memory, wherein: The processor implements the steps of the method of any one of claims 1 to 5 when executing the computer program on the memory.