Method, apparatus, device and storage medium for managing test tasks
By developing methods and devices for managing test tasks, the problem of unexecuted test orders when autonomous vehicles are idle has been solved, resulting in more efficient test task allocation and vehicle utilization.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- BEIJING VOYAGER TECH CO LTD
- Filing Date
- 2024-12-03
- Publication Date
- 2026-06-05
AI Technical Summary
The low utilization rate of autonomous vehicles when idle leads to the failure to fully execute test orders, which affects the user experience.
By obtaining test configuration information, test orders are assigned to the test vehicle set, and unexecuted orders are added to a priority queue. Based on the priority queue, an order allocation strategy is determined, and orders are allocated to the test vehicle set with priority.
This improved the quality and efficiency of testing tasks and increased vehicle utilization.
Smart Images

Figure CN122155133A_ABST
Abstract
Description
Technical Field
[0001] The exemplary embodiments disclosed herein generally relate to the field of computers, and more particularly to methods, apparatus, devices, and computer-readable storage media for managing test tasks. Background Technology
[0002] Autonomous driving is a technology that uses computers to plan the vehicle's trajectory and control it to reach a designated destination, replacing or assisting human drivers. With advancements in autonomous driving technology, some vehicles based on autonomous driving capabilities (also known as autonomous vehicles) are able to provide mobility services to users. However, these vehicles are underutilized when idle, so there is a desire to fully utilize their idle time, for example, for mileage testing missions. Summary of the Invention
[0003] In a first aspect of this disclosure, a method for managing test tasks is provided. The method includes: acquiring test configuration information, the test configuration information indicating the total mileage to be tested; allocating a set of test orders corresponding to the total mileage to a set of test vehicles based on the test configuration information; adding the target test order to a priority queue in response to a target test order not being executed within a first time period; determining an order allocation strategy corresponding to a second time period based on the priority queue, the order allocation strategy indicating that test orders in the priority queue are preferentially allocated; and allocating a set of test orders to the set of test vehicles corresponding to the second time period based on the order allocation strategy.
[0004] In a second aspect of this disclosure, an apparatus for managing test tasks is provided. The apparatus includes: an information acquisition module configured to acquire test configuration information, the test configuration information indicating the total mileage to be tested; a first allocation module configured to allocate a set of test orders corresponding to the total mileage to a set of test vehicles based on the test configuration information; an order addition module configured to add a target test order to a priority queue in response to a target test order in the set of test orders not being executed within a first time period; a strategy determination module configured to determine an order allocation strategy corresponding to a second time period based on the priority queue, the order allocation strategy indicating that test orders in the priority queue are preferentially allocated; and a second allocation module configured to allocate a set of test orders to the set of test vehicles corresponding to the second time period based on the order allocation strategy.
[0005] In a third aspect of this disclosure, an electronic device is provided. The device includes at least one processing unit; and at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit. When executed by the at least one processing unit, the instructions cause the device to perform the method of the first aspect.
[0006] In a fourth aspect of this disclosure, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program that can be executed by a processor to implement the method of the first aspect.
[0007] In a fifth aspect of this disclosure, a computer program product is provided. The computer program product includes computer-executable instructions that, when executed by a processor, implement the method according to a first aspect of this disclosure.
[0008] It should be understood that the content described in this content section is not intended to limit the key or essential features of the embodiments of this disclosure, nor is it intended to restrict the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description
[0009] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. In the drawings, the same or similar reference numerals denote the same or similar elements, wherein:
[0010] Figure 1 A schematic diagram is shown of an example environment in which embodiments of the present disclosure may be implemented;
[0011] Figure 2 A flowchart illustrating an example process for managing test tasks according to some embodiments of this disclosure is shown;
[0012] Figure 3 A schematic diagram of an example task creation interface according to some embodiments of the present disclosure is shown;
[0013] Figures 4A to 4B A schematic diagram illustrating an example of allocation based on a priority queue according to some embodiments of the present disclosure is shown;
[0014] Figures 5A to 5B A schematic diagram illustrating an example of allocation based on remaining mileage according to some embodiments of the present disclosure is shown;
[0015] Figure 6 A schematic structural block diagram illustrating example management of test tasks according to some embodiments of the present disclosure is shown; and
[0016] Figure 7 A block diagram of an electronic device capable of implementing several embodiments of the present disclosure is shown. Detailed Implementation
[0017] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.
[0018] It should be noted that the headings of any section / subsection provided herein are not limiting. Various embodiments are described throughout this document, and embodiments of any type may be included under any section / subsection. Furthermore, embodiments described in any section / subsection may be combined in any way with any other embodiments described in the same section / subsection and / or different sections / subsections.
[0019] In the description of embodiments of this disclosure, the term "comprising" and similar terms should be understood as open-ended inclusion, i.e., "including but not limited to". The term "based on" should be understood as "at least partially based on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may also be included below. The terms "first", "second", etc., may refer to different or the same objects. Other explicit and implicit definitions may also be included below.
[0020] The embodiments of this disclosure may involve user data, data acquisition, and / or use. All of these aspects comply with applicable laws, regulations, and relevant provisions. In the embodiments of this disclosure, all data collection, acquisition, processing, manipulation, forwarding, and use are conducted with the user's knowledge and confirmation. Accordingly, in implementing the embodiments of this disclosure, the type, scope of use, and usage scenarios of any data or information that may be involved should be communicated to the user and their authorization obtained in accordance with relevant laws and regulations through appropriate means. The specific methods of notification and / or authorization may vary depending on the actual situation and application scenario, and the scope of this disclosure is not limited in this respect.
[0021] In this specification and the embodiments, any processing of personal information will be carried out only under the premise of legality (such as obtaining the consent of the personal information subject, or being necessary for the performance of a contract), and will only be carried out within the scope stipulated or agreed upon. A user's refusal to process personal information other than that necessary for basic functions will not affect the user's use of basic functions.
[0022] According to traditional methods, when test vehicles are performing test tasks, there may be issues where test orders are not fully tested, thus affecting the user experience.
[0023] Embodiments of this disclosure propose a scheme for managing test tasks. According to this scheme, test configuration information indicating the total mileage to be tested can be obtained; based on the test configuration information, a set of test orders corresponding to the total mileage can be allocated to a set of test vehicles; in response to a target test order in the set of test orders not being executed within a first time period, the target test order is added to a priority queue; based on the priority queue, an order allocation strategy corresponding to a second time period is determined, the order allocation strategy indicating that test orders in the priority queue are given priority allocation; and based on the order allocation strategy, a set of test orders is allocated to the set of test vehicles corresponding to the second time period.
[0024] In this way, the embodiments of this disclosure can reasonably allocate test orders to multiple vehicles for testing, thereby improving the quality and efficiency of test tasks.
[0025] The following section provides a detailed description of various example implementations of this scheme, with reference to the accompanying drawings.
[0026] Example Environment
[0027] Figure 1 A schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented is shown. As shown, environment 100 may include vehicle 110. Vehicle 110 may be an autonomous vehicle, that is, a vehicle with autonomous driving capability (or driverless capability), also known as a driverless car, autonomous driving vehicle, etc.
[0028] In some scenarios, vehicle 110 can be assigned to provide travel services to users. For example, users can obtain travel services provided by vehicle 110 through a travel application. In some scenarios, vehicle 110 may also be called a driverless taxi or robotaxi. During the process of vehicle 110 providing travel services to users, vehicle 110 may be equipped with a safety operator. The safety operator can, for example, take over vehicle 110 in case of an emergency. Alternatively, vehicle 110 may also be in an unmanned state.
[0029] In some embodiments, vehicle 110 may also perform test mileage tasks as a test vehicle during idle periods.
[0030] like Figure 1 As shown, vehicle 110 can also be associated with electronic device 120. Electronic device 120 can be integrated inside vehicle 110 or connected to vehicle 110 via a network. As an example, electronic device 120 can be deployed with vehicle 110's task management module 130 to manage vehicle 110 to execute corresponding test mileage tasks based on allocation strategies.
[0031] like Figure 1As shown, the electronic device 120 can also establish a communication connection 140 with the task management module 130. As an example, the communication connection 140 can be established via wired or wireless means. The communication connection 140 may include, but is not limited to, Bluetooth connections, mobile network connections, Universal Serial Bus connections, Wi-Fi connections, etc., and the embodiments of this disclosure are not limited in this respect. In the embodiments of this disclosure, the electronic device 120 and the planning system 130 can achieve signaling interaction through the communication connection 140 between them.
[0032] It should be understood that the structure and function of environment 100 are described for illustrative purposes only and do not imply any limitation on the scope of this disclosure.
[0033] Example process
[0034] Figure 2 A flowchart of an example process 200 for managing test tasks according to some embodiments of the present disclosure is shown. Process 200 can be implemented at electronic device 120. Reference is made below. Figure 1 Describe the process 200.
[0035] like Figure 2 As shown in box 210, electronic device 120 acquires test configuration information, which indicates the total mileage to be tested.
[0036] For easier understanding, please refer to the following text. Figure 3 The process of electronic device 120 acquiring test configuration information is described.
[0037] To facilitate user operation, the electronic device 120 can display as follows: Figure 3 The task creation interface 300 is shown. In this task creation interface 300, the electronic device 120 can present an input control 301. Further, the electronic device 120 can obtain user input messages based on the input control 301, which can serve as identification information associated with the task (e.g., task name). Such input messages can be any appropriate type of message, such as text messages, voice messages, etc.
[0038] In the task creation interface 300, the electronic device 120 can also display an input control 301. Furthermore, the electronic device 120 can obtain the total mileage to be tested (hereinafter referred to as total mileage) based on the preset control 302.
[0039] As an example, electronic device 120 can receive a document uploaded by a user and associated with the mileage to be tested, based on a preset control 302. Furthermore, electronic device 120 can use a target model to identify the content of the document and accumulate the mileage to be tested in the document to obtain the total mileage. Such a target model could be, for example, a recognition model, a language model, etc.
[0040] As another example, the electronic device 120 can receive the total mileage input by the user based on a preset control 302. Exemplarily, the user can also directly input the total mileage, such as 420 kilometers, based on the preset control 302.
[0041] In some embodiments, the test configuration information may also include the number of test orders, the mileage of the test orders, and the minimum test duration per day.
[0042] Continue to refer to Figure 3 The electronic device 120 can also provide an order splitting control 303 in the task creation interface 300. Furthermore, in response to receiving a user's selection of the order splitting control 303, the electronic device 120 can obtain test configuration information. In other embodiments, in response to obtaining the total mileage, the electronic device 120 can enable the order splitting control 303 by default to obtain test configuration information.
[0043] In some embodiments, in response to the order splitting control 303 being activated, the electronic device 120 can evenly split the acquired total mileage into multiple segments, each segment corresponding to a test order. Alternatively or additionally, the electronic device 120 can also perform uneven splitting of the total mileage.
[0044] In other embodiments, the electronic device 120 will not automatically perform order splitting in response to the user closing the order splitting control 303. Furthermore, the electronic device 120 can bind the test vehicle to all unstarted test orders by default.
[0045] For ease of understanding, the following explanation uses the example of enabling the order splitting control 303 and uniformly splitting test orders.
[0046] Taking uniform splitting as an example, the electronic device 120 can determine the number of test orders based on the ratio of the acquired total mileage to the target value. In some embodiments, such a target value can be a preset value or a value determined based on user needs. In other embodiments, such a target value can also be the minimum daily test mileage per vehicle without affecting coverage. Furthermore, as can be seen from the above, such a target value can also characterize the mileage of the test order.
[0047] Furthermore, the electronic device 120 can automatically populate the component 305 with the number of test orders for user viewing. In some embodiments, the number of test orders in component 305 can also be manually modified by the user.
[0048] In some embodiments, the electronic device 120 may also determine the minimum daily test duration and the minimum number of test vehicles per day. Such minimum daily test duration and minimum number of test vehicles per day may be determined based on a preset algorithm, for example, and this disclosure does not limit this.
[0049] In the task creation interface 300, the electronic device 120 can also display the estimation component 304. In the estimation component 304, the electronic device 120 can display information such as total mileage, mileage of test orders (not shown in the figure), minimum daily test duration, and minimum number of test vehicles per day for user viewing.
[0050] In some embodiments, the electronic device 120 can also identify multiple vehicle identifiers, such as 001, 002, 003, and 004, via the task creation interface 300. Furthermore, the electronic device 120 can determine a set of test vehicles based on these multiple vehicle identifiers.
[0051] In some embodiments, electronic device 120 may determine a set of vehicles that are idle when a task is created, and automatically fill in the vehicle identifiers corresponding to that set of vehicles into component 306 as a test vehicle set. In other embodiments, such a set of vehicles may also be a set of test vehicles selected by the electronic device 120 based on user selection.
[0052] In some embodiments, the electronic device 120 may also determine whether the minimum daily test duration and the minimum daily test vehicle are met based on the information obtained above, thereby avoiding the minimum mileage that is not tested, which would affect the final coverage ratio.
[0053] Based on the above method, electronic device 120 can obtain test configuration information and test vehicle set.
[0054] In some embodiments, the electronic device 120 may also determine the test starting point for each test vehicle in the test vehicle set based on the number of test vehicles in the test vehicle set.
[0055] As an example, assuming a total mileage of 420 kilometers and a target value of 70, the electronic device 120 can determine the number of test orders to be 6 (e.g., order 1, order 2, order 3, order 4, order 5, order 6). Therefore, the total mileage can be divided into 6 segments (e.g., first segment, second segment, etc.), meaning each test order corresponds to one mileage segment. Furthermore, the electronic device 120 can use the initial division point as the starting point of the first mileage segment, the end point of the first mileage segment as the starting point of the second mileage segment, and so on. Since each mileage segment can correspond to one test vehicle, the starting point of each mileage segment can be used as the test starting point for the corresponding test vehicle.
[0056] In some embodiments, if the total mileage to be tested can meet the minimum number of test vehicles per day, the electronic device 120 can divide the total mileage to be tested into equal shares of the number of test vehicles. For example, the electronic device 120 can divide the total mileage to be tested into orders of less than 70 kilometers, and use the starting point of the division as the starting point of the mileage of different test vehicles until the total mileage to be tested is met.
[0057] In some embodiments, if the total mileage to be tested cannot meet the minimum number of test vehicles per day, the electronic device 120 may also divide the total mileage to be tested equally into the number of vehicles, and take the starting point of the division as the starting point of the mileage of different test vehicles until the total mileage to be tested is met. At the same time, the electronic device 120 may also indicate that the total mileage to be tested today is insufficient.
[0058] In box 220, electronic device 120 assigns a set of test orders corresponding to the total mileage to the test vehicle set based on test configuration information.
[0059] As described above, electronic device 120 can determine the number of test orders and the mileage of each test order based on the total mileage, thereby identifying a set of test orders. Furthermore, electronic device 120 can allocate this set of test orders to a collection of test vehicles. This disclosure is not intended to limit the form of allocation of a set of test orders.
[0060] In box 230, electronic device 120 adds the target test order to a priority queue in response to the target test order in a set of test orders not being executed in the first time period.
[0061] As an example, suppose a set of test orders includes 6 test orders, such as order 1, order 2, order 3, order 4, order 5, and order 6. Further, in response to the fact that the test vehicle only tested orders 1, order 2, and order 4 within a first time period (e.g., one day), the electronic device 120 can add the remaining target test orders (e.g., orders 3, order 5, and order 6) to a priority queue.
[0062] The following section will detail how to allocate test orders to test vehicles based on a priority queue.
[0063] In box 240, electronic device 120 determines an order allocation strategy corresponding to the second time period based on a priority queue. The order allocation strategy indicates that test orders in the priority queue are allocated preferentially.
[0064] In some embodiments, in response to the inclusion of target test orders in the priority queue, the electronic device 120 may prioritize the allocation of target test orders in the priority queue during a second time period.
[0065] In some embodiments, the allocation order of test orders in the priority queue can be determined based on the time when the test order is added to the priority queue.
[0066] As an example, electronic device 120 can sequentially add the remaining orders 3, 5, and 6 to the priority queue in the first time period. In the second time period, electronic device 120 can allocate orders 3, 5, and 6 to the test vehicle based on the time order in which the remaining orders were added to the priority queue. As another example, electronic device 120 can also allocate these orders in the second time period in reverse order of the time the remaining orders were added to the priority queue.
[0067] In box 250, electronic device 120 assigns a set of test orders to the set of test vehicles corresponding to the second time period based on the order allocation strategy.
[0068] In some embodiments, the electronic device 120 can assign at least one test order corresponding to a priority queue to at least one test vehicle in the test vehicle set corresponding to the second time period. As an example, assuming that the test vehicle set corresponding to the second time period includes 5 test vehicles (e.g., vehicle 1, vehicle 2, vehicle 3, vehicle 4, and vehicle 5) and the priority queue includes 3 test orders (e.g., order 3, order 5, and order 6), the electronic device 120 can assign these 3 test orders to the corresponding 3 test vehicles, such as vehicle 1, vehicle 2, and vehicle 3.
[0069] In some embodiments, the electronic device 120 may randomly assign three test orders in a priority queue to three test vehicles corresponding to a second time period. In other embodiments, the electronic device 120 may determine the allocation of test orders in the priority queue based on historical test information of the test vehicles. This disclosure is not intended to limit the allocation of test orders in the priority queue.
[0070] In this way, embodiments of the present disclosure can prioritize the allocation of test orders in the priority queue.
[0071] In some embodiments, the test vehicle may be assigned passenger orders or for other reasons during the test, and the test vehicle may only test a portion of the mileage of orders 1, 2, and 4, resulting in the remaining mileage of orders 1, 2, and 4 not being tested.
[0072] Furthermore, to address the aforementioned issues, the electronic device 120 can also determine whether the test vehicle set corresponding to the second time period includes test vehicles for which orders have not yet been assigned. Furthermore, in response to the test vehicle set including a group of unassigned test vehicles (e.g., vehicle 4, vehicle 5), the electronic device 120 can determine the remaining mileage of at least one unassigned test order within a group of test orders.
[0073] Furthermore, the electronic device 120 can assign at least one test order to a group of test vehicles based on the remaining mileage.
[0074] In some embodiments, the electronic device 120 may allocate based on the amount of remaining mileage in kilometers.
[0075] As an example, if electronic device 120 responds to the remaining mileage of order 1 being 30 km, order 2 being 40 km, and order 4 being 20 km, then electronic device 120 can sort these orders based on their remaining mileage, for example, order 2, order 1, and order 4. Furthermore, if electronic device 120 responds to the fact that order 2 and order 1 have more remaining mileage, it can prioritize assigning order 2 and order 1 to test vehicles 4 and 5, which have not yet been assigned in the second time period. As another example, electronic device 120 can also assign orders with fewer remaining mileage (e.g., order 1 and order 4) to test vehicles 4 and 5 respectively.
[0076] Furthermore, taking sequential allocation as an example, in response to the fact that test order 4 has not been allocated, electronic device 120 can add test order 4 to the priority queue so that it can be allocated preferentially in the third time period.
[0077] To facilitate understanding, the following sections will provide further examples of priority queues and remaining mileage.
[0078] The following text will be based on Figures 4A to 4B Let's take a look at priority queues as an example.
[0079] by Figure 4A For example, assuming the total mileage to be tested is 420 kilometers, and the target value is 70, then electronic device 120 can determine the number of test orders as 6 (e.g., order 1, order 2, order 3, order 4, order 5, order 6), and can divide the total mileage into... Figure 4A The six segments shown represent the mileage for each order, with each segment starting at one of the following points: 401, 402, 403, 404, 405, or 406. For ease of description, the test orders mentioned below will have remaining mileage after each test.
[0080] As an example, suppose the first time period (e.g.) Figure 4A (As shown) There are 6 vehicles: the starting points can be 401, 402, 403, 404, 405, and 406; assuming the second time period (e.g.) Figure 4BAs shown, if one vehicle is removed, resulting in a total of 5 vehicles, the execution points can be 401, 402, 403, 404, and 405. Since execution point 406 is executed one less time, electronic device 120 can add order 6 to the priority queue. If one vehicle is added in the third period, resulting in a total of 6 vehicles, the execution points can become: 406, 401, 402, 403, 404, and 405. That is, electronic device 120 prioritizes order 6 in the priority queue. If one vehicle is removed in the fourth period, resulting in a total of 5 vehicles, the execution points can become: 406, 401, 402, 403, and 404. Since execution point 405 is executed one less time, electronic device 120 can add order 5 to the priority queue. If two vehicles are added in the fifth period, resulting in a total of 7 vehicles, the execution points can become: 405, 406, 401, 402, 403, 404, and 405, and so on.
[0081] The following text will be based on Figures 5A to 5B For example, let's introduce the remaining mileage.
[0082] by Figure 5A For example, assuming the total mileage to be tested is 420 kilometers, and the target value is 70, then electronic device 120 can determine the number of test orders as 6 (e.g., order 1, order 2, order 3, order 4, order 5, order 6), and can divide the total mileage into... Figure 5A The six segments shown represent the mileage for each order, with each segment starting at a point in time: 501, 502, 503, 504, 505, or 506. For ease of description, the test orders mentioned below will have remaining mileage after each test.
[0083] As an example, suppose the first time period (e.g.) Figure 5A (As shown) There are 4 vehicles: the starting points can be 501, 502, 503, and 504. Since the execution points 505 and 506 are executed one less time, the electronic device 120 can add order 5 and order 6 to the priority queue.
[0084] Furthermore, assuming the second time period (e.g.) Figure 5B (As shown) Reducing one vehicle to a total of 4 vehicles: the execution points can be 505, 506, 501, and 502, meaning that electronic device 120 prioritizes allocating orders 5 and 6 from the priority queue. Furthermore, since electronic device 120 responds to orders 1 and 2 having more (or less) remaining mileage in the first time period, it can allocate orders 1 and 2 to test vehicles that haven't been allocated in the second time period. Further, since execution points 503 and 504 are executed one less time, electronic device 120 can add orders 3 and 4 to the priority queue, and so on, without further explanation.
[0085] The embodiments of this disclosure can reasonably distribute the total distance to be tested to multiple test vehicles for simultaneous testing, thereby improving the utilization rate of test vehicles and the quality and efficiency of test tasks.
[0086] Example devices and equipment
[0087] Embodiments of this disclosure also provide corresponding apparatus for implementing the above methods or processes. Figure 6 A schematic structural block diagram of an example apparatus 600 for managing test tasks, according to certain embodiments of the present disclosure, is shown. Apparatus 600 may be implemented as or included in electronic device 120. Various modules / components in apparatus 600 may be implemented by hardware, software, firmware, or any combination thereof.
[0088] like Figure 6 As shown, the device 600 includes an information acquisition module 610 configured to acquire test configuration information, which indicates the total mileage to be tested; a first allocation module 620 configured to allocate a set of test orders corresponding to the total mileage to a set of test vehicles based on the test configuration information; an order addition module 630 configured to add a target test order to a priority queue in response to the target test order in the set of test orders not being executed in a first time period; a strategy determination module 640 configured to determine an order allocation strategy corresponding to a second time period based on the priority queue, which indicates that test orders in the priority queue are allocated preferentially; and a second allocation module 650 configured to allocate a set of test orders to the set of test vehicles corresponding to the second time period based on the order allocation strategy.
[0089] In some embodiments, the second allocation module 650 is further configured to allocate at least one test order corresponding to a priority queue to at least one test vehicle in the test vehicle set; determine whether the test vehicle set includes test vehicles with unallocated orders; in response to the test vehicle set including a set of unallocated test vehicles, determine the remaining mileage of at least one unallocated test order in the set of test orders; and allocate at least one test order to the set of test vehicles based on the remaining mileage.
[0090] In some embodiments, the information acquisition module 610 is further configured to present a task creation interface, which includes an order splitting control; and to acquire test configuration information in response to receiving a selection of the order splitting control.
[0091] In some embodiments, the test configuration information also indicates at least one of the following: the number of test orders; the mileage of the test orders; and the minimum test duration per day.
[0092] In some embodiments, the device 600 further includes an information processing module configured to determine a plurality of vehicle identifiers via a task creation interface; and to determine a set of test vehicles based on the plurality of vehicle identifiers.
[0093] In some embodiments, the apparatus 600 further includes a starting point determination module configured to determine the test starting point for each test vehicle in the test vehicle set based on the number of test vehicles in the test vehicle set.
[0094] In some embodiments, the allocation order of test orders in the priority queue is determined based on the time when the test order is added to the priority queue.
[0095] The modules included in device 600 can be implemented in various ways, including software, hardware, firmware, or any combination thereof. In some embodiments, one or more units can be implemented using software and / or firmware, such as machine-executable instructions stored on a storage medium. In addition to or as an alternative to machine-executable instructions, some or all of the modules in device 600 can be implemented at least partially by one or more hardware logic components. By way of example, and not limitation, exemplary types of hardware logic components that can be used include field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), system-on-a-chip (SoCs), complex programmable logic devices (CPLDs), and so on.
[0096] Figure 7 A block diagram of an electronic device 700 in which one or more embodiments of the present disclosure may be implemented is shown. It should be understood that... Figure 7 The electronic device 700 shown is merely exemplary and should not be construed as limiting the functionality and scope of the embodiments described herein. Figure 7 The electronic device 700 shown can be used to achieve Figure 1 120 electronic devices.
[0097] like Figure 7 As shown, electronic device 700 is in the form of a general-purpose electronic device. Components of electronic device 700 may include, but are not limited to, one or more processors or processing units 710, memory 720, storage device 730, one or more communication units 740, one or more input devices 750, and one or more output devices 760. Processing unit 710 may be a physical or virtual processor and is capable of performing various processes according to programs stored in memory 720. In a multiprocessor system, multiple processing units execute computer-executable instructions in parallel to improve the parallel processing capability of electronic device 700.
[0098] Electronic device 700 typically includes multiple computer storage media. Such media can be any accessible media that is accessible to electronic device 700, including but not limited to volatile and non-volatile media, removable and non-removable media. Memory 720 can be volatile memory (e.g., registers, cache, random access memory (RAM)), non-volatile memory (e.g., read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. Storage device 730 can be removable or non-removable media and can include machine-readable media, such as flash drives, disks, or any other media that can be used to store information and / or data and can be accessed within electronic device 700.
[0099] Electronic device 700 may further include additional removable / non-removable, volatile / non-volatile storage media. Although not explicitly stated... Figure 7 As shown, disk drives for reading from or writing to removable, non-volatile disks (e.g., "floppy disks") and optical disk drives for reading from or writing to removable, non-volatile optical disks can be provided. In these cases, each drive can be connected to a bus (not shown) via one or more data media interfaces. Memory 720 may include computer program product 725 having one or more program modules configured to perform various methods or actions of various embodiments of this disclosure.
[0100] The communication unit 740 enables communication with other electronic devices via a communication medium. Additionally, the functionality of the components of the electronic device 700 can be implemented using a single computing cluster or multiple computing machines capable of communicating via communication connections. Therefore, the electronic device 700 can operate in a networked environment using logical connections to one or more other servers, network personal computers (PCs), or another network node.
[0101] Input device 750 can be one or more input devices, such as a mouse, keyboard, trackball, etc. Output device 760 can be one or more output devices, such as a monitor, speaker, printer, etc. Electronic device 700 can also communicate with one or more external devices (not shown) via communication unit 740 as needed. These external devices include storage devices, display devices, etc., and can communicate with one or more devices that enable user interaction with electronic device 700, or with any device that enables electronic device 700 to communicate with one or more other electronic devices (e.g., network card, modem, etc.). Such communication can be performed via input / output (I / O) interface (not shown).
[0102] According to an exemplary implementation of this disclosure, a computer-readable storage medium is provided that stores computer-executable instructions thereon, wherein the computer-executable instructions are executed by a processor to implement the methods described above. According to an exemplary implementation of this disclosure, a computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, which are executed by a processor to implement the methods described above.
[0103] Various aspects of this disclosure are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatuses, devices, and computer program products implemented according to this disclosure. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-readable program instructions.
[0104] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that, when executed by the processing unit of the computer or other programmable data processing apparatus, they create means for implementing the functions / actions specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner. Thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / actions specified in one or more blocks of the flowchart and / or block diagram.
[0105] Computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions that execute on the computer, other programmable data processing apparatus, or other device to perform the functions / actions specified in one or more boxes of a flowchart and / or block diagram.
[0106] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction, which contains one or more executable instructions for implementing the specified logical function. In some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.
[0107] Various implementations of this disclosure have been described above. The foregoing description is exemplary and not exhaustive, nor is it limited to the disclosed implementations. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described implementations. The terminology used herein is chosen to best explain the principles, practical applications, or improvements to technology in the market, or to enable others skilled in the art to understand the various implementations disclosed herein.
Claims
1. A method for managing test tasks, comprising: Obtain test configuration information, which indicates the total mileage to be tested; Based on the test configuration information, a set of test orders corresponding to the total mileage are allocated to the test vehicle set; If a target test order in the set of test orders is not executed within the first time period, the target test order is added to a priority queue. Based on the priority queue, an order allocation strategy corresponding to the second time period is determined, and the order allocation strategy indicates that test orders in the priority queue are given priority allocation. as well as Based on the order allocation strategy, the set of test orders is allocated to the set of test vehicles corresponding to the second time period.
2. The method according to claim 1, wherein allocating the set of test orders to the set of test vehicles corresponding to the second time period based on the order allocation strategy comprises: Assign at least one test order corresponding to the priority queue to at least one test vehicle in the test vehicle set; Determine whether the set of test vehicles includes test vehicles that have not yet been assigned orders; In response to the test vehicle set including a set of test vehicles that have not yet been assigned, determine the remaining mileage of at least one test order that has not been assigned in the set of test orders; as well as Based on the remaining mileage, the at least one test order is assigned to the group of test vehicles.
3. The method according to claim 1, wherein obtaining the test configuration information includes: A task creation interface is presented, which includes an order splitting control; as well as In response to receiving a selection of the order splitting control, the test configuration information is obtained.
4. The method of claim 3, wherein the test configuration information further indicates at least one of the following: Number of test orders; Test order mileage; Minimum daily testing duration.
5. The method according to claim 3, further comprising: Multiple vehicle identifiers are identified via the task creation interface; as well as The test vehicle set is determined based on the multiple vehicle identifiers.
6. The method according to claim 1, further comprising: Based on the number of test vehicles in the test vehicle set, the test starting point for each test vehicle in the test vehicle set is determined.
7. The method of claim 1, wherein the allocation order of test orders in the priority queue is determined based on the time when the test orders are added to the priority queue.
8. An apparatus for managing test tasks, comprising: The information acquisition module is configured to acquire test configuration information, which indicates the total mileage to be tested; The first allocation module is configured to allocate a set of test orders corresponding to the total mileage to the test vehicle set based on the test configuration information. The order addition module is configured to add the target test order to a priority queue in response to the fact that the target test order in the group of test orders has not been executed within the first time period. The strategy determination module is configured to determine an order allocation strategy corresponding to the second time period based on the priority queue, wherein the order allocation strategy indicates that test orders in the priority queue are given priority allocation. as well as The second allocation module is configured to allocate the set of test orders to the set of test vehicles corresponding to the second time period based on the order allocation strategy.
9. An electronic device, comprising: At least one processing unit; as well as At least one memory, coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, which, when executed by the at least one processing unit, cause the electronic device to perform the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, the computer program being executable by a processor to implement the method according to any one of claims 1 to 7.
11. A computer program product comprising computer-executable instructions, wherein the computer-executable instructions, when executed by a processor, implement the method according to any one of claims 1 to 7.