Rental business processing method and device, computer equipment and storage medium
By receiving and analyzing real-time routing requests from the rental business side, obtaining and matching the registry of the rental business object, and optimizing the page jump and function calls of the rental business, the problem of low processing efficiency of the mobile rental business is solved and the user experience is improved.
Patent Information
- Application Number
- CN202411181422.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-27
- Publication Date
- 2024-11-29
AI Technical Summary
The mobile rental business is inefficient in processing when page redirecting and function calls, resulting in poor user experience and affecting the development of the rental business.
Receive real-time routing requests from the multi-source rental service side, parse requests, obtain the registry of rental service objects, match the business specified objects, and perform page jumps or function calls based on the operation type, and optimize routing and call processes.
It improves the processing efficiency of rental business, ensures the accuracy of page jumps and function calls, and improves user experience.
Smart Images

Figure CN119048207A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, specifically to the field of financial technology, and in particular to a leasing business processing method, device, computer equipment and storage medium. Background Art
[0002] With the rapid development of mobile Internet technology, mobile devices such as smartphones and tablets have become indispensable tools in people's daily lives. On the mobile side, the leasing business has enabled users to browse leasing information, submit leasing requests, manage leasing contracts, and other functions anytime and anywhere by developing dedicated APPs or integrating them into existing mobile application platforms.
[0003] Although the mobile leasing business has brought many conveniences to users, in actual operation, the leasing business may be triggered by jumping or calling different APPs or web pages. When jumping pages or calling functions, since the jump requests or call requests initiated by different APPs or web pages need to be transferred through the corresponding middleware, they cannot be dynamically issued, which reduces the processing efficiency of jump requests or call requests. And since both page jumps and function calls have corresponding interfaces, page jumps or function calls need to be issued through the interface, and after issuing, the corresponding method is called from the instance of the interface to perform the corresponding operation steps, which leads to a decrease in the response efficiency of page jumps and function calls, thereby affecting the user experience and bringing certain impacts to the development of the leasing business. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a leasing business processing method, apparatus, computer equipment and storage medium to solve the problem of low processing efficiency of leasing business during page jumps and function calls.
[0005] In order to solve the above technical problems, the present application embodiment provides a leasing business processing method, which adopts the following technical solution:
[0006] Receive real-time routing requests from multiple leasing service providers;
[0007] Parsing the real-time routing request to obtain a leasing business object parameter and a leasing operation type parameter;
[0008] Obtaining a preset leasing business object registry, performing object matching according to the leasing business object parameters and the leasing business object registry, and obtaining a business-specified object;
[0009] Identify, according to the leasing operation type parameter, whether the corresponding business operation type is a leasing business jump or a leasing business call;
[0010] If the business operation type is a rental business jump, then the business page address corresponding to the designated object of the rental business is obtained, and the page jump is performed according to the business page address;
[0011] If the business operation type is a leasing business call, the leasing function module corresponding to the leasing business designated object is searched and the leasing function module is called.
[0012] Furthermore, the multi-source leasing service end includes a plurality of leasing service ends, and before the step of receiving the real-time routing request of the multi-source leasing service end, the following steps are also included:
[0013] Real-time detection of triggering actions of the leasing business end;
[0014] Obtaining a trigger event corresponding to the trigger action;
[0015] Acquire the business object parameters and operation parameter information pointed to by the leasing business end according to the trigger event;
[0016] The business object parameters and operation parameter information pointed to by the leasing business end are packaged, and the corresponding time information field is added to obtain the real-time routing request.
[0017] Furthermore, before the step of obtaining a preset leasing business object registry, matching objects according to the leasing business object parameters and the leasing business object registry, and obtaining a business-specified object, the following steps are also included:
[0018] Obtain a dynamic update record table of a rental business object, and extract the rental business object update parameters corresponding to the latest version in the dynamic update record table of the rental business object;
[0019] Extracting corresponding routing rules from a database according to the lease business object update parameters;
[0020] The routing rule and the leasing business object update parameter are associated, and the associated routing rule and the leasing business object update parameter are recorded in the preset leasing business object registration table.
[0021] Furthermore, the step of performing object matching according to the leasing business object parameter and the leasing business object registry to obtain the business specified object specifically includes:
[0022] Obtaining the object parameter identifier corresponding to the leasing business object parameter;
[0023] Performing an object search in the leasing business object registry according to the object parameter identifier;
[0024] The found leasing business object is used as the business designated object.
[0025] Furthermore, the step of identifying, according to the leasing operation type parameter, whether the corresponding service operation type is leasing service jump or leasing service call, specifically includes:
[0026] Get the leasing operation type parameter;
[0027] Parsing the lease operation type parameter to obtain a parameter parsing result;
[0028] Identify whether the parameter value corresponding to the parameter parsing result complies with the leasing service jump rule or the leasing service call rule;
[0029] If the parameter value corresponding to the parameter parsing result complies with the leasing business jump rule, then the business operation type corresponding to the leasing operation type parameter is determined to be leasing business jump;
[0030] If the parameter value corresponding to the parameter parsing result complies with the leasing service call rule, it is determined that the service operation type corresponding to the leasing operation type parameter is a leasing service call.
[0031] Furthermore, the step of obtaining the business page address corresponding to the designated object of the leasing business and performing page jump according to the business page address specifically includes:
[0032] Obtaining a first designated object identifier corresponding to the designated object of the leasing business, and searching a database for a corresponding business page address according to the first designated object identifier;
[0033] Obtaining an access permission list of the business page address, and determining access permission for the designated object of the leasing business according to the access permission list to obtain page access permission;
[0034] The page is redirected according to the business page address, and the page information after the page jump is loaded according to the page access permission.
[0035] Furthermore, the step of searching for a leasing function module corresponding to the designated object of the leasing business and calling the leasing function module specifically includes:
[0036] Obtaining a second designated object identifier corresponding to the designated object of the leasing business, and searching for a corresponding leasing function module in the business logic layer according to the second designated object identifier;
[0037] Sending a call request to the leasing function module;
[0038] Receive the call result returned by the leasing function module, and record the call result in a preset business call log.
[0039] In order to solve the above technical problems, the embodiment of the present application further provides a leasing business processing device, which adopts the following technical solution:
[0040] A request receiving module, used to receive real-time routing requests from multi-source leasing service terminals;
[0041] A request parsing module, used to parse the real-time routing request to obtain a leasing business object parameter and a leasing operation type parameter;
[0042] An object matching module is used to obtain a preset leasing business object registration table, perform object matching according to the leasing business object parameters and the leasing business object registration table, and obtain a business-specified object;
[0043] A parameter identification module, used to identify, according to the leasing operation type parameter, whether the corresponding business operation type is a leasing business jump or a leasing business call;
[0044] A first processing module is used for obtaining a business page address corresponding to the designated object of the leasing business if the business operation type is a leasing business jump, and performing a page jump according to the business page address;
[0045] The second processing module is used for searching for a leasing function module corresponding to the leasing business designated object and calling the leasing function module if the business operation type is a leasing business call.
[0046] In order to solve the above technical problems, the embodiment of the present application further provides a computer device, which adopts the following technical solution:
[0047] A computer device comprises a memory and a processor, wherein the memory stores computer-readable instructions, and when the processor executes the computer-readable instructions, the steps of the leasing business processing method as described in any one of the above items are implemented.
[0048] In order to solve the above technical problems, the embodiment of the present application further provides a computer-readable storage medium, which adopts the following technical solution:
[0049] A computer-readable storage medium having computer-readable instructions stored thereon, wherein the computer-readable instructions, when executed by a processor, implement the steps of the leasing business processing method as described in any one of the above items.
[0050] Compared with the prior art, the embodiment of the present application has the following beneficial effects: the embodiment receives real-time routing requests from multiple-source leasing business terminals; parses the real-time routing requests to obtain leasing business object parameters and leasing operation type parameters; obtains a preset leasing business object registry, performs object matching according to the leasing business object parameters and the leasing business object registry, and obtains a business-specified object; identifies the corresponding business operation type as a leasing business jump or a leasing business call according to the leasing operation type parameters; if the business operation type is a leasing business jump, obtains the business page address corresponding to the leasing business-specified object, and performs a page jump according to the business page address; if the business operation type is a leasing business call, searches for the leasing function module corresponding to the leasing business-specified object, and calls the leasing function module. The above method can accurately route to the corresponding leasing business object, and execute the corresponding page jump or call the corresponding leasing function, so as to improve the processing efficiency of the leasing business. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] In order to more clearly illustrate the scheme in the present application, a brief introduction is given below to the drawings required for use in the description of the embodiments of the present application. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0052] Figure 1 is an exemplary system architecture diagram to which the present application may be applied;
[0053] Figure 2 A flowchart of an embodiment of a leasing business processing method according to the present application;
[0054] Figure 3 yes Figure 2 A flowchart of a specific implementation of step S30;
[0055] Figure 4 yes Figure 2 A flowchart of a specific implementation of step S40;
[0056] Figure 5 yes Figure 2 A flowchart of a specific implementation of step S50;
[0057] Figure 6 yes Figure 2 A flowchart of a specific implementation of step S60;
[0058] Figure 7 is a structural diagram of an embodiment of a rental business processing device according to the present application;
[0059] Figure 8 It is a structural diagram of an embodiment of a computer device according to the present application. DETAILED DESCRIPTION
[0060] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by technicians in the technical field of the present application; the terms used in the specification of the application herein are only for the purpose of describing specific embodiments and are not intended to limit the present application; the terms "including" and "having" and any variations thereof in the specification and claims of the present application and the above-mentioned drawings are intended to cover non-exclusive inclusions. The terms "first", "second", etc. in the specification and claims of the present application or the above-mentioned drawings are used to distinguish different objects, not to describe a specific order.
[0061] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor does it refer to non-related or alternative embodiments that are mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0062] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings.
[0063] like Figure 1 As shown, the system architecture 100 may include terminal devices 101, 102, 103, a network 104 and a server 105. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.
[0064] Users can use terminal devices 101, 102, 103 to interact with server 105 through network 104 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 101, 102, 103, such as web browser applications, shopping applications, search applications, instant messaging tools, email clients, social platform software, etc.
[0065] Terminal devices 101, 102, 103 can be various electronic devices with display screens and supporting web browsing, including but not limited to smart phones, tablet computers, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III), MP4 (Moving Picture Experts Group Audio Layer IV) players, laptop computers, desktop computers, etc.
[0066] The server 105 may be a server that provides various services, such as a background server that provides support for web pages displayed on the terminal devices 101 , 102 , and 103 .
[0067] It should be noted that the leasing business processing method provided in the embodiment of the present application is generally executed by a server, and accordingly, the leasing business processing device is generally arranged in the server.
[0068] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.
[0069] Continue to refer Figure 2 , showing a flow chart of an embodiment of a method for processing a leasing business according to the present application. The leasing business processing method comprises the following steps:
[0070] Step S10, receiving a real-time routing request from a multi-source leasing service end;
[0071] In this embodiment, the multi-source leasing business end includes several leasing business ends, which are all connected to the leasing business application and are used to invoke the business functions of the leasing business application or perform application jumps. The leasing business end includes a leasing application business end, a leasing webpage business end, a leasing application framework business end, a leasing cross-platform framework business end, and an external application invoking business end, wherein the leasing application business end is a leasing application program directly running on the operating system based on the Native application setting, the leasing webpage business end is a webpage end of the leasing business page set in the browser based on the H5 page, the leasing application framework business end is an application running on the iOS and Android platforms based on the React Native setting, the leasing cross-platform framework business end is an application running on the iOS and Android platforms compiled based on the Flutter framework, and the external application invoking business end refers to an APP business end that awakens the leasing business application through a certain mechanism (such as URL Scheme, Universal Links, Android App Links, etc.). Real-time routing request refers to the request information initiated by the above-mentioned leasing business end to the leasing business application in real time, which can be processed asynchronously through the message queue.
[0072] Step S20, parsing the real-time routing request to obtain a leasing business object parameter and a leasing operation type parameter;
[0073] In this embodiment, the real-time routing request is parsed through URL parsing, the leasing business object parameters include the lease type, lease number, lease brand, etc., and the leasing operation type parameters include page jump parameters and function call parameters.
[0074] Step S30, obtaining a preset leasing business object registry, performing object matching according to the leasing business object parameters and the leasing business object registry, and obtaining a business-specified object;
[0075] In this embodiment, the leasing business object registry stores parameter information such as the leased item type, leased item number, leased item brand, leased item-associated business page address, and leased item corresponding function module path of each leasing business object and the corresponding leased item object. The above parameter information and leased item object constitute a business-specified object. The leasing business object registry can be stored in a database and can be queried and obtained through SQL statements. The corresponding business-specified object can be extracted and determined in the leasing business object registry by matching the leasing business object parameters with the stored parameter information.
[0076] Step S40, identifying, according to the leasing operation type parameter, whether the corresponding business operation type is a leasing business jump or a leasing business call;
[0077] In this embodiment, conditional judgment can be used to identify whether the business operation type corresponding to the leasing operation type parameter is a leasing business jump or a leasing business call. The leasing business jump refers to jumping the currently displayed page to the page corresponding to the leased item, and the leasing business call refers to calling the response function in the page corresponding to the leased item, such as leasing, leasing return, leasing information viewing, etc.
[0078] Step S50: if the business operation type is a rental business jump, then the business page address corresponding to the designated object of the rental business is obtained, and a page jump is performed according to the business page address;
[0079] In this embodiment, the business page address is the display page address corresponding to the designated object of the rental business, and can jump to the display page corresponding to the display page address through HTTP redirection or front-end routing.
[0080] Step S60: If the business operation type is a leasing business call, then find the leasing function module corresponding to the leasing business designated object and call the leasing function module.
[0081] In this embodiment, the leasing function module includes a leasing operation module, a leasing return operation module, a leasing information viewing operation module, etc., which can be called through a service component (such as using REST API, gRPC, etc.).
[0082] This embodiment receives real-time routing requests from multiple sources of leasing business terminals; parses the real-time routing requests to obtain leasing business object parameters and leasing operation type parameters; obtains a preset leasing business object registry, performs object matching based on the leasing business object parameters and the leasing business object registry, and obtains a business-specified object; identifies whether the corresponding business operation type is a leasing business jump or a leasing business call based on the leasing operation type parameters; if the business operation type is a leasing business jump, obtains the business page address corresponding to the leasing business-specified object, and performs a page jump based on the business page address; if the business operation type is a leasing business call, searches for the leasing function module corresponding to the leasing business-specified object, and calls the leasing function module. The above method can accurately route to the corresponding leasing business object, and execute the corresponding page jump or call the corresponding leasing function, so as to improve the processing efficiency of the leasing business.
[0083] In this embodiment, the above-mentioned leasing business can be a car leasing business. The car leasing business can provide a variety of vehicles of different models, brands and conditions for leasing, including but not limited to economy cars: suitable for economical needs such as daily commuting and short trips. Business cars: provide mid-to-high-end models to meet the needs of formal occasions such as business reception and conference travel. SUV / off-road vehicles: suitable for outdoor adventures, family outings and other scenes that require larger space or stronger passing ability. Luxury cars: provide top luxury brand vehicles to meet the pursuit of quality and comfort of high-end customers. New energy vehicles: including electric vehicles, hybrid vehicles, etc., respond to environmental protection calls and meet green travel needs. Leasing methods include short-term leasing: flexible leasing methods charged by the hour, day or week, suitable for temporary car needs. Long-term leasing: charged by month, quarter or year, suitable for individuals or enterprises with long-term car needs. Point-to-point pick-up and drop-off services: provide pick-up and drop-off services at specific starting and ending points, such as airport pick-up and conference pick-up and drop-off. Self-driving leasing: customers drive the rental vehicle by themselves and enjoy the fun of free travel. Driver service: Provide professional driver service to free customers' hands and focus on business or travel. At the same time, the car rental business also involves value-added services, such as insurance services: provide insurance options such as vehicle loss insurance and third-party liability insurance to protect the rights and interests of customers and third parties. 24-hour customer service support: Provide round-the-clock customer service to answer customer questions and handle emergencies. Vehicle maintenance and servicing: Regularly maintain and service rental vehicles to ensure vehicle performance and safety. Returning the car in a different place: Support returning the car in different cities or locations to reduce the inconvenience of returning the car for customers. The rental business processing method of this embodiment can effectively enable users to rent cars conveniently and quickly on the rental business terminals on different mobile terminals to improve user satisfaction.
[0084] In some optional implementations of this embodiment, before step S10, the following steps are further included:
[0085] Real-time detection of triggering actions of the leasing business end;
[0086] In this embodiment, the trigger action refers to the action that triggers the business logic change on the leasing business end (application interface, service interface, etc.). For example, if the user clicks the "I want to rent" button, it is necessary to jump to the display page corresponding to the leasing object, or the user clicks the "Lease" button to enter the page for selecting the size of the leasing object, the leasing time, and the leasing method.
[0087] Obtaining a trigger event corresponding to the trigger action;
[0088] In this embodiment, the trigger event refers to the specific event corresponding to the system's recognition of the trigger action. The trigger event is the manifestation of the action at the business logic level. The purpose and context of the action are defined by the trigger event. When a user clicks the "Rent" button, the event that corresponds to the "Initiate Rental Request" event may be, while canceling the order corresponds to the "Cancel Rental Request" event.
[0089] Acquire the business object parameters and operation parameter information pointed to by the leasing business end according to the trigger event;
[0090] In this embodiment, after determining the trigger event, the system needs to collect all necessary information related to the trigger event. The necessary information is written into the purpose and context of the trigger event definition, and the business object parameters and operation parameter information are obtained through the necessary information corresponding to the trigger event.
[0091] The business object parameters and operation parameter information pointed to by the leasing business end are packaged, and the corresponding time information field is added to obtain the real-time routing request.
[0092] In this embodiment, after the business object parameters and operation parameter information pointed to by the source business end are packaged, a routing request will be formed. The time information field refers to the timestamp corresponding to the current time. By adding the timestamp to the routing request, a real-time routing request is formed.
[0093] This embodiment detects the trigger action of the leasing business end in real time; obtains the trigger event corresponding to the trigger action; obtains the business object parameters and operation parameter information pointed to by the source business end according to the trigger event; packages the business object parameters and operation parameter information pointed to by the source business end, and adds the corresponding time information field, thereby obtaining a real-time routing request including the business object parameters, operation parameter information and time information field, so as to facilitate the subsequent corresponding operation processing according to the business object parameters, operation parameter information and time information field.
[0094] In some optional implementations of this embodiment, before step S30, the following steps are further included:
[0095] Obtain a dynamic update record table of a rental business object, and extract the rental business object update parameters corresponding to the latest version in the dynamic update record table of the rental business object;
[0096] In this embodiment, the lease object dynamic update record table refers to a data record table that records the parameter information of the lease object updated in real time. The lease object dynamic update record table records the parameter information of the lease object from the historical version to the latest version, such as the lease type, lease number, lease brand, etc. of each version. The lease type, lease number, lease brand, etc. of each version are updated in real time by the manufacturer providing the lease business service to ensure that the leased items provided by the lease business service match the existing leased items in real time. The version order in the lease object dynamic update record table is from the newest to the oldest, and the version closest in time is extracted from the lease object dynamic update record table with the current time information as the latest version.
[0097] Extracting corresponding routing rules from a database according to the lease business object update parameters;
[0098] In this embodiment, the routing rules are rule information corresponding to specific leasing business objects. The routing rules stored in the database will change according to different leasing business objects. Therefore, the corresponding routing rules can be extracted from the database through the updated leasing business object update parameters. The routing rules correspond to the latest version of the leasing business object and are updated in real time.
[0099] The routing rule and the leasing business object update parameter are associated, and the associated routing rule and the leasing business object update parameter are recorded in the preset leasing business object registration table.
[0100] In this embodiment, an association table including a primary key and a foreign key is created to associate routing rules with update parameters of a leasing business object. Through foreign key constraints, it is determined that each record in the association table points to a valid leasing business object and routing rule, and the association table is recorded in the leasing business object registry for storage.
[0101] This embodiment obtains the lease business object dynamic update record table, extracts the lease business object update parameters corresponding to the latest version in the lease business object dynamic update record table; extracts the corresponding routing rules from the database according to the lease business object update parameters; associates the routing rules with the lease business object update parameters, and records the associated routing rules and the lease business object update parameters to the preset lease business object registration table. This effectively ensures that the information recorded in the lease business object registration table is updated in real time, so as to facilitate the subsequent extraction of the lease business object parameters from the lease business object registration table.
[0102] Continue to refer Figure 3 In some optional implementations of this embodiment, step S30 includes the following steps:
[0103] Step S301, obtaining the object parameter identifier corresponding to the leasing business object parameter;
[0104] In this embodiment, the object parameter identifier corresponds to the leasing business object and refers to the identifier of the leasing business object, which can be a specific ID identifier. The object parameter identifier can be obtained by parsing the leasing business object parameters or searching for specific field values from the leasing business object parameters.
[0105] Step S302, searching for an object in the leasing business object registry according to the object parameter identifier;
[0106] In this embodiment, a traversal query is performed in the leasing business object registration table by using the object parameter identifier as the query information, thereby finding the leasing business object corresponding to the object parameter identifier.
[0107] Step S303: Use the found leasing business object as the business designated object.
[0108] In this embodiment, multiple rental business objects of the same type and brand may be found. In this case, the current rental information of the rental business object can be further queried to confirm whether it is in a rentable state or a returnable state. When the multiple rental business objects found are all in a rentable state or a returnable state, one of the found rental business objects can be randomly selected as the business designated object.
[0109] This embodiment obtains the enterprise multidimensional information; performs data cleaning and preprocessing on the enterprise multidimensional information to obtain standard enterprise multidimensional information; identifies the variable type corresponding to the standard enterprise multidimensional information, wherein the variable type includes numerical variables and categorical variables; and classifies the standard enterprise information according to the numerical variables and the categorical variables, thereby obtaining enterprise multidimensional numerical variables and enterprise multidimensional categorical variables classified according to the numerical types and categorical types corresponding to the information, to facilitate subsequent processing.
[0110] Continue to refer Figure 4 In some optional implementations of this embodiment, step S40 includes the following steps:
[0111] Step S401, obtaining the leasing operation type parameter;
[0112] Step S402, parsing the lease operation type parameter to obtain a parameter parsing result;
[0113] In this embodiment, the leasing operation type parameter may be mapped and parsed through a mapping dictionary, and the mapped value is used as the parameter parsing result.
[0114] Step S403, identifying whether the parameter value corresponding to the parameter parsing result complies with the leasing service jump rule or the leasing service call rule;
[0115] In this embodiment, the similarity is judged between the parameter value corresponding to the parameter parsing result and the information corresponding to the leasing business jump rule, and the similarity is judged between the parameter value corresponding to the parameter parsing result and the information corresponding to the leasing business call rule to determine whether the parameter parsing result complies with the leasing business jump rule or the leasing business call rule.
[0116] Step S404: if the parameter value corresponding to the parameter analysis result complies with the rental business jump rule, it is determined that the business operation type corresponding to the rental operation type parameter is rental business jump;
[0117] Step S405: If the parameter value corresponding to the parameter analysis result complies with the leasing service call rule, it is determined that the service operation type corresponding to the leasing operation type parameter is a leasing service call.
[0118] In this embodiment, after the business operation type corresponding to the leasing operation type parameter is identified, the corresponding identification result may be returned to notify the system for subsequent processing.
[0119] This embodiment obtains the leasing operation type parameter; parses the leasing operation type parameter to obtain the parameter parsing result; identifies whether the parameter value corresponding to the parameter parsing result complies with the leasing business jump rule or the leasing business call rule; if the parameter value corresponding to the parameter parsing result complies with the leasing business jump rule, it is determined that the business operation type corresponding to the leasing operation type parameter is leasing business jump; if the parameter value corresponding to the parameter parsing result complies with the leasing business call rule, it is determined that the business operation type corresponding to the leasing operation type parameter is leasing business call. In this way, it is effective to accurately judge whether the leasing operation type parameter corresponds to the leasing business jump or the leasing business call according to different parameter parsing results, so as to improve the accuracy of system judgment.
[0120] Continue to refer Figure 5 In some optional implementations of this embodiment, step S50 includes the following steps:
[0121] Step S501, obtaining a first designated object identifier corresponding to the designated object of the leasing business, and searching a corresponding business page address in a database according to the first designated object identifier;
[0122] In this embodiment, the first designated object identifier is identification information corresponding to the business page address of the designated object of the leasing business. The identification information can be a unique identifier. A matching search is performed in the database through the first designated object identifier to obtain the business page address corresponding to the designated object of the leasing business.
[0123] Step S502, obtaining an access permission list of the business page address, and performing access permission identification on the designated object of the leasing business according to the access permission list to obtain page access permission;
[0124] In this embodiment, the access permission list contains a preset blacklist and whitelist, which are used to determine whether the designated object of the leasing business has access permission, thereby avoiding illegal access to the page from the outside, and effectively improving the security of the system.
[0125] Step S503: redirect the page according to the business page address, and load the page information after the page redirection according to the page access permission.
[0126] In this embodiment, the page jump is performed according to the business page address, and the page information is loaded according to the page access permission. If the page access permission is access permission, the page is loaded normally; if the page access permission is no access permission, an error message is displayed or redirected to another predetermined display failure page.
[0127] This embodiment obtains the first designated object identifier corresponding to the designated object of the rental business, searches the database for the corresponding business page address according to the first designated object identifier; obtains the access permission list of the business page address, and identifies the access permission of the designated object of the rental business according to the access permission list to obtain the page access permission; jumps to the page according to the business page address, and loads the page information after the page jump according to the page access permission. Thus, page jumps according to the business page address can be realized quickly and effectively, so as to facilitate the user to perform subsequent operations.
[0128] Continue to refer Figure 6 In some optional implementations of this embodiment, step S60 includes the following steps:
[0129] Step S601, obtaining a second designated object identifier corresponding to the designated object of the leasing business, and searching for a corresponding leasing function module in the business logic layer according to the second designated object identifier;
[0130] In this embodiment, the second designated object identifier is identification information corresponding to the leasing function module of the designated object of the leasing business. The identification information can be a unique identifier. A matching search is performed in the business logic layer through the second designated object identifier to obtain the leasing function module corresponding to the designated object of the leasing business.
[0131] Step S602, sending a call request to the rental function module;
[0132] In this embodiment, the call request is used to call the rental function module for activation to provide the corresponding rental function.
[0133] Step S603: receiving the call result returned by the leasing function module, and recording the call result into a preset business call log.
[0134] In this embodiment, when the leasing function module is called, a calling result will be returned to show whether the call is successful or failed. When the call is successful, the calling success result will be recorded in the preset business call log; when the call fails, the calling failure result will be recorded in the preset business call log, and the leasing function module will be called again until the calling result returned by the leasing function module is a successful call.
[0135] This embodiment obtains the second designated object identifier corresponding to the designated object of the leasing business, searches for the corresponding leasing function module in the business logic layer according to the second designated object identifier; sends a call request to the leasing function module; receives the call result returned by the leasing function module, and records the call result in a preset business call log. This effectively implements the call of the leasing function module corresponding to the designated object of the leasing business, so as to facilitate users to complete related operations of the leasing business.
[0136] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through computer-readable instructions, and the computer-readable instructions can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the aforementioned storage medium can be a non-volatile storage medium such as a disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
[0137] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.
[0138] Further references Figure 7 , as a response to the above Figure 1 The present application provides an embodiment of a rental business processing device, and the device embodiment is similar to Figure 1 Corresponding to the method embodiment shown, the device can be specifically applied to various electronic devices.
[0139] like Figure 7 As shown, the rental business processing device 700 described in this embodiment includes: a request receiving module 701, a request parsing module 702, an object matching module 703, a parameter identification module 704, a first processing module 705, and a second processing module 706. Among them:
[0140] The request receiving module 701 is used to receive the real-time routing request of the multi-source leasing service end;
[0141] The request parsing module 702 is used to parse the real-time routing request to obtain a lease business object parameter and a lease operation type parameter;
[0142] The object matching module 703 is used to obtain a preset leasing business object registration table, perform object matching according to the leasing business object parameters and the leasing business object registration table, and obtain a business-specified object;
[0143] A parameter identification module 704, used to identify, according to the leasing operation type parameter, whether the corresponding business operation type is a leasing business jump or a leasing business call;
[0144] The first processing module 705 is used to obtain the business page address corresponding to the designated object of the leasing business if the business operation type is leasing business jump, and perform page jump according to the business page address;
[0145] The second processing module 706 is used to find the leasing function module corresponding to the leasing business designated object and call the leasing function module if the business operation type is leasing business call.
[0146] This embodiment, by adopting the above-mentioned leasing business processing device, can receive real-time routing requests from multiple source leasing business terminals; parse the real-time routing requests to obtain leasing business object parameters and leasing operation type parameters; obtain a preset leasing business object registry, perform object matching according to the leasing business object parameters and the leasing business object registry, and obtain a business designated object; identify the corresponding business operation type as leasing business jump or leasing business call according to the leasing operation type parameters; if the business operation type is leasing business jump, obtain the business page address corresponding to the leasing business designated object, and perform page jump according to the business page address; if the business operation type is leasing business call, find the leasing function module corresponding to the leasing business designated object, and call the leasing function module. The above method can accurately route to the corresponding leasing business object, execute the corresponding page jump or call the corresponding leasing function, so as to improve the processing efficiency of the leasing business.
[0147] To solve the above technical problems, the present application also provides a computer device. Figure 8 , Figure 8 This is a basic structural block diagram of the computer device in this embodiment.
[0148] The computer device 8 includes a memory 81, a processor 82, and a network interface 83 that are interconnected through a system bus. It should be noted that the figure only shows a computer device 8 with components 81-83, but it should be understood that it is not required to implement all the components shown, and more or fewer components can be implemented instead. Among them, those skilled in the art can understand that the computer device here is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, application specific integrated circuits (Application Specific Integrated Circuit, ASIC), programmable gate arrays (Field-Programmable Gate Array, FPGA), digital processors (Digital Signal Processor, DSP), embedded devices, etc.
[0149] The computer device may be a computing device such as a desktop computer, a notebook, a PDA, a cloud server, etc. The computer device may interact with a user through a keyboard, a mouse, a remote controller, a touch pad, or a voice control device.
[0150] The memory 81 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, disk, optical disk, etc. In some embodiments, the memory 81 can be an internal storage unit of the computer device 8, such as a hard disk or memory of the computer device 8. In other embodiments, the memory 81 can also be an external storage device of the computer device 8, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (FlashCard), etc. equipped on the computer device 8. Of course, the memory 81 can also include both the internal storage unit of the computer device 8 and its external storage device. In this embodiment, the memory 81 is generally used to store the operating system and various application software installed on the computer device 8, such as computer-readable instructions of the leasing business processing method, etc. In addition, the memory 81 can also be used to temporarily store various types of data that have been output or are to be output.
[0151] The processor 82 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chips in some embodiments. The processor 82 is generally used to control the overall operation of the computer device 8. In this embodiment, the processor 82 is used to run computer-readable instructions stored in the memory 81 or process data, such as computer-readable instructions for running the leasing business processing method.
[0152] The network interface 83 may include a wireless network interface or a wired network interface. The network interface 83 is generally used to establish a communication connection between the computer device 8 and other electronic devices.
[0153] By adopting the above-mentioned computer device, this embodiment can receive real-time routing requests from multiple source leasing business terminals; parse the real-time routing requests to obtain leasing business object parameters and leasing operation type parameters; obtain a preset leasing business object registry, perform object matching according to the leasing business object parameters and the leasing business object registry, and obtain a business designated object; identify the corresponding business operation type as leasing business jump or leasing business call according to the leasing operation type parameters; if the business operation type is leasing business jump, obtain the business page address corresponding to the leasing business designated object, and perform page jump according to the business page address; if the business operation type is leasing business call, find the leasing function module corresponding to the leasing business designated object, and call the leasing function module. The above method can accurately route to the corresponding leasing business object, execute the corresponding page jump or call the corresponding leasing function, so as to improve the processing efficiency of the leasing business.
[0154] The present application also provides another embodiment, namely, providing a computer-readable storage medium, wherein the computer-readable storage medium stores computer-readable instructions, and the computer-readable instructions can be executed by at least one processor to enable the at least one processor to perform the steps of the leasing business processing method as described above.
[0155] By adopting the above-mentioned computer-readable storage medium, this embodiment can receive real-time routing requests from multiple source leasing business terminals; parse the real-time routing requests to obtain leasing business object parameters and leasing operation type parameters; obtain a preset leasing business object registry, perform object matching according to the leasing business object parameters and the leasing business object registry, and obtain a business designated object; identify the corresponding business operation type as leasing business jump or leasing business call according to the leasing operation type parameters; if the business operation type is leasing business jump, obtain the business page address corresponding to the leasing business designated object, and perform page jump according to the business page address; if the business operation type is leasing business call, find the leasing function module corresponding to the leasing business designated object, and call the leasing function module. The above method can accurately route to the corresponding leasing business object, execute the corresponding page jump or call the corresponding leasing function, so as to improve the processing efficiency of the leasing business.
[0156] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present application.
[0157] Obviously, the embodiments described above are only some embodiments of the present application, rather than all embodiments. The preferred embodiments of the present application are given in the accompanying drawings, but they do not limit the patent scope of the present application. The present application can be implemented in many different forms. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure of the present application more thorough and comprehensive. Although the present application is described in detail with reference to the aforementioned embodiments, for those skilled in the art, it is still possible to modify the technical solutions recorded in the aforementioned specific implementation methods, or to perform equivalent replacement of some of the technical features therein. Any equivalent structure made using the contents of the specification and drawings of this application, directly or indirectly used in other related technical fields, is similarly within the scope of patent protection of this application.
Claims
1. A leasing business processing method, characterized in that: The steps include: Receive real-time routing requests from multiple leasing service providers; Parsing the real-time routing request to obtain a leasing business object parameter and a leasing operation type parameter; Obtaining a preset leasing business object registry, performing object matching according to the leasing business object parameters and the leasing business object registry, and obtaining a business-specified object; Identify, according to the leasing operation type parameter, whether the corresponding business operation type is a leasing business jump or a leasing business call; If the business operation type is a rental business jump, then the business page address corresponding to the designated object of the rental business is obtained, and the page jump is performed according to the business page address; If the business operation type is a leasing business call, the leasing function module corresponding to the leasing business designated object is searched and the leasing function module is called.
2. The leasing business processing method according to claim 1, characterized in that: The multi-source leasing service end includes a plurality of leasing service ends. Before the step of receiving the real-time routing request of the multi-source leasing service end, the following steps are also included: Real-time detection of triggering actions of the leasing business end; Obtaining a trigger event corresponding to the trigger action; Acquire the business object parameters and operation parameter information pointed to by the leasing business end according to the trigger event; The business object parameters and operation parameter information pointed to by the leasing business end are packaged, and the corresponding time information field is added to obtain the real-time routing request.
3. The leasing business processing method according to claim 1, characterized in that: Before the step of obtaining a preset leasing business object registry, matching objects according to the leasing business object parameters and the leasing business object registry to obtain a business-specified object, the following steps are also included: Obtain a dynamic update record table of a rental business object, and extract the rental business object update parameters corresponding to the latest version in the dynamic update record table of the rental business object; Extracting corresponding routing rules from a database according to the lease business object update parameters; The routing rule and the leasing business object update parameter are associated, and the associated routing rule and the leasing business object update parameter are recorded in the preset leasing business object registration table.
4. The leasing business processing method according to claim 1, characterized in that: The step of performing object matching according to the leasing business object parameter and the leasing business object registry to obtain the business specified object specifically includes: Obtaining the object parameter identifier corresponding to the leasing business object parameter; Performing an object search in the leasing business object registry according to the object parameter identifier; The found leasing business object is used as the business designated object.
5. The leasing business processing method according to claim 1, characterized in that: The step of identifying, according to the leasing operation type parameter, whether the corresponding service operation type is leasing service jump or leasing service call specifically includes: Get the leasing operation type parameter; Parsing the lease operation type parameter to obtain a parameter parsing result; Identify whether the parameter value corresponding to the parameter parsing result complies with the leasing service jump rule or the leasing service call rule; If the parameter value corresponding to the parameter parsing result complies with the leasing business jump rule, then the business operation type corresponding to the leasing operation type parameter is determined to be leasing business jump; If the parameter value corresponding to the parameter parsing result complies with the leasing service call rule, it is determined that the service operation type corresponding to the leasing operation type parameter is a leasing service call.
6. The leasing business processing method according to claim 1, characterized in that: The step of obtaining the business page address corresponding to the designated object of the leasing business and performing page jump according to the business page address specifically includes: Obtaining a first designated object identifier corresponding to the designated object of the leasing business, and searching a database for a corresponding business page address according to the first designated object identifier; Obtaining an access permission list of the business page address, and determining access permission for the designated object of the leasing business according to the access permission list to obtain page access permission; The page is redirected according to the business page address, and the page information after the page jump is loaded according to the page access permission.
7. The leasing business processing method according to claim 1, characterized in that: The step of searching for a leasing function module corresponding to the designated leasing business object and calling the leasing function module specifically includes: Obtaining a second designated object identifier corresponding to the designated object of the leasing business, and searching for a corresponding leasing function module in the business logic layer according to the second designated object identifier; Sending a call request to the leasing function module; Receive the call result returned by the leasing function module, and record the call result in a preset business call log.
8. A rental business processing device, characterized in that: include: A request receiving module, used to receive real-time routing requests from multi-source leasing service terminals; A request parsing module, used to parse the real-time routing request to obtain a leasing business object parameter and a leasing operation type parameter; An object matching module is used to obtain a preset leasing business object registration table, perform object matching according to the leasing business object parameters and the leasing business object registration table, and obtain a business-specified object; A parameter identification module, used to identify, according to the leasing operation type parameter, whether the corresponding business operation type is a leasing business jump or a leasing business call; A first processing module is used for obtaining a business page address corresponding to the designated object of the leasing business if the business operation type is a leasing business jump, and performing a page jump according to the business page address; The second processing module is used for searching for a leasing function module corresponding to the leasing business designated object and calling the leasing function module if the business operation type is a leasing business call.
9. A computer device, characterized in that: It comprises a memory and a processor, wherein the memory stores computer-readable instructions, and when the processor executes the computer-readable instructions, the steps of the leasing business processing method as described in any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the steps of the leasing business processing method according to any one of claims 1 to 7 are implemented.
