Data processing method and device for multi-type communication co-simulation
By using the communication serial port to acquire and process the transmission information of multi-type communication, the differences and efficiency problems of multi-type communication collaborative simulation data processing in the prior art are solved, and efficient simulation and data interaction are achieved.
Patent Information
- Application Number
- CN202510188552.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-20
- Publication Date
- 2025-06-10
- Estimated Expiration
- 2045-02-20
AI Technical Summary
The existing communication simulation technology has problems such as data format, large differences in transmission protocol and channel characteristics, lack of support for multi-type communication collaborative simulation, and low data synchronization and interaction efficiency when dealing with multi-type communication collaborative collaboration.
By using the first and second communication serial ports to obtain transmission communication information, analyze and analyze processing, the target analysis communication information and target analysis result information are obtained, so as to realize data processing of multi-type communication collaborative simulation.
It improves simulation efficiency, meets the needs of multi-type communication collaborative simulation, and realizes efficient data synchronization and collaborative interaction.
Smart Images

Figure CN120123283A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of simulation technology, and in particular, to a data processing method and device for multi-type communication collaborative simulation. Background Art
[0002] Existing communication simulation technologies have many deficiencies in dealing with multi-type communication collaboration. First, the data formats, transmission protocols, and channel characteristics of different communication types vary greatly, making it difficult to achieve unified data processing and interaction during the simulation process. For example, the channel fading model in wireless communication is completely different from the noise model in wired communication, and satellite communication needs to consider orbital parameters and atmospheric attenuation, etc. Second, most existing simulation tools focus on the simulation of a single communication type and lack support for multi-type communication collaborative simulation. This makes it necessary to use different simulation tools separately when researching and developing multi-type communication collaborative systems, increasing the development cost and time complexity. In addition, multi-type communication collaborative simulation also faces problems of data synchronization and interaction efficiency. The data update frequencies and transmission delays of different communication types are different, and how to achieve efficient data synchronization and collaborative interaction during the simulation process is an urgent problem to be solved. Therefore, a data processing method and device for multi-type communication collaborative simulation are provided to improve the simulation efficiency and meet the requirements of multi-type communication collaborative simulation. Summary of the Invention
[0003] The technical problem to be solved by the present invention is to provide a data processing method and device for multi-type communication collaborative simulation, which is beneficial to improving the simulation efficiency and meeting the requirements of multi-type communication collaborative simulation.
[0004] To solve the above technical problem, in the first aspect of the embodiments of the present invention, a data processing method for multi-type communication collaborative simulation is disclosed, and the method includes:
[0005] Obtain first transmission communication information and second transmission communication information from a first communication serial port and a second communication serial port respectively;
[0006] Perform parsing processing on the first transmission communication information and the second transmission communication information to obtain target parsed communication information; the target parsed communication information includes first target parsed information and second target parsed information;
[0007] Perform analysis processing on the target parsed communication information to obtain target analysis result information.
[0008] In the second aspect of the embodiments of the present invention, a data processing device for multi-type communication collaborative simulation is disclosed, and the device includes:
[0009] An acquisition module, configured to acquire first transmission communication information and second transmission communication information respectively from a first communication serial port and a second communication serial port;
[0010] A first processing module, configured to perform parsing processing on the first transmission communication information and the second transmission communication information to obtain target parsed communication information; the target parsed communication information includes first target parsed information and second target parsed information;
[0011] A second processing module, configured to perform analysis processing on the target parsed communication information to obtain target analysis result information.
[0012] A third aspect of the present invention discloses another data processing device for multi-type communication collaborative simulation, the device includes:
[0013] A memory storing executable program code;
[0014] A processor coupled to the memory;
[0015] The processor calls the executable program code stored in the memory and executes some or all of the steps in the data processing method for multi-type communication collaborative simulation disclosed in the first aspect of the embodiments of the present invention.
[0016] A fourth aspect of the present invention discloses a computer-readable storage medium, the computer-readable storage medium stores computer instructions, and when the computer instructions are called, they are used to execute some or all of the steps in the data processing method for multi-type communication collaborative simulation disclosed in the first aspect of the embodiments of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0018] Figure 1 is a scenario schematic diagram of a data processing system for multi-type communication collaborative simulation provided by an embodiment of the present invention;
[0019] Figure 2 is a flowchart of a data processing method for multi-type communication collaborative simulation disclosed by an embodiment of the present invention;
[0020] Figure 3 is a structural schematic diagram of a data processing device for multi-type communication collaborative simulation disclosed by an embodiment of the present invention;
[0021] Figure 4It is a schematic structural diagram of another data processing device for multi-type communication collaborative simulation disclosed in the embodiments of the present invention. Detailed implementation manners
[0022] In order to enable those skilled in the art to better understand the solution of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without making creative efforts belong to the scope of protection of the present invention.
[0023] The terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, device, product or equipment that includes a series of steps or units is not limited to the listed steps or units, but optionally further includes steps or units not listed, or optionally further includes other steps or units inherent to these processes, methods, products or equipment.
[0024] Referring to "embodiments" herein means that a specific feature, structure, or characteristic described in connection with the embodiments can be included in at least one embodiment of the present invention. The phrase appears in various places in the specification and does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those skilled in the art will explicitly and implicitly understand that the embodiments described herein can be combined with other embodiments.
[0025] In this application, the term "exemplary" is used to mean "serving as an example, illustration, or description". Any embodiment described as "exemplary" in this application is not necessarily to be construed as more preferred or more advantageous than other embodiments. In order for any person skilled in the art to implement and use this application, the following description is given. Details are set forth in the following description for purposes of explanation. It should be understood that those of ordinary skill in the art can recognize that this application can be implemented without using these specific details. In other instances, well-known structures and processes are not elaborated in detail to avoid obscuring the description of this application with unnecessary details. Therefore, this application is not intended to be limited to the embodiments shown, but is to be accorded the widest scope consistent with the principles and features disclosed in this application.
[0026] It should be noted that since the method of the embodiment of the present application is executed in a computer device, the processing objects of each computer device exist in the form of data or information. For example, time, which is actually time information. It can be understood that in subsequent embodiments, if dimensions, quantities, positions, etc. are mentioned, they are all corresponding data existences for the computer device to process. Details are not elaborated here.
[0027] It should be noted that a brief introduction to the artificial intelligence related technologies that may be involved in the present application is given. Artificial Intelligence (AI) is to use digital computers or machines controlled by digital computers to simulate, extend, and expand human intelligence, and is a theory, method, technology, and application system that can perceive the environment, acquire knowledge, and use knowledge to obtain the best results. In other words, artificial intelligence is a comprehensive technology in computer science. It attempts to understand the essence of intelligence and produce a new intelligent machine that can react in a way similar to human intelligence. Artificial intelligence is also to study the design principles and implementation methods of various intelligent machines to enable the machines to have the functions of perception, reasoning, and decision-making.
[0028] Artificial intelligence technology is an interdisciplinary subject, involving a wide range of fields, including both hardware-level technologies and software-level technologies. The basic technologies of artificial intelligence generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technology, operation / interaction systems, and mechatronics. The software technologies of artificial intelligence mainly include several major directions such as computer vision technology, speech processing technology, natural language processing technology, and machine learning / deep learning.
[0029] Computer Vision Technology (CV) Computer vision is a science that studies how to enable machines to "see". Further, it refers to using cameras and computers to replace human eyes to perform machine vision such as target recognition and measurement on targets, and further perform graphic processing to make the computer process into images that are more suitable for human eyes to observe or be transmitted to instruments for detection. As a scientific discipline, computer vision studies related theories and technologies and attempts to establish an artificial intelligence system that can obtain information from images or multi-dimensional data. Computer vision technology usually includes technologies such as image processing, image recognition, image semantic understanding, image retrieval, OCR, video processing, video semantic understanding, video content / behavior recognition, three-dimensional object reconstruction, 3D technology, virtual reality, augmented reality, simultaneous localization and mapping, and also includes common biometric recognition technologies such as face recognition and fingerprint recognition.
[0030] Single-modal information is data of only one type, such as one of the data information types like text, image, audio, video, electromagnetic signals, etc. Multi-modal information is data information that includes at least two types of single-modal information. Further, multi-modal information is applicable to complex tasks that require integrating multiple information sources, such as sentiment analysis, robot interaction, autonomous driving, etc. By integrating information of multiple modalities, higher performance and accuracy can usually be achieved in tasks.
[0031] A large model refers to an artificial neural network model with a very large number of parameters. In the field of artificial intelligence, a large model usually refers to a model with hundreds of millions to trillions of parameters. The model usually needs to be trained on a large-scale dataset and requires a large amount of computing resources for optimization and adjustment. Large models are usually used to solve complex natural language processing, computer vision, speech recognition, and other tasks. Generative AI is a type of AI that can create new content and ideas, including conversations, stories, images, videos, and music. In the embodiments of this application, the large model can be large language models such as ChatGPT, BERT, XLNet, Zhipu Model, Claude, Moonshot AI Model, ChatGLM Model, Tongwen Qianyi Model, MiniMax Model, Spark Model, Llama Model, 360GPT Model, Qwen Model, Baichuan Model, Lark Model, vivoLM Model, and Wenxin Yiyan, and the embodiments of this application do not make any limitations.
[0032] The embodiments of this application provide a data processing method, device, computer device, and computer-readable storage medium for multi-type communication collaborative simulation, which will be described in detail below.
[0033] Please refer to Figure 1 , Figure 1 , which is a schematic diagram of the scenario of the data processing system for multi-type communication collaborative simulation provided by the embodiments of this application. The data processing system for multi-type communication collaborative simulation may include a computer device 100, and a data processing device for multi-type communication collaborative simulation is integrated in the computer device 100, such as Figure 1 the computer device in
[0034] In the embodiments of this application, the computer device 100 is mainly used to obtain the first transmission communication information and the second transmission communication information respectively through the first communication serial port and the second communication serial port;
[0035] perform parsing processing on the first transmission communication information and the second transmission communication information to obtain target parsed communication information; the target parsed communication information includes first target parsed information and second target parsed information;
[0036] perform analysis processing on the target parsed communication information to obtain target analysis result information.
[0037] It can improve the simulation efficiency and meet the requirements of multi-type communication collaborative simulation.
[0038] In the embodiment of the present application, the computer device 100 can be an independent server or a server network or server cluster composed of servers. For example, the computer device 100 described in the embodiment of the present application includes, but is not limited to, a computer, a network host, a single network server, a set of multiple network servers, or a cloud server composed of multiple servers. Among them, the cloud server is composed of a large number of computers or network servers based on cloud computing.
[0039] It can be understood that the computer device 100 used in the embodiment of the present application can be a device that includes both receiving and transmitting hardware, that is, a device having receiving and transmitting hardware capable of performing two-way communication on a two-way communication link. Such devices can include: cellular or other communication devices, which have a single-line display or a multi-line display or a cellular or other communication device without a multi-line display. Specifically, the computer device 100 can be a desktop terminal or a mobile terminal, and the computer device 100 can also be a mobile phone, a tablet computer, a laptop computer, etc.
[0040] Those skilled in the art can understand that Figure 1 the application environment shown in Figure 1 is only one application scenario of the solution of the present application and does not constitute a limitation on the application scenario of the solution of the present application. Other application environments can also include more or fewer computer devices than those shown in Figure 1 For example, only 1 computer device is shown in Figure 1 . It can be understood that the data processing system for multi-type communication collaborative simulation can also include one or more other services, which are not specifically limited here.
[0041] In addition, as shown in Figure 1 , the data processing system for multi-type communication collaborative simulation can also include a memory 200 for storing data, such as image data, location information, etc.
[0042] It should be noted that Figure 1 the schematic diagram of the scenario of the data processing system for multi-type communication collaborative simulation shown in Figure 1 is only an example. The data processing system and scenario for multi-type communication collaborative simulation described in the embodiment of the present application are for more clearly explaining the technical solution of the embodiment of the present application and do not constitute a limitation on the technical solution provided by the embodiment of the present application. Those skilled in the art know that with the evolution of the data processing system for multi-type communication collaborative simulation and the emergence of new business scenarios, the technical solution provided by the embodiment of the present application is equally applicable to similar technical problems.
[0043] The present invention discloses a data processing method and apparatus for multi-type communication collaborative simulation, which is beneficial to improving the simulation efficiency and meeting the requirements of multi-type communication collaborative simulation. The following will be described in detail respectively.
[0044] Embodiment 1
[0045] Please refer to Figure 2 , Figure 2 which is a schematic flowchart of a data processing method for multi-type communication collaborative simulation disclosed in an embodiment of the present invention. Among them, Figure 2 the described data processing method for multi-type communication collaborative simulation is applied to a management system, such as a local server or a cloud server for management, etc., and the embodiments of the present invention do not make any limitations. As Figure 2 shown, the data processing method for multi-type communication collaborative simulation may include the following operations:
[0046] 101. Obtain first transmission communication information and second transmission communication information from a first communication serial port and a second communication serial port respectively.
[0047] 102. Perform parsing processing on the first transmission communication information and the second transmission communication information to obtain target parsed communication information.
[0048] In an embodiment of the present invention, the target parsed communication information includes first target parsed information and second target parsed information.
[0049] 103. Perform analysis processing on the target parsed communication information to obtain target analysis result information.
[0050] It should be noted that the above first communication serial port and second communication serial port represent interfaces for the data processing system of multi-type communication collaborative simulation based on the present application to perform simulation data transmission with a distributed simulation system, and the embodiments of the present invention do not make any limitations. Through the communication serial port, the data processing system of multi-type communication collaborative simulation can communicate with the distributed simulation system to receive the corresponding first transmission communication information and second transmission communication information, and the embodiments of the present invention do not make any limitations.
[0051] It should be noted that the above target analysis result information is used to perform data analysis on the simulation data of distributed collaborative simulation, and the embodiments of the present invention do not make any limitations.
[0052] It can be seen that implementing the data processing method for multi-type communication collaborative simulation described in the embodiments of the present invention is beneficial to improving the simulation efficiency and meeting the requirements of multi-type communication collaborative simulation.
[0053] In an optional embodiment, the performing parsing processing on the first transmission communication information and the second transmission communication information to obtain target parsed communication information includes:
[0054] Determine the parsing protocol information based on the first communication serial port and the second communication serial port;
[0055] Use the parsing protocol information to perform parsing processing on the first transmission communication information and the second transmission communication information to obtain the target parsed communication information.
[0056] It should be noted that the above determination of the parsing protocol information based on the first communication serial port and the second communication serial port is to load the corresponding communication protocol from the basic communication protocol information stored locally or in the cloud according to the name information of the communication serial port. The embodiments of the present invention are not limited. Further, the above communication protocols include the MQTT protocol applied to lightweight data transmission in the Internet of Things, the LoRa protocol suitable for long-distance and low-power Internet of Things scenarios, the CoAP protocol suitable for resource-constrained Internet of Things devices, and the Modbus protocol based on the industrial communication protocol of the serial port or TCP / IP. The embodiments of the present invention are not limited. Further, the communication protocol definition of the communication serial port can be configured according to the data transmission type of the distributed simulation system. The embodiments of the present invention are not limited.
[0057] It can be seen that implementing the data processing method for multi-type communication collaborative simulation described in the embodiments of the present invention is beneficial to improving the simulation efficiency and meeting the requirements of multi-type communication collaborative simulation.
[0058] In another optional embodiment, using the parsing protocol information to perform parsing processing on the first transmission communication information and the second transmission communication information to obtain the target parsed communication information includes:
[0059] Use the parsing protocol information to perform parsing processing on the first transmission communication information and the second transmission communication information to obtain the basic parsed communication information; the basic parsed communication information includes the first parsed communication information and the second parsed communication information; the first parsed communication information includes the first sub-parsed communication information, the second sub-parsed communication information, and the third sub-parsed information;
[0060] Based on the first parsed communication information in the basic parsed communication information, determine the first target parsed information;
[0061] Based on the second parsed communication information in the basic parsed communication information, determine the second target parsed information.
[0062] It should be noted that for the above-mentioned parsing and processing of transmission communication information using parsing protocol information, the data is first decompressed (the data can be transmitted in multiple data blocks, and the data parsed by the communication protocol is used to obtain multiple data packets to be decompressed in the payload, and then the data packets are decompressed. The decompressed data contains a first check symbol and a second check symbol, a second sub-parsed communication information and a fifth sub-parsed communication information, as well as a third sub-parsed communication information and a sixth sub-parsed communication information). Then, the communication protocols corresponding to the first communication serial port and the second communication serial port are respectively used to perform protocol parsing on the received first transmission communication information and second transmission communication information (for example, it can be implemented by calling a parsing function) to extract useful data transmitted through the communication serial port and optimize the reliability and efficiency of data transmission. The embodiments of the present invention do not make limitations in this regard. Further, the first sub-parsed communication information and the fourth sub-parsed communication information represent data extracted from the payload part of the transmission communication information. The embodiments of the present invention do not make limitations in this regard.
[0063] It should be noted that the data structures of the above-mentioned second parsed communication information and the first parsed communication information are consistent, and also include 3 pieces of data, namely the fourth sub-parsed communication information, the fifth sub-parsed communication information, and the sixth sub-parsed information. The embodiments of the present invention do not make limitations in this regard.
[0064] It should be noted that the above-mentioned second sub-parsed communication information and the fifth sub-parsed communication information are subject to data integrity verification. The embodiments of the present invention do not make limitations in this regard.
[0065] It should be noted that the above-mentioned third sub-parsed communication information and the sixth sub-parsed communication information are used to verify the integrity of the data and the authenticity of the source to ensure the effectiveness of data transmission. The embodiments of the present invention do not make limitations in this regard.
[0066] It should be noted that the above-mentioned first sub-parsed communication information and the fourth sub-parsed communication information respectively correspond to the first target parsed information and the second target parsed information. The embodiments of the present invention do not make limitations in this regard.
[0067] It should be noted that the data processing method for determining the second target parsed information based on the second parsed communication information in the basic parsed communication information is consistent with the processing method of the first target parsed information. The embodiments of the present invention do not make limitations in this regard.
[0068] It can be seen that implementing the data processing method for multi-type communication collaborative simulation described in the embodiments of the present invention is beneficial to improving the simulation efficiency and meeting the requirements of multi-type communication collaborative simulation.
[0069] In another optional embodiment, determining the first target parsed information based on the first parsed communication information in the basic parsed communication information includes:
[0070] Determine a first verification result based on the second sub-analyzed communication information;
[0071] When the first verification result is yes, determine a second verification result based on the third sub-analyzed communication information;
[0072] When the second verification result is yes, determine the first sub-analyzed information as the first target analyzed information;
[0073] When the first verification result is no, re-execute obtaining the first transmitted communication information from the first communication serial port, and trigger the execution of determining the first target analyzed information based on the first analyzed communication information in the basic analyzed communication information;
[0074] When the second verification result is no, re-execute obtaining the first transmitted communication information from the first communication serial port, and trigger the execution of determining the first target analyzed information based on the first analyzed communication information in the basic analyzed communication information.
[0075] It should be noted that the above determination of the second verification result based on the third sub-analyzed communication information is to download a digital signature from the cloud based on the name information corresponding to the first communication serial port (the data signature is stored in a folder with a name consistent with the name information corresponding to the first communication serial port), and then compare the consistency between the third sub-analyzed communication information and the digital signature. If the two are consistent, the second verification result is considered yes, otherwise it is no. This is not limited in the embodiments of the present invention. Further, the above comparison of the consistency between the third sub-analyzed communication information and the digital signature is to decrypt the digital signature (encrypted by the private key with the digest of the verification data (the digest generated by using the hash function on the verification data)) using the public key of the third sub-analyzed communication information to obtain Digest 1, and recalculate the hash value of the verification data in the third sub-analyzed communication information to obtain Digest 2. If the two digests are consistent, the verification passes. This is not limited in the embodiments of the present invention.
[0076] It can be seen that implementing the data processing method for multi-type communication collaborative simulation described in the embodiments of the present invention is beneficial to improving the simulation efficiency and meeting the requirements of multi-type communication collaborative simulation.
[0077] In another optional embodiment, determining the first verification result based on the second sub-analyzed communication information includes:
[0078] Determine a first verification value and a second verification symbol based on the first communication serial port;
[0079] Judge whether the number of first verification symbols in the second sub-analyzed communication information is equal to the first verification value to obtain a first judgment result;
[0080] When the first judgment result is yes, judge whether the second sub-analyzed communication information has a second verification symbol to obtain a second judgment result;
[0081] When the second judgment result is yes, determine that the first verification result is yes;
[0082] When the first judgment result is no, determine that the first verification result is no;
[0083] When the second judgment result is no, determine that the first verification result is no.
[0084] It should be noted that the above determination of the first verification result based on the second sub-parsed communication information is to perform integrity verification on the data received by different communication serial ports to ensure the complete availability of the simulation data. The embodiments of the present invention are not limited.
[0085] It should be noted that when performing simulation data transmission, different serial ports correspond to a first verification symbol and a second verification symbol. Among them, the first verification symbol is interspersed in the transmitted data, and its quantity is fixed (that is, each communication serial port corresponds to a fixed quantity of first verification symbols, that is, the first verification value, such as 4 or 5). The second verification symbol is placed at the end of the transmitted data to be used as one of the judgment signals for the end of the transmitted data. The embodiments of the present invention are not limited. Further, the above double judgment and analysis of the quantity of the first verification symbol and the second verification symbol can fully ensure the continuity and integrity of data transmission, avoid the problem of discontinuous data transmission in the middle, and thus ensure the reliability of data verification. The embodiments of the present invention are not limited.
[0086] It should be noted that the above settings of the first verification symbol and the second verification symbol can be configured by the user for different communication serial ports as needed, which belongs to the prior art and is not limited in the embodiments of the present invention. For example, the first verification symbol of the first communication serial port is configured as **, the quantity is 4, and the second verification symbol is configured as ##. The embodiments of the present invention are not limited.
[0087] It can be seen that implementing the data processing method for multi-type communication collaborative simulation described in the embodiments of the present invention is beneficial to improving the simulation efficiency and meeting the requirements of multi-type communication collaborative simulation.
[0088] In an optional embodiment, the above analysis and processing of the target parsed communication information to obtain the target analysis result information include:
[0089] Based on the target parsed communication information, determine the reference parsed information and the first aligned parsed information;
[0090] Based on the reference parsed information, perform alignment analysis and processing on the first aligned parsed information to obtain the second aligned parsed information;
[0091] Perform data quality optimization processing on the second alignment parsing information to obtain third alignment parsing information; the third alignment parsing information includes M first parsing data information and N second parsing data information;
[0092] Perform fusion processing on the reference parsing information and the third alignment parsing information to obtain the target analysis result information.
[0093] It should be noted that M above is a positive integer not less than 2, and N is an integer not less than 0, which is not limited in the embodiments of the present invention.
[0094] It should be noted that the above-mentioned determination of the reference parsing information and the first alignment parsing information based on the target parsing communication information is to compare and analyze the time interval of the time values of the first target parsing information and the second target parsing information in the target parsing communication information, and use the data information corresponding to the smaller time interval as the reference parsing information, and the other data information as the first alignment parsing information, which is not limited in the embodiments of the present invention. Further, the time intervals of the time values of the first target parsing information and the second target parsing information are in a multiple difference. For example, the time interval of the time value of the first target parsing information is 2 sampling units, and the time interval of the time value of the second target parsing information can be 1 sampling unit, 2 sampling units, 4 sampling units, 6 sampling units, which is not limited in the embodiments of the present invention. Further, the above-mentioned sampling unit can be 1 second, 2 seconds, 3 seconds, which is not limited in the embodiments of the present invention.
[0095] It should be noted that the above-mentioned alignment analysis processing of the first alignment parsing information based on the reference parsing information to obtain the second alignment parsing information is based on the data volume of the reference parsing information, and the data volume of the first alignment parsing information is filled to the data volume of the reference parsing information according to the time value corresponding to the reference parsing information, and the parsing values in the filled data are represented in a vacant state, which is not limited in the embodiments of the present invention.
[0096] It should be noted that the above-mentioned fusion processing of the reference parsing information and the third alignment parsing information to obtain the target analysis result information is to sum and average the parsing values of the same time value to obtain the final parsing value, so as to facilitate more accurate and efficient simulation result analysis in the subsequent process, which is not limited in the embodiments of the present invention.
[0097] It can be seen that implementing the data processing method for multi-type communication collaborative simulation described in the embodiments of the present invention is beneficial to improving the simulation efficiency and meeting the requirements of multi-type communication collaborative simulation.
[0098] In another optional embodiment, performing data quality optimization processing on the second alignment parsing information to obtain the third alignment parsing information includes:
[0099] Judge whether N is greater than 0 to obtain a numerical judgment result;
[0100] When the numerical judgment result is No, determine the second alignment parsing information as the third alignment parsing information;
[0101] When the numerical judgment result is Yes, based on the chronological relationship of the second parsing data information in the second alignment parsing information, sequentially determine one piece of second parsing data information as the parsing data information to be optimized;
[0102] Select the first parsing data information that is adjacent in chronological order to the parsing data information to be optimized from all the first parsing data information as the left adjacent parsing data information and the right adjacent parsing data information;
[0103] Use the data optimization formula to perform calculation processing on the parsing data information to be optimized, the left adjacent parsing data information, and the right adjacent parsing data information to obtain the optimized parsing value;
[0104] Among them, the data optimization formula is:
[0105]
[0106] In the formula, Z0 represents the optimized parsing value; X represents the time value corresponding to the parsing data information to be optimized; Z1 and X1 respectively represent the parsing value and the time value corresponding to the left adjacent parsing data information; X2 and X2 respectively represent the parsing value and the time value corresponding to the left adjacent parsing data information;
[0107] Use the optimized parsing value to replace and update the parsing data information to be optimized to obtain a new piece of first parsing data information;
[0108] Judge whether the second parsing data information corresponding to the parsing data information to be optimized is the last one among all the second parsing data information to obtain the sequence judgment result;
[0109] When the sequence judgment result is No, trigger the execution of sequentially determining one piece of second parsing data information as the parsing data information to be optimized based on the chronological relationship of the second parsing data information in the second alignment parsing information;
[0110] When the sequence judgment result is Yes, sort all the first parsing data information according to the chronological relationship to obtain the third alignment parsing information.
[0111] It should be noted that the above parsing value represents the data value collected by the communication serial port at the simulation data sampling point where the corresponding time value is located, and the embodiments of the present invention do not make limitations.
[0112] It should be noted that the above data quality optimization process for the second alignment parsing information to obtain the third alignment parsing information can fill in the missing values in the time series data through the data quality optimization process, maintain the continuity of the time series, and avoid the interruption of data analysis caused by missing values. The embodiments of the present invention are not limited in this regard.
[0113] It should be noted that the above replacement and update of the parsing data information to be optimized using the optimized parsing value is to fill and update the parsing value corresponding to the time value that is missing, so that the parsing value is not in a missing state. The embodiments of the present invention are not limited in this regard.
[0114] It should be noted that the above selection of the first parsing data information adjacent in time order to the parsing data information to be optimized from all the first parsing data information as the left adjacent parsing data information and the right adjacent parsing data information is to ensure that the data used for data completion is not in a missing state, so as to ensure the quality and efficiency of data completion. The embodiments of the present invention are not limited in this regard.
[0115] It can be seen that implementing the data processing method for multi-type communication collaborative simulation described in the embodiments of the present invention is beneficial to improving the simulation efficiency and meeting the requirements of multi-type communication collaborative simulation.
[0116] Embodiment 2
[0117] Please refer to Figure 3 , Figure 3 which is a schematic structural diagram of a data processing device for multi-type communication collaborative simulation disclosed in the embodiments of the present invention. Among them, Figure 3 the described device can be applied to a management system, such as a local server or a cloud server for management, etc. The embodiments of the present invention are not limited in this regard. As Figure 3 shown, the device may include:
[0118] An acquisition module 201, configured to acquire first transmission communication information and second transmission communication information from a first communication serial port and a second communication serial port respectively;
[0119] A first processing module 202, configured to perform parsing processing on the first transmission communication information and the second transmission communication information to obtain target parsing communication information; the target parsing communication information includes first target parsing information and second target parsing information;
[0120] A second processing module 203, configured to perform analysis processing on the target parsing communication information to obtain target analysis result information.
[0121] It can be seen that implementing Figure 3 the data processing device for multi-type communication collaborative simulation described is beneficial to improving the simulation efficiency and meeting the requirements of multi-type communication collaborative simulation.
[0122] In another alternative embodiment, as Figure 3 shown, the first transmission communication information and the second transmission communication information are parsed to obtain target parsed communication information, including:
[0123] Based on the first communication serial port and the second communication serial port, the parsing protocol information is determined;
[0124] The parsing protocol information is used to parse the first transmission communication information and the second transmission communication information to obtain target parsed communication information.
[0125] It can be seen that implementing Figure 3 the data processing device for multi-type communication collaborative simulation described is beneficial to improving the simulation efficiency and meeting the requirements of multi-type communication collaborative simulation.
[0126] In yet another alternative embodiment, as Figure 3 shown, the parsing protocol information is used to parse the first transmission communication information and the second transmission communication information to obtain target parsed communication information, including:
[0127] The parsing protocol information is used to parse the transmission communication information to obtain basic parsed communication information; the basic parsed communication information includes first parsed communication information and second parsed communication information; the first parsed communication information includes first sub-parsed communication information, second sub-parsed communication information, and third sub-parsed information;
[0128] Based on the first parsed communication information in the basic parsed communication information, the first target parsed information is determined;
[0129] Based on the second parsed communication information in the basic parsed communication information, the second target parsed information is determined.
[0130] It can be seen that implementing Figure 3 the data processing device for multi-type communication collaborative simulation described is beneficial to improving the simulation efficiency and meeting the requirements of multi-type communication collaborative simulation.
[0131] In yet another alternative embodiment, as Figure 3 shown, based on the first parsed communication information in the basic parsed communication information, determining the first target parsed information includes:
[0132] Based on the second sub-parsed communication information, the first verification result is determined;
[0133] When the first verification result is yes, based on the third sub-parsed communication information, the second verification result is determined;
[0134] When the second verification result is yes, the first sub-parsed information is determined as the first target parsed information;
[0135] When the first verification result is negative, re - execute obtaining the first transmission communication information from the first communication serial port, and trigger the execution of determining the first target parsing information based on the first parsing communication information in the basic parsing communication information;
[0136] When the second verification result is negative, re - execute obtaining the first transmission communication information from the first communication serial port, and trigger the execution of determining the first target parsing information based on the first parsing communication information in the basic parsing communication information.
[0137] It can be seen that implementing Figure 3 the described data processing device for multi - type communication collaborative simulation is beneficial to improving the simulation efficiency and meeting the requirements of multi - type communication collaborative simulation.
[0138] In yet another alternative embodiment, as Figure 3 shown, determining the first verification result based on the second sub - parsing communication information includes:
[0139] Determining a first verification value and a second verification symbol based on the first communication serial port;
[0140] Judging whether the number of first verification symbols in the second sub - parsing communication information is equal to the first verification value to obtain a first judgment result;
[0141] When the first judgment result is affirmative, judging whether the second sub - parsing communication information has a second verification symbol to obtain a second judgment result;
[0142] When the second judgment result is affirmative, determining that the first verification result is affirmative;
[0143] When the first judgment result is negative, determining that the first verification result is negative;
[0144] When the second judgment result is negative, determining that the first verification result is negative.
[0145] It can be seen that implementing Figure 3 the described data processing device for multi - type communication collaborative simulation is beneficial to improving the simulation efficiency and meeting the requirements of multi - type communication collaborative simulation.
[0146] In yet another alternative embodiment, as Figure 3 shown, analyzing and processing the target parsing communication information to obtain the target analysis result information includes:
[0147] Determining a reference parsing information and a first aligned parsing information based on the target parsing communication information;
[0148] Performing alignment analysis processing on the first aligned parsing information based on the reference parsing information to obtain a second aligned parsing information;
[0149] Perform data quality optimization processing on the second alignment parsing information to obtain third alignment parsing information; the third alignment parsing information includes M first parsing data information and N second parsing data information;
[0150] Perform fusion processing on the reference parsing information and the third alignment parsing information to obtain the target analysis result information.
[0151] It can be seen that implementing Figure 3 the described data processing device for multi-type communication collaborative simulation is beneficial to improving the simulation efficiency and meeting the requirements of multi-type communication collaborative simulation.
[0152] In another alternative embodiment, as Figure 3 shown, performing data quality optimization processing on the second alignment parsing information to obtain the third alignment parsing information includes:
[0153] Judge whether N is greater than 0 to obtain a numerical judgment result;
[0154] When the numerical judgment result is negative, determine the second alignment parsing information as the third alignment parsing information;
[0155] When the numerical judgment result is positive, based on the time sequence relationship of the second parsing data information in the second alignment parsing information, sequentially determine one second parsing data information as the parsing data information to be optimized;
[0156] Select the first parsing data information adjacent in time sequence to the parsing data information to be optimized from all the first parsing data information as the left adjacent parsing data information and the right adjacent parsing data information;
[0157] Use the data optimization formula to perform calculation processing on the parsing data information to be optimized, the left adjacent parsing data information and the right adjacent parsing data information to obtain an optimized parsing value;
[0158] Among them, the data optimization formula is:
[0159]
[0160] In the formula, Z0 represents the optimized parsing value; X represents the time value corresponding to the parsing data information to be optimized; Z1 and X1 respectively represent the parsing value and the time value corresponding to the left adjacent parsing data information; Z2 and X2 respectively represent the parsing value and the time value corresponding to the left adjacent parsing data information;
[0161] Use the optimized parsing value to replace and update the parsing data information to be optimized to obtain a new first parsing data information;
[0162] Judge whether the second parsing data information corresponding to the parsing data information to be optimized is the last one among all the second parsing data information to obtain a sequence judgment result;
[0163] When the sequential judgment result is negative, trigger the execution of the chronological relationship based on the second parsing data information in the second alignment parsing information, and sequentially determine a second parsing data information as the parsing data information to be optimized;
[0164] When the sequential judgment result is positive, sort all the first parsing data information according to the chronological relationship to obtain the third alignment parsing information.
[0165] It can be seen that implementing Figure 3 the described data processing device for multi-type communication collaborative simulation is beneficial to improving the simulation efficiency and meeting the requirements of multi-type communication collaborative simulation.
[0166] Embodiment III
[0167] Please refer to Figure 4 , Figure 4 which is a schematic structural diagram of another data processing device for multi-type communication collaborative simulation disclosed in the embodiments of the present invention. Among them, Figure 4 the described device can be applied to a management system, such as a local server or a cloud server for management, etc., which is not limited in the embodiments of the present invention. As Figure 4 shown, the device may include:
[0168] A memory 301 storing executable program code;
[0169] A processor 302 coupled to the memory 301;
[0170] The processor 302 calls the executable program code stored in the memory 301 to execute the steps in the data processing method for multi-type communication collaborative simulation described in Embodiment I.
[0171] Embodiment IV
[0172] The embodiments of the present invention disclose a computer-readable storage medium, which stores a computer program for electronic data exchange, wherein the computer program enables a computer to execute the steps in the data processing method for multi-type communication collaborative simulation described in Embodiment I.
[0173] Embodiment V
[0174] The embodiments of the present invention disclose a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to enable a computer to execute the steps in the data processing method for multi-type communication collaborative simulation described in Embodiment I.
[0175] The device embodiments described above are merely illustrative. The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed to multiple network modules. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art can understand and implement it without creative efforts.
[0176] Through the above specific descriptions of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on such an understanding, the essence of the above technical solution, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, and the storage medium includes read-only memory (ROM), random access memory (RAM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), one-time programmable read-only memory (OTPROM), electrically-erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc memories, magnetic disk memories, tape memories, or any other computer-readable medium that can be used to carry or store data.
[0177] Finally, it should be noted that the data processing method and device for multi-type communication collaborative simulation disclosed in the embodiments of the present invention only disclose the preferred embodiments of the present invention, and are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A data processing method for multi-type communication collaborative simulation, characterized in that: The method comprises: Acquire first transmission communication information and second transmission communication information through the first communication serial port and the second communication serial port respectively; Parsing the first transmission communication information and the second transmission communication information to obtain target resolution communication information; the target resolution communication information includes first target resolution information and second target resolution information; The target analysis communication information is analyzed and processed to obtain target analysis result information.
2. The data processing method for multi-type communication collaborative simulation according to claim 1, characterized in that: The parsing the first transmission communication information and the second transmission communication information to obtain target parsed communication information includes: Determine parsing protocol information based on the first communication serial port and the second communication serial port; The first transmission communication information and the second transmission communication information are parsed using the parsing protocol information to obtain target parsed communication information.
3. The data processing method for multi-type communication collaborative simulation according to claim 2, characterized in that: The using the resolution protocol information to parse the first transmission communication information and the second transmission communication information to obtain target resolution communication information includes: The transmission communication information is parsed using the parsing protocol information to obtain basic parsing communication information; the basic parsing communication information includes first parsing communication information and second parsing communication information; the first parsing communication information includes first sub-parsing communication information, second sub-parsing communication information and third sub-parsing information; Determining the first target resolution information based on the first resolution communication information in the basic resolution communication information; The second target resolution information is determined based on the second resolution communication information in the basic resolution communication information.
4. The data processing method for multi-type communication collaborative simulation according to claim 3, characterized in that: The determining the first target resolution information based on the first resolution communication information in the basic resolution communication information includes: Determine a first verification result based on the second sub-parsed communication information; When the first verification result is yes, determining a second verification result based on the third sub-parsed communication information; When the second verification result is yes, determining the first sub-resolution information as the first target resolution information; When the first verification result is no, re-executing the first communication serial port to obtain the first transmission communication information, and triggering the execution of the first parsing communication information based on the basic parsing communication information to determine the first target parsing information; When the second verification result is no, the first transmission communication information is obtained through the first communication serial port again, and the first parsing communication information based on the basic parsing communication information is triggered to determine the first target parsing information.
5. The data processing method for multi-type communication collaborative simulation according to claim 4, characterized in that: The determining a first verification result based on the second sub-parsed communication information includes: Based on the first communication serial port, determining a first check value and a second check symbol; Determine whether the number of first check symbols in the second sub-parsed communication information is equal to the first check value, and obtain a first determination result; When the first judgment result is yes, determining whether the second sub-resolution communication information has the second check symbol, and obtaining a second judgment result; When the second judgment result is yes, determining that the first verification result is yes; When the first judgment result is no, determining that the first verification result is no; When the second judgment result is no, it is determined that the first verification result is no.
6. The data processing method for multi-type communication collaborative simulation according to claim 1, characterized in that: The analyzing and processing the target parsing communication information to obtain target analysis result information includes: Determining reference resolution information and first alignment resolution information based on the target resolution communication information; Based on the reference parsing information, performing alignment analysis processing on the first alignment parsing information to obtain second alignment parsing information; Performing data quality optimization processing on the second alignment parsing information to obtain third alignment parsing information; the third alignment parsing information includes M first parsing data information and N second parsing data information; The reference analysis information and the third alignment analysis information are fused to obtain target analysis result information.
7. The data processing method for multi-type communication collaborative simulation according to claim 6, characterized in that: The performing data quality optimization processing on the second alignment analysis information to obtain third alignment analysis information includes: Determine whether N is greater than 0 and obtain a numerical determination result; When the numerical judgment result is no, determining the second alignment parsing information as the third alignment parsing information; When the numerical judgment result is yes, based on the time sequence relationship of the second parsed data information in the second alignment parsed information, sequentially determining one of the second parsed data information as the parsed data information to be optimized; Selecting the first parsed data information that is adjacent to the parsed data information to be optimized in time sequence from all the first parsed data information as the left neighboring parsed data information and the right neighboring parsed data information; Using a data optimization formula, the to-be-optimized parsed data information, the left neighbor parsed data information, and the right neighbor parsed data information are calculated and processed to obtain an optimized parsed value; Wherein, the data optimization formula is: Wherein, Z0 represents the optimized parsing value; X represents the time value corresponding to the parsing data information to be optimized; Z1 and X1 represent the parsing value and time value corresponding to the left neighbor parsing data information respectively; Z2 and X2 represent the parsing value and time value corresponding to the left neighbor parsing data information respectively; Using the optimized parsing value to replace and update the parsing data information to be optimized, to obtain a new first parsing data information; Determine whether the second parsed data information corresponding to the parsed data information to be optimized is the last one of all the second parsed data information, and obtain a sequence determination result; When the result of the sequence judgment is no, triggering the execution of the time sequence relationship of the second parsed data information in the second alignment parsing information, sequentially determining one of the second parsed data information as the parsed data information to be optimized; When the result of the sequence judgment is yes, all the first parsed data information are sorted in chronological order to obtain the third alignment parsing information.
8. A data processing device for multi-type communication collaborative simulation, characterized in that: The device comprises: An acquisition module, used to acquire first transmission communication information and second transmission communication information from the first communication serial port and the second communication serial port respectively; A first processing module, configured to parse the first transmission communication information and the second transmission communication information to obtain target parsed communication information; the target parsed communication information includes first target parsed information and second target parsed information; The second processing module is used to analyze and process the target resolution communication information to obtain target analysis result information.
9. A data processing device for multi-type communication collaborative simulation, characterized in that: The device comprises: A memory storing executable program code; a processor coupled to the memory; The processor calls the executable program code stored in the memory to execute the data processing method for multi-type communication collaborative simulation as described in any one of claims 1-7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and when the computer instructions are called, they are used to execute the data processing method for multi-type communication collaborative simulation according to any one of claims 1 to 7.
Citation Information
Patent Citations
Serial port data analysis method and device
CN110032535A
Multi-communication protocol test method and device, terminal and storage medium
CN118740703A
Serial Port that Supports Multiple Protocols
US20070168590A1