CN113657763A - Express item interception service fee determination method, device, equipment and storage medium - Google Patents
Express item interception service fee determination method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN113657763A CN113657763A CN202110949112.1A CN202110949112A CN113657763A CN 113657763 A CN113657763 A CN 113657763A CN 202110949112 A CN202110949112 A CN 202110949112A CN 113657763 A CN113657763 A CN 113657763A
- Authority
- CN
- China
- Prior art keywords
- express
- service
- interception
- preset
- fee
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0631—Resource planning, allocation, distributing or scheduling for enterprises or organisations
- G06Q10/06311—Scheduling, planning or task assignment for a person or group
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/08—Payment architectures
- G06Q20/10—Payment architectures specially adapted for electronic funds transfer [EFT] systems; specially adapted for home banking systems
- G06Q20/102—Bill distribution or payments
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0633—Lists, e.g. purchase orders, compilation or processing
- G06Q30/0635—Processing of requisition or of purchase orders
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Human Resources & Organizations (AREA)
- Engineering & Computer Science (AREA)
- Finance (AREA)
- Economics (AREA)
- Strategic Management (AREA)
- General Physics & Mathematics (AREA)
- Development Economics (AREA)
- General Business, Economics & Management (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Entrepreneurship & Innovation (AREA)
- Marketing (AREA)
- Educational Administration (AREA)
- Tourism & Hospitality (AREA)
- Quality & Reliability (AREA)
- Operations Research (AREA)
- Game Theory and Decision Science (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention relates to the technical field of logistics, and discloses a method, a device, equipment and a storage medium for determining express interception service fees, which are used for realizing settlement control operation of the express interception service fees according to service types, express interception bill numbers and preset fee deduction switches, reducing response time of express interception service fee settlement and improving cost settlement processing efficiency. The express mail interception service fee determining method comprises the following steps: acquiring an express item interception service charging request, and extracting an express item interception number and a service type from the express item interception service charging request; judging whether the express item interception service charging request meets a preset service charging condition or not according to the express item interception number and the service type; if the express item interception service charging request meets the preset service charge charging condition, normally deducting express item interception service charge corresponding to the express item interception number; and if the express item interception service charging request does not meet the preset charging condition, carrying out express item interception service charging settlement operation based on a preset fee deduction switch.
Description
Technical Field
The invention relates to the technical field of logistics, in particular to a method, a device, equipment and a storage medium for determining express item interception service fees.
Background
The express mail interception means that after a user requests to terminate express mail delivery, the user modifies a goods receiving address or returns the express mail on the original way and the like. Typically an express package that has not been signed for and has not yet been delivered. Express interception needs checking express bill numbers, user identity information and the like.
At present, the operation that express packages enter an interception program often appears in the industry, corresponding interception service fees are generated, namely, the service fees can be collected as long as an interception express bill number is recorded, but some express items do not need to be collected due to special conditions such as business requirements or external environment factors, fee deduction switches are generally set on the express items one by one, and due to huge service groups, the express item interception service fee settlement response time is long and the processing efficiency is low.
Disclosure of Invention
The invention provides a method, a device, equipment and a storage medium for determining express item interception service fees, which are used for realizing settlement control operation of the express item interception service fees according to service types, express item interception numbers and preset fee deduction switches, reducing response time for settlement of the express item interception service fees and improving the fee settlement processing efficiency.
In order to achieve the above object, a first aspect of the present invention provides a method for determining an express mail interception service fee, including: acquiring an express item interception service charging request, and extracting an express item interception number and a service type from the express item interception service charging request; judging whether the express item interception service charging request meets a preset service fee charging condition or not according to the express item interception number and the service type; if the express item interception service charging request meets a preset service charge condition, normally deducting express item interception service charge corresponding to the express item interception number; and if the express mail interception service charging request does not meet the preset charging condition, performing express mail interception service charging settlement operation based on a preset fee deduction switch.
In a possible embodiment, the obtaining an express mail interception service charging request and extracting an intercepted express bill number and a service type from the express mail interception service charging request includes: receiving an express mail interception service charging request sent by a target terminal, and performing parameter analysis on the express mail interception service charging request to obtain an analysis result; when the parameter analysis result is not a null value, performing parameter verification on the parameter analysis result to obtain a parameter verification result; and when the parameter verification result is that the verification is passed, reading the number of the intercepted express bill and the service type from the parameter analysis result according to a preset parameter name.
In a possible implementation manner, the determining whether the express interception service charging request meets a preset service charging condition according to the intercepted express ticket number and the service type includes: judging whether the service type is an account number fee deduction type or a network point fee deduction type; if the service type is an account deduction type, detecting whether the express item interception service charging request meets a preset service charging condition or not according to a preset maintenance table and a user operation account corresponding to the express item interception list number; and if the service type is a network point deduction type, detecting whether the express item interception service charging request meets a preset service charging condition or not according to a preset configuration table, a corresponding delivery network point address and a corresponding delivery network point address corresponding to the intercepted express item number.
In a feasible implementation manner, if the service type is an account deduction type, detecting whether the express interception service charging request meets a preset service charging condition according to a preset maintenance table and a user operation account corresponding to the express interception order number, includes: if the service type is an account deduction type, inquiring a preset account data table according to the intercepted express bill number to obtain a user operation account corresponding to the intercepted express bill number; judging whether the user operation account exists in a preset maintenance table or not; if the user operation account exists in a preset maintenance table, determining that the express mail interception service charging request does not meet a preset service charging condition; and if the user operation account does not exist in a preset maintenance table, determining that the express mail interception service charging request meets a preset service charging condition.
In a feasible implementation manner, if the service type is a network point fee deduction type, detecting whether the express interception service charging request meets a preset service fee charging condition according to a preset configuration table, a delivery network point address corresponding to the intercepted express bill number, and a corresponding delivery network point address, includes: if the service type is a network point fee deduction type, inquiring a preset express order data table according to the intercepted express order number to obtain a corresponding delivery network point address and a corresponding delivery network point address of the intercepted express order number; judging whether the addresses of the sending network points and the sending network points exist in a preset configuration table or not; if the address of the delivery network point and the address of the delivery network point both exist in a preset configuration table, determining that the express interception service charging request does not meet a preset service charging condition; and if the address of the delivery network point and/or the address of the delivery network point do not exist in a preset maintenance table, determining that the express interception service charging request meets a preset service charging condition.
In a possible embodiment, if the request for charging the express mail interception service does not satisfy a preset charging condition, the operation of charging and clearing the express mail interception service based on a preset fee deduction switch includes: if the express interception service charging request does not meet the preset charging condition, judging whether a preset charge deduction switch is in an on state; if the preset fee deduction switch is in an on state, the express item interception service fee corresponding to the express item interception number is cancelled; and if the preset fee deducting switch is in a closed state, normally deducting the express item interception service fee corresponding to the express item interception number.
In a possible implementation manner, after the express interception service charge settlement operation is performed based on a preset fee deduction switch if the express interception service charge request does not satisfy a preset charge condition, the method for determining the express interception service fee further includes: recording the number of the express interception bill and the express interception service cost into a service fee collection table; receiving an express interception information monitoring request sent by a target terminal, and carrying out statistical analysis on the service charge collection table according to the express interception information monitoring request to obtain statistical analysis data, wherein the statistical analysis data comprises a plurality of express interception order numbers, a plurality of express interception service charges, express interception amount and a plurality of user basic information; and packaging the statistical analysis data into an interception amount statistical report, and sending the interception amount statistical report to the target terminal, so that the target terminal displays the interception amount statistical report to a target user.
The second aspect of the present invention provides an express mail interception service fee determination device, including: the acquisition module is used for acquiring express interception service charging requests and extracting express interception order numbers and service types from the express interception service charging requests; the judging module is used for judging whether the express item interception service charging request meets a preset service charging condition or not according to the express item interception number and the service type; the fee deduction module is used for normally deducting the express mail interception service fee corresponding to the express mail interception service bill number if the express mail interception service fee requirement meets the preset service fee requirement; and the settlement control module is used for carrying out express mail interception service charge settlement operation based on a preset fee deduction switch if the express mail interception service charge request does not meet the preset charge condition.
In a possible implementation manner, the obtaining module is specifically configured to: receiving an express mail interception service charging request sent by a target terminal, and performing parameter analysis on the express mail interception service charging request to obtain an analysis result; when the parameter analysis result is not a null value, performing parameter verification on the parameter analysis result to obtain a parameter verification result; and when the parameter verification result is that the verification is passed, reading the number of the intercepted express bill and the service type from the parameter analysis result according to a preset parameter name.
In a possible implementation manner, the determining module further includes: the judging unit is used for judging whether the service type is an account number fee deduction type or a network point fee deduction type; the first detection unit is used for detecting whether the express item interception service charging request meets a preset service charging condition or not according to a preset maintenance table and a user operation account corresponding to the express item interception bill number if the service type is an account deduction type; and the second detection unit is used for detecting whether the express interception service charging request meets a preset service charging condition or not according to a preset configuration table, a delivery network point address corresponding to the intercepted express bill number and a corresponding delivery network point address if the service type is a network point charging type.
In a possible embodiment, the first detection unit is specifically configured to: if the service type is an account deduction type, inquiring a preset account data table according to the intercepted express bill number to obtain a user operation account corresponding to the intercepted express bill number; judging whether the user operation account exists in a preset maintenance table or not; if the user operation account exists in a preset maintenance table, determining that the express mail interception service charging request does not meet a preset service charging condition; and if the user operation account does not exist in a preset maintenance table, determining that the express mail interception service charging request meets a preset service charging condition.
In a possible embodiment, the second detection unit is specifically configured to: if the service type is a network point fee deduction type, inquiring a preset express order data table according to the intercepted express order number to obtain a corresponding delivery network point address and a corresponding delivery network point address of the intercepted express order number; judging whether the addresses of the sending network points and the sending network points exist in a preset configuration table or not; if the address of the delivery network point and the address of the delivery network point both exist in a preset configuration table, determining that the express interception service charging request does not meet a preset service charging condition; and if the address of the delivery network point and/or the address of the delivery network point do not exist in a preset maintenance table, determining that the express interception service charging request meets a preset service charging condition.
In a possible embodiment, the settlement control module is specifically configured to: if the express interception service charging request does not meet the preset charging condition, judging whether a preset charge deduction switch is in an on state; if the preset fee deduction switch is in an on state, the express item interception service fee corresponding to the express item interception number is cancelled; and if the preset fee deducting switch is in a closed state, normally deducting the express item interception service fee corresponding to the express item interception number.
In a possible embodiment, the device for determining the express interception service fee further includes: the recording module is used for recording the express item interception list number and the express item interception service fee into a service fee collection table; the statistical module is used for receiving an express interception information monitoring request sent by a target terminal, and statistically analyzing the service charge collection table according to the express interception information monitoring request to obtain statistical analysis data, wherein the statistical analysis data comprises a plurality of express interception order numbers, a plurality of express interception service fees, express interception amount and a plurality of user basic information; and the sending module is used for packaging the statistical analysis data into an interception amount statistical report and sending the interception amount statistical report to the target terminal so that the target terminal displays the interception amount statistical report to a target user.
A third aspect of the present invention provides an express mail interception service fee determining apparatus, including: a memory having instructions stored therein and at least one processor, the memory and the at least one processor interconnected by a line; the at least one processor calls the instruction in the memory to enable the express mail interception service fee determination device to execute the express mail interception service fee determination method.
A fourth aspect of the present invention provides a computer-readable storage medium having stored therein instructions, which, when run on a computer, cause the computer to execute the above-mentioned express mail interception service fee determination method.
According to the technical scheme provided by the invention, an express interception service charging request is obtained, and an express interception order number and a service type are extracted from the express interception service charging request; judging whether the express item interception service charging request meets a preset service fee charging condition or not according to the express item interception number and the service type; if the express item interception service charging request meets a preset service charge condition, normally deducting express item interception service charge corresponding to the express item interception number; and if the express mail interception service charging request does not meet the preset charging condition, performing express mail interception service charging settlement operation based on a preset fee deduction switch. In the embodiment of the invention, the express item interception service charging request meeting the service charge collecting condition is determined according to the service type and the intercepted express item number, and the express item interception service charge corresponding to the intercepted express item number is normally deducted, or the express item interception service charging request not meeting the service charge collecting condition is subjected to the preset deduction switch, so that the settlement control operation of the express item interception service charge is realized, the express item interception service charge settlement response time is reduced, and the charge settlement processing efficiency is improved.
Drawings
Fig. 1 is a schematic diagram of an embodiment of a method for determining an express mail interception service fee according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of another embodiment of a method for determining an express mail interception service fee according to an embodiment of the present invention;
fig. 3 is a schematic diagram of an embodiment of an express mail interception service fee determination device in the embodiment of the invention;
fig. 4 is a schematic diagram of another embodiment of an express mail interception service fee determination device in the embodiment of the invention;
fig. 5 is a schematic diagram of an embodiment of an express mail interception service fee determination device in an embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a method, a device, equipment and a storage medium for determining express item interception service fees, which are used for realizing settlement control operation of the express item interception service fees according to service types, express item interception numbers and preset fee deduction switches, reducing response time for settlement of the express item interception service fees and improving the fee settlement processing efficiency.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," or "having," and any variations thereof, are intended to cover non-exclusive inclusions, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
For convenience of understanding, a specific flow of the embodiment of the present invention is described below, and referring to fig. 1, an embodiment of a method for determining an express mail interception service fee according to the embodiment of the present invention includes:
101. and acquiring an express item interception service charging request, and extracting an express item interception number and a service type from the express item interception service charging request.
Specifically, the server receives an express mail interception service charging request sent by a target terminal, and performs uniform resource locator decoding processing on the express mail interception service charging request to obtain a decoded express mail interception service charging request; and the server performs parameter analysis and parameter verification on the decoded express interception service charging request to obtain an intercepted express bill number and a service type. The service type is used for indicating the type of deduction of the intercepted part by an account number of an operator and the type of deduction of the intercepted part from the delivery network point to the delivery network point.
It is to be understood that the execution subject of the present invention may be an express mail interception service fee determination device, and may also be a terminal or a server, which is not limited herein. The embodiment of the present invention is described by taking a server as an execution subject.
102. And judging whether the express item interception service charging request meets a preset service charging condition or not according to the express item interception number and the service type.
Specifically, the server acquires a preset maintenance table or a preset configuration table according to the service type, wherein the preset maintenance table is used for indicating the account information of the intercepted express ticket number, and the preset configuration table is used for indicating the delivery network point and the delivery network point, and one of the delivery network point and the delivery network point is selected for detecting the service type. Further, when the service type is an account deduction type, the server determines whether account information (i.e., a user operation account) entered by an operator for intercepting the express mail order is in the maintenance table, if the account information entered by the operator for intercepting the express mail order is in the maintenance table, the server determines that the express mail interception service charging request does not meet a preset service charge charging condition, and the server executes step 104; if the account information of the intercepted express mail single number entered by the operator is not in the maintenance table, the server determines that the express mail intercepted service charging request meets the preset service charging condition, and the server executes step 103. Or when the service type is the network node fee deduction type, the server judges whether the distribution network node and the dispatch network node of the interception order number are both in the configuration table, if the distribution network node and the dispatch network node corresponding to the interception order number are both in the configuration table, the server determines that the express mail interception service charging request does not meet the preset service fee charging condition, and the server executes the step 104; if the delivery network point and/or the delivery network point corresponding to the interception order number are not in the configuration table, the server determines that the express interception service charging request meets the preset service charging condition, and the server executes step 103. That is, when the distribution network point and the dispatch network point are in the same city or province, the server cancels the express item interception service fee, otherwise, the server normally collects the express item interception fee.
103. And if the express item interception service charging request meets the preset service charging condition, normally deducting express item interception service cost corresponding to the intercepted express item number.
Specifically, if the express item interception service charging request meets a preset service charge charging condition, the server calls a preset express item interception service charge generation interface based on the intercepted express item number to obtain the express item interception service charge; the method comprises the steps that a server obtains a user account corresponding to an express item number, requests for deducting express item interception service cost from the user account, and obtains deduction results, wherein the deduction results comprise deduction success and deduction failure, when balance of the user account is insufficient, the server generates deduction failure prompt information and pushes the deduction failure information to a target user.
Further, after the server deletes any one user operation account in the preset maintenance table, if the charge deduction switch corresponding to the user operation account is invalid, the server normally charges the intercepted express single number subsequently input by the user operation account; and after the server deletes any one piece of the distribution network point or the delivery network point in the preset configuration table, the corresponding fee deduction switch of the distribution network point or the delivery network point is invalid, and the server normally charges the intercepted express order number from the distribution network point to the delivery network point.
104. And if the express item interception service charging request does not meet the preset charging condition, carrying out express item interception service charging settlement operation based on a preset fee deduction switch.
Specifically, if the express interception service charging request does not meet the preset charging condition, the server judges whether a preset charge deduction switch is in a preset state, and the preset state is an open state or a closed state; optionally, if the preset deduction switch is in a closed state, the express item interception service cost corresponding to the express item interception order number is normally deducted, wherein the preset deduction switch can be set by a preset management system to take effect in real time, and when the preset deduction switch is closed, the account operates the recorded intercepted express item number to normally collect the service cost, or the intercepted express item number from the delivery network point to the delivery network point normally collects the service cost; if the preset fee deduction switch is in an opening state, the server cancels fee deduction for the intercepted express mail order number of the fee deduction switch, namely, the service fee is not charged for the intercepted express mail order number recorded by account operation, or the service fee is not charged for the intercepted order number from the distribution network point to the distribution network point.
Furthermore, if the preset charge-deducting switch is in an open state, normally deducting express item interception service cost corresponding to the intercepted express item number, wherein the preset charge-deducting switch can be set by a preset management system to take effect in real time, and when the preset charge-deducting switch is opened, the account number operates and records the intercepted express item number to normally collect the service cost or the intercepted express item number from the delivery network point to the delivery network point normally collects the service cost; if the preset deduction switch is in a closed state, the server cancels deduction for the intercepted express mail order number of the deduction switch, namely, the service fee is not charged for the intercepted express mail order number recorded by account operation, or the service fee is not charged for the intercepted order number from the distribution network point to the delivery network point. Wherein the open state and the closed state are indicative of a set of opposing switch configurations.
In the embodiment of the invention, the express item interception service charging request meeting the service charge charging condition is determined according to the service type and the intercepted express item number, the express item interception service charge corresponding to the intercepted express item number is normally deducted, or the express item interception service charging request not meeting the service charge charging condition is subjected to the preset deduction switch, so that the settlement control operation of the express item interception service charge is realized, the express item interception service charge settlement response time is reduced, and the charge settlement processing efficiency is improved.
Referring to fig. 2, another embodiment of the method for determining an express mail interception service fee according to the embodiment of the present invention includes:
201. and acquiring an express item interception service charging request, and extracting an express item interception number and a service type from the express item interception service charging request.
That is, the express mail interception service charging request may have a one-to-one correspondence relationship with the intercepted express bill number, or may have a one-to-many correspondence relationship, that is, one express mail interception service charging request is used for batch processing of the intercepted express bill number, and the intercepted express bill number has a one-to-one correspondence relationship with the service type.
In this embodiment, a server receives an express mail interception service charging request sent by a target terminal, and performs parameter analysis on the express mail interception service charging request to obtain an analysis result, where the analysis result includes a plurality of preset parameters; when the parameter analysis result is not a null value, the server performs parameter verification on the parameter analysis result to obtain a parameter verification result, and further verifies each preset parameter name, parameter type and parameter value; and when the parameter verification result is that the verification is passed, the server reads the number of the intercepted express bill and the service type from the parameter analysis result according to the preset parameter name.
Furthermore, the server sets the express item interception service charging request as a target key, sets the intercepted express item number and the service type as target values, and stores the target key and the target values into a preset memory database.
202. And judging whether the service type is an account number fee deduction type or a network point fee deduction type.
It can be understood that the service type is used to indicate a charging type of the express mail interception service fee, for example, an account deduction type and a website deduction type, and the account deduction type and the website deduction type may be represented by numerical values or character strings, which is not limited in this time.
Optionally, the server compares whether the service type is consistent with the account deduction type through a preset data comparison function (for example, cmp); if the service type is consistent with the account deduction type, the server determines that the comparison service type is the account deduction type, and the server executes the step 203; if the service type is not consistent with the account number fee deduction type, the server compares whether the service type is consistent with the network point fee deduction type through a preset data comparison function; if the service type is consistent with the network point fee deduction type, the server determines that the comparison service type is the network point fee deduction type, and the server executes the step 204; and if the service type is not consistent with the network point fee deduction type, the server generates service type abnormal information, returns the service type abnormal information to the target terminal and records the service type abnormal information into a preset operation log.
203. And if the service type is the account deduction type, detecting whether the express item interception service charging request meets a preset service charging condition or not according to a preset maintenance table and a user operation account corresponding to the intercepted express item number.
The express waybill number intercepting method includes that a corresponding relation exists between an express waybill number intercepting method and a user operation account, and one user operation account can include at least one express waybill number intercepting method. The user operation account may be in a preset maintenance table or may not be in the preset maintenance table.
Optionally, if the service type is an account deduction type, the server queries a preset account data table according to the intercepted express bill number to obtain a user operation account corresponding to the intercepted express bill number, that is, the server sets the intercepted express bill number as a target index, and queries the preset account data table based on the target index to obtain the user operation account, where the preset account data table is a mapping data table; the server judges whether the user operation account exists in a preset maintenance table or not, further, the server inquires the preset maintenance table based on the user operation account to obtain an inquiry result, when the inquiry result is a null value, the server determines that the user operation account does not exist in the preset maintenance table, and when the inquiry result is not a null value, the server determines that the user operation account exists in the preset maintenance table; if the user operation account exists in a preset maintenance table, the server determines that the express mail interception service charging request does not meet a preset service charging condition; and if the user operation account does not exist in the preset maintenance table, the server determines that the express mail interception service charging request meets the preset service charging condition. Further, the server performs step 205.
204. And if the service type is the network point deduction type, detecting whether the express item interception service charging request meets a preset service charging condition or not according to a preset configuration table, a corresponding delivery network point address and a corresponding delivery network point address corresponding to the intercepted express item number.
The server determines that the express delivery network address and the delivery network address belong to the same city when the express delivery network address and the delivery network address both exist in a preset configuration table; and when the address of the sending network point and/or the address of the sending network point do not exist in a preset configuration table, the server determines that the address of the sending network point and the address of the sending network point belong to different cities.
Optionally, if the service type is a network point fee deduction type, the server queries a preset express order data table according to the intercepted express order number to obtain a corresponding delivery network point address and a corresponding delivery network point address of the intercepted express order number; the server judges whether the address of the sending network point and the address of the sending network point both exist in a preset configuration table; if the address of the delivery network point and the address of the delivery network point both exist in a preset configuration table, the server determines that the express interception service charging request does not meet the preset service charging condition; and if the address of the delivery network point and/or the address of the delivery network point do not exist in the preset maintenance table, the server determines that the express interception service charging request meets the preset service charging condition.
205. And if the express item interception service charging request meets the preset service charging condition, normally deducting express item interception service cost corresponding to the intercepted express item number.
The specific execution process of step 205 is similar to the specific execution process of step 103, and detailed description thereof is omitted here.
206. And if the express item interception service charging request does not meet the preset charging condition, carrying out express item interception service charging settlement operation based on a preset fee deduction switch.
The preset deduction switch includes an open state and a close state, the open state may be 1 or on, and the close state may be 0 or off, which is not limited herein.
In this embodiment, if the express interception service charging request does not satisfy the preset charging condition, the server determines whether the preset deduction switch is in an on state, for example, the server determines whether the preset deduction switch is 1 or on; if the preset charge-deducting switch is in an on state, the server cancels the express item interception service cost corresponding to the intercepted express item number, namely, the server sets and records that the express item interception service cost corresponding to the intercepted express item number is 0; and if the preset charge deducting switch is in a closed state, normally deducting express item interception service cost corresponding to the express item interception order number by the server, wherein the express item interception service cost is a positive number, and extracting and paying the express item interception service cost from the user operation account by the server.
207. And recording the intercepted express bill number and the express item interception service cost into a service fee collection table.
Specifically, the server acquires user basic information from a preset account data table according to a user operation account; the server converts the basic information of the user, the number of the express interception order and the express interception service cost into a data insertion statement according to a preset structural query language grammar rule; the server executes the data insert statement, and writes the number of the intercepted express bill and the express interception service fee into the service fee collection table. The service fee charging table is used for indicating the mapping relation between the number of the express item interception service and the express item interception service fee, and when the express item interception service fee is 0, the server determines that the express item interception service fee is not charged.
208. Receiving an express item interception information monitoring request sent by a target terminal, and counting and analyzing a service fee charging table according to the express item interception information monitoring request to obtain statistical analysis data, wherein the statistical analysis data comprises a plurality of express item interception numbers, a plurality of express item interception service fees, express item interception amount and a plurality of user basic information.
Specifically, the server receives an express interception information monitoring request sent by a target terminal, and performs data analysis on the express interception information monitoring request to obtain a report type, a monitoring starting time and a monitoring ending time; the server obtains statistical analysis data based on the statistical analysis service fee collection table at the monitoring starting time and the monitoring ending time, wherein the statistical analysis data comprises a plurality of express interception order numbers, a plurality of express interception service fees, express interception amount and a plurality of user basic information.
209. And packaging the statistical analysis data into an interception amount statistical report, and sending the interception amount statistical report to the target terminal so that the target terminal displays the interception amount statistical report to the target user.
Specifically, the server extracts a report template file from a preset template file library according to the report type; and the server performs data format definition and data encapsulation on the statistical analysis data according to the report template file to obtain an interception amount statistical report, and sends the interception amount statistical report to the target terminal, so that the target terminal draws and displays the interception amount statistical report to a target user. The server saves the time and cost for business personnel to inquire and operate express mail interception service fees through the service fee collection table, and improves the service processing efficiency.
In the embodiment of the invention, the express item interception service charging request meeting the service charge charging condition is determined according to the service type and the intercepted express item number, the express item interception service charge corresponding to the intercepted express item number is normally deducted, or the express item interception service charging request not meeting the service charge charging condition is subjected to the preset deduction switch, so that the settlement control operation of the express item interception service charge is realized, the express item interception service charge settlement response time is reduced, and the charge settlement processing efficiency is improved.
The above description of the method for determining the express mail interception service fee in the embodiment of the present invention, and the following description of the apparatus for determining the express mail interception service fee in the embodiment of the present invention refer to fig. 3, where an embodiment of the apparatus for determining the express mail interception service fee in the embodiment of the present invention includes:
the acquisition module 301 is configured to acquire an express interception service charging request and extract an express interception order number and a service type from the express interception service charging request;
the judging module 302 is used for judging whether the express item interception service charging request meets the preset service charging condition or not according to the express item interception number and the service type;
the fee deduction module 303 is used for normally deducting the express mail interception service fee corresponding to the express mail interception service order number if the express mail interception service fee charging request meets a preset service fee charging condition;
and the settlement control module 304 is configured to perform express mail interception service charge settlement operation based on a preset deduction switch if the express mail interception service charge request does not meet a preset charge condition.
In the embodiment of the invention, the express item interception service charging request meeting the service charge charging condition is determined according to the service type and the intercepted express item number, the express item interception service charge corresponding to the intercepted express item number is normally deducted, or the express item interception service charging request not meeting the service charge charging condition is subjected to the preset deduction switch, so that the settlement control operation of the express item interception service charge is realized, the express item interception service charge settlement response time is reduced, and the charge settlement processing efficiency is improved.
Referring to fig. 4, another embodiment of the device for determining the express mail interception service fee according to the embodiment of the present invention includes:
the acquisition module 301 is configured to acquire an express interception service charging request and extract an express interception order number and a service type from the express interception service charging request;
the judging module 302 is used for judging whether the express item interception service charging request meets the preset service charging condition or not according to the express item interception number and the service type;
the fee deduction module 303 is used for normally deducting the express mail interception service fee corresponding to the express mail interception service order number if the express mail interception service fee charging request meets a preset service fee charging condition;
and the settlement control module 304 is configured to perform express mail interception service charge settlement operation based on a preset deduction switch if the express mail interception service charge request does not meet a preset charge condition.
Optionally, the obtaining module 301 may be further specifically configured to:
receiving an express mail interception service charging request sent by a target terminal, and performing parameter analysis on the express mail interception service charging request to obtain an analysis result;
when the parameter analysis result is not a null value, performing parameter verification on the parameter analysis result to obtain a parameter verification result;
and when the parameter verification result is that the verification is passed, reading the number of the intercepted express bill and the service type from the parameter analysis result according to the preset parameter name.
Optionally, the determining module 302 may further include:
a judging unit 3021, configured to judge whether the service type is an account fee deduction type or a network node fee deduction type;
a first detecting unit 3022, configured to detect whether the express interception service charging request meets a preset service charging condition according to a preset maintenance table and a user operation account corresponding to an intercepted express bill number if the service type is an account deduction type;
the second detecting unit 3023 is configured to detect whether the express interception service charging request meets a preset service charging condition according to a preset configuration table, a delivery network address corresponding to the intercepted express order number, and a corresponding delivery network address if the service type is a network fee deduction type.
Optionally, the first detecting unit 3022 may be further specifically configured to:
if the service type is an account deduction type, inquiring a preset account data table according to the intercepted express bill number to obtain a user operation account corresponding to the intercepted express bill number;
judging whether the user operation account exists in a preset maintenance table or not;
if the user operation account exists in a preset maintenance table, determining that the express interception service charging request does not meet a preset service charging condition;
and if the user operation account does not exist in the preset maintenance table, determining that the express mail interception service charging request meets the preset service charging condition.
Optionally, the second detecting unit 3023 may be further specifically configured to:
if the service type is a network point fee deduction type, inquiring a preset express order data table according to the intercepted express order number to obtain a corresponding delivery network point address and a corresponding delivery network point address of the intercepted express order number;
judging whether the addresses of the sending network points and the sending network points exist in a preset configuration table or not;
if the address of the delivery network point and the address of the delivery network point both exist in a preset configuration table, determining that the express interception service charging request does not meet a preset service charging condition;
and if the address of the delivery network point and/or the address of the delivery network point do not exist in the preset maintenance table, determining that the express interception service charging request meets the preset service charging condition.
Optionally, the settlement control module 304 may be further specifically configured to:
if the express interception service charging request does not meet the preset charging condition, judging whether a preset charge deduction switch is in an on state or not;
if the preset fee deduction switch is in an on state, the express item interception service fee corresponding to the express item number is cancelled;
and if the preset fee deducting switch is in a closed state, normally deducting the express item interception service fee corresponding to the express item interception order number.
Optionally, the device for determining the express interception service fee further includes:
the recording module 305 is used for recording the number of the intercepted express bill and the express item interception service cost into a service cost charging table;
the statistical module 306 is configured to receive an express interception information monitoring request sent by a target terminal, and perform statistical analysis on a service fee charging table according to the express interception information monitoring request to obtain statistical analysis data, where the statistical analysis data includes a plurality of express interception order numbers, a plurality of express interception service fees, an express interception amount, and a plurality of user basic information;
the sending module 307 is configured to package the statistical analysis data into an interception amount statistical report, and send the interception amount statistical report to the target terminal, so that the target terminal displays the interception amount statistical report to the target user.
In the embodiment of the invention, the express item interception service charging request meeting the service charge charging condition is determined according to the service type and the intercepted express item number, the express item interception service charge corresponding to the intercepted express item number is normally deducted, or the express item interception service charging request not meeting the service charge charging condition is subjected to the preset deduction switch, so that the settlement control operation of the express item interception service charge is realized, the express item interception service charge settlement response time is reduced, and the charge settlement processing efficiency is improved.
Fig. 3 and 4 describe the express mail interception service fee determination device in the embodiment of the present invention in detail from the perspective of modularization, and the express mail interception service fee determination device in the embodiment of the present invention is described in detail from the perspective of hardware processing.
Fig. 5 is a schematic structural diagram of an express interception service fee determining apparatus according to an embodiment of the present invention, where the express interception service fee determining apparatus 500 may generate a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 510 (e.g., one or more processors) and a memory 520, and one or more storage media 530 (e.g., one or more mass storage devices) storing applications 533 or data 532. Memory 520 and storage media 530 may be, among other things, transient or persistent storage. The program stored in the storage medium 530 may include one or more modules (not shown), each of which may include a series of instructions operating on the express interception service fee determination device 500. Still further, the processor 510 may be configured to communicate with the storage medium 530 and execute a series of instruction operations in the storage medium 530 on the express interception service fee determination device 500.
The express interception service fee determination device 500 may further include one or more power supplies 540, one or more wired or wireless network interfaces 550, one or more input/output interfaces 560, and/or one or more operating systems 531, such as Windows server, Mac OS X, Unix, Linux, FreeBSD, and the like. Those skilled in the art will appreciate that the configuration of the express interception service fee determination device shown in fig. 5 does not constitute a limitation of the express interception service fee determination device, and may include more or less components than those shown, or some components in combination, or a different arrangement of components.
The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium, and which may also be a volatile computer-readable storage medium, having stored therein instructions, which, when run on a computer, cause the computer to perform the steps of the method for determining a courier interception service fee.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (10)
1. A method for determining express mail interception service charge is characterized by comprising the following steps:
acquiring an express item interception service charging request, and extracting an express item interception number and a service type from the express item interception service charging request;
judging whether the express item interception service charging request meets a preset service fee charging condition or not according to the express item interception number and the service type;
if the express item interception service charging request meets a preset service charge condition, normally deducting express item interception service charge corresponding to the express item interception number;
and if the express mail interception service charging request does not meet the preset charging condition, performing express mail interception service charging settlement operation based on a preset fee deduction switch.
2. The method for determining the express mail interception service charge according to claim 1, wherein the obtaining an express mail interception service charge request and extracting an intercepted express bill number and a service type from the express mail interception service charge request comprises:
receiving an express mail interception service charging request sent by a target terminal, and performing parameter analysis on the express mail interception service charging request to obtain an analysis result;
when the parameter analysis result is not a null value, performing parameter verification on the parameter analysis result to obtain a parameter verification result;
and when the parameter verification result is that the verification is passed, reading the number of the intercepted express bill and the service type from the parameter analysis result according to a preset parameter name.
3. The method for determining the express mail interception service fee according to claim 1, wherein the step of judging whether the express mail interception service fee charging request meets a preset service fee charging condition according to the express mail interception ticket number and the service type comprises the steps of:
judging whether the service type is an account number fee deduction type or a network point fee deduction type;
if the service type is an account deduction type, detecting whether the express item interception service charging request meets a preset service charging condition or not according to a preset maintenance table and a user operation account corresponding to the express item interception list number;
and if the service type is a network point deduction type, detecting whether the express item interception service charging request meets a preset service charging condition or not according to a preset configuration table, a corresponding delivery network point address and a corresponding delivery network point address corresponding to the intercepted express item number.
4. The method for determining the express item interception service fee according to claim 3, wherein if the service type is an account deduction type, detecting whether the express item interception service fee charging request meets a preset service fee charging condition according to a preset maintenance table and a user operation account corresponding to the express item interception service fee, includes:
if the service type is an account deduction type, inquiring a preset account data table according to the intercepted express bill number to obtain a user operation account corresponding to the intercepted express bill number;
judging whether the user operation account exists in a preset maintenance table or not;
if the user operation account exists in a preset maintenance table, determining that the express mail interception service charging request does not meet a preset service charging condition;
and if the user operation account does not exist in a preset maintenance table, determining that the express mail interception service charging request meets a preset service charging condition.
5. The method for determining the express mail interception service fee according to claim 3, wherein if the service type is a network node fee deduction type, detecting whether the express mail interception service fee charging request meets a preset service fee charging condition according to a preset configuration table, a corresponding address of a distribution network node and a corresponding address of a distribution network node, the method comprising:
if the service type is a network point fee deduction type, inquiring a preset express order data table according to the intercepted express order number to obtain a corresponding delivery network point address and a corresponding delivery network point address of the intercepted express order number;
judging whether the addresses of the sending network points and the sending network points exist in a preset configuration table or not;
if the address of the delivery network point and the address of the delivery network point both exist in a preset configuration table, determining that the express interception service charging request does not meet a preset service charging condition;
and if the address of the delivery network point and/or the address of the delivery network point do not exist in a preset maintenance table, determining that the express interception service charging request meets a preset service charging condition.
6. The method for determining the fee for the intercepted service of the express mail according to claim 1, wherein if the fee request for the intercepted service of the express mail does not satisfy a preset fee condition, the operation of settling the fee for the intercepted service of the express mail based on a preset fee deduction switch comprises the following steps:
if the express interception service charging request does not meet the preset charging condition, judging whether a preset charge deduction switch is in an on state;
if the preset fee deduction switch is in an on state, the express item interception service fee corresponding to the express item interception number is cancelled;
and if the preset fee deducting switch is in a closed state, normally deducting the express item interception service fee corresponding to the express item interception number.
7. The method for determining the fee for the intercepted service of the express mail according to any one of claims 1 to 6, wherein after the step of performing the operation of settling the fee for the intercepted service of the express mail based on a preset fee deduction switch if the request for the fee for the intercepted service of the express mail does not satisfy the preset fee charging condition, the method for determining the fee for the intercepted service of the express mail further comprises the following steps:
recording the number of the express interception bill and the express interception service cost into a service fee collection table;
receiving an express interception information monitoring request sent by a target terminal, and carrying out statistical analysis on the service charge collection table according to the express interception information monitoring request to obtain statistical analysis data, wherein the statistical analysis data comprises a plurality of express interception order numbers, a plurality of express interception service charges, express interception amount and a plurality of user basic information;
and packaging the statistical analysis data into an interception amount statistical report, and sending the interception amount statistical report to the target terminal, so that the target terminal displays the interception amount statistical report to a target user.
8. An express mail interception service fee determination device, characterized by comprising:
the acquisition module is used for acquiring express interception service charging requests and extracting express interception order numbers and service types from the express interception service charging requests;
the judging module is used for judging whether the express item interception service charging request meets a preset service charging condition or not according to the express item interception number and the service type;
the fee deduction module is used for normally deducting the express mail interception service fee corresponding to the express mail interception service bill number if the express mail interception service fee requirement meets the preset service fee requirement;
and the settlement control module is used for carrying out express mail interception service charge settlement operation based on a preset fee deduction switch if the express mail interception service charge request does not meet the preset charge condition.
9. An express mail interception service fee determination device, characterized by comprising: a memory having instructions stored therein and at least one processor, the memory and the at least one processor interconnected by a line;
the at least one processor invokes the instructions in the memory to cause the express interception service fee determination device to perform the express interception service fee determination method of any one of claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a method for express interception service fee determination according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110949112.1A CN113657763A (en) | 2021-08-18 | 2021-08-18 | Express item interception service fee determination method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110949112.1A CN113657763A (en) | 2021-08-18 | 2021-08-18 | Express item interception service fee determination method, device, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113657763A true CN113657763A (en) | 2021-11-16 |
Family
ID=78480979
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110949112.1A Pending CN113657763A (en) | 2021-08-18 | 2021-08-18 | Express item interception service fee determination method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113657763A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114723368A (en) * | 2022-04-18 | 2022-07-08 | 上海东普信息科技有限公司 | Express item interception method, device, equipment and storage medium |
-
2021
- 2021-08-18 CN CN202110949112.1A patent/CN113657763A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114723368A (en) * | 2022-04-18 | 2022-07-08 | 上海东普信息科技有限公司 | Express item interception method, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108989150B (en) | Login abnormity detection method and device | |
CN103246735A (en) | Abnormal data processing method and abnormal data processing system | |
CN112416705A (en) | Abnormal information processing method and device | |
CN107015904A (en) | The guard method of storehouse and device | |
CN113657763A (en) | Express item interception service fee determination method, device, equipment and storage medium | |
CN112433936A (en) | Test method, test device and storage medium | |
CN112184003A (en) | Bank counter workload assessment method and device, storage medium and electronic equipment | |
CN116091071A (en) | Verification method, device, equipment and storage medium for order dispensing | |
CN112488562B (en) | Service realization method and device | |
CN111274056B (en) | Self-learning method and device for fault library of intelligent electric energy meter | |
CN114595765A (en) | Data processing method and device, electronic equipment and storage medium | |
CN111429110B (en) | Store standardized auditing method, store standardized auditing device, store standardized auditing equipment and store medium | |
CN113839956A (en) | Data security evaluation method, device, equipment and storage medium | |
JP7108566B2 (en) | Digital evidence management method and digital evidence management system | |
CN116957828A (en) | Method, equipment, storage medium and device for checking account | |
CN115170073A (en) | Logistics arbitration list processing method, device, equipment and storage medium | |
CN112866142B (en) | Mobile internet real flow identification method and device | |
CN112699026A (en) | Service testing and publishing method, device, equipment and storage medium | |
CN115983636A (en) | Risk assessment method, device, equipment and storage medium | |
CN115170017A (en) | Waybill processing method and device and storage medium | |
CN111966515A (en) | Business abnormal data processing method and device, computer equipment and storage medium | |
CN115082179A (en) | Data processing method, device, equipment and storage medium | |
CN117453493B (en) | GPU computing power cluster monitoring method and system for large-scale multi-data center | |
CN113190366B (en) | External interface adaptation method, device, equipment and storage medium | |
CN110750376B (en) | Server system fault acquisition and processing method and device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |