CN113259444A - Subscription method and device of virtual service, storage medium and electronic equipment - Google Patents
Subscription method and device of virtual service, storage medium and electronic equipment Download PDFInfo
- Publication number
- CN113259444A CN113259444A CN202110554297.6A CN202110554297A CN113259444A CN 113259444 A CN113259444 A CN 113259444A CN 202110554297 A CN202110554297 A CN 202110554297A CN 113259444 A CN113259444 A CN 113259444A
- Authority
- CN
- China
- Prior art keywords
- subscription
- target
- virtual
- idle
- application
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/131—Protocols for games, networked simulations or virtual reality
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/55—Push-based network services
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a subscription method and device of virtual services, a storage medium and electronic equipment. Wherein, the method comprises the following steps: acquiring a resource subscription request triggered by a target account; acquiring the number of idle subscription occupancy in a target subscription occupancy set; and under the condition that the number of the idle subscription occupancy is greater than or equal to the target number, respectively binding the target number of the virtual services in the virtual service set with the target number of the idle subscription occupancy in the target subscription occupancy set so as to subscribe the virtual service set to the target account. The invention solves the technical problem of low subscription flexibility of the virtual service.
Description
Technical Field
The invention relates to the field of computers, in particular to a virtual service subscription method, a virtual service subscription device, a storage medium and electronic equipment.
Background
In recent years, development of virtual services such as anchor, member, virtual goods, and the like has been more rapid, but a virtual service to which a user can subscribe generally depends on an application, and the number of virtual services to which the application can provide the user to subscribe is often limited, and thus, in a case where a certain virtual service cannot provide a subscription, even if the user desires to provide the virtual service again, the subscription cannot be performed.
The reason why the foregoing occurs is that the platform for publishing the application often provides only a fixed number of subscription stubs for each application, and the application needs to bind the subscription stubs with each virtual service in advance, so that the number of virtual services that the application can provide for the user to subscribe does not exceed the number of subscription stubs provided by the platform at most, and the virtual service that is not bound with the subscription stubs in advance cannot provide for the user to subscribe.
In other words, the subscription method of the virtual service in the prior art is less flexible, and thus a larger range or a larger number of subscriptions of the virtual service cannot be provided for the user. That is, the prior art has a problem that the subscription flexibility of the virtual service is low.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a subscription method and device of virtual services, a storage medium and electronic equipment, and aims to at least solve the technical problem of low subscription flexibility of the virtual services.
According to an aspect of the embodiments of the present invention, there is provided a subscription method for a virtual service, including: acquiring a resource subscription request triggered by a target account, wherein the resource subscription request is used for requesting to subscribe a virtual service set in a target application for the target account, the number of virtual services in the virtual service set is a target number, and the number of virtual services allowed to be subscribed by the target account in the target application is a preset upper limit number; acquiring the number of idle subscription placeholders in a target subscription placeholder set, wherein the target subscription placeholder set is a subscription placeholder set provided by the target application for the target account, the idle subscription placeholder is a subscription placeholder which is not bound with the virtual service subscribed by the target account, and the number of the subscription placeholders in the target subscription placeholder set is the upper limit number; and under the condition that the number of the idle subscription placeholders is greater than or equal to the target number, binding the virtual services of the target number in the virtual service set with the idle subscription placeholders of the target number in the target subscription placeholder set respectively so as to subscribe the virtual service set to the target account.
According to another aspect of the embodiments of the present invention, there is also provided a subscription device for a virtual service, including: the method comprises the following steps: a first obtaining unit, configured to obtain a resource subscription request triggered by a target account, where the resource subscription request is used to request a subscription for the target account to a virtual service set in a target application, a number of virtual services in the virtual service set is a target number, and a number of virtual services allowed to be subscribed by the target account in the target application is a preset upper limit number; a second obtaining unit, configured to obtain a number of idle subscription stubs in a target subscription stub set, where the target subscription stub set is a subscription stub set provided by the target application for the target account, the idle subscription stubs are subscription stubs that are not bound to virtual services subscribed by the target account, and the number of subscription stubs in the target subscription stub set is the upper limit number; a first binding unit, configured to bind, when the number of the idle subscription stubs is greater than or equal to the target number, the target number of virtual services in the virtual service set with the target number of idle subscription stubs in the target subscription stub set, respectively, so as to subscribe the virtual service set to the target account.
According to another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the subscription method of the virtual service when running.
According to another aspect of the embodiments of the present invention, there is also provided an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the subscription method for the virtual service through the computer program.
In the embodiment of the present invention, a resource subscription request triggered by a target account is obtained, where the resource subscription request is used to request a subscription of a virtual service set in a target application for the target account, the number of virtual services in the virtual service set is a target number, and the number of virtual services allowed to be subscribed by the target account in the target application is a preset upper limit number; acquiring the number of idle subscription placeholders in a target subscription placeholder set, wherein the target subscription placeholder set is a subscription placeholder set provided by the target application for the target account, the idle subscription placeholder is a subscription placeholder which is not bound with the virtual service subscribed by the target account, and the number of the subscription placeholders in the target subscription placeholder set is the upper limit number; binding the target number of virtual services in the virtual service set with the target number of idle subscription stubs in the target subscription stub set respectively when the number of the idle subscription stubs is greater than or equal to the target number, in such a way that the virtual service set is subscribed to the target account, the binding relationship between the virtual service corresponding to the resource subscription request and the subscription occupancy is established by acquiring the resource subscription request again, the user can select the subscription of the virtual service without limitation and the upper limit number of the subscription occupancy, thereby achieving the purpose of flexibly providing a wider range of virtual services for users on the premise of not changing the number of the subscription occupation, therefore, the technical effect of improving the subscription flexibility of the virtual service is achieved, and the technical problem that the subscription flexibility of the virtual service is low is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a schematic diagram of an application environment of an alternative subscription method for virtual services, according to an embodiment of the invention;
fig. 2 is a schematic diagram illustrating a flow of an alternative subscription method for a virtual service according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of an alternative subscription method for virtual services according to an embodiment of the invention;
FIG. 4 is a schematic diagram of an alternative subscription method for virtual services according to an embodiment of the invention;
FIG. 5 is a schematic diagram of an alternative subscription method for virtual services according to an embodiment of the invention;
FIG. 6 is a schematic diagram of an alternative subscription method for virtual services according to an embodiment of the invention;
FIG. 7 is a schematic diagram of an alternative subscription method for virtual services according to an embodiment of the invention;
FIG. 8 is a schematic diagram of an alternative subscription method for virtual services according to an embodiment of the invention;
FIG. 9 is a schematic diagram of an alternative subscription method for virtual services according to an embodiment of the invention;
FIG. 10 is a schematic diagram of an alternative subscription method for virtual services according to an embodiment of the invention;
FIG. 11 is a schematic diagram of an alternative subscription method for virtual services according to an embodiment of the invention;
FIG. 12 is a schematic diagram of an alternative subscription method for virtual services according to an embodiment of the invention;
FIG. 13 is a schematic diagram of an alternative subscription method for virtual services according to an embodiment of the invention;
FIG. 14 is a schematic diagram of an alternative subscription method for virtual services according to an embodiment of the invention;
FIG. 15 is a schematic diagram of an alternative subscription method for virtual services according to an embodiment of the invention;
FIG. 16 is a schematic diagram of an alternative subscription method for virtual services according to an embodiment of the invention;
FIG. 17 is a schematic diagram of an alternative subscription method for virtual services according to an embodiment of the invention;
FIG. 18 is a schematic diagram of an alternative subscription method for virtual services according to an embodiment of the invention;
FIG. 19 is a schematic diagram of an alternative subscription method for virtual services according to an embodiment of the invention;
FIG. 20 is a schematic diagram of an alternative subscription mechanism for virtual services, according to an embodiment of the invention;
fig. 21 is a schematic structural diagram of an alternative electronic device according to an embodiment of the invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
First, in order to facilitate understanding of the embodiments of the present invention, some terms or nouns related to the present invention are explained as follows:
cloud technology refers to a hosting technology for unifying serial resources such as hardware, software, network and the like in a wide area network or a local area network to realize calculation, storage, processing and sharing of data.
Cloud technology (Cloud technology) is based on a general term of network technology, information technology, integration technology, management platform technology, application technology and the like applied in a Cloud computing business model, can form a resource pool, is used as required, and is flexible and convenient. Cloud computing technology will become an important support. Background services of the technical network system require a large amount of computing and storage resources, such as video websites, picture-like websites and more web portals. With the high development and application of the internet industry, each article may have its own identification mark and needs to be transmitted to a background system for logic processing, data in different levels are processed separately, and various industrial data need strong system background support and can only be realized through cloud computing.
Cloud gaming (Cloud gaming), also known as game on demand (gaming), is an online gaming technology based on Cloud computing technology. Cloud game technology enables light-end devices (thin clients) with relatively limited graphics processing and data computing capabilities to run high-quality games. In a cloud game scene, a game is not operated in a player game terminal but in a cloud server, and the cloud server renders the game scene into a video and audio stream which is transmitted to the player game terminal through a network. The player game terminal does not need to have strong graphic operation and data processing capacity, and only needs to have basic streaming media playing capacity and capacity of acquiring player input instructions and sending the instructions to the cloud server.
According to an aspect of the embodiments of the present invention, a method for subscribing to a virtual service is provided, and optionally, as an optional implementation manner, the method for subscribing to a virtual service may be applied, but is not limited to, to the environment shown in fig. 1. The system may include, but is not limited to, a user equipment 102, a network 110, and a server 112, wherein the user equipment 102 may include, but is not limited to, a display 108, a processor 106, and a memory 104.
The specific process comprises the following steps:
step S102, the user equipment 102 acquires a resource subscription request triggered by a target account, wherein the resource subscription request is used for requesting to subscribe virtual services corresponding to an anchor A for the target account if the target account is the account which is currently logged in and displays a live broadcast picture of the anchor A;
steps S104-S106, the user equipment 102 sends a resource subscription request to the server 112 through the network 110;
step S108, the server 112 binds the virtual service corresponding to the "anchor a" and the target account according to the resource subscription request through the processing engine 116, thereby generating a resource subscription result;
steps S110-S112, the server 112 sends the resource subscription result to the user device 102 through the network 110, and the processor 106 in the user device 102 displays the resource subscription result in the display 108 and stores the resource subscription result in the memory 104.
In addition to the example shown in fig. 1, the above steps may be performed by the user device 102 independently, that is, the user device 102 performs the steps of processing the image, determining whether the acquisition posture is normal or abnormal, and the like, thereby relieving the processing pressure of the server. The user equipment 102 includes, but is not limited to, a handheld device (e.g., a mobile phone), a notebook computer, a desktop computer, a vehicle-mounted device, and the like, and the specific implementation manner of the user equipment 102 is not limited in the present invention.
Optionally, as an optional implementation manner, as shown in fig. 2, the subscription method for a virtual service includes:
s202, a resource subscription request triggered by a target account is acquired, wherein the resource subscription request is used for requesting to subscribe a virtual service set in a target application for the target account, the number of virtual services in the virtual service set is a target number, and the number of virtual services allowed to be subscribed by the target account in the target application is a preset upper limit number;
s204, acquiring the number of idle subscription placeholders in the target subscription placeholder set, wherein the target subscription placeholder set is a subscription placeholder set provided by the target application for the target account, the idle subscription placeholders are subscription placeholders which are not bound with the virtual service subscribed by the target account, and the number of the subscription placeholders in the target subscription placeholder set is an upper limit number;
s206, under the condition that the number of the idle subscription occupancy is larger than or equal to the target number, binding the virtual services of the target number in the virtual service set with the idle subscription occupancy of the target number in the target subscription occupancy set respectively, so as to subscribe the virtual service set to the target account.
Optionally, in this embodiment, the subscription method of the virtual service may be but not limited to be applied in a subscription scenario of a virtual anchor, for example, the target application is used for providing a subscription of a service related to the virtual anchor for a user, but the subscription of the virtual anchor usually needs to depend on a subscription channel of a corresponding system, and the subscription channel often defines a number, so that the number of the virtual anchors that can provide the subscription is also limited. By using the subscription method of the virtual service, all virtual anchor in the target application can be displayed on the client of the user side, and the all virtual anchor can support subscription;
for further example, assuming that the anchor that the target application can provide the subscription includes an anchor a, an anchor B, and an anchor C, in the related art, it is usually necessary to establish a binding relationship between each anchor and a subscription occupancy in advance, and if the number of the subscription occupancy is less than the number of the anchors, and if the current bindable occupancy is 2, it indicates that the target application can only select two anchors from the anchor a, the anchor B, and the anchor C to bind with the subscription occupancy, that is, it indicates that the user side can display both the subscribeable anchor and only the bound anchors, and the unbound anchor cannot provide the subscription or even cannot display on the user side;
in the above subscription method for virtual services, as shown in fig. 3 (a), it is assumed that in response to a touch operation triggered by "batch subscription" of a virtual button, an anchor a and an anchor B are selected from an anchor list to jointly form a virtual service set 302, and a resource subscription request is triggered; further, as shown in (B) of fig. 3, in the target subscription occupancy set 304, assuming that there are 4 subscription occupancy, where 2 subscription occupancy are bound by the anchor D and the anchor E (i.e. the state of the current subscription occupancy is occupied), and the other 2 subscription occupancy are not bound (i.e. the state of the current subscription occupancy is idle), on this basis, in response to the resource subscription request triggered in (a) of fig. 3, a binding relationship (indicated by a double-headed arrow) between the subscription occupancy in the idle state and the anchor a and the anchor B is established. In summary, in the subscription method for virtual services, the binding between the subscription space and the anchor is dynamic binding, or binding is performed based on the resource subscription request, so that although the number of anchors that the user side can subscribe to is still limited by the number of the subscription space, the number of anchors that the user side can select to subscribe to is theoretically infinite, thereby expanding the subscription range of virtual services and providing a subscription method for virtual services with higher flexibility for the user.
Optionally, in this embodiment, the target application may be, but is not limited to, application software (APP for short) capable of providing a subscribed virtual service, and when the target application is published on a platform of a corresponding system (such as Android, IOS, and the like), a subscription process of the virtual service of the target application may be, but is not limited to, a subscription place holder provided by the platform, where the subscription place holder may be, but is not limited to, a channel providing functions such as subscription/payment of the virtual service for an account;
for further example, assuming that an App in a platform such as IOS, Android, etc. (e.g., a mobile phone ecology) can only use a payment channel provided by a corresponding system, the App may have a limitation on the number of virtual services that can provide subscriptions because the App has an upper limit on bindable subscription occupancy within the mobile phone ecology, as shown in (a) of fig. 4, it is assumed that the mobile phone ecology provides a target subscription occupancy set 402 (including subscription occupancy of 4) for the App (target application), and the App has separately bound virtual services in the virtual service set 404 and subscription occupancy in the target subscription occupancy set 402, and since the number of subscription occupancy is smaller than the number of virtual services, virtual service E is not bound; based on the binding relationship shown in (a) in fig. 4, as further shown in (B) in fig. 4, on the display interface of the APP registered in the target account 406, the virtual services that can be subscribed are displayed, including the virtual service a, the virtual service B, the virtual service C, and the virtual service D that have established a binding relationship, but not including the virtual service E that has not established a binding relationship. Based on this, even if the target account 406 has an intention or intention to subscribe to the virtual service E, the subscription to the virtual service E cannot be realized on the current APP.
Optionally, in this embodiment, based on the scenario shown in fig. 4, continuing to illustrate as shown in fig. 5 as an example, it is assumed that a handset ecology provides a target subscription placeholder set 402 (including subscription placeholders with a number of 4) for an APP (target application), and virtual services in a virtual service set 404 are not respectively bound to subscription placeholders in the target subscription placeholder set 402 and are all in a relatively idle state, as shown in (a) in fig. 5; as further shown in fig. 5 (B), displaying a virtual service that can be subscribed, including virtual service a, virtual service B, virtual service C, virtual service D, and virtual service E for which a binding relationship is not established, on a display interface of an APP registered in the target account 406, and acquiring a resource subscription request triggered by "subscription" of a virtual button corresponding to the virtual service E by the target account 406; further, as shown in (C) of fig. 5, in response to the resource subscription request, binding the virtual service E in the virtual service set 404 with the subscription stub in the idle state in the target subscription stub set 402 is performed on the fly, so that the subscription of the virtual service E is provided for the target account 406. As can be seen from this, although the upper limit of the number of virtual services that the target account 406 can subscribe to is still the upper limit of the number of subscription stubs of the target subscription stub set 402, for the target account 406 side, the APP provides all virtual services to the target account 406, so that the target account 406 selectively subscribes, and compared with the subscription method shown in fig. 4, the subscription range of the virtual services of this embodiment is wider and more flexible.
Optionally, in this embodiment, the virtual service may include, but is not limited to, a virtual resource or a virtual right or a virtual commodity obtained by online payment/subscription, for example, a subscription account member (the subscription account member is equivalent to having opened a related right corresponding to the account member), a subscription virtual anchor (the subscription virtual anchor is equivalent to having opened an operation right for the virtual anchor, where the operation may include, but is not limited to, access, information interaction, information viewing, and the like), a subscription virtual commodity (the subscription virtual commodity is equivalent to obtaining a usage right of the virtual commodity through transfer of virtual money) and the like;
further taking a virtual service as an account member (VIP) as an example, assuming that the interface shown in (a) in fig. 6 is a main page of a target application (a certain video application) logged in by the target account 602, and a virtual key "VIP" is displayed on the interface, and a corresponding touch instruction is obtained on the virtual key; further responding to the touch instruction, displaying a prompt message "whether to open the VIP" and responding to a selected instruction triggered on the virtual button "yes" on the prompt message, so as to open the VIP for the target account 602, in other words, so as to provide a virtual service corresponding to the VIP for the target account 602.
Optionally, in this embodiment, the target number of virtual services in the virtual service set are respectively bound with the target number of idle subscription stubs in the target subscription stub set, which may be, but is not limited to, understanding that the virtual services and the subscription stubs are bound for the target account, or, binding the virtual services and the subscription stubs may also be, but is not limited to, understanding that the target account, the virtual services, and the subscription stubs are bound;
for further example, assuming that the account a requests to subscribe to the anchor X, and the subscription placeholder allocated to the anchor X is placeholder 1, the binding relationship may be, but is not limited to "account a-anchor X-placeholder 1", on this basis, the placeholder 1 is already bound to the anchor X for the account a, that is, the placeholder 1 is adjusted from the idle state to the occupied state, and then in the next selection operation of the idle subscription placeholder, the placeholder 1 is not considered any more; for example, account a requests subscription to anchor Y again, and then the subscription placeholder allocated for anchor X is selected from the free placeholders, assuming that placeholder 2 is selected, the binding relationship may be, but is not limited to, "account a-anchor Y-placeholder 2"; moreover, placeholder 1 is already in an occupied state for account a, but does not affect other accounts, for example, assuming that placeholder 1 is not bound to any anchor for account B, then for account B, this placeholder 1 is still in an idle state, and further assuming that account B requests to subscribe to anchor Z and the idle subscription placeholder allocated for anchor Z is placeholder 1, then the binding relationship may be, but is not limited to, "account B-anchor Z-placeholder 1".
It should be noted that, by acquiring the resource subscription request again and establishing the binding relationship between the virtual service corresponding to the resource subscription request and the subscription occupancy, the user can select the subscription of the virtual service without limitation and the upper limit number of the subscription occupancy, and further, on the premise of not changing the number of the subscription occupancy, the virtual service with a larger range can be flexibly provided for the user.
For further example, optionally, as shown in (a) in fig. 7, a resource subscription request triggered by the target account 702 is obtained, where the resource subscription request is used to request that the target account 702 is subscribed to a virtual service set 706 in the target application, and the number of virtual services in the virtual service set 706 is 4, as shown in (b) in fig. 7; furthermore, the number of idle subscription stubs in the target subscription stub set 706 is obtained as 5, where the target subscription stub set 704 is a subscription stub set provided by the target application for the target account 702, the idle subscription stubs are subscription stubs that are not bound to the virtual service subscribed by the target account 702, and the number of subscription stubs in the target subscription stub set 704 is an upper limit number; further, in the case that the number of free subscription stubs (5) is greater than or equal to the target number (4), the target number of virtual services in the virtual service set 706 is bound with the target number of free subscription stubs in the target subscription stub set 704, respectively, so that the virtual service set 706 is subscribed to the target account 702, as shown in (c) of fig. 7.
According to the embodiment provided by the application, a resource subscription request triggered by a target account is acquired, wherein the resource subscription request is used for requesting to subscribe a virtual service set in a target application for the target account, the number of virtual services in the virtual service set is a target number, and the number of virtual services allowed to be subscribed by the target account in the target application is a preset upper limit number; acquiring the number of idle subscription placeholders in a target subscription placeholder set, wherein the target subscription placeholder set is a subscription placeholder set provided by a target application for a target account, the idle subscription placeholder is a subscription placeholder which is not bound with a virtual service subscribed by the target account, and the number of the subscription placeholders in the target subscription placeholder set is an upper limit number; under the condition that the number of the idle subscription occupancy is larger than or equal to the target number, the target number of virtual services in the virtual service set are respectively bound with the target number of the idle subscription occupancy in the target subscription occupancy set, so that the virtual service set is subscribed to the target account, the resource subscription request is obtained again, and the binding relationship between the virtual service corresponding to the resource subscription request and the subscription occupancy is established, so that the user can select the subscription of the virtual service without limitation to the upper limit number of the subscription occupancy, the purpose of flexibly providing a larger range of virtual services for the user on the premise of not changing the number of the subscription occupancy is achieved, and the technical effect of improving the subscription flexibility of the virtual service is realized.
As an optional scheme, the binding the virtual services in the virtual service set with the target number of idle subscription stubs in the target subscription stub set respectively includes:
and under the condition that each subscription occupancy in the target subscription occupancy set is not bound with one idle service in advance, binding the virtual services in the virtual service set with the idle subscription occupancies of the target number in the target subscription occupancy set respectively.
Optionally, in this embodiment, before the relevant subscription request triggered by the account is acquired, neither the binding operation is performed on the subscription stub nor the binding operation is performed on the virtual service, so that both the subscription stub and the virtual service are in an idle state; further, when a related subscription request triggered by an account is obtained, an execution mode of a binding operation may be determined based on the subscription request, for example, an idle subscription placeholder is selected for a virtual service to which the subscription request is requested, and the idle subscription placeholder and the virtual service are bound to subscribe the corresponding virtual service to the account.
It should be noted that, in the related art, the binding between the subscription placeholder and the virtual service is not related to the related subscription request triggered by the account, and may be, but is not limited to be, understood as a static binding; in this embodiment, the binding between the subscription stub and the virtual service is performed based on a related subscription request triggered by an account, and may be, but is not limited to be, understood as a dynamic binding; compared with static binding, dynamic binding enlarges the range of providing virtual services which can be subscribed for the account, and also improves the subscription flexibility of the virtual services.
According to the embodiment provided by the application, under the condition that each subscription occupancy in the target subscription occupancy set is not bound with one idle service in advance, the virtual services in the virtual service set are respectively bound with the idle subscription occupancies of the target number in the target subscription occupancy set, so that the purpose of expanding the subscription range of the virtual services is achieved, and the effect of improving the subscription flexibility of the virtual services is achieved.
As an optional scheme, before acquiring the resource subscription request triggered by the target account, the method further includes: binding an idle service for each subscription occupancy in the target subscription occupancy set in advance;
as an optional scheme, the binding the target number of virtual services in the virtual service set with the target number of idle subscription stubs in the target subscription stub set respectively includes: and binding the target number of virtual services with the target number of idle services respectively to establish a binding relationship among the target number of virtual services, the target number of idle subscription stubs, and the target number of idle services, wherein the target number of idle services are idle services pre-bound by the target number of idle subscription stubs.
Optionally, in this embodiment, in consideration of a situation that a waiting period is generated due to auditing of a platform and the like when a binding relationship is established, the waiting period may reduce subscription efficiency of a target account for a virtual service for the target account side, and then the binding relationship is established in advance with subscription occupancy by using an idle service, but the idle service is not limited to which specific virtual service is, but the corresponding idle service is allocated to the corresponding virtual service according to a resource subscription request when the resource subscription request is obtained, and then the binding relationship between the virtual service and the idle service is established; and because the binding relationship between the idle service and the subscription occupancy is established in advance, the binding relationship between the virtual service, the idle service and the subscription occupancy is equivalently established, wherein the binding relationship between the virtual service and the subscription occupancy can be understood as indirect binding, and the binding relationship between the virtual service and the idle service or between the idle service and the subscription occupancy can be understood as direct binding.
It should be noted that, what is disclosed in the related art is to establish a direct binding relationship between a virtual service and a subscription placeholder in advance (statically), whereas the above-mentioned indirect binding between a virtual service and a subscription placeholder is established dynamically in this embodiment, which does not affect the selection range of the virtual service that can provide a subscription (whether the virtual service supports the subscription is not limited by whether the virtual service is bound with the subscription placeholder), nor does it reduce the subscription efficiency of the virtual service due to the audit period of the platform caused by the establishment of the current binding relationship (the binding between the virtual service and the subscription placeholder is not actually established, so that the binding does not need to be audited by the platform, and naturally there is no audit period generated).
For further example, optionally, for example, as shown in fig. 8, a binding relationship between each subscription placeholder in the target subscription placeholder set 802 and each idle service in the idle service 804 is established in advance, as shown in (a) in fig. 8; further, as shown in (b) in fig. 8, a resource subscription request triggered by the target account 806 is obtained, and it is assumed that the resource subscription request is used to request to subscribe to the virtual service set 808, and the virtual service set 808 includes the virtual service E; as also shown in fig. 8 (c), in response to the resource subscription request, a direct binding between the idle service 804 and each virtual service (virtual service E) in the virtual service set 808 is established, which is also equivalent to an indirect binding between each virtual service (virtual service E) in the virtual service set 808 and the subscription stub in the target subscription stub set 802.
By the embodiment provided by the application, before acquiring the resource subscription request triggered by the target account, the method further includes: binding an idle service for each subscription occupancy in the target subscription occupancy set in advance; binding the virtual services of the target number in the virtual service set with the idle subscription placeholders of the target number in the target subscription placeholder set respectively, including: the target number of virtual services are respectively bound with the target number of idle services, so that a binding relationship is established among the target number of virtual services, the target number of idle subscription stubs, and the target number of idle services, wherein the target number of idle services are idle services to which the target number of idle subscription stubs are bound in advance, and the effect of improving the subscription efficiency of the virtual services is achieved on the premise of ensuring a large subscription range.
As an optional solution, pre-binding each subscription placeholder in the target subscription placeholder set with an idle service, includes at least one of:
s1, when the target application is published on the target application platform, binding an idle service in advance for each subscription placeholder in the target subscription placeholder set; or
S2, after the target application is published on the target application platform, in response to the first binding instruction, an idle service is pre-bound for each subscription placeholder in the target subscription placeholder set.
Optionally, in this embodiment, an opportunity to pre-bind an idle service for each subscription placeholder in the target subscription placeholder set may be, but is not limited to, automatic binding, so as to improve binding efficiency. But not limited to, passive binding in response to the first binding instruction may also be performed to increase the flexibility of binding, which is not limited herein.
As an optional solution, a free service is pre-bound for each subscription placeholder in the target subscription placeholder set, including: binding an idle service for each subscription placeholder in the target subscription placeholder set in advance on the target application platform, wherein the target application is published on the target application platform;
as an optional scheme, the binding the target number of virtual services with the target number of idle services respectively includes: and binding the virtual services with the target quantity with the idle services with the target quantity on the target application.
Optionally, in this embodiment, the target application platform may be, but is not limited to, publish various applications, and the various applications do not provide channels such as subscriptions, payments, services, and the like, for example, an android platform, an apple shop platform, and the like.
It should be noted that, an idle service is pre-bound for each subscription placeholder in the target subscription placeholder set on the target application platform, and the binding between the virtual service and the idle services of the target number is completed on the target application.
According to the embodiment provided by the application, an idle service is bound in advance for each subscription placeholder in a target subscription placeholder set on a target application platform, wherein the target application is published on the target application platform; the target number of virtual services are respectively bound with the target number of idle services on the target application, so that the effect of improving the subscription efficiency of the virtual services is realized on the premise of ensuring a larger subscription range.
As an optional scheme, acquiring the number of free subscription stubs in the target subscription stub set includes: acquiring the number of idle subscription occupancy in a plurality of application platforms, wherein a target subscription occupancy set comprises subscription occupancy provided by a target application for a target account in the plurality of application platforms, and the target application is published on the plurality of application platforms;
as an optional scheme, the binding the target number of virtual services in the virtual service set with the target number of idle subscription stubs in the target subscription stub set respectively includes: and binding the virtual services of the target number with the idle subscription placeholders of the target number in the plurality of application platforms respectively under the condition that the number of the idle subscription placeholders in the plurality of application platforms is greater than or equal to the target number.
It should be noted that, the number of idle subscription stubs in the multiple application platforms is obtained, where the target subscription stub set includes subscription stubs provided by the target application for the target account in the multiple application platforms, and the target application is published on the multiple application platforms; and binding the virtual services of the target number with the idle subscription placeholders of the target number in the plurality of application platforms respectively under the condition that the number of the idle subscription placeholders in the plurality of application platforms is greater than or equal to the target number.
To further illustrate, optionally, for example, as shown in fig. 9, assuming that target application 908 is application B, one idle service 906 is pre-bound on target application platform 902 for each subscription placeholder in target subscription placeholder set 904 of application B, as shown in fig. 9 (a); and under the condition of acquiring a resource subscription request triggered by a target account, binding the virtual services in the virtual service set 908 with the idle services 906 on the target application 908, so as to establish indirect binding between the virtual services in the virtual service set 908 and the subscription placeholders in the target subscription placeholder set 904 in response to the resource subscription request.
According to the embodiment provided by the application, the number of idle subscription occupancy in the plurality of application platforms is obtained, wherein the target subscription occupancy set comprises subscription occupancy provided by the target application for the target account in the plurality of application platforms, and the target application is published on the plurality of application platforms; and under the condition that the number of the idle subscription occupancy in the plurality of application platforms is greater than or equal to the target number, the virtual services with the target number are respectively bound with the idle subscription occupancy in the target number in the plurality of application platforms, so that the effect of improving the subscription range of the virtual services is realized.
As an optional scheme, the binding the target number of virtual services with the target number of idle subscription stubs in the multiple application platforms respectively includes:
s1, under the condition that the number of idle subscription occupancy in a first application platform in the plurality of application platforms is larger than or equal to the target number, respectively binding the virtual services of the target number with the idle subscription occupancy of the target number in the first application platform;
s2, when the number of idle subscription stubs in the first application platform is less than the target number and the number of idle subscription stubs in the first application platform and the second application platform is greater than or equal to the target number, binding the target number of virtual services with the target number of idle subscription stubs in the first application platform and the second application platform, respectively, where the plurality of application platforms includes the second application platform.
Optionally, the number of subscription stubs that one application platform can provide is limited, for example, the number of subscription stubs that the application platform a can provide to the target application is 1000, and it can be understood, but is not limited to, that the maximum number of virtual services that the target account subscribes to the target application through the application platform a is 1000; however, in this embodiment, the number of the subscription placeholders that can be provided by different application platforms may be, but is not limited to, spanning different application platforms, or the subscription placeholders that can be respectively provided by different application platforms are integrated into one subscription placeholder set, for example, the number of the subscription placeholders that can be provided by the application platform a to the target application is 1000, and the number of the subscription placeholders that can be provided by the application platform B to the target application is 2000, in this embodiment, the maximum number of the virtual services that the target account subscribes to the target application through the application platform a or the application platform B is 3000(1000+ 2000). Or, whether the target account subscribes to the virtual service in the target application through the application platform a or the application platform B, the number is not limited by the number of individual platforms (1000/2000), but by the total number (3000);
in addition, in this embodiment, the maximum number of virtual services subscribed to the target application by the application platform a of the target account may also be, but is not limited to, still 1000, and the maximum number of virtual services subscribed to the target application by the application platform B may also be, but is not limited to, still 2000, but the maximum number of virtual services that the target account can subscribe to the target application is 3000(1000+ 2000). Alternatively, whether the target account subscribes to virtual services in the target application through application platform a or application platform B, the number is still limited by the number of individual platforms (1000/2000), but the maximum number that the target account can subscribe to is the sum of the upper limit numbers of all the individual platforms (3000).
According to the embodiment provided by the application, under the condition that the number of the idle subscription occupancy in the first application platform in the plurality of application platforms is greater than or equal to the target number, the virtual services of the target number are respectively bound with the idle subscription occupancy of the target number in the first application platform; and under the condition that the number of the idle subscription occupancy in the first application platform is less than the target number and the number of the idle subscription occupancy in the first application platform and the second application platform is greater than or equal to the target number, respectively binding the virtual services of the target number with the idle subscription occupancy of the target number in the first application platform and the second application platform, wherein the plurality of application platforms comprise the second application platform, and the effect of improving the subscription range of the virtual services is realized.
As an optional scheme, acquiring the number of free subscription stubs in the target subscription stub set includes: acquiring the number of idle subscription occupancy in a first application platform, wherein a target subscription occupancy set comprises subscription occupancy provided by a target application for a target account in the first application platform, and the target application is published on the first application platform;
as an optional solution, the method further comprises: acquiring the number of idle subscription occupancy in a second application platform under the condition that the number of idle subscription occupancy in a first application platform is smaller than a target number, wherein a target application is published on the second application platform; and under the condition that the number of the idle subscription occupancy is greater than or equal to the target number in the first application platform and the second application platform, respectively binding the target number of the virtual services with the target number of the idle subscription occupancy in the first application platform and the second application platform.
It should be noted that, when the number of virtual services subscribed by the target account through the first application platform in the target application is greater than the number of idle subscription stubs currently provided by the first application platform, the idle subscription stubs currently provided by the second application platform are automatically provided for the target account, so as to expand the subscription range of the virtual services.
For further example, optionally, as shown in fig. 10, it is assumed that the first application platform may provide the first subscription placeholder set 1002 for the target application, and the second application platform may provide the second subscription placeholder set 1006 for the target application, and further, when the number of virtual services in the virtual service set 1004 that the target application currently needs to establish the binding relationship is greater than the number of subscription placeholders in the first subscription placeholder set 1002, the subscription placeholders in the first subscription placeholder set 1002 and the subscription placeholders in the second subscription placeholder set 1006 may be combined to provide the subscription placeholders to be bound for the virtual services in the virtual service set 1004.
According to the embodiment provided by the application, the number of idle subscription occupancy in the first application platform is obtained, wherein the target subscription occupancy set comprises subscription occupancy provided by the target application for the target account in the first application platform, and the target application is published on the first application platform; acquiring the number of idle subscription occupancy in a second application platform under the condition that the number of idle subscription occupancy in a first application platform is smaller than a target number, wherein a target application is published on the second application platform; and under the condition that the number of the idle subscription occupancy in the first application platform and the second application platform is greater than or equal to the target number, the virtual services of the target number are respectively bound with the idle subscription occupancy of the target number in the first application platform and the second application platform, so that the effect of improving the subscription range of the virtual services is realized.
As an optional solution, the method further comprises:
and under the condition that the number of idle subscription occupation sites in the first application platform is less than the target number, displaying first prompt information in the target application, wherein the first prompt information is used for prompting that the number of virtual services which are allowed to be subscribed in the target application of the target account on the first application platform is insufficient.
Optionally, in this embodiment, in consideration that the target account may affect virtual resources of the application platform when subscribing in different application platforms, in this case, when the number of idle subscription stubs in the application platform is smaller than the target number, the prompt information is displayed, and an instruction triggered by the target account is further acquired to execute call allocation of idle subscription stubs of other application platforms.
By way of further example, optionally based on the scenario shown in fig. 9, continuing with the scenario shown in fig. 11, assuming that, as shown in (a) in fig. 11, the number of subscriptions that can be subscribed by the target account on the target application platform 1102 has reached an upper limit, or the number of virtual services (virtual service set 1108) currently subscribed by the target account has exceeded the number of idle subscription stubs (first subscription stub set 1106) that can be currently provided by the target application platform 1102 for the target application, and a selected instruction triggered by "yes" of a virtual button on the display information 1104 by the target account is obtained; as further shown in fig. 11 (B), in response to the above-mentioned selected instruction, the subscription stubs in the second subscription stub set 1112 of the other application platform are allocated to the virtual service set 1108, so that all virtual services in the virtual service set 1108 can be bound to the subscription stubs, specifically, virtual service a and virtual service B are bound to the subscription stubs in the first subscription stub set 1106, and virtual service C and virtual service D are bound to the subscription stubs in the second subscription stub set 1112.
According to the embodiment provided by the application, under the condition that the number of idle subscription occupation sites in the first application platform is smaller than the target number, the first prompt information is displayed in the target application, wherein the first prompt information is used for prompting that the number of virtual services allowed to be subscribed in the target application of the target account on the first application platform is insufficient, and the effect of improving the subscription range of the virtual services is achieved.
As an optional scheme, after binding the target number of virtual services in the virtual service set with the target number of idle subscription stubs in the target subscription stub set, respectively, the method includes:
s1, acquiring first life time corresponding to a first virtual service subscribed to a target account in a virtual service set, wherein the first life time comprises first subscription start time and first subscription end time;
and S2, displaying a second prompt message when the current time reaches the subscription ending time, wherein the second prompt message is used for prompting that the subscription of the first virtual service to the target account is stopped.
Optionally, in this embodiment, a first lifetime corresponding to a first virtual service subscribed to the target account in the virtual service set is obtained, for example, a date 1 to a date 3; and further displaying second prompt information when the current time reaches the date 3, wherein the second prompt information is used for prompting that the first virtual service is stopped being subscribed to the target account.
According to the embodiment provided by the application, the first life time corresponding to the first virtual service subscribed to the target account in the virtual service set is obtained, wherein the first life time comprises the first subscription starting time and the first subscription ending time; and displaying second prompt information under the condition that the current time reaches the subscription ending time, wherein the second prompt information is used for prompting that the subscription of the first virtual service to the target account is stopped, so that the effect of timely prompting the invalidation of the subscription of the virtual service is realized.
As an optional scheme, before acquiring the resource subscription request triggered by the target account, the target account has subscribed to the second virtual service, and the second validation time corresponding to the subscribed second virtual service includes a second subscription start time and a second subscription end time, where after the virtual services in the target number in the virtual service set are respectively bound to the idle subscription stubs in the target number in the target subscription stub set, the method further includes:
s1, acquiring third validity time corresponding to a second virtual service subscribed to the target account in the virtual service set, wherein the third validity time comprises a third subscription starting time and a third subscription ending time;
s2, when the second effective time and the third effective time partially or completely overlap, adjusting the effective time corresponding to the second virtual service to a fourth effective time, where the fourth effective time includes a fourth subscription start time and a fourth subscription end time, the fourth subscription start time is equal to the second subscription start time, the fourth subscription end time is equal to the sum of the second subscription end time and the target subscription duration, and the target subscription duration is the duration from the third subscription start time to the third subscription end time.
Optionally, in this embodiment, since the target account may complete subscription to the same virtual service (assumed to be virtual service a) of the same application through different application platforms, if the target account subscribes to the same virtual service (assumed to be virtual service a) of the same application within the same or overlapping time in the subscription process, in order to avoid subscription accuracy of the virtual service, the target account performs integration processing on subscription aging information of the virtual service a through each application platform, so as to obtain subscription aging information with higher integrity.
For further example, an optional target account subscribes to the virtual service a in the target application at time 1 through the first application platform, and the expiration date of the subscription is time 3; based on this, it is assumed that the target account also subscribes to virtual service a in the target application at time 2 through the second application platform, and the expiration date of its subscription is time 4. In summary, for a first application platform, a subscription of virtual service a with time 1 to time 3 is provided for a target account, and for a second application platform, a subscription of virtual service a with time 2 to time 4 is provided for the target account, wherein, at time 1 to time 2, the first application platform and the second application platform are equivalent to providing the same virtual service for the target account, but only the subscription of the virtual service is reflected on the side of the target account, which may cause the problem of repeated subscription of the target account;
in this embodiment, the aging information of the virtual service a provided by the first application platform and the second application platform is integrated, the integrated aging information includes a start time (date 1) and an end time (date 5), and a time difference between the start time and the end time is a total aging time of the virtual service a provided by the first application platform and the second application platform (2+2 is 4).
According to the embodiment provided by the application, third generation time corresponding to a second virtual service subscribed to a target account in a virtual service set is obtained, wherein the third generation time comprises third subscription starting time and third subscription ending time; and under the condition that the second effective time and the third effective time are partially or completely overlapped, adjusting the effective time corresponding to the second virtual service to be a fourth effective time, wherein the fourth effective time comprises a fourth subscription starting time and a fourth subscription ending time, the fourth subscription starting time is equal to the second subscription starting time, the fourth subscription ending time is equal to the sum of the second subscription ending time and a target subscription duration, and the target subscription duration is the duration from the third subscription starting time to the third subscription ending time, so that the effect of reducing the probability of repeated subscriptions on the virtual service is realized.
As an optional solution, the method further comprises:
s1, creating a target virtual service in the target application;
s2, under the condition that the target virtual service is not bound with the subscription occupation seat, the target virtual service is set to be allowed to be subscribed by the account number in the target application.
For further example, optionally, for example, as shown in (c) in fig. 5, assuming that the virtual service a is a newly created target virtual service, in the case that the virtual service a is not bound to the subscription stub, the virtual service a may still be provided to the target account 406 for subscription as shown in (b) in fig. 5.
Through the embodiment provided by the application, the target virtual service in the target application is established; under the condition that the target virtual service is not bound with the subscription occupancy, the target virtual service is set to be allowed to be subscribed by the account in the target application, and the effect of improving the subscription range of the virtual service is achieved.
As an alternative, for convenience of understanding, a specific scenario for providing a subscription capability for a large number of anchor broadcasters is taken as an example to illustrate that the anchor has no corresponding fixed goods and dynamically binds as needed, for example, there are (n +2) anchor broadcasters, and when the user 1 subscribes to it, the system automatically selects one to allocate to the anchor according to the goods that the user does not use. The anchor to which the user can subscribe at the same time is an upper limit value of the number of placeholders that can be provided by the platform (for example, a single user can subscribe 10000 anchors at the same time), but the number of anchors is infinite, and reference can be made to the relationship among the anchor, the account, and the placeholder shown in fig. 12.
Further, the subscription process is described in detail:
user subscriptions generate mainly two relationship data: paying the subscription table and the virtual subscription table, clicking a subscription button 1302 shown in fig. 13, and starting to bind the anchor and commodity relationship in the background;
binding the anchor and the commodities: enabling the anchor, the user and the commodity ID to form a unique binding relationship, such as an ios user A, an anchor subscription X, an ios user A, an anchor subscription Y, an ios user B and an anchor subscription Y, and generating the binding relationship shown in the following table (1):
user A | Anchor X | | IAP merchandise | 1 |
User A | Anchor Y | | IAP merchandise | 2 |
User B | Anchor Y | | IAP merchandise | 1 |
Watch (1)
The main binding process is shown in fig. 14, and the specific steps are as follows:
s1402, starting association;
s1404, initializing zsel, and taking key as subscriptberUID;
s1406, acquiring a commodity list;
s1408, obtaining the commodity suscribber UID occupied by the suscribber: substriberpayinfo;
s1410, commodity occupancy, timestamp subscribe uid: substriberpayinfo.
After the subscription button 1302 shown in fig. 13 is clicked to establish a binding relationship, the UI pops up an interface for paying for the commodity, as shown in fig. 15, different channels have different payment interfaces, and the payment interface 1502 shown in fig. 15 is only one of the channel test examples, which is not limited herein.
After App payment, the live broadcast platform receives payment call-back of ios, Android, paypal and other channels, and informs that a certain commodity is paid, and the start time and the end time of the validity period. The live platform generates a subscription record (payment subscription table) as shown in the following table (2):
user ID | Anchor ID | Beginning validity period | End of validity period |
Watch (2)
Specifically, the payment callback processing process is shown in fig. 16, and the specific steps are as follows:
step S1602, pay subscription callback;
step S1604, acquiring the commodity occupied by the subscripter;
step S1606, update the goods, the time stamp, the automatic renewal state, the renewal period, the subscription uid: product ID;
step S1608, calculating a timeStart;
step S1610, update zset flag, key is subscriptberUID;
step S1612, updating rights and interests, wherein key is subscriber-streamer;
wherein "calculate timestamp" is the starting time to process the virtual subscription;
further, for the virtual subscription, for example, in the case that the user does not pay, the live broadcast platform may also generate a virtual subscription relationship (virtual subscription table), as shown in the following table (3):
user ID | Anchor ID | Starting time | Length of time |
Watch (3)
The flow of adding renewal is shown in fig. 17, and the specific steps are as follows:
step 1702, begin presenting;
step S1704, reading SQL: pre-storing days;
step S1706, determining whether a condition is satisfied, if yes, performing step S1708, and if no, performing step S1712;
step S1708, time Start is calculated;
step S1710, write SQL: updating the number of prestoring days;
step S1712, determining a result;
where "calculate timestamp" is the starting time to process the virtual subscription.
In the scenario of querying the rights and interests, when the user is active on the anchor platform, the records of the payment subscription and the virtual subscription can be queried, and whether the user has the rights and interests is determined by combining, as shown in a subscription interface 1802 shown in fig. 18.
In addition, in the abnormal processing scene, if the user A desires to subscribe to the same anchor at the same time in multiple payment channels, the user prepares to generate the binding relationship, and firstly inquires whether the subscription binding relationship exists and whether the payment subscription already exists (possibly subscribed in other channels), the existing subscription can be rejected, and the multiple channels are prevented from being repeatedly subscribed; or, the user A expects to subscribe to the same anchor in multiple payment channels, and due to the asynchronous operation characteristic of the user, the user can complete multi-channel payment at the same time, and for how to ensure that the rights and interests of the user after multi-channel payment are not damaged, the proposal is that when repeated payment occurs, the repeated subscription time is converted into an effective day and is stored into a virtual subscription. And when the valid period of the 'payment subscription' of the user is used up, activating the virtual subscription, and continuously enabling the rights and interests to be valid.
The processing flow of the repeated subscription is shown in fig. 19, and the specific steps are as follows:
step S1902, payment callback starts;
step S1904, query an existing payment subscription;
step 1906, determining whether the current value exists, if yes, executing step 1908, and if not, executing step 1910;
step 1908, store in the virtual subscription;
step S19010, the payment subscription is credited.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
According to another aspect of the embodiment of the present invention, there is also provided a virtual service subscription apparatus for implementing the virtual service subscription method. As shown in fig. 20, the apparatus includes:
a first obtaining unit 2002, configured to obtain a resource subscription request triggered by a target account, where the resource subscription request is used to request a subscription of a virtual service set in a target application for the target account, a number of virtual services in the virtual service set is a target number, and a number of virtual services allowed to be subscribed by the target account in the target application is a preset upper limit number;
a second obtaining unit 2004, configured to obtain the number of idle subscription stubs in the target subscription stub set, where the target subscription stub set is a subscription stub set provided by the target application for the target account, the idle subscription stubs are subscription stubs that are not bound to the virtual service subscribed by the target account, and the number of subscription stubs in the target subscription stub set is an upper limit number;
a first binding unit 2006, configured to bind, when the number of idle subscription stubs is greater than or equal to the target number, the target number of virtual services in the virtual service set with the target number of idle subscription stubs in the target subscription stub set, respectively, so as to subscribe the virtual service set to the target account.
Optionally, in this embodiment, the subscription device for the virtual service may be, but not limited to, applied in a subscription scenario of a virtual anchor, for example, the target application is used for providing a subscription of a service related to the virtual anchor for a user, but the subscription of the virtual anchor usually needs to depend on a subscription channel of a corresponding system, and the subscription channel often has a limited number, so that the number of the virtual anchors that can provide the subscription is also limited. By utilizing the subscription device of the virtual service, all virtual anchor in the target application can be displayed on the client of the user side, and the all virtual anchor can support subscription;
optionally, in this embodiment, the target application may be, but is not limited to, application software (APP for short) capable of providing a subscribed virtual service, and when the target application is published on a platform of a corresponding system (such as Android, IOS, and the like), a subscription process of the virtual service of the target application may be, but is not limited to, a subscription place holder provided by the platform, where the subscription place holder may be, but is not limited to, a channel providing functions such as subscription/payment of the virtual service for an account;
optionally, in this embodiment, the virtual service may include, but is not limited to, a virtual resource or a virtual right or a virtual commodity obtained by online payment/subscription, for example, a subscription account member (the subscription account member is equivalent to having opened a related right corresponding to the account member), a subscription virtual anchor (the subscription virtual anchor is equivalent to having opened an operation right for the virtual anchor, where the operation may include, but is not limited to, access, information interaction, information viewing, and the like), a subscription virtual commodity (the subscription virtual commodity is equivalent to obtaining a usage right of the virtual commodity through transfer of virtual money) and the like;
optionally, in this embodiment, the target number of virtual services in the virtual service set are respectively bound with the target number of idle subscription stubs in the target subscription stub set, which may be, but is not limited to, understanding that the virtual services and the subscription stubs are bound for the target account, or, binding the virtual services and the subscription stubs may also be, but is not limited to, understanding that the target account, the virtual services, and the subscription stubs are bound;
it should be noted that, by acquiring the resource subscription request again and establishing the binding relationship between the virtual service corresponding to the resource subscription request and the subscription occupancy, the user can select the subscription of the virtual service without limitation and the upper limit number of the subscription occupancy, and further, on the premise of not changing the number of the subscription occupancy, the virtual service with a larger range can be flexibly provided for the user.
For a specific embodiment, reference may be made to an example shown in the foregoing subscription method for a virtual service, and details are not described herein in this example.
According to the embodiment provided by the application, a resource subscription request triggered by a target account is acquired, wherein the resource subscription request is used for requesting to subscribe a virtual service set in a target application for the target account, the number of virtual services in the virtual service set is a target number, and the number of virtual services allowed to be subscribed by the target account in the target application is a preset upper limit number; acquiring the number of idle subscription placeholders in a target subscription placeholder set, wherein the target subscription placeholder set is a subscription placeholder set provided by a target application for a target account, the idle subscription placeholder is a subscription placeholder which is not bound with a virtual service subscribed by the target account, and the number of the subscription placeholders in the target subscription placeholder set is an upper limit number; under the condition that the number of the idle subscription occupancy is larger than or equal to the target number, the target number of virtual services in the virtual service set are respectively bound with the target number of the idle subscription occupancy in the target subscription occupancy set, so that the virtual service set is subscribed to the target account, the resource subscription request is obtained again, and the binding relationship between the virtual service corresponding to the resource subscription request and the subscription occupancy is established, so that the user can select the subscription of the virtual service without limitation to the upper limit number of the subscription occupancy, the purpose of flexibly providing a larger range of virtual services for the user on the premise of not changing the number of the subscription occupancy is achieved, and the technical effect of improving the subscription flexibility of the virtual service is realized.
As an optional solution, the first binding unit 2006 includes:
the first binding module is used for binding the virtual services in the virtual service set with the target number of idle subscription placeholders in the target subscription placeholder set respectively under the condition that each subscription placeholder in the target subscription placeholder set is not bound with one idle service in advance.
For a specific embodiment, reference may be made to an example shown in the foregoing subscription method for a virtual service, and details are not described herein in this example.
As an optional scheme, the apparatus further comprises: the second binding unit is used for binding an idle service for each subscription occupancy in the target subscription occupancy set in advance before acquiring the resource subscription request triggered by the target account;
the first binding unit includes: and the second binding module is used for binding the target number of virtual services with the target number of idle services respectively so as to establish a binding relationship among the target number of virtual services, the target number of idle subscription stubs and the target number of idle services, wherein the target number of idle services are idle services pre-bound by the target number of idle subscription stubs.
For a specific embodiment, reference may be made to an example shown in the foregoing subscription method for a virtual service, and details are not described herein in this example.
As an optional solution, the second binding unit includes at least one of:
the third binding module is used for binding an idle service for each subscription occupancy in the target subscription occupancy set in advance when the target application is published on the target application platform; or
And the fourth binding module is used for responding to the first binding instruction after the target application is released on the target application platform, and pre-binding an idle service for each subscription occupancy in the target subscription occupancy set.
For a specific embodiment, reference may be made to an example shown in the foregoing subscription method for a virtual service, and details are not described herein in this example.
As an optional solution, the second binding unit includes: a fifth binding module, configured to pre-bind an idle service for each subscription placeholder in the target subscription placeholder set on the target application platform, where the target application is published on the target application platform;
a second binding module comprising: and the first binding submodule is used for binding the virtual services with the target quantity with the idle services with the target quantity on the target application.
For a specific embodiment, reference may be made to an example shown in the foregoing subscription method for a virtual service, and details are not described herein in this example.
As an alternative, the second obtaining unit 2004 includes: the device comprises a first acquisition module, a first storage module and a second acquisition module, wherein the first acquisition module is used for acquiring the number of idle subscription placeholders in a plurality of application platforms, a target subscription placeholder set comprises subscription placeholders provided for a target account by a target application in the plurality of application platforms, and the target application is published on the plurality of application platforms;
the first binding unit 2006 includes: and a sixth binding module, configured to bind the target number of virtual services with the target number of idle subscription stubs in the multiple application platforms, respectively, when the number of idle subscription stubs in the multiple application platforms is greater than or equal to the target number.
For a specific embodiment, reference may be made to an example shown in the foregoing subscription method for a virtual service, and details are not described herein in this example.
As an optional solution, the sixth binding module includes:
the second binding submodule is used for binding the virtual services of the target number with the idle subscription occupancy of the target number in the first application platform respectively under the condition that the number of the idle subscription occupancy in the first application platform in the plurality of application platforms is greater than or equal to the target number;
and the third binding submodule is used for binding the virtual services of the target number with the idle subscription occupancy of the target number in the first application platform and the second application platform respectively under the condition that the number of the idle subscription occupancy in the first application platform is less than the target number and the number of the idle subscription occupancy in the first application platform and the second application platform is greater than or equal to the target number, wherein the plurality of application platforms comprise the second application platform.
For a specific embodiment, reference may be made to an example shown in the foregoing subscription method for a virtual service, and details are not described herein in this example.
As an alternative, the second obtaining unit 2004 includes: the second acquisition module is used for acquiring the number of idle subscription occupancy in the first application platform, wherein the target subscription occupancy set comprises subscription occupancy provided by the target application for the target account in the first application platform, and the target application is published on the first application platform;
the device still includes: a third obtaining unit, configured to obtain the number of idle subscription stubs in a second application platform when the number of idle subscription stubs in the first application platform is smaller than a target number, where the target application is published on the second application platform;
and the third binding unit is used for binding the virtual services with the target number of the idle subscription occupancy in the first application platform and the second application platform respectively under the condition that the number of the idle subscription occupancy in the first application platform and the second application platform is greater than or equal to the target number.
For a specific embodiment, reference may be made to an example shown in the foregoing subscription method for a virtual service, and details are not described herein in this example.
As an optional scheme, the apparatus further comprises:
the first display unit is configured to display first prompt information in the target application when the number of idle subscription stubs in the first application platform is smaller than a target number, where the first prompt information is used to prompt that the number of virtual services allowed to be subscribed in the target application on the first application platform by the target account is insufficient.
For a specific embodiment, reference may be made to an example shown in the foregoing subscription method for a virtual service, and details are not described herein in this example.
As an alternative, the method comprises the following steps:
after binding the virtual services of the target number in the virtual service set with the idle subscription placeholders of the target number in the target subscription placeholder set, acquiring first lifetime corresponding to a first virtual service subscribed to the target account in the virtual service set, wherein the first lifetime comprises first subscription starting time and first subscription ending time;
after the virtual services with the target quantity in the virtual service set are respectively bound with the idle subscription placeholders with the target quantity in the target subscription placeholder set, second prompt information is displayed under the condition that the current time reaches the subscription ending time, wherein the second prompt information is used for prompting that the first virtual service is stopped being subscribed to the target account.
For a specific embodiment, reference may be made to an example shown in the foregoing subscription method for a virtual service, and details are not described herein in this example.
As an optional scheme, before acquiring the resource subscription request triggered by the target account, the target account has subscribed to the second virtual service, and the second validation time corresponding to the subscribed second virtual service includes a second subscription start time and a second subscription end time, where after the virtual services in the target number in the virtual service set are respectively bound to the idle subscription stubs in the target number in the target subscription stub set, the apparatus further includes:
a fourth obtaining unit, configured to obtain a third validity time corresponding to a second virtual service subscribed to the target account in the virtual service set, where the third validity time includes a third subscription start time and a third subscription end time;
and the second display unit is used for adjusting the effective time corresponding to the second virtual service to a fourth effective time under the condition that the second effective time and the third effective time are partially or completely overlapped, wherein the fourth effective time comprises a fourth subscription starting time and a fourth subscription ending time, the fourth subscription starting time is equal to the second subscription starting time, the fourth subscription ending time is equal to the sum of the second subscription ending time and a target subscription duration, and the target subscription duration is the duration from the third subscription starting time to the third subscription ending time.
For a specific embodiment, reference may be made to an example shown in the foregoing subscription method for a virtual service, and details are not described herein in this example.
As an optional scheme, the apparatus further comprises:
a creating unit for creating a target virtual service in a target application;
the setting unit is used for setting the target virtual service as a subscription permission of an account in the target application under the condition that the target virtual service is not bound with the subscription occupancy.
For a specific embodiment, reference may be made to an example shown in the foregoing subscription method for a virtual service, and details are not described herein in this example.
According to another aspect of the embodiments of the present invention, there is also provided an electronic device for implementing the subscription method of the virtual service, as shown in fig. 21, the electronic device includes a memory 2102 and a processor 2104, the memory 2102 stores a computer program, and the processor 2104 is configured to execute the steps in any one of the above method embodiments through the computer program.
Optionally, in this embodiment, the electronic device may be located in at least one network device of a plurality of network devices of a computer network.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, acquiring a resource subscription request triggered by a target account, wherein the resource subscription request is used for requesting to subscribe a virtual service set in a target application for the target account, the number of virtual services in the virtual service set is a target number, and the number of virtual services allowed to be subscribed by the target account in the target application is a preset upper limit number;
s2, acquiring the number of idle subscription placeholders in the target subscription placeholder set, wherein the target subscription placeholder set is a subscription placeholder set provided by the target application for the target account, the idle subscription placeholders are subscription placeholders which are not bound with the virtual service subscribed by the target account, and the number of the subscription placeholders in the target subscription placeholder set is an upper limit number;
s3, when the number of the idle subscription stubs is greater than or equal to the target number, binding the target number of virtual services in the virtual service set with the target number of idle subscription stubs in the target subscription stub set, respectively, so as to subscribe the virtual service set to the target account.
Alternatively, it can be understood by those skilled in the art that the structure shown in fig. 21 is only an illustration, and the electronic device may also be a terminal device such as a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palmtop computer, a Mobile Internet Device (MID), a PAD, and the like. Fig. 21 is a diagram showing a structure of the electronic apparatus. For example, the electronic device may also include more or fewer components (e.g., network interfaces, etc.) than shown in FIG. 21, or have a different configuration than shown in FIG. 21.
The memory 2102 may be configured to store software programs and modules, such as program instructions/modules corresponding to the method and apparatus for subscribing to a virtual service in the embodiment of the present invention, and the processor 2104 executes various functional applications and data processing by running the software programs and modules stored in the memory 2102, so as to implement the above-mentioned method for subscribing to a virtual service. The memory 2102 may include high speed random access memory, and may also include 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 2102 may further include memory located remotely from the processor 2104, which may be connected to a terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof. The memory 2102 may be specifically, but not limited to, configured to store information such as a resource subscription request, a virtual service, and a subscription placeholder. As an example, as shown in fig. 21, the memory 2102 may include, but is not limited to, a first obtaining unit 2002, a second obtaining unit 2004, and a first binding unit 2006 in a subscription device including the virtual service. In addition, the device may further include, but is not limited to, other module units in the subscription device of the virtual service, which is not described in this example again.
Optionally, the transmission device 2106 is used for receiving or transmitting data via a network. Examples of the network may include a wired network and a wireless network. In one example, the transmission device 2106 includes a Network adapter (NIC) that can be connected to a router via a Network cable and other Network devices to communicate with the internet or a local area Network. In one example, the transmission device 2106 is a Radio Frequency (RF) module, which is used to communicate with the internet in a wireless manner.
In addition, the electronic device further includes: a display 2108, configured to display information such as the resource subscription request, the virtual service, and the subscription occupancy; and a connection bus 2110 for connecting the respective module parts in the electronic apparatus.
In other embodiments, the terminal device or the server may be a node in a distributed system, where the distributed system may be a blockchain system, and the blockchain system may be a distributed system formed by connecting a plurality of nodes through a network communication. The nodes may form a Peer-To-Peer (P2P) network, and any type of computing device, such as a server, a terminal, and other electronic devices, may become a node in the blockchain system by joining the Peer-To-Peer network.
According to an aspect of the application, a computer program product or computer program is provided, comprising computer instructions, the computer instructions being stored in a computer readable storage medium. A processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions to cause the computer device to perform the method for subscribing to a virtual service as described above, wherein the computer program is configured to execute the steps in any of the method embodiments described above.
Alternatively, in the present embodiment, the above-mentioned computer-readable storage medium may be configured to store a computer program for executing the steps of:
s1, acquiring a resource subscription request triggered by a target account, wherein the resource subscription request is used for requesting to subscribe a virtual service set in a target application for the target account, the number of virtual services in the virtual service set is a target number, and the number of virtual services allowed to be subscribed by the target account in the target application is a preset upper limit number;
s2, acquiring the number of idle subscription placeholders in the target subscription placeholder set, wherein the target subscription placeholder set is a subscription placeholder set provided by the target application for the target account, the idle subscription placeholders are subscription placeholders which are not bound with the virtual service subscribed by the target account, and the number of the subscription placeholders in the target subscription placeholder set is an upper limit number;
s3, when the number of the idle subscription stubs is greater than or equal to the target number, binding the target number of virtual services in the virtual service set with the target number of idle subscription stubs in the target subscription stub set, respectively, so as to subscribe the virtual service set to the target account.
Alternatively, in this embodiment, a person skilled in the art may understand that all or part of the steps in the methods of the foregoing embodiments may be implemented by a program instructing hardware associated with the terminal device, where the program may be stored in a computer-readable storage medium, and the storage medium may include: flash disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
The integrated unit in the above embodiments, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in the above computer-readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing one or more computer devices (which may be personal computers, servers, network devices, etc.) to execute all or part of the steps of the method according to the embodiments of the present invention.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.
Claims (15)
1. A subscription method for virtual services, comprising:
acquiring a resource subscription request triggered by a target account, wherein the resource subscription request is used for requesting to subscribe a virtual service set in a target application for the target account, the number of virtual services in the virtual service set is a target number, and the number of virtual services allowed to be subscribed by the target account in the target application is a preset upper limit number;
acquiring the number of idle subscription placeholders in a target subscription placeholder set, wherein the target subscription placeholder set is a subscription placeholder set provided by the target application for the target account, the idle subscription placeholder is a subscription placeholder which is not bound with the virtual service subscribed by the target account, and the number of the subscription placeholders in the target subscription placeholder set is the upper limit number;
and binding the target number of virtual services in the virtual service set with the target number of idle subscription stubs in the target subscription stub set respectively under the condition that the number of the idle subscription stubs is greater than or equal to the target number, so that the virtual service set is subscribed to the target account.
2. The method of claim 1, wherein the binding the virtual services in the set of virtual services to the target number of free subscription stubs in the set of target subscription stubs comprises:
and under the condition that each subscription occupancy in the target subscription occupancy set is not bound with one idle service in advance, binding the virtual service in the virtual service set with the idle subscription occupancy of the target number in the target subscription occupancy set respectively.
3. The method of claim 1,
before the acquiring the resource subscription request triggered by the target account, the method further includes: binding an idle service for each subscription occupancy in the target subscription occupancy set in advance;
the binding the target number of virtual services in the virtual service set with the target number of idle subscription stubs in the target subscription stub set respectively includes:
and binding the target number of virtual services with the target number of idle services respectively to establish a binding relationship among the target number of virtual services, the target number of idle subscription stubs, and the target number of idle services, wherein the target number of idle services are idle services pre-bound by the target number of idle subscription stubs.
4. The method of claim 3, wherein pre-binding each subscription placeholder in the target set of subscription placeholders with an idle service comprises at least one of:
when the target application is published on a target application platform, binding an idle service for each subscription placeholder in the target subscription placeholder set in advance; or
After the target application is published on the target application platform, in response to a first binding instruction, pre-binding an idle service for each subscription placeholder in the set of target subscription placeholders.
5. The method of claim 3,
the pre-binding of an idle service for each subscription placeholder in the target subscription placeholder set comprises: pre-binding an idle service for each subscription placeholder in the set of target subscription placeholders on a target application platform, wherein the target application is published on the target application platform;
the binding the target number of virtual services with the target number of idle services respectively includes: and binding the virtual services of the target quantity with the idle services of the target quantity on the target application respectively.
6. The method of claim 1,
the obtaining the number of idle subscription stubs in the target subscription stub set includes: acquiring the number of idle subscription placeholders in a plurality of application platforms, wherein the target subscription placeholder set comprises the subscription placeholders provided by the target application for the target account in the plurality of application platforms, and the target application is published on the plurality of application platforms;
the binding the target number of virtual services in the virtual service set with the target number of idle subscription stubs in the target subscription stub set respectively includes:
and binding the target number of virtual services with the target number of idle subscription stubs in the plurality of application platforms respectively when the number of idle subscription stubs in the plurality of application platforms is greater than or equal to the target number.
7. The method of claim 6, wherein binding the target number of virtual services to the target number of free subscription stubs in the plurality of application platforms respectively comprises:
binding the target number of virtual services with the target number of idle subscription stubs in a first application platform of the plurality of application platforms respectively when the number of idle subscription stubs in the first application platform is greater than or equal to the target number;
and binding the target number of virtual services with the target number of idle subscription stubs in the first application platform and the second application platform respectively under the condition that the number of idle subscription stubs in the first application platform is less than the target number and the number of idle subscription stubs in the first application platform and the second application platform is greater than or equal to the target number, wherein the plurality of application platforms comprise the second application platform.
8. The method of claim 1,
the obtaining the number of idle subscription stubs in the target subscription stub set includes: acquiring the number of idle subscription occupancy in a first application platform, wherein the target subscription occupancy set comprises the subscription occupancy provided by the target application for the target account in the first application platform, and the target application is published on the first application platform;
the method further comprises the following steps: acquiring the number of idle subscription stubs in a second application platform under the condition that the number of idle subscription stubs in the first application platform is smaller than the target number, wherein the target application is published on the second application platform; and binding the target number of virtual services with the target number of idle subscription stubs in the first application platform and the second application platform respectively under the condition that the number of idle subscription stubs in the first application platform and the second application platform is greater than or equal to the target number.
9. The method of claim 8, further comprising:
and displaying first prompt information in the target application under the condition that the number of idle subscription occupation sites in the first application platform is smaller than the target number, wherein the first prompt information is used for prompting that the number of virtual services allowed to be subscribed in the target application of the target account on the first application platform is insufficient.
10. The method according to any of claims 1 to 9, wherein after said binding said target number of virtual services in said set of virtual services with said target number of free subscription stubs in said set of target subscription stubs, respectively, comprises:
acquiring first life time corresponding to a first virtual service subscribed to the target account in the virtual service set, wherein the first life time comprises first subscription starting time and first subscription ending time;
and displaying second prompt information under the condition that the current time reaches the subscription ending time, wherein the second prompt information is used for prompting that the first virtual service is stopped being subscribed to the target account.
11. The method according to any one of claims 1 to 9, wherein before the acquiring of the resource subscription request triggered by the target account, the target account has subscribed to a second virtual service, and a second validation time corresponding to the subscribed second virtual service includes a second subscription start time and a second subscription end time, wherein after the binding of the target number of virtual services in the virtual service set with the target number of free subscription stubs in the target subscription stub set, respectively, the method further comprises:
acquiring third generation time corresponding to the second virtual service subscribed to the target account in the virtual service set, wherein the third generation time comprises third subscription starting time and third subscription ending time;
and under the condition that the second effective time and the third effective time are partially or completely overlapped, adjusting the effective time corresponding to the second virtual service to a fourth effective time, wherein the fourth effective time comprises a fourth subscription starting time and a fourth subscription ending time, the fourth subscription starting time is equal to the second subscription starting time, the fourth subscription ending time is equal to the sum of the second subscription ending time and a target subscription duration, and the target subscription duration is the duration from the third subscription starting time to the third subscription ending time.
12. The method according to any one of claims 1 to 9, further comprising:
creating a target virtual service in the target application;
and under the condition that the target virtual service is not bound with the subscription occupancy, setting the target virtual service to be allowed to be subscribed by an account in the target application.
13. An apparatus for subscribing to a virtual service, comprising:
a first obtaining unit, configured to obtain a resource subscription request triggered by a target account, where the resource subscription request is used to request a subscription for the target account to a virtual service set in a target application, a number of virtual services in the virtual service set is a target number, and a number of virtual services allowed to be subscribed by the target account in the target application is a preset upper limit number;
a second obtaining unit, configured to obtain a number of idle subscription stubs in a target subscription stub set, where the target subscription stub set is a subscription stub set provided by the target application for the target account, the idle subscription stubs are subscription stubs that are not bound to the virtual service subscribed by the target account, and the number of subscription stubs in the target subscription stub set is the upper limit number;
a binding unit, configured to bind, when the number of the idle subscription stubs is greater than or equal to the target number, the target number of virtual services in the virtual service set with the target number of idle subscription stubs in the target subscription stub set, respectively, so as to subscribe the virtual service set to the target account.
14. A computer-readable storage medium, comprising a stored program, wherein the program is operable to perform the method of any one of claims 1 to 12.
15. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method of any of claims 1 to 12 by means of the computer program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110554297.6A CN113259444B (en) | 2021-05-20 | 2021-05-20 | Virtual service subscription method and device, storage medium and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110554297.6A CN113259444B (en) | 2021-05-20 | 2021-05-20 | Virtual service subscription method and device, storage medium and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113259444A true CN113259444A (en) | 2021-08-13 |
CN113259444B CN113259444B (en) | 2022-11-04 |
Family
ID=77183194
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110554297.6A Active CN113259444B (en) | 2021-05-20 | 2021-05-20 | Virtual service subscription method and device, storage medium and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113259444B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105978888A (en) * | 2016-06-20 | 2016-09-28 | 郝运峰 | Live broadcast studio virtual present recommendation method and system |
CN110809024A (en) * | 2019-09-27 | 2020-02-18 | 口碑(上海)信息技术有限公司 | Service resource providing method and device and subscription package providing method and device |
CN110875935A (en) * | 2018-08-30 | 2020-03-10 | 阿里巴巴集团控股有限公司 | Message publishing, processing and subscribing method, device and system |
US20200204980A1 (en) * | 2017-08-29 | 2020-06-25 | Telefonakiebolaget Lm Ericsson (Publ) | Method and device for subscribing social network service |
US20210044503A1 (en) * | 2018-06-26 | 2021-02-11 | Intel Corporation | Oversubscribable resource allocation |
-
2021
- 2021-05-20 CN CN202110554297.6A patent/CN113259444B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105978888A (en) * | 2016-06-20 | 2016-09-28 | 郝运峰 | Live broadcast studio virtual present recommendation method and system |
US20200204980A1 (en) * | 2017-08-29 | 2020-06-25 | Telefonakiebolaget Lm Ericsson (Publ) | Method and device for subscribing social network service |
US20210044503A1 (en) * | 2018-06-26 | 2021-02-11 | Intel Corporation | Oversubscribable resource allocation |
CN110875935A (en) * | 2018-08-30 | 2020-03-10 | 阿里巴巴集团控股有限公司 | Message publishing, processing and subscribing method, device and system |
CN110809024A (en) * | 2019-09-27 | 2020-02-18 | 口碑(上海)信息技术有限公司 | Service resource providing method and device and subscription package providing method and device |
Also Published As
Publication number | Publication date |
---|---|
CN113259444B (en) | 2022-11-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10803495B2 (en) | Advertising creative processing method, advertising creative processing apparatus, and storage medium | |
CA2674119C (en) | Methods and systems for mapping subscription filters to advertisement applications | |
JP6306187B2 (en) | Dynamic telephone number assignment | |
CN103368986A (en) | Information recommendation method and information recommendation device | |
JP2017539103A (en) | Method, apparatus, server, and system for synchronizing member gain among multiple apparatuses | |
CN108122124B (en) | Information pushing method, platform and system | |
EP2804406B1 (en) | Method and apparatus for Real Time Bidding RTB | |
KR101344910B1 (en) | System and method for linking document between services based on cloud | |
KR20130005057A (en) | Document link system for aligning copied document onto clipboard based on cloud and displaying document and services linkable with document and method thereof | |
CN101998282B (en) | For providing the advertisement terminal and method that user customizes mobile advertisement service | |
CA2674139C (en) | Methods and systems to use data facade subscription filters for advertisement purposes | |
US9264669B2 (en) | Content management that addresses levels of functionality | |
CN113259444B (en) | Virtual service subscription method and device, storage medium and electronic equipment | |
US20140236733A1 (en) | Interactive multilingual advertisement system, and method for driving same | |
CN114979695B (en) | SRS-based multi-process live broadcast method and device, electronic equipment and storage medium | |
KR20130089900A (en) | Method for simultaneously processing advertisement material at internet mobile device | |
CN113132928B (en) | Charging method and device for video short message service | |
CN111314462A (en) | Resource processing method, device and storage medium | |
CN114372813A (en) | Information popularization method and device, server and storage medium | |
CN114222152B (en) | Virtual gift interaction method and device for urban popularization and computer equipment | |
CN114245223B (en) | Live broadcasting room task loading method, system, device and computer equipment | |
CN114302162B (en) | Message bubble display method, system and device and computer equipment | |
CN114205651B (en) | Resource processing method, device, equipment and storage medium | |
AU2016354677A1 (en) | A method and system for distributing electronic publishing content | |
JP2015187793A (en) | Notice information sharing server, notice information sharing system and notice information sharing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
REG | Reference to a national code |
Ref country code: HK Ref legal event code: DE Ref document number: 40050102 Country of ref document: HK |
|
GR01 | Patent grant | ||
GR01 | Patent grant |