Test method, test device and electronic equipment for chartered vehicle system

By receiving and filtering the inquiry return data, determining the collection of suppliers that can be viewed by the test users, and using virtual suppliers for testing, it solves the problems of long communication time and low testing efficiency caused by the use of real data in the online test of the chartered vehicle system supplier, and achieves a more efficient testing process and data concealment.

CN112631940BActive Publication Date: 2025-02-28BEIJING QUNAR SOFTWARE TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202011636385.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-31
Publication Date
2025-02-28
Estimated Expiration
2041-02-28

AI Technical Summary

Technical Problem

During the online testing of suppliers of chartered car systems, real supplier data is used for testing, resulting in a longer communication time and reducing the testing efficiency.

Method used

By receiving the inquiry return data, the supplier collection can be viewed by the preset test users, and after determining the supplier collection, the chartered vehicle system is tested according to the preset filter conditions. This method uses virtual suppliers/test suppliers to conduct online testing to ensure that the test data is not viewed by users of other systems.

Benefits of technology

It reduces the time communication cost with suppliers, improves system testing efficiency, ensures the concealment of test data, and does not affect the user experience of real users.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112631940B_ABST
    Figure CN112631940B_ABST
Patent Text Reader

Abstract

The present invention discloses a test method, a test device, and an electronic device for a chartered vehicle system. The test method comprises: receiving inquiry return data, wherein the inquiry return data at least includes: information of multiple inquiry suppliers; filtering inquiry suppliers according to the information of multiple inquiry suppliers to obtain a supplier set that can be viewed by a preset test user; after determining the supplier set, testing the chartered vehicle system according to the preset filtering conditions. The present invention solves the technical problem in the related art that in the process of supplier online testing, using real supplier data for testing, it is easy to have a long communication time and reduce the test efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of system control, and in particular to a testing method and testing device and electronic equipment for a chartered vehicle system. Background Art

[0002] In the related art, in order to ensure the normal use of the online functions of the chartered product, it is necessary to carry out real operations such as placing orders, dispatching orders, and completing orders. During the communication process, the common method is to communicate with supplier customers face-to-face offline, or to coordinate and communicate with suppliers, manually assign tasks, and complete the supplier online test. This has high communication and time costs, and involves settlement and other links, which is not conducive to fast and effective online testing. At the same time, in the prior art, when testing the supplier online, it often happens that the test data used by the testers is displayed in the graphical interactive interface of the system. Ordinary users can also view the test data when using the product system, and view the supplier data during the test. In fact, these data are only used for testing and are not real interactive data, which affects ordinary users from viewing actual product data and reduces customers' interest in use.

[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0004] The embodiment of the present invention provides a test method, a test device, and an electronic device for a chartered vehicle system, so as to at least solve the technical problem in the related art that during the supplier online testing process, real supplier data is used for testing, which tends to result in long communication time and reduced testing efficiency.

[0005] According to one aspect of an embodiment of the present invention, a testing method for a chartered car system is provided, comprising: receiving inquiry return data, wherein the inquiry return data at least includes: information of multiple inquiry suppliers; filtering inquiry suppliers according to the information of the multiple inquiry suppliers to obtain a set of suppliers that can be viewed by a preset test user; after determining the set of suppliers, testing the chartered car system according to preset filtering conditions.

[0006] Optionally, the step of filtering inquiry suppliers according to the information of the multiple inquiry suppliers to obtain a set of suppliers that can be viewed by a preset test user includes: obtaining mapping relationship data, wherein the mapping relationship data is an association relationship between a supplier and multiple users, and the multiple users include: a user identifier of a preset test user; matching the multiple inquiry suppliers with the mapping relationship data to obtain a matching result; based on the matching result, filtering the inquiry suppliers to obtain a set of suppliers that can be viewed by the preset test user.

[0007] Optionally, the inquiry return data also includes: multiple inquiry user identifiers, and the step of screening inquiry suppliers based on the matching results to obtain a set of suppliers that can be viewed by a preset test user includes: querying whether there is a supplier identifier of the inquiry supplier in the mapping relationship data; if there is a supplier identifier of the inquiry supplier in the mapping relationship data, traversing the multiple inquiry user identifiers to obtain a traversal result; querying whether there is a user identifier in the traversal result that is identical to the user identifier in the mapping relationship identifier; if there is no user identifier in the traversal result that is identical to the user identifier in the mapping relationship identifier, eliminating the inquiry supplier corresponding to the inquiry user identifier; if there is a user identifier in the traversal result that is identical to the user identifier in the mapping relationship identifier, retaining the inquiry supplier corresponding to the inquiry user identifier to obtain the supplier set.

[0008] Optionally, after querying whether there is a supplier identifier of the inquiry supplier in the mapping relationship data, the testing method further includes: if there is no supplier identifier of the inquiry supplier in the mapping relationship data, retaining the inquiry supplier corresponding to the inquiry user identifier to obtain the supplier set.

[0009] Optionally, the inquiry return data also includes at least one of the following: departure address, destination address, taxi time, and quotation data.

[0010] Optionally, the testing method further includes: determining a screening condition chain, wherein the screening condition chain integrates multiple screening conditions and each screening condition is arranged in series; adding supplier filtering conditions to each screening condition on the screening condition chain; and using the supplier filtering conditions to filter the inquiry suppliers.

[0011] Optionally, a test supplier module is added to each system part of the chartered vehicle system, and the test supplier module is used to filter the set of suppliers that can be viewed by the preset test user.

[0012] According to another aspect of an embodiment of the present invention, a testing device for a chartered car system is also provided, including: a receiving unit, used to receive inquiry return data, wherein the inquiry return data at least includes: information of multiple inquiry suppliers; a screening unit, used to screen inquiry suppliers according to the information of the multiple inquiry suppliers, and obtain a set of suppliers that can be viewed by a preset test user; and a testing unit, used to test the chartered car system according to preset filtering conditions after determining the supplier set.

[0013] Optionally, the screening unit includes: a first acquisition module, used to acquire mapping relationship data, wherein the mapping relationship data is an association relationship between a supplier and multiple users, and the multiple users include: a user identifier of a preset test user; a first matching module, used to match the multiple inquiry suppliers and the mapping relationship data to obtain a matching result; and a first screening module, used to screen the inquiry suppliers based on the matching result to obtain a set of suppliers that can be viewed by the preset test user.

[0014] Optionally, the inquiry return data also includes: multiple inquiry user identifiers, and the first screening module includes: a first query sub-module, used to query whether there is a supplier identifier of the inquiry supplier in the mapping relationship data; a first traversal sub-module, used to query whether there is a supplier identifier of the inquiry supplier in the mapping relationship data, traverse the multiple inquiry user identifiers, and obtain the traversal result; a second query sub-module, used to query whether there is a user identifier that is identical to the user identifier in the mapping relationship identifier in the traversal result; a removal sub-module, used to remove the inquiry supplier corresponding to the inquiry user identifier if there is no user identifier that is identical to the user identifier in the mapping relationship identifier in the traversal result; and a retention sub-module, used to retain the inquiry supplier corresponding to the inquiry user identifier when there is a user identifier that is identical to the user identifier in the mapping relationship identifier in the traversal result, and obtain the supplier set.

[0015] Optionally, the testing device of the chartered car system also includes: a retention module, which is used to, after querying whether there is a supplier identifier of the inquiry supplier in the mapping relationship data, retain the inquiry supplier corresponding to the inquiry user identifier if there is no supplier identifier of the inquiry supplier in the mapping relationship data, to obtain the supplier set.

[0016] Optionally, the inquiry return data also includes at least one of the following: departure address, destination address, taxi time, and quotation data.

[0017] Optionally, the testing device of the chartered car system also includes: a determination unit, used to determine a screening condition chain, wherein the screening condition chain integrates multiple screening conditions and each screening condition is arranged in series; an adding unit, used to add supplier filtering conditions to each screening condition on the screening condition chain; and a second screening module, used to use the supplier filtering conditions to screen the inquiring suppliers.

[0018] Optionally, a test supplier module is added to each system part of the chartered vehicle system, and the test supplier module is used to filter the set of suppliers that can be viewed by the preset test user.

[0019] According to another aspect of an embodiment of the present invention, there is also provided an electronic device, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute any one of the above-mentioned methods for testing a chartered vehicle system by executing the executable instructions.

[0020] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is further provided, wherein the computer-readable storage medium includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the above-mentioned testing methods for the chartered vehicle system.

[0021] In an embodiment of the present invention, inquiry return data is received, wherein the inquiry return data at least includes: information of multiple inquiry suppliers, inquiry suppliers are screened according to the information of the multiple inquiry suppliers, and a supplier set that can be viewed by a preset test user is obtained. After the supplier set is determined, the charter system is tested according to the preset filtering conditions. In this embodiment, a virtual supplier / test supplier can be added for online testing. By binding the test user and the supplier, a supplier set that can be viewed by the tester can be extracted to ensure that the test data used in the online test process will not be viewed by other system users. Non-test users filter out the test supplier display, so that virtual supplier data can be used for system testing, which reduces the time cost of communication with suppliers and improves system testing efficiency, thereby solving the technical problem in the related technology that during the supplier online testing process, real supplier data is used for testing, which is prone to long communication time and reduced testing efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0023] Figure 1 is a flow chart of an optional testing method of a chartered vehicle system according to an embodiment of the present invention;

[0024] Figure 2 Schematic diagram of an optional testing device for a chartered vehicle system according to an embodiment of the present invention. DETAILED DESCRIPTION

[0025] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0026] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0027] The present invention can be applied to a chartered vehicle system, which can realize at least one of the following functions: taxi-hailing function, carpooling function, ticket acquisition function, tour group ticket acquisition function, supplier offline query function, quotation query function, vehicle model selection function, etc. The chartered vehicle system can be divided into several parts: supplier management, quotation, user end, order, settlement, etc. The present invention is based on this system, adds a test supplier / virtual supplier (one can be added to each part of the aforementioned system) and makes a quotation.

[0028] In the present invention, the responsibility chain model and configurable tools can be used for the chartered car system, wherein the responsibility chain model means that in order to complete the same request (for example, filtering user inquiry data and returning quotation data), there are multiple request processors and the number of unknown request processors (filtering conditions), these filtering condition objects are connected into a chain (filtering conditions include but are not limited to: supplier filtering, supplier offline query in a certain city, filtering below the quotation), and the data of the request is passed along this responsibility chain until the filtering process is completed; and the configurable tool refers to the QConfig system, which is a configuration file based on hot deployment, which realizes the separation of configuration and code. If the user has the need to modify the configuration file, he only needs to modify QConfig and then publish it. This file will be pushed to the server in real time and replace the old file, greatly reducing the time and risk cost of frequent code modification and release.

[0029] The present invention is based on the existing chartered vehicle system, adds a virtual supplier for online testing, uses the responsibility chain mode, strongly binds the test user and the supplier, and filters out the test supplier display for non-test users; at the same time, the configurable tool QConfig is used to flexibly control the test account range, thereby achieving the purpose of online grayscale testing without affecting real users. The present invention is described in detail below in conjunction with various embodiments.

[0030] Embodiment 1

[0031] According to an embodiment of the present invention, an embodiment of a testing method for a chartered vehicle system is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0032] Figure 1 is a flow chart of an optional test method of a chartered vehicle system according to an embodiment of the present invention. Figure 1 As shown, the method comprises the following steps:

[0033] Step S102, receiving inquiry return data, wherein the inquiry return data at least includes: information of multiple inquiry suppliers;

[0034] Step S104, filtering the inquiry suppliers according to the information of the multiple inquiry suppliers to obtain a set of suppliers that can be viewed by the preset test user;

[0035] Step S106, after determining the supplier set, the charter system is tested according to the preset filtering conditions.

[0036] Through the above steps, the inquiry return data can be received, wherein the inquiry return data at least includes: information of multiple inquiry suppliers; filtering the inquiry suppliers according to the information of multiple inquiry suppliers to obtain a supplier set that can be viewed by the preset test user; after determining the supplier set, testing the charter system according to the preset filtering conditions. In this embodiment, a virtual supplier / test supplier can be added for online testing. By binding the test user and the supplier, a supplier set that can be viewed by the tester can be extracted to ensure that the test data used in the online test process will not be viewed by other system users. Non-test users filter out the test supplier display, so that virtual supplier data can be used for system testing, which reduces the time cost of communication with suppliers and improves system testing efficiency, thereby solving the technical problem in the related technology that in the process of supplier online testing, real supplier data is used for testing, which is prone to long communication time and reduced testing efficiency.

[0037] The embodiments of the present invention are described in detail below in combination with the above-mentioned implementation steps.

[0038] Optionally, the testing method of the chartered car system involved in the embodiment of the present invention includes: determining a filtering condition chain, wherein a plurality of filtering conditions are integrated in the filtering condition chain and each filtering condition is arranged in series; adding a supplier filtering condition to each filtering condition on the filtering condition chain; and using the supplier filtering condition to filter the inquiry suppliers.

[0039] The above implementation means that the charter system adopts the responsibility chain model, through which a target screening request is completed, multiple screening condition objects are connected into a chain, and the data of the screening request is transmitted along the responsibility chain until the screening process is completed.

[0040] Another optional method is to add a test supplier module to each system part of the chartered car system, and use the test supplier module to filter the supplier set that can be viewed by the preset test users.

[0041] Step S102, receiving inquiry return data, wherein the inquiry return data at least includes: information of multiple inquiry suppliers.

[0042] After the user sends various query requests, the backend server of the chartered car system can obtain various addresses, taxi times, multiple quotation data, suppliers and other data, and obtain the user's inquiry return data.

[0043] Optionally, the inquiry return data also includes at least one of the following: departure address, destination address, taxi time, and quotation data.

[0044] Step S104, filtering the inquiry suppliers according to the information of the multiple inquiry suppliers to obtain a set of suppliers that can be viewed by the preset test user.

[0045] Optionally, the step of filtering inquiry suppliers according to information of multiple inquiry suppliers to obtain a set of suppliers that can be viewed by a preset test user includes: obtaining mapping relationship data, wherein the mapping relationship data is an association relationship between a supplier and multiple users, and the multiple users include: a user identifier of a preset test user; matching multiple inquiry suppliers and the mapping relationship data to obtain a matching result; based on the matching result, filtering the inquiry suppliers to obtain a set of suppliers that can be viewed by the preset test user.

[0046] In an embodiment of the present invention, mapping relationship data can be obtained by reading the relationship data between suppliers and users in the aforementioned configurable tool QConfig configuration; at the same time, in an embodiment of the present invention, the read user identifier can also be stored in a preset matrix, for example, the user UID is stored in list[user].

[0047] Alternatively, the inquiry return data also includes: multiple inquiry user identifiers, based on the matching results, screening the inquiry suppliers, and obtaining a set of suppliers that can be viewed by the preset test user, including: querying whether there is a supplier identifier of the inquiry supplier in the mapping relationship data; if there is a supplier identifier of the inquiry supplier in the queried mapping relationship data, traversing multiple inquiry user identifiers to obtain a traversal result; querying whether there is a user identifier in the traversal result that is identical to the user identifier in the mapping relationship identifier; if there is no user identifier in the traversal result that is identical to the user identifier in the mapping relationship identifier, then eliminating the inquiry supplier corresponding to the inquiry user identifier; if there is a user identifier in the traversal result that is identical to the user identifier in the mapping relationship identifier, then retaining the inquiry supplier corresponding to the inquiry user identifier to obtain a supplier set.

[0048] Optionally, after querying whether there is a supplier identifier of the inquiry supplier in the mapping relationship data, the testing method further includes: if there is no supplier identifier of the inquiry supplier in the query mapping relationship data, retaining the inquiry supplier corresponding to the inquiry user identifier to obtain a supplier set.

[0049] By judging whether the inquiry return data has the supplier ID configured in the mapping relationship data, if so, further traverse to see if the inquiry user ID is in the user ID configured in the mapping relationship data (for example, traverse to see if the inquiry UID is in list[user]), if so, it is determined that this inquiry return data is the data that the tester needs to use, and it does not need to be displayed on the system graphical interactive interface, but only needs to be returned to the tester. If the inquiry return data does not have the supplier ID configured in the mapping relationship data, it means that this inquiry return data is also the data used by the tester, and the next condition screening can be performed according to the request. The supplier data involved in the inquiry return data is also required by the preset tester and can be returned to the preset tester; and if the inquiry user ID is not in the user ID configured in the mapping relationship data, it means that the supplier in this inquiry return data is not what the tester needs to use, and the supplier can be eliminated at this time.

[0050] Step S106, after determining the supplier set, the charter system is tested according to the preset filtering conditions.

[0051] After obtaining the determined supplier set, you can filter it according to other filtering conditions in the screening responsibility chain. After completion, if there is supplier quotation information, it will be returned to the general user end (non-tester). If not, no quotation will be returned, so that some specific suppliers can only be seen by certain specific users (for example, testers), ensuring the confidentiality of online testing and not affecting real users.

[0052] The present invention is described below by means of another optional implementation manner.

[0053] The charter system is divided into several parts, including supplier management, quotation, user end, order, settlement, etc. The embodiment of the present invention is based on this system, adds a test supplier and makes a quotation, adds filtering conditions of the relationship between suppliers and users to the user inquiry filtering part developed using the responsibility chain design pattern, implements the basic filtering interface, adds a filtering condition class, and the specific filtering method is implemented in this class.

[0054] The steps to implement the filtering method include:

[0055] S1, get the user inquiry return data, the backend system - server, the quotation class returns,

[0056] S2, reads the relationship between suppliers and users in the QConfig configuration (which can be understood as a system that obtains a piece of data through a value), and stores the user UID in list[user]. It is independent of S1.

[0057] S3, whether there is a configured supplier ID in this inquiry data (data matching action), if not, proceed to the next filtering condition; if yes, traverse to see if the inquiry UID is in list[user], if yes, proceed to the next filtering condition, if not, remove this supplier's quotation and proceed to the next filtering condition;

[0058] S4, continue filtering other conditions. After completion, if there is supplier quotation information, it will be returned to the user end. If not, it will return no quotation.

[0059] In the embodiment of the present invention, by testing the supplier's quotation and filtering functions, online testing can be performed without affecting the use of real users, facilitating the construction of grayscale environment test scenarios and effectively improving test efficiency.

[0060] The present invention is described in detail below in conjunction with another optional embodiment.

[0061] Embodiment 2

[0062] The test device of the chartered vehicle system involved in the embodiment of the present invention includes a plurality of implementation units, each of which corresponds to each implementation step in the above-mentioned embodiment 1.

[0063] Figure 2 is a schematic diagram of an optional test device for a chartered vehicle system according to an embodiment of the present invention, such as Figure 2 As shown, the testing device may include: a receiving unit 21, a screening unit 23, and a testing unit 25, wherein:

[0064] The receiving unit 21 is used to receive inquiry return data, wherein the inquiry return data at least includes: information of multiple inquiry suppliers;

[0065] A screening unit 23, configured to screen the inquiry suppliers according to the information of the plurality of inquiry suppliers, and obtain a set of suppliers that can be viewed by a preset test user;

[0066] The testing unit 25 is used to test the chartered vehicle system according to preset filtering conditions after determining the supplier set.

[0067] The test device of the above-mentioned chartered car system can receive inquiry return data through the receiving unit 21, wherein the inquiry return data at least includes: information of multiple inquiry suppliers, and the inquiry suppliers are screened according to the information of multiple inquiry suppliers by the screening unit 23 to obtain a supplier set that can be viewed by the preset test user, and after the supplier set is determined by the testing unit 25, the chartered car system is tested according to the preset filtering conditions. In this embodiment, a virtual supplier / test supplier can be added for online testing. By binding the test user and the supplier, a supplier set that can be viewed by the tester can be extracted to ensure that the test data used in the online test process will not be viewed by other system users. Non-test users filter out the test supplier display, so that virtual supplier data can be used for system testing, which reduces the time communication cost with suppliers and improves the system testing efficiency, thereby solving the technical problem in the related technology that in the process of supplier online testing, real supplier data is used for testing, which is easy to have a long communication time and reduce the testing efficiency.

[0068] Optionally, the screening unit includes: a first acquisition module, used to acquire mapping relationship data, wherein the mapping relationship data is the association relationship between a supplier and multiple users, and the multiple users include: a user identifier of a preset test user; a first matching module, used to match multiple inquiry suppliers and the mapping relationship data to obtain a matching result; and a first screening module, used to screen the inquiry suppliers based on the matching result to obtain a set of suppliers that can be viewed by the preset test user.

[0069] Optionally, the inquiry return data also includes: multiple inquiry user identifiers, and the first screening module includes: a first query sub-module, used to query whether there is a supplier identifier of the inquiry supplier in the mapping relationship data; a first traversal sub-module, used to query whether there is a supplier identifier of the inquiry supplier in the mapping relationship data, traverse multiple inquiry user identifiers, and obtain a traversal result; a second query sub-module, used to query whether there is a user identifier in the traversal result that is identical to the user identifier in the mapping relationship identifier; a removal sub-module, used to remove the inquiry supplier corresponding to the inquiry user identifier if there is no user identifier identical to the user identifier in the mapping relationship identifier in the traversal result; and a retention sub-module, used to retain the inquiry supplier corresponding to the inquiry user identifier when there is a user identifier identical to the user identifier in the mapping relationship identifier in the traversal result, and obtain a supplier set.

[0070] Optionally, the testing device of the chartered car system also includes: a retention module, which is used to retain the inquiry supplier corresponding to the inquiry user identifier to obtain a supplier set after querying whether there is a supplier identifier of the inquiry supplier in the mapping relationship data. If there is no supplier identifier of the inquiry supplier in the query mapping relationship data,

[0071] Optionally, the inquiry return data also includes at least one of the following: departure address, destination address, taxi time, and quotation data.

[0072] Optionally, the testing device of the chartered car system also includes: a determination unit, used to determine a screening condition chain, wherein the screening condition chain integrates multiple screening conditions and each screening condition is arranged in series; an adding unit, used to add supplier filtering conditions in each screening condition on the screening condition chain; and a second screening module, used to use the supplier filtering conditions to screen the inquiry suppliers.

[0073] Optionally, a test supplier module is added to each system part of the charter system, and the test supplier module is used to filter the supplier set that can be viewed by the preset test user.

[0074] The test device of the above-mentioned chartered vehicle system may also include a processor and a memory. The above-mentioned receiving unit 21, screening unit 23, testing unit 25, etc. are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize corresponding functions.

[0075] The processor includes a kernel, which retrieves the corresponding program unit from the memory. One or more kernels can be set, and the chartered car system can be tested according to the preset filtering conditions after the supplier set is determined by adjusting the kernel parameters.

[0076] The above-mentioned memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one storage chip.

[0077] According to another aspect of an embodiment of the present invention, there is also provided an electronic device, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute any one of the above-mentioned methods for testing a chartered vehicle system by executing the executable instructions.

[0078] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is also provided, the computer-readable storage medium including a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the above-mentioned methods for testing a chartered vehicle system.

[0079] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program that initializes the following method steps: receiving inquiry return data, wherein the inquiry return data at least includes: information of multiple inquiry suppliers; filtering inquiry suppliers based on the information of the multiple inquiry suppliers to obtain a set of suppliers that can be viewed by a preset test user; after determining the supplier set, testing the charter system according to preset filtering conditions.

[0080] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0081] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0082] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0083] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0084] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0085] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.

[0086] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A test method for a chartered vehicle system, characterized in that: Applied to the chartered car system, the chartered car system includes the following multiple system parts: supplier management, quotation, user end, order, settlement, a new test supplier module is added to each system part of the chartered car system, and the responsibility chain mode is used to strongly bind the test user and the supplier, and non-test users filter out the test supplier display, including: Receiving inquiry return data, wherein the inquiry return data at least includes: information of multiple inquiry suppliers; Filter the inquiry suppliers according to the information of the multiple inquiry suppliers to obtain a set of suppliers that can be viewed by a preset test user; The step of screening the inquiry suppliers according to the information of the multiple inquiry suppliers to obtain a set of suppliers that can be viewed by a preset test user includes: obtaining mapping relationship data, wherein the mapping relationship data is an association relationship between a supplier and multiple users, and the multiple users include: a user identifier of a preset test user; matching the multiple inquiry suppliers with the mapping relationship data to obtain a matching result; based on the matching result, screening the inquiry suppliers to obtain a set of suppliers that can be viewed by the preset test user; The inquiry return data also includes: multiple inquiry user identifiers, and the step of screening inquiry suppliers based on the matching results to obtain a supplier set that can be viewed by a preset test user includes: querying whether there is a supplier identifier of the inquiry supplier in the mapping relationship data; if there is a supplier identifier of the inquiry supplier in the mapping relationship data, traversing the multiple inquiry user identifiers to obtain a traversal result; querying whether there is a user identifier that is the same as the user identifier in the mapping relationship data in the traversal result; if there is no user identifier that is the same as the user identifier in the mapping relationship data in the traversal result, then eliminating the inquiry supplier corresponding to the inquiry user identifier; if there is a user identifier that is the same as the user identifier in the mapping relationship data in the traversal result, then retaining the inquiry supplier corresponding to the inquiry user identifier to obtain the supplier set; After the supplier set is determined, the charter system is tested according to preset filtering conditions.

2. The testing method according to claim 1, characterized in that: After querying whether there is a supplier identifier of the supplier inquiring for price in the mapping relationship data, the testing method further includes: If there is no supplier identifier of the inquiry supplier in the query mapping relationship data, the inquiry supplier corresponding to the inquiry user identifier is retained to obtain the supplier set.

3. The testing method according to claim 1, characterized in that: The inquiry return data also includes at least one of the following: departure address, destination address, taxi time, and quotation data.

4. The testing method according to claim 1, characterized in that: The test method also includes: Determine a screening condition chain, wherein the screening condition chain integrates multiple screening conditions, and each screening condition is arranged in series; Adding supplier filtering conditions to each filtering condition on the filtering condition chain; Use the supplier filtering conditions to filter the suppliers for quotation inquiry.

5. The testing method according to claim 1, characterized in that: The test supplier module is used to filter the supplier set that can be viewed by the preset test user.

6. A test device for a chartered vehicle system, characterized in that: Applied to the chartered car system, the chartered car system includes the following multiple system parts: supplier management, quotation, user end, order, settlement, a new test supplier module is added to each system part of the chartered car system, and the responsibility chain mode is used to strongly bind the test user and the supplier, and non-test users filter out the test supplier display, including: A receiving unit, configured to receive inquiry return data, wherein the inquiry return data at least includes: information of multiple inquiry suppliers; A screening unit, configured to screen the price inquiry suppliers according to the information of the plurality of price inquiry suppliers, and obtain a set of suppliers that can be viewed by a preset test user; The screening unit includes: a first acquisition module, used to acquire mapping relationship data, wherein the mapping relationship data is an association relationship between a supplier and a plurality of users, wherein the plurality of users include a user identifier of a preset test user; a first matching module, used to match the plurality of inquiry suppliers with the mapping relationship data to obtain a matching result; a first screening module, used to screen the inquiry suppliers based on the matching result to obtain a set of suppliers that can be viewed by the preset test user; The inquiry return data also includes: multiple inquiry user identifiers, and the first screening module includes: a first query submodule, used to query whether there is a supplier identifier of the inquiry supplier in the mapping relationship data; a first traversal submodule, used to query whether there is a supplier identifier of the inquiry supplier in the mapping relationship data, traverse the multiple inquiry user identifiers, and obtain a traversal result; a second query submodule, used to query whether there is a user identifier that is the same as the user identifier in the mapping relationship data in the traversal result; a removal submodule, used to remove the inquiry supplier corresponding to the inquiry user identifier if there is no user identifier that is the same as the user identifier in the mapping relationship data in the traversal result; a retention submodule, used to retain the inquiry supplier corresponding to the inquiry user identifier if there is a user identifier that is the same as the user identifier in the mapping relationship data in the traversal result, and obtain the supplier set; The testing unit is used to test the chartered vehicle system according to preset filtering conditions after determining the supplier set.

7. An electronic device, characterized in that: include: processor; as well as A memory, configured to store executable instructions of the processor; Wherein, the processor is configured to execute the testing method of the chartered vehicle system as described in any one of claims 1 to 5 by executing the executable instructions.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located is controlled to execute the test method of the chartered vehicle system according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Taxi-taking price comparison method, taxi-taking price comparison device and terminal device

    CN106910088A

  • Test data identification method

    CN111191086A