CN115022201A - Data processing function test method, device, equipment and storage medium - Google Patents
Data processing function test method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN115022201A CN115022201A CN202210684475.1A CN202210684475A CN115022201A CN 115022201 A CN115022201 A CN 115022201A CN 202210684475 A CN202210684475 A CN 202210684475A CN 115022201 A CN115022201 A CN 115022201A
- Authority
- CN
- China
- Prior art keywords
- data processing
- data
- processing platform
- mirror image
- image message
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000012545 processing Methods 0.000 title claims abstract description 250
- 238000010998 test method Methods 0.000 title claims description 4
- 238000012360 testing method Methods 0.000 claims abstract description 100
- 238000000034 method Methods 0.000 claims abstract description 32
- 230000006870 function Effects 0.000 claims description 95
- 238000004458 analytical method Methods 0.000 claims description 33
- 238000004590 computer program Methods 0.000 claims description 7
- 238000007405 data analysis Methods 0.000 claims description 6
- 238000013524 data verification Methods 0.000 claims description 2
- 238000004891 communication Methods 0.000 description 9
- 238000010586 diagram Methods 0.000 description 7
- 230000003287 optical effect Effects 0.000 description 6
- 230000003993 interaction Effects 0.000 description 2
- 239000013307 optical fiber Substances 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 238000004088 simulation Methods 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 230000008707 rearrangement Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/50—Testing arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
The invention discloses a data processing function testing method, a data processing function testing device, data processing equipment and a storage medium. The method comprises the following steps: performing dial testing through the first equipment, the second equipment and the switch; wherein the first device and the second device are under different local area networks; capturing mirror image message data of the first device and the second device which are mirrored to the data processing platform through the switch in a dial testing process; and determining whether the data processing function of the data processing platform is normal or not according to the mirror image message data and the processing result of the data processing platform on the mirror image message data. By the scheme, the data processing function can be efficiently and accurately tested.
Description
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a storage medium for testing a data processing function.
Background
With the wide application of broadband networks and value-added services, a data processing platform needs to effectively process data with huge scale, various types, high-speed circulation, complexity, variability, uneven quality and different value densities, and extract structured and high-value data.
At present, the data processing function of the data processing platform is usually tested by verifying whether the data processing function is normal or not based on constructed data in a laboratory, and the accuracy is low. Therefore, how to accurately perform the data processing function test is a problem that needs to be solved at present.
Disclosure of Invention
The embodiment of the invention provides a data processing function testing method, a data processing function testing device, data processing equipment and a storage medium, so that a data processing function can be tested efficiently and accurately.
In a first aspect, an embodiment of the present invention provides a data processing function testing method, including:
performing dial testing through the first equipment, the second equipment and the switch; wherein the first device and the second device are under different local area networks;
capturing mirror image message data of the first device and the second device which are mirrored to the data processing platform through the switch in a dial testing process;
determining whether the data processing function of the data processing platform is normal or not according to the mirror image message data and the processing result of the data processing platform on the mirror image message data
In a second aspect, an embodiment of the present invention further provides a data processing function testing apparatus, including:
the dial testing module is used for carrying out dial testing through the first equipment, the second equipment and the switch; wherein the first device and the second device are under different local area networks;
the data capturing module is used for capturing mirror image message data of the first equipment and the second equipment which are mirrored to the data processing platform through the switch in the dial testing process;
and the function determining module is used for determining whether the data processing function of the data processing platform is normal or not according to the mirror image message data and the processing result of the data processing platform on the mirror image message data.
In a third aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes:
one or more processors;
a memory for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement a data processing functionality testing method as described in any one of the first aspects.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the data processing function testing method according to any one of the first aspect.
In the embodiment of the invention, dial testing is carried out through the first equipment, the second equipment and the switch; wherein the first device and the second device are under different local area networks; capturing mirror image message data of the first device and the second device which are mirrored to the data processing platform through the switch in a dial testing process; and determining whether the data processing function of the data processing platform is normal or not according to the mirror image message data and the processing result of the data processing platform on the mirror image message data. According to the scheme, based on the established real dial testing scene which is closer to the user, the accuracy, the practicability and the applicability of the data processing function test are guaranteed, the test mode is optimized, the labor expenditure and the test cost are saved, and the test efficiency is improved.
Drawings
Fig. 1 is a flowchart of a data processing function testing method according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a dial testing scenario according to an embodiment of the present invention;
fig. 3 is a flowchart of a data processing function testing method according to a second embodiment of the present invention;
fig. 4 is a schematic structural diagram of a data processing function testing apparatus according to a third embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not to be construed as limiting the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of a data processing function testing method according to an embodiment of the present invention, which is applicable to a data processing function test, and is particularly applicable to a data processing function test of a data processing platform. The method may be executed by a data processing function testing apparatus in an embodiment of the present invention, and the apparatus may be implemented in a hardware and/or software manner, as shown in fig. 1, and specifically includes:
and S110, carrying out dial testing through the first equipment, the second equipment and the switch.
The first device and the second device may be input and output devices with communication processing and data interaction functions, including but not limited to a mobile phone, a tablet, a computer, and the like. The first device and the second device may be in different local area networks, and the type and number of the first device and the second device may be one or more, which is not specifically limited in this embodiment.
The switch may be network hardware that receives and forwards data to the target device via message switching, with mirroring functionality. The dial testing can be a testing function of the call center unified communication convergence communication professional information network system, and simulates the service operation process of a user to obtain the performance data and the operation result data of the operation process of completing the service. In this embodiment, it can be understood that the process of communicating between the first device and the second device located in different lans is simulated by the switch.
Exemplarily, fig. 2 is a schematic diagram of a dial-up test scenario provided in an embodiment of the present invention, and as shown in fig. 2, a first device is located below a first router, and includes a mobile phone 1 and a mobile phone 2, and is connected to a WiFi 1; the second device is located under the second router, and includes a plurality of devices, specifically, a mobile phone 3, a mobile phone 4, and a computer 1, connected to the WiFi 2. The communication between the first device and the second device is mapped to the local area network through respective routers, and is converged to the switch through the local area network, and the switch is connected with the data processing platform, namely, a dial testing scene is constructed.
Under the dial testing scene, based on the pre-configured actual dial testing data, dial testing is carried out through the first equipment, the second equipment and the switch.
And S120, capturing mirror image message data of the first equipment and the second equipment which are mirrored to the data processing platform through the switch in the dial testing process.
The mirror image message data may be message data captured from the data processing platform, and specifically, the message data mirrored to the data processing platform through the switch, that is, the mirror image message data mirrored to the data processing platform from the communication data between the first device and the second device may be different from the actual communication data between the first device and the second device.
Specifically, in the whole process of dial testing, mirror image message data of a first device and a second device which are mirrored to a data processing platform through a switch are always captured, so that the integrity of the data is guaranteed, the data processing function of the data processing platform is conveniently detected based on the captured data in real time, and the accuracy and the effectiveness of detection are guaranteed.
S130, determining whether the data processing function of the data processing platform is normal or not according to the mirror image message data and the processing result of the data processing platform on the mirror image message data.
Optionally, there are many ways to determine whether the data processing function of the data processing platform is normal according to the mirror image message data and the processing result of the data processing platform on the mirror image message data, which is not limited in this embodiment.
One possible implementation is: and processing the data mirrored to the data processing platform by the data processing platform based on a preset rule to obtain a processing result, and determining whether the data processing function of the data processing platform is normal or not according to the mirror image message data, the processing result of the acquired data processing platform on the mirror image message data and a preset evaluation criterion.
Another possible implementation is: verifying whether the mirror image message data is consistent with the actual dial testing data; and if so, determining whether the data processing function of the data processing platform is normal or not according to the processing result of the data processing platform on the mirror image message data.
Specifically, whether the quantity and the like of mirror image message data mirrored to the data processing platform are consistent with actual dial-up test data between the first device and the second device is verified, and if so, whether the data processing function of the data processing platform is normal is determined according to the processing result of the data processing platform on the mirror image message data.
According to the technical scheme of the embodiment, dial testing is performed through the first equipment, the second equipment and the switch; the first equipment and the second equipment are under different local area networks; capturing mirror image message data of a first device and a second device which are mirrored to a data processing platform through a switch in a dial testing process; and determining whether the data processing function of the data processing platform is normal or not according to the mirror image message data and the processing result of the data processing platform on the mirror image message data. According to the scheme, the dial test is carried out based on the constructed real scene closer to the use of the user, so that the accuracy, the practicability and the applicability of the data processing function test are guaranteed; meanwhile, a set of simple and effective testing method is provided, the testing process is simplified, the labor and the testing cost are saved, and the testing efficiency is improved.
Example two
Fig. 3 is a flowchart of a data processing function testing method provided in the second embodiment of the present invention, where this embodiment is based on the foregoing embodiment, and further optimizes how to determine whether the data processing function of the data processing platform is normal according to the mirror image message data and the processing result of the data processing platform on the mirror image message data, and the method specifically includes:
and S210, carrying out dial testing through the first equipment, the second equipment and the switch.
Wherein the first device and the second device are under different local area networks.
S220, capturing mirror image message data of the first device and the second device which are mirrored to the data processing platform through the switch in the dial testing process.
S230, verifying whether the mirror image message data is consistent with the actual dial testing data; if yes, executing S240; if not, go to step S250.
S240, determining whether the data processing function of the data processing platform is normal or not according to the actual analysis result and/or the actual relation establishment result of the data processing platform on the mirror image message data.
The actual analysis result may be an analysis result obtained by analyzing the mirror image message data based on a preset rule by the data processing platform. The actual relationship establishment result may be an interaction condition between devices established by the data processing platform according to the mirror image message data (or an actual analysis result of the mirror image message data).
Optionally, determining whether the data processing function of the data processing platform is normal according to the actual analysis result of the data processing platform on the mirror image message data may be: and determining whether the data analysis function of the data processing platform is normal or not according to the expected analysis result corresponding to the mirror image message data and the comparison result between the actual analysis result of the mirror image message data by the data processing platform.
Specifically, the data processing platform may set a corresponding parsing logic in advance according to the data type of the mirror image packet. It can be understood that the data processing platform adopts different processing modes for different types of mirror image message data. The expected analysis result may be obtained by: firstly, analyzing the type of the mirror image message data, further acquiring the analysis logic of the type of the mirror image message data from the data processing platform, and carrying out simulation analysis on the mirror image message data based on the analysis logic to obtain an expected analysis result of the mirror image message data. The actual analysis result can be obtained by analyzing the mirror image message data based on the analysis logic by the data processing platform. And determining whether the data analysis function of the data processing platform is normal or not based on the comparison result of the expected analysis result and the actual analysis result by comparing the expected analysis result and the actual analysis result.
Optionally, determining whether the data processing function of the data processing platform is normal according to the actual relationship establishment result of the data processing platform on the mirror image message data may be: and determining whether the relation processing function of the data processing platform is normal or not according to the comparison result between the expected relation establishment result corresponding to the mirror image message data and the actual relation establishment result of the data processing platform on the mirror image message data.
Specifically, the data processing platform may set a corresponding relationship according to the data type of the mirror image packet in advance to establish a logic. The expected relationship establishment result may be obtained in the following manner: determining the relation establishment logic of the mirror image message data type according to the type of the mirror image message data, and performing logic simulation processing on the mirror image message data based on the relation establishment logic to obtain an expected relation establishment result of the mirror image message data. The actual relationship establishment result can be obtained by processing the mirror image message data by the data processing platform. And determining whether the relation processing function of the data processing platform is normal or not based on the comparison result of the expected relation establishment result and the actual relation establishment result by comparing the expected relation establishment result and the actual relation establishment result.
Wherein, an optional way to obtain the actual relationship establishment result is: acquiring a relationship network of the first equipment according to the identifier of the first equipment; and determining the actual relationship establishment result of the data processing platform on the mirror image message data according to the relationship network.
Specifically, the data processing platform stores the relationship network of each device in a database, and searches all information of the relationship network corresponding to the identifier of the first device from the database by using the identifier of the first device as an index according to the identifier of the first device so as to determine the actual relationship establishment result of the data processing platform on the mirror image message data. For example, the information of the second device is searched based on the relationship network, and if the relationship network contains the information of the second device, it indicates that the actual relationship establishment result is that a communication relationship exists between the first device and the second device; if the information of the second device does not exist in the relationship network, the fact that the actual relationship establishment result is that the communication relationship does not exist between the first device and the second device is shown.
Further, determining whether the data processing function of the data processing platform is normal according to the actual analysis result and the actual relationship establishment result of the data processing platform on the mirror image message data may be: and determining whether the data analysis function and the relation processing function of the data processing platform are normal or not according to the expected analysis result and the expected relation establishment result corresponding to the mirror image message data and the comparison result between the actual analysis result and the actual relation establishment result of the data processing platform on the mirror image message data.
In an example, determining the processing logic of the data processing platform for the mirror message type according to the mirror message type includes parsing logic and relationship establishing logic. And respectively processing the mirror image message data based on respective processing logics to obtain an expected analysis result and an expected relation establishment result, acquiring an actual analysis result and an actual relation establishment result of the data processing platform on the mirror image message data, and indicating that the data analysis function and the relation processing function of the data processing platform are normal when the expected analysis result is the same as the actual analysis result and the expected relation establishment result is the same as the actual relation establishment result.
And S250, ending the data processing function test.
According to the technical scheme of the embodiment, dial testing is carried out through the first equipment, the second equipment and the switch; the first equipment and the second equipment are under different local area networks; capturing mirror image message data of a first device and a second device which are mirrored to a data processing platform through a switch in a dial testing process; verifying whether the mirror image message data is consistent with the actual dial testing data; if the data processing function of the data processing platform is normal, according to the actual analysis result and/or the actual relationship establishment result of the mirror image message data by the data processing platform, determining whether the data processing function of the data processing platform is normal; if not, ending the data processing function test. The scheme firstly verifies the consistency of the mirror image message data and the actual dial-up test data, further determines whether the data processing function of the data processing platform is normally used according to the actual analysis result and/or the actual relation establishment result for the consistent data, directly quits the test for the inconsistent data, can ensure the accuracy and the comprehensiveness of the test by progressively testing layer by layer, and directly quits the test for the data which does not accord with the rule, thereby avoiding the resource waste, accelerating the test processing flow and improving the test efficiency.
EXAMPLE III
Fig. 4 is a schematic structural diagram of a data processing function testing apparatus according to a third embodiment of the present invention. The present embodiment may be applicable to the case of data processing function testing, the apparatus may be implemented in a software and/or hardware manner, and the apparatus may be integrated in any device providing a data processing testing function, as shown in fig. 4, the data processing function testing apparatus may specifically include:
the dial testing module 310 is used for performing dial testing through the first equipment, the second equipment and the switch; the first equipment and the second equipment are under different local area networks;
the data capturing module 320 is configured to capture mirror image message data that is mirrored to the data processing platform by the first device and the second device through the switch in the dial testing process;
the function determining module 330 is configured to determine whether the data processing function of the data processing platform is normal according to the mirror image message data and a processing result of the data processing platform on the mirror image message data.
According to the technical scheme of the embodiment, dial testing is carried out through the first equipment, the second equipment and the switch; the first equipment and the second equipment are under different local area networks; capturing mirror image message data of a first device and a second device which are mirrored to a data processing platform through a switch in a dial testing process; and determining whether the data processing function of the data processing platform is normal or not according to the mirror image message data and the processing result of the data processing platform on the mirror image message data. According to the scheme, the dial test is carried out based on the constructed real scene closer to the use of the user, so that the accuracy, the practicability and the applicability of the data processing function test are guaranteed; meanwhile, a set of simple and effective testing method is provided, the testing process is simplified, the labor and the testing cost are saved, and the testing efficiency is improved.
Optionally, the function determining module 330 includes:
the data verification unit is used for verifying whether the mirror image message data is consistent with the actual dial testing data;
and the processing function determining unit is used for determining whether the data processing function of the data processing platform is normal or not according to the processing result of the data processing platform on the mirror image message data if the data processing platform is consistent with the mirror image message data.
Optionally, the processing function determining unit further includes:
and the processing function determining subunit is used for determining whether the data processing function of the data processing platform is normal or not according to the actual analysis result and/or the actual relationship establishment result of the data processing platform on the mirror image message data.
Optionally, the processing function determining subunit is specifically configured to:
and determining whether the data analysis function of the data processing platform is normal or not according to the expected analysis result corresponding to the mirror image message data and the comparison result between the actual analysis result of the mirror image message data by the data processing platform.
Correspondingly, the processing function determination subunit is further specifically configured to:
and determining whether the relation processing function of the data processing platform is normal or not according to the comparison result between the expected relation establishment result corresponding to the mirror image message data and the actual relation establishment result of the data processing platform on the mirror image message data.
Optionally, the data processing function testing apparatus further includes:
the relation network acquiring unit is used for acquiring the relation network of the first equipment according to the identifier of the first equipment;
and the actual relation determining unit is used for determining the actual relation establishment result of the data processing platform on the mirror image message data according to the relation network.
The data processing function testing device provided by the embodiment of the invention can execute the data processing function testing method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Example four
Fig. 5 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present invention, and fig. 5 shows a block diagram of an exemplary electronic device 12 suitable for implementing the embodiment of the present invention. The electronic device 12 shown in fig. 5 is only an example and should not bring any limitation to the function and the scope of use of the embodiment of the present invention.
As shown in FIG. 5, electronic device 12 is embodied in the form of a general purpose computing device. The components of electronic device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including the system memory 28 and the processing unit 16.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)30 and/or cache memory (cache 32). The electronic device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 5, and commonly referred to as a "hard drive"). Although not shown in FIG. 5, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. System memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in system memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of embodiments described herein.
The processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28, for example, to implement the data processing function test method provided by the embodiment of the present invention:
performing dial testing through the first equipment, the second equipment and the switch; the first equipment and the second equipment are under different local area networks; capturing mirror image message data of a first device and a second device which are mirrored to a data processing platform through a switch in a dial testing process; and determining whether the data processing function of the data processing platform is normal or not according to the mirror image message data and the processing result of the data processing platform on the mirror image message data.
EXAMPLE five
Fifth, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program (or referred to as computer-executable instructions) is stored, where the computer program is used to execute the data processing function testing method provided in the embodiment of the present invention when the computer program is executed by a processor.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for embodiments of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the embodiments of the present invention have been described in more detail through the above embodiments, the embodiments of the present invention are not limited to the above embodiments, and many other equivalent embodiments may be included without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims (10)
1. A data processing function test method of a data processing platform is characterized by comprising the following steps:
performing dial testing through the first equipment, the second equipment and the switch; wherein the first device and the second device are under different local area networks;
capturing mirror image message data of the first device and the second device which are mirrored to the data processing platform through the switch in a dial testing process;
and determining whether the data processing function of the data processing platform is normal or not according to the mirror image message data and the processing result of the data processing platform on the mirror image message data.
2. The method according to claim 1, wherein the determining whether the data processing function of the data processing platform is normal according to the mirror image message data and the processing result of the data processing platform on the mirror image message data comprises:
verifying whether the mirror image message data is consistent with the actual dial testing data;
and if so, determining whether the data processing function of the data processing platform is normal or not according to the processing result of the data processing platform on the mirror image message data.
3. The method according to claim 2, wherein the determining whether the data processing function of the data processing platform is normal according to the processing result of the data processing platform on the mirror image packet data comprises:
and determining whether the data processing function of the data processing platform is normal or not according to the actual analysis result and/or the actual relationship establishment result of the data processing platform on the mirror image message data.
4. The method according to claim 3, wherein determining whether the data processing function of the data processing platform is normal according to the actual parsing result of the mirror message data by the data processing platform comprises:
and determining whether the data analysis function of the data processing platform is normal or not according to the expected analysis result corresponding to the mirror image message data and the comparison result between the actual analysis result of the mirror image message data by the data processing platform.
5. The method according to claim 3, wherein determining whether the data processing function of the data processing platform is normal according to the result of establishing the actual relationship of the data processing platform to the mirror message data comprises:
and determining whether the relation processing function of the data processing platform is normal or not according to the comparison result between the expected relation establishment result corresponding to the mirror image message data and the actual relation establishment result of the data processing platform on the mirror image message data.
6. The method according to any one of claims 3-5, further comprising:
acquiring a relationship network of the first equipment according to the identifier of the first equipment;
and determining the actual relationship establishment result of the data processing platform to the mirror image message data according to the relationship network.
7. A data processing function testing device of a data processing platform is characterized by comprising:
the dial testing module is used for carrying out dial testing through the first equipment, the second equipment and the switch; wherein the first device and the second device are under different local area networks;
the data capturing module is used for capturing mirror image message data of the first equipment and the second equipment which are mirrored to the data processing platform through the switch in the dial testing process;
and the function determining module is used for determining whether the data processing function of the data processing platform is normal or not according to the mirror image message data and the processing result of the data processing platform on the mirror image message data.
8. The apparatus of claim 7, wherein the function determining module comprises:
the data verification unit is used for verifying whether the mirror image message data is consistent with the actual dial testing data;
and the processing function determining unit is used for determining whether the data processing function of the data processing platform is normal or not according to the processing result of the data processing platform on the mirror image message data if the data processing platform is consistent with the mirror image message data.
9. An electronic device, comprising:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement a method for testing data processing functionality of a data processing platform according to any of claims 1-6.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out a data processing functionality testing method of a data processing platform according to any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210684475.1A CN115022201B (en) | 2022-06-16 | 2022-06-16 | Data processing function test method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210684475.1A CN115022201B (en) | 2022-06-16 | 2022-06-16 | Data processing function test method, device, equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115022201A true CN115022201A (en) | 2022-09-06 |
CN115022201B CN115022201B (en) | 2023-10-31 |
Family
ID=83074895
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210684475.1A Active CN115022201B (en) | 2022-06-16 | 2022-06-16 | Data processing function test method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115022201B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115484190A (en) * | 2022-09-12 | 2022-12-16 | 北京亚鸿世纪科技发展有限公司 | Method and device for automatically verifying network flow mirror integrity |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101001183A (en) * | 2007-01-10 | 2007-07-18 | 网之易信息技术(北京)有限公司 | Test method and system for network application software |
CN109167707A (en) * | 2018-09-10 | 2019-01-08 | 北京锐安科技有限公司 | A kind of shunting device test macro, method, apparatus, server and storage medium |
CN109560990A (en) * | 2018-12-17 | 2019-04-02 | 同盾控股有限公司 | A kind of Internet application test method and device |
WO2020060231A1 (en) * | 2018-09-19 | 2020-03-26 | 주식회사 맥데이타 | Network security monitoring method, network security monitoring device, and system |
CN111258897A (en) * | 2020-01-15 | 2020-06-09 | 网银在线(北京)科技有限公司 | Service platform testing method, device and system |
CN113852520A (en) * | 2021-11-29 | 2021-12-28 | 中国光大银行股份有限公司 | Data processing method and device |
-
2022
- 2022-06-16 CN CN202210684475.1A patent/CN115022201B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101001183A (en) * | 2007-01-10 | 2007-07-18 | 网之易信息技术(北京)有限公司 | Test method and system for network application software |
CN109167707A (en) * | 2018-09-10 | 2019-01-08 | 北京锐安科技有限公司 | A kind of shunting device test macro, method, apparatus, server and storage medium |
WO2020060231A1 (en) * | 2018-09-19 | 2020-03-26 | 주식회사 맥데이타 | Network security monitoring method, network security monitoring device, and system |
CN109560990A (en) * | 2018-12-17 | 2019-04-02 | 同盾控股有限公司 | A kind of Internet application test method and device |
CN111258897A (en) * | 2020-01-15 | 2020-06-09 | 网银在线(北京)科技有限公司 | Service platform testing method, device and system |
CN113852520A (en) * | 2021-11-29 | 2021-12-28 | 中国光大银行股份有限公司 | Data processing method and device |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115484190A (en) * | 2022-09-12 | 2022-12-16 | 北京亚鸿世纪科技发展有限公司 | Method and device for automatically verifying network flow mirror integrity |
Also Published As
Publication number | Publication date |
---|---|
CN115022201B (en) | 2023-10-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110221982B (en) | Performance test method, device and equipment of business system and readable storage medium | |
CN108897691B (en) | Data processing method, device, server and medium based on interface simulation service | |
CN107506300B (en) | User interface testing method, device, server and storage medium | |
CN106940695B (en) | Data source information verification method and device | |
CN112035314B (en) | Memory leakage monitoring method and device and electronic equipment | |
CN111858296B (en) | Interface testing method, device, equipment and storage medium | |
CN110515758B (en) | Fault positioning method and device, computer equipment and storage medium | |
CN114253864A (en) | Service testing method and device, electronic equipment and storage medium | |
CN115878394A (en) | Memory test method and device, electronic equipment and storage medium | |
CN115022201B (en) | Data processing function test method, device, equipment and storage medium | |
CN110597704A (en) | Application program pressure testing method, device, server and medium | |
CN110609786A (en) | Software testing method and device, computer equipment and storage medium | |
CN112866979B (en) | User information association method, device, equipment and medium based on 5G service interface | |
CN114490394A (en) | Test range determining method, device, equipment and medium | |
CN111046393B (en) | Vulnerability information uploading method and device, terminal equipment and storage medium | |
CN108399128A (en) | A kind of generation method of user data, device, server and storage medium | |
CN112416747A (en) | Test case execution method, device, equipment and medium | |
CN112379967B (en) | Simulator detection method, device, equipment and medium | |
CN113342664B (en) | Dial testing method, device, storage medium and computer equipment | |
KR20170044320A (en) | Method of analyzing application objects based on distributed computing, method of providing item executable by computer, server performing the same and storage media storing the same | |
CN110457705B (en) | Method, device, equipment and storage medium for processing point of interest data | |
CN113342632A (en) | Simulation data automatic processing method and device, electronic equipment and storage medium | |
CN110968519A (en) | Game testing method, device, server and storage medium | |
CN115484200B (en) | Buried point testing method, buried point testing device, server, storage medium and buried point testing system | |
CN110287039A (en) | Analog interface configuration method, medium, device and calculating equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |