Method and device for dynamically debugging freight rate search system and electronic equipment

By adding debugging information to the request of the international freight search system, the non-stop debugging of the freight search system is achieved, and the non-stop debugging problem caused by the complexity of the configuration file is solved, ensuring the high availability and consistency of the system.

CN119759737APending Publication Date: 2025-04-04TRAVELSKY TECHNOLOGY LIMITED
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411845187.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-13
Publication Date
2025-04-04

AI Technical Summary

Technical Problem

The international freight search system faces the challenge of not being able to stop during the debugging process, especially due to the high complexity and high personalization of the configuration files, it is impossible to ensure the normal operation of the system during the debugging process.

Method used

By adding freight-related debugging information to the request, the configuration item modification takes effect in real time, and the original configuration is restored after debugging is completed, thereby realizing debugging without stopping.

Benefits of technology

It realizes debugging while ensuring the normal operation of the system, minimizes the adverse impact of system debugging on users, and ensures high availability and consistency of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119759737A_ABST
    Figure CN119759737A_ABST
Patent Text Reader

Abstract

The invention relates to a method and a device for dynamically debugging a freight rate search system. The method comprises the following steps: a request dynamic debugging information module adds dynamic debugging information to user request information; when the Shopping engine is started, the configuration file processing module reads the configuration file content from the specified configuration file; analyzing the configuration file, and processing and storing the content of the configuration file according to the configuration file rule; the dynamic debugging information processing module analyzes dynamic debugging information in the user request information; analyzing the type of the dynamic debugging information, and generating different dynamic debugging information; and the Shopping engine carries out debugging according to the dynamic debugging information generated in the last step. According to the method and the device, the configuration file information or the freight rate debugging information is used as a part of the request for dynamic debugging, so that the flexibility of the debugging information is realized, no additional influence is generated on the Shopping engine, the state of the Shopping engine before debugging can be recovered after the debugging is completed, and the consistency and high availability of the Shopping engine are ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the technical field of freight rate search, and in particular, relates to a method, device, computer-readable storage medium, and electronic device for dynamic debugging of a freight rate search system. Background Art

[0002] With the popularization of the Internet and the rapid development of digital technology, people can generate and obtain information through various channels, such as the Internet, mobile devices, etc. With the continuous growth of economic, political, tourism, and communication needs, the demand for international routes is also increasing rapidly. The international freight search system is an Internet-based intermediary between airlines and customers, providing services to airlines and customers. The increase in demand also puts higher requirements on the performance of the international freight search system.

[0003] Based on the above reality, high performance, high availability and high complexity have become rigid requirements for Shopping engines, and debugging of Shopping engines with high performance, high availability and high complexity has become another huge challenge.

[0004] The debugging of the Shopping engine has the following characteristics:

[0005] 1. The Shopping engine must be guaranteed to maintain normal service. As an international freight rate search system used by many domestic and foreign customers, the Shopping engine needs to provide query services at all times and cannot be stopped due to the need for debugging.

[0006] 2. The configuration files of the Shopping engine are complex and diverse. The customers of the Shopping engine include numerous airlines and agent customers. Each customer may have his or her own requirements for the functions of the Shopping engine, which results in the configuration files having many personalized configurations for different customers.

[0007] 3. The calculation process of the Shopping engine is complex, and due to the large amount of calculation, some freight rate calculations cannot complete the complete calculation logic because certain calculation thresholds are reached. The overall logic of these freight rates that have not completed the complete calculation logic cannot be obtained through the system log. Summary of the invention

[0008] In order to solve the above problems existing in the debugging process of the Shopping engine, the present application proposes a new method and device for dynamic debugging of the freight rate search system.

[0009] According to the current technology, complex search engines like the international freight rate search system, when performing configuration file modification and debugging, mostly adopt the mode of stopping the service - modifying the configuration file - restarting the service to make the configuration items effective. However, this application uses the function of adding freight rate-related debugging information in the request to make the configuration item modification effective in real time, and restore the original configuration after debugging is completed, so that the Shopping engine can achieve non-stop (continuous service) debugging. Through this method, debugging can be completed while ensuring the normal operation of the system and maintaining service, minimizing the adverse effects of system debugging on users.

[0010] In order to achieve the above objectives, this application provides the following technical solutions:

[0011] The first aspect of the present application provides a method for dynamic debugging of a freight rate search system, comprising:

[0012] The request dynamic debugging information module adds dynamic debugging information to the user request information, and passes the added dynamic debugging information to the Shopping engine as part of the request;

[0013] When the Shopping engine is started, the configuration file processing module reads the configuration file content from the specified configuration file;

[0014] Parse the configuration file, and process and store the configuration file content according to the configuration file rules;

[0015] The dynamic debugging information processing module parses the dynamic debugging information in the user request information;

[0016] The dynamic debugging information processing module analyzes the type of the dynamic debugging information and generates different dynamic debugging information according to the debugging information type;

[0017] When the Shopping engine is running, debug it based on the dynamic debugging information generated in the previous step.

[0018] Optionally, in the method of the present application, the dynamic debugging information request module adds dynamic debugging information to the user request information, and the added dynamic debugging information includes: freight rate-related dynamic debugging information and configuration item dynamic debugging information.

[0019] Optionally, in the method of the present application, the processing and storing of the configuration file content according to the configuration file rule includes: processing the configuration file content into<Key,value> , and then store it into a memory structure.

[0020] Optionally, the method of the present application also includes: the configuration file processing module queries the configuration file content according to the key information passed in by other modules in the Shopping engine and returns the corresponding value information, thereby completing the content query function of the configuration file.

[0021] Optionally, in the method of the present application, the dynamic debugging information processing module analyzes the type of the dynamic debugging information, including:

[0022] (1) Dynamic debugging information for configuration items

[0023] Parse the dynamic debugging information of the configuration items obtained in the previous step into<Key,value> Structure, use the Key to query through the configuration file processing module, and update the configuration value of the configuration item in the configuration file processing module after finding the matching data;

[0024] (2) Dynamic debugging information related to freight rates

[0025] The dynamic debugging information content related to freight rates added by the dynamic debugging information request module to the user request information is parsed and stored in the data structure of the dynamic debugging information processing module.

[0026] Optionally, in the method of the present application, when the Shopping engine is running, debugging is performed according to the dynamic debugging information generated in the previous step, including:

[0027] (1) Dynamic debugging information for configuration items

[0028] When the Shopping engine needs to query the configuration value of a configuration item during operation, the configuration value of the configuration item is queried through the query interface provided by the configuration file processing module;

[0029] (2) Dynamic debugging information related to freight rates

[0030] When the Shopping engine needs to process freight rates during operation, if it finds that the dynamic debugging information is freight rate-related debugging information, it will be compared with the input freight rate-related dynamic debugging information. The matching freight rate information will be subjected to freight rate logic calculation, and the unmatched freight rate information will be filtered.

[0031] Optionally, the method of the present application also includes: after the debugging is completed, restoring the original configuration information of the Shopping engine, deleting the debugging information related to the freight rate, and restoring the state of the Shopping engine to the state before the debugging.

[0032] Optionally, the present application method also includes:

[0033] (1) Dynamic debugging information for configuration items

[0034] Call the configuration file processing module to re-read the configuration file content into the memory structure, overwrite the previous changes made due to dynamic debugging of the configuration items, and restore the configuration of the Shopping engine to the state before debugging;

[0035] (2) Dynamic debugging information related to freight rates

[0036] Clear the freight rate-related dynamic debugging information obtained from the previous step to restore the Shopping engine to the state before the freight rate-related dynamic debugging.

[0037] A second aspect of the present application provides a device for dynamic debugging of a freight rate search system, the device comprising:

[0038] Request dynamic debugging information module: used to add dynamic debugging information to user request information, and pass the dynamic debugging information to the Shopping engine as part of the request, so that the Shopping engine can process normal requests and dynamic debugging information at the same time;

[0039] Configuration file processing module: used to parse the configuration file, map the configuration file content to the memory structure, and provide configuration file content query services for other modules in the Shopping engine;

[0040] Dynamic debugging information processing module: used for dynamic debugging information, including dynamic debugging information parsing part, dynamic debugging information setting part and dynamic debugging information analysis part.

[0041] The device implements the steps of the above-mentioned method for dynamic debugging of the freight rate search system when running.

[0042] A third aspect of the present application provides an electronic device, comprising: a memory and a processor;

[0043] Memory: used to store computer programs;

[0044] Processor: used to execute the computer program to implement the steps of the above-mentioned method for dynamic debugging of the freight rate search system.

[0045] A fourth aspect of the present application provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the aforementioned method for dynamic debugging of a freight rate search system are implemented.

[0046] In summary, this application proposes a new method for dynamic debugging of freight rate search system. This application aims at the non-stop nature caused by the high complexity, high personalization and high availability of the configuration file of the international freight rate search system, and changes the traditional practice of stopping to modify the configuration and then restarting the service. By using the configuration file information or the freight rate debugging information as part of the request for dynamic debugging, the flexibility of debugging information is achieved, and no additional impact is produced on the Shopping engine. After the debugging is completed, the Shopping engine can be restored to the state before debugging, thereby ensuring the consistency and high availability of the Shopping engine.

[0047] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or understood by practicing the present application. The purpose and other advantages of the present application can be realized and obtained by the techniques indicated in the description, claims and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] In order to more clearly illustrate the technical solutions of the embodiments of the present application, a brief introduction is given below to the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0049] Figure 1 An overall implementation flow chart of a method for dynamic debugging of a freight rate search system provided in one embodiment of the present application.

[0050] Figure 2 This is an example diagram of the dynamic debugging information related to freight rates in a request provided in an embodiment of the present application.

[0051] Figure 3 An example diagram of dynamic debugging information of configuration items in a request provided by an embodiment of the present application.

[0052] Figure 4 This is an example diagram of a configuration file of a Shopping engine provided in one embodiment of the present application.

[0053] Figure 5 A structural diagram of the composition of a device for dynamic debugging of a freight rate search system provided in one embodiment of the present application.

[0054] Figure 6 A schematic diagram of the structure of an electronic device provided in one embodiment of the present application. DETAILED DESCRIPTION

[0055] In order to make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0056] As used herein, the term “including” and its variations are open inclusions, ie, “including but not limited to”; the term “based on” means “based at least in part on”; and the term “one embodiment” means “at least one embodiment”.

[0057] It should be noted that the modifications of "one" and "plurality" mentioned in the present application are illustrative rather than restrictive, and those skilled in the art should understand that unless the context clearly indicates otherwise, it should be understood as "one or more".

[0058] Terminology explanation:

[0059] Shopping engine: a commonly used international freight rate search system.

[0060] Shopping request: The input request received by the Shopping engine. The request is in JSON format and is the only content that the Shopping engine can receive and process.

[0061] Shopping engine configuration file: This configuration file is used by the Shopping engine. When the shopping engine is started, the configuration file content is read into the memory at one time.

[0062] Shopping engine: international freight rate search system, responsible for receiving customer requests, processing customer requests, and returning search results to customers.

[0063] Figure 1 The figure shows the overall implementation process of a dynamic debugging method of a freight rate search system proposed in this application, including the following steps:

[0064] The request dynamic debugging information module adds dynamic debugging information to the user request information, and passes the added dynamic debugging information to the Shopping engine as part of the request;

[0065] When the Shopping engine is started, the configuration file processing module reads the configuration file content from the specified configuration file; parses the configuration file, and processes the configuration file content into<Key,value> Stored in the memory structure in the form of;

[0066] The configuration file processing module queries the configuration file content and returns the corresponding value information based on the key information passed in by other modules in the Shopping engine, completing the configuration file content query function;

[0067] The dynamic debugging information processing module parses the dynamic debugging information in the user request information (i.e., the dynamic debugging information added to the user request information by the dynamic debugging information processing module); the dynamic debugging information processing module analyzes the type of the dynamic debugging information; generates different dynamic debugging information according to the debugging information type obtained by the analysis; when the Shopping engine is running, it performs debugging according to the dynamic debugging information generated in the previous step;

[0068] After this debugging is completed, restore the original configuration information of the Shopping engine, delete the debugging information related to the freight rate, and restore the state of the Shopping engine to the state before debugging.

[0069] In order to better understand the technical solution of the present application, it is further described with reference to the following embodiments.

[0070] (1) Request the dynamic debugging information module to add dynamic debugging information to the user request information

[0071] Request Example 1: Add debugInput (a tool for debugging input data) dynamic debugging information to the user request. This information is the specified freight rate filtering information.

[0072] Figure 2 The following is an example of dynamic debugging information related to freight rates in a request. The content under the fares (freight rate related node) node under the debugInput node in the figure is the dynamic debugging information related to freight rates.

[0073] Request Example 2: This example is a request to dynamically modify configuration

[0074] Figure 3 The following is an example of dynamic debugging information for configuration items in a request. The content under the config (configuration file node) node under the debugInput node in the figure is configuration-related dynamic debugging information.

[0075] (II) Configuration file processing and query

[0076] Figure 4 The following is an example of the configuration file for the Shopping engine of this application.

[0077] Step 1: When the Shopping engine is started, the configuration file processing module reads the configuration file content from the specified configuration file.

[0078] like Figure 4splitPointsOverrodeConfig is a configuration item in the configuration file;

[0079] XMN146:100 / 20 / 5,HKK918:100 / 10 / 10 are the configuration item values.

[0080] Step 2: Parse the configuration file and process the configuration file content according to the configuration file rules.<Key,value> is stored in the memory structure.

[0081] For example, in the splitPointsOverrodeConfig configuration item in step 1, according to the rule definition, where "," is the configuration value separator, the final value of this configuration item is obtained according to the rule. <splitPointsOverrodeConfig,< <xmn146:100 20 5> <hkk918:100 10>>>

[0082] The two configuration values ​​of the splitPointsOverrodeConfig configuration item are as follows:

[0083] (1) XMN146: 100 / 20 / 5;

[0084] (2)HKK918:100 / 10 / 10.

[0085] Step 3: The configuration file processing module returns the corresponding value information based on the key information passed in by other modules in the Shopping engine, completing the content query function of the configuration file.

[0086] For example, according to the parsing result of the configuration file in step 2, the splitPointsOverrodeConfig configuration item has two configuration values ​​XMN146:100 / 20 / 5 and HKK918:100 / 10 / 10.

[0087] When the key of the query passed in by the external module is splitPointsOverrodeConfig,

[0088] The configuration value of the configuration item is returned: XMN146: 100 / 20 / 5, HKK918: 100 / 10 / 10.

[0089] (III) Dynamic debugging information processing

[0090] Step 1: The dynamic debugging information processing module parses the dynamic debugging information in the user request information (ie, requests the dynamic debugging information module to add the dynamic debugging information to the user request information).

[0091] The dynamic debugging information added by the dynamic debugging information request module to the user request information can be divided into two categories, one is the configuration item dynamic debugging information, and the other is the freight rate processing related dynamic debugging information.

[0092] The dynamic debugging information processing module will classify this. If the dynamic debugging information is requested to be input and there is freight rate related debugging information, the dynamic debugging information will be classified as freight rate related dynamic debugging information.

[0093] Step 2: The dynamic debugging information processing module analyzes the type of the dynamic debugging information.

[0094] In this step, the dynamic debugging information processing module will call different parsing tools to parse the dynamic debugging information parsed in step 1. The parsing results include:

[0095] (1) The dynamic debugging information type entered is configuration item debugging information.

[0096] (2) The dynamic debugging information type entered is freight rate related debugging information.

[0097] Step 3: Generate different dynamic debugging information according to the debugging information type obtained by the previous step analysis.

[0098] (1) Debug information for configuration items.

[0099] Parse the dynamic debugging information of the configuration items obtained in step 2 into<Key,value> Structure, use the Key to query through the configuration file processing module, and update the configuration value of the configuration item in the configuration file processing module after finding the matching data.

[0100] Example:

[0101] Figure 3 The configuration value of the configuration item splitPointsOverrodeConfig in the configuration file is XMN146:100 / 20 / 5, HKK918:100 / 10 / 10.

[0102] Figure 3 The dynamic debugging information of the configuration item entered in is splitPointsOverrodeConfig, and the configuration value of the configuration item is HKK918:100 / 10 / 10.

[0103] Then, the value of the splitPointsOverrodeConfig configuration item in the memory of the final configuration file processing module is changed to HKK918:100 / 10 / 10, and the configuration value of the splitPointsOverrodeConfig configuration item obtained by other modules through the query interface of the configuration file processing module changes from XMN146:100 / 20 / 5, HKK918:100 / 10 / 10 to HKK918:100 / 10 / 10.

[0104] (2) Debugging information related to freight rates.

[0105] like Figure 2 Dynamic debugging information of the fares node under the debugInput node.

[0106] This step parses the contents of fares into the fares structure of the dynamic debugging information processing module and saves it for use in step 4.

[0107] Step 4: When the Shopping engine is running, debug it according to the dynamic debugging information generated in the previous step.

[0108] (1) Debug information related to configuration items.

[0109] When the Shopping engine needs to query the configuration value of a configuration item during operation, the configuration value of the configuration item is queried through the query interface provided by the configuration file processing module. Since the dynamic debugging information of the configuration item input in the request has been updated to the configuration item cache of the configuration file processing module in the previous step, the configuration value of the configuration item queried by the Shopping engine is already the configuration value of the debugged configuration item.

[0110] (2) Debugging information related to freight rates.

[0111] When the Shopping engine needs to process freight rates during operation, if the dynamic debugging information is found to be freight rate-related debugging information, it will be compared with the input freight rate-related dynamic debugging information. The matching freight rate information will be subjected to freight rate logic calculation, and the unmatched freight rate information will be filtered.

[0112] For example: Figure 2 The dynamic debugging information related to the freight rate entered in the request is as follows:

[0113] project Departure destination Airlines Freight rate basis Fare BJS TYO CA LKORCTT

[0114] The current shipping rate groups processed by the Shopping engine are as follows:

[0115] project Departure destination Airlines Freight rate basis Fare1 BJS TYO MU LKORCTT Fare2 BJS TYO CA WCORCTT Fare3 BJS TYO CA LKORCTT Fare4 BJS NRT CA LKORCTT

[0116] In this way, among the freight rate groups currently processed by the Shopping engine, only Fare3 can match the freight rate-related dynamic debugging information entered in the request saved in step 3. At this time, the Shopping engine will no longer perform the calculation logic of Fare1, Fare2, and Fare4, and only needs to calculate Fare3.

[0117] Step 5: After debugging is completed, restore the original configuration information of the Shopping engine, delete the debugging information related to the freight rate, and restore the status of the Shopping engine to the state before debugging.

[0118] (1) Debug information for configuration items.

[0119] Call the configuration file processing module, re-read the configuration file content into the memory structure, overwrite the previous changes made due to dynamic debugging of the configuration items, and restore the configuration of the Shopping engine to the state before debugging.

[0120] (2) Dynamic debugging information related to freight rates.

[0121] Clear the freight rate-related debugging information parsed in step 3 to restore the Shopping engine to the state before the freight rate-related dynamic debugging.

[0122] Figure 5 The figure shows the composition structure of a dynamic debugging device for a freight rate search system provided by the present application, the device comprising:

[0123] Request dynamic debugging information module: used to add dynamic debugging information based on basic request information, and pass the dynamic debugging information to the Shopping engine as part of the request, so that the Shopping engine can process normal requests and dynamic debugging information without adding additional processing branches;

[0124] Configuration file processing module: As an important part of the Shopping engine, this module is used to parse the configuration file, map the configuration file content to the memory structure, and provide configuration file content query services for other modules in the Shopping engine;

[0125] Dynamic debugging information processing module: used for dynamic debugging information, including dynamic debugging information parsing part, dynamic debugging information setting part and dynamic debugging information analysis part.

[0126] When the above device is running, the steps of the dynamic debugging method of the freight rate search system disclosed in this application are implemented.

[0127] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the device, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, program segment or a part of code, and the module, program segment or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be realized by a special hardware-based system that performs the specified function or operation, or can be realized by a combination of special hardware and computer instructions.

[0128] like Figure 6 As shown, the embodiment of the present application also discloses an electronic device, including: a processor 310, a communication interface 320, a memory 330 for storing a computer program executable by the processor, and a communication bus 340. The processor 310, the communication interface 320, and the memory 330 communicate with each other through the communication bus 340. The processor 310 runs the executable computer program to implement the steps of the above-mentioned method for dynamic debugging of the freight rate search system.

[0129] It is understandable that, in addition to the memory and the processor, the electronic device may also include an input device such as a keyboard, an output device such as a display, and other communication modules. The input device, the output device, and other communication modules communicate with the processor via an I / O interface (i.e., an input / output interface).

[0130] Computer program code for performing the operations of the present application may be written in one or more programming languages ​​or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0131] Furthermore, the present application also discloses a computer-readable storage medium. When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device can execute the various steps of the method for dynamic debugging of a freight rate search system disclosed in the present application.

[0132] In the context of the present application, a computer-readable storage medium may be a tangible medium, more specific examples of which would include a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0133] In particular, according to an embodiment of the present application, the process described in the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method for dynamic debugging of the freight rate search system disclosed in the present application. When the computer program is executed by a processing device, the above functions defined in the method of the embodiment of the present application are executed.

[0134] Although several specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present application. The above description is only a preferred embodiment of the present application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present application is not limited to the technical solutions formed by a specific combination of the above technical features, but also should cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above public concept.

[0135] Those skilled in the art should also understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application. < / xmn146:100>

Claims

1. A method for dynamic debugging of a freight rate search system, characterized in that: The method comprises: The request dynamic debugging information module adds dynamic debugging information to the user request information, and passes the added dynamic debugging information to the Shopping engine as part of the request; When the Shopping engine is started, the configuration file processing module reads the configuration file content from the specified configuration file; Parse the configuration file, and process and store the configuration file content according to the configuration file rules; The dynamic debugging information processing module parses the dynamic debugging information in the user request information; The dynamic debugging information processing module analyzes the type of the dynamic debugging information and generates different dynamic debugging information according to the debugging information type; When the Shopping engine is running, debug it based on the dynamic debugging information generated in the previous step.

2. The method according to claim 1, characterized in that The dynamic debugging information request module adds dynamic debugging information to the user request information, and the added dynamic debugging information includes: freight rate related dynamic debugging information and configuration item dynamic debugging information.

3. The method according to claim 2, characterized in that The processing and storage of the configuration file content according to the configuration file rules includes: processing the configuration file content into<Key,value> , and then store it into a memory structure.

4. The method according to claim 3, characterized in that The method further includes: the configuration file processing module queries the configuration file content according to the key information passed in by other modules in the Shopping engine and returns the corresponding value information, thereby completing the configuration file content query function.

5. The method according to claim 3, characterized in that: The dynamic debugging information processing module analyzes the type of the dynamic debugging information, including: (1) Dynamic debugging information for configuration items Parse the dynamic debugging information of the configuration items obtained in the previous step into<Key,value> Structure, use the Key to query through the configuration file processing module, and update the configuration value of the configuration item in the configuration file processing module after finding the matching data; (2) Dynamic debugging information related to freight rates The dynamic debugging information content related to freight rates added by the dynamic debugging information request module to the user request information is parsed and stored in the data structure of the dynamic debugging information processing module.

6. The method according to claim 3, characterized in that When the Shopping engine is running, debugging is performed according to the dynamic debugging information generated in the previous step, including: (1) Dynamic debugging information for configuration items When the Shopping engine needs to query the configuration value of a configuration item during operation, the configuration value of the configuration item is queried through the query interface provided by the configuration file processing module; (2) Dynamic debugging information related to freight rates When the Shopping engine needs to process freight rates during operation, if it finds that the dynamic debugging information is freight rate-related debugging information, it will be compared with the input freight rate-related dynamic debugging information. The matching freight rate information will be subjected to freight rate logic calculation, and the unmatched freight rate information will be filtered.

7. The method according to claim 1, characterized in that The method further includes: after the debugging is completed, restoring the original configuration information of the Shopping engine, deleting the debugging information related to the freight rate, and restoring the state of the Shopping engine to the state before the debugging.

8. The method according to claim 7, characterized in that The method comprises: (1) Dynamic debugging information for configuration items Call the configuration file processing module to re-read the configuration file content into the memory structure, overwrite the previous changes made due to dynamic debugging of the configuration items, and restore the configuration of the Shopping engine to the state before debugging; (2) Dynamic debugging information related to freight rates Clear the freight rate-related dynamic debugging information obtained from the previous step to restore the Shopping engine to the state before the freight rate-related dynamic debugging.

9. A device for dynamic debugging of a freight rate search system, characterized in that: The device comprises: Request dynamic debugging information module: used to add dynamic debugging information to user request information, and pass the dynamic debugging information to the Shopping engine as part of the request, so that the Shopping engine can process normal requests and dynamic debugging information at the same time; Configuration file processing module: used to parse the configuration file, map the configuration file content to the memory structure, and provide configuration file content query services for other modules in the Shopping engine; Dynamic debugging information processing module: used for dynamic debugging information, including dynamic debugging information parsing part, dynamic debugging information setting part and dynamic debugging information analysis part.

10. An electronic device, characterized in that: include: Memory and processor; Memory: used to store computer programs; Processor: used to execute the computer program to implement the steps of the method for dynamic debugging of the freight rate search system as described in any one of claims 1-8.