CN117611154A - Service request processing method and device, electronic equipment and storage medium - Google Patents

Service request processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN117611154A
CN117611154A CN202311524499.1A CN202311524499A CN117611154A CN 117611154 A CN117611154 A CN 117611154A CN 202311524499 A CN202311524499 A CN 202311524499A CN 117611154 A CN117611154 A CN 117611154A
Authority
CN
China
Prior art keywords
service
resource
client
target
type
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
Application number
CN202311524499.1A
Other languages
Chinese (zh)
Inventor
尹亚楠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202311524499.1A priority Critical patent/CN117611154A/en
Publication of CN117611154A publication Critical patent/CN117611154A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/14Payment architectures specially adapted for billing systems
    • G06Q20/145Payments according to the detected use or quantity
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services

Abstract

The disclosure provides a service request processing method, a device, electronic equipment and a storage medium, relates to the technical field of computers, in particular to the technical fields of unmanned retail, digital commodity, intelligent transaction and the like, and can be applied to various application programs and the like for providing tradable services. The specific implementation scheme is as follows: receiving a service request sent by a first client, wherein the service request comprises a target service identifier; acquiring the type of the signed service of the user to which the first client belongs and the first resource amount used in the current resource statistics period; displaying a candidate resource selection page associated with the target service identifier under the condition that the type of the contracted service is a first type and the first resource amount is smaller than a first resource amount threshold; and under the condition that the resource submitting request is received, providing the target service indicated by the target service identification for the user according to the first service mode associated with the target resource contained in the submitting request.

Description

Service request processing method and device, electronic equipment and storage medium
Technical Field
The disclosure relates to the technical field of computers, in particular to the technical fields of unmanned retail, digital commodity and intelligent transaction, and the like, and specifically relates to a service request processing method, a device, electronic equipment and a storage medium.
Background
In various applications at present, the forms of commodity or service transactions are more and more abundant, how to improve the flexibility of users to acquire services, and how to enlarge the number of users of the applications are important concerns of various services at present.
Disclosure of Invention
The present disclosure aims to solve, at least to some extent, one of the technical problems in the related art.
Therefore, the purpose of the present disclosure is to provide a method, an apparatus, an electronic device, and a storage medium for processing a service request, which improve flexibility and reliability of a user for obtaining a service, optimize use experience of the user, and provide conditions for expanding the number of users of an application.
According to a first aspect of the present disclosure, there is provided a method for processing a service request, including:
receiving a service request sent by a first client, wherein the service request comprises a target service identifier;
acquiring the type of the signed service of the user to which the first client belongs and the first resource amount used in the current resource statistics period;
displaying a candidate resource selection page associated with the target service identifier under the condition that the type of the contracted service is a first type and the first resource amount is smaller than a first resource amount threshold;
And under the condition that a resource submitting request is received, providing the target service indicated by the target service identification for the user according to a first service mode associated with the target resource contained in the submitting request.
According to a second aspect of the present disclosure, there is provided a processing apparatus for a service request, including:
the first receiving module is used for receiving a service request sent by a first client, wherein the service request comprises a target service identifier;
the first acquisition module is used for acquiring 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 statistics period;
the first display module is used for displaying a candidate resource selection page associated with the target service identifier under the condition that the type of the contracted service is a first type and the first resource amount is smaller than a first resource amount threshold value;
and the first service module is used for providing the target service indicated by the target service identification for the user according to a first service mode associated with the target resource contained in the submitting request under the condition that the resource submitting request is received.
According to a third aspect of the present disclosure, there is provided an electronic device comprising:
At least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of processing a service request according to the first aspect.
According to a fourth aspect of the present disclosure, there is provided a non-transitory computer-readable storage medium storing computer instructions for causing the computer to perform the method of processing a service request according to the first aspect.
According to a fifth aspect of the present disclosure, there is provided a computer program product comprising computer instructions which, when executed by a processor, implement the steps of the method of processing a service request as described in the first aspect.
The service request processing method, the device, the electronic equipment and the storage medium provided by the disclosure have the following beneficial effects:
according to the method and the device, the candidate resources are determined according to the type of the signed service and the used resource quantity, and then the target service is provided for the user based on the service mode associated with the target resources selected by the user, so that the flexibility and the reliability of the service acquisition of the user are improved, the use experience of the user is optimized, and conditions are provided for expanding the number of the users of the application.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the disclosure, nor is it intended to be used to limit the scope of the disclosure. Other features of the present disclosure will become apparent from the following specification.
Drawings
The foregoing and/or additional aspects and advantages of the present disclosure will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings, which serve to better understand the present disclosure, and are not to be construed as limiting the present disclosure, wherein:
FIG. 1 is a flow diagram of a method of processing a service request according to an embodiment of the present disclosure;
FIG. 2 is a schematic diagram of a candidate resource selection page in an embodiment of the present disclosure;
FIG. 3 is a flow chart of a method of processing a service request according to another embodiment of the present disclosure;
FIG. 4 is a flow chart of a method of processing a service request according to another embodiment of the present disclosure;
FIG. 5 is a schematic diagram of a service request processing device according to an embodiment of the disclosure;
fig. 6 illustrates a block diagram of an exemplary electronic device suitable for use in implementing embodiments of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present disclosure to facilitate understanding, and should be considered as merely exemplary. Accordingly, one of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
The embodiment of the disclosure relates to the technical fields of unmanned retail, digital commodity, intelligent transaction and the like.
Unmanned retail refers to a retail format in which consumers self-service all shopping activities such as travel shops, picks, purchases, payments, etc., without salesmen, cashiers, and other store personnel.
The digital commodity is a special commodity, is in a digital, virtual and non-physical state, has special functions, has profitability and sociality, can be used as a key element to participate in enterprise production and social production processes, plays a commercial value, and can be fully applied to social and public service such as medical treatment, traffic, poverty-relieving and the like.
Intelligent trade is a process of machine trade by computer simulating the ordering operation of trade person. The computer executes the trade order according to a pre-edited trade strategy program.
In the technical scheme of the disclosure, the related processes of collecting, storing, using, processing, transmitting, providing, disclosing and the like of the personal information of the user accord with the regulations of related laws and regulations, and the public order colloquial is not violated.
The following describes a method, an apparatus, an electronic device, and a storage medium for processing a service request according to an embodiment of the present disclosure with reference to the accompanying drawings.
It should be noted that, the execution body of the service request processing method in this embodiment is a service request processing apparatus, and the apparatus may be implemented in a software and/or hardware manner, and the apparatus may be configured in an electronic device, where the electronic device may include, but is not limited to, a terminal, a server, and the like. In the embodiments of the present disclosure, an example is described in which a processing apparatus for a service request is configured in a processing system for the service request.
Fig. 1 is a flow chart illustrating a method for processing a service request according to an embodiment of the present disclosure.
As shown in fig. 1, the method for processing a service request includes:
s101: and receiving a service request sent by the first client.
Wherein the service request includes a target service identifier.
It should be noted that, the method for processing a service request in the present disclosure may be used to process services of different types of applications, and the first client may be any client supported by the target application.
In the embodiment of the present disclosure, taking a network disk service as an example, the first client may be a mobile phone client of a network disk, or may be a computer client, etc., which is not limited by comparison of the present disclosure.
S102: and acquiring 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.
The resource statistics period refers to a time period for calculating the usage amount of resources and charging, and may be determined according to a service policy or a user requirement, for example, 1 month. The first resource amount represents a total cost corresponding to all of the resources that have been used.
S103: and displaying a candidate resource selection page associated with the target service identifier under the condition that the type of the contracted service is the first type and the first resource amount is smaller than the first resource amount threshold.
The first type is a type in which the first resource amount is increased according to the cost of each use of the resource. The first resource amount threshold is a value determined by the service type, and the resource amount thresholds corresponding to different types of services may be the same or different due to an upper limit of the resource amount representing the consumption of the service.
In the embodiment of the disclosure, the displayed candidate resource selection page may include at least one candidate resource, a first service mode corresponding to the candidate resource (for example, valid within 5 minutes, valid within 24 hours, corresponding download speed, corresponding number of downloadable files, etc.), and an amount of resources that needs to be consumed by each candidate resource.
In the following description, taking the network disk service as an example, when the service subscribed by the user is of the first type, for example, the service subscribed by the user is a "pay-before-use" service, and the first resource amount threshold is 25. In the case where the first resource amount is 10 and the target service identifier is "fast download", the candidate resource selection page diagram shown in fig. 2 may be displayed due to 10< 25. As shown in fig. 2, each candidate resource may be displayed in a candidate resource selection page. Such as shown in fig. 2, "5 minute fast download coupon, cost 4.9, expected to download 436MB files", and "24 hour fast download coupon". Cost is 9.9, and the whole day is smoothly downloaded at a high speed. Further, a resource usage confirmation control may be further included in the candidate resource selection page, such as "immediately use 1 fast download coupon" in fig. 2, etc., which is not limited by the present disclosure.
Optionally, in the case that 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 subscribed service of the user may be updated to the second type, and then 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.
The second type refers to a service type with a larger authority for using the resource than the first type.
In the above example, the second type of traffic in the network disk may appear as a user may be free to share candidate resources, the first amount of resources no longer increasing according to the amount of resources used each time, such as "SVIP" traffic. If the first resource amount is 25 and the first resource amount threshold is 25, because 25=25, the processing system of the service request can update the type of the subscribed service of the user to the second type, and if the target service identifier of the user request is "fast download", the second service mode "fast download with smooth sharing" associated with the second type provides the download service for the user.
After the type of the service subscribed by the user is updated to the second type, the user may be reminded by popup window, and the reminding page may further include information such as the validity period of the second type service.
In the embodiment of the disclosure, the service signed by the user is upgraded under the condition that the used resource quantity is equal to the resource quantity threshold, so that the larger resource requirement of the user can be met, the user experience is improved, and the user retention rate of the application can be improved.
Alternatively, a second amount of resources may be determined for each candidate resource associated with the target service identity, and then the candidate resource selection page associated with the target service identity is displayed if the sum of at least one second amount of resources and the first amount of resources is less than a first amount of resources threshold.
In the embodiment of the disclosure, the second resource amount of each candidate resource may be included in the candidate resource selection page, and then, by calculating the sum of each second resource amount and the first resource amount, it is determined whether the user satisfies the first resource amount threshold after selecting any candidate resource. In the case that the sum of the at least one second resource amount and the first resource amount is smaller than the first resource amount threshold, it is stated that after the user selects the candidate resource, the increased first resource amount still does not reach the first resource amount threshold, so that the candidate resource selection page associated with the target service identifier can be displayed under the first type of service. Therefore, unnecessary resource waste can be avoided, and the use experience of the user is further ensured.
Optionally, when 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 may be displayed, then, when a first confirmation instruction returned by the first client is received, the type of the subscribed service of the user is updated to be of a second type, and then, based on a second service mode associated with the second type, a target service indicated by the target service identifier is provided for the user.
The first prompting page contains a fourth resource amount required for updating the service type. The fourth resource amount is a difference between the first resource amount and the first resource amount threshold.
For example, the first resource amount is 21, the first resource amount threshold is 25, the candidate resources required by the current target service are 5, and 21+5>25, so that the processing system of the service request can display a first prompt interface to the user to inquire whether the user needs to spend 4 resources and upgrade to the second type of service. And then providing the target service for the user based on the second service mode of the second type association in the case that the user confirms the upgrade.
In the embodiment of the disclosure, the user is prompted to upgrade the current subscription service by the resource quantity smaller than the candidate resource quantity, so that the resource cost of the user can be controlled, and the user experience is further improved.
It should be noted that, the candidate resource selection page may be displayed in a popup window manner, or may also be displayed in a page skip manner, or the like, which is not limited in this disclosure.
S104: and under the condition that the resource submitting request is received, providing the target service indicated by the target service identification for the user according to the first service mode associated with the target resource contained in the submitting request.
In the embodiment of the disclosure, after a user selects any candidate resource in a page, clicking a resource use confirmation control, and then the processing system of the service request can receive a resource submitting request, and provide target service for the user according to the resource selected by the user.
Optionally, in the case where the sum of the third resource amount and the first resource amount of the target resource contained in the received resource commit request is greater than or equal to the first resource amount threshold, the amount of resources that the user has used may be determined as a first resource amount threshold, and then updating the type of the subscribed service of the user into a second type, and providing the target service indicated by the target service identification for the user based on a second service mode associated with the second type.
In the embodiment of the disclosure, in one resource statistics period, the most consumed resource amount is a first resource amount threshold. For example, the first resource amount threshold is 25, and if the sum of the third resource amount of the target resource selected by the user and the first resource amount already used is greater than or equal to 25, it may be determined that the resource consumption amount of this period is 25. And then directly upgrading the service signed by the user, and providing service for the user in a second service mode associated with the upgraded service. Thereby reducing the resource cost consumed by the user to a certain extent, the user can enjoy more services with limited cost, and the service satisfaction degree of the user is improved.
Alternatively, in the case where the sum of the third resource amount of the target resource and the first resource amount contained in the received resource submission request is smaller than the first resource amount threshold, the sum of the first resource amount and the third resource amount of the target resource may be determined as the amount of resources that have been used in the current resource statistics period. Therefore, the used resource amount of the user can be updated in time, the user can control the cost conveniently, and the user experience is improved.
In this embodiment, a service request sent by a first client is received first, then a type of a subscribed service of a user to which the first client belongs is obtained, and a first resource amount used in a current resource statistics period is obtained. Therefore, candidate resources are determined according to the type of the signed service and the used resource amount, and then the target service is provided for the user based on the service mode associated with the target resources selected by the user, so that the flexibility and reliability of the service acquisition of the user are improved, the use experience of the user is optimized, and conditions are provided for expanding the number of users of the application.
Fig. 3 is a flow chart illustrating a method for processing a service request according to another embodiment of the present disclosure.
As shown in fig. 3, the method for processing the service request includes:
s301: and receiving a business signing request sent by the first client.
The signing request comprises the identification of the target service.
S302: and determining a second resource quantity threshold associated with the identification of the target service under the condition that the identification of the target service is the first type service identification.
The second resource amount threshold is a value for determining whether the first client satisfies a service subscription condition. The second amount of resources may be a credit, a credit rating, etc. of the user to which the first client belongs, which is not limited by the present disclosure.
S303: and acquiring the identification of the second client from the signing request.
The second client is a client selected by a user and used for exchanging resources.
In the embodiment of the disclosure, the user needs to bind the second client in the process of signing the first type of service, and the second client not only can provide the function of inquiring the second resource quantity associated with the user, but also can provide the function of automatically deducting fees according to the total quantity of the resources used in the resource statistics period.
S304: and sending a service inquiry request to a server associated with the identifier of the second client.
The service query request comprises the identification of the second client and a second resource amount threshold.
In the embodiment of the disclosure, the service query request sent by the processing system of the service request may instruct the server to invoke a 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 a second resource amount threshold to determine whether the service subscription request is legal.
S305: and under the condition that the confirmation message returned by the server is received, determining the signed service of the first client as the target service.
In the embodiment of the disclosure, when the second resource amount is greater than or equal to the second resource amount threshold, the server may return a confirmation message to the service request processing system, confirm that the user satisfies the service signing condition, and complete signing of the target service.
Optionally, under the condition that the resource statistics period is over, the total amount of resources used by the user in the resource statistics period can be determined, and then the total amount of resources and the identifier of the second client are sent to the server, so that resources corresponding to the total amount of resources are obtained from the second client through the server. Therefore, the automatic fee deduction of the used resource amount can be realized periodically, the service processing efficiency is improved, and the service consumption in the application is further promoted.
Optionally, in the case of receiving the resource acquisition failure message returned by the server, displaying a resource processing prompt message in the first client.
Wherein, the prompt message may include at least one of the following: and counting the total amount of resources to be processed, counting the period of the resources, and identifying the second client.
In the embodiment of the disclosure, when the resource statistics period is over and the resource corresponding to the total amount of the used resource cannot be obtained in the second client, a resource processing prompt message may be displayed to the user in the first client in a manner of popup window, bill page, and the like. Therefore, the influence on the service used by the user caused by resource acquisition failure can be avoided, and the use experience of the user is further improved.
It should be noted that, when the obtaining of the resources corresponding to the total amount of the used resources fails, the second client may directly prompt the user to perform operations such as resource recharging. 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, a service signing request and the like.
Optionally, a second prompting page for updating the target business signing duration may be displayed in the user page of the first client in a preset period before the end of the current resource statistics period. Then, under the condition that a second confirmation instruction returned by the first client is received, the signing duration of all target services signed by the first client can be determined as the updated signing duration.
The second prompting page comprises the signing duration after updating of the target service and is used for guiding the user to prolong signing timeliness of the service. The preset time period is a time range with the time length smaller than the resource statistics period.
In the embodiment of the disclosure, in a preset period before the current signing service ends, the processing system for the service request can display a second prompt page to the user when the user opens the first client, and when the user clicks the determination control in the page, the second determination instruction that the user agrees to prolong the signing time of the service can be received, and the signing time of the service is updated, so that the user can be guided to complete the signing operation of the service, the retention rate of the user in the application is improved, and the application development is facilitated.
In this embodiment, a service signing request sent by a first client is received first, a second resource amount threshold associated with the identifier of the target service is determined under the condition that the identifier of the target service is the first type service identifier, then the identifier of a second client is obtained from the signing request, a service query request is sent to a server associated with the identifier of the second client, and then the subscription service of the first client is determined to be the target service under the condition that a confirmation message returned by the server is received. Therefore, whether the user meets the service signing condition or not is determined through the resource quantity threshold value associated with the identification of the target signing service and the resource quantity associated with the user, so that the service signing operation is completed, the risk of service transaction in the application can be reduced, and the service signing efficiency is improved.
Fig. 4 is a flow chart illustrating a method for processing a service request according to another embodiment of the present disclosure.
As shown in fig. 4, the method for processing a service request includes:
s401: and receiving a used resource amount query request sent by the first client.
Wherein the query request includes a target statistics period. The target statistics period may be a resource statistics period of the current service, or may be a period determined by the user according to needs, which is not limited in the present disclosure.
S402: and displaying the identification of the service used by the first client in the target statistical period and the corresponding resource quantity of each used service.
The method can display the total amount of resources corresponding to all the services used in the target statistical period, so that the user can intuitively confirm the consumed amount of resources and control the cost.
In this embodiment, the processing system of the service request may display the detailed service use condition of the service in the target statistics period to the user in the form of a bill page, so that the user can control the cost conveniently, avoid unnecessary resource waste, and further improve the use experience of the user.
Fig. 5 is a schematic structural diagram of a processing device for service request according to an embodiment of the disclosure.
As shown in fig. 5, the service request processing apparatus 500 includes:
a first receiving module 501, configured to receive a service request sent by a first client, where the service request includes a target service identifier;
a first obtaining module 502, configured to obtain a type of a subscribed service of a user to which the first client belongs, and a first amount of resources that have been used in a current resource statistics period;
a first display module 503, 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;
the first service module 504 is configured to provide, in a case where a resource submission request is received, a target service indicated by a target service identifier to a user according to a first service mode associated with a target resource included in the submission request.
In some embodiments, the first obtaining module 502 is further configured to:
updating the type of the subscribed service of the user to a second type under the condition that the type of the subscribed service is the first type and the first resource amount is equal to the first resource amount threshold;
and providing the target service indicated by the target service identification for the user based on the second service mode of the second type association.
In some embodiments, the first display module 503 is specifically configured to:
determining a second resource amount for each candidate resource associated with the target service identification;
and displaying a candidate resource selection page associated with the target service identification in the case that the sum of the at least one second resource amount and the first resource amount is smaller than the first resource amount threshold.
In some embodiments, the first display module 503 is further configured to:
determining the amount of resources used by the user as a first resource amount threshold when the sum of the third amount of resources and the first amount of resources of the target resources contained in the received resource submission request is greater than or equal to the first resource amount threshold;
updating the type of the subscribed service of the user to a second type;
and providing the target service indicated by the target service identification for the user based on the second service mode of the second type association.
In some embodiments, the first display module 503 is further configured to:
displaying a first prompt page for updating the service type under the condition that the sum of each second resource amount and the first resource amount is larger than a first resource amount threshold value, wherein the first prompt page contains a fourth resource amount required for updating the service type;
Under the condition that a first confirmation instruction returned by the first client is received, updating the type of the signed service of the user to a second type;
and providing the target service indicated by the target service identification for the user based on the second service mode of the second type association.
In some embodiments, the first service module 504 is further configured to:
and determining the sum of the first resource amount and the third resource amount of the target resource as the used resource amount in the current resource statistical period.
In some embodiments, the process of signing up for the service includes:
the second receiving module is used for receiving a business signing request sent by the first client, wherein the signing request comprises an identification of a target business;
a first determining module, configured to determine a second resource amount threshold associated with the identifier of the target service, where the identifier of the target service is a first type service identifier;
the second acquisition module is used for acquiring the identification of a second client from the signing request, wherein the second client is a client selected by a user and used for carrying out resource exchange;
the first sending module is used for sending a service query request to a server associated with the identifier of the second client, wherein the service query request comprises the identifier of the second client and a second resource quantity threshold;
And the second determining module is used for determining the signed service of the first client as the target service under the condition that the confirmation message returned by the server is received.
In some embodiments, the processing apparatus 500 for service request further includes:
the third determining module is used for determining the total amount of resources used by the user in the resource counting period under the condition that the resource counting period is ended;
and the third acquisition module is used for sending the total amount of resources and the identification of the second client to the server so as to acquire the resources corresponding to the total amount of resources from the second client through the server.
In some embodiments, wherein the third acquisition module is further configured to:
under the condition that a resource acquisition failure message returned by the server is received, displaying a resource processing prompt message in the first client, wherein the prompt message comprises at least one of the following: and counting the total amount of resources to be processed, counting the period of the resources, and identifying the second client.
In some embodiments, the processing apparatus 500 for service request further includes:
the updating module is used for displaying a second prompting page for updating the signing duration of the target service in the user page of the first client in a preset period before the end of the current resource counting period, wherein the second prompting page comprises the signing duration after the target service is updated;
And the fourth determining module is used for determining the signing duration of all the target services signed by the first client as updated signing duration under the condition that the second confirmation instruction returned by the first client is received.
In some embodiments, the processing apparatus 500 for service request further includes:
the third receiving module is used for receiving a used resource amount query request sent by the first client, wherein the query request comprises a target statistical period;
and the second display module is used for displaying the identification of the service used by the first client in the target statistical period and the corresponding resource quantity of each used service.
It should be noted that the foregoing explanation of the service request processing method is also applicable to the service request processing apparatus of the present embodiment, and will not be repeated here.
In this embodiment, a service request sent by a first client is received first, then a type of a subscribed service of a user to which the first client belongs is obtained, and a first resource amount used in a current resource statistics period is obtained. Therefore, candidate resources are determined according to the type of the signed service and the used resource amount, and then the target service is provided for the user based on the service mode associated with the target resources selected by the user, so that the flexibility and reliability of the service acquisition of the user are improved, the use experience of the user is optimized, and conditions are provided for expanding the number of users of the application.
According to embodiments of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
Fig. 6 illustrates a schematic block diagram of an example electronic device 600 that may be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 6, the apparatus 600 includes a computing unit 601 that can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM) 602 or a computer program loaded from a 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 may also be stored. The computing unit 601, ROM 602, and RAM 603 are connected to each other by a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
Various components in the device 600 are connected to the I/O interface 605, including: an input unit 606 such as a keyboard, mouse, etc.; an output unit 607 such as various types of displays, speakers, and the like; a storage unit 608, such as a magnetic disk, optical disk, or the like; and a communication unit 609 such as a network card, modem, wireless communication transceiver, etc. The communication unit 609 allows the device 600 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The computing unit 601 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of 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 suitable processor, controller, microcontroller, etc. The computing unit 601 performs the respective methods and processes described above, for example, a processing method of a service request. For example, in some embodiments, the method of processing a service request may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as storage unit 608. In some embodiments, part or all of the computer program may be loaded and/or installed onto 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 above-described processing method of a service request may be performed. Alternatively, in other embodiments, the computing unit 601 may be configured to perform the processing method of the service request in any other suitable way (e.g. by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for carrying out methods of the present disclosure may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus such that the program code, when executed by the processor or controller, causes the functions/operations specified in the flowchart and/or block diagram to be implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may 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 a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
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 a user; and a keyboard and pointing device (e.g., a mouse or trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background 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 background, 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: local Area Networks (LANs), wide Area Networks (WANs), the internet, and blockchain networks.
The computer system may include a client and a server. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service ("Virtual Private Server" or simply "VPS") are overcome. The server may also be a server of a distributed system or a server that incorporates a blockchain.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps recited in the present disclosure may be performed in parallel or sequentially or in a different order, provided that the desired results of the technical solutions of the present disclosure are achieved, and are not limited herein.
Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In the description of the present disclosure, the meaning of "a plurality" is at least two, such as two, three, etc., unless explicitly specified otherwise. In the description of the present disclosure, the words "if" and "if" are used to be interpreted as "at … …" or "at … …" or "in response to a determination" or "in the … … case".
The above detailed description should not be taken as limiting the scope of the present disclosure. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present disclosure are intended to be included within the scope of the present disclosure.

Claims (25)

1. A method of processing a service request, comprising:
receiving a service request sent by a first client, wherein the service request comprises a target service identifier;
acquiring the type of the signed service of the user to which the first client belongs and the first resource amount used in the current resource statistics period;
displaying a candidate resource selection page associated with the target service identifier under the condition that the type of the contracted service is a first type and the first resource amount is smaller than a first resource amount threshold;
and under the condition that a resource submitting request is received, providing the target service indicated by the target service identification for the user according to a first service mode associated with the target resource contained in the submitting request.
2. The method of claim 1, wherein after the obtaining the type of the subscribed service of the user to which the first client belongs and the first amount of resources that have been used in the current resource statistics period, further comprising:
updating the type of the subscribed service of the user to a second type under the condition that the type of the subscribed service is a first type and the first resource amount is equal to the first resource amount threshold;
And providing the target service indicated by the target service identification for the user based on the second service mode of the second type association.
3. The method of claim 1, wherein the displaying a candidate resource selection page associated with the target service identification comprises:
determining a second amount of resources for each candidate resource associated with the target service identification;
and displaying a candidate resource selection page associated with the target service identification in the condition that the sum of at least one second resource amount and the first resource amount is smaller than the first resource amount threshold value.
4. The method of claim 3, wherein after said displaying the candidate resource selection page associated with the target service identification, further comprising:
determining an amount of resources that the user has used as the first resource amount threshold if a sum of a third amount of resources of the target resources and the first amount of resources contained in the received resource submission request is greater than or equal to the first resource amount threshold;
updating the type of the subscribed service of the user to a second type;
and providing the target service indicated by the target service identification for the user based on the second service mode of the second type association.
5. The method of claim 3, wherein after said determining the second amount of resources for each candidate resource associated with the target service identification, further comprising:
displaying a first prompt page for updating the service type under the condition that the sum of each second resource amount and the first resource amount is larger than the first resource amount threshold, wherein the first prompt page contains a fourth resource amount required for updating the service type;
under the condition that a first confirmation instruction returned by the first client is received, updating the type of the subscribed service of the user into a second type;
and providing the target service indicated by the target service identification for the user based on the second service mode of the second type association.
6. The method of claim 1, wherein after the receiving a resource commit request, further comprising:
and determining the sum of the first resource amount and the third resource amount of the target resource as the used resource amount in the current resource statistical period.
7. The method according to any of claims 1-6, wherein the process of signing up for a service comprises:
receiving a service signing request sent by the first client, wherein the signing request comprises an identifier of a target service;
Determining a second resource amount threshold associated with the identification of the target service under the condition that the identification of the target service is the first type service identification;
acquiring an identifier of a second client from the signing request, wherein the second client is a client selected by the user and used for carrying out resource exchange;
sending a service query request to a server associated with the identifier of the second client, wherein the service query request comprises the identifier of the second client and the second resource amount threshold;
and under the condition that the confirmation message returned by the server is received, determining the signed service of the first client as the target service.
8. The method of claim 7, wherein the method further comprises:
determining the total amount of resources used by the user in the resource statistics period under the condition that the resource statistics period is over;
and sending the total amount of resources and the identification of the second client to the server so as to acquire resources corresponding to the total amount of resources from the second client through the server.
9. The method of claim 8, wherein after said sending the total amount of resources and the identification of the second client to the server, further comprising:
And under the condition that a resource acquisition failure message returned by the server is received, displaying a resource processing prompt message in the first client, wherein the prompt message comprises at least one of the following: and counting the period of the resources, namely the identification of the second client.
10. The method of claim 7, wherein the method further comprises:
displaying a second prompt page for updating the target business signing duration in a user page of the first client in a preset period before the end of the current resource statistics period, wherein the second prompt page comprises the signing duration after the target business is updated;
and under the condition that a second confirmation instruction returned by the first client is received, determining the signing duration of all target services signed by the first client as the updated signing duration.
11. The method of any of claims 1-6, wherein the method further comprises:
receiving a used resource amount query request sent by the first client, wherein the query request comprises a target statistical period;
and displaying the identification of the service used by the first client in the target statistical period and the corresponding resource quantity of each used service.
12. A processing apparatus for service requests, comprising:
the first receiving module is used for receiving a service request sent by a first client, wherein the service request comprises a target service identifier;
the first acquisition module is used for acquiring 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 statistics period;
the first display module is used for displaying a candidate resource selection page associated with the target service identifier under the condition that the type of the contracted service is a first type and the first resource amount is smaller than a first resource amount threshold value;
and the first service module is used for providing the target service indicated by the target service identification for the user according to a first service mode associated with the target resource contained in the submitting request under the condition that the resource submitting request is received.
13. The apparatus of claim 12, wherein the first acquisition module is further configured to:
updating the type of the subscribed service of the user to a second type under the condition that the type of the subscribed service is a first type and the first resource amount is equal to the first resource amount threshold;
And providing the target service indicated by the target service identification for the user based on the second service mode of the second type association.
14. The apparatus of claim 12, wherein the first display module is specifically configured to:
determining a second amount of resources for each candidate resource associated with the target service identification;
and displaying a candidate resource selection page associated with the target service identification in the condition that the sum of at least one second resource amount and the first resource amount is smaller than the first resource amount threshold value.
15. The apparatus of claim 14, wherein the first display module is further configured to:
determining an amount of resources that the user has used as the first resource amount threshold if a sum of a third amount of resources of the target resources and the first amount of resources contained in the received resource submission request is greater than or equal to the first resource amount threshold;
updating the type of the subscribed service of the user to a second type;
and providing the target service indicated by the target service identification for the user based on the second service mode of the second type association.
16. The apparatus of claim 14, wherein the first display module is further configured to:
Displaying a first prompt page for updating the service type under the condition that the sum of each second resource amount and the first resource amount is larger than the first resource amount threshold, wherein the first prompt page contains a fourth resource amount required for updating the service type;
under the condition that a first confirmation instruction returned by the first client is received, updating the type of the subscribed service of the user into a second type;
and providing the target service indicated by the target service identification for the user based on the second service mode of the second type association.
17. The apparatus of claim 12, wherein the first service module is further configured to:
and determining the sum of the first resource amount and the third resource amount of the target resource as the used resource amount in the current resource statistical period.
18. The apparatus of any of claims 12-17, wherein the process of signing up for service comprises:
the second receiving module is used for receiving a business signing request sent by the first client, wherein the signing request comprises an identifier of a target business;
a first determining module, configured to determine a second resource amount threshold associated with the identifier of the target service, where the identifier of the target service is a first type service identifier;
The second acquisition module is used for acquiring an identifier of a second client from the signing request, wherein the second client is a client selected by the user and used for exchanging resources;
a first sending module, configured to send a service query request to a server associated with an identifier of the second client, where the service query request includes the identifier of the second client and the second resource amount threshold;
and the second determining module is used for determining the signed service of the first client as the target service under the condition that the confirmation message returned by the server is received.
19. The apparatus of claim 18, wherein the apparatus further comprises:
a third determining module, configured to determine, when the resource statistics period ends, a total amount of resources used by the user in the resource statistics period;
and the third acquisition module is used for transmitting the total amount of resources and the identification of the second client to the server so as to acquire resources corresponding to the total amount of resources from the second client through the server.
20. The apparatus of claim 19, wherein the third acquisition module is further configured to:
And under the condition that a resource acquisition failure message returned by the server is received, displaying a resource processing prompt message in the first client, wherein the prompt message comprises at least one of the following: and counting the period of the resources, namely the identification of the second client.
21. The apparatus of claim 18, wherein the apparatus further comprises:
the updating module is used for displaying a second prompting page for updating the signing duration of the target service in the user page of the first client in a preset period before the end of the current resource statistics period, wherein the second prompting page comprises the signing duration after the updating of the target service;
and the fourth determining module is used for determining the signing duration of all target services signed by the first client as the updated signing duration under the condition that a second confirmation instruction returned by the first client is received.
22. The apparatus of any of claims 12-17, wherein the apparatus further comprises:
a third receiving module, configured to receive a used resource amount query request sent by the first client, where the query request includes a target statistics period;
And the second display module is used for displaying the identification of the service used by the first client in the target statistical period and the corresponding resource quantity of each used service.
23. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of processing a service request according to any one of claims 1-11.
24. A non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are for causing the computer to perform the method of processing a service request of any one of claims 1-11.
25. A computer program product comprising a computer program which, when executed by a processor, implements the steps of the method of processing a service request according to any of claims 1-11.
CN202311524499.1A 2023-11-15 2023-11-15 Service request processing method and device, electronic equipment and storage medium Pending CN117611154A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311524499.1A CN117611154A (en) 2023-11-15 2023-11-15 Service request processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311524499.1A CN117611154A (en) 2023-11-15 2023-11-15 Service request processing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117611154A true CN117611154A (en) 2024-02-27

Family

ID=89947233

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311524499.1A Pending CN117611154A (en) 2023-11-15 2023-11-15 Service request processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117611154A (en)

Similar Documents

Publication Publication Date Title
CN112132674A (en) Transaction processing method and device
CN111881329A (en) Account balance management method and system
CN112884181A (en) Quota information processing method and device
CN111105238A (en) Transaction risk control method and device
CN117611154A (en) Service request processing method and device, electronic equipment and storage medium
CN110348889B (en) Service processing method and device and storage medium
CN114612212A (en) Business processing method, device and system based on risk control
CN109559240B (en) Method, device and equipment for preventing repeated payment of premium and readable storage medium
CN113408641A (en) Method and device for training resource generation model and generating service resources
CN111242576A (en) Method and device for processing request
CN111415263A (en) Data matching method and device
CN109741055A (en) Blacklist call method, device, server and storage medium
JP2020071817A (en) Information processing method, information processor, and program
CN113422734B (en) Resource distribution method, device, electronic equipment and storage medium
JP7000549B1 (en) Information processing equipment, methods and programs
CN114841690A (en) Deduction processing method and device, electronic equipment and computer readable medium
CN115880048A (en) Method, device, electronic equipment and computer readable medium for processing account data
CN117078381A (en) Method, device, electronic equipment and storage medium for thawing service processing
CN114997977A (en) Data processing method and device, electronic equipment and computer readable medium
KR20170013444A (en) Method and server of online loan based on social network system
CN117876138A (en) Account group control method and device, electronic equipment and storage medium
CN116955811A (en) Resource recommendation model, method, electronic equipment and storage medium
CN114529287A (en) Service processing method and device, electronic equipment and computer readable medium
CN112085608A (en) Data transfer method and device
CN114399347A (en) Information display method and device, electronic equipment and computer readable medium

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