CN117035858A - Article entitlement certificate method, apparatus, electronic device and storage medium - Google Patents
Article entitlement certificate method, apparatus, electronic device and storage medium Download PDFInfo
- Publication number
- CN117035858A CN117035858A CN202311001779.4A CN202311001779A CN117035858A CN 117035858 A CN117035858 A CN 117035858A CN 202311001779 A CN202311001779 A CN 202311001779A CN 117035858 A CN117035858 A CN 117035858A
- Authority
- CN
- China
- Prior art keywords
- reserved resources
- local
- item
- rights certificate
- item rights
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 68
- 238000004590 computer program Methods 0.000 claims description 4
- 238000005516 engineering process Methods 0.000 description 10
- 238000004891 communication Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 3
- 230000003247 decreasing effect Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000001681 protective effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0207—Discounts or incentives, e.g. coupons or rebates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Strategic Management (AREA)
- Engineering & Computer Science (AREA)
- Development Economics (AREA)
- Marketing (AREA)
- Economics (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Game Theory and Decision Science (AREA)
- Entrepreneurship & Innovation (AREA)
- Storage Device Security (AREA)
Abstract
Description
技术领域Technical field
本公开涉及数据处理技术领域,尤其涉及一种物品权利凭证方法、装置、电子设备及计算机可读存储介质。The present disclosure relates to the field of data processing technology, and in particular to an item rights certificate method, device, electronic equipment and computer-readable storage medium.
背景技术Background technique
在电商营销系统中,会有一些营销活动,对用户进行优惠券、红包等投放,用户可选择需要领取的物品权利凭证,对于一些热门的优惠券、红包等,会出现高并发抢券、抢红包的场景,多数为使用门槛低,优惠力度大的优惠券、红包等。这些系统中,都需要计算机系统和技术来实现。In the e-commerce marketing system, there will be some marketing activities to deliver coupons, red envelopes, etc. to users. Users can choose the item rights certificates they need to receive. For some popular coupons, red envelopes, etc., there will be high concurrent coupon grabbing, Most of the scenarios for grabbing red envelopes are coupons, red envelopes, etc. with low threshold for use and high discounts. These systems require computer systems and technology to be implemented.
相关技术中,使用redis数据库来实现预算控制,但现有数据库只能支持到一万上下并发,无法支持如此高的并发,可领查询性能低,甚至在如此大的并发场景下也会导致redis服务不可用。In related technologies, the redis database is used to achieve budget control. However, the existing database can only support up to 10,000 concurrencies and cannot support such high concurrency. The query performance is low, and even in such a large concurrency scenario, redis will fail. service is not available.
需要说明的是,在上述背景技术部分公开的信息仅用于加强对本公开的背景的理解,因此可以包括不构成对本领域普通技术人员已知的现有技术的信息。It should be noted that the information disclosed in the above background section is only used to enhance understanding of the background of the present disclosure, and therefore may include information that does not constitute prior art known to those of ordinary skill in the art.
发明内容Contents of the invention
本公开提供一种物品权利凭证方法、装置、电子设备及计算机可读存储介质,至少在一定程度上克服相关技术中物品权利凭证可领查询性能低的问题。The present disclosure provides an article rights certificate method, device, electronic equipment and computer-readable storage medium, which at least to a certain extent overcomes the problem of low query performance of article rights certificates in related technologies.
本公开的其他特性和优点将通过下面的详细描述变得显然,或部分地通过本公开的实践而习得。Additional features and advantages of the disclosure will be apparent from the following detailed description, or, in part, may be learned by practice of the disclosure.
根据本公开的一个方面,提供一种物品权利凭证查询方法,包括:接收用户发送的物品权利凭证查询请求,其中,所述物品权利凭证查询请求包括物品权利凭证预留资源;当所述物品权利凭证预留资源小于或等于本地预留资源时,从所述本地预留资源中扣除所述物品权利凭证预留资源,向用户返回物品可领信息;当所述物品权利凭证预留资源大于所述本地预留资源,且所述物品权利凭证预留资源小于或等于总预留资源时,更新所述本地预留资源,从所述本地预留资源中扣除所述物品权利凭证预留资源,向用户返回物品可领信息。According to one aspect of the present disclosure, a method for querying item rights certificates is provided, including: receiving an item rights certificate query request sent by a user, wherein the query request for item rights certificates includes reserved resources for item rights certificates; when the item rights certificate When the reserved resources for the voucher are less than or equal to the local reserved resources, the reserved resources for the item rights voucher are deducted from the local reserved resources, and the item obtainable information is returned to the user; when the reserved resources for the item rights voucher are greater than the reserved resources for the item, When the local reserved resources are described above, and the reserved resources for item rights certificates are less than or equal to the total reserved resources, the local reserved resources are updated, and the reserved resources for item rights certificates are deducted from the local reserved resources, Returns item availability information to the user.
在本公开的一个实施例中,所述当所述物品权利凭证预留资源大于所述本地预留资源,且所述物品权利凭证预留资源小于或等于总预留资源时,更新所述本地预留资源,从所述本地预留资源中扣除所述物品权利凭证预留资源,向用户返回物品可领信息包括:当所述物品权利凭证预留资源大于所述本地预留资源,且所述物品权利凭证预留资源小于或等于总预留资源时,根据所述总预留资源、本地集群数量或本地预留资源确定更新预留资源,其中,所述更新预留资源大于或等于所述物品权利凭证预留资源;根据所述更新预留资源,更新所述本地预留资源。In one embodiment of the present disclosure, when the reserved resources of the item rights certificate are greater than the local reserved resources, and the reserved resources of the item rights certificate are less than or equal to the total reserved resources, the local reserved resources are updated. Reserve resources, deduct the item rights certificate reserved resources from the local reserved resources, and return item availability information to the user includes: when the item rights certificate reserved resources are greater than the local reserved resources, and all When the reserved resources of the item rights certificate are less than or equal to the total reserved resources, the updated reserved resources are determined based on the total reserved resources, the number of local clusters or the local reserved resources, wherein the updated reserved resources are greater than or equal to the total reserved resources. Reserve resources for the item rights certificate; update the local reserved resources according to the updated reserved resources.
在本公开的一个实施例中,还包括:获取多个本地集群节点的本地预占分布信息,其中,所述本地预占分布信息包括:所述本地预留资源及所述更新预留资源;根据所述本地预占分布信息,调整所述本地预留资源或本地集群节点数量。In one embodiment of the present disclosure, the method further includes: obtaining local reservation distribution information of multiple local cluster nodes, wherein the local reservation distribution information includes: the local reserved resources and the updated reserved resources; Adjust the local reserved resources or the number of local cluster nodes according to the local reservation distribution information.
在本公开的一个实施例中,还包括:当所述物品权利凭证预留资源大于所述总预留资源时,向用户返回物品不可领信息,并将不更新信息发送至本地集群节点。In one embodiment of the present disclosure, the method further includes: when the reserved resource of the item rights certificate is greater than the total reserved resource, returning information that the item cannot be claimed to the user, and sending the non-updated information to the local cluster node.
在本公开的一个实施例中,还包括:当未接收到所述不更新信息时,判断所述物品权利凭证预留资源是否大于所述本地预留资源。In one embodiment of the present disclosure, the method further includes: when the non-update information is not received, determining whether the item rights certificate reserved resources are greater than the local reserved resources.
在本公开的一个实施例中,还包括:接收用户发送的物品权利凭证领取请求,其中,所述物品权利凭证领取请求包括物品权利凭证预留资源;当所述总预留资源成功扣除所述物品权利凭证预留资源时,向用户发放物品权利凭证。In one embodiment of the present disclosure, the method further includes: receiving an item rights certificate request sent by the user, wherein the item rights certificate request includes an item rights certificate reserved resource; when the total reserved resources are successfully deducted from the Item Rights Voucher When reserving resources, the item rights voucher is issued to the user.
在本公开的一个实施例中,所述当所述物品权利凭证预留资源大于所述本地预留资源,且所述物品权利凭证预留资源小于或等于总预留资源时,更新所述本地预留资源,从所述本地预留资源中扣除所述物品权利凭证预留资源,向用户返回物品可领信息包括:当所述物品权利凭证预留资源大于所述本地预留资源,且所述物品权利凭证预留资源小于或等于总预留资源时,更新所述本地预留资源;从所述本地预留资源中扣除所述物品权利凭证预留资源;当用户满足领取条件时,向用户返回物品可领信息。In one embodiment of the present disclosure, when the reserved resources of the item rights certificate are greater than the local reserved resources, and the reserved resources of the item rights certificate are less than or equal to the total reserved resources, the local reserved resources are updated. Reserve resources, deduct the item rights certificate reserved resources from the local reserved resources, and return item availability information to the user includes: when the item rights certificate reserved resources are greater than the local reserved resources, and all When the reserved resources for the item rights certificate are less than or equal to the total reserved resources, update the local reserved resources; deduct the reserved resources for the item rights certificate from the local reserved resources; when the user meets the requirements for collection, The user returns the item availability information.
根据本公开的另一个方面,还提供了一种物品权利凭证查询装置,包括:凭证查询模块、第一反馈模块及第二反馈模块;According to another aspect of the present disclosure, an item rights certificate inquiry device is also provided, including: a certificate inquiry module, a first feedback module and a second feedback module;
凭证查询模块,接收用户发送的物品权利凭证查询请求,其中,所述物品权利凭证查询请求包括物品权利凭证预留资源;The voucher query module receives the item rights voucher query request sent by the user, wherein the item rights voucher query request includes the item rights voucher reserved resources;
第一反馈模块,当所述物品权利凭证预留资源小于或等于本地预留资源时,从所述本地预留资源中扣除所述物品权利凭证预留资源,向用户返回物品可领信息;The first feedback module, when the reserved resources for the item rights certificate are less than or equal to the local reserved resources, deducts the reserved resources for the item rights certificate from the local reserved resources and returns the item availability information to the user;
第二反馈模块,当所述物品权利凭证预留资源大于所述本地预留资源,且所述物品权利凭证预留资源小于或等于总预留资源时,更新所述本地预留资源,从所述本地预留资源中扣除所述物品权利凭证预留资源,向用户返回物品可领信息。The second feedback module updates the local reserved resources when the reserved resources for the item rights certificate are greater than the local reserved resources and the reserved resources for the item rights certificate are less than or equal to the total reserved resources. The item rights certificate reserved resources are deducted from the local reserved resources, and the item availability information is returned to the user.
根据本公开的另一个方面,还提供了一种电子设备,包括:处理器;以及存储器,用于存储所述处理器的可执行指令;其中,所述处理器配置为经由执行所述可执行指令来执行上述任意一项所述物品权利凭证查询方法。According to another aspect of the present disclosure, an electronic device is also provided, including: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute the executable instructions via Instructions to execute any of the above item rights certificate query methods.
根据本公开的另一个方面,还提供了一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述任意一项所述的物品权利凭证查询方法。According to another aspect of the present disclosure, a computer-readable storage medium is also provided, on which a computer program is stored. When the computer program is executed by a processor, it implements any one of the above item rights certificate query methods.
本公开的实施例所提供的物品权利凭证方法、装置、电子设备及计算机可读存储介质,接收用户发送的包含物品权利凭证预留资源的物品权利凭证查询请求,当物品权利凭证预留资源小于或等于本地预留资源时,从本地预留资源中扣除物品权利凭证预留资源,向用户返回物品可领信息;当物品权利凭证预留资源大于本地预留资源,且物品权利凭证预留资源小于或等于总预留资源时,本地集群节点从redis的总预留资源获取预留资源,并更新本地预留资源,从本地预留资源中扣除物品权利凭证预留资源,向用户返回物品可领信息;通过多个本地集群节点并发处理物品权利凭证查询请求,在一定条件下扣除物品权利凭证预留资源,能支持高并发场景,精准控制预算,提高物品权利凭证可领查询性能。The article rights certificate method, device, electronic device and computer-readable storage medium provided by the embodiments of the present disclosure receive an article rights certificate inquiry request containing the article rights certificate reserved resources sent by the user. When the article rights certificate reserved resources are less than or equal to the local reserved resources, deduct the item rights certificate reserved resources from the local reserved resources, and return the item obtainable information to the user; when the item rights certificate reserved resources are greater than the local reserved resources, and the item rights certificate reserved resources When it is less than or equal to the total reserved resources, the local cluster node obtains the reserved resources from the total reserved resources of redis, updates the local reserved resources, deducts the item rights certificate reserved resources from the local reserved resources, and returns the item's available resources to the user. Receipt information; concurrently process item rights certificate query requests through multiple local cluster nodes, and deduct item rights certificate reserved resources under certain conditions, which can support high concurrency scenarios, accurately control budgets, and improve the query performance of item rights certificate receivables.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only, and do not limit the present disclosure.
附图说明Description of the drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。显而易见地,下面描述中的附图仅仅是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure. Obviously, the drawings in the following description are only some embodiments of the present disclosure. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without exerting creative efforts.
图1示出本公开实施例中一种物品权利凭证查询方法流程图;Figure 1 shows a flow chart of an item rights certificate query method in an embodiment of the present disclosure;
图2示出本公开实施例中一种本地预留资源更新方法流程图;Figure 2 shows a flow chart of a local reserved resource update method in an embodiment of the present disclosure;
图3示出本公开实施例中一种更新预留资源确定方法流程图;Figure 3 shows a flow chart of a method for determining updated reserved resources in an embodiment of the present disclosure;
图4示出本公开实施例中一种物品可领信息反馈方法流程图;Figure 4 shows a flow chart of a method for feedback of item availability information in an embodiment of the present disclosure;
图5示出本公开实施例中一种预留资源调整方法流程图;Figure 5 shows a flow chart of a reserved resource adjustment method in an embodiment of the present disclosure;
图6示出本公开实施例中一种预留资源解除方法流程图;Figure 6 shows a flow chart of a method for releasing reserved resources in an embodiment of the present disclosure;
图7示出本公开实施例中又一种物品权利凭证查询方法流程图;Figure 7 shows a flow chart of another method for querying item rights certificates in an embodiment of the present disclosure;
图8示出本公开实施例中一种物品权利凭证查询装置示意图;Figure 8 shows a schematic diagram of an item rights certificate query device in an embodiment of the present disclosure;
图9示出了可以应用于本公开实施例的物品权利凭证查询方法或物品权利凭证查询装置的示例性系统架构的示意图;和Figure 9 shows a schematic diagram of an exemplary system architecture of an item rights certificate query method or an item rights certificate query device that can be applied to embodiments of the present disclosure; and
图10示出本公开实施例中一种电子设备的结构框图。Figure 10 shows a structural block diagram of an electronic device in an embodiment of the present disclosure.
具体实施方式Detailed ways
现在将参考附图更全面地描述示例实施方式。然而,示例实施方式能够以多种形式实施,且不应被理解为限于在此阐述的范例;相反,提供这些实施方式使得本公开将更加全面和完整,并将示例实施方式的构思全面地传达给本领域的技术人员。所描述的特征、结构或特性可以以任何合适的方式结合在一个或更多实施方式中。Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in various forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concepts of the example embodiments. To those skilled in the art. The described features, structures or characteristics may be combined in any suitable manner in one or more embodiments.
此外,附图仅为本公开的示意性图解,并非一定是按比例绘制。图中相同的附图标记表示相同或类似的部分,因而将省略对它们的重复描述。附图中所示的一些方框图是功能实体,不一定必须与物理或逻辑上独立的实体相对应。可以采用软件形式来实现这些功能实体,或在一个或多个硬件模块或集成电路中实现这些功能实体,或在不同网络和/或处理器装置和/或微控制器装置中实现这些功能实体。Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings represent the same or similar parts, and thus their repeated description will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and/or processor devices and/or microcontroller devices.
下面结合附图及实施例对本示例实施方式进行详细说明。This exemplary implementation will be described in detail below with reference to the drawings and examples.
首先,本公开实施例中提供了一种物品权利凭证查询方法,该方法可以由任意具备计算处理能力的电子设备执行。First, the embodiment of the present disclosure provides a method for querying item rights certificates, which can be executed by any electronic device with computing processing capabilities.
图1示出本公开实施例中一种物品权利凭证查询方法流程图,如图1所示,本公开实施例中提供的物品权利凭证查询方法包括如下步骤:Figure 1 shows a flow chart of a method for querying item rights certificates in an embodiment of the present disclosure. As shown in Figure 1, the method for querying article rights certificates provided in an embodiment of the present disclosure includes the following steps:
S102,接收用户发送的物品权利凭证查询请求,其中,物品权利凭证查询请求包括物品权利凭证预留资源。S102. Receive an item rights certificate inquiry request sent by the user, where the item rights certificate inquiry request includes an item rights certificate reserved resource.
物品权利凭证为证明物品权利的凭证;物品权利凭证包括但不限于:优惠券、红包、物品电子凭证等;物品电子凭证为物品对应的二维码,可通过扫描二维码确定物品优惠等信息。The item rights certificate is a certificate that proves the item rights; the item rights certificate includes but is not limited to: coupons, red envelopes, electronic item vouchers, etc.; the item electronic voucher is the QR code corresponding to the item, and information such as item discounts can be determined by scanning the QR code .
在一个实施例中,预留资源包括但不限于:金额、数量;例如,当预留资源为金额时,物品权利凭证预留资源为N元,本地预留资源为M,则当N小于或等于M,扣除物品权利凭证预留资源后的本地预留资源为M-N,并向用户返回物品可领信息;当预留资源为数量时,物品权利凭证预留资源为E个,本地预留资源为F个,则当E小于或等于F,扣除物品权利凭证预留资源后的本地预留资源为F-E,并向用户返回物品可领信息。In one embodiment, the reserved resources include but are not limited to: amount and quantity; for example, when the reserved resources are the amount, the reserved resources for the item rights certificate are N yuan, and the local reserved resources are M, then when N is less than or Equal to M, the local reserved resources after deducting the resources reserved by the item rights certificate are M-N, and the item obtainable information is returned to the user; when the reserved resources are quantity, the resources reserved by the item rights certificate are E, and the local reserved resources is F, then when E is less than or equal to F, the local reserved resources after deducting the reserved resources for the item rights certificate are F-E, and the item availability information is returned to the user.
S104,当物品权利凭证预留资源小于或等于本地预留资源时,从本地预留资源中扣除物品权利凭证预留资源,向用户返回物品可领信息。S104. When the reserved resources for the item rights certificate are less than or equal to the local reserved resources, the reserved resources for the item rights certificate are deducted from the local reserved resources, and the item obtainable information is returned to the user.
本地预留资源是每个本地集群节点对应的预留资源;物品可领信息是向用户返回的可以领取物品权利的反馈信息,例如,可获取优惠券、红包等。Local reserved resources are reserved resources corresponding to each local cluster node; item availability information is feedback information returned to the user about the right to receive items, for example, coupons, red envelopes, etc. can be obtained.
在一个实施例中,先查询本地预留资源是否充足,若物品权利凭证预留资源小于或等于本地预留资源,则表征本地预留资源充足,从本地预留资源中扣除物品权利凭证预留资源,向用户返回物品可领信息。In one embodiment, first check whether the local reserved resources are sufficient. If the reserved resources for item rights certificates are less than or equal to the local reserved resources, it means that the local reserved resources are sufficient, and the reserved resources for item rights certificates are deducted from the local reserved resources. Resource, returns the item availability information to the user.
S106,当物品权利凭证预留资源大于本地预留资源,且物品权利凭证预留资源小于或等于总预留资源时,更新本地预留资源,从本地预留资源中扣除物品权利凭证预留资源,向用户返回物品可领信息。S106. When the reserved resources for the item rights certificate are greater than the local reserved resources, and the reserved resources for the item rights certificate are less than or equal to the total reserved resources, update the local reserved resources and deduct the reserved resources for the item rights certificate from the local reserved resources. , returns the item availability information to the user.
总预留资源为用户可以支配的资源,当本地预留资源不足时,可从redis总预留资源获取预留资源,则总预留资源扣减本地预留资源获取的预留资源;例如,总预留资源为W,本地预留资源为V,本地资源不足,从总预留资源获取预留资源X,则本地预留资源为V+X,总预留资源为W-X。The total reserved resources are resources at the user's disposal. When the local reserved resources are insufficient, the reserved resources can be obtained from the redis total reserved resources, and the total reserved resources are deducted from the reserved resources obtained from the local reserved resources; for example, The total reserved resources are W and the local reserved resources are V. If the local resources are insufficient and the reserved resources X are obtained from the total reserved resources, the local reserved resources are V+X and the total reserved resources are W-X.
在一个实施例中,先查询本地预留资源是否充足,若物品权利凭证预留资源大于本地预留资源,则表征本地预留资源不充足,再查询总预留资源是否充足,若依旧不充足,则向用户返回物品不可领信息,并将不更新信息发送至本地集群节点。In one embodiment, first check whether the local reserved resources are sufficient. If the reserved resources of the item rights certificate are greater than the local reserved resources, it means that the local reserved resources are insufficient. Then check whether the total reserved resources are sufficient. If it is still insufficient, , then the item unavailable information is returned to the user, and the unupdated information is sent to the local cluster node.
不更新信息是为标记本地预留资源耗尽不可更新的信息,当本地集群节点收到该不更新信息后,当再次接收到包含物品权利凭证预留资源的物品权利凭证查询请求时,直接返回物品不可领信息,即不可以领取物品权利的反馈信息。The non-update information is used to mark that the local reserved resources are exhausted and cannot be updated. When the local cluster node receives the non-update information, it will return directly when it receives an item rights certificate query request containing the item rights certificate reserved resources again. The information that the item cannot be claimed is the feedback information that the rights of the item cannot be claimed.
在一个实施例中,本地集群节点接收到不更新信息,就不再查询本地预留资源是否充足,直接返回物品不可领信息;本地集群节点未接收到不更新信息时,则需要判断本地预留资源是否充足,即物品权利凭证预留资源是否大于本地预留资源。In one embodiment, when the local cluster node receives the no-update information, it no longer queries whether the local reserved resources are sufficient, and directly returns the item unavailability information; when the local cluster node does not receive the no-update information, it needs to determine the local reservation. Whether the resources are sufficient, that is, whether the resources reserved by the item rights certificate are greater than the local reserved resources.
在一个实施例中,当物品权利凭证预留资源大于本地预留资源,且物品权利凭证预留资源小于或等于总预留资源时,根据总预留资源、本地集群数量或本地预留资源确定更新预留资源,更新预留资源为本地集群节点从总预留资源获取的资源,其中,更新预留资源大于或等于物品权利凭证预留资源;根据更新预留资源,更新本地预留资源。In one embodiment, when the reserved resources of the item rights certificate are greater than the local reserved resources, and the reserved resources of the item rights certificate are less than or equal to the total reserved resources, it is determined based on the total reserved resources, the number of local clusters or the local reserved resources. Update the reserved resources. The updated reserved resources are the resources obtained by the local cluster node from the total reserved resources. Among them, the updated reserved resources are greater than or equal to the reserved resources of the item rights certificate; the local reserved resources are updated according to the updated reserved resources.
上述实施例中,通过多个本地集群节点并发处理物品权利凭证查询请求,返回物品不可领信息或物品可领信息,能支持高并发场景,精准控制预算,提高物品权利凭证可领查询性能,通过本地预留资源调度服务提高预留资源控制的精准度。In the above embodiment, multiple local cluster nodes concurrently process item rights certificate query requests and return item unclaimable information or item claimable information, which can support high concurrency scenarios, accurately control budgets, and improve item rights certificate claimable query performance. The local reserved resource scheduling service improves the accuracy of reserved resource control.
图2示出本公开实施例中一种本地预留资源更新方法流程图,如图2所示,本公开实施例中提供的本地预留资源更新方法包括如下步骤:Figure 2 shows a flow chart of a local reserved resource update method in an embodiment of the present disclosure. As shown in Figure 2, the local reserved resource update method provided in an embodiment of the present disclosure includes the following steps:
S202,当物品权利凭证预留资源大于本地预留资源,且物品权利凭证预留资源小于或等于总预留资源时,获取总预留资源、本地集群数量或本地预留资源;S202, when the reserved resources of the item rights certificate are greater than the local reserved resources, and the reserved resources of the item rights certificate are less than or equal to the total reserved resources, obtain the total reserved resources, the number of local clusters or the local reserved resources;
S204,根据总预留资源、本地集群数量或本地预留资源确定更新预留资源,其中,更新预留资源大于或等于物品权利凭证预留资源。S204: Determine the updated reserved resources based on the total reserved resources, the number of local clusters or local reserved resources, where the updated reserved resources are greater than or equal to the item rights certificate reserved resources.
图3示出本公开实施例中一种更新预留资源确定方法流程图,如图3所示,本公开实施例中提供的更新预留资源确定方法包括如下步骤:Figure 3 shows a flow chart of a method for determining updated reserved resources in an embodiment of the present disclosure. As shown in Figure 3, the method for determining updated reserved resources provided in an embodiment of the present disclosure includes the following steps:
S302,获取多个本地集群节点的本地预留资源数据;S302, obtain local reserved resource data of multiple local cluster nodes;
本地预留资源数据包括但不限于:本地预留资源大小、上一次本地集群节点扣除物品权利凭证预留资源的时间等;Local reserved resource data includes but is not limited to: the size of local reserved resources, the last time the local cluster node deducted the reserved resources from the item rights certificate, etc.;
S304,获取本地预留资源最大的本地集群节点对应的本地预留资源数值,判断该本地预留资源数值是否大于或等于物品权利凭证预留资源。S304: Obtain the local reserved resource value corresponding to the local cluster node with the largest local reserved resource, and determine whether the local reserved resource value is greater than or equal to the item rights certificate reserved resource.
S306,若是,则根据本地预留资源数据,对本地集群节点进行排序,生成集群集合,从集群集合中选取一个本地集群节点,通过该集群节点扣除物品权利凭证预留资源。S306, if so, sort the local cluster nodes according to the local reserved resource data, generate a cluster set, select a local cluster node from the cluster set, and deduct the item rights certificate reserved resources through the cluster node.
S308,否则,则更新一个或多个本地集群节点对应的本地预留资源,并重复上述步骤;更新后的一个或多个本地集群节点对应的本地预留资源大于或等于物品权利凭证预留资源。S308, otherwise, update the local reserved resources corresponding to one or more local cluster nodes, and repeat the above steps; the updated local reserved resources corresponding to one or more local cluster nodes are greater than or equal to the reserved resources of the item rights certificate .
在一个实施例中,更新预留资源=(总预留资源×预占因子)/本地集群数量,更新后的本地预留资源为原本地预留资源与更新预留资源的总和。In one embodiment, the updated reserved resources = (total reserved resources × reservation factor)/number of local clusters, and the updated local reserved resources are the sum of the original local reserved resources and the updated reserved resources.
在一个实施例中,更新预留资源=(总预留资源+原本地预留资源总和)×预占因子/本地集群数量,更新后的本地预留资源为更新预留资源。In one embodiment, updated reserved resources = (total reserved resources + total original local reserved resources) × reservation factor/number of local clusters, and the updated local reserved resources are updated reserved resources.
需要说明的是,预占因子可根据需要人工设置,也可根据历史数据自动设置。It should be noted that the pre-occupancy factor can be set manually as needed or automatically based on historical data.
在一个实施例中,可通过一次或多次更新多个本地集群节点对应的本地预留资源,直至一个或多个本地集群节点对应的本地预留资源大于或等于物品权利凭证预留资源。In one embodiment, the local reserved resources corresponding to multiple local cluster nodes can be updated once or multiple times until the local reserved resources corresponding to one or more local cluster nodes are greater than or equal to the item rights certificate reserved resources.
在一个实施例中,获取一个目标本地集群节点对应的本地预留资源大小,根据物品权利凭证预留资源,计算更新预留资源,从总预留资源扣除更新预留资源,其中,更新预留资源为物品权利凭证预留资源与该目标本地预留资源大小的差值。In one embodiment, the local reserved resource size corresponding to a target local cluster node is obtained, the resources are reserved according to the item rights certificate, the updated reserved resources are calculated, and the updated reserved resources are deducted from the total reserved resources, where, the updated reserved resources are The resource is the difference between the resource reserved by the item rights certificate and the size of the local reserved resource of the target.
在一个实施例中,可选取本地预留资源最大的本地集群节点为目标本地集群节点;也可选取更新频率最低的本地集群节点为目标本地集群节点;需要说明的是,更新频率可为固定时间范围内扣除物品权利凭证预留资源次数,与该固定时间的比值。In one embodiment, the local cluster node with the largest local reserved resources can be selected as the target local cluster node; the local cluster node with the lowest update frequency can also be selected as the target local cluster node; it should be noted that the update frequency can be a fixed time The ratio of the number of times reserved resources from the item rights certificate is deducted within the range and the fixed time.
S206,根据更新预留资源,更新本地预留资源。S206: Update the local reserved resources according to the updated reserved resources.
在一个实施例中,根据确定的更新预留资源更新本地预留资源,并从该本地预留资源扣除物品权利凭证预留资源。In one embodiment, the local reserved resources are updated according to the determined updated reserved resources, and the item rights certificate reserved resources are deducted from the local reserved resources.
上述实施例中,根据总预留资源、本地集群数量或本地预留资源确定更新预留资源,通过业务量级动态调整本地预留资源,能够更精准的控制预留资源,提高高并发场景下物品权利凭证可领查询性能。In the above embodiment, the reserved resources are determined and updated based on the total reserved resources, the number of local clusters or local reserved resources, and the local reserved resources are dynamically adjusted through the business level, which can control the reserved resources more accurately and improve the performance in high concurrency scenarios. The item rights certificate can be used to obtain query functions.
图4示出本公开实施例中一种物品可领信息反馈方法流程图,如图4所示,本公开实施例中提供的物品可领信息反馈方法包括如下步骤:Figure 4 shows a flow chart of a method for feedback of item availability information in an embodiment of the disclosure. As shown in Figure 4, the method for feedback of item availability information provided in an embodiment of the disclosure includes the following steps:
S402,当物品权利凭证预留资源大于本地预留资源,且物品权利凭证预留资源小于或等于总预留资源时,更新本地预留资源;S402, when the reserved resources of the item rights certificate are greater than the local reserved resources, and the reserved resources of the item rights certificate are less than or equal to the total reserved resources, update the local reserved resources;
在一个实施例中,获取总预留资源、本地集群数量或本地预留资源;根据总预留资源、本地集群数量或本地预留资源确定更新预留资源,其中,更新预留资源大于或等于物品权利凭证预留资源。In one embodiment, the total reserved resources, the number of local clusters or the local reserved resources are obtained; the updated reserved resources are determined according to the total reserved resources, the number of local clusters or the local reserved resources, wherein the updated reserved resources are greater than or equal to Item rights certificate reserves resources.
在一个实施例中,更新一个或多个本地集群节点对应的本地预留资源。In one embodiment, local reserved resources corresponding to one or more local cluster nodes are updated.
S404,当物品权利凭证预留资源小于或等于本地预留资源时,从本地预留资源中扣除物品权利凭证预留资源;S404, when the reserved resources for the item rights certificate are less than or equal to the local reserved resources, deduct the reserved resources for the item rights certificate from the local reserved resources;
在一个实施例中,集群集合包括多个本地集群节点,从本地集群节点中获取一个本地预留资源大于或等于物品权利凭证预留资源的本地集群节点,从该本地预留资源中扣除物品权利凭证预留资源。In one embodiment, the cluster set includes multiple local cluster nodes. A local cluster node whose local reserved resources is greater than or equal to the item rights certificate reserved resources is obtained from the local cluster nodes, and the item rights are deducted from the local reserved resources. Credentials reserve resources.
S406,当用户满足领取条件时,向用户返回物品可领信息。S406: When the user meets the conditions for receiving the items, return the item availability information to the user.
在一个实施例中,领取条件包括但不限于用户为会员、金额信息、领取时间信息等。In one embodiment, the collection conditions include but are not limited to the user being a member, amount information, collection time information, etc.
上述实施例中,如果某一热点key的请求到服务器主机时,由于请求量特别大,可能会导致主机资源不足,甚至宕机,从而影响正常的服务,使用本地集群节点并行处理的物品权利凭证查询请求的方式解决热点key问题,能够根据业务量级进行横向扩展,更加灵活。In the above embodiment, if a request for a certain hotspot key is sent to the server host, due to a particularly large request volume, it may cause insufficient host resources or even downtime, thereby affecting normal services. Use the item rights certificate processed in parallel by the local cluster node. The query request method solves the hot key problem and can be horizontally expanded according to the business level, making it more flexible.
图5示出本公开实施例中一种预留资源调整方法流程图,如图5所示,本公开实施例中提供的预留资源调整方法包括如下步骤:Figure 5 shows a flow chart of a reserved resource adjustment method in an embodiment of the present disclosure. As shown in Figure 5, the reserved resource adjustment method provided in an embodiment of the present disclosure includes the following steps:
S502,获取多个本地集群节点的本地预占分布信息。S502: Obtain local reservation distribution information of multiple local cluster nodes.
在一个实施例中,本地预占分布信息包括但不限于:本地预留资源及更新预留资源、更新频率等,更新频率可为固定时间范围内扣除物品权利凭证预留资源次数,与该固定时间的比值。In one embodiment, the local reservation distribution information includes but is not limited to: local reserved resources and updated reserved resources, update frequency, etc. The update frequency can be the number of times the item rights certificate reserves resources are deducted within a fixed time range, and the fixed time ratio.
S504,根据本地预占分布信息,调整本地预留资源。S504: Adjust local reserved resources according to local reservation distribution information.
例如,当获取到一个或多个本地集群节点的更新频率低时,可增加该本地集群节点的对应的本地预留资源;当一个或多个本地集群节点更新后的本地预留资源在一定时间内超过资源阈值,则降低该本地集群节点的对应的本地预留资源;可根据需要设置调整本地预留资源的方式,例如,增加或减少固定的预留资源、增加或减少一定比例的预留资源,对比不作限制。For example, when the update frequency of one or more local cluster nodes is low, the corresponding local reserved resources of the local cluster node can be increased; when the updated local reserved resources of one or more local cluster nodes are within a certain period of time, If the resource threshold is exceeded within a certain period of time, the corresponding local reserved resources of the local cluster node will be reduced; the method of adjusting local reserved resources can be set as needed, for example, increasing or decreasing fixed reserved resources, increasing or decreasing a certain proportion of reservations Resources, comparison is not limited.
S506,根据本地预占分布信息,调整本地集群节点数量。S506: Adjust the number of local cluster nodes according to the local reservation distribution information.
在一个实施例中,当根据本地预占分布信息,确定一定时间内本地集群节点接收处理的物品权利凭证查询请求量超过第一阈值时,表征本地集群节点负载量过大,则增加本地集群节点数量;当根据本地预占分布信息,确定一定时间内本地集群节点接收处理的物品权利凭证查询请求量小于第二阈值时,表征访问量过小,可暂停部分本地集群节点处理物品权利凭证查询请求,节约资源。In one embodiment, when it is determined based on the local reservation distribution information that the number of item rights certificate query requests processed by the local cluster node within a certain period of time exceeds the first threshold, it indicates that the load of the local cluster node is too large, then the local cluster node is added. Quantity; when it is determined based on local pre-occupancy distribution information that the number of item rights certificate query requests received and processed by the local cluster node within a certain period of time is less than the second threshold, it indicates that the amount of access is too small, and some local cluster nodes can be suspended from processing item rights certificate query requests. ,save resources.
上述实施例中,可增加本地集群节点数量,通过横向扩展的方式支持更高的并发量,更加灵活;根据本地预占分布信息,调整本地预留资源,精准控制预算,避免少发漏发物品权利凭证。In the above embodiment, the number of local cluster nodes can be increased to support higher concurrency through horizontal expansion and be more flexible; adjust local reserved resources according to local reservation distribution information, accurately control the budget, and avoid under-delivery and missing items. Certificate of entitlement.
图6示出本公开实施例中一种预留资源解除方法流程图,如图6所示,本公开实施例中提供的预留资源解除方法包括如下步骤:Figure 6 shows a flow chart of a method for releasing reserved resources in an embodiment of the present disclosure. As shown in Figure 6, the method for releasing reserved resources provided in an embodiment of the present disclosure includes the following steps:
S602,接收用户发送的物品权利凭证领取请求,其中,物品权利凭证领取请求包括物品权利凭证预留资源;S602: Receive the item rights certificate collection request sent by the user, where the item rights certificate collection request includes the item rights certificate reserved resources;
S604,当总预留资源成功扣除物品权利凭证预留资源时,向用户发放物品权利凭证;S604, when the total reserved resources successfully deduct the reserved resources for the item rights certificate, issue the item rights certificate to the user;
S606,判断根据物品权利凭证生成的订单是否支付成功;S606, determine whether the order generated based on the item rights certificate is paid successfully;
例如,当物品权利凭证为优惠券时,用户接收优惠券,使用优惠券生成订单,本地集群节点接收用券订单,预占该优惠券,用户支付订单,将支付成功或支付失败的信息发送至本地集群节点。For example, when the item rights certificate is a coupon, the user receives the coupon, uses the coupon to generate an order, the local cluster node receives the coupon order, preoccupies the coupon, the user pays for the order, and sends information about successful payment or failure of payment to Local cluster node.
S608,若是,则预占解除,直接扣减真实物品权利凭证库存;S608, if so, the pre-occupation will be cancelled, and the inventory of real item rights certificates will be directly deducted;
S610,否则,取消订单,预占解除。S610, otherwise, cancel the order and cancel the reservation.
上述实施例中,当查询到物品权利凭证可领取时,redis总预留资源成功扣除物品权利凭证预留资源,向用户发放物品权利凭证,用户点击领取物品权利凭证,并成功支付使用物品权利凭证对应的订单,直接扣减真实物品权利凭证库存,可精准控制预占资源。In the above embodiment, when it is found that the item rights certificate can be collected, the total reserved resources of redis successfully deduct the item rights certificate reserved resources, issue the item rights certificate to the user, the user clicks to receive the item rights certificate, and successfully pays to use the item rights certificate For corresponding orders, the inventory of real item rights certificates is directly deducted, allowing precise control of pre-occupied resources.
图7示出本公开实施例中又一种物品权利凭证查询方法流程图,如图7所示,本公开实施例中提供的物品权利凭证查询方法包括如下步骤:Figure 7 shows a flow chart of another method for querying item rights certificates in an embodiment of the present disclosure. As shown in Figure 7, the method for querying article rights certificates provided in an embodiment of the present disclosure includes the following steps:
S702,查询本地预留资源是否充足;S702, query whether local reserved resources are sufficient;
在一个实施例中,查询优惠券本地预留资源、红包本地预留资源或物品电子凭证本地预留资源是否充足;例如,当用户进入领券中心后,系统查询优惠券本地预留资源是否充足;管理人员扫描物品电子凭证对应的二维码,查询该二维码对应的本地预留资源是否充足。In one embodiment, query whether local reserved resources for coupons, local reserved resources for red envelopes, or local reserved resources for electronic item vouchers are sufficient; for example, when the user enters the coupon collection center, the system queries whether local reserved resources for coupons are sufficient. ; The manager scans the QR code corresponding to the electronic voucher of the item and checks whether the local reserved resources corresponding to the QR code are sufficient.
S704,如果本地预留资源充足,则对本地预留资源进行扣减,通过其他领取限制规则后,返回给用户当前物品权利凭证可以领取。S704, if the local reserved resources are sufficient, the local reserved resources will be deducted, and after passing other collection restriction rules, the current item rights certificate will be returned to the user for collection.
S706,如果本地预留资源已经不足且可更新,再查询redis总预留资源是否充足,如果redis总预留资源充足,则按照预留资源预占策略计算出预占预留资源后更新到本地预留资源,之后再扣减本地预留资源进行后续的发放,如果redis总预留资源也不充足,则预留资源已被耗尽,标记本地预留资源耗尽且不可更新,并返回当前物品权利凭证不可以领取。S706, if the local reserved resources are insufficient and can be updated, then query whether the total reserved resources of redis are sufficient. If the total reserved resources of redis are sufficient, calculate the reserved resources according to the reserved resource reservation policy and update them to the local Reserve resources, and then deduct the local reserved resources for subsequent issuance. If the total reserved resources of redis are not enough, the reserved resources have been exhausted, mark the local reserved resources as exhausted and cannot be updated, and return to the current Item title certificates cannot be collected.
在一个实施例中,预占预留资源的计算公式如下:In one embodiment, the calculation formula for reserving reserved resources is as follows:
预占预留资源=(redis总预留资源×预占因子)/本地集群节点数量;Pre-occupied reserved resources = (redis total reserved resources × pre-occupied factor)/number of local cluster nodes;
S708,当监听到本地预留资源分布不均匀时,调整本地预留资源或本地集群节点数量。S708: When it is detected that the local reserved resources are unevenly distributed, adjust the number of local reserved resources or local cluster nodes.
在一个实施例中,使用本地预留资源的方式,同样还能够支持集群横向扩展,当访问量增大时,增加机器也能够起到对redis的保护作用,同样能够支撑更大的并发量。In one embodiment, the use of local reserved resources can also support horizontal expansion of the cluster. When the amount of access increases, adding more machines can also protect redis and can also support greater concurrency.
在一个实施例中,当出现本地集群节点流量不均匀时,会出现本地预留资源分布不均匀的情况,导致券少发的情况出现,影响业务效果,该方案为降低此情况的发生,通过预留资源调度服务,实时监控各本地集群节点的本地预留资源分布情况,出现预留资源倾斜情况时,实时调整本地预留资源数量,以确保对预留资源的精准控制。In one embodiment, when local cluster node traffic is uneven, local reserved resources will be unevenly distributed, resulting in fewer coupons being issued and affecting business results. This solution is to reduce the occurrence of this situation by The reserved resource scheduling service monitors the distribution of local reserved resources of each local cluster node in real time. When the reserved resources are tilted, the number of local reserved resources is adjusted in real time to ensure precise control of reserved resources.
上述实施例中,解决在高并发场景下,预留资源控制由于redis热点key导致的性能瓶颈,提升可领查询性能,并能够支持横向扩展,根据业务量级动态调整预留资源,能够更精准的控制预留资源。In the above embodiment, in high concurrency scenarios, the performance bottleneck caused by redis hot key in reserved resource control is solved, the query performance is improved, and horizontal expansion can be supported. The reserved resources can be dynamically adjusted according to the business level, which can be more accurate. Control reserved resources.
基于同一发明构思,本公开实施例中还提供了一种物品权利凭证查询装置,如下面的实施例。由于该装置实施例解决问题的原理与上述方法实施例相似,因此该装置实施例的实施可以参见上述方法实施例的实施,重复之处不再赘述。Based on the same inventive concept, embodiments of the present disclosure also provide an item rights certificate query device, as shown in the following embodiments. Since the problem-solving principle of this device embodiment is similar to that of the above-mentioned method embodiment, the implementation of this device embodiment can refer to the implementation of the above-mentioned method embodiment, and repeated details will not be repeated.
图8示出本公开实施例中一种物品权利凭证查询装置示意图,如图8所示,该物品权利凭证查询装置8包括:凭证查询模块801、第一反馈模块802及第二反馈模块803;Figure 8 shows a schematic diagram of an item rights certificate inquiry device in an embodiment of the present disclosure. As shown in Figure 8, the item rights certificate inquiry device 8 includes: a certificate inquiry module 801, a first feedback module 802 and a second feedback module 803;
凭证查询模块801,接收用户发送的物品权利凭证查询请求,其中,物品权利凭证查询请求包括物品权利凭证预留资源;The voucher query module 801 receives the item rights voucher query request sent by the user, where the item rights voucher query request includes the item rights voucher reserved resources;
第一反馈模块802,当物品权利凭证预留资源小于或等于本地预留资源时,从本地预留资源中扣除物品权利凭证预留资源,向用户返回物品可领信息;The first feedback module 802: when the reserved resources for the item rights certificate are less than or equal to the local reserved resources, deduct the reserved resources for the item rights certificate from the local reserved resources and return the item availability information to the user;
第二反馈模块803,当物品权利凭证预留资源大于本地预留资源,且物品权利凭证预留资源小于或等于总预留资源时,更新本地预留资源,从本地预留资源中扣除物品权利凭证预留资源,向用户返回物品可领信息。The second feedback module 803 updates the local reserved resources and deducts the item rights from the local reserved resources when the reserved resources of the item rights certificate are greater than the local reserved resources and the reserved resources of the item rights certificate are less than or equal to the total reserved resources. The voucher reserves resources and returns the item availability information to the user.
上述实施例中,通过多个本地集群节点并发处理物品权利凭证查询请求,在一定条件下扣除物品权利凭证预留资源,能支持高并发场景,精准控制预算,提高物品权利凭证可领查询性能,解决相关技术中支持的并发量有限导致redis热点问题,从而引发redis服务不可用的问题。In the above embodiment, multiple local cluster nodes concurrently process item rights certificate query requests, and deduct the item rights certificate reserved resources under certain conditions, which can support high concurrency scenarios, accurately control budgets, and improve the query performance of item rights certificates. Solve the problem of redis hot spots caused by the limited concurrency supported in related technologies, thus causing the redis service to be unavailable.
图9示出了可以应用于本公开实施例的物品权利凭证查询方法或物品权利凭证查询装置的示例性系统架构的示意图。FIG. 9 shows a schematic diagram of an exemplary system architecture of an item rights certificate query method or an item rights certificate query device that can be applied to embodiments of the present disclosure.
如图9所示,系统架构900可以包括终端设备901、902、903,网络904和服务器905。As shown in Figure 9, the system architecture 900 may include terminal devices 901, 902, 903, a network 904 and a server 905.
网络904用以在终端设备901、902、903和服务器905之间提供通信链路的介质,可以是有线网络,也可以是无线网络。The network 904 is a medium used to provide communication links between the terminal devices 901, 902, 903 and the server 905, and may be a wired network or a wireless network.
可选地,上述的无线网络或有线网络使用标准通信技术和/或协议。网络通常为因特网、但也可以是任何网络,包括但不限于局域网(Local Area Network,LAN)、城域网(Metropolitan Area Network,MAN)、广域网(Wide Area Network,WAN)、移动、有线或者无线网络、专用网络或者虚拟专用网络的任何组合)。在一些实施例中,使用包括超文本标记语言(Hyper Text Mark-up Language,HTML)、可扩展标记语言(ExtensibleMarkupLanguage,XML)等的技术和/或格式来代表通过网络交换的数据。此外还可以使用诸如安全套接字层(Secure Socket Layer,SSL)、传输层安全(Transport Layer Security,TLS)、虚拟专用网络(Virtual Private Network,VPN)、网际协议安全(InternetProtocolSecurity,IPsec)等常规加密技术来加密所有或者一些链路。在另一些实施例中,还可以使用定制和/或专用数据通信技术取代或者补充上述数据通信技术。Optionally, the above-mentioned wireless network or wired network uses standard communication technologies and/or protocols. The network is usually the Internet, but can also be any network, including but not limited to Local Area Network (LAN), Metropolitan Area Network (MAN), Wide Area Network (WAN), mobile, wired or wireless network, private network, or virtual private network). In some embodiments, technologies and/or formats including Hyper Text Mark-up Language (HTML), Extensible Markup Language (XML), etc. are used to represent data exchanged through the network. In addition, you can also use conventional methods such as Secure Socket Layer (SSL), Transport Layer Security (TLS), Virtual Private Network (Virtual Private Network, VPN), Internet Protocol Security (Internet Protocol Security, IPsec), etc. Encryption technology to encrypt all or some links. In other embodiments, customized and/or dedicated data communication technologies may also be used in place of or in addition to the above-described data communication technologies.
终端设备901、902、903可以是各种电子设备,包括但不限于智能手机、平板电脑、膝上型便携计算机、台式计算机等。The terminal devices 901, 902, and 903 may be various electronic devices, including but not limited to smartphones, tablet computers, laptop computers, desktop computers, etc.
可选地,不同的终端设备901、902、903中安装的应用程序的客户端是相同的,或基于不同操作系统的同一类型应用程序的客户端。基于终端平台的不同,该应用程序的客户端的具体形态也可以不同,比如,该应用程序客户端可以是手机客户端、PC客户端等。Optionally, the clients of the application programs installed in different terminal devices 901, 902, and 903 are the same, or the clients of the same type of application program based on different operating systems. Based on different terminal platforms, the specific form of the application client can also be different. For example, the application client can be a mobile phone client, a PC client, etc.
服务器905可以是提供各种服务的服务器,例如对用户利用终端设备901、902、903所进行操作的装置提供支持的后台管理服务器。后台管理服务器可以对接收到的请求等数据进行分析等处理,例如,对物品权利凭证查询请求或物品权利凭证领取请求等数据进行分析等处理,并将处理结果反馈给终端设备。The server 905 may be a server that provides various services, such as a background management server that provides support for devices operated by users using the terminal devices 901, 902, and 903. The background management server can analyze and process data such as received requests, for example, analyze and process data such as item rights certificate query requests or item rights certificate collection requests, and feed back the processing results to the terminal device.
可选地,服务器可以是独立的物理服务器,也可以是多个物理服务器构成的服务器集群或者分布式系统,还可以是提供云服务、云数据库、云计算、云函数、云存储、网络服务、云通信、中间件服务、域名服务、安全服务、CDN(Content Delivery Network,内容分发网络)、以及大数据和人工智能平台等基础云计算服务的云服务器。终端可以是智能手机、平板电脑、笔记本电脑、台式计算机等,但并不局限于此。终端以及服务器可以通过有线或无线通信方式进行直接或间接地连接,本申请在此不做限制。Optionally, the server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or it can provide cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, Cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network, content distribution network), and cloud servers for basic cloud computing services such as big data and artificial intelligence platforms. The terminal can be a smartphone, a tablet, a laptop, a desktop computer, etc., but is not limited thereto. The terminal and the server can be connected directly or indirectly through wired or wireless communication methods, which is not limited in this application.
本领域技术人员可以知晓,图9中的终端设备、网络和服务器的数量仅仅是示意性的,根据实际需要,可以具有任意数目的终端设备、网络和服务器。本公开实施例对此不作限定。Those skilled in the art will know that the number of terminal devices, networks and servers in Figure 9 is only illustrative, and there can be any number of terminal devices, networks and servers according to actual needs. The embodiments of the present disclosure do not limit this.
所属技术领域的技术人员能够理解,本公开的各个方面可以实现为系统、方法或程序产品。因此,本公开的各个方面可以具体实现为以下形式,即:完全的硬件实施方式、完全的软件实施方式(包括固件、微代码等),或硬件和软件方面结合的实施方式,这里可以统称为“电路”、“模块”或“系统”。Those skilled in the art will understand that various aspects of the present disclosure may be implemented as systems, methods, or program products. Therefore, various aspects of the present disclosure may be embodied in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or an implementation combining hardware and software aspects, which may be collectively referred to herein as "Circuit", "Module" or "System".
下面参照图10来描述根据本公开的这种实施方式的电子设备1000。图10显示的电子设备1000仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。An electronic device 1000 according to this embodiment of the present disclosure is described below with reference to FIG. 10 . The electronic device 1000 shown in FIG. 10 is only an example and should not bring any limitations to the functions and usage scope of the embodiments of the present disclosure.
如图10所示,电子设备1000以通用计算设备的形式表现。电子设备1000的组件可以包括但不限于:上述至少一个处理单元1010、上述至少一个存储单元1020、连接不同系统组件(包括存储单元1020和处理单元1010)的总线1030。As shown in Figure 10, electronic device 1000 is embodied in the form of a general computing device. The components of the electronic device 1000 may include, but are not limited to: the above-mentioned at least one processing unit 1010, the above-mentioned at least one storage unit 1020, and a bus 1030 connecting different system components (including the storage unit 1020 and the processing unit 1010).
其中,所述存储单元存储有程序代码,所述程序代码可以被所述处理单元1010执行,使得所述处理单元1010执行本说明书上述“示例性方法”部分中描述的根据本公开各种示例性实施方式的步骤。Wherein, the storage unit stores program code, and the program code can be executed by the processing unit 1010, so that the processing unit 1010 performs various exemplary methods according to the present disclosure described in the "Example Method" section of this specification. Implementation steps.
例如,所述处理单元1010可以执行上述方法实施例的如下步骤:接收用户发送的物品权利凭证查询请求,其中,物品权利凭证查询请求包括物品权利凭证预留资源;当物品权利凭证预留资源小于或等于本地预留资源时,从本地预留资源中扣除物品权利凭证预留资源,向用户返回物品可领信息;当物品权利凭证预留资源大于本地预留资源,且物品权利凭证预留资源小于或等于总预留资源时,更新本地预留资源,从本地预留资源中扣除物品权利凭证预留资源,向用户返回物品可领信息。For example, the processing unit 1010 may perform the following steps of the above method embodiment: receive an item rights certificate query request sent by the user, where the item rights certificate query request includes an item rights certificate reserved resource; when the item rights certificate reserved resources are less than or equal to the local reserved resources, deduct the item rights certificate reserved resources from the local reserved resources, and return the item obtainable information to the user; when the item rights certificate reserved resources are greater than the local reserved resources, and the item rights certificate reserved resources When it is less than or equal to the total reserved resources, the local reserved resources are updated, the item rights certificate reserved resources are deducted from the local reserved resources, and the item availability information is returned to the user.
例如,所述处理单元1010可以执行上述方法实施例的如下步骤:当出现本地集群节点流量不均匀时,会出现本地预留资源分布不均匀的情况,导致券少发的情况出现,影响业务效果,该方案为降低此情况的发生,通过预留资源调度服务,实时监控各本地集群节点的本地预留资源分布情况,出现预留资源倾斜情况时,实时调整本地预留资源数量,以确保对预留资源的精准控制。For example, the processing unit 1010 can perform the following steps of the above method embodiment: when the local cluster node traffic is uneven, the local reserved resources will be unevenly distributed, resulting in a situation where fewer coupons are issued, affecting business results. In order to reduce the occurrence of this situation, this solution uses the reserved resource scheduling service to monitor the distribution of local reserved resources of each local cluster node in real time. When the reserved resource tilt occurs, the number of local reserved resources is adjusted in real time to ensure that the Precise control of reserved resources.
存储单元1020可以包括易失性存储单元形式的可读介质,例如随机存取存储单元(RAM)10201和/或高速缓存存储单元10202,还可以进一步包括只读存储单元(ROM)10203。The storage unit 1020 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 10201 and/or a cache storage unit 10202, and may further include a read-only storage unit (ROM) 10203.
存储单元1020还可以包括具有一组(至少一个)程序模块10205的程序/实用工具10204,这样的程序模块10205包括但不限于:操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。Storage unit 1020 may also include a program/utility 10204 having a set of (at least one) program modules 10205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, Each of these examples, or some combination, may include the implementation of a network environment.
总线1030可以为表示几类总线结构中的一种或多种,包括存储单元总线或者存储单元控制器、外围总线、图形加速端口、处理单元或者使用多种总线结构中的任意总线结构的局域总线。Bus 1030 may be a local area representing one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, a graphics acceleration port, a processing unit, or using any of a variety of bus structures. bus.
电子设备1000也可以与一个或多个外部设备1040(例如键盘、指向设备、蓝牙设备等)通信,还可与一个或者多个使得用户能与该电子设备1000交互的设备通信,和/或与使得该电子设备1000能与一个或多个其它计算设备进行通信的任何设备(例如路由器、调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口1050进行。并且,电子设备1000还可以通过网络适配器1060与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。如图所示,网络适配器1060通过总线1030与电子设备1000的其它模块通信。应当明白,尽管图中未示出,可以结合电子设备1000使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储系统等。Electronic device 1000 may also communicate with one or more external devices 1040 (e.g., keyboard, pointing device, Bluetooth device, etc.), may also communicate with one or more devices that enable a user to interact with electronic device 1000, and/or with Any device that enables the electronic device 1000 to communicate with one or more other computing devices (eg, router, modem, etc.). This communication may occur through input/output (I/O) interface 1050. Furthermore, the electronic device 1000 may also communicate with one or more networks (eg, a local area network (LAN), a wide area network (WAN), and/or a public network, such as the Internet) through the network adapter 1060. As shown, network adapter 1060 communicates with other modules of electronic device 1000 via bus 1030. It should be understood that, although not shown in the figures, other hardware and/or software modules may be used in conjunction with electronic device 1000, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives And data backup storage system, etc.
通过以上的实施方式的描述,本领域的技术人员易于理解,这里描述的示例实施方式可以通过软件实现,也可以通过软件结合必要的硬件的方式来实现。因此,根据本公开实施方式的技术方案可以以软件产品的形式体现出来,该软件产品可以存储在一个非易失性存储介质(可以是CD-ROM,U盘,移动硬盘等)中或网络上,包括若干指令以使得一台计算设备(可以是个人计算机、服务器、终端装置、或者网络设备等)执行根据本公开实施方式的方法。Through the above description of the embodiments, those skilled in the art can easily understand that the example embodiments described here can be implemented by software, or can be implemented by software combined with necessary hardware. Therefore, the technical solution according to the embodiment of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, U disk, mobile hard disk, etc.) or on the network , including several instructions to cause a computing device (which may be a personal computer, a server, a terminal device, a network device, etc.) to execute a method according to an embodiment of the present disclosure.
在本公开的示例性实施例中,还提供了一种计算机可读存储介质,该计算机可读存储介质可以是可读信号介质或者可读存储介质。其上存储有能够实现本公开上述方法的程序产品。在一些可能的实施方式中,本公开的各个方面还可以实现为一种程序产品的形式,其包括程序代码,当所述程序产品在终端设备上运行时,所述程序代码用于使所述终端设备执行本说明书上述“示例性方法”部分中描述的根据本公开各种示例性实施方式的步骤。In an exemplary embodiment of the present disclosure, a computer-readable storage medium is also provided, and the computer-readable storage medium may be a readable signal medium or a readable storage medium. Program products capable of implementing the above methods of the present disclosure are stored thereon. In some possible implementations, various aspects of the present disclosure can also be implemented in the form of a program product, which includes program code. When the program product is run on a terminal device, the program code is used to cause the The terminal device performs the steps according to various exemplary embodiments of the present disclosure described in the above "Example Method" section of this specification.
例如,本公开实施例中的程序产品被处理器执行时实现如下步骤的方法:接收用户发送的物品权利凭证查询请求,其中,物品权利凭证查询请求包括物品权利凭证预留资源;当物品权利凭证预留资源小于或等于本地预留资源时,从本地预留资源中扣除物品权利凭证预留资源,向用户返回物品可领信息;当物品权利凭证预留资源大于本地预留资源,且物品权利凭证预留资源小于或等于总预留资源时,更新本地预留资源,从本地预留资源中扣除物品权利凭证预留资源,向用户返回物品可领信息。For example, when the program product in the embodiment of the present disclosure is executed by the processor, the method implements the following steps: receiving an item rights certificate inquiry request sent by the user, wherein the item rights certificate inquiry request includes an item rights certificate reserved resource; when the item rights certificate When the reserved resources are less than or equal to the local reserved resources, the item rights certificate reserved resources are deducted from the local reserved resources, and the item obtainable information is returned to the user; when the item rights certificate reserved resources are greater than the local reserved resources, and the item rights are When the voucher reserved resources are less than or equal to the total reserved resources, the local reserved resources are updated, the item rights voucher reserved resources are deducted from the local reserved resources, and the item availability information is returned to the user.
例如,本公开实施例中的程序产品被处理器执行时实现如下步骤的方法:使用本地预留资源的方式,同样还能够支持集群横向扩展,当访问量增大时,增加机器也能够起到对redis的保护作用,同样能够支撑更大的并发量。For example, when the program product in the embodiment of the present disclosure is executed by the processor, the following steps are implemented: using local reserved resources, it can also support horizontal expansion of the cluster. When the amount of access increases, adding machines can also play a role. The protective effect of redis can also support greater concurrency.
本公开中的计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。More specific examples of computer-readable storage media in this disclosure may include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard drives, random access memory (RAM), read only memory (ROM), Erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
在本公开中,计算机可读存储介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了可读程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。可读信号介质还可以是可读存储介质以外的任何可读介质,该可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。In this disclosure, a computer-readable storage medium may include a data signal propagated in baseband or as part of a carrier wave carrying readable program code therein. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A readable signal medium may also be any readable medium other than a readable storage medium that can send, propagate, or transport the program for use by or in connection with an instruction execution system, apparatus, or device.
可选地,计算机可读存储介质上包含的程序代码可以用任何适当的介质传输,包括但不限于无线、有线、光缆、RF等等,或者上述的任意合适的组合。Alternatively, program code embodied on a computer-readable storage medium may be transmitted using any suitable medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the above.
在具体实施时,可以以一种或多种程序设计语言的任意组合来编写用于执行本公开操作的程序代码,所述程序设计语言包括面向对象的程序设计语言—诸如Java、C++等,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算设备上执行、部分地在用户设备上执行、作为一个独立的软件包执行、部分在用户计算设备上部分在远程计算设备上执行、或者完全在远程计算设备或服务器上执行。在涉及远程计算设备的情形中,远程计算设备可以通过任意种类的网络,包括局域网(LAN)或广域网(WAN),连接到用户计算设备,或者,可以连接到外部计算设备(例如利用因特网服务提供商来通过因特网连接)。When implemented, program code for performing operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and Includes conventional procedural programming languages—such as "C" or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server execute on. In situations involving remote computing devices, the remote computing device may be connected to the user computing device through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device, such as provided by an Internet service. (business comes via Internet connection).
应当注意,尽管在上文详细描述中提及了用于动作执行的设备的若干模块或者单元,但是这种划分并非强制性的。实际上,根据本公开的实施方式,上文描述的两个或更多模块或者单元的特征和功能可以在一个模块或者单元中具体化。反之,上文描述的一个模块或者单元的特征和功能可以进一步划分为由多个模块或者单元来具体化。It should be noted that although several modules or units of equipment for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to embodiments of the present disclosure, the features and functions of two or more modules or units described above may be embodied in one module or unit. Conversely, the features and functions of one module or unit described above may be further divided into being embodied by multiple modules or units.
此外,尽管在附图中以特定顺序描述了本公开中方法的各个步骤,但是,这并非要求或者暗示必须按照该特定顺序来执行这些步骤,或是必须执行全部所示的步骤才能实现期望的结果。附加的或备选的,可以省略某些步骤,将多个步骤合并为一个步骤执行,以及/或者将一个步骤分解为多个步骤执行等。Furthermore, although various steps of the methods of the present disclosure are depicted in the drawings in a specific order, this does not require or imply that the steps must be performed in that specific order, or that all of the illustrated steps must be performed to achieve the desired results. result. Additionally or alternatively, certain steps may be omitted, multiple steps may be combined into one step for execution, and/or one step may be decomposed into multiple steps for execution, etc.
通过以上实施方式的描述,本领域的技术人员易于理解,这里描述的示例实施方式可以通过软件实现,也可以通过软件结合必要的硬件的方式来实现。因此,根据本公开实施方式的技术方案可以以软件产品的形式体现出来,该软件产品可以存储在一个非易失性存储介质(可以是CD-ROM,U盘,移动硬盘等)中或网络上,包括若干指令以使得一台计算设备(可以是个人计算机、服务器、移动终端、或者网络设备等)执行根据本公开实施方式的方法。Through the description of the above embodiments, those skilled in the art can easily understand that the example embodiments described here can be implemented by software, or can be implemented by software combined with necessary hardware. Therefore, the technical solution according to the embodiment of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, U disk, mobile hard disk, etc.) or on the network , including several instructions to cause a computing device (which may be a personal computer, a server, a mobile terminal, a network device, etc.) to execute a method according to an embodiment of the present disclosure.
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本公开旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由所附的权利要求指出。Other embodiments of the disclosure will be readily apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. The present disclosure is intended to cover any variations, uses, or adaptations of the disclosure that follow the general principles of the disclosure and include common common sense or customary technical means in the technical field that are not disclosed in the disclosure. . It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311001779.4A CN117035858A (en) | 2023-08-09 | 2023-08-09 | Article entitlement certificate method, apparatus, electronic device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311001779.4A CN117035858A (en) | 2023-08-09 | 2023-08-09 | Article entitlement certificate method, apparatus, electronic device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117035858A true CN117035858A (en) | 2023-11-10 |
Family
ID=88625792
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311001779.4A Pending CN117035858A (en) | 2023-08-09 | 2023-08-09 | Article entitlement certificate method, apparatus, electronic device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117035858A (en) |
-
2023
- 2023-08-09 CN CN202311001779.4A patent/CN117035858A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112334933B (en) | Blockchain transaction processing | |
US10462138B2 (en) | Application programming interface access controls | |
CN111866085B (en) | Data storage method, system and device based on block chain | |
US10841180B2 (en) | Service level agreement based storage access | |
CN1953393B (en) | Software installation within a federation | |
CN104660669A (en) | Method and system for selecting a host from a plurality of hosts for an application pattern component | |
CN111127181B (en) | Voucher accounting method and device | |
US20170318129A1 (en) | Generation and distribution of named, definable, serialized tokens | |
CN107392582B (en) | Method and device for realizing resource transfer and method and device for realizing collection and payment | |
CN110020846A (en) | A kind of transferred account service processing method and system | |
US20080208771A1 (en) | Method and system for providing recycling fees | |
CN112925584A (en) | Scene-based file configuration method, device, storage medium, and program product | |
US10237184B2 (en) | Resource management system | |
CN110070394A (en) | Data processing method, system, medium and calculating equipment | |
JP7340066B2 (en) | Aggregate Payment Apparatus, Aggregate Payment Method, and Aggregate Payment Program | |
US20200153749A1 (en) | Biased selection of dedicated physical connections to provider network | |
CN114827280B (en) | Request processing method, device, equipment and medium | |
CN112101907A (en) | Method and system for handling accumulation fund service on line | |
CN114531342B (en) | Block chain-based network slice resource transaction system, method and medium | |
US8838796B2 (en) | System and method for allocating online storage to computer users | |
CN117035858A (en) | Article entitlement certificate method, apparatus, electronic device and storage medium | |
CN111476562A (en) | A virtual resource transfer method, apparatus, electronic device and storage medium | |
CN113362061A (en) | Method, system, device, storage medium and electronic equipment for responding to user request | |
CN114169863A (en) | Signing method, signing device, electronic equipment and computer readable medium | |
KR102059807B1 (en) | Technique for memory management on service oriented architecture |
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 |