Service request processing method and apparatus, electronic device, and storage medium

By receiving service requests, obtaining the user's contracted business type and resource quantity, displaying the candidate resource selection page, and providing services based on the resource model selected by the user, the problem of insufficient flexibility and reliability in users obtaining services is solved, and the user experience is optimized and the number of application users increases.

CN117611154BActive Publication Date: 2025-10-17BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311524499.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-15
Publication Date
2025-10-17
Estimated Expiration
2043-11-15

AI Technical Summary

Technical Problem

The existing technology lacks flexibility and reliability in user access to services, which affects user experience and the growth of the number of users of applications.

Method used

By receiving service requests, the service type and resource amount that the user has signed are obtained, the candidate resource selection page is displayed, and services are provided according to the resource model selected by the user, the service type is upgraded to meet the needs, and resource costs are controlled.

Benefits of technology

It improves the flexibility and reliability of users' access to services, optimizes user experience, reduces resource waste, and promotes user retention and application expansion.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117611154B_ABST
    Figure CN117611154B_ABST
Patent Text Reader

Abstract

The present disclosure provides a service request processing method and device, electronic equipment and storage medium, relates to the technical field of computers, in particular to the technical field of unmanned retail, digital goods and intelligent transaction, and can be applied to various application programs providing tradable services. The specific implementation scheme is as follows: receiving a service request sent by a first client, wherein the service request includes a target service identifier; obtaining the type of the subscribed service of the user to which the first client belongs and the first resource amount used in the current resource statistical period; in the case that the type of the subscribed service is a first type and the first resource amount is less than a first resource amount threshold, displaying a candidate resource selection page associated with the target service identifier; in the case that a resource submission request is received, providing the target service indicated by the target service identifier for the user according to the first service mode associated with the target resource included in the submission request.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to the technical field of computer, in particular to the technical field of unmanned retail, digital goods and intelligent transaction, and specifically relates to a service request processing method and device, electronic equipment and storage medium. BACKGROUND

[0002] At present, in various applications, the form of commodity or service transaction is increasingly rich, and how to improve the flexibility of users to obtain services and expand the number of users of the application is a problem that is currently focused on by each service. SUMMARY

[0003] The present disclosure aims to at least solve one of the technical problems in the related art to some extent.

[0004] To this end, the purpose of the present disclosure is to provide a service request processing method and device, electronic equipment and storage medium, which improves the flexibility and reliability of users to obtain services, optimizes the user experience, and provides conditions for expanding the number of users of the application.

[0005] According to a first aspect of the present disclosure, a service request processing method is provided, comprising:

[0006] receiving a service request sent by a first client, wherein the service request includes a target service identifier;

[0007] obtaining the type of a subscribed service of a user to which the first client belongs and a first resource amount used in a current resource statistical period;

[0008] in the case that the type of the subscribed service is a first type and the first resource amount is less than a first resource amount threshold, displaying a candidate resource selection page associated with the target service identifier;

[0009] in the case that a resource submission request is received, providing a target service indicated by the target service identifier for the user according to a first service mode associated with a target resource included in the submission request.

[0010] According to a second aspect of the present disclosure, a service request processing device is provided, comprising:

[0011] a first receiving module configured to receive a service request sent by a first client, wherein the service request includes a target service identifier;

[0012] a first obtaining module configured to obtain the type of a subscribed service of a user to which the first client belongs and a first resource amount used in a current resource statistical period;

[0013] The first display module is configured to display a candidate resource selection page associated with the target service identifier when the type of the subscribed service is a first type and the first resource amount is less than a first resource amount threshold.

[0014] The first service module is configured to provide the target service indicated by the target service identifier for the user according to a first service mode associated with a target resource included in the resource submission request when the resource submission request is received.

[0015] According to a third aspect of the present disclosure, an electronic device is provided, comprising:

[0016] at least one processor; and

[0017] a memory connected with the at least one processor in communication; wherein

[0018] The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the service request processing method according to the first aspect.

[0019] According to a fourth aspect of the present disclosure, a non-transitory computer readable storage medium storing computer instructions is provided, the computer instructions being used to cause the computer to perform the service request processing method according to the first aspect.

[0020] According to a fifth aspect of the present disclosure, a computer program product is provided, comprising computer instructions, the computer instructions being used to implement the steps of the service request processing method according to the first aspect when executed by a processor.

[0021] The service request processing method, device, electronic device and storage medium provided by the present disclosure have the following beneficial effects:

[0022] In the present disclosure, the candidate resource is determined according to the type of the subscribed service and the amount of used resource, and then the target service is provided for the user based on the service mode associated with the target resource selected by the user, thereby improving the flexibility and reliability of the user obtaining the service, optimizing the user's use experience, and providing conditions for expanding the number of users of the application.

[0023] It should be understood that the content described in this part is not intended to identify key or important features of the embodiments of the present disclosure, nor is it used to limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description. BRIEF DESCRIPTION OF DRAWINGS

[0024] The above and / or additional aspects and advantages of the present disclosure will become apparent and more readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:

[0025] Figure 1 is a flowchart of a service request processing method according to an embodiment of the present disclosure;

[0026] Figure 2 is a candidate resource selection page diagram in an embodiment of the present disclosure;

[0027] Figure 3 is a flowchart of a service request processing method according to another embodiment of the present disclosure;

[0028] Figure 4 is a flowchart of a service request processing method according to another embodiment of the present disclosure;

[0029] Figure 5 is a structural diagram of a service request processing apparatus according to an embodiment of the present disclosure;

[0030] Figure 6 shows a block diagram of an exemplary electronic device suitable for implementing an embodiment of the present disclosure. DETAILED DESCRIPTION

[0031] Exemplary embodiments of the present disclosure are described herein with reference to the accompanying drawings, in which various details of the embodiments of the present disclosure are set forth in order to provide a thorough understanding of the present disclosure. It will be apparent to those skilled in the art that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Also, the description set forth herein with respect to the exemplary embodiments describes the features of the present disclosure in the context of particular embodiments. However, such description is not intended to limit the scope of the present disclosure, and the present disclosure will only be limited by the appended claims. Therefore, the description set forth herein merely sets forth exemplary embodiments of the present disclosure, and it will be apparent to those skilled in the art that various changes and modifications can be made thereto without departing from the scope and spirit of the present disclosure.

[0032] Embodiments of the present disclosure relate to the technical field of unmanned retail, digital goods, and intelligent transactions.

[0033] Unmanned retail refers to a retail form in which all shopping activities such as entering a store, selecting, purchasing, and paying are performed by consumers on their own without the presence of salesclerks, cashiers, and other store staff.

[0034] Digital goods are a special kind of goods, which are digitized, virtual, and non-physical. Digital goods have special functions, are both profitable and social, can be used in production and social production processes as key elements to play a commercial value, and can be fully used in medical care and transportation.

[0035] Intelligent trading is a process of machine transaction by computer simulating the order placement operation of a trader. The computer executes a transaction order according to a pre-edited trading strategy program.

[0036] In the technical solution of the present disclosure, the collection, storage, use, processing, transmission, provision and disclosure of user personal information comply with relevant laws and regulations and do not violate public order and good customs.

[0037] The processing method, device, electronic equipment and storage medium of a service request are described below with reference to the accompanying drawings.

[0038] It should be noted that the execution subject of the service request processing method is a service request processing device, which can be implemented by software and / or hardware. The device can be configured in an electronic device, which can include but is not limited to a terminal, a server, etc. In the present disclosure, the device is configured in a service request processing system.

[0039] Figure 1 The flowchart of the service request processing method according to an embodiment of the present disclosure is shown in FIG. 1.

[0040] As shown in FIG. 1, the service request processing method includes the following steps. Figure 1

[0041] S101: receiving a service request sent by a first client.

[0042] The service request includes a target service identifier.

[0043] It should be noted that the service request processing method of the present disclosure can be used to process services of different types of applications, so the first client can be any client supported by the target application.

[0044] In the present disclosure, the first client can be a mobile phone client of a network disk or a computer client, etc. The present disclosure does not make any limitation.

[0045] S102: obtaining the type of a service to which a user to which the first client belongs has subscribed and the first resource amount used in a current resource statistical period.

[0046] The resource statistical period refers to a time period for calculating the resource usage amount and charging, which can be determined according to the business policy or user demand, such as one month. The first resource amount represents the total cost of the total resources used.

[0047] ​S103: In a case where the type of the subscribed service is the first type and the first resource amount is less than the first resource amount threshold, a candidate resource selection page associated with the target service identifier is displayed.

[0048] The first type refers to a type in which the first resource amount is increased according to a fee for using the resource each time. The first resource amount threshold is a value determined according to the type of the service, and is a value indicating an upper limit of the resource amount consumed by the service. The resource amount threshold corresponding to different types of services can be the same or different.

[0049] In the embodiments of the present disclosure, the displayed candidate resource selection page can include at least one candidate resource, a first service mode (for example, valid within 5 minutes, or valid within 24 hours, or a corresponding download speed, or a corresponding number of downloadable documents, etc.) corresponding to the candidate resource, and a resource amount consumed by each candidate resource.

[0050] The following will be described in combination with Figure 2 Take a network disk service as an example. In a case where the type of the service subscribed by the user is the first type, for example, the type of the service subscribed by the user is “pay-after-use card” service, and the first resource amount threshold is 25. In a case where the first resource amount is 10 and the target service identifier is “extreme speed download”, since 10<25, the candidate resource selection page shown in FIG. 1A can be displayed. Figure 2 As shown in FIG. 1B, each candidate resource can be displayed in the candidate resource selection page. For example, as shown in FIG. 1C, “5-minute extreme speed download coupon, cost 4.9, and expected to download 436 MB files”, and “24-hour extreme speed download coupon, cost 9.9, and enjoy extreme speed download all day” and the like can be displayed. Further, the resource usage confirmation control, for example, “immediately use 1 piece of extreme speed download coupon” in FIG. 1D and the like can be included in the candidate resource selection page, which is not limited in the present disclosure. Figure 2 Figure 2 Figure 2

[0051] Optionally, in a case where the type of the subscribed service is the first type and the first resource amount is equal to the first resource amount threshold, the type of the service subscribed by the user can be updated to a second type, and then the target service indicated by the target service identifier is provided to the user based on a second service mode associated with the second type.

[0052] The second type refers to a type in which the permission to use the resource is greater than the first type.

[0053] ​​​In the above example, the second type of service in the network disk can be represented as a candidate resource that the user can enjoy, and the first resource amount is no longer increased according to the resource amount used each time, such as the "SVIP" service. If the first resource amount is 25 and the first resource amount threshold is 25, since 25 = 25, the processing system of the service request can update the type of the service subscribed by the user to the second type, and in the case where the target service identifier requested by the user is "extreme speed download", the second service mode associated with the second type, "enjoy extreme speed download", is used to provide download services for the user.

[0054] It should be noted that after updating the type of the service subscribed by the user to the second type, the user can be reminded through a pop-up window or the like, and the valid period of the second type of service and the like can also be included in the reminder page.

[0055] In the embodiments of the present disclosure, by upgrading the service subscribed by the user when the used resource amount is equal to the resource amount threshold, not only the greater resource demand of the user can be met, the user experience can be improved, but also the user retention rate of the application can be improved.

[0056] Optionally, the second resource amount of each candidate resource associated with the target service identifier can be determined, and then in the case where the sum of at least one second resource amount and the first resource amount is less than the first resource amount threshold, a candidate resource selection page associated with the target service identifier is displayed.

[0057] In the embodiments of the present disclosure, the second resource amount of each candidate resource can be included in the candidate resource selection page, and then whether the first resource amount threshold is met after the user selects any candidate resource can be determined by calculating the sum of each second resource amount and the first resource amount. In the case where the sum of at least one second resource amount and the first resource amount is less than the first resource amount threshold, it means that the first resource amount after the user selects the candidate resource may still not reach the first resource amount threshold, and therefore the candidate resource selection page associated with the target service identifier under the first type of service can be displayed. Thus, unnecessary resource waste can be avoided, and the user experience can be further ensured.

[0058] Optionally, in the case where the sum of each second resource amount and the first resource amount is greater than the first resource amount threshold, a first prompt page for updating the service type can be displayed, and then in the case where a first confirmation instruction returned by the first client is received, the type of the service subscribed by the user is updated to the second type, and the target service indicated by the target service identifier is provided for the user based on the second service mode associated with the second type.

[0059] The first prompt page includes a fourth resource amount required for updating the service type. The fourth resource amount is the difference between the first resource amount and the first resource amount threshold.

[0060] For example, the first resource quantity is 21, the first resource quantity threshold is 25, the candidate resource required by the current target service is at least 5, 21+5>25, and then the service request processing system can display a first prompt interface to the user to inquire whether the user wants to spend 4 resources to upgrade to a second type of service. Then in the case where the user confirms the upgrade, the second service mode associated with the second type is used to provide the target service for the user.

[0061] In the embodiments of the present disclosure, by prompting the user to upgrade the current subscription service with a resource quantity less than the candidate resource quantity, the resource cost of the user can be controlled, and the user experience can be further improved.

[0062] It should be noted that the candidate resource selection page can be displayed in the form of a pop-up window, or can be displayed in the form of page jumping, etc., and the present disclosure does not limit this.

[0063] S104: In the case where the resource submission request is received, the target service indicated by the target service identification is provided for the user according to the first service mode associated with the target resource contained in the submission request.

[0064] In the embodiments of the present disclosure, after the user selects any candidate resource in the page and clicks the resource use confirmation control, the service request processing system can receive the resource submission request, and provide the target service for the user according to the selected resource.

[0065] Optionally, in the case where the sum of the third resource quantity of the target resource contained in the received resource submission request and the first resource quantity is greater than or equal to the first resource quantity threshold, the used resource quantity of the user can be determined as the first resource quantity threshold, then the type of the subscription service of the user is updated to the second type, and the target service indicated by the target service identification is provided for the user based on the second service mode associated with the second type.

[0066] In the embodiments of the present disclosure, in one resource statistical period, the maximum consumed resource quantity is the first resource quantity threshold. For example, the first resource quantity threshold is 25, and if the sum of the third resource quantity of the target resource selected by the user and the first resource quantity already used is greater than or equal to 25, it can be determined that the resource consumption quantity of this period is 25. Then the service subscribed by the user is directly upgraded to provide the service for the user in the second service mode associated with the upgraded service. Thus, the resource cost consumed by the user is reduced to some extent, so that the user can enjoy more services with limited cost, and the service satisfaction of the user is improved.

[0067] Optionally, in a case where the sum of the first resource amount and the third resource amount of the target resource included in the received resource submission request is less than the first resource amount threshold, the sum of the first resource amount and the third resource amount of the target resource can be determined as the resource amount used in the current resource statistical period. Thus, the resource amount used by the user can be updated in time, facilitating the user to control the cost and improving the user experience.

[0068] In this embodiment, first, a service request sent by a first client is received, and then the type of a service subscribed by a user to which the first client belongs and a first resource amount used in a current resource statistical period are acquired. In a case where the type of the subscribed service is a first type and the first resource amount is less than a first resource amount threshold, a candidate resource selection page associated with a target service identifier is displayed. Then, in a case where a resource submission request is received, a target service indicated by the target service identifier is provided for the user according to a first service mode associated with a target resource included in the submission request. Thus, by determining the candidate resource according to the type of the subscribed service and the used resource amount, and then providing the target service for the user based on the service mode associated with the target resource selected by the user, the flexibility and reliability of the user to obtain the service are improved, the use experience of the user is optimized, and the number of users of the application is expanded.

[0069] Figure 3 is a flowchart of a service request processing method according to another embodiment of the present disclosure.

[0070] As shown in Figure 3 , the service request processing method comprises the following steps.

[0071] S301: receiving a service subscription request sent by a first client.

[0072] In the subscription request, an identifier of a target service is included.

[0073] S302: in a case where the identifier of the target service is a first type of service identifier, determining a second resource amount threshold associated with the identifier of the target service.

[0074] The second resource amount threshold is a value used to determine whether the first client satisfies a service subscription condition. The second resource amount can be credit points, credit levels, or the like of a user to which the first client belongs, which is not limited in the present disclosure.

[0075] S303: acquiring an identifier of a second client from the subscription request.

[0076] The second client is a client selected by the user to exchange resources.

[0077] In the embodiments of the present disclosure, in the process of signing the first type of service, the user needs to bind the second client. The second client can not only provide the function of querying the second resource amount associated with the user, but also provide the function of automatically deducting the total amount of resources used in the resource statistical period.

[0078] S304: sending a service query request to a server associated with the identifier of the second client.

[0079] The service query request includes the identifier of the second client and the second resource amount threshold.

[0080] In the embodiments of the present disclosure, the service query request sent by the service request processing system can instruct the server to call the second resource amount associated with the user in the second client, and then the server determines whether the second resource amount is greater than or equal to the second resource amount threshold to determine whether the service signing request is legal.

[0081] S305: In the case of receiving the confirmation message returned by the server, determining that the first client subscribes to the target service.

[0082] In the embodiments of the present disclosure, in the case that the second resource amount is greater than or equal to the second resource amount threshold, the server can return a confirmation message to the service request processing system, confirming that the user meets the service signing condition and completes the signing of the target service.

[0083] Optionally, in the case that the resource statistical period ends, the total amount of resources used by the user in the resource statistical period can be determined, and then the total amount of resources and the identifier of the second client are sent to the server to obtain the resources corresponding to the total amount of resources from the second client. Thus, the periodic automatic deduction of the used resource amount can be realized, the efficiency of service processing is improved, and the service consumption in the application is further promoted.

[0084] Optionally, in the case of receiving the resource acquisition failure message returned by the server, a resource processing prompt message is displayed in the first client.

[0085] The prompt message can include at least one of the following: the total amount of resources to be processed, the resource statistical period, and the identifier of the second client.

[0086] In the embodiments of the present disclosure, in the case that the resource statistical period ends and the total amount of resources used cannot be obtained from the second client, a resource processing prompt message can be displayed to the user in the first client through a pop-up window and a bill page. Thus, the failure of resource acquisition can be avoided to affect the user's use of services, and the user's use experience is further improved.

[0087] It should be noted that, in the case of obtaining the total amount of used resources fails, the user can be directly reminded in the second client to perform resource recharging and the like. And before the resource acquisition is successful, the processing system of the service request does not support the user to send a new service request, and a business signing request and the like.

[0088] Optionally, in a preset time period before the end of the current resource statistical period, a second prompt page for updating the target business signing duration can be displayed in the user page of the first client. Then, in the case of receiving the second confirmation instruction returned by the first client, the signing duration of all target businesses signed by the first client can be determined as the updated signing duration.

[0089] Among them, the second prompt page includes the updated signing duration of the target business, for guiding the user to extend the signing validity period of the business. The preset time period is a time range with a time length less than the resource statistical period.

[0090] In the embodiments of the present disclosure, in the preset time period before the end of the currently signed business, the processing system of the service request can display the second prompt page to the user when the user opens the first client. When the user clicks the determination control in the page, the second determination instruction of the user agreeing to extend the signing validity period of the business can be received, and the signing duration of the business is updated, so that the user can complete the renewal operation of the business, improve the retention rate of the user in the application, and be conducive to promoting the development of the application.

[0091] In the embodiments, first, the business signing request sent by the first client is received, in the case that the identifier of the target business is a first type of business identifier, the second resource amount threshold associated with the identifier of the target business is determined, then the identifier of the second client is obtained from the signing request, a business query request is sent to the server associated with the identifier of the second client, and then in the case that the confirmation message returned by the server is received, the signing business of the first client is determined as the target business. Therefore, by associating the resource amount threshold of the target signing business with the resource amount associated with the user, it is determined whether the user meets the business signing condition, and then the business signing operation is completed, which can reduce the risk of service transaction in the application and improve the business signing efficiency.

[0092] Figure 4 is a flow diagram of a service request processing method according to another embodiment of the present disclosure.

[0093] As Figure 4 shown, the service request processing method comprises:

[0094] S401: receiving a used resource amount query request sent by a first client.

[0095] The target statistical period can be a resource statistical period of a current service, or can be a period determined by a user according to a need, and the disclosure does not limit this.

[0096] S402: display the identification of the service used by the first client in the target statistical period, and the resource amount corresponding to each used service.

[0097] It should be noted that the total resource amount corresponding to all services used in the target statistical period can also be displayed, so as to facilitate the user to intuitively confirm the consumed resource amount and control the cost.

[0098] In the embodiment, the processing system of the service request can display the detailed use of the service in the target statistical period to the user in the form of a bill page or the like, which can facilitate the user to control the cost, avoid unnecessary resource waste, and further improve the user experience.

[0099] Figure 5 FIG. 1 is a structural schematic diagram of a service request processing apparatus according to an embodiment of the disclosure.

[0100] As shown in Figure 5 The service request processing apparatus 500 includes:

[0101] The first receiving module 501 is configured to receive a service request sent by a first client, wherein the service request includes a target service identification;

[0102] The first obtaining module 502 is configured to obtain a type of a subscribed service of a user to which the first client belongs, and a first resource amount used in a current resource statistical period;

[0103] The first display module 503 is configured to, in a case where the type of the subscribed service is a first type and the first resource amount is less than a first resource amount threshold, display a candidate resource selection page associated with the target service identification;

[0104] The first service module 504 is configured to, in a case where a resource submission request is received, provide a target service indicated by the target service identification according to a first service mode associated with a target resource included in the submission request.

[0105] In some embodiments, the first obtaining module 502 is further configured to:

[0106] In a case where the type of the subscribed service is the first type and the first resource amount is equal to the first resource amount threshold, update the type of the subscribed service of the user to a second type;

[0107] provide the target service indicated by the target service identification based on a second service mode associated with the second type.

[0108] In some embodiments, the first display module 503 is specifically configured to:

[0109] determine a second resource amount of each candidate resource associated with the target service identity;

[0110] display a candidate resource selection page associated with the target service identity, in a case where a sum of the at least one second resource amount and the first resource amount is less than the first resource amount threshold.

[0111] In some embodiments, the first display module 503 is further configured to:

[0112] determine the resource amount used by the user as the first resource amount threshold, in a case where a sum of a third resource amount of the target resource included in the received resource submission request and the first resource amount is greater than or equal to the first resource amount threshold.

[0113] update the type of the service subscribed by the user to the second type.

[0114] provide the target service indicated by the target service identity to the user based on a second service mode associated with the second type.

[0115] In some embodiments, the first display module 503 is further configured to:

[0116] display a first prompt page for updating the service type, in a case where a sum of each second resource amount and the first resource amount is greater than the first resource amount threshold, wherein the first prompt page includes a fourth resource amount required for updating the service type.

[0117] update the type of the service subscribed by the user to the second type, in a case where the first confirmation instruction returned by the first client is received.

[0118] provide the target service indicated by the target service identity to the user based on a second service mode associated with the second type.

[0119] In some embodiments, the first service module 504 is further configured to:

[0120] determine a sum of the first resource amount and a third resource amount of the target resource as the resource amount used in the current resource statistical period.

[0121] In some embodiments, the process of subscribing to the service includes:

[0122] a second receiving module configured to receive a service subscription request sent by a first client, wherein the subscription request includes an identity of a target service;

[0123] The first determining module is configured to determine a second resource amount threshold associated with the identifier of the target service if the identifier of the target service is an identifier of a first type of service;

[0124] The second obtaining module is configured to obtain the identifier of the second client from the signing request, wherein the second client is a client selected by the user for resource exchange;

[0125] The first sending module is configured to send a service query request to a server associated with the identifier of the second client, wherein the service query request includes the identifier of the second client and the second resource amount threshold;

[0126] The second determining module is configured to determine that the signing service of the first client is the target service if an acknowledgement message returned by the server is received.

[0127] In some embodiments, the service request processing apparatus 500 further includes:

[0128] The third determining module is configured to determine a total amount of resources used by the user in a resource statistical period if the resource statistical period ends.

[0129] The third obtaining module is configured to send the total amount of resources and the identifier of the second client to the server to obtain resources corresponding to the total amount of resources from the second client through the server.

[0130] In some embodiments, the third obtaining module is further configured to:

[0131] If a resource obtaining failure message returned by the server is received, a resource processing prompt message is displayed in the first client, wherein the prompt message includes at least one of the following: the total amount of resources to be processed, the resource statistical period, and the identifier of the second client.

[0132] In some embodiments, the service request processing apparatus 500 further includes:

[0133] The updating module is configured to display a second prompt page for updating the signing duration of the target service in the user page of the first client within a preset time period before the current resource statistical period ends, wherein the second prompt page includes the updated signing duration of the target service.

[0134] The fourth determining module is configured to determine the signing duration of all target services signed by the first client as the updated signing duration if a second confirmation instruction returned by the first client is received.

[0135] In some embodiments, the service request processing apparatus 500 further includes:

[0136] The third receiving module is configured to receive a used resource amount query request sent by the first client, wherein the query request comprises a target statistical period;

[0137] The second display module is configured to display the identification of the service used by the first client in the target statistical period and the resource amount corresponding to each used service.

[0138] It should be noted that the foregoing explanation and description of the service request processing method also applies to the service request processing apparatus of this embodiment, which will not be described here again.

[0139] In this embodiment, first, a service request sent by a first client is received, then the type of the service to which a user to which the first client belongs has subscribed and the first resource amount used in the current resource statistical period are acquired, in the case that the type of the subscribed service is a first type and the first resource amount is less than a first resource amount threshold, a candidate resource selection page associated with a target service identification is displayed, and then in the case that a resource submission request is received, the target service indicated by the target service identification is provided for the user according to a first service mode associated with a target resource included in the submission request. Thus, by determining the candidate resource according to the type of the subscribed service and the used resource amount, and then providing the target service for the user based on the service mode associated with the target resource selected by the user, the flexibility and reliability of the user to obtain the service are improved, the use experience of the user is optimized, and a condition for expanding the number of users of the application is provided.

[0140] According to embodiments of the present disclosure, the present disclosure further provides an electronic device, a readable storage medium and a computer program product.

[0141] Figure 6 A schematic block diagram of an example electronic device 600 that can be used to implement embodiments of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptops, desktops, tablets, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular telephones, smart phones, wearable devices, and other similar computing devices. The components shown here, their connections and relationships, and their functions, are meant to be examples only, and are not intended to limit implementations of the present disclosure described and / or claimed in this document.

[0142] As Figure 6As shown, the device 600 includes a computing unit 601 that can perform various appropriate actions and processes in accordance with a computer program stored in a read-only memory (ROM) 602 or a computer program loaded from the storage unit 608 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the device 600 can also be stored. The computing unit 601, the ROM 602, and the RAM 603 are connected to each other through a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

[0143] A plurality of components in the device 600 are connected to the I / O interface 605, including: an input unit 606, such as a keyboard, a mouse, and the like; an output unit 607, such as various types of displays, speakers, and the like; a storage unit 608, such as a magnetic disk, an optical disk, and the like; and a communication unit 609, such as a network card, a modem, a wireless communication transceiver, and the like. The communication unit 609 allows the device 600 to exchange information / data with other devices through a computer network, such as the Internet, and / or various telecommunication networks.

[0144] The computing unit 601 can be various general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 601 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various specialized artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, and the like. The computing unit 601 performs various methods and processes described above, such as the processing method of service requests. For example, in some embodiments, the processing method of service requests can be implemented as a computer software program that is tangibly embodied in a machine-readable medium, such as the storage unit 608. In some embodiments, part or all of the computer program can be loaded and / or installed on the device 600 via the ROM 602 and / or the communication unit 609. When the computer program is loaded into the RAM 603 and executed by the computing unit 601, one or more steps of the processing method of service requests described above can be performed. Alternatively, in other embodiments, the computing unit 601 can be configured to perform the processing method of service requests by any other appropriate means, such as by means of firmware.

[0145] The various embodiments of the systems and techniques described above can be implemented in digital electronic circuitry, integrated circuitry, a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on a chip (SOC), a load programmable logic device (CPLD), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include implementation in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which can be special or general purpose, coupled to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device.

[0146] Program code for carrying out methods of the present disclosure can be written in any combination of one or more programming languages. The program code can be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the program code, when executed by the processor or controller, produces the functions / operations specified in the flowcharts and / or the block diagrams. The program code can be executed entirely on a machine, partially on a machine, partially on a machine as a stand-alone software package, or entirely on a remote machine or server.

[0147] In the context of the present disclosure, a machine-readable medium can be a tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include but is not limited to an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of the machine-readable storage medium will include one or more lines of electrical conductors, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or Flash memory), optical fibers, portable compact disc read-only memories (CD-ROMs), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0148] To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the computer. Other kinds of devices can be used to provide for interaction with a user as well; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.

[0149] The systems and techniques described here can be implemented in a computing system that includes a back end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front end component (e.g., a user computer having a graphical user interface or a Web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back end, middleware, or front end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network (LAN), a wide area network (WAN), the Internet, and a blockchain network.

[0150] The computer system can include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server is generally established by computer programs running on the respective computers and having a client-server relationship to each other. A server can be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system, to solve the defects of large management difficulty and weak business scalability in traditional physical host and VPS service ("Virtual Private Server", or simply "VPS"). The server can also be a server of a distributed system, or a server combined with a blockchain.

[0151] It should be understood that various forms of flow shown above can be used, with steps re-ordered, added, or removed. For example, various steps described in the present disclosure can be performed in parallel, in series, or in a different order, without limitation, as long as the desired results of the technical solutions of the present disclosure can be achieved.

[0152] Furthermore, the terms "first", "second", etc. are used only for descriptive purposes and do not connote or imply relative importance or a quantity of the indicated technical features. Thus, a feature defined with "first", "second", etc. can include at least one of the features implicitly or explicitly. In the description of the disclosure, the meaning of "a plurality" is at least two, for example, two, three, etc., unless otherwise specifically defined. In the description of the disclosure, the words "if" and "when" can be interpreted as "at the time of" or "when" or "in response to determining" or "in the case of".

[0153] The above detailed description does not constitute a limitation on the protection scope of the present disclosure. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent replacements, and improvements made within the spirit and principles of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. A method for processing a service request, comprising: Receiving a service request sent by a first client, wherein the service request includes a target service identifier; Obtaining the type of the service contracted by the user of the first client and the amount of the first resource used in the current resource statistical period; When the type of the contracted service is the first type and the first resource amount is less than a first resource amount threshold, displaying a candidate resource selection page associated with the target service identifier; Upon receiving a resource submission request, providing the user with a target service indicated by the target service identifier according to a first service mode associated with the target resource included in the submission request; The displaying of the candidate resource selection page associated with the target service identifier includes: Determine a second resource amount of each candidate resource associated with the target service identifier; In a case where the sum of at least one of the second resource amounts and the first resource amount is smaller than the first resource amount threshold, a candidate resource selection page associated with the target service identifier is displayed.

2. The method according to claim 1, wherein After obtaining the type of the service subscribed by the user to which the first client belongs and the amount of the first resource used in the current resource statistical period, the method further includes: If the type of the subscribed service is the first type and the first resource amount is equal to the first resource amount threshold, updating the type of the subscribed service of the user to the second type; Based on the second service mode of the second type association, the target service indicated by the target service identifier is provided to the user.

3. The method according to claim 1, wherein After displaying the candidate resource selection page associated with the target service identifier, the method further includes: If the sum of the third resource amount of the target resource included in the received resource submission request and the first resource amount is greater than or equal to the first resource amount threshold, determining the resource amount used by the user as the first resource amount threshold; Updating the type of the service that the user has signed up for to the second type; Based on the second service mode of the second type association, the target service indicated by the target service identifier is provided to the user.

4. The method according to claim 1, wherein After determining the second resource amount of each candidate resource associated with the target service identifier, the method further includes: When the sum of each of the second resource amount and the first resource amount is greater than the first resource amount threshold, displaying a first prompt page for updating the service type, wherein the first prompt page includes a fourth resource amount required for updating the service type; Upon receiving the first confirmation instruction returned by the first client, updating the type of the service subscribed by the user to the second type; Based on the second service mode of the second type association, the target service indicated by the target service identifier is provided to the user.

5. The method according to claim 1, wherein After receiving the resource submission request, the method further includes: The sum of the first resource amount and the third resource amount of the target resource is determined as the resource amount used in the current resource statistical period.

6. The method according to any one of claims 1 to 5, wherein: The process of signing a contract includes: receiving a service signing request sent by the first client, wherein the signing request includes an identifier of a target service; In a case where the identifier of the target service is a first type of service identifier, determining a second resource amount threshold associated with the identifier of the target service; Acquire an identifier of a second client from the signing request, wherein the second client is a client selected by the user for resource exchange; Sending a service query request to a server associated with the identifier of the second client, wherein the service query request includes the identifier of the second client and the second resource amount threshold; When a confirmation message returned by the server is received, the contracted service of the first client is determined to be the target service.

7. The method according to claim 6, wherein: The method further comprises: When the resource statistical period ends, determining the total amount of resources used by the user during the resource statistical period; The total amount of resources and the identifier of the second client are sent to the server, so that the server obtains the resources corresponding to the total amount of resources from the second client.

8. The method of claim 7, wherein: After sending the total amount of resources and the identifier of the second client to the server, the method further includes: When a resource acquisition failure message is received from the server, a resource processing prompt message is displayed in the first client, wherein the prompt message includes at least one of the following: the total amount of resources to be processed, the resource statistical period, and the identifier of the second client.

9. The method of claim 6, wherein: The method further comprises: Within a preset period before the end of the current resource statistics cycle, displaying a second prompt page for updating the contract duration of the target service on the user page of the first client, wherein the second prompt page includes the updated contract duration of the target service; When the second confirmation instruction returned by the first client is received, the contract durations of all target services contracted by the first client are determined as the updated contract durations.

10. The method according to any one of claims 1 to 5, wherein: The method further comprises: receiving a used resource amount query request sent by the first client, wherein the query request includes a target statistical period; The identifiers of the services used by the first client during the target statistical period and the amount of resources corresponding to each of the used services are displayed.

11. A device for processing a service request, comprising: A first receiving module is configured to receive a service request sent by a first client, wherein the service request includes a target service identifier; A first acquisition module is configured to acquire the type of service subscribed to by the user of the first client and the amount of first resources used in a current resource statistical period; a first display module, configured to display a candidate resource selection page associated with the target service identifier when the type of the contracted service is the first type and the first resource amount is less than a first resource amount threshold; A first service module is configured to, upon receiving a resource submission request, provide the user with a target service indicated by the target service identifier according to a first service mode associated with the target resource included in the submission request; The first display module is specifically used to: Determine a second resource amount of each candidate resource associated with the target service identifier; In a case where the sum of at least one of the second resource amounts and the first resource amount is smaller than the first resource amount threshold, a candidate resource selection page associated with the target service identifier is displayed.

12. The device according to claim 11, wherein The first acquisition module is further configured to: If the type of the subscribed service is the first type and the first resource amount is equal to the first resource amount threshold, updating the type of the subscribed service of the user to the second type; Based on the second service mode of the second type association, the target service indicated by the target service identifier is provided to the user.

13. The device according to claim 11, wherein The first display module is further configured to: If the sum of the third resource amount of the target resource included in the received resource submission request and the first resource amount is greater than or equal to the first resource amount threshold, determining the resource amount used by the user as the first resource amount threshold; Updating the type of the service that the user has signed up for to the second type; Based on the second service mode of the second type association, the target service indicated by the target service identifier is provided to the user.

14. The device according to claim 11, wherein The first display module is further configured to: When the sum of each of the second resource amount and the first resource amount is greater than the first resource amount threshold, displaying a first prompt page for updating the service type, wherein the first prompt page includes a fourth resource amount required for updating the service type; Upon receiving the first confirmation instruction returned by the first client, updating the type of the service subscribed by the user to the second type; Based on the second service mode of the second type association, the target service indicated by the target service identifier is provided to the user.

15. The apparatus of claim 11, wherein: The first service module is further configured to: The sum of the first resource amount and the third resource amount of the target resource is determined as the resource amount used in the current resource statistical period.

16. The device according to any one of claims 11 to 15, wherein: The process of signing a contract includes: A second receiving module is configured to receive a service signing request sent by the first client, wherein the signing request includes an identifier of a target service; A first determining module is configured to determine a second resource amount threshold associated with the identifier of the target service when the identifier of the target service is a first type of service identifier; A second obtaining module is configured to obtain an identifier of a second client from the signing request, wherein the second client is a client selected by the user for resource exchange; a first sending module, configured to send a service query request to a server associated with the identifier of the second client, wherein the service query request includes the identifier of the second client and the second resource amount threshold; The second determining module is configured to determine that the contracted service of the first client is the target service when a confirmation message returned by the server is received.

17. The apparatus of claim 16, wherein: The device further comprises: A third determining module is configured to determine, when the resource statistical period ends, the total amount of resources used by the user during the resource statistical period; The third acquisition module is configured to send the total amount of resources and the identifier of the second client to the server, so as to acquire the resources corresponding to the total amount of resources from the second client via the server.

18. The apparatus of claim 17, wherein: The third acquisition module is further configured to: When a resource acquisition failure message is received from the server, a resource processing prompt message is displayed in the first client, wherein the prompt message includes at least one of the following: the total amount of resources to be processed, the resource statistical period, and the identifier of the second client.

19. The apparatus of claim 16, wherein: The device further comprises: an updating module, configured to display, on the user page of the first client within a preset period before the end of the current resource statistics period, a second prompt page for updating the contract duration of the target service, wherein the second prompt page includes the updated contract duration of the target service; The fourth determining module is configured to determine the contract durations of all target services contracted by the first client as the updated contract durations upon receiving the second confirmation instruction returned by the first client.

20. The device according to any one of claims 11 to 15, wherein: The device further comprises: A third receiving module is configured to receive a query request for used resource amount sent by the first client, wherein the query request includes a target statistical period; The second display module is used to display the identifiers of the services used by the first client during the target statistical period, and the amount of resources corresponding to each of the used services.

21. An electronic device comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor. The instructions are executed by the at least one processor to enable the at least one processor to execute the method for processing a service request according to any one of claims 1 to 10.

22. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: in, The computer instructions are used to enable the computer to execute the service request processing method according to any one of claims 1 to 10.

23. A computer program product, characterized in that The invention comprises a computer program, which implements the steps of the method for processing a service request according to any one of claims 1 to 10 when being executed by a processor.

Citation Information

Patent Citations

  • Resource transfer method and device, storage medium and electronic device

    CN112073486A

  • Service resource selection and recommendation method and device, electronic equipment and storage medium

    CN116304328A