发明名称 SERVICE REQUEST PROCESSING METHOD AND DEVICE
摘要 Provided are a service request processing method and device. The method comprises: intercepting a service request sent to a database from an application; determining whether an idle connection to the database exists in a connection pool; if not, saving the service request and continuing to determine whether an idle connection to the database exists in the connection pool according to a set rule, until an idle connection is produced in the connection pool; and selecting the produced idle connection and sending the service request to the database using the selected idle connection. By means of the present invention, a service request only needs to be sent once by an application, and thus it can be ensured that the service request can be processed by a database, so that not only the reduction of the usage experience caused by the fact that a user receives a service request failure message can be avoided, but the condition where the service request is sent repeatedly by the application can also be avoided. Therefore, the operation burden of a terminal and a network where the application is can be reduced, and the usage experience of the user can also be improved.
申请公布号 WO2016107340(A1) 申请公布日期 2016.07.07
申请号 WO2015CN95545 申请日期 2015.11.25
申请人 BEIJING QIHOO TECHNOLOGY COMPANY LIMITED;QIZHI SOFTWARE (BEIJING) COMPANY LIMITED 发明人 ZHU, CHAO;CHEN, FEI;WANG, CHAO
分类号 G06F17/30 主分类号 G06F17/30
代理机构 代理人
主权项
地址
您可能感兴趣的专利