A method, device and equipment for checking a rate calculation rule to improve checking efficiency
Patent Information
- Application Number
- CN202211454501.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-21
- Publication Date
- 2026-08-18
- Estimated Expiration
- 2042-11-21
AI Technical Summary
目前全市场公开发布的运价数量在108的级别,航班数量组合也在105的级别,所以五维形态组合与规则类别的笛卡尔积是个庞大的数字,即运价规则校验的计算量非常大,会消耗较长的时间
[0040]Based on the above technical solution, the solution provided by the embodiments of the present invention, when it is necessary to verify the target rule, firstly, obtain the target dimension on which the target rule depends, construct a Cartesian combination corresponding to the target rule based on the target dimension, and then verify the Cartesian combination. The solution does not need to construct a Cartesian combination based on all dimensions, and therefore does not need to verify the Cartesian combination constructed on all dimensions, reducing the number of verifications required and improving the verification efficiency of the freight rate combination.
Smart Images

Figure CN115760222B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of aviation technology, specifically to a method, apparatus, and equipment for verifying fare calculation rules to improve verification efficiency. Background Technology
[0002] Calculating international airfares is a core step in international airfare sales. It involves using the user's provided itinerary information (typically including departure city, destination, flight, cabin class, and travel dates), passenger identification information (including passenger type, discount codes, etc.), and sales information (sales channel, merchant identity, etc.) to calculate the final, accurate, and complete price. Ticket price information includes the base fare, as well as fuel surcharges, national taxes, and invoice taxes. The rules for using the fare include the validity period, free baggage allowance, refund and change policies, and layover time restrictions, among other things.
[0003] Fare calculation involves a vast number of fares and a complex set of rules. The International Air Transport Association (IATA) has established a business process for fare calculation, defining a five-dimensional combination of fare, flight, agent, passenger, and passenger type. Fare rules determine the suitability of this five-dimensional combination. The process of finding the lowest-priced combination that satisfies the fare rules within this five-dimensional combination is the fare calculation process.
[0004] The core of fare calculation is the verification of fare rules. The object of rule verification is a five-dimensional combination, namely, a combination of fare, flight, agent, passenger, and passenger type. Only five-dimensional combinations that successfully pass fare rule verification can be used. Typically, there are several rule categories (currently around 50). Therefore, the fare calculation for a trip is the Cartesian product of the five-dimensional combination and the rule categories, i.e.: number of fares * number of flights * number of agents * number of passengers * number of passenger types * number of rule categories. Currently, the number of publicly released fares in the entire market is around 10. 8 The level and the combination of flight numbers are also in the 10 5 The Cartesian product of the five-dimensional morphological combination and the rule category is a huge number, meaning that the calculation of freight rate rule verification is very large and will take a long time. Summary of the Invention
[0005] In view of this, embodiments of the present invention provide a method, apparatus, and device for verifying freight rate calculation rules to improve verification efficiency, thereby improving the verification efficiency of freight rate rules.
[0006] To achieve the above objectives, the embodiments of the present invention provide the following technical solutions:
[0007] A method for verifying freight calculation rules to improve verification efficiency includes:
[0008] Obtain the dimension upon which the target rule depends, and denote it as the target dimension;
[0009] Obtain the Cartesian combination of the target dimensions;
[0010] Perform rule validation on the Cartesian combinations and generate validation results.
[0011] Optionally, in the above-mentioned method for improving the efficiency of freight calculation rule verification, the dimensions on which the target rule depends include:
[0012] Determine the dimension of the N-dimensional morphological combination upon which the target combination depends, where N is a positive integer not less than 1.
[0013] Optionally, in the above-mentioned method for verifying fare calculation rules to improve verification efficiency, the N-dimensional form combination is specifically a five-dimensional form combination, where each dimension in the five-dimensional form group is: fare, agent, passenger, passenger category, and flight.
[0014] Optionally, the above-mentioned method for verifying freight calculation rules to improve verification efficiency also includes:
[0015] Write the verification result to the address corresponding to the combination with the Cartesian.
[0016] Optionally, in the above-mentioned method for verifying freight calculation rules to improve verification efficiency, writing the verification result into the address corresponding to the combination of the Cartesian words includes:
[0017] Obtain the values of each objective dimension in the verified Cartesian combination;
[0018] The verification result address corresponding to the combination with the Cartesian is determined based on the values of each of the aforementioned target dimensions;
[0019] Write the verification result to the verification result address.
[0020] Optionally, the above-mentioned method for improving the efficiency of freight calculation rules includes, before obtaining the dimensions on which the target rule depends, the following:
[0021] Select a rule category from the rule category library to be verified as the target rule;
[0022] After generating the verification results, the following is also included:
[0023] Remove the target rule from the rule category library to be verified;
[0024] Select a rule category from the rule category library to be verified as the target rule, and obtain the dimensions that the target rule depends on.
[0025] A freight rate calculation rule verification device for improving verification efficiency includes:
[0026] The rule category dependency retrieval unit is used to retrieve the dimension on which the target rule depends, denoted as the target dimension;
[0027] A combination generation unit is used to obtain a Cartesian combination of the target dimensions;
[0028] The rule category verification unit is used to perform rule verification on the combination of the Cartesians and generate verification results.
[0029] Optionally, the freight calculation rule verification device for improving verification efficiency also includes:
[0030] The verification result filling unit is used to write the verification result into the verification result address corresponding to the combination with the Cartesian.
[0031] Optionally, a freight rate calculation rule verification device to improve verification efficiency, wherein the verification result filling unit is specifically used for:
[0032] Obtain the values of each objective dimension in the verified Cartesian combination;
[0033] The verification result address corresponding to the combination with the Cartesian is determined based on the values of each of the aforementioned target dimensions;
[0034] Write the verification result to the verification result address.
[0035] A freight rate calculation rule verification device to improve verification efficiency includes:
[0036] A memory and a processor; the memory stores a program suitable for execution by the processor, the program being used for:
[0037] Obtain the dimension upon which the target rule depends, and denote it as the target dimension;
[0038] Obtain the Cartesian combination of the target dimensions;
[0039] Perform rule validation on the Cartesian combinations and generate validation results.
[0040] Based on the above technical solution, the solution provided by the embodiments of the present invention, when it is necessary to verify the target rule, firstly, obtain the target dimension on which the target rule depends, construct a Cartesian combination corresponding to the target rule based on the target dimension, and then verify the Cartesian combination. The solution does not need to construct a Cartesian combination based on all dimensions, and therefore does not need to verify the Cartesian combination constructed on all dimensions, reducing the number of verifications required and improving the verification efficiency of the freight rate combination. Attached Figure Description
[0041] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.
[0042] Figure 1 This is a flowchart illustrating the freight calculation rule verification method disclosed in an embodiment of this application;
[0043] Figure 2 This is a flowchart illustrating a freight rate calculation rule verification method disclosed in another embodiment of this application;
[0044] Figure 3 This is a schematic diagram of the fare calculation rule verification device disclosed in the embodiments of this application;
[0045] Figure 4 This is a schematic diagram of the structure of the freight calculation rule verification device disclosed in the embodiments of this application. Detailed Implementation
[0046] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0047] First, the technical terms used in this plan will be explained:
[0048] Pricing is the process of calculating the applicable price for a user's trip based on the user's itinerary, user identity, and seller information, while referring to the obtained fare and fare rules data.
[0049] Fare, in this context, refers to the data specified and published by airlines to indicate the cost between a fixed origin and destination. Fare rates typically need to be matched with applicable rules.
[0050] Flights refer to the entire journey from the origin to the destination indicated on a passenger's ticket.
[0051] An agent is a legal entity that engages in the sales and agency business of air passenger transportation. When authorized, it has the right to access computer reservation systems or carrier service systems.
[0052] Passenger: A person who travels by air or plane.
[0053] Passenger type refers to the type of passenger traveling by air. Common types include adults, infants, children, military personnel, etc.
[0054] A freight rate rule is a set of restrictions applied to freight rate calculations. These rules typically include multiple categories.
[0055] Rule categories are used to categorize fare rules for ease of management, based on the specific type of restriction imposed. For example, Category01 restricts passenger identity, while Category02 restricts date and time. Each rule category requires several dimensions of the five-dimensional data (fare, flight, agent, passenger, and passenger type). Refer to the ATPCO Data Application document for specific category definitions.
[0056] To improve the efficiency of fare rule verification, this invention provides a method, apparatus, and device for verifying fare calculation rules. By identifying the target dimensions that each rule category depends on, and performing Cartesian product combinations only on the target dimensions that the rule category depends on, the number of combinations required for verification is reduced, thereby reducing the computational workload of rule verification. For example, the verification of rule category Category01 does not depend on flights. When verifying Category01, the verification only depends on four dimensions: fare, agent, passenger, and passenger type. Regardless of changes in flight data, the verification result remains the same. Therefore, the computational workload of rule category Category001 is: fare quantity * agent quantity * passenger quantity * passenger type quantity. It is evident that the computational workload of Category01 verification is a Cartesian product of four dimensions. Removing the flight dimension significantly reduces the number of verifications and greatly improves the efficiency of fare rule verification.
[0057] For details, see Figure 1 The present application discloses a method for verifying freight calculation rules to improve verification efficiency, which may include steps S101-S103.
[0058] Step S101: Obtain the dimension on which the target rule depends, denoted as the target dimension.
[0059] In this step, the target rule is the fare rule. When validating the fare rule, the validation object is usually validated. The validation object of the fare rule is usually the fare, flight, agent, passenger, and passenger type. Different validation rules usually have different validation objects. For example, the validation object of one fare rule can be the fare, flight, agent, passenger, and passenger type. In this case, the dimensions that the fare rule depends on are the fare, flight, agent, passenger, and passenger type, and these are used as the target dimensions of the fare rule. On the other hand, the validation object of another fare rule can be the flight, agent, passenger, and passenger type. The dimensions that the fare rule depends on are the flight, agent, passenger, and passenger type, and these are used as the target dimensions of the fare rule.
[0060] The object of the above-mentioned fare rules is called the dimension on which the fare rules depend. In this scheme, the dimension corresponding to each fare rule is called the target dimension.
[0061] Step S102: Obtain the Cartesian combination of the target dimensions.
[0062] In this step, after obtaining the target dimension corresponding to the target rule, a Cartesian combination of the target dimension is constructed. For example, in this scheme, if the target dimension corresponding to the target rule Category01 is four dimensions: fare, agent, passenger, and passenger type, then a Cartesian combination corresponding to the four dimensions is generated: fare quantity * agent quantity * passenger quantity * passenger type quantity.
[0063] In this scheme, when constructing the Cartesian combination, only the target dimension that each target rule depends on needs to be considered, without having to construct the Cartesian combination based on all dimensions, thus reducing the number of Cartesian combinations.
[0064] Step S103: Perform rule verification on the Cartesian combination and generate verification results.
[0065] After obtaining the Cartesian combinations of the target dimension, rule validation is performed on these Cartesian combinations to obtain the validation result for each Cartesian combination.
[0066] In the technical solution disclosed in the above embodiments of this application, when it is necessary to verify the target rule, firstly, the target dimension on which the target rule depends is obtained, and a Cartesian combination corresponding to the target rule is constructed based on the target dimension. Then, the Cartesian combination is verified. The solution does not need to construct a Cartesian combination based on all dimensions, and therefore does not need to verify the Cartesian combination constructed on all dimensions, which reduces the number of verifications required and improves the verification efficiency of the freight rate combination.
[0067] In the technical solutions disclosed in the above embodiments of this application, the dimensions upon which the target rule depends are some preset dimensions. In this solution, the set of these preset dimensions is denoted as an N-dimensional form combination, where N represents the number of dimensions in the N-dimensional form combination, which is a positive integer not less than 1. That is, obtaining the dimensions upon which the target rule depends specifically involves determining the dimensions in the N-dimensional form combination upon which the target combination depends. The value of N can be adjusted according to user needs; that is, the user can configure the type and number of dimensions in the N-dimensional form combination according to actual needs. For example, in the technical solutions disclosed in the embodiments of this application, the N-dimensional form combination is specifically a five-dimensional form combination, where each dimension in the five-dimensional form group is: fare, agent, passenger, passenger category, and flight.
[0068] Assuming the five dimensions of the morphological combination are fare (number L), flight (number M), agent (number N), passenger (number I), and passenger type (number J), then the number of Cartesian combinations is the Cartesian product of fare * flight * agent * passenger * passenger type, totaling L * M * N * I * J combinations. In the prior art, when verifying the target rule, a total of L * M * N * I * J verifications are required. However, if the target dimension that the identified target rule depends on in this solution is fare, agent, passenger, and passenger type, then the number of Cartesian combinations constructed based on this target dimension is fare quantity * agent quantity * passenger quantity * passenger type quantity, i.e., a total of L * N * I * J combinations. Therefore, when verifying the target rule, a total of L * N * I * J verifications are required. A comparison clearly shows that the number of verifications required in this solution is significantly lower.
[0069] In the technical solution disclosed in this application, after verification is completed, a corresponding verification result is generated for each Cartesian combination. In this solution, these results can be directly output, or they can be compressed and filled into a preset verification result address. To facilitate data processing, in this solution, after the verification of the Cartesian combination is completed, the verification result can also be written into the verification result address corresponding to the Cartesian combination. See also Figure 2When writing the verification result into the address corresponding to the combination of the Cartesians, the method specifically includes:
[0070] Step S201: Obtain the values of each objective dimension in the verified Cartesian combination.
[0071] The value of the target dimension refers to the specific value of each dimension, such as the values of L, M, N, I, and J mentioned above.
[0072] Step S202: Determine the verification result address corresponding to the combination with the Cartesian based on the values of each objective dimension.
[0073] In this scheme, a mapping relationship between the values of each target dimension and the verification result address can be established in advance. By searching the mapping relationship, the verification result address that matches the value of each target dimension can be quickly determined.
[0074] Step S203: Write the verification result to the verification result address.
[0075] The verification result address is used to store the verification result corresponding to the combination of the Cartesians. After the verification result of the combination of the Cartesians is obtained, the verification result is written to the verification result address.
[0076] For example, in this solution, the fare rule is a Category. The verification result of each Category needs to be written into the Status (verification rule address) corresponding to the five-dimensional form combination. Taking the target rule Category01 as an example, Category01 depends on fare, agent, passenger, and passenger type. When verifying Category01, the system only verifies the Cartesian combinations of the four dimensions: fare, agent, passenger, and passenger type. Because Category01 does not depend on flight data, the verification result of the above four-dimensional combination and any flight combination resulting in a five-dimensional form combination is the same. Therefore, the verification results of each four-dimensional combination of Category01 can be written into the combination of flight and four-dimensional combination. That is, for Category01, after performing verifications of fare quantity * agent quantity * passenger quantity * passenger type quantity, the result is obtained as fare quantity * flight quantity * agent quantity * passenger quantity * passenger type quantity. These verification results are written into the address corresponding to the value of each target dimension. The address corresponding to the value of each target dimension refers to the address containing the value of each target dimension. In addition to the target dimension values, the address can also contain non-target dimension values. For example, in the example above, the address can also include the flight value. Thus, according to the dependency of each rule category, following the above steps, the verification results are written into the corresponding N-dimensional morphological combination verification result Status.
[0077] For example, taking the five-dimensional combination as an example, if the target rule does not depend on a certain dimension, then the value of that dimension is Null, and all the data of that dimension are obtained (assuming the number of that dimension is X), and then combined with other dimensions in turn to form X Combinations. The verification results of the Cartesian combination of the target dimension are written into the Status corresponding to these X Combinations in turn. Taking the target rule Category01 as an example, L*N*I*J Combinations (Fare, Null, Agency, Passenger, Ptc) can be obtained. The flight dimension of the Combination is Null, and all the data of the flight dimension, Flight1, Flight2, FlightM, a total of M flights, are obtained. Each flight is combined with other target dimensions in turn to obtain M Combinations (Fare, FlightN, Agency, Passenger, Ptc). The verification results of the Cartesian combination corresponding to the target rule are written into the Status corresponding to these M Combinations in turn [1], thus completing the recording of the verification results of the five-dimensional combination of the fare rule.
[0078] In this scheme, the fare data to be verified can be retrieved from the rule category library to be verified. The rule category library to be verified contains all the fare rules to be verified. Among these fare rules, the rule currently being verified becomes the target rule. Therefore, in the above scheme, before obtaining the dimensions on which the target rule depends, the following steps are also included: selecting a rule category from the rule category library to be verified as the target rule; after generating the verification result, the following steps are also included: removing the target rule from the rule category library to be verified; and selecting a rule category from the rule category library to be verified as the target rule, obtaining the dimensions on which the target rule depends, and performing subsequent actions to realize the verification of the rule.
[0079] This embodiment discloses a freight rate calculation rule verification device to improve verification efficiency. For the specific working content of each unit in the device, please refer to the above method embodiment.
[0080] The following describes the freight calculation rule verification device for improving verification efficiency provided by the embodiments of the present invention. The freight calculation rule verification device for improving verification efficiency described below and the freight calculation rule verification method for improving verification efficiency described above can be referred to in correspondence with each other.
[0081] See Figure 3 The fare calculation rule verification device for improving verification efficiency disclosed in this application embodiment may include: rule category dependency acquisition unit A, combination generation unit B, and rule category verification unit C.
[0082] Rule category dependency acquisition unit A, corresponding to the above method, is used to obtain the dimension on which the target rule depends, denoted as the target dimension;
[0083] Combination generation unit B, corresponding to the above method, is used to obtain the Cartesian combination of the target dimensions;
[0084] The rule category verification unit C, corresponding to the above method, is used to perform rule verification on the Cartesian combination and generate verification results.
[0085] Corresponding to the above method, the above apparatus also includes:
[0086] The verification result filling unit is used to write the verification result into the verification result address corresponding to the combination with the Cartesian.
[0087] Corresponding to the above method, the verification result filling unit described above is specifically used for:
[0088] Obtain the values of each objective dimension in the verified Cartesian combination;
[0089] The verification result address corresponding to the combination with the Cartesian is determined based on the values of each of the aforementioned target dimensions;
[0090] Write the verification result to the verification result address.
[0091] A freight rate calculation rule verification device for improving verification efficiency, characterized in that it comprises:
[0092] Figure 4 For a hardware structure diagram of the server provided in an embodiment of the present invention, see [link to diagram]. Figure 4 As shown, it may include: at least one processor 100, at least one communication interface 200, at least one memory 300 and at least one communication bus 400;
[0093] In this embodiment of the invention, the number of processor 100, communication interface 200, memory 300, and communication bus 400 is at least one, and the processor 100, communication interface 200, and memory 300 communicate with each other through communication bus 400; obviously, Figure 4 The communication connections shown for the processor 100, communication interface 200, memory 300, and communication bus 400 are optional.
[0094] Optionally, the communication interface 200 can be an interface of a communication module, such as the interface of a GSM module;
[0095] Processor 100 may be a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the present invention.
[0096] The memory 300 may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk storage device.
[0097] Specifically, processor 100 is used for:
[0098] Obtain the dimension upon which the target rule depends, and denote it as the target dimension;
[0099] Obtain the Cartesian combination of the target dimensions;
[0100] Perform rule validation on the Cartesian combinations and generate validation results.
[0101] For ease of description, the above system is described by dividing it into various modules based on their functions. Of course, in implementing this invention, the functions of each module can be implemented in one or more software and / or hardware components.
[0102] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, for system or system embodiments, since they are basically similar to method embodiments, the description is relatively simple, and relevant parts can be referred to the descriptions in the method embodiments. The systems and system embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without creative effort.
[0103] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.
[0104] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein can be implemented directly by hardware, a software module executed by a processor, or a combination of both. The software module can be located in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.
[0105] It should also be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0106] The above description of the disclosed embodiments enables those skilled in the art to make or use the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the invention is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for verifying freight rate calculation rules to improve verification efficiency, characterized in that, include: Obtain the dimension on which the target rule depends, denoted as the target dimension. Different target rules correspond to different target dimensions. The process of obtaining the dimension on which the target rule depends includes: determining the dimension in the N-dimensional morphological combination on which the target rule depends, where N is a positive integer not less than 1. Obtain a Cartesian combination consisting only of the target dimension; Perform rule validation on the Cartesian combinations and generate validation results; Obtain the values of each objective dimension in the verified Cartesian combination; Based on the values of each of the target dimensions, the verification result address corresponding to the combination with the Cartesian shape is determined, and the verification result address is the address corresponding to the N-dimensional morphological combination. Write the verification result to the verification result address.
2. The method for verifying freight calculation rules to improve verification efficiency according to claim 1, characterized in that, The N-dimensional form combination is specifically a five-dimensional form combination, where each dimension of the five-dimensional form group is: fare, agent, passenger, passenger category, and flight.
3. The method for verifying freight calculation rules to improve verification efficiency according to claim 1, characterized in that, Before obtaining the dimensions that the target rule depends on, the following steps are also included: Select a rule category from the rule category library to be verified as the target rule; After generating the verification results, the following is also included: Remove the target rule from the rule category library to be verified; Select a rule category from the rule category library to be verified as the target rule, and obtain the dimensions that the target rule depends on.
4. A freight rate calculation rule verification device for improving verification efficiency, characterized in that, include: The rule category dependency acquisition unit is used to acquire the dimension on which the target rule depends, denoted as the target dimension. Different target rules correspond to different target dimensions. The acquisition of the dimension on which the target rule depends includes: determining the dimension in the N-dimensional morphological combination on which the target rule depends, where N is a positive integer not less than 1. A combination generation unit is used to obtain a Cartesian combination consisting only of the target dimension; The rule category verification unit is used to perform rule verification on the combination of the Cartesians and generate verification results; The verification result filling unit is used to write the verification result into the verification result address corresponding to the combination with the Cartesian. Specifically, the verification result filling unit is used for: Obtain the values of each objective dimension in the verified Cartesian combination; Based on the values of each of the target dimensions, the verification result address corresponding to the combination with the Cartesian shape is determined, and the verification result address is the address corresponding to the N-dimensional morphological combination. Write the verification result to the verification result address.
5. A freight rate calculation rule verification device to improve verification efficiency, characterized in that, include: A memory and a processor; the memory stores a program suitable for execution by the processor, the program being used for: Obtain the dimension on which the target rule depends, denoted as the target dimension. Different target rules correspond to different target dimensions. The process of obtaining the dimension on which the target rule depends includes: determining the dimension in the N-dimensional morphological combination on which the target rule depends, where N is a positive integer not less than 1. Obtain a Cartesian combination consisting only of the target dimension; Perform rule validation on the Cartesian combinations and generate validation results; Obtain the values of each objective dimension in the verified Cartesian combination; Based on the values of each of the target dimensions, the verification result address corresponding to the combination with the Cartesian shape is determined, and the verification result address is the address corresponding to the N-dimensional morphological combination. Write the verification result to the verification result address.
Citation Information
Patent Citations
Bathing machine flight freight rate determination method and device, electronic equipment and storage medium
CN115345679A
Business rules manager
US20130332411A1