WO2021196454A1 - 一种数据检测方法、设备、服务器及可读存储介质 - Google Patents
一种数据检测方法、设备、服务器及可读存储介质 Download PDFInfo
- Publication number
- WO2021196454A1 WO2021196454A1 PCT/CN2020/103410 CN2020103410W WO2021196454A1 WO 2021196454 A1 WO2021196454 A1 WO 2021196454A1 CN 2020103410 W CN2020103410 W CN 2020103410W WO 2021196454 A1 WO2021196454 A1 WO 2021196454A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- state
- data
- processed
- test case
- functional module
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3684—Test management for test design, e.g. generating new test cases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
Definitions
- This application relates to the field of data processing technology, and in particular to a data detection method, device, server, and readable storage medium.
- test cases for data inspection is basically based on the requirement document. According to the tester’s experience, the test case is designed. Whether the description of the requirement document is complete will affect the coverage of the user scenario of the test case in the data inspection to a certain extent. If the requirements document description is not specific enough, and the description of a certain scene state is omitted, it will cause the test case to miss a certain user scene, and then the defect in the data detection process cannot be found in the testing phase, and the test effect is poor.
- Marketing activities are mainly based on the data in the demand document to detect whether there are defects in the marketing activity process. However, this method may not detect the marketing when the data description in the demand document is not specific enough. Defects in the activity process, resulting in a poor user experience of marketing activities. Therefore, how to perform data detection more effectively has become an important research problem.
- the embodiments of the present application provide a data detection method, device, server, and readable storage medium, which can automatically complete test cases and improve the accuracy and efficiency of data detection.
- an embodiment of the present application provides a data detection method, including:
- the test case of the to-be-processed data is compared with the finite state machine to determine whether there are missing functional modules in the test case of the to-be-processed data.
- the finite state machine is composed of at least one test case, and the at least Each test case in a test case is composed of functional modules and state paths of the data to be processed;
- the missing functional module is added to the test case.
- an embodiment of the present application provides a data detection device, which includes a unit for executing the data detection method of the first aspect.
- an embodiment of the present application provides a server, including a processor, an input device, an output device, and a memory.
- the processor, input device, output device, and memory are connected to each other, wherein the memory is used for storage support
- the data detection device executes a computer program of the foregoing method, the computer program includes a program, and the processor is configured to call the program to execute the method of the foregoing first aspect.
- an embodiment of the present application provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement the method of the first aspect described above.
- the embodiment of this application compares the finite state machine of the functional modules in the data to be processed with the test cases, and adds the missing functional modules in the test cases to the test cases to automatically complete the test cases and improve the accuracy of data detection. And efficiency.
- FIG. 1 is a schematic flowchart of a data detection method provided by an embodiment of the present application
- Figure 2a is a schematic diagram of a finite state machine provided by an embodiment of the present application.
- Figure 2b is a schematic diagram of another finite state machine provided by an embodiment of the present application.
- FIG. 3 is a schematic block diagram of a data detection device provided by an embodiment of the present application.
- Fig. 4 is a schematic block diagram of a server provided by an embodiment of the present application.
- the data detection method provided by the embodiment of the present application may be executed by a data detection device, wherein the data detection device may be set on a server.
- the data detection device may be installed on a server; in some embodiments, the data detection device may be spatially independent of the server; in some embodiments, the data The detection device may be a component of the server, that is, the server includes a data detection device.
- the data detection device can obtain the demand document of the data to be processed, and parse the demand document to obtain the functional module in the data to be processed, according to the status information of the functional module in the data to be processed , Determine the finite state machine corresponding to the functional module in the data to be processed, and compare the test case of the data to be processed with the finite state machine to determine whether there is an omission in the test case of the data to be processed If it is determined that there is a missing function module in the test case of the data to be processed, the missing function module is added to the test case.
- the missing functional modules in the test case can be automatically completed, the effectiveness of the detection of the to-be-processed data is improved, and the overhead of the detection of the to-be-processed data is saved.
- FIG. 1 is a schematic flowchart of a data detection method provided by an embodiment of the present application. As shown in FIG. 1, the method can be executed by a data detection device. The specific explanation of the data detection device is as described above I will not repeat them here. Specifically, the method of the embodiment of the present application includes the following steps.
- S101 Obtain a demand document of the data to be processed, and parse the demand document to obtain a functional module in the data to be processed.
- the data detection device can obtain the demand document of the data to be processed, and parse the demand document to obtain the functional module in the data to be processed.
- the data to be processed includes but is not limited to the data of each functional module.
- the functional module includes but is not limited to the operation entry of the data to be processed.
- the functional modules include functional modules such as sharing of marketing activities and lottery.
- the demand document of the data to be processed may include, but is not limited to, the function description information of each functional module in the data to be processed.
- the demand document includes but is not limited to the activity process of a marketing activity. , Activity rules and other description information.
- the data detection device when the data detection device parses the demand document to obtain the functional modules in the data to be processed, it may use a deep learning model to parse the demand document of the data to be processed to obtain the Functional modules in the data to be processed.
- S102 Determine a finite state machine corresponding to the functional module in the to-be-processed data according to the state information of the functional module in the to-be-processed data.
- the data detection device may determine the finite state machine corresponding to the functional module in the data to be processed according to the state information of the functional module in the data to be processed.
- the finite state machine is used to represent a finite number of states and a mathematical model of behaviors such as transitions and actions between these states.
- the data detection device when it determines the finite state machine corresponding to the functional module in the to-be-processed data according to the state information of the functional module in the to-be-processed data, it can acquire the data in the to-be-processed data
- the state information of the functional module of the wherein the state information includes the initial state, the target state, the current state, the transition condition, the transition state, and/or the transition action, and according to the state information of the functional module in the to-be-processed data, It is judged whether the functional module in the data to be processed meets the conditions described by using a finite state machine, and if the judgment result is satisfied, the finite state machine corresponding to the functional module in the data to be processed can be determined.
- the initial state in the finite state machine refers to the state where the start position is; the target state in the finite state machine refers to the state where the end position is;
- the current state refers to the current state;
- the transition condition of the finite state machine is also called an "event", when a transition condition is met, a transition action can be triggered, or a state transition can be performed;
- the finite state refers to a new state to be migrated to after the transition condition is met;
- the transition action of the finite state machine refers to the action that can be executed after the transition condition is met.
- the transition condition refers to a condition for switching between various states.
- the data detection device judges whether the function module in the data to be processed meets the conditions described by using the finite state machine according to the state information of the function module in the data to be processed, it can be based on the The initial state, target state, current state, conversion condition, migration state, and/or conversion action of the functional module in the to-be-processed data are used to determine whether the functional module in the to-be-processed data satisfies the conditions described by the finite state machine.
- the state information of the functional module in the to-be-processed data includes the initial state and the target state, it can be determined that the functional module in the to-be-processed data satisfies the condition described by using a finite state machine.
- the state information of the functional module in the to-be-processed data includes the initial state state 1 and the target state being state 2, it can be determined that the finite state machine is: start ⁇ state1 ⁇ state2 ⁇ end, Among them, start is used to indicate the beginning, and end is used to indicate the end.
- the state information of the functional module in the to-be-processed data includes the initial state, the current state, and the target state, it can be determined that the functional module in the to-be-processed data meets the conditions described by the finite state machine .
- the state information of the functional module in the data to be processed includes the initial state state 1, the current state is state 2, and the target state is state 3, it can be determined that the finite state machine is: start ⁇ state 1. ⁇ State 2 ⁇ State 3 ⁇ end.
- the state information of the functional module in the data to be processed includes the initial state, current state, migration state, target state, and conversion conditions. It can be determined that the functional module in the data to be processed meets the requirements of using a finite state machine. Describe the conditions.
- the state information of the functional module in the to-be-processed data includes the initial state state 1, the current state is state 2, the transition state is state 3, the target state is state 4, and the transition condition, it can be determined that the The finite state machine is: start ⁇ state 1 ⁇ state 2 ⁇ state 3 ⁇ state 4 ⁇ end, in which state 3 is converted to state 4 through the conversion condition.
- the state information of the functional module in the data to be processed includes the initial state, current state, migration state, target state, conversion condition, and conversion action, it can be determined that the functional module in the data to be processed satisfies the use of The condition under which the finite state machine is described.
- the state information of the functional module in the to-be-processed data includes the initial state state 1, the current state is state 2, the transition state is state 3, the target state is state 4, the conversion condition and the conversion action, then It is determined that the finite state machine is: start ⁇ state 1 ⁇ state 2 ⁇ state 3 ⁇ state 4 ⁇ end, where the state 3 is converted to the state 4 through a conversion condition and the conversion action is executed.
- the data detection device when it determines the finite state machine corresponding to the functional module in the data to be processed, it can analyze the initial state, target state, current state, and conversion of the functional module in the data to be processed. Conditions, transition states, and/or transition actions are analyzed to determine at least one state path corresponding to the functional module in the to-be-processed data, wherein each state path in the at least one state path corresponds to a functional module , And determine the finite state machine corresponding to the functional module in the data to be processed according to at least one state path corresponding to the functional module in the data to be processed.
- the state path refers to the path taken when switching from one state to another state; in some embodiments, the one state path corresponds to a functional module; in some embodiments
- the states in the state path refer to nodes in the data to be processed. In an example, the states in the state path may refer to nodes in each process in a marketing activity.
- the data detection device determines that at least one state path corresponding to the functional module in the data to be processed includes: start ⁇ state 1 ⁇ state 2 ⁇ state 4 ⁇ end, start ⁇ state 1 ⁇ state 3 ⁇ State 4 ⁇ end, start ⁇ state 1 ⁇ state 2 ⁇ state 3 ⁇ state 4 ⁇ end, these 3 state paths, based on these 3 state paths, determine the data to be processed as shown in Figure 2a
- the functional modules in the finite state machine correspond to the finite state machine, where Fig. 2a is a schematic diagram of a finite state machine provided by an embodiment of the present application.
- a marketing campaign that takes the old and the new requires users to share with friends, and the friends complete registration. After the friends complete the registration, they will give some rewards to the old users and some rewards to the newly registered users.
- Each status can include: user not yet Sharing, user shared, friend not registered, friend registered, user reward is not issued, user reward is issued, friend bonus is not issued, friend bonus is issued, etc.
- the state path can be divided into two state paths according to whether each state is completed and the function of reward distribution.
- One state path can be: start ⁇ user not shared ⁇ user shared ⁇ friend unregistered ⁇ friend registered ⁇ end; the other
- the status path can be: start ⁇ friend unregistered ⁇ friend reward not issued ⁇ user reward not issued ⁇ end.
- the data detection device analyzes the initial state, target state, current state, conversion condition, migration state, and/or conversion action of the functional module in the to-be-processed data, and determines that it is compatible with the to-be-processed data.
- the initial state, target state, current state, transition condition, transition state, and/or transition action of the functional module in the data to be processed can be analyzed to determine The initial state, target state, current state, conversion condition, migration state, and/or the association relationship among the conversion actions of the functional modules in the to-be-processed data, and based on the initial state, target state, current state, The association relationship between the conversion condition, the migration state, and/or the conversion action determines at least one state path corresponding to the functional module in the to-be-processed data.
- Fig. 2b is a schematic diagram of another finite state machine provided by an embodiment of the present application. As shown in Fig. 2b, it includes state 1, state 2, state 3, and state 4. The conversion conditions therebetween include conversion condition 1, conversion condition 2, conversion condition 3, conversion condition 4, and conversion condition 5. In some embodiments, the conversion conditions may be the same or different. According to the finite state machine shown in Figure 2b, the relationship between the various states and transition conditions can be determined, and multiple state paths corresponding to the finite state machine shown in Figure 2b can be determined according to different current states and transition conditions. As follows:
- the state path (1) is determined based on the current state of state 2 and the transition condition 2
- the state path (2) is determined based on the current state of state 3 and the transition condition 4
- the state path (3) is based on the current state of State 2
- the transition state is determined by state 3, transition condition 5, and transition condition 4.
- S103 Compare the test case of the to-be-processed data with the finite state machine, and determine whether there are missing functional modules in the test case of the to-be-processed data.
- the data detection device may compare the test case of the to-be-processed data with the finite state machine to determine whether there are missing functional modules in the test case of the to-be-processed data.
- the finite state machine It is composed of at least one test case, and each test case in the at least one test case is composed of a function module and a state path of the data to be processed.
- the data detection device compares the test case of the to-be-processed data with the finite state machine to determine whether there are missing functional modules in the test case of the to-be-processed data, it can obtain the to-be-processed data.
- a test case for processing data the test case includes at least one state path determined by a designated initial state and a designated current state, and at least one state path determined by the designated initial state and the designated current state in the test case is related to the In the finite state machine, at least one state path corresponding to the designated initial state and the designated current state is compared, and if the comparison result is inconsistent, it is determined that there is a missing functional module in the test case of the to-be-processed data.
- the data detection device determines that there are missing functional modules in the test case of the data to be processed, if the comparison result is that the finite state machine includes at least one missing function module that does not exist in the test case
- the state path is to determine the missing functional module corresponding to the at least one missing state path, and the at least one missing state path is a state path corresponding to the specified initial state and the specified current state.
- the state path in the finite state machine is: start ⁇ state 1 ⁇ state 2 ⁇ state 4 ⁇ end, start ⁇ state 1 ⁇ state 3 ⁇ state 4 ⁇ end, start ⁇ state 1 ⁇ state 2 ⁇ state 3 ⁇ state 4 ⁇ end, if the specified initial state of the test case input is state 1, the current state is specified as state 2, and the test case is: start ⁇ state 1 ⁇ state 2 ⁇ state 4 ⁇ end, you can put the test case in Comparing the state path of with the state path in the above finite state machine, it can be concluded that the state path is omitted in the test case: start ⁇ state 1 ⁇ state 2 ⁇ state 3 ⁇ end, start ⁇ state 1 ⁇ state 2 ⁇ State 3 ⁇ State 4 ⁇ end, so it can be determined that start ⁇ state 1 ⁇ state 2 ⁇ state 3 ⁇ end and start ⁇ state 1 ⁇ state 2 ⁇ state 3 ⁇ state 4 ⁇ end are the missing state paths, so as to determine the The function module corresponding to the missing state path start ⁇ state1 ⁇ state2 ⁇ state3 ⁇ end and start ⁇ state1 ⁇ state
- the missing state path in the test case can be automatically determined, which helps to automatically complete the test case and improve the accuracy and efficiency of data detection.
- the missing functional module is added to the test case.
- the data detection device when the data detection device adds the missing functional module to the test case, it may compare the test case included in the finite state machine that does not exist with the specified initial state and all the test cases. At least one missing state path corresponding to the specified current state is added to the test case.
- the missing state path in the test case is: start ⁇ state 1 ⁇ state 2 ⁇ state 3 ⁇ state 4 ⁇ end, the missing state path can be added to the test case.
- test cases can be automatically completed, and the accuracy and efficiency of data detection can be improved.
- the data detection device after the data detection device adds the missing functional module to the test case, it can also compare the test case after adding the at least one missing state path with the finite state machine, if If the comparison results are consistent, it can be determined that there are no missing functional modules in the test case of the to-be-processed data.
- the data detection device compares the finite state machine of the functional modules in the data to be processed with the test cases, and adds the missing functional modules in the test cases to the test cases to automatically complete the test cases and improve The accuracy and efficiency of data detection.
- the embodiment of the present application also provides a data detection device, which is used to execute the unit of any one of the foregoing methods.
- FIG. 3 is a schematic block diagram of a data detection device provided by an embodiment of the present application.
- the data detection device of this embodiment includes: an acquiring unit 301, a determining unit 302, a comparing unit 303, and an adding unit 304.
- the acquiring unit 301 is configured to acquire a demand document of the data to be processed, and parse the demand document to obtain a functional module in the data to be processed;
- the determining unit 302 is configured to determine a finite state machine corresponding to the functional module in the data to be processed according to the state information of the functional module in the data to be processed;
- the comparison unit 303 is configured to compare the test case of the to-be-processed data with the finite state machine to determine whether there are missing functional modules in the test case of the to-be-processed data, and the finite state machine is tested by at least one Use case composition, each of the at least one test case is composed of a function module and a state path of the data to be processed;
- the adding unit 304 is configured to, if it is determined that there is a missing functional module in the test case of the data to be processed, add the missing functional module to the test case.
- the determining unit 302 determines the finite state machine corresponding to the function module in the data to be processed according to the state information of the function module in the data to be processed, it is specifically used for:
- the state information includes an initial state, a target state, a current state, a transition condition, a transition state, and/or a transition action;
- the state information of the functional modules in the to-be-processed data determine whether the functional modules in the to-be-processed data meet the conditions described by using a finite state machine
- the finite state machine corresponding to the function module in the data to be processed is determined.
- the determining unit 302 determines the finite state machine corresponding to the function module in the to-be-processed data, it is specifically used for:
- a finite state machine corresponding to the functional module in the data to be processed is determined.
- the determining unit 302 analyzes the initial state, target state, current state, conversion condition, migration state, and/or conversion action of the functional module in the to-be-processed data, and determines that it is related to the to-be-processed data.
- the determining unit 302 analyzes the initial state, target state, current state, conversion condition, migration state, and/or conversion action of the functional module in the to-be-processed data, and determines that it is related to the to-be-processed data.
- the determining unit 302 analyzes the initial state, target state, current state, conversion condition, migration state, and/or conversion action of the functional module in the to-be-processed data, and determines that it is related to the to-be-processed data.
- At least one state path corresponding to the functional module in the to-be-processed data is determined.
- comparison unit 303 compares the test case of the to-be-processed data with the finite state machine to determine whether there are missing functional modules in the test case of the to-be-processed data, it is specifically used to:
- test case Acquiring a test case of the to-be-processed data, the test case including at least one state path determined by a designated initial state and a designated current state;
- the comparison unit 303 has inconsistent comparison results, when determining that there is a missing functional module in the test case of the data to be processed, it is specifically used to:
- the finite state machine includes at least one missing state path that does not exist in the test case, determine the missing functional module corresponding to the at least one missing state path, and the at least one missing state path
- the state path is a state path corresponding to the designated initial state and the designated current state.
- the adding unit 304 adds the missing functional module to the test case, it is specifically used for:
- the adding unit 304 adds the missing functional module to the test case, it is also used to:
- the data detection device compares the finite state machine of the functional modules in the data to be processed with the test cases, and adds the missing functional modules in the test cases to the test cases to automatically complete the test cases and improve The accuracy and efficiency of data detection.
- FIG. 4 is a schematic block diagram of a server provided by an embodiment of the present application.
- the server in this embodiment as shown in the figure may include: one or more processors 401; one or more input devices 402, one or more output devices 403, and a memory 404.
- the aforementioned processor 401, input device 402, output device 403, and memory 404 are connected via a bus 405.
- the memory 404 is configured to store a computer program, and the computer program includes a program, and the processor 401 is configured to execute the program stored in the memory 404.
- the processor 401 is configured to call the program to execute:
- the test case of the to-be-processed data is compared with the finite state machine to determine whether there are missing functional modules in the test case of the to-be-processed data.
- the finite state machine is composed of at least one test case, and the at least Each test case in a test case is composed of functional modules and state paths of the data to be processed;
- the missing functional module is added to the test case.
- the processor 401 determines the finite state machine corresponding to the functional module in the data to be processed according to the state information of the functional module in the data to be processed, it is specifically used for:
- the state information includes an initial state, a target state, a current state, a transition condition, a transition state, and/or a transition action;
- the state information of the functional modules in the to-be-processed data determine whether the functional modules in the to-be-processed data meet the conditions described by using a finite state machine
- the finite state machine corresponding to the function module in the data to be processed is determined.
- the processor 401 determines the finite state machine corresponding to the function module in the to-be-processed data, it is specifically used for:
- a finite state machine corresponding to the functional module in the data to be processed is determined.
- the processor 401 analyzes the initial state, target state, current state, conversion condition, migration state, and/or conversion action of the functional module in the to-be-processed data, and determines that it is compatible with the to-be-processed data When there is at least one state path corresponding to the functional module in, it is specifically used for:
- At least one state path corresponding to the functional module in the to-be-processed data is determined.
- processor 401 compares the test case of the to-be-processed data with the finite state machine to determine whether there are missing functional modules in the test case of the to-be-processed data, it is specifically used to:
- test case Acquiring a test case of the to-be-processed data, the test case including at least one state path determined by a designated initial state and a designated current state;
- the processor 401 is specifically configured to:
- the finite state machine includes at least one missing state path that does not exist in the test case, determine the missing functional module corresponding to the at least one missing state path, and the at least one missing state path
- the state path is a state path corresponding to the designated initial state and the designated current state.
- processor 401 adds the missing functional module to the test case, it is specifically used for:
- the processor 401 adds the missing functional module to the test case, it is further used to:
- the server compares the finite state machine of the functional modules in the data to be processed with the test cases, and adds the missing functional modules in the test cases to the test cases to automatically complete the test cases and improve data detection. Accuracy and efficiency.
- the processor 401 may be a central processing unit (CenSral Processing UniS, CPU), and the processor may also be other general-purpose processors or digital signal processors (DigiSal Signal Processor, DSP). , Application-specific integrated circuits (ApplicaSion Specific InSegraSed Circuits, ASIC), ready-made programmable gate arrays (Field-Programmable GaSe Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc.
- the general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like.
- the input device 402 may include a touch panel, a microphone, etc.
- the output device 403 may include a display (LCD, etc.), a speaker, and the like.
- the memory 404 may include a read-only memory and a random access memory, and provides instructions and data to the processor 401.
- a part of the memory 404 may also include a non-volatile random access memory.
- the memory 404 may also store device type information.
- processor 401, input device 402, and output device 403 described in the embodiment of this application can execute the implementation described in the method embodiment shown in FIG. The implementation of the data detection device described in FIG. 3 of the application embodiment will not be repeated here.
- An embodiment of the present application also provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the program instructions are executed by a processor, the processor executes:
- the test case of the to-be-processed data is compared with the finite state machine to determine whether there are missing functional modules in the test case of the to-be-processed data.
- the finite state machine is composed of at least one test case, and the at least Each test case in a test case is composed of functional modules and state paths of the data to be processed;
- the missing functional module is added to the test case.
- the computer-readable storage medium may be the internal storage unit of the data detection device described in any of the foregoing embodiments, such as the hard disk or memory of the data detection device.
- the computer-readable storage medium may also be an external storage device of the data detection device, such as a plug-in hard disk equipped on the data detection device, a smart memory card (SmarS Media Card, SMC), and a secure digital (Secure DigiSal) ,SD) card, flash card (Flash Card), etc.
- the computer-readable storage medium may also include both an internal storage unit of the data detection device and an external storage device.
- the computer-readable storage medium is used to store the computer program and other programs and data required by the data detection device.
- the computer-readable storage medium can also be used to temporarily store data that has been output or will be output.
- the computer-readable storage medium may be non-volatile or volatile.
- the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium.
- the read storage medium includes several instructions to enable a computer device (which may be a personal computer, a terminal, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application.
- the aforementioned computer-readable storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disks or optical disks and other various programs that can store programs The medium of the code.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
本申请实施例公开了一种数据检测方法、设备、服务器及可读存储介质,其中,该方法包括:获取待处理数据的需求文档,并对需求文档进行解析得到待处理数据中的功能模块;根据待处理数据中的功能模块的状态信息,确定与待处理数据中的功能模块对应的有限状态机;将待处理数据的测试用例与有限状态机进行对比,确定待处理数据的测试用例中是否存在遗漏的功能模块,有限状态机由至少一个测试用例组成,至少一个测试用例中的每个测试用例由待处理数据的功能模块和状态路径组成;若确定待处理数据的测试用例中存在遗漏的功能模块,则将遗漏的功能模块添加至测试用例中。通过这种实施方式,可以自动化补全测试用例,提高数据检测的准确率和效率。
Description
本申请要求于2020年04月03日提交中国专利局、申请号为202010262776.6、申请名称为“一种数据检测方法、设备、服务器及可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本申请涉及数据处理技术领域,尤其涉及一种数据检测方法、设备、服务器及可读存储介质。
目前,关于数据检测的测试用例的设计基本都是基于需求文档根据测试人员的经验来设计测试用例,需求文档的描述是否完备,在一定程度上会影响测试用例在数据检测中的用户场景的覆盖,如果需求文档描述不够具体,遗漏了某个场景状态的描述,就会导致测试用例遗漏某个用户场景,继而造成在测试阶段无法发现该数据检测流程中的缺陷,测试效果较差。以营销活动为例,目前,营销活动主要是用户基于需求文档的数据来检测营销活动流程中是否存在缺陷,然而,这种方式在需求文档中的数据描述不够具体时,可能会检测不到营销活动流程中存在的缺陷,从而导致用户对营销活动的体验较差。因此,如何更有效地进行数据检测成为重要的研究问题。
发明内容
本申请实施例提供了一种数据检测方法、设备、服务器及可读存储介质,可以自动化补全测试用例,提高数据检测的准确率和效率。
第一方面,本申请实施例提供了一种数据检测方法,包括:
获取待处理数据的需求文档,并对所述需求文档进行解析得到所述待处理数据中的功能模块;
根据所述待处理数据中的功能模块的状态信息,确定与所述待处理数据中的功能模块对应的有限状态机;
将所述待处理数据的测试用例与所述有限状态机进行对比,确定所述待处理数据的测试用例中是否存在遗漏的功能模块,所述有限状态机由至少一个测试用例组成,所述至少一个测试用例中的每个测试用例由待处理数据的功能模块和状态路径组成;
若确定所述待处理数据的测试用例中存在遗漏的功能模块,则将所述遗漏的功能模块添加至所述测试用例中。
第二方面,本申请实施例提供了一种数据检测设备,该数据检测设备包括用于执行上述第一方面的数据检测方法的单元。
第三方面,本申请实施例提供了一种服务器,包括处理器、输入设备、输出设备和存储器,所述处理器、输入设备、输出设备和存储器相互连接,其中,所述存储器用于存储支持数据检测设备执行上述方法的计算机程序,所述计算机程序包括程序,所述处理器被 配置用于调用所述程序,执行上述第一方面的方法。
第四方面,本申请实施例提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行以实现上述第一方面的方法。
本申请实施例通过将待处理数据中功能模块的有限状态机与测试用例进行对比,并将测试用例中遗漏的功能模块添加至测试用例中,以自动化补全测试用例,提高数据检测的准确率和效率。
图1是本申请实施例提供的一种数据检测方法的示意流程图;
图2a是本申请实施例提供的一种有限状态机的示意图;
图2b是本申请实施例提供的另一种有限状态机的示意图;
图3是本申请实施例提供的一种数据检测设备的示意框图;
图4是本申请实施例提供的一种服务器的示意框图。
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本申请实施例提供的数据检测方法可以由一种数据检测设备执行,其中,所述数据检测设备可以设置在服务器上。在某些实施例中,所述数据检测设备可以安装在服务器上;在某些实施例中,所述数据检测设备可以在空间上独立于所述服务器;在某些实施例中,所述数据检测设备可以是所述服务器的部件,即所述服务器包括数据检测设备。
本申请实施例中,数据检测设备可以获取待处理数据的需求文档,并对所述需求文档进行解析得到所述待处理数据中的功能模块,根据所述待处理数据中的功能模块的状态信息,确定与所述待处理数据中的功能模块对应的有限状态机,并将所述待处理数据的测试用例与所述有限状态机进行对比,确定所述待处理数据的测试用例中是否存在遗漏的功能模块,若确定所述待处理数据的测试用例中存在遗漏的功能模块,则将所述遗漏的功能模块添加至所述测试用例中。通过这种实施方式,可以自动化补全测试用例中遗漏的功能模块,提高了对待处理数据检测的有效性,节省了对待处理数据进行检测的开销。
下面结合附图对本申请实施例的数据检测方法进行示意性说明。
请参见图1,图1是本申请实施例提供的一种数据检测方法的示意流程图,如图1所示,该方法可以由数据检测设备执行,所述数据检测设备的具体解释如前所述,此处不再赘述。具体地,本申请实施例的所述方法包括如下步骤。
S101:获取待处理数据的需求文档,并对所述需求文档进行解析得到所述待处理数据中的功能模块。
本申请实施例中,数据检测设备可以获取待处理数据的需求文档,并对所述需求文档进行解析得到所述待处理数据中的功能模块。
在某些实施例中,所述待处理数据包括但不限于各个功能模块的数据,在某些实施例中,所述功能模块包括但不限于待处理数据的操作入口,在一个示例中,所述功能模块包括营销活动的分享、抽奖等功能模块。在某些实施例中,所述待处理数据的需求文档可以包括但不限于待处理数据中各个功能模块的功能描述信息,在一个示例中,所述需求文档包括但不限于营销活动的活动流程、活动规则等描述信息。
在一个实施例中,数据检测设备在对所述需求文档进行解析得到所述待处理数据中的功能模块时,可以采用深度学习模型对所述待处理数据的需求文档进行解析,以得到所述待处理数据中的功能模块。
S102:根据所述待处理数据中的功能模块的状态信息,确定与所述待处理数据中的功能模块对应的有限状态机。
本申请实施例中,数据检测设备可以根据所述待处理数据中的功能模块的状态信息,确定与所述待处理数据中的功能模块对应的有限状态机。在某些实施例中,所述有限状态机用于表示有限个状态以及在这些状态之间的转移和动作等行为的数学模型。
在一个实施例中,数据检测设备在根据所述待处理数据中的功能模块的状态信息,确定与所述待处理数据中的功能模块对应的有限状态机时,可以获取所述待处理数据中的功能模块的状态信息,其中,所述状态信息包括初始状态、目标状态、当前状态、转换条件、迁移状态、和/或转换动作,并根据所述待处理数据中的功能模块的状态信息,判断所述待处理数据中的功能模块是否满足使用有限状态机进行描述的条件,如果判断结果为满足,则可以确定与所述待处理数据中的功能模块对应的有限状态机。
在某些实施例中,所述有限状态机中的初始状态是指起始位置所处的状态;所述有限状态机中的目标状态是指截止位置所处的状态;所述有限状态机的当前状态是指当前所处的状态;所述有限状态机的转换条件又称为“事件”,当一个转换条件被满足时,可以触发一个转换动作,或者执行一次状态的迁移;所述有限状态机的迁移状态是指在满足转换条件后要迁往的新状态;所述有限状态机的转换动作是指在满足转换条件后可以执行的动作。在某些实施例中,所述转换条件是指各个状态之间进行切换的条件。
在一个实施例中,数据检测设备在根据所述待处理数据中的功能模块的状态信息,判断所述待处理数据中的功能模块是否满足使用有限状态机进行描述的条件时,可以根据所述待处理数据中的功能模块的初始状态、目标状态、当前状态、转换条件、迁移状态、和/或转换动作,判断所述待处理数据中的功能模块是否满足使用有限状态机进行描述的条件。
在一种实施方式中,所述待处理数据中的功能模块的状态信息包括初始状态和目标状态时,可以确定所述待处理数据中的功能模块满足使用有限状态机进行描述的条件。
在一个示例中,假设所述待处理数据中的功能模块的状态信息包括初始状态状态1和 目标状态为状态2,则可以确定所述有限状态机为:start→状态1→状态2→end,其中,start用于表示开始,end用于表示结束。
在一种实施方式中,所述待处理数据中的功能模块的状态信息包括初始状态、当前状态和目标状态时,可以确定所述待处理数据中的功能模块满足使用有限状态机进行描述的条件。
在一个示例中,假设所述待处理数据中的功能模块的状态信息包括初始状态状态1、当前状态为状态2和目标状态为状态3,则可以确定所述有限状态机为:start→状态1→状态2→状态3→end。
在一种实施方式中,待处理数据中的功能模块的状态信息包括初始状态、当前状态、迁移状态、目标状态、转换条件,可以确定所述待处理数据中的功能模块满足使用有限状态机进行描述的条件。
在一个示例中,假设所述待处理数据中的功能模块的状态信息包括初始状态状态1、当前状态为状态2、迁移状态为状态3、目标状态为状态4、转换条件,则可以确定所述有限状态机为:start→状态1→状态2→状态3→状态4→end,其中,状态3通过转换条件转换至状态4。
在一种实施方式中,待处理数据中的功能模块的状态信息包括初始状态、当前状态、迁移状态、目标状态、转换条件和转换动作时,可以确定所述待处理数据中的功能模块满足使用有限状态机进行描述的条件。
在一个示例中,假设所述待处理数据中的功能模块的状态信息包括初始状态状态1、当前状态为状态2、迁移状态为状态3、目标状态为状态4、转换条件和转换动作,则可以确定所述有限状态机为:start→状态1→状态2→状态3→状态4→end,其中,状态3通过转换条件转换至状态4并执行所述转换动作。
在一个实施例中,数据检测设备在确定与所述待处理数据中的功能模块对应的有限状态机时,可以对所述待处理数据中的功能模块的初始状态、目标状态、当前状态、转换条件、迁移状态、和/或转换动作进行分析,确定出与所述待处理数据中的功能模块对应的至少一条状态路径,其中,所述至少一条状态路径中的每条状态路径对应一个功能模块,并根据与所述待处理数据中的功能模块对应的至少一条状态路径,确定与所述待处理数据中的功能模块对应的有限状态机。
在某些实施例中,所述状态路径是指从一个状态切换到另一个状态时所经过的路径;在某些实施例中,所述一条状态路径对应一个功能模块;在某些实施例中,所述状态路径中的状态是指待处理数据中的节点,在一个示例中,所述状态路径中的状态可以是指营销活动中各个流程的节点。
在一个示例中,假设数据检测设备确定出与所述待处理数据中的功能模块对应的至少一条状态路径包括:start→状态1→状态2→状态4→end、start→状态1→状态3→状态 4→end、start→状态1→状态2→状态3→状态4→end,这3条状态路径,则可以根据这3条状态路径,确定出如图2a所示的与所述待处理数据中的功能模块对应的有限状态机,其中,图2a是本申请实施例提供的一种有限状态机的示意图。
例如,一个以老带新的营销活动,要求用户分享给好友,好友完成注册,好友完成注册之后,会给老用户某些奖励,会给新注册的用户一些奖励,各个状态可以包括:用户未分享、用户已分享、好友未注册、好友已注册、用户奖励未发放、用户奖励已发放、好友奖励未发放、好友奖励已发放等状态。所述状态路径可以根据各个状态是否完成和奖励发放的功能划分为两个状态路径,一个状态路径可以是:开始→用户未分享→用户已分享→好友未注册→好友已注册→结束;另一个状态路径可以是:开始→好友未注册→好友奖励未发放→用户奖励未发放→结束。
在一个实施例中,数据检测设备在对所述待处理数据中的功能模块的初始状态、目标状态、当前状态、转换条件、迁移状态、和/或转换动作进行分析,确定出与所述待处理数据中的功能模块对应的至少一条状态路径时,可以对所述待处理数据中的功能模块的初始状态、目标状态、当前状态、转换条件、迁移状态、和/或转换动作进行分析,确定出所述待处理数据中的功能模块的初始状态、目标状态、当前状态、转换条件、迁移状态、和/或转换动作之间的关联关系,并根据所述初始状态、目标状态、当前状态、转换条件、迁移状态、和/或转换动作之间的关联关系,确定与所述待处理数据中的功能模块对应的至少一条状态路径。
在一个示例中,以图2b为例,图2b是本申请实施例提供的另一种有限状态机的示意图,如图2b所示,包括状态1、状态2、状态3、状态4,各个状态之间的转换条件包括转换条件1、转换条件2、转换条件3、转换条件4、转换条件5,在某些实施例中,各个转换条件可以相同,也可以不相同。根据如图2b所示的有限状态机可以确定各个状态、转换条件之间的关联关系,并可以根据不同的当前状态和转换条件确定出与图2b所示的有限状态机对应的多条状态路径为如下所示:
start→状态1→状态2→状态4→end (1)
start→状态1→状态3→状态4→end (2)
start→状态1→状态2→状态3→状态4→end (3)
其中,状态路径(1)是根据当前状态为状态2和转换条件2确定的,状态路径(2)是根据当前状态为状态3和转换条件4确定的,状态路径(3)是根据当前状态为状态2、迁移状态为状态3、转换条件5和转换条件4确定的。
S103:将所述待处理数据的测试用例与所述有限状态机进行对比,确定所述待处理数据的测试用例中是否存在遗漏的功能模块。
本申请实施例中,数据检测设备可以将所述待处理数据的测试用例与所述有限状态机进行对比,确定所述待处理数据的测试用例中是否存在遗漏的功能模块,所述有限状态机 由至少一个测试用例组成,所述至少一个测试用例中的每个测试用例由待处理数据的功能模块和状态路径组成。
在一些实施例中,数据检测设备将所述待处理数据的测试用例与所述有限状态机进行对比,确定所述待处理数据的测试用例中是否存在遗漏的功能模块时,可以获取所述待处理数据的测试用例,所述测试用例中包括由指定初始状态和指定当前状态确定的至少一个状态路径,并将所述测试用例中由指定初始状态和指定当前状态确定的至少一个状态路径与所述有限状态机中与所述指定初始状态和所述指定当前状态对应的至少一条状态路径进行对比,如果对比结果不一致,则确定所述待处理数据的测试用例中存在遗漏的功能模块。
在一个示例中,以图2a为例,假设测试用例中的指定初始状态为状态1、指定当前状态为状态2,如果已完成的测试用例中包括的状态路径为:tart→状态1→状态2→状态4→end,则可以将所述测试用例中的状态路径:tart→状态1→状态2→状态4→end与图2a所述的有限状态机中与所述指定初始状态和所述指定当前状态对应的至少一条状态路径进行对比,如果对比结果不一致,则可以确定所述待处理数据的测试用例中存在遗漏的功能模块。
在一个实施例中,数据检测设备在确定所述待处理数据的测试用例中存在遗漏的功能模块时,如果对比结果为所述有限状态机中包括所述测试用例中不存在的至少一条遗漏的状态路径,则确定与所述至少一条遗漏的状态路径对应的遗漏的功能模块,所述至少一条遗漏的状态路径为与所述指定初始状态和所述指定当前状态对应的状态路径。
在一个示例中,假设有限状态机中的状态路径为:start→状态1→状态2→状态4→end、start→状态1→状态3→状态4→end、start→状态1→状态2→状态3→状态4→end,如果测试用例输入的指定初始状态为状态1、指定当前状态为状态2,且测试用例为:start→状态1→状态2→状态4→end,则可以将测试用例中的状态路径与上述有限状态机中的状态路径进行对比,可以得出所述测试用例中漏掉了状态路径:start→状态1→状态2→状态3→end、start→状态1→状态2→状态3→状态4→end,因此可以确定start→状态1→状态2→状态3→end和start→状态1→状态2→状态3→状态4→end为遗漏的状态路径,从而确定与所述遗漏的状态路径start→状态1→状态2→状态3→end和start→状态1→状态2→状态3→状态4→end对应的功能模块为遗漏的功能模块。
可见,通过这种实施方式,可以自动化确定出测试用例中遗漏的状态路径,有助于自动化补全测试用例,提高数据检测的准确率和效率。
S104:若确定所述待处理数据的测试用例中存在遗漏的功能模块,则将所述遗漏的功能模块添加至所述测试用例中。
本申请实施例中若确定所述待处理数据的测试用例中存在遗漏的功能模块,则将所述遗漏的功能模块添加至所述测试用例中。
在一个实施例中,数据检测设备将所述遗漏的功能模块添加至所述测试用例时,可以 将所述有限状态机中包括的所述测试用例中不存在的与所述指定初始状态和所述指定当前状态对应的至少一条遗漏的状态路径添加至所述测试用例中。
在一个示例中,如果确定出测试用例中漏掉的状态路径为:start→状态1→状态2→状态3→状态4→end,则可以将该遗漏的状态路径添加至测试用例中。
可见,通过这种实施方式,可以自动化补全测试用例,提高数据检测的准确率和效率。
在一个实施例中,数据检测设备将所述遗漏的功能模块添加至所述测试用例之后,还可以将添加所述至少一条遗漏的状态路径后的测试用例与所述有限状态机进行对比,如果对比结果一致,则可以确定所述待处理数据的测试用例中不存在遗漏的功能模块。
可见,通过这种对添加状态路径后的测试用例进行验证,可以进一步确认所述测试用例的完整性,有助于进一步提高测试结果的准确性。
本申请实施例中,数据检测设备通过将待处理数据中功能模块的有限状态机与测试用例进行对比,并将测试用例中遗漏的功能模块添加至测试用例中,以自动化补全测试用例,提高数据检测的准确率和效率。
本申请实施例还提供了一种数据检测设备,该数据检测设备用于执行前述任一项所述的方法的单元。具体地,参见图3,图3是本申请实施例提供的一种数据检测设备的示意框图。本实施例的数据检测设备包括:获取单元301、确定单元302、对比单元303、添加单元304。
获取单元301,用于获取待处理数据的需求文档,并对所述需求文档进行解析得到所述待处理数据中的功能模块;
确定单元302,用于根据所述待处理数据中的功能模块的状态信息,确定与所述待处理数据中的功能模块对应的有限状态机;
对比单元303,用于将所述待处理数据的测试用例与所述有限状态机进行对比,确定所述待处理数据的测试用例中是否存在遗漏的功能模块,所述有限状态机由至少一个测试用例组成,所述至少一个测试用例中的每个测试用例由待处理数据的功能模块和状态路径组成;
添加单元304,用于若确定所述待处理数据的测试用例中存在遗漏的功能模块,则将所述遗漏的功能模块添加至所述测试用例中。
进一步地,所述确定单元302根据所述待处理数据中的功能模块的状态信息,确定与所述待处理数据中的功能模块对应的有限状态机时,具体用于:
获取所述待处理数据中的功能模块的状态信息,其中,所述状态信息包括初始状态、目标状态、当前状态、转换条件、迁移状态、和/或转换动作;
根据所述待处理数据中的功能模块的状态信息,判断所述待处理数据中的功能模块是否满足使用有限状态机进行描述的条件;
如果判断结果为满足,则确定与所述待处理数据中的功能模块对应的有限状态机。
进一步地,所述确定单元302确定与所述待处理数据中的功能模块对应的有限状态机时,具体用于:
对所述待处理数据中的功能模块的初始状态、目标状态、当前状态、转换条件、迁移状态、和/或转换动作进行分析,确定出与所述待处理数据中的功能模块对应的至少一条状态路径,其中,所述至少一条状态路径中的每条状态路径对应一个功能模块;
根据与所述待处理数据中的功能模块对应的至少一条状态路径,确定与所述待处理数据中的功能模块对应的有限状态机。
进一步地,所述确定单元302对所述待处理数据中的功能模块的初始状态、目标状态、当前状态、转换条件、迁移状态、和/或转换动作进行分析,确定出与所述待处理数据中的功能模块对应的至少一条状态路径时,具体用于:
对所述待处理数据中的功能模块的初始状态、目标状态、当前状态、转换条件、迁移状态、和/或转换动作进行分析,确定出所述待处理数据中的功能模块的初始状态、目标状态、当前状态、转换条件、迁移状态、和/或转换动作之间的关联关系;
根据所述初始状态、目标状态、当前状态、转换条件、迁移状态、和/或转换动作之间的关联关系,确定与所述待处理数据中的功能模块对应的至少一条状态路径。
进一步地,所述对比单元303将所述待处理数据的测试用例与所述有限状态机进行对比,确定所述待处理数据的测试用例中是否存在遗漏的功能模块时,具体用于:
获取所述待处理数据的测试用例,所述测试用例中包括由指定初始状态和指定当前状态确定的至少一个状态路径;
将所述测试用例中由指定初始状态和指定当前状态确定的至少一个状态路径与所述有限状态机中与所述指定初始状态和所述指定当前状态对应的至少一条状态路径进行对比;
如果对比结果不一致,则确定所述待处理数据的测试用例中存在遗漏的功能模块。
进一步地,所述对比单元303如果对比结果不一致,则确定所述待处理数据的测试用例中存在遗漏的功能模块时,具体用于:
如果对比结果为所述有限状态机中包括所述测试用例中不存在的至少一条遗漏的状态路径,则确定与所述至少一条遗漏的状态路径对应的遗漏的功能模块,所述至少一条遗漏的状态路径为与所述指定初始状态和所述指定当前状态对应的状态路径。
进一步地,所述添加单元304将所述遗漏的功能模块添加至所述测试用例时,具体用于:
将所述有限状态机中包括的所述测试用例中不存在的至少一条遗漏的状态路径添加至所述测试用例中;
所述添加单元304将所述遗漏的功能模块添加至所述测试用例之后,还用于:
将添加所述至少一条遗漏的状态路径后的测试用例与所述有限状态机进行对比;
如果对比结果一致,则确定所述待处理数据的测试用例中不存在遗漏的功能模块。
本申请实施例中,数据检测设备通过将待处理数据中功能模块的有限状态机与测试用例进行对比,并将测试用例中遗漏的功能模块添加至测试用例中,以自动化补全测试用例,提高数据检测的准确率和效率。
参见图4,图4是本申请实施例提供的一种服务器的示意框图。如图所示的本实施例中的服务器可以包括:一个或多个处理器401;一个或多个输入设备402,一个或多个输出设备403和存储器404。上述处理器401、输入设备402、输出设备403和存储器404通过总线405连接。存储器404用于存储计算机程序,所述计算机程序包括程序,处理器401用于执行存储器404存储的程序。其中,处理器401被配置用于调用所述程序执行:
获取待处理数据的需求文档,并对所述需求文档进行解析得到所述待处理数据中的功能模块;
根据所述待处理数据中的功能模块的状态信息,确定与所述待处理数据中的功能模块对应的有限状态机;
将所述待处理数据的测试用例与所述有限状态机进行对比,确定所述待处理数据的测试用例中是否存在遗漏的功能模块,所述有限状态机由至少一个测试用例组成,所述至少一个测试用例中的每个测试用例由待处理数据的功能模块和状态路径组成;
若确定所述待处理数据的测试用例中存在遗漏的功能模块,则将所述遗漏的功能模块添加至所述测试用例中。
进一步地,所述处理器401根据所述待处理数据中的功能模块的状态信息,确定与所述待处理数据中的功能模块对应的有限状态机时,具体用于:
获取所述待处理数据中的功能模块的状态信息,其中,所述状态信息包括初始状态、目标状态、当前状态、转换条件、迁移状态、和/或转换动作;
根据所述待处理数据中的功能模块的状态信息,判断所述待处理数据中的功能模块是否满足使用有限状态机进行描述的条件;
如果判断结果为满足,则确定与所述待处理数据中的功能模块对应的有限状态机。
进一步地,所述处理器401确定与所述待处理数据中的功能模块对应的有限状态机时,具体用于:
对所述待处理数据中的功能模块的初始状态、目标状态、当前状态、转换条件、迁移状态、和/或转换动作进行分析,确定出与所述待处理数据中的功能模块对应的至少一条状态路径,其中,所述至少一条状态路径中的每条状态路径对应一个功能模块;
根据与所述待处理数据中的功能模块对应的至少一条状态路径,确定与所述待处理数据中的功能模块对应的有限状态机。
进一步地,所述处理器401对所述待处理数据中的功能模块的初始状态、目标状态、当前状态、转换条件、迁移状态、和/或转换动作进行分析,确定出与所述待处理数据中的功能模块对应的至少一条状态路径时,具体用于:
对所述待处理数据中的功能模块的初始状态、目标状态、当前状态、转换条件、迁移状态、和/或转换动作进行分析,确定出所述待处理数据中的功能模块的初始状态、目标状态、当前状态、转换条件、迁移状态、和/或转换动作之间的关联关系;
根据所述初始状态、目标状态、当前状态、转换条件、迁移状态、和/或转换动作之间的关联关系,确定与所述待处理数据中的功能模块对应的至少一条状态路径。
进一步地,所述处理器401将所述待处理数据的测试用例与所述有限状态机进行对比,确定所述待处理数据的测试用例中是否存在遗漏的功能模块时,具体用于:
获取所述待处理数据的测试用例,所述测试用例中包括由指定初始状态和指定当前状态确定的至少一个状态路径;
将所述测试用例中由指定初始状态和指定当前状态确定的至少一个状态路径与所述有限状态机中与所述指定初始状态和所述指定当前状态对应的至少一条状态路径进行对比;
如果对比结果不一致,则确定所述待处理数据的测试用例中存在遗漏的功能模块。
进一步地,所述处理器401如果对比结果不一致,则确定所述待处理数据的测试用例中存在遗漏的功能模块时,具体用于:
如果对比结果为所述有限状态机中包括所述测试用例中不存在的至少一条遗漏的状态路径,则确定与所述至少一条遗漏的状态路径对应的遗漏的功能模块,所述至少一条遗漏的状态路径为与所述指定初始状态和所述指定当前状态对应的状态路径。
进一步地,所述处理器401将所述遗漏的功能模块添加至所述测试用例时,具体用于:
将所述有限状态机中包括的所述测试用例中不存在的至少一条遗漏的状态路径添加至所述测试用例中;
所述处理器401将所述遗漏的功能模块添加至所述测试用例之后,还用于:
将添加所述至少一条遗漏的状态路径后的测试用例与所述有限状态机进行对比;
如果对比结果一致,则确定所述待处理数据的测试用例中不存在遗漏的功能模块。
本申请实施例中,服务器通过将待处理数据中功能模块的有限状态机与测试用例进行对比,并将测试用例中遗漏的功能模块添加至测试用例中,以自动化补全测试用例,提高数据检测的准确率和效率。
应当理解,在本申请实施例中,所称处理器401可以是中央处理单元(CenSral Processing UniS,CPU),该处理器还可以是其他通用处理器、数字信号处理器(DigiSal Signal Processor,DSP)、专用集成电路(ApplicaSion Specific InSegraSed CircuiS,ASIC)、现成可编程门阵列(Field-Programmable GaSe Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
输入设备402可以包括触控板、麦克风等,输出设备403可以包括显示器(LCD等)、扬声器等。
该存储器404可以包括只读存储器和随机存取存储器,并向处理器401提供指令和数据。存储器404的一部分还可以包括非易失性随机存取存储器。例如,存储器404还可以存储设备类型的信息。
具体实现中,本申请实施例中所描述的处理器401、输入设备402、输出设备403可执行本申请实施例提供的图1所述的方法实施例中所描述的实现方式,也可执行本申请实施例图3所描述的数据检测设备的实现方式,在此不再赘述。
本申请实施例中还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述程序指令当被处理器执行时使所述处理器执行:
获取待处理数据的需求文档,并对所述需求文档进行解析得到所述待处理数据中的功能模块;
根据所述待处理数据中的功能模块的状态信息,确定与所述待处理数据中的功能模块对应的有限状态机;
将所述待处理数据的测试用例与所述有限状态机进行对比,确定所述待处理数据的测试用例中是否存在遗漏的功能模块,所述有限状态机由至少一个测试用例组成,所述至少一个测试用例中的每个测试用例由待处理数据的功能模块和状态路径组成;
若确定所述待处理数据的测试用例中存在遗漏的功能模块,则将所述遗漏的功能模块添加至所述测试用例中。
所述计算机可读存储介质可以是前述任一实施例所述的数据检测设备的内部存储单元,例如数据检测设备的硬盘或内存。所述计算机可读存储介质也可以是所述数据检测设备的外部存储设备,例如所述数据检测设备上配备的插接式硬盘,智能存储卡(SmarS Media Card,SMC),安全数字(Secure DigiSal,SD)卡,闪存卡(Flash Card)等。进一步地,所述计算机可读存储介质还可以既包括所述数据检测设备的内部存储单元也包括外部存储设备。所述计算机可读存储介质用于存储所述计算机程序以及所述数据检测设备所需的其他程序和数据。所述计算机可读存储介质还可以用于暂时地存储已经输出或者将要输出的数据。所述计算机可读存储介质可以是非易失性,也可以是易失性。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分,或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个计算机可读存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,终端,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的计算机可读存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本申请的部分实施方式,但本申请的保护范围并不局限于此,任何熟 悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本申请的保护范围之内。
Claims (20)
- 一种数据检测方法,其中,包括:获取待处理数据的需求文档,并对所述需求文档进行解析得到所述待处理数据中的功能模块;根据所述待处理数据中的功能模块的状态信息,确定与所述待处理数据中的功能模块对应的有限状态机;将所述待处理数据的测试用例与所述有限状态机进行对比,确定所述待处理数据的测试用例中是否存在遗漏的功能模块,所述有限状态机由至少一个测试用例组成,所述至少一个测试用例中的每个测试用例由待处理数据的功能模块和状态路径组成;若确定所述待处理数据的测试用例中存在遗漏的功能模块,则将所述遗漏的功能模块添加至所述测试用例中。
- 根据权利要求1所述的方法,其中,所述根据所述待处理数据中的功能模块的状态信息,确定与所述待处理数据中的功能模块对应的有限状态机,包括:获取所述待处理数据中的功能模块的状态信息,其中,所述状态信息包括初始状态、目标状态、当前状态、转换条件、迁移状态、和/或转换动作;根据所述待处理数据中的功能模块的状态信息,判断所述待处理数据中的功能模块是否满足使用有限状态机进行描述的条件;如果判断结果为满足,则确定与所述待处理数据中的功能模块对应的有限状态机。
- 根据权利要求2所述的方法,其中,所述确定与所述待处理数据中的功能模块对应的有限状态机,包括:对所述待处理数据中的功能模块的初始状态、目标状态、当前状态、转换条件、迁移状态、和/或转换动作进行分析,确定出与所述待处理数据中的功能模块对应的至少一条状态路径,其中,所述至少一条状态路径中的每条状态路径对应一个功能模块;根据与所述待处理数据中的功能模块对应的至少一条状态路径,确定与所述待处理数据中的功能模块对应的有限状态机。
- 根据权利要求3所述的方法,其中,所述对所述待处理数据中的功能模块的初始状态、目标状态、当前状态、转换条件、迁移状态、和/或转换动作进行分析,确定出与所述待处理数据中的功能模块对应的至少一条状态路径,包括:对所述待处理数据中的功能模块的初始状态、目标状态、当前状态、转换条件、迁移状态、和/或转换动作进行分析,确定出所述待处理数据中的功能模块的初始状态、目标状态、当前状态、转换条件、迁移状态、和/或转换动作之间的关联关系;根据所述初始状态、目标状态、当前状态、转换条件、迁移状态、和/或转换动作之间的关联关系,确定与所述待处理数据中的功能模块对应的至少一条状态路径。
- 根据权利要求4所述的方法,其中,所述将所述待处理数据的测试用例与所述有限状态机进行对比,确定所述待处理数据的测试用例中是否存在遗漏的功能模块,包括:获取所述待处理数据的测试用例,所述测试用例中包括由指定初始状态和指定当前状态确定的至少一个状态路径;将所述测试用例中由指定初始状态和指定当前状态确定的至少一个状态路径与所述有限状态机中与所述指定初始状态和所述指定当前状态对应的至少一条状态路径进行对比;如果对比结果不一致,则确定所述待处理数据的测试用例中存在遗漏的功能模块。
- 根据权利要求5所述的方法,其中,所述如果对比结果不一致,则确定所述待处理数据的测试用例中存在遗漏的功能模块,包括:如果对比结果为所述有限状态机中包括所述测试用例中不存在的至少一条遗漏的状态路径,则确定与所述至少一条遗漏的状态路径对应的遗漏的功能模块,所述至少一条遗漏的状态路径为与所述指定初始状态和所述指定当前状态对应的状态路径。
- 根据权利要求6所述的方法,其中,所述将所述遗漏的功能模块添加至所述测试用例,包括:将所述有限状态机中包括的所述测试用例中不存在的至少一条遗漏的状态路径添加至所述测试用例中;所述将所述遗漏的功能模块添加至所述测试用例之后,还包括:将添加所述至少一条遗漏的状态路径后的测试用例与所述有限状态机进行对比;如果对比结果一致,则确定所述待处理数据的测试用例中不存在遗漏的功能模块。
- 一种数据检测设备,其中,包括:获取单元,用于获取待处理数据的需求文档,并对所述需求文档进行解析得到所述待处理数据中的功能模块;确定单元,用于根据所述待处理数据中的功能模块的状态信息,确定与所述待处理数据中的功能模块对应的有限状态机;对比单元,用于将所述待处理数据的测试用例与所述有限状态机进行对比,确定所述待处理数据的测试用例中是否存在遗漏的功能模块,所述有限状态机由至少一个测试用例组成,所述至少一个测试用例中的每个测试用例由待处理数据的功能模块和状态路径组成;添加单元,用于若确定所述待处理数据的测试用例中存在遗漏的功能模块,则将所述遗漏的功能模块添加至所述测试用例中。
- 一种服务器,其中,包括处理器、输入设备、输出设备和存储器,所述处理器、输入设备、输出设备和存储器相互连接,其中,所述存储器用于存储计算机程序,所述计算机程序包括程序指令,所述处理器被配置用于调用所述程序指令,执行:获取待处理数据的需求文档,并对所述需求文档进行解析得到所述待处理数据中的功能模块;根据所述待处理数据中的功能模块的状态信息,确定与所述待处理数据中的功能模块对应的有限状态机;将所述待处理数据的测试用例与所述有限状态机进行对比,确定所述待处理数据的测试用例中是否存在遗漏的功能模块,所述有限状态机由至少一个测试用例组成,所述至少一个测试用例中的每个测试用例由待处理数据的功能模块和状态路径组成;若确定所述待处理数据的测试用例中存在遗漏的功能模块,则将所述遗漏的功能模块添加至所述测试用例中。
- 根据权利要求9所述的服务器,其中,所述处理器根据所述待处理数据中的功能模块的状态信息,确定与所述待处理数据中的功能模块对应的有限状态机时,具体用于:获取所述待处理数据中的功能模块的状态信息,其中,所述状态信息包括初始状态、目标状态、当前状态、转换条件、迁移状态、和/或转换动作;根据所述待处理数据中的功能模块的状态信息,判断所述待处理数据中的功能模块是否满足使用有限状态机进行描述的条件;如果判断结果为满足,则确定与所述待处理数据中的功能模块对应的有限状态机。
- 根据权利要求10所述的服务器,其中,所述处理器确定与所述待处理数据中的功能模块对应的有限状态机时,具体用于:对所述待处理数据中的功能模块的初始状态、目标状态、当前状态、转换条件、迁移状态、和/或转换动作进行分析,确定出与所述待处理数据中的功能模块对应的至少一条状态路径,其中,所述至少一条状态路径中的每条状态路径对应一个功能模块;根据与所述待处理数据中的功能模块对应的至少一条状态路径,确定与所述待处理数据中的功能模块对应的有限状态机。
- 根据权利要求11所述的服务器,其中,所述处理器对所述待处理数据中的功能模块的初始状态、目标状态、当前状态、转换条件、迁移状态、和/或转换动作进行分析,确定出与所述待处理数据中的功能模块对应的至少一条状态路径时,具体用于:对所述待处理数据中的功能模块的初始状态、目标状态、当前状态、转换条件、迁移状态、和/或转换动作进行分析,确定出所述待处理数据中的功能模块的初始状态、目标状态、当前状态、转换条件、迁移状态、和/或转换动作之间的关联关系;根据所述初始状态、目标状态、当前状态、转换条件、迁移状态、和/或转换动作之间的关联关系,确定与所述待处理数据中的功能模块对应的至少一条状态路径。
- 根据权利要求12所述的服务器,其中,所述处理器将所述待处理数据的测试用例与所述有限状态机进行对比,确定所述待处理数据的测试用例中是否存在遗漏的功能模块时,具体用于:获取所述待处理数据的测试用例,所述测试用例中包括由指定初始状态和指定当前状态确定的至少一个状态路径;将所述测试用例中由指定初始状态和指定当前状态确定的至少一个状态路径与所述有限状态机中与所述指定初始状态和所述指定当前状态对应的至少一条状态路径进行对比;如果对比结果不一致,则确定所述待处理数据的测试用例中存在遗漏的功能模块。
- 根据权利要求13所述的服务器,其中,所述处理器如果对比结果不一致,则确定所述待处理数据的测试用例中存在遗漏的功能模块时,具体用于:如果对比结果为所述有限状态机中包括所述测试用例中不存在的至少一条遗漏的状态路径,则确定与所述至少一条遗漏的状态路径对应的遗漏的功能模块,所述至少一条遗漏的状态路径为与所述指定初始状态和所述指定当前状态对应的状态路径。
- 根据权利要求14所述的服务器,其中,所述处理器将所述遗漏的功能模块添加至所述测试用例时,具体用于:将所述有限状态机中包括的所述测试用例中不存在的至少一条遗漏的状态路径添加至所述测试用例中;所述将所述遗漏的功能模块添加至所述测试用例之后,还包括:将添加所述至少一条遗漏的状态路径后的测试用例与所述有限状态机进行对比;如果对比结果一致,则确定所述待处理数据的测试用例中不存在遗漏的功能模块。
- 一种计算机可读存储介质,其中,所述计算机可读存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令当被处理器执行时使所述处理器执行:获取待处理数据的需求文档,并对所述需求文档进行解析得到所述待处理数据中的功能模块;根据所述待处理数据中的功能模块的状态信息,确定与所述待处理数据中的功能模块对应的有限状态机;将所述待处理数据的测试用例与所述有限状态机进行对比,确定所述待处理数据的测试用例中是否存在遗漏的功能模块,所述有限状态机由至少一个测试用例组成,所述至少一个测试用例中的每个测试用例由待处理数据的功能模块和状态路径组成;若确定所述待处理数据的测试用例中存在遗漏的功能模块,则将所述遗漏的功能模块添加至所述测试用例中。
- 根据权利要求16所述的存储介质,其中,所述处理器根据所述待处理数据中的功能模块的状态信息,确定与所述待处理数据中的功能模块对应的有限状态机时,具体用于:获取所述待处理数据中的功能模块的状态信息,其中,所述状态信息包括初始状态、目标状态、当前状态、转换条件、迁移状态、和/或转换动作;根据所述待处理数据中的功能模块的状态信息,判断所述待处理数据中的功能模块是否满足使用有限状态机进行描述的条件;如果判断结果为满足,则确定与所述待处理数据中的功能模块对应的有限状态机。
- 根据权利要求17所述的存储介质,其中,所述处理器确定与所述待处理数据中的 功能模块对应的有限状态机时,具体用于:对所述待处理数据中的功能模块的初始状态、目标状态、当前状态、转换条件、迁移状态、和/或转换动作进行分析,确定出与所述待处理数据中的功能模块对应的至少一条状态路径,其中,所述至少一条状态路径中的每条状态路径对应一个功能模块;根据与所述待处理数据中的功能模块对应的至少一条状态路径,确定与所述待处理数据中的功能模块对应的有限状态机。
- 根据权利要求18所述的存储介质,其中,所述处理器对所述待处理数据中的功能模块的初始状态、目标状态、当前状态、转换条件、迁移状态、和/或转换动作进行分析,确定出与所述待处理数据中的功能模块对应的至少一条状态路径时,具体用于:对所述待处理数据中的功能模块的初始状态、目标状态、当前状态、转换条件、迁移状态、和/或转换动作进行分析,确定出所述待处理数据中的功能模块的初始状态、目标状态、当前状态、转换条件、迁移状态、和/或转换动作之间的关联关系;根据所述初始状态、目标状态、当前状态、转换条件、迁移状态、和/或转换动作之间的关联关系,确定与所述待处理数据中的功能模块对应的至少一条状态路径。
- 根据权利要求19所述的存储介质,其中,所述处理器将所述待处理数据的测试用例与所述有限状态机进行对比,确定所述待处理数据的测试用例中是否存在遗漏的功能模块时,具体用于:获取所述待处理数据的测试用例,所述测试用例中包括由指定初始状态和指定当前状态确定的至少一个状态路径;将所述测试用例中由指定初始状态和指定当前状态确定的至少一个状态路径与所述有限状态机中与所述指定初始状态和所述指定当前状态对应的至少一条状态路径进行对比;如果对比结果不一致,则确定所述待处理数据的测试用例中存在遗漏的功能模块。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010262776.6 | 2020-04-03 | ||
CN202010262776.6A CN111552635A (zh) | 2020-04-03 | 2020-04-03 | 一种数据检测方法、设备、服务器及可读存储介质 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021196454A1 true WO2021196454A1 (zh) | 2021-10-07 |
Family
ID=71998203
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/103410 WO2021196454A1 (zh) | 2020-04-03 | 2020-07-22 | 一种数据检测方法、设备、服务器及可读存储介质 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN111552635A (zh) |
WO (1) | WO2021196454A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115225551A (zh) * | 2022-07-14 | 2022-10-21 | 北京邮电大学 | 一种模糊测试方法、装置、设备及存储介质 |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114385475B (zh) * | 2020-10-16 | 2024-08-06 | 腾讯科技(深圳)有限公司 | 一种测试方法和相关装置 |
CN115174441B (zh) * | 2022-09-06 | 2022-12-13 | 中国汽车技术研究中心有限公司 | 基于状态机的tcp模糊测试方法、设备和存储介质 |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105955882A (zh) * | 2016-04-27 | 2016-09-21 | 南京大学 | 一种迭代学习模型行为相似性的测试用例生成方法和装置 |
US20180024815A1 (en) * | 2011-08-30 | 2018-01-25 | Uniquesoft, Llc | System and method for iterative generating and testing of application code |
CN108897695A (zh) * | 2018-08-06 | 2018-11-27 | 中国电力科学研究院有限公司 | 一种需求侧设备的互联测试方法及系统 |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8903690B2 (en) * | 2012-11-01 | 2014-12-02 | International Business Machines Corporation | Linking graphical user interface testing tools and human performance modeling to enable usability assessment |
CN106706329A (zh) * | 2015-07-31 | 2017-05-24 | 大陆汽车电子(长春)有限公司 | 测试汽车天窗控制器的方法 |
CN108595338A (zh) * | 2018-05-08 | 2018-09-28 | 平安普惠企业管理有限公司 | 测试用例编写方法、装置、计算机设备及存储介质 |
-
2020
- 2020-04-03 CN CN202010262776.6A patent/CN111552635A/zh active Pending
- 2020-07-22 WO PCT/CN2020/103410 patent/WO2021196454A1/zh active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20180024815A1 (en) * | 2011-08-30 | 2018-01-25 | Uniquesoft, Llc | System and method for iterative generating and testing of application code |
CN105955882A (zh) * | 2016-04-27 | 2016-09-21 | 南京大学 | 一种迭代学习模型行为相似性的测试用例生成方法和装置 |
CN108897695A (zh) * | 2018-08-06 | 2018-11-27 | 中国电力科学研究院有限公司 | 一种需求侧设备的互联测试方法及系统 |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115225551A (zh) * | 2022-07-14 | 2022-10-21 | 北京邮电大学 | 一种模糊测试方法、装置、设备及存储介质 |
CN115225551B (zh) * | 2022-07-14 | 2024-03-29 | 北京邮电大学 | 一种模糊测试方法、装置、设备及存储介质 |
Also Published As
Publication number | Publication date |
---|---|
CN111552635A (zh) | 2020-08-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021196454A1 (zh) | 一种数据检测方法、设备、服务器及可读存储介质 | |
US20210049092A1 (en) | Analyzing software test failures using natural language processing and machine learning | |
CN108090567B (zh) | 电力通信系统故障诊断方法及装置 | |
CN109062809B (zh) | 一种线上测试用例生成方法、装置及电子设备 | |
US9910766B2 (en) | Whitebox network fuzzing | |
US9275331B2 (en) | Document classification system with user-defined rules | |
WO2018120720A1 (zh) | 客户端程序的测试错误定位方法、电子装置及存储介质 | |
CN108763071A (zh) | 一种网页测试方法及终端设备 | |
US10642722B2 (en) | Regression testing of an application that uses big data as a source of data | |
van Zelst et al. | Detection and removal of infrequent behavior from event streams of business processes | |
WO2020233065A1 (zh) | 网络环境测试方法、装置及终端设备 | |
KR101423030B1 (ko) | 컴퓨터 실행 가능한 어플리케이션 객체 분석 방법, 이를 수행하는 어플리케이션 객체 분석 서버 및 이를 저장하는 기록매체 | |
JP2009526276A (ja) | 設計レイアウト内に充填型を挿入する方法と装置 | |
CN101482596B (zh) | 多因素工业系统的故障快速识别方法 | |
WO2020233064A1 (zh) | 基于功能测试的因素影响程度确定方法、装置及终端设备 | |
Yang et al. | An industrial study of natural language processing based test case prioritization | |
JP2017068293A (ja) | テストdbデータ生成方法及び装置 | |
US20200192780A1 (en) | Regression analysis platform | |
US20170339175A1 (en) | Using natural language processing for detection of intended or unexpected application behavior | |
CN116955198B (zh) | 一种规则集合的确定方法及装置 | |
US10061681B2 (en) | System for discovering bugs using interval algebra query language | |
CN113157583B (zh) | 一种测试方法、装置及设备 | |
US11328112B1 (en) | Timing-aware testing | |
US9830253B2 (en) | Eliminating redundant interactions when testing computer software applications | |
CN113342600A (zh) | 一种程序依赖插件的监测方法及装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 20929179 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 12/01/2023) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20929179 Country of ref document: EP Kind code of ref document: A1 |