A pre-sale scheme intelligent matching generation method

By identifying and adjusting the resource consumption characteristics and timing blocking nodes of the execution unit, the problems of resource competition and timing conflicts in multi-demand scenarios are solved, and more accurate and stable pre-sales solution matching is achieved.

CN123158247APending Publication Date: 2026-11-24GUANGDONG YUNWANG INFORMATION TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611346159.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-01
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Existing technologies cannot identify the shared resource occupancy relationships between execution units in advance in multi-demand complex scenarios, leading to resource competition and timing conflicts, which can paralyze the solution during on-site operation.

Method used

By acquiring the set of execution units for subdivided requirements and their initial running sequences, hardware call records are extracted, resource occupancy characteristics are grouped and processed, resource competition is identified, dominant and related requirements are classified, the timing of execution actions is adjusted, and the target running sequence is generated.

Benefits of technology

It effectively resolves hardware resource competition and timing conflicts, improves the coordination and execution efficiency of the operation sequence, and makes the pre-sales solution matching more accurate and stable.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123158247A_ABST
    Figure CN123158247A_ABST
Patent Text Reader

Abstract

This application provides a pre-sales solution intelligent matching and generation method, comprising: obtaining segmented requirements; obtaining a corresponding set of execution units and an initial running sequence corresponding to the set of execution units from the segmented requirements; extracting hardware call records of each execution unit in the set of execution units under the initial running sequence according to the set of execution units, and obtaining resource occupancy characteristics corresponding to the hardware call records; grouping the set of execution units according to the resource occupancy characteristics to obtain candidate resource groups, and determining whether there is resource contention within the candidate resource groups; if there is resource contention, extracting the timestamps of multiple target execution units in the candidate resource groups under the initial running sequence, and determining the time-series blocking nodes with overlapping timestamps.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of information technology, and in particular to a method for intelligent matching and generation of pre-sales solutions. Background Technology

[0002] With the increasing demands for precision and efficiency in industrial inspection and intelligent manufacturing, the generation of intelligent solutions for complex multi-demand scenarios has become a core support capability in the pre-sales delivery process. Customers often submit multiple detailed inspection requirements in a single procurement, each corresponding to specific hardware execution units and algorithm configurations. The system's ability to quickly provide a combined solution that meets all indicators and runs successfully on real equipment directly determines the success rate of solution implementation and is also related to the actual production progress of the customer's equipment. Current mainstream matching methods often adopt an independent optimization approach, that is, for each detailed requirement, the best-performing technical path for that indicator is retrieved from the solution library, and then the corresponding equipment selection, parameter settings, and action flows are sequentially arranged and merged, ultimately outputting a seemingly optimal fusion solution. The starting point of this approach is to maximize performance for the customer, but it relies on the implicit premise that the paths do not interfere with each other during execution. However, in actual projects, multiple requirements often share the same set of core resources; for example, multiple inspection actions may require alternating use of the same motion platform, the same set of light sources, or the same data transmission channel. When resources are contested by multiple tasks simultaneously, conflicts arise in the execution times of modules pushing towards their design peaks. Action sequences become mutually blocked, and data links cannot simultaneously handle multiple peak traffic flows. The solution may appear excellent on paper, but during field trials, it may experience equipment lag, process interruptions, or even complete system failure. However, if the various requirements happen to belong to independent, non-overlapping resource domains, this simple aggregation remains effective. The two scenarios yield drastically different results, indicating that the problem isn't the solution itself, but rather the lack of prior consideration of resource occupancy relationships during the matching process. The core issue lies in two interconnected technical attributes. First, the shared resource occupancy characteristics of the execution units mapped by each sub-requirement are not explicitly extracted and compared before solution generation, making it impossible for the system to predict which requirements will have preemptive conflicts. This blind spot in occupancy relationships directly leads to the second attribute: the fusion strategy always uses unconditional aggregation, lacking the ability to adjust and prioritize when conflicts occur. These two interconnected factors completely mask the problem during the matching phase, only causing it to erupt in real-world execution scenarios. Therefore, how to identify the occupancy and mutual exclusion relationships of multiple subdivided requirements on shared resources in advance without exposing conflicts to actual operation, and accordingly prioritize and select the main requirements when integrating solutions, so that the dominant requirements are kept in optimal configuration while related requirements are downgraded and adapted, thus avoiding the situation of perfect on paper but paralysis on site, has become a key problem that must be solved in the research of intelligent matching of multiple requirements. Summary of the Invention

[0003] This invention provides a method for intelligent matching and generation of pre-sales solutions, mainly including:

[0004] Obtain detailed requirements, and from these detailed requirements, obtain the corresponding set of execution units and the initial running sequence corresponding to the set of execution units;

[0005] Based on the set of execution units, extract the hardware call record of each execution unit in the set of execution units under the initial running sequence, and obtain the resource usage characteristics corresponding to the hardware call record;

[0006] Based on the resource occupancy characteristics, the set of execution units is grouped to obtain candidate resource groups, and it is determined whether there is resource contention within the candidate resource groups.

[0007] If resource contention exists, the timestamps of multiple target execution units within the candidate resource group under the initial running sequence are extracted to determine the time-sequence blocking nodes with overlapping timestamps.

[0008] Based on the time-series blocking nodes, the subdivided requirements corresponding to the multiple target execution units are prioritized to obtain the dominant requirements and related requirements. The dominant requirements are kept in their initial configuration, and the related requirements are adjusted to obtain the adjusted configuration.

[0009] By using the initial configuration and the adjusted configuration, the execution actions of the multiple target execution units at the timing blocking node are rearranged in time to obtain the target running sequence, and the target running sequence is output to the field running equipment.

[0010] Furthermore, the step of obtaining detailed requirements, and obtaining the corresponding set of execution units and the initial running sequence corresponding to the set of execution units from the detailed requirements, includes:

[0011] From the detailed requirements of the customer's procurement list, the workstation actions corresponding to each testing indicator are extracted to obtain a set of execution units, and each execution unit in the set of execution units is assigned a unique number.

[0012] The execution units within the execution unit set are arranged sequentially according to the dependencies between their detection actions to form an action sequence list. The action sequence list is then concatenated according to the unique number to determine the initial running sequence.

[0013] Furthermore, the step of extracting the hardware call record of each execution unit within the execution unit set under the initial running sequence includes:

[0014] Based on the action trigger time and action duration of each execution unit in the initial running sequence, the motion platform station, light source power channel and data transmission channel called by the execution unit are sampled and recorded.

[0015] Collect the fields of hardware type, time period occupied, peak usage and call frequency for each call to form the hardware call record corresponding to the set of execution units.

[0016] Furthermore, obtaining the resource usage characteristics corresponding to the hardware call record includes:

[0017] Based on the hardware type of each record in the hardware call record, the occupied time periods under the same hardware type are categorized and aggregated to form an occupied time axis.

[0018] The peak usage and call frequency of each record are mapped one by one to the corresponding position on the usage time axis to obtain the resource usage characteristics.

[0019] Furthermore, the step of grouping the execution unit set based on the resource occupancy characteristics to obtain candidate resource groups, and determining whether resource contention exists within the candidate resource groups, includes:

[0020] Based on the time axis of each type of hardware within the resource occupancy characteristics, extract the unique number of the execution unit at the beginning and end of the occupancy interval and the start and end time, and group the execution units that share the same hardware together with the occupancy interval into the same candidate resource group.

[0021] For each pair of occupied intervals within the candidate resource group, if the start and end times overlap, the occupancy peak values ​​of the two occupied intervals during the overlapping period are superimposed according to the same hardware type to obtain the superimposed peak value.

[0022] The superimposed peak value is compared with a preset percentage threshold. If it exceeds the preset percentage threshold, the candidate resource group is marked as a group with resource competition, and the unique number of the execution unit involved is registered in the competition mark list.

[0023] Furthermore, if resource contention exists, the timestamps of multiple target execution units within the candidate resource group under the initial running sequence are extracted, and the time-series blocking nodes with overlapping timestamps are determined, including:

[0024] Based on the unique ID of the execution unit in the competition tag list, extract the start time stamp and end time stamp of each of the multiple target execution units from the initial running sequence to obtain the timestamp interval;

[0025] The timestamp intervals are compared pairwise. If the end timestamp of the previous interval is later than the start timestamp of the next interval, the later start timestamp is taken as the start time of the overlap intersection, and the earlier end timestamp is taken as the end time of the overlap intersection. The time-series blocking node is then registered.

[0026] Furthermore, the step of prioritizing the subdivided requirements corresponding to the multiple target execution units based on the time-series blocking nodes to obtain the dominant and related requirements includes:

[0027] Based on the unique IDs of multiple target execution units registered within the time-series blocking node, the sub-requirements to which the unique IDs belong are traced back, and the indicator level and requirement weight marked in the customer's procurement list for each sub-requirement are read to obtain the priority reference items for multiple sub-requirements; the indicator level includes detection accuracy level, detection cycle time level, and detection coverage level, with level A being higher than level B being higher than level C.

[0028] Based on the priority reference item, the sub-requirements corresponding to the multiple target execution units are compared pairwise. If the requirement weight of a certain sub-requirement is higher than that of the other sub-requirements, then the sub-requirement is determined to be the dominant requirement.

[0029] If there are demands with the same weight, the detection accuracy level is compared, and the demand with the higher detection accuracy level is determined to be the dominant demand. If the detection accuracy level is still tied, the detection cycle time level is compared, and the demand with the higher detection cycle time level is determined to be the dominant demand. If the detection cycle time level is still tied, the detection coverage level is compared, and the demand with the higher detection coverage level is determined to be the dominant demand. Other sub-demands under the same time-series blocking node are determined to be related demands.

[0030] Furthermore, maintaining the initial configuration for the dominant requirement and adjusting the associated requirements to obtain the adjusted configuration includes:

[0031] The target execution unit corresponding to the dominant requirement maintains the initial configuration under the initial running sequence. The initial configuration includes the action trigger time, action duration, the ratio of light source power to rated power, and the ratio of motion platform running speed to rated speed.

[0032] The ratio of the light source power to the rated power and the ratio of the motion platform running speed to the rated speed of the target execution unit corresponding to the associated requirements are adjusted downwards, and the action duration is extended backwards in the same proportion to obtain the adjusted configuration.

[0033] Furthermore, the step of reordering the execution actions of the multiple target execution units at the timing blocking node through the initial configuration and the adjusted configuration includes:

[0034] Based on the initial configuration and the adjusted configuration, the action entries of the multiple target execution units at the time-series blocking node are backfilled to obtain a set of backfilled action entries.

[0035] For multiple action entries that are blocked at the time-series blocking node in the backfilled action entry set, trigger shift is performed, and the action trigger time of the target execution unit corresponding to the associated requirement is shifted along the time axis to after the action end time stamp of the target execution unit corresponding to the dominant requirement. The action duration is adopted as the adjusted action duration, and the staggered action entry set is obtained.

[0036] Furthermore, obtaining the target operating sequence and outputting the target operating sequence to the field operating equipment includes:

[0037] Based on the peak occupancy of each action item in the staggered action item set under the same hardware type, the superimposed peak value at the timing blocking node is reviewed and compared.

[0038] If the superimposed peak value does not exceed the preset percentage threshold, the set of action items after peak shifting is refreshed into the target running sequence according to the unique number, and the target running sequence is output to the field running equipment.

[0039] If the superimposed peak value exceeds the preset percentage threshold, the action trigger time of the target execution unit corresponding to the associated requirement is shifted backward along the time axis by one adjusted action duration, and the review and comparison are re-executed.

[0040] If the superimposed peak value still exceeds the preset percentage threshold after a preset number of consecutive shifts, then the rearrangement of the time-series blocking node is stopped, the time-series blocking node is marked as a node to be manually processed, and the set of action entries after peak shifting other than the time-series blocking node is refreshed into the target running sequence according to the unique number, and the target running sequence is output to the field running equipment.

[0041] The technical solutions provided by the embodiments of the present invention may include the following beneficial effects:

[0042] This invention discloses a pre-sales solution intelligent matching and generation method. Addressing the problem of resource contention and timing conflicts arising from shared hardware resources among multiple execution units when executing detailed requirements on-site, leading to blocked execution sequences and low solution matching efficiency, this invention extracts the corresponding set of execution units and the initial execution sequence from the detailed requirements. It collects the hardware call records of each execution unit within that sequence and parses out resource occupancy characteristics. Based on these characteristics, the execution unit set is grouped to determine if resource contention exists within the candidate resource groups. For groups with contention, the timestamps of multiple target execution units are further extracted to locate timing blocking nodes. Based on these blocking nodes, the corresponding detailed requirements are prioritized, identifying the dominant requirements that maintain the initial configuration and related requirements that need adjustment. At the blocking nodes, the execution actions are time-sequentially rearranged, and the target execution sequence is output. This invention effectively resolves hardware resource contention and timing conflicts, improves the coordination and execution efficiency of the execution sequence, and makes pre-sales solution matching more accurate and stable. Attached Figure Description

[0043] Figure 1 This is a flowchart of a pre-sales solution intelligent matching and generation method according to the present invention.

[0044] Figure 2 This is a schematic diagram of a pre-sales solution intelligent matching and generation method according to the present invention.

[0045] Figure 3 This is another schematic diagram of a pre-sales solution intelligent matching and generation method according to the present invention. Detailed Implementation

[0046] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be described in detail below with reference to the accompanying drawings and specific embodiments.

[0047] like Figures 1-3 This embodiment of a pre-sales solution intelligent matching and generation method may specifically include:

[0048] Step S101: Obtain detailed requirements, and obtain the corresponding set of execution units and the initial running sequence corresponding to the set of execution units from the detailed requirements.

[0049] The process involves obtaining detailed requirements from the customer's procurement list, extracting the workstation actions corresponding to each detection indicator from these requirements, obtaining a set of execution units, and assigning a unique number to each execution unit within the set for identification. Based on the sequential dependencies of the detection actions among the execution units within the set, the execution units are arranged one by one to form an action sequence list. This action sequence list is then concatenated according to the unique numbers to determine the initial running sequence corresponding to the set of execution units.

[0050] In one implementation, the purchase list submitted by the customer often includes multiple sub-requirements such as dimensional measurement, appearance defect screening, character recognition verification, and flatness inspection. The purchase list is read in a structured manner, and each inspection indicator is broken down into its own sub-item. Three fields are extracted corresponding to each sub-requirement: the inspection object, the inspection location, and the inspection criteria, forming structured requirement entries. Each requirement entry is then assigned a sequence number according to the order in which it was entered.

[0051] Specifically, for each requirement item, the physical bearing method of the object to be inspected on the production line, the spatial position of the inspection part on the workpiece, and the action type constrained by the inspection criteria are all mapped to the corresponding workstation action.

[0052] For example, dimensional measurement targets the workpiece's contour edges, corresponding to an industrial camera imaging station and a laser displacement sensor scanning action; appearance defect screening targets the workpiece's surface area, corresponding to a ring light source illumination station and an area scan camera imaging action; character recognition and verification targets the workpiece's nameplate area, corresponding to a coaxial light station and a high-resolution image acquisition action. These station actions are grouped according to the smallest executable granularity of the hardware to obtain an execution unit set. Each execution unit in the execution unit set represents a complete, indivisible on-site hardware action. Each execution unit is assigned a unique number, which is formed by sequentially concatenating the requirement item number to which the execution unit belongs and the station action number under the same requirement item. This number serves both as a retrieval identifier within the execution unit set and as a basis for subsequent sequence concatenation.

[0053] Preferably, the sequential dependencies of detection actions among the execution units within the execution unit set are analyzed, based on the process flow sequence from the inspected workpiece and the preconditions of the detection criteria. If the positioning coordinates or trigger signals generated by an earlier execution unit are referenced by the detection criteria of a later execution unit, then the later execution unit is determined to be subject to the preconditions of the earlier execution unit. The execution units are arranged one by one according to the preconditions to form an action sequence list, and then the action sequence list is concatenated according to the unique number to determine the initial running sequence corresponding to the execution unit set.

[0054] Step S102: Based on the set of execution units, extract the hardware call record of each execution unit in the set of execution units under the initial running sequence, and obtain the resource usage characteristics corresponding to the hardware call record.

[0055] Based on the action trigger time and action duration of each execution unit within the initial running sequence, the motion platform workstation, light source power channel, and data transmission channel actually called by the execution unit are sampled and recorded. The hardware type, occupied time period, peak occupied time, and call frequency fields for each call are collected to form a hardware call record corresponding to the execution unit set. Based on the hardware call record, the hardware types within each record are categorized and aggregated. The occupied time periods under the same hardware type are concatenated into an occupied time axis. The peak occupied time and the call frequency are mapped one by one to the corresponding positions on the occupied time axis to obtain resource occupation characteristics that characterize the hardware occupation profile.

[0056] In one implementation, the execution units arranged in the initial running sequence do not run independently, but rather sequentially or in parallel utilize hardware resources such as motion platform workstations, light source power channels, and data transmission channels on the same set of field equipment. Collecting data on the actual hardware usage of each execution unit under the initial running sequence is a prerequisite for identifying potential subsequent resource contention.

[0057] Specifically, each execution unit in the set of execution units is traversed, and the action trigger time and action duration assigned to it by the initial running sequence are read, with this time period serving as a sampling window. Within the sampling window, the motion platform workstation number, light source power channel number, and data transmission channel number actually invoked by the execution unit are registered one by one. The registration content includes four types of fields: hardware type, occupied time period, peak occupied time, and call frequency.

[0058] It should be noted that the hardware type is used to distinguish the specific affiliation of the three major categories of hardware: motion platform, light source, and data transmission. The occupied time period starts from the moment the action is triggered and ends at the moment the action ends. The peak occupied time has different meanings for different hardware types: for the motion platform station, it is the ratio of the highest instantaneous operating speed of the platform's motion axis to its rated speed during the time period; for the light source power channel, it is the ratio of the maximum instantaneous power to its rated power during the time period; and for the data transmission channel, it is the ratio of the maximum instantaneous bandwidth to the channel's rated bandwidth during the time period. The call frequency records the number of times the same execution unit repeatedly calls the same hardware within the sampling window. The above four types of fields are written to disk one by one according to the execution unit, thus forming the hardware call record corresponding to the set of execution units.

[0059] In one possible implementation, hardware call records are stored in a table format organized by rows. Each row corresponds to one hardware call action, with the row header being a unique number of the execution unit, and the rows containing the specific values ​​of four types of fields. Further, the hardware call records are categorized and aggregated according to hardware type. All occupied time periods under the same motion platform workstation are concatenated and arranged chronologically to form the occupied time axis of that motion platform workstation. The same concatenation and arrangement is applied to occupied time periods under the same light source power channel to form the occupied time axis of that light source power channel. The same processing is applied to occupied time periods under the same data transmission channel to form the occupied time axis of that data transmission channel.

[0060] For example, if a motion platform workstation is occupied by execution units uniquely numbered 01-02 from the 3rd to the 5th second of the initial running sequence, and by execution units uniquely numbered 02-01 from the 6th to the 9th second, then the workstation's occupancy time axis will have two occupancy intervals, with the unique numbers of the source execution units recorded at the beginning and end of each interval. Based on this, the occupancy peak value is numerically marked within the corresponding occupancy interval on the occupancy time axis, and the call frequency is appended to the end of the same occupancy interval in count form, so that each occupancy interval carries both the occupancy peak value and the call frequency attribute. After the above classification, aggregation, and mapping labeling, each type of hardware forms an occupancy time axis composed of multiple occupancy intervals, and each occupancy interval carries both the occupancy peak value and the call frequency attribute. The sum of the occupancy time axes of multiple types of hardware constitutes the resource occupancy characteristic corresponding to the hardware call record. This resource occupancy characteristic depicts the occupancy profile of various hardware resources by the execution unit set under the initial running sequence.

[0061] Step S103: Based on the resource occupancy characteristics, the set of execution units is grouped to obtain candidate resource groups, and it is determined whether there is resource contention within the candidate resource groups.

[0062] Based on the occupancy timeline corresponding to each type of hardware within the resource occupancy characteristics, the unique execution unit number recorded at the beginning and end of each occupancy interval on the occupancy timeline, along with the start and end times of that occupancy interval, is extracted. Execution units sharing the same hardware, along with their occupancy intervals, are grouped together into the same candidate resource group, resulting in multiple candidate resource groups covering motion platform workstations, light source power channels, and data transmission channels. For each candidate resource group, pairwise comparisons are performed on the multiple occupancy intervals. If the start and end times of two occupancy intervals overlap, the occupancy peak values ​​carried by the two occupancy intervals during the overlapping period are superimposed according to the same hardware type to obtain a superimposed peak value. This superimposed peak value is compared with a preset percentage threshold, which is set to 1.0. If the superimposed peak value exceeds the percentage threshold, the candidate resource group is marked as a group with resource contention, and the unique execution unit numbers involved in the overlapping period are written into the contention marker list.

[0063] In one implementation, the resource occupancy characteristics have integrated the occupancy time axis, peak occupancy, and call frequency of the motion platform workstation, light source power channel, and data transmission channel into one unit. To determine whether multiple execution units will compete for resources on the same hardware, the preliminary step is to group execution units sharing the same hardware together to avoid unnecessary comparisons between execution units that do not share resources.

[0064] Specifically, the occupancy timeline corresponding to each type of hardware within the resource occupancy characteristics is traversed one by one. The unique execution unit number recorded at the beginning and end of each occupancy interval on the occupancy timeline, as well as the start and end times of that occupancy interval, are read. All execution units involved in the occupancy intervals under the same motion platform station, along with their respective start and end times of the occupancy intervals, are registered together in a consolidated list to obtain a candidate resource group corresponding to that motion platform station. The same processing is performed on the occupancy intervals under the same light source power channel and the same data transmission channel to form multiple candidate resource groups covering the three types of hardware.

[0065] It should be noted that the candidate resource group not only registers the unique number of the execution unit, but also carries the start and end times and peak usage of each execution unit's occupied interval on that hardware, providing a direct basis for subsequent pairwise comparisons. Furthermore, pairwise comparisons are performed on the multiple occupied intervals carried within each candidate resource group. Two occupied intervals are designated as the first occupied interval and the second occupied interval, respectively. The difference between the later start and end times of the first occupied interval and the earlier start and end times of the second occupied interval is calculated. If the difference between the earlier end time and the later start time is greater than zero, it is determined that the start and end times of the two occupied intervals overlap. The overlapping portion is designated as the overlapping period, with the start time of the overlapping period being the later start time of the two occupied intervals and the end time being the earlier end time of the two occupied intervals. Based on this, the peak usage values ​​carried by the two occupied intervals at the overlapping period are superimposed according to the same hardware type. The superposition rule is direct addition, and the superposition result is recorded as the superimposed peak value.

[0066] For example, if the same light source power channel simultaneously carries the power calls of two execution units during the same overlapping period, and the peak value occupied by the execution unit with unique number 01-02 during the overlapping period is 0.6, and the peak value occupied by the execution unit with unique number 02-01 during the overlapping period is 0.7, and both are superimposed on the light source power channel, then the superimposed peak value during the overlapping period is 1.3.

[0067] It is understood that the peak occupancy value is itself a ratio to the rated value, and its value ranges from 0 to 1.0. Therefore, when two or more occupancy intervals are occupied simultaneously under the same hardware type, if the superimposed peak value exceeds 1.0, it means that the hardware is required to bear a load exceeding its rated capacity. The superimposed peak value is compared with a preset percentage threshold. The preset percentage threshold can be preset according to the rated parameters of the hardware and the reserved safety margin. Its preferred value is 1.0, but it can also be appropriately lowered according to the reserved margin of the hardware on site, for example, to 0.9 to leave a safety margin. If the superimposed peak value exceeds the percentage threshold, it is determined that the candidate resource group has resource competition, and the candidate resource group is marked as a group with resource competition; if the superimposed peak value does not exceed the percentage threshold, no competition is marked.

[0068] In one possible implementation, the unique IDs of two or more execution units involved in overlapping time periods in candidate resource groups with resource contention are written into a contention flag list along with the start and end times of the overlapping time periods, the superposition peak value, and the hardware type. One record corresponds to one resource contention event. When multiple overlapping time periods occur in the same candidate resource group, multiple records are added sequentially.

[0069] Step S104: If resource contention exists, extract the timestamps of multiple target execution units within the candidate resource group under the initial running sequence, and determine the time-series blocking nodes with overlapping timestamps.

[0070] Based on the unique execution unit IDs recorded in the competition tag list, the start and end timestamps of the actions of multiple target execution units within the candidate resource group are extracted from the initial running sequence to obtain the timestamp intervals of the target execution units. Pairwise comparisons are performed on these timestamp intervals. If the end timestamp of the preceding interval is later than the start timestamp of the following interval, the later of the two start timestamps is taken as the start time of the overlapping intersection, and the earlier of the two end timestamps is taken as the end time of the overlapping intersection. The overlapping intersection, along with its start and end times and the unique execution unit IDs involved, is registered to determine the timing blocking nodes of the timestamp overlap.

[0071] In one implementation, the competition flag list already records the candidate resource groups with resource contention, the start and end times of overlapping periods, and the unique numbers of the execution units involved. To pinpoint these resource competitions to locatable nodes in the initial execution sequence, it is necessary to extract the start and end times of the relevant target execution units' actions from the timeline dimension.

[0072] Specifically, the unique IDs of the execution units recorded in the competition tag list are traversed, and each is considered a target execution unit. The initial execution sequence is traced back, and the action trigger entry assigned to the target execution unit in the initial execution sequence is located based on the unique ID. The start and end timestamps of the action marked in the entry are read, and these two timestamps constitute the timestamp interval of the target execution unit. Multiple target execution units involved in the competition tag list are extracted one by one to obtain multiple sets of timestamp intervals.

[0073] It should be noted that the timestamp intervals use a unified clock reference across the initial running sequence. Both the start and end timestamps are relative timestamps, referenced to the zero point of the initial running sequence, to avoid comparison discrepancies caused by inconsistencies in different hardware clocks. Subsequent pairwise comparisons and the determination of overlapping intersections all use this unified clock reference. Furthermore, pairwise comparisons are performed on multiple timestamp intervals within the same candidate resource group.

[0074] For example, the two target execution units involved in the comparison are denoted as Target Execution Unit A and Target Execution Unit B, respectively. If the timestamp interval of Target Execution Unit A is 2.0 seconds to 5.0 seconds, and the timestamp interval of Target Execution Unit B is 4.0 seconds to 7.0 seconds, and the end timestamp of Target Execution Unit A (5.0 seconds) is later than the start timestamp of Target Execution Unit B (4.0 seconds), then the later of the two start timestamps (4.0 seconds) is taken as the start time of the overlapping intersection, and the earlier of the two end timestamps (5.0 seconds) is taken as the end time of the overlapping intersection, forming an overlapping intersection with a time span of 4.0 seconds to 5.0 seconds. The overlapping intersection, along with its start and end times and the unique numbers of the multiple target execution units involved, is registered and assigned to obtain the time-series blocking nodes of the timestamp overlap. Each time-series blocking node corresponds to an overlapping time period in the initial running sequence where an action time-series blocking occurs.

[0075] Step S105: Based on the timing blocking node, prioritize the subdivided requirements corresponding to the multiple target execution units to obtain the dominant requirements and related requirements. Maintain the initial configuration of the dominant requirements and adjust the related requirements to obtain the adjusted configuration.

[0076] Based on the unique IDs of multiple target execution units registered within the time-series blocking node, the sub-requirements to which each unique ID belongs are traced back. The indicator level and requirement weight of each sub-requirement are read from the customer's procurement list. The indicator level is derived from the customer's grading of detection accuracy, detection cycle time, and detection coverage. The requirement weight is derived from the core score entered by the customer for each sub-requirement, resulting in priority reference items for multiple sub-requirements. Using these priority reference items, the sub-requirements corresponding to the multiple target execution units are compared pairwise. If the requirement weight of a certain sub-requirement is significantly higher than the others, it is determined as the dominant requirement. If there are ties in requirement weights, the one with the higher indicator level is designated as the dominant requirement, and the remaining sub-requirements under the same time-series blocking node are determined as related requirements, resulting in the classification results of dominant and related requirements. Based on the classification results, the initial configuration of the target execution unit corresponding to the dominant requirement is maintained under the initial running sequence, including the original action trigger time, action duration, the ratio of light source power to rated power, and the ratio of motion platform running speed to rated speed. The ratio of light source power to rated power and the ratio of motion platform running speed to rated speed of the target execution unit corresponding to the associated requirement are adjusted downward, and the action duration is extended proportionally to obtain the adjusted configuration.

[0077] In one implementation, the timing blocking node has registered the overlapping periods of action timing blocking along with the unique numbers of the multiple target execution units involved. The timing blocking node only indicates where timing blocking occurs, without specifying which sub-requirements should remain unchanged or which should be compromised. Therefore, it is necessary to determine the priority and correlation of sub-requirements based on their importance in order to make differentiated handling of the configurations subsequently.

[0078] Specifically, the unique IDs of multiple target execution units registered within the time-series blocking nodes are traversed. Based on the rules for constructing these unique IDs, the sequence number of the requirement item to which the unique ID belongs is traced back, thereby locating the corresponding sub-requirement within the customer's procurement list. For each sub-requirement, the indicator level and requirement weight fields marked in the customer's procurement list are read as priority reference items for that sub-requirement.

[0079] It should be noted that the indicator levels are derived from the three grading marks set by the customer on the procurement list for this specific requirement: testing accuracy, testing cycle time, and testing coverage. The grading uses three levels: A, B, and C. Level A corresponds to the most stringent level, Level B to a medium level, and Level C to a lenient level. The three grading marks are assigned according to the actual level filled in by the customer. The requirement weight is derived from the core score filled in by the customer for each specific requirement. The core score ranges from 0 to 10, reflecting the importance of that specific requirement in this procurement. The higher the score, the more central the specific requirement is in this procurement.

[0080] Preferably, the indicator levels and demand weights of the aforementioned multiple sub-demands are aggregated into a two-column reference table, with one row corresponding to one sub-demand and the two columns representing the indicator level and demand weight, respectively, forming a priority reference item for the multiple sub-demands. Further, pairwise comparisons are performed on multiple sub-demands involved under the same time-series blocking node, with the comparison criteria being demand weight and indicator level in that order. If the demand weight of a certain sub-demand is significantly greater than the demand weight of the other sub-demands under the same time-series blocking node, then that sub-demand is directly determined as the dominant demand, and the other sub-demands are determined as related demands.

[0081] It is understandable that clients often submit the same core score for multiple subdivided requirements. In such cases, a fallback rule needs to be introduced to prevent the attribution of the dominant requirement from being left undefined.

[0082] In one possible implementation, if two or more sub-requirements have the same highest weight, a second criterion is invoked to compare the indicator levels of the sub-requirements. Indicator level A is higher than level B, and level B is higher than level C. The sub-requirements are compared in the order of detection accuracy, detection cycle time, and detection coverage. The sub-requirement with the highest detection accuracy is determined as the dominant requirement. If the detection accuracy is still tied, the detection cycle time and detection coverage are compared sequentially until a hierarchy is established. After the pairwise comparisons and fallback rules described above, each sub-requirement under the same time-sequence blocking node obtains a classification result as either a dominant or related requirement. Based on this, according to the classification results, the target execution unit corresponding to the dominant requirement remains unchanged, maintaining the initial configuration under the initial running sequence. The initial configuration specifically includes the original action trigger time, action duration, the ratio of light source power to rated power, and the ratio of motion platform running speed to rated speed. All four items continue from their original positions in the initial running sequence. The target execution unit corresponding to the associated requirement is downgraded by adjusting its light source power ratio to rated power by 0.2 and its motion platform running speed ratio to rated speed by 0.2. The magnitude of the downward adjustment can be preset according to the rated parameter margin of the execution unit corresponding to the associated requirement and the safety operating margin of the field equipment.

[0083] For example, if the original ratio of the light source power to the rated power of the target execution unit corresponding to the associated requirement is 0.7, it will be adjusted to 0.5; if the original ratio of the motion platform's operating speed to the rated speed is 0.6, it will be adjusted to 0.4. Although the target execution unit corresponding to the associated requirement can continue to complete the detection action after the adjustment, the detection cycle time will be slower due to the reduced power and operating speed. Because the light source power and motion platform operating speed of the target execution unit corresponding to the associated requirement are reduced, the time required for the same action increases proportionally. The original action time is extended proportionally to the percentage reduction in the rated value, resulting in the adjusted action time of the target execution unit corresponding to the associated requirement.

[0084] Step S106: Through the initial configuration and the adjusted configuration, the execution actions of the multiple target execution units at the timing blocking node are rearranged in time sequence to obtain the target running sequence, and the target running sequence is output to the field running equipment.

[0085] Based on the initial configuration and the adjusted configuration, the action entries of the multiple target execution units at the time-series blocking nodes are backfilled. The action entries of the target execution units corresponding to the dominant requirement are returned to their original positions in the initial running sequence as configured. The action entries of the target execution units corresponding to the associated requirements replace the original parameters at their corresponding positions in the initial running sequence according to the adjusted configuration, resulting in a backfilled set of action entries. Using this backfilled set of action entries, trigger shifts are implemented for the multiple action entries that are blocked at the time-series blocking nodes. The trigger time of the action of the target execution unit corresponding to the associated requirement is shifted backward along the time axis to a time immediately after the end-time timestamp of the action of the target execution unit corresponding to the dominant requirement. The action duration adopts the adjusted action duration in the adjusted configuration, resulting in a staggered set of action entries. Based on the peak usage of each action item in the staggered action item set under the same hardware type, the superimposed peak value at the timing blocking node is reviewed and compared. If the superimposed peak value no longer exceeds the preset percentage threshold, the staggered action item set is refreshed as the target running sequence according to the unique number and output to the field running equipment. If the superimposed peak value still exceeds the preset percentage threshold, the action triggering time of the target execution unit corresponding to the associated requirement is shifted backward along the time axis by one action duration until the review is passed.

[0086] In one implementation, the initial configuration and the adjusted configuration are already pointed to the target execution units corresponding to the dominant requirement and the related requirement, respectively. To completely resolve resource contention in the initial execution sequence, the two types of configurations need to be backfilled onto the action entries that are blocked, and then the action entries corresponding to the related requirements need to be moved away along the time axis to avoid the on-site execution of the dominant requirement being constrained.

[0087] Specifically, the unique IDs of multiple target execution units registered within the time-series blocking nodes are traversed, and the corresponding action entry positions are located on the initial running sequence according to the unique IDs. For the target execution unit corresponding to the dominant requirement, the action trigger time, action duration, light source power ratio to rated power, and motion platform running speed ratio to rated speed in the initial configuration are returned to the action entry position as is, without any modification. For the target execution unit corresponding to the associated requirement, the adjusted light source power ratio to rated power, adjusted motion platform running speed ratio to rated speed, and adjusted action duration in the adjusted configuration are replaced field by field with the original parameters of the action entry position to obtain the backfilled action entry set.

[0088] It should be noted that the set of backfilled action entries remains consistent with the action triggering times on the timeline when resource contention occurs. The action triggering times of the target execution units corresponding to the dominant and related requirements have not been moved; only the corresponding action parameters have been differentiated. Furthermore, the set of backfilled action entries is used to perform trigger shifting on multiple action entries that are blocked at the time-series blocking node.

[0089] Specifically, the trigger time of the action of the target execution unit corresponding to the dominant requirement is kept unchanged. The value obtained by adding the action trigger time of the target execution unit to the action duration in the initial configuration is read and used as the action end time timestamp of the target execution unit corresponding to the dominant requirement. Then, the trigger time of the action of the target execution unit corresponding to the associated requirement is moved from the original action trigger time to a time immediately after the action end time timestamp of the target execution unit corresponding to the dominant requirement. "Immediately after" means that there is no time overlap between the two and the time interval is not less than the shortest switching gap of the field operating equipment. The shortest switching gap can be preset according to the model or factory parameters of the field operating equipment. For example, 0.1 seconds is taken as the shortest switching gap.

[0090] For example, if the original action trigger time of the target execution unit corresponding to the dominant requirement is 3.0 seconds and the initial action duration is 2.0 seconds, then its action end timestamp is 5.0 seconds; if the original action trigger time of the target execution unit corresponding to the associated requirement is 4.0 seconds, then its action trigger time is moved from 4.0 seconds to 5.1 seconds. Based on this, the moved action trigger time, together with the adjusted action duration in the adjusted configuration, is written into the action entry of the target execution unit corresponding to the associated requirement. The action entries of other non-blocking nodes are retained as they were in the backfilled state, thus obtaining the set of action entries after peak shifting. Furthermore, the peak occupancy of each action item in the staggered action item set under the same hardware type is reviewed and compared. The review method is the same as the rule for obtaining the superimposed peak value. It is read whether there are still two or more coexisting occupancy intervals at the time point where the original overlapping period of the timing blockage node is located in the staggered action item set. If they coexist, the superimposed peak value at that time point is recalculated according to the superposition rule. If they no longer coexist, the superimposed peak value is no longer calculated, and the occupancy peak value corresponding to the individual action item at that time point is directly recorded as the reviewed occupancy peak value. If neither the superimposed peak value nor the reviewed occupancy peak value exceeds the preset percentage threshold, the preset percentage threshold is set to the aforementioned value of 1.0, then it is determined that the timing blockage node has been resolved. The staggered action item set is refreshed into the target running sequence in ascending order of the unique number. The target running sequence is stored on disk in a behavioral organization form. Each row corresponds to one action item. The row is filled with the unique number, action trigger time, action duration, light source power ratio to rated power, and motion platform running speed ratio to rated speed in sequence.

[0091] It is understandable that the combination of action duration and peak occupancy in pre-sales industrial testing scenarios is diverse, and a single trigger shift may not be able to reduce the superimposed peak occupancy below the preset percentage threshold. If the superimposed peak occupancy still exceeds the preset percentage threshold, the action trigger time of the target execution unit corresponding to the associated requirement is shifted backward along the time axis by an adjusted action duration, and the peak occupancy verification comparison is performed again. This trigger shift and verification comparison are repeated until the superimposed peak occupancy drops below the preset percentage threshold before being refreshed as the target running sequence. If the consecutive shifts reach 5 times and still do not converge to below the preset percentage threshold, the automatic rearrangement of the timing blockage node is stopped and the timing blockage node is marked as a node to be manually checked. The set of action entries after peak shifting for the remaining non-timing blockage nodes is still refreshed as the target running sequence according to the aforementioned rules. The upper limit of the number of consecutive shifts can be preset according to the timing adjustment tolerance and the maximum allowable delay time of the field equipment.

[0092] Preferably, the target running sequence is output to the lower-level control terminals of the motion platform station, the light source power channel, and the data transmission channel through the command issuance channel agreed upon by the field running equipment. The command issuance channel is used to carry control commands and is independent of the data transmission channel that carries the return of detection data. The lower-level control terminal triggers the execution action of the corresponding hardware in sequence according to the parameters carried in each action item in the target running sequence, so as to complete the field implementation of multiple subdivided requirements.

[0093] The preferred embodiments of the present invention disclosed above are merely illustrative of the invention. These preferred embodiments do not exhaustively describe all details, nor do they limit the invention to any specific implementation. Clearly, many modifications and variations can be made based on the content of this specification. This specification selects and specifically describes these embodiments to better explain the principles and practical applications of the invention, thereby enabling those skilled in the art to better understand and utilize the invention. The invention is limited only by the claims and their full scope and equivalents.

Claims

1. A method for intelligent matching and generating pre-sales solutions, characterized in that, The method includes: Obtain detailed requirements, and from these detailed requirements, obtain the corresponding set of execution units and the initial running sequence corresponding to the set of execution units; Based on the set of execution units, extract the hardware call record of each execution unit in the set of execution units under the initial running sequence, and obtain the resource usage characteristics corresponding to the hardware call record; Based on the resource occupancy characteristics, the set of execution units is grouped to obtain candidate resource groups, and it is determined whether there is resource contention within the candidate resource groups; If resource contention exists, the timestamps of multiple target execution units within the candidate resource group under the initial running sequence are extracted to determine the time-sequence blocking nodes with overlapping timestamps. Based on the time-series blocking nodes, the subdivided requirements corresponding to the multiple target execution units are prioritized to obtain the dominant requirements and related requirements. The dominant requirements are kept in their initial configuration, and the related requirements are adjusted to obtain the adjusted configuration. By using the initial configuration and the adjusted configuration, the execution actions of the multiple target execution units at the timing blocking node are rearranged in time to obtain the target running sequence, and the target running sequence is output to the field running equipment.

2. The pre-sales solution intelligent matching and generation method according to claim 1, characterized in that, The step of obtaining detailed requirements, and obtaining the corresponding set of execution units and the initial running sequence corresponding to the set of execution units, includes: From the detailed requirements of the customer's procurement list, the workstation actions corresponding to each testing indicator are extracted to obtain a set of execution units, and each execution unit in the set of execution units is assigned a unique number. The execution units within the execution unit set are arranged sequentially according to the dependencies between their detection actions to form an action sequence list. The action sequence list is then concatenated according to the unique number to determine the initial running sequence.

3. The pre-sales solution intelligent matching and generation method according to claim 1, characterized in that, The step of extracting the hardware call record of each execution unit in the set of execution units under the initial running sequence includes: Based on the action trigger time and action duration of each execution unit in the initial running sequence, the motion platform station, light source power channel and data transmission channel called by the execution unit are sampled and recorded. Collect the fields of hardware type, time period occupied, peak usage and call frequency for each call to form the hardware call record corresponding to the set of execution units.

4. The pre-sales solution intelligent matching and generation method according to claim 1, characterized in that, Obtaining the resource usage characteristics corresponding to the hardware call record includes: Based on the hardware type of each record in the hardware call record, the occupied time periods under the same hardware type are categorized and aggregated to form an occupied time axis. The peak usage and call frequency of each record are mapped one by one to the corresponding position on the usage time axis to obtain the resource usage characteristics.

5. The pre-sales solution intelligent matching and generation method according to claim 3, characterized in that, The step of grouping the execution unit set based on the resource occupancy characteristics to obtain candidate resource groups, and determining whether resource contention exists within the candidate resource groups, includes: Based on the time axis of each type of hardware within the resource occupancy characteristics, extract the unique number of the execution unit at the beginning and end of the occupancy interval and the start and end time, and group the execution units that share the same hardware together with the occupancy interval into the same candidate resource group. For each pair of occupied intervals within the candidate resource group, if the start and end times overlap, the occupancy peak values ​​of the two occupied intervals during the overlapping period are superimposed according to the same hardware type to obtain the superimposed peak value. The superimposed peak value is compared with a preset percentage threshold. If it exceeds the preset percentage threshold, the candidate resource group is marked as a group with resource competition, and the unique number of the execution unit involved is registered in the competition mark list.

6. The pre-sales solution intelligent matching and generation method according to claim 5, characterized in that, If resource contention exists, the timestamps of multiple target execution units within the candidate resource group under the initial running sequence are extracted, and the time-series blocking nodes with overlapping timestamps are determined, including: Based on the unique ID of the execution unit in the competition tag list, extract the start time stamp and end time stamp of each of the multiple target execution units from the initial running sequence to obtain the timestamp interval; The timestamp intervals are compared pairwise. If the end timestamp of the previous interval is later than the start timestamp of the next interval, the later start timestamp is taken as the start time of the overlap intersection, and the earlier end timestamp is taken as the end time of the overlap intersection. The time-series blocking node is then registered.

7. The pre-sales solution intelligent matching and generation method according to claim 6, characterized in that, The step of prioritizing the subdivided requirements corresponding to the multiple target execution units based on the time-series blocking nodes to obtain the dominant requirements and related requirements includes: Based on the unique IDs of multiple target execution units registered within the time-series blocking node, the sub-requirements to which the unique IDs belong are traced back, and the indicator level and requirement weight marked in the customer's procurement list for each sub-requirement are read to obtain the priority reference items for multiple sub-requirements; the indicator level includes detection accuracy level, detection cycle time level, and detection coverage level, with level A being higher than level B being higher than level C. Based on the priority reference item, the sub-requirements corresponding to the multiple target execution units are compared pairwise. If the requirement weight of a certain sub-requirement is higher than that of the other sub-requirements, then the sub-requirement is determined to be the dominant requirement. If there are demands with the same weight, the detection accuracy level is compared, and the demand with the higher detection accuracy level is determined to be the dominant demand. If the detection accuracy level is still tied, the detection cycle time level is compared, and the demand with the higher detection cycle time level is determined to be the dominant demand. If the detection cycle time level is still tied, the detection coverage level is compared, and the demand with the higher detection coverage level is determined to be the dominant demand. Other sub-demands under the same time-series blocking node are determined to be related demands.

8. The pre-sales solution intelligent matching and generation method according to claim 7, characterized in that, The process of maintaining the initial configuration for the dominant requirement and adjusting the associated requirements to obtain the adjusted configuration includes: The target execution unit corresponding to the dominant requirement maintains the initial configuration under the initial running sequence. The initial configuration includes the action trigger time, action duration, the ratio of light source power to rated power, and the ratio of motion platform running speed to rated speed. The ratio of the light source power to the rated power and the ratio of the motion platform running speed to the rated speed of the target execution unit corresponding to the associated requirements are adjusted downwards, and the action duration is extended backwards in the same proportion to obtain the adjusted configuration.

9. The pre-sales solution intelligent matching and generation method according to claim 8, characterized in that, The step of reordering the execution actions of the multiple target execution units at the timing blocking node through the initial configuration and the adjusted configuration includes: Based on the initial configuration and the adjusted configuration, the action entries of the multiple target execution units at the time-series blocking node are backfilled to obtain a set of backfilled action entries. For multiple action entries that are blocked at the time-series blocking node in the backfilled action entry set, trigger shift is performed, and the action trigger time of the target execution unit corresponding to the associated requirement is shifted along the time axis to after the action end time stamp of the target execution unit corresponding to the dominant requirement. The action duration is adopted as the adjusted action duration, and the staggered action entry set is obtained.

10. The pre-sales solution intelligent matching and generation method according to claim 9, characterized in that, The process of obtaining the target operating sequence and outputting the target operating sequence to the field operating equipment includes: Based on the peak occupancy of each action item in the staggered action item set under the same hardware type, the superimposed peak value at the timing blocking node is reviewed and compared. If the superimposed peak value does not exceed the preset percentage threshold, the set of action items after peak shifting is refreshed into the target running sequence according to the unique number, and the target running sequence is output to the field running equipment. If the superimposed peak value exceeds the preset percentage threshold, the action trigger time of the target execution unit corresponding to the associated requirement is shifted backward along the time axis by one adjusted action duration, and the review and comparison are re-executed. If the superimposed peak value still exceeds the preset percentage threshold after a preset number of consecutive shifts, then the rearrangement of the time-series blocking node is stopped, the time-series blocking node is marked as a node to be manually processed, and the set of action entries after peak shifting other than the time-series blocking node is refreshed into the target running sequence according to the unique number, and the target running sequence is output to the field running equipment.