Electronic Map Service Testing via Static and Dynamic Request Screening
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing methods for testing electronic map services are inefficient, requiring long drainage times to achieve high coverage rates, which hinders rapid product iteration and is dependent on time and traffic size, limiting scenario coverage during short-time pressure tests.
Innovation Solution
A method and apparatus that determine a to-be-screened service request based on a preset sampling frequency, using both static and dynamic screening rules to obtain first and second valid service request sets, allowing for effective testing of electronic map services with high scenario coverage under short-time pressure.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If traditional drainage testing is used to achieve high scenario coverage, then coverage rate is improved, but testing time is excessively long
Solution Approach 1:
The patent applies preliminary action by pre-processing service requests through static screening rules before actual testing. Service requests are screened in advance to identify valid ones that meet coverage requirements, so that during the testing phase, only pre-validated requests need to be executed. This eliminates the need for lengthy drainage testing while ensuring high scenario coverage, as the screening is performed beforehand.
2Productivity
If service requests are screened using only static rules, then screening speed is improved, but screening accuracy is insufficient
Solution Approach 1:
The patent merges two different screening approaches: static screening rules and dynamic test steps. Static rules provide fast initial filtering based on predefined criteria, while dynamic test steps perform more rigorous validation on the filtered results. This combination achieves both high screening speed (from static rules) and high screening accuracy (from dynamic validation), resolving the contradiction between speed and precision.
3Quantity of substance
If middleware drainage is used to transmit real-time requests, then traffic coverage is improved, but system complexity increases
Solution Approach 1:
The patent extracts and isolates the screening function into an independent module that operates separately from the main service flow. By taking out the screening process (both static and dynamic) as a distinct preprocessing stage, the system can achieve comprehensive traffic coverage without requiring complex middleware drainage infrastructure. The extracted screening module handles traffic validation independently, reducing overall system complexity while maintaining coverage.
Data Source
AI summary
A method and apparatus for testing a map service are provided. The method may include: determining a to-be-screened service request based on a service request of an electronic map recorded in advance at a preset sampling frequency; screening the to-be-screened service request by using a static rule, to obtain a first valid service request set; screening the to-be-screened service request by using a dynamic test step, to obtain a second valid service request set; and testing a service of the electronic map based on the first valid service request set and the second valid service request set.


