CN115022201B - 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
- CN115022201B CN115022201B CN202210684475.1A CN202210684475A CN115022201B CN 115022201 B CN115022201 B CN 115022201B CN 202210684475 A CN202210684475 A CN 202210684475A CN 115022201 B CN115022201 B CN 115022201B
- 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.)
- Active
Links
- 238000012545 processing Methods 0.000 title claims abstract description 238
- 238000010998 test method Methods 0.000 title claims abstract description 8
- 238000012360 testing method Methods 0.000 claims abstract description 90
- 238000000034 method Methods 0.000 claims abstract description 35
- 230000006870 function Effects 0.000 claims description 98
- 238000004458 analytical method Methods 0.000 claims description 33
- 238000007405 data analysis Methods 0.000 claims description 5
- 238000004590 computer program Methods 0.000 claims description 4
- 238000013524 data verification Methods 0.000 claims description 2
- 238000004891 communication Methods 0.000 description 9
- 238000010586 diagram Methods 0.000 description 7
- 238000001514 detection method Methods 0.000 description 6
- 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
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000008707 rearrangement Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
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 test method, a device, equipment and a storage medium. The method comprises the following steps: 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 equipment and the second equipment, which are mirror-imaged 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 according to the mirror image message data and the processing result of the data processing platform on the mirror image message data. The scheme can be used for efficiently and accurately testing the data processing function.
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, the data processing platform needs to effectively process data with huge scale, various types, high-speed circulation, complexity and variability, uneven quality and different value density, and extract structured and high-value data.
The current test of the data processing function of the data processing platform is usually to verify whether the data processing function is normal or not based on the constructed data in a laboratory, and the accuracy is low. Therefore, how to accurately perform the data processing function test is a current urgent problem to be solved.
Disclosure of Invention
The embodiment of the invention provides a data processing function testing method, a device, equipment and a storage medium, so that the data processing function can be tested efficiently and accurately.
In a first aspect, an embodiment of the present invention provides a method for testing a data processing function, including:
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 equipment and the second equipment, which are mirror-imaged 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 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 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 grabbing module is used for grabbing mirror image message data of the first equipment and the second equipment, which are mirror images to the data processing platform through the switch, in the process of dial testing;
and the function determining module is used for 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.
In a third aspect, an embodiment of the present invention further provides an electronic device, including:
one or more processors;
a memory for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the data processing function test 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, which when executed by a processor implements the data processing function test method according to any one of the first aspects.
In the embodiment of the invention, the dial testing is performed 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 equipment and the second equipment, which are mirror-imaged 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 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 constructed real dial testing scene which is closer to the use of the user, the accuracy, the practicability and the applicability of the data processing function test are guaranteed, the testing mode is optimized, the labor cost and the testing cost are saved, and the testing efficiency is improved.
Drawings
FIG. 1 is a flowchart of a method for testing data processing functions according to a first embodiment of the present invention;
FIG. 2 is a schematic diagram of a dial testing scenario according to a first embodiment of the present invention;
FIG. 3 is a flowchart of a method for testing data processing functions according to a second embodiment of the present invention;
fig. 4 is a schematic structural diagram of a data processing function testing device 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 invention is described in further detail below 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 limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the structures related to the present invention are shown in the drawings.
Example 1
Fig. 1 is a flowchart of a data processing function testing method according to a first embodiment of the present invention, where the present embodiment is applicable to a data processing function testing situation, and is particularly applicable to a data processing function testing situation of a data processing platform. The method may be performed by a data processing function testing device in an embodiment of the present invention, where the device may be implemented in hardware and/or software, as shown in fig. 1, and the method specifically includes:
s110, dial testing is conducted through the first equipment, the second equipment and the switch.
The first device and the second device may be input/output devices with communication processing and data interaction functions, including but not limited to mobile phones, tablets, computers and the like. The first device and the second device may be located under different local area networks, and the types and the 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 a message switch, with mirroring functionality. The dial test can be a test function of a call center unified communication convergence communication professional information network system, simulates a business operation process of a user, and obtains operation process performance data and operation result data of a finished business. In this embodiment, it can be understood that the process of communicating between the first device and the second device located under different local area networks is simulated by the switch.
Fig. 2 is a schematic diagram of a dial testing scenario provided in the first embodiment of the present invention, where, as shown in fig. 2, a first device is located under a first router, and includes a mobile phone 1, a mobile phone 2, and a WiFi1 is connected to the mobile phone 2; the second device is located under the second router and comprises a plurality of devices, specifically a mobile phone 3, a mobile phone 4 and a computer 1, and is connected with the WiFi2. The communication between the first equipment and the second equipment is mapped to a local area network through respective routers, and is converged to a switch through the local area network, and the switch is connected with a data processing platform, so that a dial testing scene is constructed.
In the dial testing scene, dial testing is performed through the first equipment, the second equipment and the switch based on pre-configured actual dial testing data.
S120, capturing mirror image message data of the first equipment and the second equipment 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, specifically, message data mirrored to the data processing platform through the switch, that is, mirror image message data mirrored to the data processing platform by communication data between the first device and the second device, and actual communication data between the first device and the second device may have a difference.
Specifically, in the whole process of dial testing, mirror image message data of the first equipment and the second equipment are always captured to the data processing platform through the switch mirror image, so that the integrity of the data is guaranteed, the data processing function of the data processing platform is conveniently detected based on the data captured 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, the method for determining whether the data processing function of the data processing platform is normal or not is many 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 embodiment is: the data mirrored to the data processing platform is processed by the data processing platform based on preset rules to obtain processing results, and whether the data processing function of the data processing platform is normal is determined according to the mirrored message data and the acquired processing results of the data processing platform on the mirrored message data and preset evaluation criteria.
Another embodiment is: verifying whether the mirror image message data are consistent with the actual dial testing data or not; if the data processing functions are consistent, determining whether the data processing functions of the data processing platform are normal according to the processing results of the data processing platform on the mirror image message data.
Specifically, whether the quantity of mirror image message data mirrored to the data processing platform is consistent with actual dial test data between the first equipment and the second equipment is verified, 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, dial testing is conducted through the first equipment, the second equipment and the switch; the first device and the second device are under different local area networks; capturing mirror image message data of the first equipment and the second equipment mirrored to the data processing platform through the switch in the dial testing process; and 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. According to the scheme, the dial testing is performed based on the constructed real scene which is closer to the use of the user, so that the accuracy, the practicability and the applicability of the data processing function test are ensured; meanwhile, a set of simple and effective testing method is provided, the testing process is simplified, the manpower 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 according to a second embodiment of the present invention, where the present embodiment is based on the foregoing embodiment, and further optimizes how to determine whether a data processing function of a data processing platform is normal according to mirror image message data and a processing result of the data processing platform on the mirror image message data, and the method specifically includes:
s210, 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.
S220, capturing mirror image message data of the first equipment and the second equipment mirrored to the data processing platform through the switch in the dial testing process.
S230, verifying whether the mirror image message data are consistent with the actual dial testing data; if so, executing S240; if not, S250 is performed.
S240, determining whether the data processing function of the data processing platform is normal 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 the data processing platform analyzing the mirror image message data based on a preset rule. 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, according to an actual analysis result of the mirror image message data by the data processing platform, determining whether a data processing function of the data processing platform is normal may be: and determining whether the data analysis function of the data processing platform is normal according to a comparison result between an expected analysis result corresponding to the mirror image message data and an actual analysis result of the mirror image message data by the data processing platform.
Specifically, the data processing platform may set the corresponding parsing logic in advance according to the data type of the mirror image message. 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 obtaining analysis logic of the mirror image message data type 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 by the data processing platform based on analysis logic. And comparing the expected analysis result with the actual analysis result, 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.
Optionally, according to the result of establishing the actual relationship between the data processing platform and the mirror image message data, determining whether the data processing function of the data processing platform is normal may be: and determining whether the relationship processing function of the data processing platform is normal or not according to a comparison result between an expected relationship establishment result corresponding to the mirror image message data and an actual relationship establishment result of the data processing platform to the mirror image message data.
Specifically, the data processing platform may set the corresponding relationship establishment logic in advance according to the mirror image message data type. The expected relation establishment result may be obtained by: and determining the relationship establishment logic of the mirror image message data type according to the type of the mirror image message data, and simulating and processing the mirror image message data based on the relationship establishment logic to obtain an expected relationship establishment result of the mirror image message data. The actual relation establishment result can be obtained by processing mirror image message data by the data processing platform. And comparing the expected relation establishment result with the actual relation establishment result, 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.
One alternative way to obtain the actual relationship establishment result is: acquiring a relation network of the first equipment according to the identification of the first equipment; and determining an actual relation establishment result of the data processing platform on the mirror image message data according to the relation 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 as an index according to the identifier of the first device so as to determine an actual relationship establishment result of the data processing platform on the mirror image message data. For example, searching information of the second device based on the relationship network, if the relationship network contains the information of the second device, 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 equipment does not exist in the relation network, the fact that the communication relation exists between the first equipment and the second equipment is indicated as an actual relation establishment result.
Further, according to the actual analysis result and the actual relation 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 may be: and determining whether the data analysis function and the relationship processing function of the data processing platform are normal or not according to the expected analysis result and the expected relationship establishment result corresponding to the mirror image message data and the comparison result between the actual analysis result and the actual relationship establishment result of the data processing platform on the mirror image message data.
For example, processing logic of the data processing platform for the mirror image message type is determined according to the mirror image message type, including parsing logic and relationship establishing logic. And respectively processing the mirror image message data based on the respective processing logic to obtain an expected analysis result and an expected relation establishment result, and obtaining an actual analysis result and an actual relation establishment result of the data processing platform on the mirror image message data.
S250, ending the data processing function test.
According to the technical scheme, dial testing is conducted through the first equipment, the second equipment and the switch; the first device and the second device are under different local area networks; capturing mirror image message data of the first equipment and the second equipment mirrored to the data processing platform through the switch in the dial testing process; verifying whether the mirror image message data are consistent with the actual dial testing data or not; if the data processing functions are consistent, determining whether the data processing functions of the data processing platform are 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; if the data processing function test is inconsistent, ending the data processing function test. According to the scheme, consistency of mirror image message data and actual dial test data is verified, whether a data processing function of a data processing platform is normally used is further determined according to an actual analysis result and/or an actual relation establishment result for the consistent data, detection is directly carried out on inconsistent data, accuracy and comprehensiveness of detection can be guaranteed through layer-by-layer progressive detection, resource waste can be avoided when the inconsistent data is directly carried out, detection processing flow is quickened, and detection efficiency is improved.
Example III
Fig. 4 is a schematic structural diagram of a data processing function testing device according to a third embodiment of the present invention. The present embodiment may be applied to a case of testing a data processing function, where the apparatus may be implemented in software and/or hardware, and the apparatus may be integrated in any device that provides a data processing test function, as shown in fig. 4, where the data processing function testing apparatus may specifically include:
a dial testing module 310, configured to dial test through the first device, the second device and the switch; the first device and the second device are under different local area networks;
the data grabbing module 320 is configured to grab mirror image message data of the first device and the second device mirrored to the data processing platform through the switch in a measurement 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 message data and the processing result of the data processing platform on the mirror message data.
According to the technical scheme, dial testing is conducted through the first equipment, the second equipment and the switch; the first device and the second device are under different local area networks; capturing mirror image message data of the first equipment and the second equipment mirrored to the data processing platform through the switch in the dial testing process; and 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. According to the scheme, the dial testing is performed based on the constructed real scene which is closer to the use of the user, so that the accuracy, the practicability and the applicability of the data processing function test are ensured; meanwhile, a set of simple and effective testing method is provided, the testing process is simplified, the manpower 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 are consistent with the actual dial test data or not;
and the processing function determining unit is used for 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 message data if the data processing function is consistent.
Optionally, the processing function determining unit further includes:
the processing function determining subunit is used for determining whether the data processing function of the data processing platform is normal according to the actual analysis result and/or the actual relation 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 according to a comparison result between an expected analysis result corresponding to the mirror image message data and an actual analysis result of the mirror image message data by the data processing platform.
Correspondingly, the processing function determination subunit is specifically further configured to:
and determining whether the relationship processing function of the data processing platform is normal or not according to a comparison result between an expected relationship establishment result corresponding to the mirror image message data and an actual relationship establishment result of the data processing platform to the mirror image message data.
Optionally, the data processing function test device further includes:
the relation network acquisition unit is used for acquiring a relation network of the first equipment according to the identification of the first equipment;
the actual relation determining unit is used for determining an actual relation establishing 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 function modules and beneficial effects of the execution method.
Example IV
Fig. 5 is a schematic structural diagram of an electronic device provided in accordance with a fourth embodiment of the present invention, and fig. 5 is a block diagram of an exemplary electronic device 12 suitable for implementing an embodiment of the present invention. The electronic device 12 shown in fig. 5 is merely an example and should not be construed as limiting the functionality and scope of use of embodiments of the present invention.
As shown in fig. 5, the electronic device 12 is in the form of a general purpose computing device. Components of the electronic device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, a bus 18 that connects the various system components, including the system memory 28 and the processing units 16.
Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, and a local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include Industry Standard Architecture (ISA) bus, micro channel architecture (MAC) bus, enhanced ISA bus, video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Electronic device 12 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by electronic device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
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 or write to non-removable, nonvolatile magnetic media (not shown in FIG. 5, commonly referred to as a "hard disk drive"). Although not shown in fig. 5, a magnetic disk drive for reading from and writing to a removable non-volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading from or writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In such cases, each drive may be coupled to bus 18 through one or more data medium interfaces. The system memory 28 may include at least one program product having a set (e.g., at least one) of program modules 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 in, for example, 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 or some combination of which may include an implementation of a network environment. Program modules 42 generally perform the functions and/or methods of the embodiments described herein.
The electronic device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), one or more devices that enable a user to interact with the electronic device 12, and/or any devices (e.g., network card, modem, etc.) that enable the electronic device 12 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 22. Also, the electronic device 12 may communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network, such as the Internet, through a network adapter 20. As shown, the network adapter 20 communicates with other modules of the electronic device 12 over the bus 18. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with electronic device 12, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
The processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28, for example, implementing the data processing function test method provided by the embodiment of the present invention:
dial testing is carried out through the first equipment, the second equipment and the switch; the first device and the second device are under different local area networks; capturing mirror image message data of the first equipment and the second equipment mirrored to the data processing platform through the switch in the dial testing process; and 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.
Example five
The fifth embodiment of the present invention also provides a computer-readable storage medium having stored thereon a computer program (or referred to as computer-executable instructions) for executing the data processing function test method provided by the embodiment of the present invention when the program is executed by a processor.
The computer storage media of embodiments of the invention may take the form of 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. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any 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 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.
The computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. 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 kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
Note that the above is only a preferred embodiment of the present invention and the technical principle applied. 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, while the embodiments of the present invention have been described in connection with the above embodiments, the embodiments of the present invention are not limited to the above embodiments, but may include many other equivalent embodiments 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 (7)
1. A method for testing a data processing function of a data processing platform, comprising:
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 equipment and the second equipment, which are mirror-imaged to the data processing platform through the switch, in a dial testing process;
verifying whether the mirror image message data are consistent with the actual dial testing data or not;
if the data processing functions are consistent, determining whether the data processing functions of the data processing platform are normal according to the processing results of the data processing platform on the mirror image message data;
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 to the mirror image message data includes:
and determining whether the data processing function of the data processing platform is normal according to the actual analysis result and/or the actual relation establishment result of the data processing platform on the mirror image message data.
2. The method according to claim 1, wherein determining whether the data processing function of the data processing platform is normal according to the actual analysis 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 a comparison result between an expected analysis result corresponding to the mirror image message data and an actual analysis result of the data processing platform on the mirror image message data.
3. The method of claim 1, wherein determining whether the data processing function of the data processing platform is normal based on the result of the establishing the actual relationship between the data processing platform and the mirror message data comprises:
and determining whether the relationship processing function of the data processing platform is normal or not according to a comparison result between an expected relationship establishment result corresponding to the mirror image message data and an actual relationship establishment result of the data processing platform on the mirror image message data.
4. A method according to any one of claims 2-3, further comprising:
acquiring a relation network of the first equipment according to the identification of the first equipment;
and determining an actual relation establishment result of the data processing platform on the mirror image message data according to the relation network.
5. A data processing function test device of a data processing platform, comprising:
the dial testing module is used for 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 grabbing module is used for grabbing mirror image message data of the first equipment and the second equipment, which are mirror images to the data processing platform through the switch, in the process of dial testing;
the function determining module comprises, in combination,
the data verification unit is used for verifying whether the mirror image message data are consistent with the actual dial test data or not;
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 function is consistent;
wherein the processing function determining unit includes,
the processing function determining subunit is used for determining whether the data processing function of the data processing platform is normal according to the actual analysis result and/or the actual relation establishment result of the data processing platform on the mirror image message data.
6. An electronic device, comprising:
one or more processors;
a memory for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the data processing functionality test method of a data processing platform as claimed in any one of claims 1 to 4.
7. A computer readable storage medium having stored thereon a computer program, which when executed by a processor implements a data processing function testing method of a data processing platform according to any of claims 1-4.
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 CN115022201A (en) | 2022-09-06 |
CN115022201B true 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) |
Families Citing this family (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 |
Also Published As
Publication number | Publication date |
---|---|
CN115022201A (en) | 2022-09-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110597704B (en) | Pressure test method, device, server and medium for application program | |
CN113836014B (en) | Interface testing method, device, electronic device and storage medium | |
CN110515758B (en) | Fault positioning method and device, computer equipment and storage medium | |
CN112241362A (en) | Test method, test device, server and storage medium | |
CN115022201B (en) | Data processing function test method, device, equipment and storage medium | |
CN118885406B (en) | Database cluster abnormity testing method and device | |
CN112866979B (en) | User information association method, device, equipment and medium based on 5G service interface | |
CN112084114B (en) | Method and apparatus for testing interfaces | |
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 | |
CN108228611B (en) | Document information copying method and device | |
CN112131611A (en) | Data correctness verification method, device, equipment, system and storage medium | |
CN112711487A (en) | Data source management and control method and device, management and control server and storage medium | |
CN112860538A (en) | Method and device for performing interface regression test based on online log | |
CN112379967B (en) | Simulator detection method, device, equipment and medium | |
CN114528215A (en) | Interactive page testing method and element template generating method and device | |
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 | |
CN114090650A (en) | Sample data identification method and device, electronic equipment and storage medium | |
CN113687881A (en) | Metadata calling method and device, electronic equipment and storage medium | |
CN113760696A (en) | Program problem positioning method and device, electronic equipment and storage medium | |
CN115484200B (en) | Buried point testing method, buried point testing device, server, storage medium and buried point testing system | |
CN110750569A (en) | Data extraction method, device, equipment and storage medium | |
CN112632992B (en) | Test method, test device, computer equipment and medium | |
CN111013156B (en) | Scene detection method, device, terminal and medium based on robot |
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 |