Logistics business operation execution method and device, equipment and storage medium
By obtaining business operations through the logistics front-end and using preset function libraries for verification and execution, the problem of low development resource utilization in the existing logistics business operation methods is solved, code reuse and user experience are achieved, and the accuracy and flexibility of business processes are ensured.
Patent Information
- Application Number
- CN202510416904.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-03
- Publication Date
- 2025-07-18
AI Technical Summary
The existing logistics business operation execution methods design special processes for specific tenants or business scenarios, resulting in low utilization of development resources and inability to meet the flexibility and configurability requirements under the multi-tenant logistics service model.
The business operations of the target user are obtained through the logistics front-end, and the actual configuration information is determined from the configuration information database based on the user identification and business scenarios. The checksum operation functions in the preset function library are used for checksum execution, providing feedback on the execution result, and realizing code reuse and personalized configuration.
It improves the utilization rate of development resources, reduces the cost of repeated development, improves the flexibility and configurability of user experience and business operations, and ensures the accuracy and completeness of business processes.
Smart Images

Figure CN120338629A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the field of logistics technology, and in particular, to a method, device, equipment, and storage medium for executing logistics business operations. Background Art
[0002] Driven by globalization and e-commerce, the logistics industry has encountered unprecedented development opportunities, while also facing huge challenges. Especially in the multi-tenant logistics service model, different tenants have their own unique business processes, rules, and data requirements, which pose higher requirements for flexibility, configurability, and scalability of the logistics business operation execution method.
[0003] However, existing logistics business operation execution methods usually design dedicated execution processes for specific tenants or business scenarios. Although this approach can meet specific needs to a certain extent, it requires developing independent execution processes for each specific situation, resulting in low utilization rate of development resources.
[0004] Therefore, there is an urgent need to propose a new method to solve the above problems. Summary of the Invention
[0005] The present invention provides a method, device, equipment, and storage medium for executing logistics business operations, which can improve the utilization rate of development resources and thus reduce the development cost.
[0006] In a first aspect, embodiments of the present invention provide a method for executing logistics business operations, the method comprising:
[0007] Obtaining a business operation of a target user through a logistics front end;
[0008] Determining actual configuration information of the business operation from a business operation configuration information database according to the business operation, a user identifier of the target user, and a current business scenario, the actual configuration information including verification configuration information and operation configuration information;
[0009] Invoking a verification function from a preset function library according to the verification configuration information, and using the verification function to verify the business operation to obtain a verification result of the business operation;
[0010] In the case where the verification result is passed, invoking an operation function from the preset function library according to the operation configuration information, and using the operation function to respond to the business operation to obtain an execution result of the business operation;
[0011] Feeding back the execution result to the logistics front end.
[0012] The technical solution of the embodiment of the present invention first obtains the business operation of the target user through the logistics front end; then determines the actual configuration information of the business operation from the business operation configuration information database according to the business operation, the user identifier of the target user, and the current business scenario. The actual configuration information includes verification configuration information and operation configuration information; then calls a verification function from a preset function library according to the verification configuration information, and uses the verification function to verify the business operation to obtain a verification result of the business operation; in the case that the verification result is passed, calls an operation function from the preset function library according to the operation configuration information, and uses the operation function to respond to the business operation to obtain an execution result of the business operation; finally, feeds back the execution result to the logistics front end. The above technical solution first obtains the business operation of the target user through the logistics front end, providing a data basis for determining the actual configuration information of the business operation later. Then, according to the business operation, the user identifier of the target user, and the current business scenario, determines the actual configuration information of the business operation from the business operation configuration information database, ensuring that the provided configuration information meets the personalized needs of the user and helping to improve the user experience. Then, calls a verification function from a preset function library according to the verification configuration information, and uses the verification function to verify the business operation to obtain a verification result of the business operation, providing a data basis for determining whether to call the operation function later. Then, determines whether the verification result is passed. If not, feeds back the verification result to the logistics front end, prompting the target user to correct the relevant data in the business operation so as to re-initiate a business operation that meets the requirements, avoiding other problems (such as order processing failure or delivery error, etc.) caused by incorrect data entering the subsequent process. If it is passed, calls an operation function from the preset function library according to the operation configuration information, and uses the operation function to respond to the business operation to obtain an execution result of the business operation. Among them, the operation functions in the preset function library can be reused by different business operations, improving the reusability of the code, avoiding the duplication of developing code with the same function, thus reducing the development time and cost, and further improving the utilization rate of development resources. Finally, feeds back the execution result to the logistics front end, facilitating the user to make corresponding subsequent decisions according to the fed-back execution result, so as to better participate in and manage the entire logistics process, and further improving the user experience, and solving the problem of low utilization rate of development resources existing in the existing logistics business operation execution method.
[0013] In a second aspect, the embodiment of the present invention further provides a logistics business operation execution device, and the device includes:
[0014] An obtaining module, configured to obtain the business operation of the target user through the logistics front end;
[0015] A determining module, configured to determine the actual configuration information of the business operation from the business operation configuration information database according to the business operation, the user identifier of the target user, and the current business scenario, where the actual configuration information includes verification configuration information and operation configuration information;
[0016] A verification module, configured to call a verification function from a preset function library according to the verification configuration information, and use the verification function to verify the service operation to obtain a verification result of the service operation;
[0017] An execution module, configured to, when the verification result is passed, call an operation function from the preset function library according to the operation configuration information, and use the operation function to respond to the service operation to obtain an execution result of the service operation;
[0018] A feedback module, configured to feedback the execution result to the front end of the logistics.
[0019] In a third aspect, an embodiment of the present invention further provides an electronic device, which includes:
[0020] At least one processor; and a memory communicatively connected to the at least one processor;
[0021] Wherein, the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the logistics service operation execution method according to any one of the first aspects.
[0022] In a fourth aspect, an embodiment of the present invention further provides a storage medium containing computer-executable instructions, and the computer-executable instructions are used to execute the logistics service operation execution method according to any one of the first aspects when executed by a computer processor.
[0023] It should be noted that the above computer instructions may be stored in whole or in part on a computer-readable storage medium. Among them, the computer-readable storage medium may be packaged together with the processor of the logistics service operation execution device, or may be packaged separately from the processor of the logistics service operation execution device. This application does not make any limitation on this.
[0024] For the descriptions of the second aspect, the third aspect, and the fourth aspect in this application, reference may be made to the detailed description of the first aspect; and for the beneficial effects of the descriptions of the second aspect, the third aspect, and the fourth aspect, reference may be made to the analysis of the beneficial effects of the first aspect, which will not be elaborated here.
[0025] In this application, the names of the above-mentioned logistics service operation execution devices do not constitute a limitation to the devices or functional modules themselves. In actual implementation, these devices or functional modules may appear under other names. As long as the functions of each device or functional module are similar to those of this application and fall within the scope of the claims of this application and their equivalent technologies.
[0026] These aspects or other aspects of this application will be more concise and understandable in the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0028] Figure 1 It is a flowchart of a method for executing logistics business operations provided by an embodiment of the present invention;
[0029] Figure 2 It is a flowchart of another method for executing logistics business operations provided by an embodiment of the present invention;
[0030] Figure 3 It is a schematic structural diagram of a device for executing logistics business operations provided by an embodiment of the present invention;
[0031] Figure 4 It is a schematic structural diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0032] The following further elaborates on the present invention in conjunction with the drawings and embodiments. It can be understood that the specific embodiments described herein are only used to explain the present invention, rather than limiting the present invention. Additionally, it should be noted that for the sake of description, only the parts related to the present invention rather than all the structures are shown in the drawings.
[0033] The term "and / or" in this document is merely a description of the associated relationship of the associated objects, indicating that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone, these three situations.
[0034] The terms "first" and "second" in the specification and drawings of this application are used to distinguish different objects or different processes for the same object, rather than to describe a specific order of the objects.
[0035] In addition, the terms "including" and "having" mentioned in the description of this application and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but optionally further includes other unlisted steps or units, or optionally further includes other steps or units inherent to these processes, methods, products, or devices.
[0036] Before discussing the exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowcharts depict operations (or steps) as sequential processes, many of the operations can be implemented in parallel, concurrently, or simultaneously. In addition, the order of the operations can be rearranged. The process can be terminated when its operations are completed, but there can also be additional steps not included in the drawings. The process can correspond to a method, function, procedure, subroutine, subprogram, and so on. In addition, without conflict, the embodiments in the present invention and the features in the embodiments can be combined with each other.
[0037] It should be noted that in the embodiments of the present application, words such as "exemplary" or "for example" are used to represent examples, illustrations, or explanations. Any embodiment or design solution described as "exemplary" or "for example" in the embodiments of the present application should not be construed as being more preferred or having more advantages than other embodiments or design solutions. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.
[0038] In the description of the present application, unless otherwise specified, the meaning of "a plurality of" refers to two or more.
[0039] Figure 1 The figure is a flowchart of a method for executing logistics business operations provided by an embodiment of the present invention. This embodiment is applicable to situations where it is necessary to improve the utilization rate of development resources related to logistics business operations. This method can be executed by a logistics business operation execution device, and the logistics business operation execution device can be implemented in a hardware / software manner. The device can be integrated in an electronic device, such as a computer, and the embodiments of the present invention do not limit this. As Figure 1 shown, the specific steps are as follows:
[0040] Step 110: Obtain the business operations of the target user through the logistics front end.
[0041] Specifically, the logistics front end refers to the part that directly interacts with users and is responsible for collecting and transmitting various information such as user operation instructions. For example, the logistics front end can be the web interface of the logistics system. The target user refers to an individual, enterprise, or other organization that initiates business operations through the logistics front end. Business operations refer to various behaviors related to logistics services initiated by the target user through the logistics front end. For example, business operations can be placing an order, querying logistics information, or modifying a logistics order, etc.
[0042] In a specific implementation, when a target user triggers a business operation by clicking with a mouse (such as on a web page) or a touch operation (such as on a mobile application), the front end collects information related to the business operation. For example, if the business operation is an order placement operation, the information collected can be the name of the shipper, the address of the shipper, the name of the consignee, the address of the consignee, and the goods, etc. Then the collected data is converted into a format suitable for transmission (such as Java Script Object Notation), and then it can be sent to the back end through a network communication protocol (such as Hypertext Transfer Protocol) to implement obtaining the business operation of the target user through the logistics front end. After receiving the business operation of the target user, the back end can perform subsequent processing (such as verification operations) based on the previously collected data.
[0043] In this embodiment, obtaining the business operation of the target user through the logistics front end provides a data basis for determining the actual configuration information of the business operation later.
[0044] Step 120: Determine the actual configuration information of the business operation from the business operation configuration information database according to the business operation, the user identifier of the target user, and the current business scenario.
[0045] Specifically, the actual configuration information includes verification configuration information and operation configuration information. The actual configuration information refers to the configuration information that is finally determined and saved after the user modifies the original configuration information according to business requirements. The verification configuration information refers to the configuration information used to guide how to verify the business operation. For example, the verification configuration information includes verification rules, verification conditions, and the identifiers of the required verification functions (such as function names), etc. The operation configuration information refers to the configuration information used to guide how to execute the business operation. The user identifier refers to the information that uniquely identifies the target user. For example, the user identifier can be the user's account number or the user's mobile phone number, etc. The current business scenario refers to the specific environment or background when the target user performs the business operation. For example, the current business scenario can be a cross-border logistics scenario. The business operation configuration information database refers to the database that stores the configuration information related to logistics business operations, and contains the specific configuration information (including verification configuration information and operation configuration information) of various business operations under different user identifiers and business scenarios.
[0046] In a specific implementation, when obtaining the business operations of a target user through the logistics front-end, the user identifier and the current business scenario of the target user can also be obtained through the logistics front-end. Specifically, the login information of the target user can be obtained through the login interface of the logistics front-end, so as to obtain the user identifier of the target user, and the current business scenario can be determined through the Uniform Resource Locator (URL) of the logistics front-end page where the user operates. Then, based on the business operations, the user identifier of the target user, and the current business scenario, a query can be made in the business operation configuration information database to obtain the actual configuration information of the business operation.
[0047] It should be noted that the business operation configuration information database is determined in advance according to the actual situation or requirements.
[0048] In this embodiment, through the above steps, it is ensured that the provided configuration information meets the personalized needs of users, which helps to improve the user experience.
[0049] Step 130: Call a verification function from a preset function library according to the verification configuration information, and use the verification function to verify the business operation to obtain the verification result of the business operation.
[0050] Specifically, the preset function library refers to a collection of various functions set in advance according to the actual situation or requirements. The verification function refers to a function in the preset function library used to verify and check the data involved in the business operation. The verification result refers to the conclusion obtained after verifying the business operation through the verification function.
[0051] In a specific implementation, after obtaining the verification configuration information, it can be parsed to determine the verification function identifier and its parameters to be called. Then, according to the parsed verification function identifier, the corresponding verification function is searched for and called from the preset function library. During the call, the data that needs to be verified in the business operation is passed as a parameter to the verification function. After receiving these verification data, the verification function executes its internally preset verification logic (such as data format check, data range verification, and / or data consistency check, etc.) to obtain the verification result.
[0052] In this embodiment, calling the verification function from the preset function library according to the verification configuration information, using the verification function to verify the business operation, and obtaining the verification result of the business operation provide a data basis for determining whether to call the operation function later. And the verification functions in the preset function library can be reused, avoiding the duplication of developing code with the same function, and saving development time and cost.
[0053] Step 140: Determine whether the verification result is passed.
[0054] If it is passed, execute step 160; if it is not passed, execute step 150.
[0055] In a specific implementation, after obtaining the verification result, it is determined whether the verification result is passed. If it is passed, it indicates that the data submitted for the business operation conforms to the pre-set verification rule requirements, that is, the business operation meets the conditions for being executable. At this time, the operation function can be called from the preset function library according to the operation configuration information, and the operation function is used to respond to the business operation to obtain the execution result of the business operation. If it is not passed, it indicates that there is a situation where the data submitted for the business operation does not conform to the verification rule (such as incorrect data format filling). At this time, the verification result needs to be fed back to the logistics front end.
[0056] Step 150: Feed back the verification result to the logistics front end.
[0057] In a specific implementation, after determining that the verification result is not passed, the verification result can be fed back to the logistics front end to display the specific reasons for the verification failure to the target user, prompt the target user to correct the relevant data in the business operation, so as to re-initiate a business operation that meets the requirements, and avoid other problems caused by incorrect data entering the subsequent process (such as order processing failure or delivery error, etc.).
[0058] Step 160: Call the operation function from the preset function library according to the operation configuration information, and use the operation function to respond to the business operation to obtain the execution result of the business operation.
[0059] Specifically, the operation function refers to the function in the preset function library that is used to actually execute the specific business logic, process the business data, and thus implement the business operation function. The execution result refers to the final result obtained after the operation function responds to the business operation when the business operation verification result is passed. For example: The execution result of the order placement operation can be to generate a valid order number, determine the shipping warehouse and delivery method.
[0060] In specific implementation, after determining that the verification result passes, the operation configuration information can be parsed to determine the operation function identifier to be called, the required parameters, and the execution order. Then, according to the operation function identifier obtained by parsing, the corresponding operation function is searched for and called from the preset function library. During the call, the business data related to the business operation (for example, the business data related to the order placement operation includes the shipper's name, shipper's address, shipper's contact phone number, consignee's name, consignee's address, consignee's contact phone number, goods name, goods quantity, goods weight, and goods category, etc.) is passed as parameters to the operation function. After receiving these data, the operation function executes the pre-set execution logic inside it (such as data insertion, data update, external interface call, file reading, and / or file transfer, etc.), and obtains the execution result returned by the operation function. Finally, the execution result returned by the operation function is integrated according to the preset association rule (such as the business process order) to obtain the execution result of the business operation.
[0061] In this embodiment, the operation functions in the preset function library can be reused by different business operations, which improves the code reusability, avoids developing the code with the same function repeatedly, thereby reducing the development time and cost, and further improving the utilization rate of development resources.
[0062] Step 170: Feed back the execution result to the logistics front end.
[0063] In specific implementation, after obtaining the execution result of the business operation, the execution result can be formatted (convert the data format of the execution result into the Extensible Markup Language format) to ensure that the logistics front end can correctly parse and execute the result, and then an interface connection is established with the logistics front end to transfer the execution result data to the front end. After that, through the previously established interface, the formatted execution result data is sent to the logistics front end. After receiving the execution result data, the logistics front end will parse and process it and display it on the user interface, so that the user can view the execution result on the front end interface.
[0064] In this embodiment, by feeding back the execution result to the logistics front end, it is convenient for the user to make corresponding subsequent decisions according to the fed-back execution result, so as to better participate in and manage the entire logistics process, and further improve the user experience.
[0065] The logistics business operation execution method provided by the embodiment of the present invention first obtains the business operation of the target user through the logistics front end, and provides a data basis for determining the actual configuration information of the business operation later. Then, the actual configuration information of the business operation is determined from the business operation configuration information database according to the business operation, the user identification of the target user and the current business scenario, ensuring that the provided configuration information meets the personalized needs of the user, which helps to improve the user experience. Then, the verification function is called from the preset function library according to the verification configuration information, and the business operation is verified by the verification function to obtain the verification result of the business operation, which provides a data basis for determining whether to call the operation function later. Then, it is determined whether the verification result is passed. If it is not passed, the verification result is fed back to the logistics front end, prompting the target user to correct the relevant data in the business operation, so as to re-initiate the business operation that meets the requirements, and avoid other problems caused by the wrong data entering the subsequent process (such as order processing failure or delivery error, etc.). If it is passed, the operation function is called from the preset function library according to the operation configuration information, and the operation function is used to respond to the business operation to obtain the execution result of the business operation. Among them, the operation functions in the preset function library can be reused by different business operations, which improves the reusability of the code and avoids repeated development of the code with the same function, thereby reducing development time and cost, and thus improving the utilization rate of development resources. Finally, the execution results are fed back to the logistics front end, which facilitates users to make corresponding subsequent decisions based on the feedback execution results, so as to better participate in and manage the entire logistics process, thereby improving the user experience and solving the problem of low development resource utilization in the existing logistics business operation execution method.
[0066] Figure 2 A flowchart of another method for executing logistics business operations provided by an embodiment of the present invention is a specific implementation of the above embodiment. In this embodiment, the method may further include:
[0067] Step 211: Obtain the configuration request of the target user and feed back the candidate business operations to the logistics front end.
[0068] Specifically, a configuration request refers to a request made by a target user to configure a business operation. A candidate business operation refers to a business operation item provided to a target user as a selectable range, for example, a candidate business operation may be placing an order, querying logistics status, modifying a delivery address, and applying for a return.
[0069] In a specific implementation, when a user initiates a configuration request through the logistics front-end interface (such as clicking the configuration button), the logistics front-end will immediately trigger an interface request to the back-end. Then the back-end will receive the configuration request, parse it to obtain the user identifier of the target user in the configuration request, and then query in the corresponding relationship table between users and business operations based on the user identifier of the target user to obtain candidate business operations. Then the obtained candidate business operations are encapsulated and sent to the front-end through the interface. After receiving the data returned by the back-end, the logistics front-end parses it and displays it to the user.
[0070] It should be noted that the corresponding relationship table between users and business operations is set in advance according to the actual situation or requirements.
[0071] In this embodiment, by obtaining the configuration request of the target user and feeding back the candidate business operations to the logistics front-end, it is convenient for the user to select the business operation to be modified subsequently, so as to provide personalized services for the user.
[0072] Step 212: Obtain the selection operation of the target user for the candidate business operations through the logistics front-end to obtain the business operation of the target user, and feed back the candidate configuration information of the business operation to the logistics front-end, so that the target user can modify the verification function corresponding to the candidate verification configuration information according to the candidate verification configuration information, and modify the operation function corresponding to the candidate operation configuration information according to the candidate operation configuration information.
[0073] Specifically, the candidate configuration information refers to the optional configuration information provided for the business operation, and the user can modify it according to needs. The candidate configuration information includes candidate verification configuration information and candidate operation configuration information. The candidate verification configuration information refers to the initial configuration information used to guide how to verify the business operation, and the user can modify it according to needs. The candidate verification configuration information refers to the initial configuration information used to guide how to execute the business operation, and the user can modify it according to needs.
[0074] In a specific implementation, when a target user clicks on a candidate business operation option on the front-end page, the front-end will detect this click event and obtain the business operation identifier corresponding to the clicked option, thereby determining the business operation selected by the target user. Then, the data related to this business operation (such as the business operation identifier and the user identifier) is sent to the back-end. After receiving the data sent from the logistics front-end, the back-end parses it to obtain the business operation identifier of this business operation, and then queries in the business operation configuration database based on this business operation identifier to obtain the candidate configuration information for this business operation. Subsequently, the obtained candidate configuration information is sent to the front-end. After receiving the candidate configuration information fed back by the back-end, the logistics front-end parses it and displays it to the user, so that the user can modify the verification function and operation function corresponding to the candidate verification configuration information according to their own business needs and actual situations. For example: The user can click on the function name they want to modify in the candidate verification configuration information, and then jump to the corresponding function modification page to complete the modification operation.
[0075] In this embodiment, the logistics front-end obtains the selection operation of the target user for the candidate business operation, obtains the business operation of the target user, and feeds back the candidate configuration information of the business operation to the logistics front-end, so that the target user can modify the verification function corresponding to the candidate verification configuration information and modify the operation function corresponding to the candidate operation configuration information according to the candidate verification configuration information, thereby meeting the personalized needs of the user and improving the flexibility, configurability, and user satisfaction of the business operation.
[0076] Step 213: Obtain the modification operations for the verification function corresponding to the candidate verification configuration information and the operation function corresponding to the candidate operation configuration information through the logistics front-end, and obtain the actual configuration information of the business operation.
[0077] In a specific implementation, the front-end will encapsulate the user's selection and modification into request data and send it to the back-end. After receiving the request data sent by the front-end, the back-end will parse it to obtain the modified configuration information. Subsequently, the candidate configuration information corresponding to the corresponding business operation will be updated according to the modified configuration information to obtain the actual configuration information of the corresponding business operation.
[0078] In this embodiment, through the above steps, a data basis is provided for obtaining the verification and execution results of the business operation later.
[0079] Step 214: Obtain the business operation of the target user through the logistics front-end.
[0080] Step 215: Determine the actual configuration information of the business operation from the business operation configuration information database according to the business operation, the user identifier of the target user, and the current business scenario.
[0081] Step 216: Call a verification function from a preset function library according to the verification configuration information, and use the verification function to verify the business operation to obtain the verification result of the business operation.
[0082] Further, using the verification function to verify the business operation to obtain the verification result of the business operation includes: determining a query database according to the business operation; querying in the query database using Structured Query Language (SQL) to obtain a query result; and determining the verification result of the business operation according to the matching situation between the query result and the data to be verified in the business operation.
[0083] Specifically, the verification function includes Structured Query Language (SQL). The query database refers to a database used to store various types of business-related data (such as user information tables and goods information tables). The query result refers to the data information returned after executing a query operation in the query database using Structured Query Language (SQL). The data to be verified in the business operation refers to the data content that needs to be verified and checked during the business operation process.
[0084] In specific implementation, it is possible to first query in the correspondence table between the business operation and the query database based on the business operation to obtain the used query database. Then use the preset Structured Query Language (SQL) to query in the query database to obtain a query result, and extract the data that needs to be verified from the business operation to obtain the data to be verified. Match the query result with the data to be verified. If the match is successful, the verification result of the business operation is passed; if the match fails, the verification result of the business operation is not passed. For example: the business operation is a placement order operation, the data to be verified is the quantity of goods. If the quantity of goods is 2 and the query result is that the quantity of goods is 1, it is determined that the query result does not match the data to be verified, and the verification result of the business operation is not passed.
[0085] It should be noted that the correspondence table between the business operation and the query database is set in advance according to the actual situation or requirements.
[0086] In this embodiment, through the above steps, the accuracy of data verification is improved.
[0087] Further, using the verification function to verify the business operation to obtain the verification result of the business operation includes: calculating the verification expression using the data to be verified in the business operation to obtain the calculation result of the verification expression; and obtaining the verification result of the business operation according to the calculation result of the verification expression.
[0088] Specifically, the verification function includes a verification expression. The verification expression refers to a mathematical, logical, or string expression used to describe verification rules or conditions.
[0089] In specific implementation, it is possible to first query in the correspondence table between business operations and verification expressions based on the business operation to obtain the used verification expression, and extract the data to be verified from the business operation to obtain the data to be verified. Then, substitute the data to be verified into the aforementioned determined verification expression for calculation to obtain the calculation result. If the calculation result is true, it is determined that the verification result of the business operation passes; if the calculation result is false, it is determined that the verification result of the business operation fails. For example: The business operation is a payment operation, the data to be verified is the password entered by the user, the business requirement is that the password length is between 6 and 16 digits, and the verification expression is 6 <= len(password) <= 16. If the password entered by the user is 123, it can be determined that the verification expression is false, that is, the verification result fails.
[0090] It should be noted that the correspondence table between business operations and verification expressions is set in advance according to the actual situation or requirements.
[0091] In this embodiment, through the above steps, the flexibility of verification is improved and the burden on the database is reduced.
[0092] Step 217: Determine whether the verification result passes.
[0093] If it passes, execute step 219; if it does not pass, execute step 218.
[0094] Step 218: Feedback the verification result to the logistics front end.
[0095] Step 219: Call each operation function from the preset function library according to the execution sequence relationship between the operation functions to obtain the execution results of each operation function.
[0096] Specifically, there are at least two operation functions, and the operation configuration information includes the execution sequence relationship between at least two operation functions.
[0097] In specific implementation, it is possible to first determine the execution sequence relationship between each operation function according to the operation configuration information, and then call each operation function from the preset function library according to the execution sequence relationship between the operation functions to obtain the execution results of each operation function, providing a data basis for obtaining the execution result of the business operation later.
[0098] Step 220: Obtain the execution result of the business operation according to the execution results of each operation function.
[0099] In specific implementation, the execution results returned by each operation function can be integrated according to a preset association rule (such as the business process sequence) to obtain the execution result of the business operation. For example: The business operation is an order placement operation, and the operation functions include an order number generation function, a warehouse selection function, and a delivery method allocation function. The business process sequence is to generate the order number first, then the warehouse selection function, and finally the delivery method allocation function. The execution result returned by the order number generation function is [order number], the execution result returned by the warehouse selection function is [warehouse name], and the execution results returned by the delivery method allocation function are [delivery method] and [estimated delivery time]. Integrating the execution results returned by each operation function according to the business process sequence, the obtained execution result is: The order number is [order number], the goods will be shipped from [warehouse name], delivered by [delivery method], and the estimated delivery time is [estimated delivery time].
[0100] In addition, if any operation function is called and the function execution fails, the call is directly terminated and the execution failure result is fed back to the front end.
[0101] In this embodiment, the execution result of the business operation is obtained based on the execution results of each operation function, avoiding deviations in the business process caused by omissions or errors in a certain link, ensuring that the business can be carried out accurately and completely from start to end, and when the execution result of the business operation is a failure, the faulty operation function can be quickly located.
[0102] Furthermore, using the operation function to respond to the business operation to obtain the execution result of the business operation includes: using the basic function to perform basic data processing on the business data of the business operation, and using the exclusive function to perform business logic processing on the business data of the business operation to obtain the execution result of the business operation.
[0103] Specifically, the operation function includes a basic function and an exclusive function. The basic function refers to a function that performs basic data processing functions, such as a general object update function, a variable acquisition function, a business object jump function, and a structured query language update function, etc. The exclusive function refers to a function that executes specific business logic, such as a logistics order split sub-order function, an order direct scheduling function, and a waybill adding cabinet function, etc. The business data of the business operation refers to all data information involved in the process of executing the business operation, including but not limited to the data input by the user (such as user personal information), the data generated by the system (such as order number and timestamp), and the data obtained from other data sources (such as inventory data and logistics price data).
[0104] In a specific implementation, first determine the business object (such as a user, an order, or a product) bound to the operation according to the business operation, then determine the corresponding business attributes (such as the name of the user, the amount of the order, and the inventory of the product) based on the business object, then determine the business data according to the business attributes, and then determine the execution order and parameters of the basic function and the exclusive function according to the configuration information of the business operation. Then, call the basic function first according to the determined execution order to perform preliminary processing on the business data (such as data cleaning and format conversion). After the basic function finishes processing the data, call the exclusive function according to the determined execution order to perform business logic processing on the business data of the business operation to obtain the execution result of the business operation.
[0105] In this embodiment, separating data processing and business logic processing to be borne by different functions can enable each function to focus on its specific task, thereby improving the overall processing efficiency. Moreover, the basic function has strong versatility and can be reused in multiple similar business scenarios, avoiding the situation of repeatedly writing the same functional code and improving the code reuse rate. Additionally, when an abnormal execution result occurs in the business operation, since data processing and business logic processing are completed through different types of functions, it is possible to clearly locate the problem according to the execution conditions of the basic function and the exclusive function, improving the efficiency of problem-solving.
[0106] Furthermore, using the basic function to perform data processing on the business data of the business operation and using the exclusive function to perform business processing on the business data of the business operation to obtain the execution result of the business operation includes: using the general object update function and the business data of the business operation to update the business attributes of the business operation; using the logistics order split sub-order function to perform split order processing on the business data of the business operation to obtain the intermediate business data of the business operation; using the order direct scheduling function to perform generation processing on the intermediate business data to obtain the target business data of the business operation; using the business object jump function and the target business data of the business operation to update the business attributes of the business operation; using the structured query language update function to store the target business data of the business operation to obtain the execution result of the business operation.
[0107] Specifically, the basic functional functions include a general object update function, a business object jump function, and a Structured Query Language (SQL) update function. The exclusive functional functions include a logistics order split sub-order function and an order direct scheduling function. The general object update function refers to a function for updating the data of objects related to business attributes in business operations. The business object jump function refers to a function that guides a business object to jump between different business states or processes according to business data during business operations. The Structured Query Language update function refers to a function for updating data in a database through the Structured Query Language. The logistics order split sub-order function refers to a function for splitting a logistics order containing multiple items into multiple sub-orders. The order direct scheduling function refers to a function for processing intermediate business data to generate target business data. The business attributes of business operations refer to the attribute characteristics of business objects (such as orders, logistics orders, user accounts, etc.) involved in business operations. For example, the business attribute of an order can be the order number. The intermediate business data of business operations refers to the temporary data obtained after being processed by some exclusive functional functions during the business processing process. The target business data of business operations refers to the final business data obtained after the entire business processing flow.
[0108] Exemplarily, the business operation is an e-commerce order placement, and the business data is as follows: The goods include a laptop, a mobile phone, and a box of fruits. The order number is 1, the order placement time is 10:30:00 on November 19, 2024, the customer name is Zhang San, the receiving address is Area C, City B, Province A. The shipping information is that the laptop and the mobile phone are shipped from the electronics warehouse, and the fruits are shipped from the fresh food warehouse, and the fruits require cold chain transportation. Then, use the general object update function and the foregoing business data to update each business attribute (goods, order number, order placement time, customer name, receiving address, and shipping information) in the original order to obtain a logistics order. After that, due to the different shipping warehouses and transportation methods of the goods, use the logistics order split sub-order function to split the logistics order to obtain two sub-orders. Specifically, the order number of sub-order 1 is 1-1, the goods are a laptop and a mobile phone, the shipping warehouse is the electronics warehouse, and the transportation method is ordinary express; the order number of sub-order 2 is 1-2, the goods are fruits, the shipping warehouse is the fresh food warehouse, and the transportation method is cold chain express. Then, use the order direct scheduling function to assign the express order number T1 to sub-order 1 and arrange to ship from the local electronics warehouse, with an estimated delivery time of 2 days; assign the cold chain express order number T2 to sub-order 2 and arrange to ship from the local fresh food warehouse, with an estimated delivery time of 1 day. Then, integrate these scheduling information into the sub-order data to form the target business data. When the scheduling arrangements for both sub-orders are completed, use the business object jump function to update the status of the order object from "pending" to "scheduled". Finally, use the structured query language update function to construct an update statement to update and store the relevant information of sub-order 1 and sub-order 2 and the status of the order object in the database, and obtain the execution result of the business operation (the relevant information of sub-order 1 and sub-order 2 and the status update of the order object).
[0109] In this embodiment, the use of the general object update function improves the accuracy and timeliness of the data, the use of the logistics order split sub-order function and the business object jump function improves the flexibility and adaptability of business processing, and the use of the structured query language update function ensures the integrity of the data.
[0110] Step 221: Feed back the execution result to the logistics front end.
[0111] The logistics business operation execution method provided by the embodiments of the present invention first obtains the configuration request of the target user and feeds back candidate business operations to the logistics front end, facilitating subsequent user selection of the business operations to be modified, thereby providing personalized services for users. Then, through the logistics front end, it obtains the selection operation of the target user for the candidate business operations to obtain the business operations of the target user, and feeds back the candidate configuration information of the business operations to enable the target user to modify the verification function corresponding to the candidate verification configuration information and modify the operation function corresponding to the candidate operation configuration information according to the candidate operation configuration information, thus meeting the personalized needs of users, improving the flexibility, configurability, and user satisfaction of business operations. Then, through the logistics front end, it obtains the modification operations of the verification function corresponding to the candidate verification configuration information and the operation function corresponding to the candidate operation configuration information to obtain the actual configuration information of the business operations, providing a data basis for obtaining the verification and execution results of the business operations later. Again, through the logistics front end, it obtains the business operations of the target user, providing a data basis for determining the actual configuration information of the business operations later. Then, according to the business operations, the user identifier of the target user, and the current business scenario, it determines the actual configuration information of the business operations from the business operation configuration information database, ensuring that the provided configuration information meets the personalized needs of users and helping to improve the user experience. Then, it calls the verification function from the preset function library according to the verification configuration information, uses the verification function to verify the business operations, and obtains the verification result of the business operations, providing a data basis for determining whether to call the operation function later. Then, it determines whether the verification result is passed. If it is not passed, it feeds back the verification result to the logistics front end, prompting the target user to correct the relevant data in the business operations so as to re-initiate the business operations that meet the requirements, avoiding other problems (such as order processing failure or delivery error, etc.) caused by incorrect data entering the subsequent process. If it is passed, it calls each operation function from the preset function library according to the execution sequence relationship between the operation functions, obtains the execution results of each operation function, and obtains the execution result of the business operations according to the execution results of each operation function, avoiding deviations in the business process caused by omissions or errors in a certain link, ensuring that the business can be carried out accurately and completely from start to end, and when the execution result of the business operation is a failure, the faulty operation function can be quickly located. Among them, the operation functions in the preset function library can be reused by different business operations, improving the code reusability, avoiding the development of code with the same function repeatedly, thereby reducing the development time and cost, and further improving the utilization rate of development resources. Finally, it feeds back the execution result to the logistics front end, facilitating the user to make corresponding subsequent decisions according to the feedback execution result, thereby better participating in and managing the entire logistics process, further improving the user experience, and solving the problem of low utilization rate of development resources existing in the existing logistics business operation execution method.
[0112] Figure 3The figure is a schematic structural diagram of a logistics business operation execution device provided by an embodiment of the present invention. This device and the logistics business operation execution methods in the above embodiments belong to the same inventive concept. For details not described in detail in the embodiment of the logistics business operation execution device, reference may be made to the embodiments of the above logistics business operation execution methods.
[0113] As Figure 3 shown, the device includes:
[0114] An acquisition module 310, configured to acquire a business operation of a target user through a logistics front end;
[0115] A determination module 320, configured to determine actual configuration information of the business operation from a business operation configuration information database according to the business operation, a user identifier of the target user, and a current business scenario, where the actual configuration information includes verification configuration information and operation configuration information;
[0116] A verification module 330, configured to call a verification function from a preset function library according to the verification configuration information, and use the verification function to verify the business operation to obtain a verification result of the business operation;
[0117] An execution module 340, configured to, when the verification result is passed, call an operation function from the preset function library according to the operation configuration information, and use the operation function to respond to the business operation to obtain an execution result of the business operation;
[0118] A feedback module 350, configured to feedback the execution result to the logistics front end.
[0119] Based on the above embodiment, the verification function includes Structured Query Language. The verification module 330 uses the verification function to verify the business operation to obtain the verification result of the business operation, including:
[0120] Determine a query database according to the business operation;
[0121] Use the Structured Query Language to query in the query database to obtain a query result;
[0122] Determine the verification result of the business operation according to the matching situation between the query result and the data to be verified of the business operation.
[0123] Based on the above embodiment, the verification function includes a verification expression. The verification module 330 uses the verification function to verify the business operation to obtain the verification result of the business operation, including:
[0124] Calculate the verification expression using the data to be verified for the business operation to obtain the calculation result of the verification expression;
[0125] Obtain the verification result of the business operation based on the calculation result of the verification expression.
[0126] Based on the above embodiments, there are at least two operation functions, and the operation configuration information includes the execution sequence relationship between at least two operation functions. The execution module 340 calls operation functions from the preset function library according to the operation configuration information, and uses the operation functions to respond to the business operation to obtain the execution result of the business operation, including:
[0127] Call the respective operation functions from the preset function library according to the execution sequence relationship between the respective operation functions to obtain the execution results of the respective operation functions;
[0128] Obtain the execution result of the business operation based on the execution results of the respective operation functions.
[0129] Based on the above embodiments, the operation functions include basic function functions and exclusive function functions. The execution module 340 uses the operation functions to respond to the business operation to obtain the execution result of the business operation, including:
[0130] Perform basic data processing on the business data of the business operation using the basic function functions, and perform business logic processing on the business data of the business operation using the exclusive function functions to obtain the execution result of the business operation.
[0131] Based on the above embodiments, the basic function functions include a general object update function, a business object jump function, and a structured query language update function; the exclusive function functions include a logistics order split sub-order function and an order direct scheduling function. The execution module 340 performs data processing on the business data of the business operation using the basic function functions, and performs business processing on the business data of the business operation using the exclusive function functions to obtain the execution result of the business operation, including:
[0132] Update the business attributes of the business operation using the general object update function and the business data of the business operation;
[0133] Perform split order processing on the business data of the business operation using the logistics order split sub-order function to obtain the intermediate business data of the business operation;
[0134] Perform generation processing on the intermediate business data using the order direct scheduling function to obtain the target business data of the business operation;
[0135] Update the service attributes of the service operation by using the service object jump function and the target service data of the service operation;
[0136] Store the target service data of the service operation by using the structured query language update function to obtain the execution result of the service operation.
[0137] Based on the above embodiments, the device further includes:
[0138] A modification module, configured to obtain a configuration request of the target user before obtaining a service operation of the target user through a logistics front end, and feedback a candidate service operation to the logistics front end; obtain a selection operation of the target user on the candidate service operation through the logistics front end to obtain the service operation of the target user, and feedback candidate configuration information of the service operation to the logistics front end, where the candidate configuration information includes candidate verification configuration information and candidate operation configuration information, so that the target user modifies a verification function corresponding to the candidate verification configuration information according to the candidate verification configuration information, and modifies an operation function corresponding to the candidate operation configuration information according to the candidate operation configuration information; obtain a modification operation on the verification function corresponding to the candidate verification configuration information and the operation function corresponding to the candidate operation configuration information through the logistics front end to obtain actual configuration information of the service operation.
[0139] The logistics service operation execution device provided by the embodiments of the present invention can execute the logistics service operation execution method provided by any embodiment of the present invention, and has corresponding functional modules and beneficial effects of the execution method.
[0140] It should be noted that in the embodiments of the above logistics service operation execution device, the included units and modules are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be realized; in addition, the specific names of the functional units are only for the convenience of mutual distinction and do not limit the protection scope of the present invention.
[0141] Figure 4 It is a schematic structural diagram of an electronic device provided by an embodiment of the present invention. Figure 4 A block diagram of an exemplary electronic device 4 suitable for implementing the embodiments of the present invention is shown. Figure 4 The shown electronic device 4 is only an example and should not bring any limitation to the functions and usage scopes of the embodiments of the present invention.
[0142] Such as Figure 4As shown, the electronic device 4 is presented in the form of a general-purpose computing electronic device. The components of the electronic device 4 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that connects different system components (including the system memory 28 and the processing unit 16).
[0143] The bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of the various bus structures. By way of example, these architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
[0144] The electronic device 4 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the electronic device 4, including volatile and non-volatile media, removable and non-removable media.
[0145] The system memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory 32. The electronic device 4 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, a storage system 34 can be used for reading and writing on non-removable, non-volatile magnetic media ( Figure 4 not shown, commonly referred to as a "hard disk drive"). Although Figure 4 not shown in the figure, a disk drive for reading and writing on a removable non-volatile disk (such as a "floppy disk") and an optical disk drive for reading and writing on a removable non-volatile optical disk (such as a CD-ROM, DVD-ROM, or other optical media) can be provided. In these cases, each drive can be connected to the bus 18 through one or more data media interfaces. The system memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the embodiments of the present invention.
[0146] A program / utility 40 having a set (at least one) of program modules 42 can be stored, for example, in the system memory 28. Such program modules 42 include, but are not limited to, an operating system, one or more application programs, other program modules, and program data. Each or some combination of these examples may include the implementation of a network environment. The program modules 42 generally perform the functions and / or methods in the embodiments described in the present invention.
[0147] The electronic device 4 can also communicate with one or more external devices 14 (such as a keyboard, a pointing device, a display 24, etc.), and can also communicate with one or more devices that enable a user to interact with the electronic device 4, and / or communicate with any device that enables the electronic device 4 to communicate with one or more other computing devices (such as a network card, a modem, etc.). Such communication can be carried out through the input / output (I / O) interface 22. Moreover, the electronic device 4 can also communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through the network adapter 20. As Figure 4 shown, the network adapter 20 communicates with other modules of the electronic device 4 through the bus 18. It should be understood that although Figure 4 not shown in the figure, other hardware and / or software modules can be used in combination with the electronic device 4, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.
[0148] The processing unit 16 executes various functional applications and page displays by running programs stored in the system memory 28. For example, it implements the logistics business operation execution method provided by the embodiments of the present invention. The method includes:
[0149] Obtaining the business operations of the target user through the logistics front-end;
[0150] Determining the actual configuration information of the business operation from the business operation configuration information database according to the business operation, the user identifier of the target user, and the current business scenario. The actual configuration information includes verification configuration information and operation configuration information;
[0151] Invoking a verification function from a preset function library according to the verification configuration information, and using the verification function to verify the business operation to obtain the verification result of the business operation;
[0152] In the case where the verification result is passed, invoking an operation function from the preset function library according to the operation configuration information, and using the operation function to respond to the business operation to obtain the execution result of the business operation;
[0153] Feeding back the execution result to the logistics front-end.
[0154] Of course, those skilled in the art can understand that the processor can also implement the technical solutions of the logistics business operation execution method provided by any embodiment of the present invention.
[0155] An embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored. When the program is executed by a processor, it implements, for example, the logistics business operation execution method provided by the embodiment of the present invention. The method includes:
[0156] Obtaining a business operation of a target user through a logistics front end;
[0157] Determining actual configuration information of the business operation from a business operation configuration information database according to the business operation, the user identifier of the target user, and the current business scenario. The actual configuration information includes verification configuration information and operation configuration information;
[0158] Invoking a verification function from a preset function library according to the verification configuration information, and using the verification function to verify the business operation to obtain a verification result of the business operation;
[0159] When the verification result is passed, invoking an operation function from the preset function library according to the operation configuration information, and using the operation function to respond to the business operation to obtain an execution result of the business operation;
[0160] Feeding back the execution result to the logistics front end.
[0161] The computer storage medium of the embodiment of the present invention may adopt any combination of one or more computer-readable media. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium may be, for example, but not limited to: an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples (a non-exhaustive list) of the computer-readable storage medium include: an electrical connection having one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, the computer-readable storage medium may be any tangible medium that contains or stores a program, and the program may be used by or in combination with an instruction execution system, apparatus, or device.
[0162] A computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, carrying computer-readable program code. Such a propagated data signal may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device.
[0163] The program code contained on a computer-readable medium can be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0164] The computer program code for performing the operations of the present invention can be written in one or more programming languages or combinations thereof. The programming languages include object-oriented programming languages such as Java, Smalltalk, C++, and also include conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, executed as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0165] Those of ordinary skill in the art should understand that the various modules or steps of the present invention described above can be implemented using a general-purpose computing device. They can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Optionally, they can be implemented using program code executable by a computer device, so that they can be stored in a storage device and executed by the computing device, or they can be separately fabricated into individual integrated circuit modules, or multiple modules or steps among them can be fabricated into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.
[0166] In addition, the acquisition, storage, use, processing, etc. of data in the technical solution of the present invention all comply with the relevant provisions of national laws and regulations.
[0167] Note that the above is only a preferred embodiment of the present invention and the technical principles applied. Those skilled in the art will understand that the present invention is not limited to the specific embodiments here, and various obvious changes, re-adjustments, and substitutions can be made by those skilled in the art without departing from the protection scope of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments only. Without departing from the concept of the present invention, more other equivalent embodiments can be included, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. A method for executing logistics business operations, characterized in that, Including: Obtaining the business operations of the target user through the logistics front end; Determining the actual configuration information of the business operation from the business operation configuration information database according to the business operation, the user identifier of the target user, and the current business scenario, where the actual configuration information includes verification configuration information and operation configuration information; Invoking a verification function from a preset function library according to the verification configuration information, and using the verification function to verify the business operation to obtain the verification result of the business operation; When the verification result is passed, invoking an operation function from the preset function library according to the operation configuration information, and using the operation function to respond to the business operation to obtain the execution result of the business operation; Feeding back the execution result to the logistics front end.
2. The logistics business operation execution method according to claim 1, wherein The verification function includes Structured Query Language. Using the verification function to verify the business operation to obtain the verification result of the business operation includes: Determining a query database according to the business operation; Using the Structured Query Language to query in the query database to obtain a query result; Determining the verification result of the business operation according to the matching situation between the query result and the data to be verified of the business operation.
3. The logistics business operation execution method according to claim 1, characterized in that, The verification function includes a verification expression. Using the verification function to verify the business operation to obtain the verification result of the business operation includes: Calculating the verification expression using the data to be verified of the business operation to obtain the calculation result of the verification expression; Obtaining the verification result of the business operation according to the calculation result of the verification expression.
4. The logistics business operation execution method according to claim 1, characterized in that There are at least two operation functions, and the operation configuration information includes the execution sequence relationship between at least two operation functions. Invoking an operation function from the preset function library according to the operation configuration information, and using the operation function to respond to the business operation to obtain the execution result of the business operation includes: Invoking the respective operation functions from the preset function library according to the execution sequence relationship between the respective operation functions to obtain the execution results of the respective operation functions; Obtaining the execution result of the business operation according to the execution results of the respective operation functions.
5. The logistics business operation execution method according to claim 1, characterized in that, The operation function includes a basic function function and an exclusive function function. Using the operation function to respond to the business operation to obtain the execution result of the business operation includes: Performing basic data processing on the business data of the business operation using the basic function function, and performing business logic processing on the business data of the business operation using the exclusive function function to obtain the execution result of the business operation.
6. The logistics business operation execution method according to claim 5, wherein, The basic function function includes a general object update function, a business object jump function, and a Structured Query Language update function; the exclusive function function includes a logistics order split sub-order function and an order direct scheduling function. Performing data processing on the business data of the business operation using the basic function function, and performing business processing on the business data of the business operation using the exclusive function function to obtain the execution result of the business operation includes: Update the business attributes of the business operation by using the general object update function and the business data of the business operation; Use the logistics order sub - order function to split the business data of the business operation, and obtain the intermediate business data of the business operation; Use the order direct scheduling function to generate the intermediate business data, and obtain the target business data of the business operation; Update the business attributes of the business operation by using the business object jump function and the target business data of the business operation; Use the structured query language update function to store the target business data of the business operation, and obtain the execution result of the business operation.
7. The logistics business operation execution method according to claim 1, characterized in that Before obtaining the business operation of the target user through the logistics front - end, it further includes: Obtain the configuration request of the target user, and feedback candidate business operations to the logistics front - end; Obtain the selection operation of the target user for the candidate business operations through the logistics front - end, obtain the business operation of the target user, and feedback the candidate configuration information of the business operation to the logistics front - end. The candidate configuration information includes candidate verification configuration information and candidate operation configuration information, so that the target user can modify the verification function corresponding to the candidate verification configuration information and modify the operation function corresponding to the candidate operation configuration information according to the candidate operation configuration information; Obtain the modification operations of the verification function corresponding to the candidate verification configuration information and the operation function corresponding to the candidate operation configuration information through the logistics front - end, and obtain the actual configuration information of the business operation.
8. A logistics business operation execution device, characterized in that, It includes: An acquisition module, configured to obtain the business operation of the target user through the logistics front - end; A determination module, configured to determine the actual configuration information of the business operation from the business operation configuration information database according to the business operation, the user identifier of the target user, and the current business scenario. The actual configuration information includes verification configuration information and operation configuration information; A verification module, configured to call a verification function from a preset function library according to the verification configuration information, and use the verification function to verify the business operation to obtain the verification result of the business operation; An execution module, configured to, when the verification result is passed, call an operation function from the preset function library according to the operation configuration information, and use the operation function to respond to the business operation to obtain the execution result of the business operation; A feedback module, configured to feedback the execution result to the logistics front - end.
9. An electronic device, characterized in that, The electronic device includes: At least one processor; and a memory communicatively connected to the at least one processor; Wherein, the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the logistics business operation execution method according to any one of claims 1 - 7.
10. A storage medium containing computer-executable instructions, characterized in that, The computer - executable instructions are used to execute the logistics business operation execution method according to any one of claims 1 - 7 when executed by a computer processor.