WO2016169420A1 - Method, device and system for querying service request execution state - Google Patents

Method, device and system for querying service request execution state Download PDF

Info

Publication number
WO2016169420A1
WO2016169420A1 PCT/CN2016/079050 CN2016079050W WO2016169420A1 WO 2016169420 A1 WO2016169420 A1 WO 2016169420A1 CN 2016079050 W CN2016079050 W CN 2016079050W WO 2016169420 A1 WO2016169420 A1 WO 2016169420A1
Authority
WO
WIPO (PCT)
Prior art keywords
service
execution status
lost
query
execution
Prior art date
Application number
PCT/CN2016/079050
Other languages
French (fr)
Chinese (zh)
Inventor
黄孟俊
姬广军
Original Assignee
阿里巴巴集团控股有限公司
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 阿里巴巴集团控股有限公司 filed Critical 阿里巴巴集团控股有限公司
Publication of WO2016169420A1 publication Critical patent/WO2016169420A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor

Definitions

  • the present application relates to the field of computer technologies, and in particular, to a method, device, and system for querying a service request execution state.
  • the system that sends the service request can be referred to as the business system, and the system that executes the service request is called the execution system.
  • the service system sends the service request to the execution system. After the execution system performs the service request, the service system returns a clear execution status to the service system, and the execution status may be completion or failure.
  • the execution system may not send an execution status to the service system, or the service system does not receive the execution status of the service request, or the execution system sends an execution status to the service system that the service request is unclear ( As in the process, it causes the business system to not know whether the execution status of the service request is successful.
  • the status (including the execution status with unclear business request) is the execution status without obtaining the service request; the business request for the lost order can be called the lost order service. After the order is deleted, you need to query the execution status of the single service.
  • the method for querying the execution status of a single service is that the service system periodically sends a query request to the execution system for the execution status of the lost service within a certain period of time. For example, the service system sends some query requests for the execution status of the lost order to the execution system every 1 minute to obtain the execution status of these lost orders.
  • the business of different types of business often have different requirements for obtaining the corresponding execution time limit. For example, some of the lost orders need to get the execution status within 10 seconds after the order is dropped, and some of the lost orders require the execution status within 2 minutes after the order is placed. However, if the method of dropping the execution status of a single service according to the existing query is queried according to the order of the services to be logged out, there may be a time limit that cannot satisfy the execution status of the lost service.
  • the single business 1 (referred to as 1) and the single business Service 2 (referred to as 2), lost order service 3 (referred to as 3), lost order service 4 (referred to as 4), if the execution status of these lost orders is queried twice, the first query 1 and 2, the second time Query 3 and 4, however, in actual cases, the time limit for obtaining 1, 2, 3, and 4 execution states is 1 minute, 5 seconds, 5 seconds, and 1 minute, respectively, since they are queried in order, so It may cause the time limit for obtaining the 3 execution state to be unsatisfied.
  • the embodiment of the present application provides a method for querying the execution status of a service request, which is used to meet different time limit requirements for different release services to obtain an execution status.
  • the embodiment of the present application provides a query device for performing a service request execution state, which is used to meet different time limit requirements for different release services to obtain an execution state.
  • the embodiment of the present application provides an inquiry system for the execution status of a service request, which is used to meet different time limit requirements for different cancellation services to obtain an execution status.
  • a method for querying a service request execution state includes: obtaining an identification code and a service feature of a single service; and using the identification code to query an execution status of the lost service according to the service feature.
  • An apparatus for querying a service request execution state comprising: an obtaining unit, configured to acquire an identification code and a service feature of a single service, and a query unit, configured to use the identifier code to query a single service according to the service feature Execution status.
  • An inquiry system for a service request execution state comprising: a service system, configured to: send an identification code and a service feature of a lost service to an inquiry system; and the query system is configured to: receive an identification code of the lost service sent by the service system And the service feature; according to the service feature, using the identifier code to query the execution status of the lost service.
  • the performance of the single service can be queried according to the service characteristics, and the service feature can represent the time limit of the service to obtain the execution status. Therefore, the technical solution can support the task of optimizing the query and the single service according to the different time limit requirements, and the difference is satisfied.
  • the drop-off service requires different time limits for the execution status.
  • FIG. 1 is a flowchart showing a specific implementation process of a method for querying a service request execution state according to Embodiment 1 of the present application. intention;
  • FIG. 2 is a schematic structural diagram of a device for querying a service request execution state according to Embodiment 2 of the present application;
  • FIG. 3 is a schematic structural diagram of an inquiry system for a service request execution state according to Embodiment 3 of the present application;
  • FIG. 4 is a schematic flowchart of a payment service according to Embodiment 4 of the present application.
  • the embodiment 1 provides a query method for the execution status of the service request, which is used to meet different time limit requirements for different order-issuing services for obtaining the execution status.
  • a schematic diagram of the specific process of the method is shown in FIG. 1 and includes the following steps:
  • step 11 the identification code and the service feature of the single service are obtained.
  • the lost order service may be determined by judging whether the execution status (success or failure) of the service request is received. For example, if the service request 1 is sent but the execution status of the service request 1 is not received, or the execution status of the service request 1 is "in process", it can be determined that the service request 1 has a lost order.
  • the identification code of the lost service is a unique identifier indicating a service request for the lost order. For example, the serial number of the business request, etc.
  • the service feature is a feature that indicates a service request that has a lost order. For the step 11, the service feature may include, but is not limited to, any information that can identify the time limit requirement for the single service to obtain the corresponding execution state, and may include, for example, At least one of the following:
  • the service type may include at least one of the following: an online service type; an offline business type.
  • the offline service requires a higher time limit for obtaining the execution status of the lost order service (within 10 seconds). Therefore, if the order is lost, the execution status of the single service needs to be queried immediately, and the query result is fed back to the user;
  • the time limit requirement for obtaining the execution status of the lost service is not necessarily too high (within 2 minutes), so if there is a lost order, it may not be necessary to feedback the execution status to the user in a very timely manner compared to the offline service (2 minutes) Feedback to the user can be). Therefore, different service types have different time limits for obtaining the execution status of the lost service.
  • Business size can refer to the amount of execution in a business. For example, how much is the volume of goods traded, the amount of trading Size and so on.
  • large-scale businesses such as the flow of funds of more than 10,000 yuan
  • users are more concerned about whether they are successfully completed. Therefore, if there is a loss, the execution status of the single service needs to be queried as soon as possible so that timely feedback can be given.
  • small-scale businesses such as the flow of funds below 500 yuan
  • users are not very concerned, if there is a dropout, feedback to the user's execution status within a few minutes. Therefore, different service scales have different time limits for obtaining the execution status of the lost service.
  • the user level corresponding to the service may be the level of the user who sent the service request.
  • the level here may include, for example, a Very Important Person (VIP) level, a general level, and the like.
  • VIP Very Important Person
  • the execution status of the single service can be queried as soon as possible (for example, within 5 seconds); and for the user of the ordinary level, if the service request is lost, The execution status of the service can be fed back to the user within a few minutes.
  • the identification code and the service feature of the lost service may be obtained from the terminal or obtained from the server.
  • Step 12 Query the execution status of the single service by using the identification code according to the service feature.
  • querying the execution status of the lost service according to the service feature may include: determining the time limit requirement of the lost service according to the service feature; and using the identification code to query the lost order according to the time limit requirement The execution status of the business.
  • the time limit requirement for the single service is determined first. For example, the online business is a small amount. If there is a lost order, you can set the execution status of the single business within 1 minute, and then feed the query result back to the user; for example, use mobile The terminal pays 5,000 yuan for this service, which is offline business, and it is a large amount. If there is a lost order, it needs to set the execution status of the single-off service within 10 seconds, and feedback the query result in time. user. After determining the time limit requirement for the outgoing service, the identity of the lost service is used to query the execution status of the lost service according to the time limit requirement.
  • the time limit of the newly acquired lost service can be determined first, and then all the execution states to be queried are adjusted according to the time limit requirement. The order of query for a single business.
  • A a single service A
  • B a single-off service B
  • C a single-off service C in the cache
  • the new lost order service D (referred to as D) is obtained, and the time limit for obtaining the execution status of D (offline service) is also 10 seconds, so the task of querying the single business execution status in the next 5 seconds is performed. In the middle, the execution status of A, B, and D will be queried at the same time.
  • the execution status of the single-service service may include at least one of the following: querying the execution status of the single-traffic service according to the set period; The query rule of the lost order service, querying the execution status of the lost service.
  • the execution status of the lost service may be queried each time according to the query rule of the specified number of lost transactions.
  • the query rule may be an execution state of querying 10 lost transactions each time.
  • step 12 can be flexibly executed according to some query rule. For example, determine 100 time-out services that need to obtain an execution status within 10 seconds, and determine the time-out sequence of the 100-time-down transactions according to the time-out requirements for determining the status of each of the lost orders (and the time limit for obtaining the status of each lost order service). The order is divided into 4 times, and the execution status of the top 25 lost orders is queried every 2.5 seconds until the 100 lost orders are queried in 10 seconds.
  • the method may further include:
  • Step 13 Modify the execution status of the service request according to the execution status of the queried order service.
  • step 13 when the service request is lost, there is no execution status. Therefore, according to the execution status of the lost service that is queried in step 12, the execution status of the service request may be modified, and the executed execution status may be queried. It is completed, failed, or processed.
  • the execution status of the single service can be queried according to the service feature, the task of querying the single service can be optimized according to different time limit requirements, thereby satisfying the different execution status of the lost business. Different time limits.
  • execution bodies of the steps of the method provided in Embodiment 1 may all be the same device, or the steps of the method may also be performed by different devices.
  • the execution body of steps 11 and 12 It may be device 1; for example, the execution body of step 11 may be device 1, the execution body of step 12 and may be device 2;
  • the embodiment 2 provides a querying device for the service request execution state, which is used to meet different time limit requirements for different order-issuing services to obtain an execution state.
  • the device comprises:
  • the obtaining unit 21 is configured to obtain an identification code and a service feature of the single service.
  • the querying unit 22 may be configured to query, according to the service feature, the execution status of the lost service by using the identifier code.
  • the device further comprises:
  • the modifying unit 23 can be configured to modify the execution status of the service request according to the execution status of the queried order service.
  • the query unit 22 may be configured to: determine, according to the service feature, a time limit requirement for the lost service; and use the identifier code to query the execution status of the lost service according to the time limit requirement.
  • the service feature may include at least one of the following: a service type; a service size; and a user level corresponding to the service.
  • the service type may include at least one of the following: an online service type; an offline business type.
  • the query unit 22 is configured to perform at least one of the following operations: querying the execution status of the single service according to the time period; and querying the execution status of the single service according to the fixed number.
  • the execution status of the single service can be queried according to the service feature, the task of querying the single service can be optimized according to different time limit requirements, thereby satisfying the different execution status of the lost service. Different time limits.
  • the embodiment 3 provides an inquiry system for the execution status of the service request, which is used to meet different time limit requirements for different release orders for obtaining the execution status.
  • the system includes:
  • the service system 31 may be configured to: send the identifier of the lost service and the service feature to the query system;
  • the querying system 32 can be configured to: receive an identification code and a service feature of the lost service sent by the service system; and use the identification code to query the execution status of the lost service according to the service feature.
  • the querying system 32 is further configured to modify the execution status of the service request in the service system 31 according to the execution status of the logged-out service.
  • the query system 32 is further configured to: send the executed execution status of the logged-out service to the service system 31.
  • the service system 31 is further configured to: receive an execution status of the lost service queried by the query system 32; and modify an execution status of the single service.
  • service system 31 and the query system 32 mentioned in Embodiment 3 may be two separate systems in the same device, or two separate modules in the same system;
  • the execution status of the single service can be queried according to the service characteristics, the task of querying the single service can be optimized according to different time limit requirements, thereby satisfying the different execution status of the lost business. Different time limits.
  • the embodiment 4 provides a query method for the execution status of the payment service, which is used to meet different time limit requirements for different offline transactions for obtaining the execution status, and provides a better payment experience for the user.
  • a schematic diagram of the method is shown in Figure 4 and includes the following steps:
  • Step 41 Send 5 payment services (payment service A, payment service B, payment service C, payment service D, payment service E) to the banking system;
  • Step 42 The execution status of the three payment services, namely, the payment service B, the payment service C, and the payment service E, is received, and all three are successful.
  • Step 43 Since the execution status of the payment service A and the payment service D is not received, it is determined that the payment service A and the payment service D have a lost order, and the lost order service A (referred to as A) and the lost order service D (referred to as D) are determined. ).
  • step 44 according to the service characteristics of A and D, respectively, the payment is 5,000 yuan through the offline service, and 100 yuan is transferred through the online service.
  • the time limits for A and D were determined to be 5 seconds and 2 minutes, respectively.
  • step 45 within the next 5 seconds, the flow order number of A is used to send a query request to the banking system; within the next 2 minutes, the flow order number of D is used to send a query request to the banking system.
  • step 46 the execution states of both A and D are respectively "completed".
  • step 47 the execution states of the payment service A and the payment service D are respectively modified.
  • the time limit requirement for obtaining the execution status of the single service is determined according to the service feature, and then the execution status of the different lost service is queried according to the time limit requirement, and the execution status of the different lost service is satisfied.
  • embodiments of the present application can be provided as a method, system, or computer program product.
  • the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment in combination of software and hardware.
  • the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
  • a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
  • processors CPUs
  • input/output interfaces network interfaces
  • memory volatile and non-volatile memory
  • the memory may include non-persistent memory, random access memory (RAM), and/or non-volatile memory in a computer readable medium, such as read only memory (ROM) or flash memory.
  • RAM random access memory
  • ROM read only memory
  • Memory is an example of a computer readable medium.
  • Computer readable media includes both permanent and non-persistent, removable and non-removable media.
  • Information storage can be implemented by any method or technology.
  • the information can be computer readable instructions, data structures, modules of programs, or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory. (ROM), electrically erasable programmable read only memory (EEPROM), flash memory or other memory technology, compact disk read only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, Magnetic tape cartridges, magnetic tape storage or other magnetic storage devices or any other non-transportable media can be used to store information that can be accessed by a computing device.
  • computer readable media does not include temporary storage of computer readable media, such as modulated data signals and carrier waves.
  • embodiments of the present application can be provided as a method, system, or computer program product.
  • the present application can take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment in combination of software and hardware.
  • the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer And Data Communications (AREA)
  • Stored Programmes (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

Disclosed is a method for querying a service request execution state, the method satisfying different time limit requirements for obtaining an execution state of different services having an unclear state. The method comprises: obtaining an identifier code and service characteristic of the service having an unclear state; and querying, according to the service characteristic and by utilizing the identifier code, the execution state of the service having an unclear state. Also disclosed in the present application are a device and system for querying the service request execution state.

Description

一种业务请求执行状态的查询方法、装置及系统Method, device and system for querying service request execution status
本申请要求2015年04月20日递交的申请号为201510189103.1、发明名称为“一种业务请求执行状态的查询方法、装置及系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 201510189103.1, entitled "Inquiring Method, Apparatus and System for Execution Status of Business Requests", filed on April 20, 2015, the entire contents of which are incorporated herein by reference. In the application.
技术领域Technical field
本申请涉及计算机技术领域,尤其涉及一种业务请求执行状态的查询方法、装置及系统。The present application relates to the field of computer technologies, and in particular, to a method, device, and system for querying a service request execution state.
背景技术Background technique
随着互联网的蓬勃发展,出现了越来越多的互联网业务请求,以及执行业务请求的系统。可以把发送业务请求的系统称为业务系统,执行业务请求的系统称为执行系统。通常业务系统将业务请求发送到执行系统中,执行系统执行业务请求后,会反馈给业务系统该业务请求一个明确的执行状态,该执行状态可以是完成、或失败。但由于网络原因或两系统原因,可能出现执行系统没有给业务系统发送执行状态,或者业务系统没有接收到业务请求的执行状态,又或者执行系统给业务系统发送了业务请求不明确的执行状态(如处理中),都导致了业务系统不知道业务请求的执行状态是否成功,这种不知道业务请求的执行状态是否成功的情况可以称为掉单,可以认为:凡是没有获得业务请求明确的执行状态(包括获得业务请求不明确的执行状态)都是没有获得业务请求的执行状态;掉单的业务请求可以称为掉单业务。出现掉单后,就需要查询掉单业务的执行状态。With the booming Internet, more and more Internet service requests and systems for executing business requests have emerged. The system that sends the service request can be referred to as the business system, and the system that executes the service request is called the execution system. Usually, the service system sends the service request to the execution system. After the execution system performs the service request, the service system returns a clear execution status to the service system, and the execution status may be completion or failure. However, due to network reasons or two system reasons, the execution system may not send an execution status to the service system, or the service system does not receive the execution status of the service request, or the execution system sends an execution status to the service system that the service request is unclear ( As in the process, it causes the business system to not know whether the execution status of the service request is successful. This kind of situation that does not know whether the execution status of the service request is successful can be called a dropout. It can be considered that any execution without clearing the service request can be considered. The status (including the execution status with unclear business request) is the execution status without obtaining the service request; the business request for the lost order can be called the lost order service. After the order is deleted, you need to query the execution status of the single service.
现有技术中,查询掉单业务执行状态的方法是,业务系统定期向执行系统发送某个时间段内掉单业务执行状态的查询请求。比如,业务系统每隔1分钟向执行系统发送一些掉单业务执行状态的查询请求,来获得这些掉单业务的执行状态。In the prior art, the method for querying the execution status of a single service is that the service system periodically sends a query request to the execution system for the execution status of the lost service within a certain period of time. For example, the service system sends some query requests for the execution status of the lost order to the execution system every 1 minute to obtain the execution status of these lost orders.
目前,业务类型不同的掉单业务,往往对于获得相应的执行状态的时限有着不同要求。比如,一些掉单业务需要在出现掉单后10秒内获得执行状态,另一些掉单业务则要求在出现掉单后2分钟之内获得执行状态即可。但是,如果按照现有的查询掉单业务执行状态的方法,会按照掉单业务的先后顺序来查询,就可能会出现不能满足获得掉单业务执行状态的时限要求。比如,按照先后顺序,分别发现掉单业务1(简称1)、掉单业 务2(简称2)、掉单业务3(简称3)、掉单业务4(简称4),如果分两次查询这些掉单业务的执行状态,则第一次查询1和2、第二次查询3和4,然而,实际情况下,获得1、2、3、4执行状态的时限要求分别是1分钟、5秒钟、5秒钟、1分钟,由于是按照先后顺序来查询,所以就可能造成不能满足获得3执行状态的时限要求。At present, the business of different types of business, often have different requirements for obtaining the corresponding execution time limit. For example, some of the lost orders need to get the execution status within 10 seconds after the order is dropped, and some of the lost orders require the execution status within 2 minutes after the order is placed. However, if the method of dropping the execution status of a single service according to the existing query is queried according to the order of the services to be logged out, there may be a time limit that cannot satisfy the execution status of the lost service. For example, in order of succession, it is found that the single business 1 (referred to as 1) and the single business Service 2 (referred to as 2), lost order service 3 (referred to as 3), lost order service 4 (referred to as 4), if the execution status of these lost orders is queried twice, the first query 1 and 2, the second time Query 3 and 4, however, in actual cases, the time limit for obtaining 1, 2, 3, and 4 execution states is 1 minute, 5 seconds, 5 seconds, and 1 minute, respectively, since they are queried in order, so It may cause the time limit for obtaining the 3 execution state to be unsatisfied.
发明内容Summary of the invention
本申请实施例提供一种业务请求执行状态的查询方法,用于满足不同掉单业务对于获得执行状态的不同时限要求。The embodiment of the present application provides a method for querying the execution status of a service request, which is used to meet different time limit requirements for different release services to obtain an execution status.
本申请实施例提供一种业务请求执行状态的查询装置,用于满足不同掉单业务对于获得执行状态的不同时限要求。The embodiment of the present application provides a query device for performing a service request execution state, which is used to meet different time limit requirements for different release services to obtain an execution state.
本申请实施例提供一种业务请求执行状态的查询系统,用于满足不同掉单业务对于获得执行状态的不同时限要求。The embodiment of the present application provides an inquiry system for the execution status of a service request, which is used to meet different time limit requirements for different cancellation services to obtain an execution status.
本申请实施例采用下述技术方案:The embodiments of the present application adopt the following technical solutions:
一种业务请求执行状态的查询方法,包括:获取掉单业务的标识码和业务特征;根据所述业务特征,利用所述标识码,查询掉单业务的执行状态。A method for querying a service request execution state includes: obtaining an identification code and a service feature of a single service; and using the identification code to query an execution status of the lost service according to the service feature.
一种业务请求执行状态的查询装置,包括:获取单元,用于获取掉单业务的标识码和业务特征;查询单元,用于根据所述业务特征,利用所述标识码,查询掉单业务的执行状态。An apparatus for querying a service request execution state, comprising: an obtaining unit, configured to acquire an identification code and a service feature of a single service, and a query unit, configured to use the identifier code to query a single service according to the service feature Execution status.
一种业务请求执行状态的查询系统,包括:业务系统,用于:将掉单业务的标识码和业务特征发送给查询系统;查询系统,用于:接收业务系统发送的掉单业务的标识码和业务特征;根据所述业务特征,利用所述标识码,查询掉单业务的执行状态。An inquiry system for a service request execution state, comprising: a service system, configured to: send an identification code and a service feature of a lost service to an inquiry system; and the query system is configured to: receive an identification code of the lost service sent by the service system And the service feature; according to the service feature, using the identifier code to query the execution status of the lost service.
本申请实施例采用的上述至少一个技术方案能够达到以下有益效果:The above at least one technical solution adopted by the embodiment of the present application can achieve the following beneficial effects:
由于可以根据业务特征,来查询掉单业务的执行状态,而业务特征可以表征业务对于获得执行状态的时限要求,从而该技术方案可以支持根据不同时限要求优化查询掉单业务的任务,满足了不同掉单业务对于获得执行状态的不同时限要求。The performance of the single service can be queried according to the service characteristics, and the service feature can represent the time limit of the service to obtain the execution status. Therefore, the technical solution can support the task of optimizing the query and the single service according to the different time limit requirements, and the difference is satisfied. The drop-off service requires different time limits for the execution status.
附图说明DRAWINGS
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the present application, and are intended to be a part of this application. In the drawing:
图1为本申请实施例1提供的一种业务请求执行状态的查询方法的具体实现流程示 意图;FIG. 1 is a flowchart showing a specific implementation process of a method for querying a service request execution state according to Embodiment 1 of the present application. intention;
图2为本申请实施例2提供的一种业务请求执行状态的查询装置的具体结构示意图;2 is a schematic structural diagram of a device for querying a service request execution state according to Embodiment 2 of the present application;
图3为本申请实施例3提供的一种业务请求执行状态的查询系统的结构示意图;3 is a schematic structural diagram of an inquiry system for a service request execution state according to Embodiment 3 of the present application;
图4为本申请实施例4提供的一种支付业务的流程示意图。FIG. 4 is a schematic flowchart of a payment service according to Embodiment 4 of the present application.
具体实施方式detailed description
为使本申请的目的、技术方案和优点更加清楚,下面将结合本申请具体实施例及相应的附图对本申请技术方案进行清楚、完整地描述。显然,所描述的实施例仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions of the present application will be clearly and completely described in the following with reference to the specific embodiments of the present application and the corresponding drawings. It is apparent that the described embodiments are only a part of the embodiments of the present application, and not all of them. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope are the scope of the present application.
以下结合附图,详细说明本申请各实施例提供的技术方案。The technical solutions provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings.
实施例1Example 1
实施例1提供了一种业务请求执行状态的查询方法,用于满足不同掉单业务对于获得执行状态的不同时限要求。该方法的具体流程示意图如图1所示,包括下述步骤:The embodiment 1 provides a query method for the execution status of the service request, which is used to meet different time limit requirements for different order-issuing services for obtaining the execution status. A schematic diagram of the specific process of the method is shown in FIG. 1 and includes the following steps:
步骤11,获取掉单业务的标识码和业务特征。In step 11, the identification code and the service feature of the single service are obtained.
掉单业务可以是通过判断是否接收到业务请求的执行状态(成功或失败)确定出的。比如,发送了业务请求1,但是没有接收到业务请求1的执行状态,或接收到业务请求1的执行状态为“处理中”,就可以确定出业务请求1出现掉单。掉单业务的标识码,是表示某个出现掉单的业务请求的唯一标识。比如,业务请求的流水单号等。业务特征是表示某个出现掉单的业务请求的特征,针对步骤11而言,业务特征,可以但不限于包括任何可以表征掉单业务对于获得相应的执行状态的时限要求的信息,比如可以包括下述至少一种:The lost order service may be determined by judging whether the execution status (success or failure) of the service request is received. For example, if the service request 1 is sent but the execution status of the service request 1 is not received, or the execution status of the service request 1 is "in process", it can be determined that the service request 1 has a lost order. The identification code of the lost service is a unique identifier indicating a service request for the lost order. For example, the serial number of the business request, etc. The service feature is a feature that indicates a service request that has a lost order. For the step 11, the service feature may include, but is not limited to, any information that can identify the time limit requirement for the single service to obtain the corresponding execution state, and may include, for example, At least one of the following:
业务类型;业务规模;业务对应的用户等级;等等。Business type; business size; user level corresponding to the service; and so on.
具体地,业务类型,可以包括下述至少一种:线上业务类型;线下业务类型。线下业务对获得掉单业务执行状态的时限要求较高(10秒以内),所以如果出现掉单,就需要马上查询掉单业务的执行状态,并将查询结果反馈给用户;而线上业务对获得掉单业务执行状态的时限要求要求则没必要太高(2分钟以内),所以如果出现掉单,相比于线下业务,可能不需要非常及时地将执行状态反馈给用户(2分钟之内反馈给用户即可)。所以不同的业务类型,对于获得掉单业务执行状态的时限要求是不同的。Specifically, the service type may include at least one of the following: an online service type; an offline business type. The offline service requires a higher time limit for obtaining the execution status of the lost order service (within 10 seconds). Therefore, if the order is lost, the execution status of the single service needs to be queried immediately, and the query result is fed back to the user; The time limit requirement for obtaining the execution status of the lost service is not necessarily too high (within 2 minutes), so if there is a lost order, it may not be necessary to feedback the execution status to the user in a very timely manner compared to the offline service (2 minutes) Feedback to the user can be). Therefore, different service types have different time limits for obtaining the execution status of the lost service.
业务规模可以是指某项业务中执行数额的多少。比如,货物交易量多少,金额交易 大小等。实际情况中,对于规模较大的业务(如1万元以上的资金流),用户都比较担心是否顺利完成,所以如果出现掉单,就需要尽快查询掉单业务的执行状态,以便及时反馈给用户;但对规模较小的业务(如500元以下的资金流)用户则不是很担心,如果出现掉单,在几分钟之内反馈给用户该业务的执行状态就可以了。所以不同的业务规模,对于获得掉单业务执行状态的时限要求也是不同的。Business size can refer to the amount of execution in a business. For example, how much is the volume of goods traded, the amount of trading Size and so on. In the actual situation, for large-scale businesses (such as the flow of funds of more than 10,000 yuan), users are more worried about whether they are successfully completed. Therefore, if there is a loss, the execution status of the single service needs to be queried as soon as possible so that timely feedback can be given. Users; but for small-scale businesses (such as the flow of funds below 500 yuan) users are not very worried, if there is a dropout, feedback to the user's execution status within a few minutes. Therefore, different service scales have different time limits for obtaining the execution status of the lost service.
业务对应的用户等级可以是指发送业务请求的用户的等级。这里的等级比如可以包括非常重要人员(Very Important Person,VIP)等级,以及普通等级等。实际情况中,如果VIP等级的用户的业务请求出现掉单,可以为其尽快(比如5秒内)查询掉单业务的执行状态;而对于普通等级的用户,若其业务请求出现掉单,则可以在几分钟之内反馈给用户该业务的执行状态。The user level corresponding to the service may be the level of the user who sent the service request. The level here may include, for example, a Very Important Person (VIP) level, a general level, and the like. In the actual situation, if the service request of the user of the VIP level appears to be lost, the execution status of the single service can be queried as soon as possible (for example, within 5 seconds); and for the user of the ordinary level, if the service request is lost, The execution status of the service can be fed back to the user within a few minutes.
该步骤中,掉单业务的标识码和业务特征,可以是从终端获取,也可以是从服务器中获取。In this step, the identification code and the service feature of the lost service may be obtained from the terminal or obtained from the server.
步骤12,根据业务特征,利用标识码,查询掉单业务的执行状态。Step 12: Query the execution status of the single service by using the identification code according to the service feature.
在步骤11中已经介绍,具备不同业务特征的掉单业务,对于获得相应的执行状态会有不同的时限要求。所以,针对步骤12而言,根据业务特征,利用标识码,查询掉单业务的执行状态,可以包括:根据业务特征,确定掉单业务的时限要求;根据时限要求,利用标识码,查询掉单业务的执行状态。As shown in step 11, the lost order service with different service characteristics has different time limit requirements for obtaining the corresponding execution status. Therefore, for step 12, querying the execution status of the lost service according to the service feature may include: determining the time limit requirement of the lost service according to the service feature; and using the identification code to query the lost order according to the time limit requirement The execution status of the business.
具体地,根据业务特征的不同,先确定出掉单业务的时限要求。比如,线上业务,又是数额很小的,如果出现掉单,就可以设定在1分钟之内查询掉单业务的执行状态,再将查询结果反馈给用户即可;又比如对于用移动终端支付了5000元这个业务,是线下业务,又是数额较大的,如果出现掉单,就需要设定在10秒钟之内查询掉单业务的执行状态,并将查询结果及时反馈给用户。在确定出掉单业务的时限要求后,再根据该时限要求,利用掉单业务的标识码,查询掉单业务的执行状态。Specifically, according to different service characteristics, the time limit requirement for the single service is determined first. For example, the online business is a small amount. If there is a lost order, you can set the execution status of the single business within 1 minute, and then feed the query result back to the user; for example, use mobile The terminal pays 5,000 yuan for this service, which is offline business, and it is a large amount. If there is a lost order, it needs to set the execution status of the single-off service within 10 seconds, and feedback the query result in time. user. After determining the time limit requirement for the outgoing service, the identity of the lost service is used to query the execution status of the lost service according to the time limit requirement.
在实际应用中,缓存中可能会存在很多待查询执行状态的掉单业务。所以,在每次获取到新的掉单业务的标识码和业务特征后,都可以先确定获取到的新的掉单业务的时限要求,然后根据该时限要求,调整所有待查询执行状态的掉单业务的查询顺序。比如:缓存中存在掉单业务A(简称A)、掉单业务B(简称B)、掉单业务C,根据这三个掉单业务的业务特征(A和B为线下业务、C为线上业务),可以按照下表1业务特征和时限要求的映射关系表,查找到获得这三个掉单业务执行状态的时限要求分别为10秒、10秒钟、1分钟,下个5秒内进行的查询掉单业务执行状态的任务中,将同时查询 A和B的执行状态。现获取到新的掉单业务D(简称D),并查找出获得D(线下业务)执行状态的时限要求也为10秒,所以在下个5秒内进行的查询掉单业务执行状态的任务中,将同时查询A、B和D的执行状态。In actual applications, there may be many lost orders in the cache for the execution status of the query. Therefore, after each time obtaining the identification code and the service feature of the new lost service, the time limit of the newly acquired lost service can be determined first, and then all the execution states to be queried are adjusted according to the time limit requirement. The order of query for a single business. For example, there are a single service A (abbreviated as A), a single-off service B (abbreviated as B), and a single-off service C in the cache, according to the service characteristics of the three lost services (A and B are offline services, C is a line) On the service, you can find the time limit for obtaining the execution status of the three lost orders according to the mapping table of service characteristics and time limit in Table 1 below: 10 seconds, 10 seconds, 1 minute, and the next 5 seconds. In the task of querying the single business execution status, the query will be queried simultaneously. The execution status of A and B. Now, the new lost order service D (referred to as D) is obtained, and the time limit for obtaining the execution status of D (offline service) is also 10 seconds, so the task of querying the single business execution status in the next 5 seconds is performed. In the middle, the execution status of A, B, and D will be queried at the same time.
业务特征Business characteristics 时限要求Time limit requirement
线下业务Offline business 10秒10 seconds
线上业务Online business 1分钟1 minute
表1Table 1
为了避免一次查询很多或查询太频繁造成的网络拥堵,查询掉单业务的执行状态,可以包括下述至少一种:按照设定的周期,查询掉单业务的执行状态;按照一次查询指定个数的掉单业务的查询规则,查询掉单业务的执行状态。To avoid the network congestion caused by a large number of queries or queries, the execution status of the single-service service may include at least one of the following: querying the execution status of the single-traffic service according to the set period; The query rule of the lost order service, querying the execution status of the lost service.
具体地,为了避免一次查询很多掉单业务造成网络拥堵,可以每次按照一次查询指定个数的掉单业务的查询规则对掉单业务执行状态进行查询。比如,为了保证网络畅通和计算能力的稳定发挥,查询规则可以是,每次查询10个掉单业务的执行状态。为了避免查询太频繁造成网络拥堵,可以按照设定的周期对掉单业务执行状态进行查询。比如,依然为了保证网络畅通和计算能力的稳定发挥,每10秒钟查询一次。避免了网络拥堵的同时,还更好的满足了用户的需求。Specifically, in order to avoid network congestion caused by querying a lot of lost services at a time, the execution status of the lost service may be queried each time according to the query rule of the specified number of lost transactions. For example, in order to ensure the smooth flow of the network and the stable performance of the computing power, the query rule may be an execution state of querying 10 lost transactions each time. To avoid network congestion caused by frequent queries, you can query the execution status of the lost service according to the set period. For example, in order to ensure the smooth flow of the network and the stable performance of computing power, query every 10 seconds. While avoiding network congestion, it also better meets the needs of users.
实际应用中,可以按照某种查询规则,灵活执行步骤12。比如,确定出100个需要在10秒内获得执行状态的掉单业务,将这100个掉单业务按照确定出这些掉单业务(以及获得每个掉单业务执行状态的时限要求)的时间先后顺序,分成4次,每2.5秒查询顺序靠前的25个掉单业务的执行状态,直到利用10秒钟查询完这100个掉单业务为止。In practical applications, step 12 can be flexibly executed according to some query rule. For example, determine 100 time-out services that need to obtain an execution status within 10 seconds, and determine the time-out sequence of the 100-time-down transactions according to the time-out requirements for determining the status of each of the lost orders (and the time limit for obtaining the status of each lost order service). The order is divided into 4 times, and the execution status of the top 25 lost orders is queried every 2.5 seconds until the 100 lost orders are queried in 10 seconds.
在一种实施方式中,为了完成对掉单业务的执行状态的反馈,该方法还可以包括:In an implementation manner, in order to complete the feedback on the execution status of the lost service, the method may further include:
步骤13,根据查询到的掉单业务的执行状态,修改业务请求的执行状态。Step 13: Modify the execution status of the service request according to the execution status of the queried order service.
针对步骤13而言,由于业务请求出现掉单时,是没有执行状态的,所以可以根据执行步骤12查询到的掉单业务的执行状态,修改业务请求的执行状态,查询到的执行状态有可能是完成、失败、或者处理中。For step 13, when the service request is lost, there is no execution status. Therefore, according to the execution status of the lost service that is queried in step 12, the execution status of the service request may be modified, and the executed execution status may be queried. It is completed, failed, or processed.
采用实施例1提供的该方法,由于可以根据业务特征,来查询掉单业务的执行状态,也就可以根据不同时限要求优化查询掉单业务的任务,从而满足了不同掉单业务对于获得执行状态的不同时限要求。With the method provided in Embodiment 1, since the execution status of the single service can be queried according to the service feature, the task of querying the single service can be optimized according to different time limit requirements, thereby satisfying the different execution status of the lost business. Different time limits.
需要说明的是,实施例1所提供方法的各步骤的执行主体均可以是同一设备,或者,该方法的各步骤也可以由不同设备作为执行主体。比如,步骤11和步骤12的执行主体 可以为设备1;又比如,步骤11的执行主体可以为设备1,步骤12和的执行主体可以为设备2;等等。It should be noted that the execution bodies of the steps of the method provided in Embodiment 1 may all be the same device, or the steps of the method may also be performed by different devices. For example, the execution body of steps 11 and 12 It may be device 1; for example, the execution body of step 11 may be device 1, the execution body of step 12 and may be device 2;
实施例2Example 2
基于相同的发明构思,实施例2提供了一种业务请求执行状态的查询装置,用于满足不同掉单业务对于获得执行状态的不同时限要求。如图2所示,该装置包括:Based on the same inventive concept, the embodiment 2 provides a querying device for the service request execution state, which is used to meet different time limit requirements for different order-issuing services to obtain an execution state. As shown in Figure 2, the device comprises:
获取单元21,可以用于获取掉单业务的标识码和业务特征;The obtaining unit 21 is configured to obtain an identification code and a service feature of the single service.
查询单元22,可以用于根据所述业务特征,利用所述标识码,查询掉单业务的执行状态。The querying unit 22 may be configured to query, according to the service feature, the execution status of the lost service by using the identifier code.
在一种实施方式中,该装置还包括:In an embodiment, the device further comprises:
修改单元23,可以用于根据查询到的掉单业务的执行状态,修改业务请求的执行状态。The modifying unit 23 can be configured to modify the execution status of the service request according to the execution status of the queried order service.
在一种实施方式中,查询单元22,可以用于:根据所述业务特征,确定掉单业务的时限要求;根据所述时限要求,利用所述标识码,查询掉单业务的执行状态。In an implementation manner, the query unit 22 may be configured to: determine, according to the service feature, a time limit requirement for the lost service; and use the identifier code to query the execution status of the lost service according to the time limit requirement.
在一种实施方式中,业务特征,可以包括下述至少一种:业务类型;业务规模;业务对应的用户等级。In an embodiment, the service feature may include at least one of the following: a service type; a service size; and a user level corresponding to the service.
在一种实施方式中,业务类型,可以包括下述至少一种:线上业务类型;线下业务类型。In an embodiment, the service type may include at least one of the following: an online service type; an offline business type.
在一种实施方式中,查询单元22,用于执行下述至少一种操作:按照时间周期,查询掉单业务的执行状态;按照固定个数,查询掉单业务的执行状态。In an embodiment, the query unit 22 is configured to perform at least one of the following operations: querying the execution status of the single service according to the time period; and querying the execution status of the single service according to the fixed number.
采用实施例2提供的该装置,由于可以根据业务特征,来查询掉单业务的执行状态,也就可以根据不同时限要求优化查询掉单业务的任务,从而满足了不同掉单业务对于获得执行状态的不同时限要求。With the device provided in Embodiment 2, since the execution status of the single service can be queried according to the service feature, the task of querying the single service can be optimized according to different time limit requirements, thereby satisfying the different execution status of the lost service. Different time limits.
实施例3Example 3
基于相同的发明构思,实施例3提供了一种业务请求执行状态的查询系统,用于满足不同掉单业务对于获得执行状态的不同时限要求。如图3所示,该系统包括:Based on the same inventive concept, the embodiment 3 provides an inquiry system for the execution status of the service request, which is used to meet different time limit requirements for different release orders for obtaining the execution status. As shown in Figure 3, the system includes:
业务系统31,可以用于:将掉单业务的标识码和业务特征发送给查询系统;The service system 31 may be configured to: send the identifier of the lost service and the service feature to the query system;
查询系统32,可以用于:接收业务系统发送的掉单业务的标识码和业务特征;根据业务特征,利用标识码,查询掉单业务的执行状态。 The querying system 32 can be configured to: receive an identification code and a service feature of the lost service sent by the service system; and use the identification code to query the execution status of the lost service according to the service feature.
在一种实施方式中,查询系统32,还可以用于:根据查询到的掉单业务的执行状态,修改业务系统31中业务请求的执行状态。In an embodiment, the querying system 32 is further configured to modify the execution status of the service request in the service system 31 according to the execution status of the logged-out service.
在一种实施方式中,查询系统32,还可以用于:将查询到的掉单业务的执行状态,发送给业务系统31。In an embodiment, the query system 32 is further configured to: send the executed execution status of the logged-out service to the service system 31.
在一种实施方式中,业务系统31,还可以用于:接收查询系统32查询到的掉单业务的执行状态;修改掉单业务的执行状态。In an embodiment, the service system 31 is further configured to: receive an execution status of the lost service queried by the query system 32; and modify an execution status of the single service.
需要说明的是,实施例3中所说的业务系统31和查询系统32,可以是同一设备中的两个单独的系统,也可以是同一系统中两个单独的模块;等等。It should be noted that the service system 31 and the query system 32 mentioned in Embodiment 3 may be two separate systems in the same device, or two separate modules in the same system;
采用实施例3提供的该系统,由于可以根据业务特征,来查询掉单业务的执行状态,也就可以根据不同时限要求优化查询掉单业务的任务,从而满足了不同掉单业务对于获得执行状态的不同时限要求。With the system provided in Embodiment 3, since the execution status of the single service can be queried according to the service characteristics, the task of querying the single service can be optimized according to different time limit requirements, thereby satisfying the different execution status of the lost business. Different time limits.
实施例4Example 4
基于相同的发明构思,实施例4提供了一种支付业务执行状态的查询方法,用于满足不同掉单业务对于获得执行状态的不同时限要求,并为用户提供更好支付体验。该方法的示意图如图4所示,包括下述步骤:Based on the same inventive concept, the embodiment 4 provides a query method for the execution status of the payment service, which is used to meet different time limit requirements for different offline transactions for obtaining the execution status, and provides a better payment experience for the user. A schematic diagram of the method is shown in Figure 4 and includes the following steps:
步骤41,发送5个支付业务(支付业务A、支付业务B、支付业务C、支付业务D、支付业务E)到银行系统;Step 41: Send 5 payment services (payment service A, payment service B, payment service C, payment service D, payment service E) to the banking system;
步骤42,接收到支付业务B、支付业务C和支付业务E这3个支付业务的执行状态,3个全部为执行成功。Step 42: The execution status of the three payment services, namely, the payment service B, the payment service C, and the payment service E, is received, and all three are successful.
步骤43,因为没有接收到支付业务A和支付业务D的执行状态,所以判断出支付业务A和支付业务D出现掉单,确定出掉单业务A(简称A)和掉单业务D(简称D)。Step 43: Since the execution status of the payment service A and the payment service D is not received, it is determined that the payment service A and the payment service D have a lost order, and the lost order service A (referred to as A) and the lost order service D (referred to as D) are determined. ).
步骤44,根据A和D的业务特征分别为:通过线下业务支付5000元、通过线上业务转账100元。可以按照下表2业务特征和时限要求的映射关系表,查找到获得这两个掉单业务执行状态的时限要求。分别确定出A和D的时限要求分别是5秒和2分钟。In step 44, according to the service characteristics of A and D, respectively, the payment is 5,000 yuan through the offline service, and 100 yuan is transferred through the online service. You can find the time limit for obtaining the execution status of these two lost orders according to the mapping table of service characteristics and time limit requirements in Table 2 below. The time limits for A and D were determined to be 5 seconds and 2 minutes, respectively.
Figure PCTCN2016079050-appb-000001
Figure PCTCN2016079050-appb-000001
Figure PCTCN2016079050-appb-000002
Figure PCTCN2016079050-appb-000002
表2Table 2
步骤45,在下个5秒钟之内,利用A的流水单号,向银行系统发送查询掉单请求;在下个2分钟之内,利用D的流水单号,向银行系统发送查询掉单请求。In step 45, within the next 5 seconds, the flow order number of A is used to send a query request to the banking system; within the next 2 minutes, the flow order number of D is used to send a query request to the banking system.
步骤46,分别获取到A和D的执行状态都为“完成”。In step 46, the execution states of both A and D are respectively "completed".
步骤47,分别修改支付业务A和支付业务D的执行状态。In step 47, the execution states of the payment service A and the payment service D are respectively modified.
采用实施例4提供的该方法,先根据业务特征,确定出获得掉单业务执行状态的时限要求,再根据时限要求来查询不同掉单业务的执行状态,满足了不同掉单业务对于获得执行状态的不同时限要求,并为用户提供了更好支付体验。According to the method provided in Embodiment 4, the time limit requirement for obtaining the execution status of the single service is determined according to the service feature, and then the execution status of the different lost service is queried according to the time limit requirement, and the execution status of the different lost service is satisfied. Different timeframe requirements and a better payment experience for users.
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present application can be provided as a method, system, or computer program product. Thus, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment in combination of software and hardware. Moreover, the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the present application. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。 These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。The memory may include non-persistent memory, random access memory (RAM), and/or non-volatile memory in a computer readable medium, such as read only memory (ROM) or flash memory. Memory is an example of a computer readable medium.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer readable media includes both permanent and non-persistent, removable and non-removable media. Information storage can be implemented by any method or technology. The information can be computer readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory. (ROM), electrically erasable programmable read only memory (EEPROM), flash memory or other memory technology, compact disk read only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, Magnetic tape cartridges, magnetic tape storage or other magnetic storage devices or any other non-transportable media can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary storage of computer readable media, such as modulated data signals and carrier waves.
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括要素的过程、方法、商品或者设备中还存在另外的相同要素。It is also to be understood that the terms "comprises" or "comprising" or "comprising" or any other variations are intended to encompass a non-exclusive inclusion, such that a process, method, article, Other elements not explicitly listed, or elements that are inherent to such a process, method, commodity, or equipment. An element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in a process, method, article, or device that comprises the element, without further limitation.
本领域技术人员应明白,本申请的实施例可提供为方法、系统或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present application can be provided as a method, system, or computer program product. Thus, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment in combination of software and hardware. Moreover, the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
以上仅为本申请的实施例而已,并不用于限制本申请。对于本领域技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本申请的权利要求范围之内。 The above is only an embodiment of the present application and is not intended to limit the application. Various changes and modifications can be made to the present application by those skilled in the art. Any modifications, equivalents, improvements, etc. made within the spirit and scope of the present application are intended to be included within the scope of the appended claims.

Claims (14)

  1. 一种业务请求执行状态的查询方法,其特征在于,包括:A method for querying a service request execution state, comprising:
    获取掉单业务的标识码和业务特征;Obtaining the identification code and service characteristics of the single service;
    根据所述业务特征,利用所述标识码,查询掉单业务的执行状态。According to the service feature, the execution status of the single service is queried by using the identification code.
  2. 如权利要求1所述的方法,其特征在于,方法还包括:The method of claim 1 wherein the method further comprises:
    根据查询到的掉单业务的执行状态,修改业务请求的执行状态。Modify the execution status of the service request according to the execution status of the logged out service.
  3. 如权利要求1所述的方法,其特征在于,根据所述业务特征,利用所述标识码,查询掉单业务的执行状态,包括:The method according to claim 1, wherein the querying the execution status of the lost service by using the identification code according to the service feature comprises:
    根据所述业务特征,确定掉单业务的时限要求;Determining a time limit requirement for the lost service according to the service characteristic;
    根据所述时限要求,利用所述标识码,查询掉单业务的执行状态。According to the time limit requirement, the execution status of the single service is queried by using the identification code.
  4. 如权利要求1所述的方法,其特征在于,业务特征,包括下述至少一种:The method of claim 1 wherein the service feature comprises at least one of the following:
    业务类型;business type;
    业务规模;Business scale
    业务对应的用户等级。The user level corresponding to the service.
  5. 如权利要求4所述的方法,其特征在于,业务类型,包括下述至少一种:The method of claim 4 wherein the type of service comprises at least one of the following:
    线上业务类型;Online business type;
    线下业务类型。Offline business type.
  6. 如权利要求1所述的方法,其特征在于,查询掉单业务的执行状态,包括下述至少一种:The method according to claim 1, wherein the execution status of the single service is queried, including at least one of the following:
    按照设定的周期,查询掉单业务的执行状态;Query the execution status of the single service according to the set period;
    按照一次查询指定个数的掉单业务的查询规则,查询掉单业务的执行状态。The query execution rule of the single-service is queried according to the query rule of the specified number of lost transactions.
  7. 一种业务请求执行状态的查询装置,其特征在于,包括:A device for querying the execution status of a service request, comprising:
    获取单元,用于获取掉单业务的标识码和业务特征;An obtaining unit, configured to obtain an identification code and a service feature of the lost service;
    查询单元,用于根据所述业务特征,利用所述标识码,查询掉单业务的执行状态。The query unit is configured to query, according to the service feature, the execution status of the single service by using the identifier code.
  8. 如权利要求7所述的装置,其特征在于,还包括:The device of claim 7 further comprising:
    修改单元,用于根据查询到的掉单业务的执行状态,修改业务请求的执行状态。The modifying unit is configured to modify the execution status of the service request according to the execution status of the logged-out service.
  9. 如权利要求7所述的装置,其特征在于,查询单元,用于:The apparatus according to claim 7, wherein the query unit is configured to:
    根据所述业务特征,确定掉单业务的时限要求;Determining a time limit requirement for the lost service according to the service characteristic;
    根据所述时限要求,利用所述标识码,查询掉单业务的执行状态。According to the time limit requirement, the execution status of the single service is queried by using the identification code.
  10. 如权利要求7所述的装置,其特征在于,业务特征,包括下述至少一种: The apparatus of claim 7 wherein the traffic characteristics comprise at least one of:
    业务类型;business type;
    业务规模;Business scale
    业务对应的用户等级。The user level corresponding to the service.
  11. 如权利要求10所述的装置,其特征在于,业务类型,包括下述至少一种:The apparatus of claim 10, wherein the type of service comprises at least one of the following:
    线上业务类型;Online business type;
    线下业务类型。Offline business type.
  12. 如权利要求7所述的装置,其特征在于,查询单元,用于执行下述至少一种操作:The apparatus according to claim 7, wherein the query unit is configured to perform at least one of the following operations:
    按照时间周期,查询掉单业务的执行状态;Query the execution status of the single service according to the time period;
    按照固定个数,查询掉单业务的执行状态。According to the fixed number, query the execution status of the single service.
  13. 一种业务请求执行状态的查询系统,包括:业务系统;查询系统,其特征在于:An inquiry system for a service request execution state, comprising: a service system; a query system, wherein:
    业务系统,用于:将掉单业务的标识码和业务特征发送给查询系统;The service system is configured to: send the identification code and the service feature of the lost service to the query system;
    查询系统,用于:接收业务系统发送的掉单业务的标识码和业务特征;根据所述业务特征,利用所述标识码,查询掉单业务的执行状态。The query system is configured to: receive an identification code and a service feature of the lost service sent by the service system; and use the identifier to query the execution status of the lost service according to the service feature.
  14. 如权利要求13所述的系统,其特征在于,查询系统,还用于:根据查询到的掉单业务的执行状态,修改业务系统中业务请求的执行状态。 The system of claim 13, wherein the querying system is further configured to: modify an execution status of the service request in the service system according to the executed execution status of the lost transaction.
PCT/CN2016/079050 2015-04-20 2016-04-12 Method, device and system for querying service request execution state WO2016169420A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510189103.1 2015-04-20
CN201510189103.1A CN106156185B (en) 2015-04-20 2015-04-20 Method, device and system for inquiring service request execution state

Publications (1)

Publication Number Publication Date
WO2016169420A1 true WO2016169420A1 (en) 2016-10-27

Family

ID=57144348

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/079050 WO2016169420A1 (en) 2015-04-20 2016-04-12 Method, device and system for querying service request execution state

Country Status (2)

Country Link
CN (1) CN106156185B (en)
WO (1) WO2016169420A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109727010A (en) * 2018-05-14 2019-05-07 网联清算有限公司 Service inquiry method, apparatus, computer equipment and storage medium
CN110689394B (en) * 2018-07-06 2022-04-12 北京嘀嘀无限科技发展有限公司 Method and device for processing service supplementary notes
CN110866828A (en) * 2019-10-15 2020-03-06 北京海益同展信息科技有限公司 Method, apparatus, computer device and storage medium for processing blockchain data

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103516690A (en) * 2012-06-26 2014-01-15 阿里巴巴集团控股有限公司 Service processing state information query method and apparatus thereof
CN103902646A (en) * 2013-12-27 2014-07-02 北京天融信软件有限公司 Distributed task managing system and method
CN104408068A (en) * 2014-10-29 2015-03-11 中国建设银行股份有限公司 Report form data processing method and related equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100499510C (en) * 2007-03-27 2009-06-10 华为技术有限公司 Method for positioning fault and service maintenance platform
CN102243654B (en) * 2011-06-16 2012-07-18 苏州阔地网络科技有限公司 Method and device for controlling and managing database connections
CN104166590A (en) * 2013-05-20 2014-11-26 阿里巴巴集团控股有限公司 Task scheduling method and system
KR101694287B1 (en) * 2013-05-23 2017-01-23 한국전자통신연구원 Apparatus and method for managing processing tasks
CN103491129B (en) * 2013-07-05 2017-07-14 华为技术有限公司 A kind of service node collocation method, pool of service nodes Register and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103516690A (en) * 2012-06-26 2014-01-15 阿里巴巴集团控股有限公司 Service processing state information query method and apparatus thereof
CN103902646A (en) * 2013-12-27 2014-07-02 北京天融信软件有限公司 Distributed task managing system and method
CN104408068A (en) * 2014-10-29 2015-03-11 中国建设银行股份有限公司 Report form data processing method and related equipment

Also Published As

Publication number Publication date
CN106156185B (en) 2019-12-13
CN106156185A (en) 2016-11-23

Similar Documents

Publication Publication Date Title
US10038619B2 (en) Providing a monitoring service in a cloud-based computing environment
US10439937B2 (en) Service addressing in distributed environment
US10311230B2 (en) Anomaly detection in distributed ledger systems
WO2018177235A1 (en) Block chain consensus method and device
CN105988862B (en) Distributed transaction processing method and device
US20190213552A1 (en) Smart streaming of data between external systems and service providers in an on-demand environment
CN112016921B (en) Transaction processing method, device and equipment
WO2016118429A1 (en) System for efficient processing of transaction requests related to an account in a database
US20160034861A1 (en) Method and apparatus of controlling network payment
US20160189155A1 (en) Transaction Information Processing Method and Apparatus
WO2017118318A1 (en) Data storage and service processing method and device
CN106529953B (en) Method and device for risk identification of business attributes
US20120224482A1 (en) Credit feedback system for parallel data flow control
CN105989133B (en) Transaction methods and device
WO2019033741A1 (en) Investment commodity resource processing method, device, storage medium and computer apparatus
WO2016169420A1 (en) Method, device and system for querying service request execution state
KR102114532B1 (en) Information operation
CN109829678B (en) Rollback processing method and device and electronic equipment
CN107169752B (en) Resource transfer method and device
CN107194712B (en) Method and device for recording change information of shared account and method and system for supplementing account of internal account
CN110489392A (en) Data access method, device, system, storage medium and equipment between multi-tenant
TWI694393B (en) Data processing method and device
CN109614386B (en) Data processing method, device, server and computer readable storage medium
CN107239952B (en) Data processing method and device
CN105159901B (en) Proxy protocol searching method and device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16782567

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16782567

Country of ref document: EP

Kind code of ref document: A1