Business processing method and device, equipment, storage medium and program product

By simulating rollback processes to generate virtual business states and determining the executable nature of target businesses based on a rule base, the problem of in-transit businesses affecting the execution of new businesses is solved, improving processing efficiency and user experience.

CN121883233APending Publication Date: 2026-04-17CHINA UNITED NETWORK COMM GRP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
CHINA UNITED NETWORK COMM GRP CO LTD
Filing Date
2025-12-16
Publication Date
2026-04-17

AI Technical Summary

Technical Problem

In the business processing of the telecommunications industry, the existence of ongoing business can lead to confusion in business logic and data errors if new business is executed directly. Existing technologies require waiting for the ongoing business to be completed before new business can be executed, resulting in low processing efficiency and poor user experience.

Method used

By simulating rollback processing to generate virtual business states, and based on the virtual business states and the preset business rule base, it is determined whether the target business is executable. This avoids the high cost of sorting out complex mutual exclusion relationships and improves the processing efficiency of the target business.

Benefits of technology

By simulating rollback processing and using dynamic judgment mechanisms, actual data rollback is avoided, reducing the risk of changes in business data, decreasing rule maintenance costs, and improving business processing efficiency and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121883233A_ABST
    Figure CN121883233A_ABST
Patent Text Reader

Abstract

The invention provides a business processing method and device, equipment, a storage medium and a program product. The method comprises the following steps: receiving a service processing request, wherein the service processing request is used for requesting to execute a target service for a target user; in response to the service processing request, detecting whether at least one in-transit service exists in the target user, the in-transit service being a service which has started to be processed and is not processed; if the in-transit business exists, simulation rollback processing is carried out on each in-transit business, a virtual business state corresponding to each in-transit business is generated, the simulation rollback processing is a business state before the in-transit business is executed through simulation calculation, and the virtual business state is a business state before the in-transit business is executed; based on the virtual service state and a preset service rule base, judging whether the target service can be executed or not; and if yes, executing the target service. Therefore, the service processing efficiency is improved and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technology, and in particular to a service processing method, apparatus, device, storage medium, and program product. Background Technology

[0002] In the business processing of the telecommunications industry, there may be potential conflicts or mutual exclusions between services. If there are services in transit in the system, directly executing new services other than those in transit may lead to business logic confusion, data errors, and the inability to carry out subsequent services normally.

[0003] In existing technologies, it is usually necessary to wait for the completion of existing business before new business can be executed; however, this method increases the processing time for new business, resulting in low processing efficiency, increased business processing costs, and a poor user experience.

[0004] Therefore, existing technologies suffer from low business processing efficiency and poor user experience. Summary of the Invention

[0005] This application provides business processing methods, apparatus, devices, storage media, and program products to improve business processing efficiency and user experience.

[0006] In a first aspect, embodiments of this application provide a business processing method, including:

[0007] Receive a business processing request, which is used to request the execution of a target business for the target user;

[0008] In response to a business processing request, detect whether the target user has at least one business in transit. A business in transit is a business that has started processing but has not yet been completed.

[0009] If it exists, a simulated rollback process is performed for each in-transit service to generate a virtual service state corresponding to each in-transit service. The simulated rollback process is to simulate the service state before the execution of the in-transit service, and the virtual service state is the service state before the execution of the in-transit service.

[0010] Based on the virtual business status and the preset business rule base, determine whether the target business is executable;

[0011] If so, then execute the target business.

[0012] In one possible implementation, a simulated rollback process is performed on each in-transit service to generate a virtual service state corresponding to each in-transit service, including:

[0013] Determine the processing time for each in-transit service;

[0014] Based on the processing time of each in-transit business, sort the in-transit businesses in order of their processing time from most recent to furthest, and obtain the processing order of the in-transit businesses.

[0015] According to the processing order, simulate rollback processing is performed on each in-transit service to generate a virtual service state corresponding to each in-transit service.

[0016] In one possible implementation, determining whether a target service is executable based on the virtual service status and a preset service rule base includes:

[0017] Based on the target business, the preset business rule base is searched and processed to determine the target business rule, which is the business rule corresponding to the target business.

[0018] The virtual business status is matched with the target business rule to obtain the matching result between the virtual business status and the business rule;

[0019] If the matching result shows that the virtual business status meets the target business rules, then the target business is determined to be executable.

[0020] In one possible implementation, the preset business rule base includes multiple business rules and business tags associated with each business rule;

[0021] Accordingly, based on the target business, a pre-defined business rule base is retrieved to determine the target business rules, including:

[0022] Based on the business processing request, determine the business type of the target business;

[0023] Based on the business type of the target business, retrieve the business tags associated with the business type of the target business from the preset business rule base, and use the business rules corresponding to the business tags as the target business rules.

[0024] In one possible implementation, after executing the target service, the following is also included:

[0025] In response to the execution operation of the target business, update the target business status corresponding to the target business. The target business status is the business status after the target business is executed.

[0026] Obtain business information for services in transit, including business type and status of services in transit, with the status being the current status of the service in transit.

[0027] If the business type of the in-transit service is the same as that of the target service, and the status of the in-transit service is the same as that of the target service, then the in-transit service will be retained.

[0028] In one possible implementation, the method further includes: if the service type of the in-transit service is consistent with the service type of the target service, but the status of the in-transit service is inconsistent with the status of the target service, then the in-transit service is cancelled.

[0029] In one possible implementation, the target user includes a single user and / or a group of users, where the user group includes multiple users.

[0030] Secondly, embodiments of this application provide a business processing apparatus, including:

[0031] The receiving module is used to receive business processing requests, which are used to request the execution of target business for the target user.

[0032] Optionally, the target users include a single user and / or a group of users, where the user group includes multiple users.

[0033] The detection module is used to detect whether the target user has at least one in-transit business in response to a business processing request. In-transit business is a business that has started processing but has not yet been completed.

[0034] The rollback module is used to simulate rollback processing for each in-transit service if it exists, generating a virtual service state corresponding to each in-transit service. The simulated rollback processing simulates the service state before the execution of the in-transit service, and the virtual service state is the service state before the execution of the in-transit service.

[0035] The judgment module is used to determine whether the target business is executable based on the virtual business status and the preset business rule base.

[0036] The execution module is used to execute the target business if the condition is met.

[0037] In one possible implementation, the rollback module can also be used for:

[0038] Determine the processing time for each in-transit service;

[0039] Based on the processing time of each in-transit business, sort the in-transit businesses in order of their processing time from most recent to furthest, and obtain the processing order of the in-transit businesses.

[0040] According to the processing order, simulate rollback processing is performed on each in-transit service to generate a virtual service state corresponding to each in-transit service.

[0041] In one possible implementation, the determination module can also be used for:

[0042] Based on the target business, the preset business rule base is searched and processed to determine the target business rule, which is the business rule corresponding to the target business.

[0043] The virtual business status is matched with the target business rule to obtain the matching result between the virtual business status and the business rule;

[0044] If the matching result shows that the virtual business status meets the target business rules, then the target business is determined to be executable.

[0045] In one possible implementation, the preset business rule base includes multiple business rules and business tags associated with each business rule;

[0046] Accordingly, the judgment module can also be used for:

[0047] Based on the business processing request, determine the business type of the target business;

[0048] Based on the business type of the target business, retrieve the business rules whose business tags match the business type of the target business from the preset business rule library, and use them as the target business rules.

[0049] In one possible implementation, after executing the target business, the determination module can also be used for:

[0050] In response to the execution operation of the target business, update the target business status corresponding to the target business. The target business status is the business status after the target business is executed.

[0051] Obtain business information for services in transit, including business type and status of services in transit, with the status being the current status of the service in transit.

[0052] If the business type of the in-transit service is the same as that of the target service, and the status of the in-transit service is the same as that of the target service, then the in-transit service will be retained.

[0053] In one possible implementation, the determination module can also be used for:

[0054] If the business type of the in-transit service is the same as that of the target service, but the status of the in-transit service is different from that of the target service, then the in-transit service will be cancelled.

[0055] Thirdly, embodiments of this application provide a business processing device, including: a memory and a processor;

[0056] The memory stores instructions that the computer executes;

[0057] The processor executes computer execution instructions stored in memory, causing the processor to perform the first aspect and / or various possible implementations of the first aspect as described above.

[0058] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the first aspect and / or various possible implementations of the first aspect.

[0059] Fifthly, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the first aspect and / or various possible implementations of the first aspect.

[0060] The business processing method, apparatus, device, storage medium, and program product provided in this application, in response to a received business processing request, detects whether the target user has at least one in-transit business; if an in-transit business exists, it performs simulated rollback processing on each in-transit business, generating a virtual business state corresponding to each in-transit business; and based on the virtual business state and a preset business rule base, it determines whether the target business is executable; if so, it executes the target business. Compared to the prior art, which waits for in-transit business processing to complete before executing the target business, the method of this application, by simulating rollback to the virtual business state when the in-transit business has not been executed, and determining whether the target business is executable based on the virtual business state and a preset business rule base, avoids the high-cost problem of sorting out complex mutual exclusion relationships, improves the processing efficiency of the target business, and thus improves the user experience. Attached Figure Description

[0061] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0062] Figure 1 A schematic diagram of a business processing system architecture is provided for this application;

[0063] Figure 2 Flowchart of the business processing method provided in this application Figure 1 ;

[0064] Figure 3 Flowchart of the business processing method provided in this application Figure 2 ;

[0065] Figure 4 Flowchart of the business processing method provided in this application Figure 3 ;

[0066] Figure 5 A schematic diagram of the business processing device provided in this application;

[0067] Figure 6 A schematic diagram of the business processing equipment provided in this application.

[0068] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation

[0069] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0070] It should be noted that all data involved in this application are information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data must comply with relevant laws, regulations and standards, and corresponding operation portals are provided for users to choose to authorize or refuse.

[0071] In the business processing of the telecommunications industry, users often face restrictions on services that are already in transit when applying for new target services.

[0072] For example, if a user is processing a service that does not take effect immediately, the service is considered to be in transit because these services usually require a certain amount of time to complete the activation process.

[0073] If a new target service is requested when existing services are already in transit, the existing system will typically restrict the execution of the target service. The new service must wait for the existing services to complete before the new request can be submitted. Alternatively, the mutual exclusion relationships between the target service and existing services can be manually analyzed to determine whether the target service should be executed.

[0074] However, this limitation leads to delays in processing target services, reduces business processing efficiency, and increases the complexity and cost of service acquisition. Furthermore, as the types of services expand, the mutual exclusion relationships between in-transit services and target services become increasingly complex, making it difficult for existing technologies to adapt to dynamically changing business needs.

[0075] To address the aforementioned issues, the core concept of this application is to: detect in-transit services in a responsive manner and simulate the in-transit services to a virtual business state when the in-transit services are not executed; based on the virtual business state and a pre-defined business rule base, determine whether the target business is executable; avoid the high-cost problem of sorting out complex mutual exclusion relationships, improve the processing efficiency of the target business, and thus enhance the user experience.

[0076] Optionally, Figure 1 This is a schematic diagram of a business processing system architecture provided for this application. Figure 1 As shown, the business processing system architecture includes at least one of the following: order management unit, business management unit, business rule base unit, simulated rollback processing unit, result determination unit, order generation unit, and order issuance unit.

[0077] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the above architecture. In other feasible embodiments of this application, the above architecture may include more or fewer components than illustrated, or combine some components, or split some components, or arrange different components, which can be determined according to the actual application scenario and is not limited here. Figure 1 The components shown can be implemented in hardware, software, or a combination of both.

[0078] In the specific implementation process, the order management unit is used to receive, parse, and store business information, where each order includes at least one business. The business management unit is used to monitor business information in real time, including business number, business type, business progress, and user identifier. The business rule base unit is used to deploy a preset business rule base. The simulated rollback processing unit is used to simulate rollback processing for in-transit business, generating a virtual business status corresponding to the in-transit business. The result determination unit determines whether the target business is executable based on the virtual business status and the preset business rule base. The order generation unit is used to generate the corresponding order based on the target business to be executed. The order issuance unit is used to execute the target business based on the generated order.

[0079] Optionally, the business processing system may also include a display device, which may be a touch screen or the screen of a terminal device, for receiving user instructions while displaying the above-mentioned content, so as to realize interaction with the user.

[0080] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will be described below with reference to the accompanying drawings.

[0081] Figure 2 Flowchart of the business processing method provided in this application Figure 1 ,like Figure 2 As shown, the method includes:

[0082] S201. Receive a service processing request. The service processing request is used to request the execution of a target service for the target user.

[0083] In this embodiment, the service processing request includes user identifier, service type, and service content.

[0084] For example, a service processing request could have a user identifier of 0001, a service type of value-added service, and a service content of subscribing to FTTR (Fiber to the Room) service.

[0085] S202. In response to a business processing request, detect whether the target user has at least one business in transit. A business in transit is a business that has started processing but has not yet been completed.

[0086] In this embodiment, after receiving a business processing request, the order management unit parses the business processing request, queries the business information corresponding to the same user identifier in the business management unit based on the user identifier in the business processing request, and determines whether the business is in transit based on the business information; wherein, the business information includes business number, user identifier, business type, business content and business progress.

[0087] Optionally, the target users include a single user and / or a group of users, where the user group includes multiple users.

[0088] For a single user, the user identifier corresponding to the single user is obtained in the business processing request. Based on the user identifier, the business management unit is called to query all business information including this user identifier. Based on the business progress of each business information, it is determined whether the business is in transit. The business progress includes completed and incomplete status. If the business progress is incomplete, the business is in transit.

[0089] If at least one service is in transit, then the individual user is considered an in-transit user.

[0090] For example, in the business management unit, the business information corresponding to a single user with user ID 0001 includes business number 001, user ID 0001, business type is package change, business content is fixed-mobile converged package change, and business progress is incomplete; and business number 002, user ID 0001, business type is value-added service, business content is network upgrade, and business progress is completed.

[0091] The service with service number 001 is a service in transit, and the individual user with user ID 0001 is a user in transit.

[0092] For user groups, obtain the user identifier corresponding to each user in the user group in the business processing request, and call the business management unit according to the user identifier corresponding to each user to query all business information including this user identifier, and determine whether the business is in transit according to the business progress of each business information.

[0093] If at least one service is in transit, the user group is considered the in-transit user group.

[0094] For example, in the business management unit, the user group includes users with user IDs 0002, 0003, and 0004; the business information corresponding to user ID 0002 includes business number 003, user ID 0002, business type basic service, business content number transfer, and business progress incomplete; and business number 004, user ID 0002, business type value-added service, business content contract renewal, and business progress completed.

[0095] The business information corresponding to user ID 0003 includes business number 005, user ID 0003, business type is package change, business content is ordering a new package, and business progress is completed.

[0096] User ID 0004: No corresponding business information was detected.

[0097] Since the service with service number 003 is a service in transit, there must be at least one user in the user group and at least one service in transit. Therefore, this user group is a user group in transit.

[0098] S203. If it exists, perform simulated rollback processing for each in-transit service to generate a virtual service state corresponding to each in-transit service. The simulated rollback processing is to simulate the service state before executing the in-transit service, and the virtual service state is the service state before executing the in-transit service.

[0099] In this embodiment, if the target user is a user in transit or a group of users in transit, the simulated rollback unit is activated. Based on the business information corresponding to the in-transit business, simulated rollback processing is performed to generate a virtual business state. The simulated rollback processing is a logical calculation operation, rather than a real data rollback. By using simulated rollback processing, the risk of changes to business data is avoided.

[0100] The business information also includes original package information, current package information, and target package information. Original package information refers to the package information before the business is in transit, current package information refers to the package information during the business is in transit, and target package information refers to the package information after the business is in transit. Package information includes package benefits and package fees.

[0101] For example, if the service information corresponding to an in-transit service is service number 006, user identifier 0005, service type is package change, service content is package upgrade, service progress is incomplete, the original package information includes 20GB of data and 100 minutes of talk time per month, and the package fee is 79 yuan per month; the current package information includes 20GB of data and 100 minutes of talk time per month, and the package fee is 79 yuan per month; the target package information includes 50GB of data and 300 minutes of talk time per month, and the package fee is 129 yuan per month.

[0102] Then, a simulated rollback process is performed on the in-transit service with service number 006. In the simulation environment, the package upgrade operation is canceled, and the service status before the package upgrade is restored, resulting in a virtual generated status. At this time, the virtual generated status is the service status with the current package information.

[0103] Optionally, if the business information corresponding to a non-in-transit business is business number 007, user identifier 0005, business type is package change, business content is package upgrade, business progress is completed, the original package information includes 20GB of data and 100 minutes of talk time per month, and the package fee is 79 yuan per month; the current package information has 50GB of data and 300 minutes of talk time per month, and the package fee is 129 yuan per month; the target package information has 50GB of data and 300 minutes of talk time per month, and the package fee is 129 yuan per month.

[0104] When performing simulated rollback processing on non-transit services, the virtual generated status is the service status with the original package information.

[0105] Optionally, if the business status of the business in transit is consistent before and after execution, the virtual generated state is the same as the original business status.

[0106] Optionally, for users in transit, if there are multiple in-transit services, then according to the order of the processing times of the in-transit services from most recent to furthest, simulate rollback processing is performed on each in-transit service to generate a virtual service state corresponding to each in-transit service.

[0107] Alternatively, for a group of users in transit, the system simulates a rollback process for each in-transit service based on the order of the processing times of the in-transit services for each user from most recent to furthest, thereby generating a virtual service state corresponding to each in-transit service.

[0108] For example, the user group includes users with user IDs 0002, 0003, and 0004. The processing time for the in-transit service of user ID 0002 and service number 003 is December 1, 2025; the processing time for the in-transit service of user ID 0002 and service number 004 is January 1, 2023; the processing time for the in-transit service of user ID 0003 and service number 005 is July 1, 2024; and user ID 0002 has no in-transit services.

[0109] Then, simulated rollback processing is performed on the in-transit services with service numbers 003, 005, and 004 in sequence, generating virtual service states corresponding to the in-transit services with service numbers 003, 005, and 004 in turn.

[0110] S204. Based on the virtual business status and the preset business rule base, determine whether the target business is executable.

[0111] In this embodiment, the result determination unit obtains the virtual service status from the simulation rollback unit, and according to the service type of the target service, obtains the business rule corresponding to the service type of the target service from the preset business rule base, and matches the virtual service status with the corresponding business rule to determine whether the target service is executable.

[0112] For example, the obtained virtual service status includes user identifier, service number, current package information, and account balance. If the target service is a bundled package, then the corresponding service type is value-added service. The service rules for value-added service are obtained from the preset service rule library. The virtual service status is matched with the obtained service rules. If the virtual service status meets the obtained service rules, the target service is determined to be executable. If the virtual service status does not meet the obtained service rules, the target service is determined to be unexecutable.

[0113] S205. If so, then execute the target business.

[0114] In this embodiment, if it is determined that the target service is executable, the order generation unit is invoked to generate the corresponding order based on the executable target service, and the corresponding order information is displayed on the display device for the target user to confirm; in response to the target user's confirmation operation, the order delivery unit is invoked to deliver the generated order to the corresponding processing unit to execute the target service.

[0115] Optionally, if it is determined that the target service is not executable, corresponding feedback information is generated and displayed on a display device for the target user to view.

[0116] The business processing method provided in this application solves the problem in the prior art where users have to wait for in-transit services to complete before executing the target service by using simulated rollback processing and a dynamic judgment mechanism. When an in-transit service is detected for the target user, a virtual service state is generated through a simulated rollback processing unit. Based on the virtual service state and a preset business rule base, it is determined whether the target service is executable. This avoids actual data rollback, reduces the risk of business data changes, eliminates dependence on a predefined mutually exclusive rule base, reduces rule maintenance costs, reduces the number of times the target user needs to visit the service center, and improves business processing efficiency and user experience.

[0117] Figure 3 Flowchart of the business processing method provided in this application Figure 2 ,like Figure 3 As shown, in this embodiment... Figure 2 Based on the embodiments, the above steps S203 to S204 will be described in detail. The method includes:

[0118] S301. Determine the processing time for each in-transit service.

[0119] In this embodiment, the business processing time of each in-transit business is obtained based on the business information of the in-transit business in the business management unit; wherein, the business processing time refers to the specific time when the business begins processing.

[0120] For example, if there are in-transit services with service numbers 010, 011, 012 and 013, and the corresponding service processing times are September 9, 2024, October 19, 2024, March 7, 2025 and October 15, 2025 respectively.

[0121] S302. Sort the in-transit services according to their processing times from most recent to furthest, and obtain the processing order of the in-transit services.

[0122] In this embodiment, for example, the in-transit services are sorted according to their processing time from most recent to furthest, and the processing order of the in-transit services is 013, 012, 011 and 101 respectively.

[0123] S303. According to the processing order, perform simulated rollback processing on each in-transit service to generate a virtual service status corresponding to each in-transit service.

[0124] In this embodiment, for example, a simulated rollback process is performed on the in-transit service with service number 013 to obtain a virtual service state corresponding to the in-transit service with service number 013; a simulated rollback process is performed on the in-transit service with service number 012 to obtain a virtual service state corresponding to the in-transit service with service number 012; a simulated rollback process is performed on the in-transit service with service number 011 to obtain a virtual service state corresponding to the in-transit service with service number 011; and a simulated rollback process is performed on the in-transit service with service number 010 to obtain a virtual service state corresponding to the in-transit service with service number 010.

[0125] S304. Based on the target business, perform a search on the preset business rule base to determine the target business rule, which is the business rule corresponding to the target business.

[0126] Optionally, the preset business rule base includes multiple business rules and business tags associated with each business rule.

[0127] Accordingly, based on the target business, a pre-defined business rule base is retrieved to determine the target business rules, including:

[0128] S3041. Determine the business type of the target business based on the business processing request.

[0129] In this embodiment, the business type of the target business is obtained from the business processing request, and the business type of the target business is matched with the business tag associated with each business rule in the preset business rule base.

[0130] For example, if the target business's content is FTTR service and the business type is value-added service.

[0131] S3042. Based on the business type of the target business, retrieve the business tags associated with the business type of the target business from the preset business rule base, and use the business rules corresponding to the business tags as the target business rules.

[0132] In this embodiment, if the business type of the target business is associated with a business tag in the preset business rule library, then the business rule corresponding to this business tag is taken as the target business rule.

[0133] For example, if the target business is a value-added service, the associated business tags in the preset business rule base include network services.

[0134] S305. Match the virtual business status with the target business rule to obtain the matching result between the virtual business status and the business rule.

[0135] In this embodiment, the target business rules include business tags, business condition restrictions, business charging standards, and mutual exclusion relationships between businesses.

[0136] For example, the mutual exclusion between services includes the mutual exclusion between package change service and account cancellation service, and the mutual exclusion between account transfer service and value-added service.

[0137] If the target business rule's business tag is value-added service, there are no business condition restrictions, and the business fee standard is 99 yuan per month. The mutual exclusion relationship between businesses includes the mutual exclusion between transfer business and value-added service.

[0138] Furthermore, the account balance in the virtual business status is matched with the business fee standard, and the mutual exclusion relationship between the businesses is checked to see if the target business and the business in transit are mutually exclusive. If the account balance is greater than or equal to the business fee standard, and the business type in the virtual business status does not include the transfer business, then the virtual business status is determined to meet the target business rules.

[0139] If the account balance is less than the service fee standard, or if the service type in the virtual service status includes transfer services, then the virtual service status is determined to not meet the target service rules.

[0140] Optionally, if the business type in the virtual business state is mutually exclusive with the business type of the target business, a differentiated processing solution is provided according to the preset mutual exclusion level; wherein, the mutual exclusion level includes warning conflict and fatal conflict; for warning conflict, the differentiated processing solution is to prompt the target business risk and allow manual confirmation and execution; for fatal conflict, the differentiated processing solution is to prohibit the execution of the target business.

[0141] S306. If the matching result shows that the virtual service status meets the target service rules, then the target service is determined to be executable.

[0142] In this embodiment, target service feedback information is generated based on the matching result. The target service feedback information includes the service information and execution result of the target service. The execution result includes executable and non-executable. If the matching result shows that the virtual service status meets the target service rules, the target service is determined to be executable. If the virtual service status does not meet the target service rules, the target service is determined to be non-executable.

[0143] The business processing method provided in this application introduces a time priority sorting mechanism to simulate rollback processing of in-transit services in ascending order of their processing time. This ensures that the virtual business state matches the current business logic, eliminates the impact of the latest in-transit services on the target business, and reduces the probability of misjudgment. Furthermore, based on a preset business rule base, it dynamically determines whether the target business is executable, avoiding matching deviations caused by static business rules and improving the processing efficiency of the target business.

[0144] Figure 4 Flowchart of the business processing method provided in this application Figure 3 ,like Figure 4 As shown, in this embodiment... Figure 2 Based on the embodiments, the business processing method is described in detail, and after executing the target business, it also includes:

[0145] S401. In response to the execution operation of the target service, update the target service status corresponding to the target service. The target service status is the service status after the target service is executed.

[0146] In this embodiment, for example, if the target service is an upgraded package, the target service status includes user identifier, service number, upgraded package information, and account balance.

[0147] S402. Obtain the business information of the business in transit. The business information includes the business type and the status of the business in transit. The status of the business in transit is the current business status.

[0148] In this embodiment, the business information of the business in transit is obtained, and the business type of the target business is compared with the business type of the business in transit. If the business type of the target business matches the business type of the business in transit, the status of the target business is compared with the current business status.

[0149] S403. If the business type of the in-transit service is the same as that of the target service, and the status of the in-transit service is the same as that of the target service, then the in-transit service shall be retained.

[0150] In this embodiment, for example, if the service type of the service in transit is a value-added service, and the service type of the target service is also a value-added service, then the service type of the service in transit is consistent with that of the target service. The status of the service in transit includes user identifier 001, service number 010, upgraded package information including 20GB of data and 100 minutes of talk time per month, package fee of 79 yuan per month, account balance of 99 yuan, and effective date of the following month. The status of the target service includes user identifier 001, service number 010, upgraded package information including 20GB of data and 100 minutes of talk time per month, package fee of 79 yuan per month, account balance of 99 yuan, then the service in transit is retained.

[0151] S404. If the business type of the in-transit service is the same as that of the target service, but the status of the in-transit service is different from that of the target service, then the in-transit service shall be cancelled.

[0152] In this embodiment, for example, if the service type of the service in transit is a value-added service, and the service type of the target service is also a value-added service, then the service type of the service in transit is consistent with that of the target service. The status of the service in transit includes user ID 001, service number 010, and upgraded package information: the package benefits include 20GB of data and 100 minutes of talk time per month, the package fee is 79 yuan per month, and the effective date is the following month. The status of the target service includes user ID 001, service number 011, upgraded package information: the package benefits include 50GB of data and 300 minutes of talk time per month, the package fee is 129 yuan per month, the account balance is 200 yuan, and the account balance is 99 yuan. In this case, the service in transit is cancelled.

[0153] The business processing method provided in this application determines whether the target business and the business in transit conflict based on their business types and statuses. This avoids data chaos caused by business conflicts, ensures the accuracy and continuity of business processing, and effectively improves business processing efficiency.

[0154] Figure 5 A schematic diagram of the business processing apparatus provided in this application, such as Figure 5 As shown, the service processing apparatus provided in this embodiment includes:

[0155] The receiving module 501 is used to receive business processing requests, which are used to request the execution of target business for the target user.

[0156] Optionally, the target users include a single user and / or a group of users, where the user group includes multiple users.

[0157] The detection module 502 is used to detect whether the target user has at least one in-transit business in response to a business processing request. An in-transit business is a business that has started processing but has not yet been completed.

[0158] The rollback module 503 is used to perform simulated rollback processing on each in-transit service if it exists, and generate a virtual service state corresponding to each in-transit service. The simulated rollback processing is to simulate the service state before the execution of the in-transit service, and the virtual service state is the service state before the execution of the in-transit service.

[0159] The judgment module 504 is used to determine whether the target business is executable based on the virtual business status and the preset business rule base.

[0160] Execution module 505 is used to execute the target business if the condition is met.

[0161] In one possible implementation, the rollback module 503 can also be used for:

[0162] Determine the processing time for each in-transit service;

[0163] Based on the processing time of each in-transit business, sort the in-transit businesses in order of their processing time from most recent to furthest, and obtain the processing order of the in-transit businesses.

[0164] According to the processing order, simulate rollback processing is performed on each in-transit service to generate a virtual service state corresponding to each in-transit service.

[0165] In one possible implementation, the determination module 504 can also be used for:

[0166] Based on the target business, the preset business rule base is searched and processed to determine the target business rule, which is the business rule corresponding to the target business.

[0167] The virtual business status is matched with the target business rule to obtain the matching result between the virtual business status and the business rule;

[0168] If the matching result shows that the virtual business status meets the target business rules, then the target business is determined to be executable.

[0169] In one possible implementation, the preset business rule base includes multiple business rules and business tags associated with each business rule;

[0170] Accordingly, the judgment module 504 can also be used for:

[0171] Based on the business processing request, determine the business type of the target business;

[0172] Based on the business type of the target business, retrieve the business tags associated with the business type of the target business from the preset business rule base, and use the business rules corresponding to the business tags as the target business rules.

[0173] In one possible implementation, after executing the target service, the determination module 504 can also be used for:

[0174] In response to the execution operation of the target business, update the target business status corresponding to the target business. The target business status is the business status after the target business is executed.

[0175] Obtain business information for services in transit, including business type and status of services in transit, with the status being the current status of the service in transit.

[0176] If the business type of the in-transit service is the same as that of the target service, and the status of the in-transit service is the same as that of the target service, then the in-transit service will be retained.

[0177] In one possible implementation, the determination module 504 can also be used for:

[0178] If the business type of the in-transit service is the same as that of the target service, but the status of the in-transit service is different from that of the target service, then the in-transit service will be cancelled.

[0179] The business processing device provided in this embodiment can execute the method provided in the above method embodiment. Its implementation principle and technical effect are similar, and will not be described in detail here.

[0180] Figure 6 A schematic diagram of the business processing equipment provided in this application. Figure 6 As shown, the service processing device provided in this embodiment includes at least one processor 601 and a memory 602. Optionally, the service processing device further includes a communication component 603. The processor 601, memory 602, and communication component 603 are connected via a bus 604.

[0181] In a specific implementation, at least one processor 601 executes computer execution instructions stored in memory 602, causing at least one processor 601 to perform the above-described method.

[0182] The specific implementation process of processor 601 can be found in the above method embodiments, and its implementation principle and technical effect are similar. It will not be repeated here.

[0183] In the above embodiments, it should be understood that the processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this invention can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules within the processor.

[0184] The memory may include random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage device.

[0185] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.

[0186] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the above-described method.

[0187] This application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the above-described method.

[0188] The aforementioned readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The readable storage medium can be any available medium accessible to a general-purpose or special-purpose computer.

[0189] An exemplary readable storage medium is coupled to a processor, enabling the processor to read information from and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can reside in an Application Specific Integrated Circuit (ASIC). Alternatively, the processor and the readable storage medium can exist as discrete components in the device.

[0190] The division of units is merely a logical functional division; in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, devices, or units, and may be electrical, mechanical, or other forms.

[0191] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0192] In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0193] If a function is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0194] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.

[0195] Finally, it should be noted that other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein, and is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of the invention is limited only by the appended claims.

Claims

1. A service processing method characterized by, include: Receive a service processing request, the service processing request being used to request the execution of a target service for a target user; In response to the business processing request, it is detected whether the target user has at least one business in transit, wherein the business in transit is a business that has started processing but has not been completed; If it exists, a simulated rollback process is performed on each in-transit service to generate a virtual service state corresponding to each in-transit service. The simulated rollback process is to simulate and calculate the service state before executing the in-transit service, and the virtual service state is the service state before executing the in-transit service. Based on the virtual service status and the preset service rule base, determine whether the target service is executable; If so, then execute the target service.

2. The method of claim 1, wherein, The step of simulating rollback for each in-transit service to generate a virtual service state corresponding to each in-transit service includes: Determine the business processing time for each of the aforementioned in-transit services; According to the order of business processing time from most recent to oldest, the in-transit businesses are sorted based on their processing time to obtain the processing order corresponding to the in-transit businesses. According to the processing order, a simulated rollback process is performed on each of the in-transit services to generate a virtual service state corresponding to each of the in-transit services.

3. The method of claim 1, wherein, The step of determining whether the target service is executable based on the virtual service status and a preset service rule base includes: Based on the target business, the preset business rule base is searched to determine the target business rule, which is the business rule corresponding to the target business. The virtual service state is matched with the target service rule to obtain the matching result between the virtual service state and the service rule; If the matching result indicates that the virtual service status meets the target service rule, then the target service is determined to be executable.

4. The method of claim 3, wherein, The preset business rule base includes multiple business rules and business tags associated with each business rule; Accordingly, the step of retrieving the preset business rule base according to the target business to determine the target business rule includes: Based on the business processing request, determine the business type of the target business; Based on the business type of the target business, a business tag associated with the business type of the target business is retrieved from the preset business rule base, and the business rule corresponding to the business tag is used as the target business rule.

5. The method according to any one of claims 1-4, characterized in that, After executing the target service, the process also includes: In response to the execution operation of the target service, the target service status corresponding to the target service is updated, and the target service status is the service status after the target service is executed; Obtain the business information of the in-transit business, the business information including business type and in-transit business status, the in-transit business status being the current business status; If the service type of the in-transit service is consistent with the service type of the target service, and the status of the in-transit service is consistent with the status of the target service, then the in-transit service is retained.

6. The method according to claim 5, characterized in that, Also includes: If the service type of the in-transit service is the same as the service type of the target service, but the status of the in-transit service is different from the status of the target service, then the in-transit service is cancelled.

7. The method according to any one of claims 1-4, characterized in that, The target users include individual users and / or user groups, where the user groups include multiple users.

8. A business processing apparatus, characterized in that, include: A receiving module is used to receive a business processing request, wherein the business processing request is used to request the execution of a target business for a target user; The detection module is used to detect, in response to the business processing request, whether the target user has at least one business in transit, wherein the business in transit is a business that has started processing but has not been completed. The rollback module is used to perform simulated rollback processing on each in-transit service if it exists, and generate a virtual service state corresponding to each in-transit service. The simulated rollback processing is to simulate the service state before executing the in-transit service, and the virtual service state is the service state before executing the in-transit service. The judgment module is used to determine whether the target service is executable based on the virtual service status and the preset service rule base. An execution module is used to execute the target service if the condition is met.

9. A business processing device, characterized in that, include: Memory, processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory, causing the processor to perform the method as described in any one of claims 1-7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any one of claims 1-7.

11. A computer program product, characterized in that, Includes a computer program that, when executed by a processor, implements the method of any one of claims 1-7.