Airborne 1394 bus data acquisition method and device, storage medium and electronic equipment
By dynamically loading filtering and parameter extraction rules, the problem of invalid data occupying resources in traditional 1394 bus data acquisition is solved, achieving efficient data acquisition and processing.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-24
- Publication Date
- 2026-04-03
AI Technical Summary
Traditional 1394 bus data acquisition methods collect all data indiscriminately, resulting in a high proportion of invalid data, wasting storage resources and reducing analysis and processing efficiency.
By employing dynamically loaded filtering rules and parameter extraction rules, the FPGA is used to filter 1394 bus data and extract valid data, collecting only target data and uploading it.
It improves the flexibility and resource utilization of data acquisition, reduces power consumption, and supports compatibility with multiple airborne data protocols.
Smart Images

Figure CN121785967A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of avionics system data acquisition technology, and more specifically, to an airborne 1394 bus data acquisition method, device, storage medium, and electronic device. Background Technology
[0002] Traditional 1394 bus data acquisition units typically employ a static, complete acquisition method, which captures all data on the bus indiscriminately. This method primarily includes the comprehensive acquisition of asynchronous and isochronous transmission data without real-time assessment of the data's validity or relevance.
[0003] In 1394 bus communication, there are numerous different types of management and control messages, such as bus reset identifiers, selfID packets, loop start packets, and PHY packets. Traditional acquisition methods indiscriminately collect all of these data, leading to the following prominent problems: High proportion of invalid data: Bus communication contains a large number of management and control messages that are irrelevant to specific applications. These messages have limited value for subsequent data analysis, but consume a lot of acquisition resources.
[0004] Waste of storage resources: Storage resources of airborne systems are extremely valuable. Static complete data acquisition will quickly consume limited storage space and reduce the continuous working time of the data acquisition system.
[0005] Low analysis and processing efficiency: A large amount of invalid data will increase the burden on subsequent data processing units, requiring stronger computing power to extract useful information from massive amounts of data, thus reducing the real-time performance of the entire system. Summary of the Invention
[0006] The embodiments of this application provide an airborne 1394 bus data acquisition method, device, storage medium, and electronic device to solve the problems of traditional acquisition methods that can only statically and completely acquire bus data, resulting in a large amount of invalid data and wasting subsequent storage resources and analysis and processing computing power.
[0007] Other features and advantages of this application will become apparent from the following detailed description, or may be learned in part from practice of this application.
[0008] According to a first aspect of the embodiments of this application, an airborne I394 bus data acquisition method is provided, comprising: Initial data was acquired based on the airborne 1394 bus; Dynamically load filtering rules and parameter extraction rules; The initial data is filtered based on the filtering rules to obtain valid data; Based on the parameter extraction rules, valid data is extracted from the target data.
[0009] In some embodiments of this application, based on the foregoing scheme, the step of extracting valid data from the target data based on the parameter extraction rules includes: Obtain the correspondence between cache numbers and parameters to be extracted from the parameter extraction rules; Based on the correspondence, relevant parameter data is extracted from the target data as the valid data, and cached according to the cache number.
[0010] In some embodiments of this application, based on the foregoing scheme, the following further methods are also included: Valid data in the cache is forwarded sequentially according to the bridging interface order.
[0011] According to a second aspect of the embodiments of this application, an airborne I394 bus data acquisition device is provided, comprising: The 1394 bus data receiving unit is used to receive initial data; The 1394 bus data filtering unit is used to filter the initial data according to the filtering rules to obtain the target data; The parameter extraction unit is used to extract valid data from the target data according to the parameter extraction rules.
[0012] In some embodiments of this application, based on the foregoing scheme, a filtering rule storage unit for storing the filtering rules is connected to the 1394 bus data filtering unit.
[0013] In some embodiments of this application, based on the foregoing scheme, the parameter extraction unit includes: The parameter extraction rule storage sub-unit is used to store parameter rules; The cache number management subunit is used to obtain the correspondence between cache numbers and parameters to be extracted from the parameter rules. The parameter extraction subunit is used to extract relevant parameter data from the target data based on the correspondence between the cache number and the parameters to be extracted, and use it as valid data. The parameter cache subunit is used to cache valid data based on the cache number.
[0014] In some embodiments of this application, based on the foregoing scheme, the following further methods are also included: The bridging unit is used to forward cached valid data in the order of the bridging interface.
[0015] According to a third aspect of the embodiments of this application, a computer-readable storage medium is provided, the storage medium storing computer instructions that, when executed on a computer, cause the computer to perform the method as described in the first aspect.
[0016] According to a fourth aspect of the embodiments of this application, an electronic device is provided, including: a memory and a processor; The memory is used to store computer instructions; The processor is configured to invoke computer instructions stored in the memory, causing the electronic device to execute the method described in the first aspect.
[0017] The technical solution of this application has the following beneficial effects: Enhanced flexibility in 1394 bus data acquisition: Supports hardware-independent information filtering, dynamic configuration of acquisition parameters, and significantly reduces the resources and power consumption of the acquisition unit.
[0018] Greater versatility: Only the front-end 1394 interface protocol needs to be replaced to be compatible with multiple airborne data protocols, and it uses general Ethernet transmission with the host computer, making it compatible with various operating systems.
[0019] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description
[0020] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application. It is obvious that the drawings described below are merely some embodiments of this application, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort. In the drawings: Figure 1 A flowchart illustrating an airborne I394 bus data acquisition method according to an embodiment of this application is shown. Figure 2 A block diagram of an airborne 1394 bus data acquisition device according to one embodiment of this application is shown; Figure 3 A block diagram of an electronic device according to one embodiment of this application is shown; Figure 4 A schematic diagram of the structure of a computer system suitable for implementing the electronic device of the present application is shown. Detailed Implementation
[0021] Exemplary embodiments will now be described more fully with reference to the accompanying drawings. However, these exemplary embodiments can be implemented in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided to make this application more comprehensive and complete, and to fully convey the concept of the exemplary embodiments to those skilled in the art.
[0022] Furthermore, the described features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. Numerous specific details are provided in the following description to give a thorough understanding of embodiments of this application. However, those skilled in the art will recognize that the technical solutions of this application can be practiced without one or more of the specific details, or other methods, components, apparatuses, steps, etc., can be employed. In other instances, well-known methods, apparatuses, implementations, or operations are not shown or described in detail to avoid obscuring various aspects of this application.
[0023] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.
[0024] The flowcharts shown in the accompanying drawings are merely illustrative and do not necessarily include all content and operations / steps, nor do they necessarily have to be performed in the described order. For example, some operations / steps can be broken down, while others can be combined or partially combined; therefore, the actual execution order may change depending on the specific circumstances.
[0025] It should be noted that "multiple" in this article refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.
[0026] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of the embodiments of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this invention, and not all of them. Based on the embodiments of this invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this invention.
[0027] The following detailed description of some embodiments of this application will be provided in conjunction with the accompanying drawings. Unless otherwise specified, the following embodiments and features can be combined with each other.
[0028] See Figure 1 The diagram shows a flowchart of an airborne 1394 bus data acquisition method according to an embodiment of this application.
[0029] like Figure 1As shown, an airborne 1394 bus data acquisition method is illustrated, which specifically includes steps S100 to S400.
[0030] It should be noted that in this embodiment, the method is implemented based on FPGA, where the FPGA is responsible for dynamically parsing the configuration table content, generating filtering rules, acquisition methods, and controlling the data flow.
[0031] The control logic is as follows: The host computer loads the configuration table, including filtering rules and parameter extraction rules, into the FPGA via the bridge bus.
[0032] The FPGA filters irrelevant data according to filtering rules, collects only target data to the parameter extraction unit, extracts valid data according to the parameter extraction rules, and finally uploads it to the host computer according to the bridge bus unit transmission rules.
[0033] For details, please refer to Figure 1 Step S100: Acquire initial data based on the airborne 1394 bus; Step S200: Dynamically load filtering rules and parameter extraction rules; Step S300: Filter the initial data based on the filtering rules to obtain the target data; Step S400: Extract valid data from the target data based on the parameter extraction rules.
[0034] In some feasible embodiments, based on the foregoing scheme, the step of extracting valid data from the target data based on the parameter extraction rules includes: Obtain the correspondence between cache numbers and parameters to be extracted from the parameter extraction rules; Based on the correspondence, relevant parameter data is extracted from the target data as the valid data, and cached according to the cache number.
[0035] In some feasible embodiments, based on the foregoing scheme, the following further applies: Valid data in the cache is forwarded sequentially according to the bridging interface order.
[0036] Based on the same inventive concept, this application also provides an airborne 1394 bus data acquisition device.
[0037] like Figure 2 As shown, the device includes: The 1394 bus data receiving unit is used to receive initial data; The 1394 bus data filtering unit is used to filter the initial data according to the filtering rules to obtain the target data; The parameter extraction unit is used to extract valid data from the target data according to the parameter extraction rules.
[0038] In some feasible embodiments, based on the aforementioned scheme, the 1394 bus data filtering unit is connected to a filtering rule storage unit for storing the filtering rules.
[0039] In some feasible embodiments, based on the foregoing scheme, the parameter extraction unit includes: The parameter extraction rule storage sub-unit is used to store parameter rules; The cache number management subunit is used to obtain the correspondence between cache numbers and parameters to be extracted from the parameter rules. The parameter extraction subunit is used to extract relevant parameter data from the target data based on the correspondence between the cache number and the parameters to be extracted, and use it as valid data. The parameter cache subunit is used to cache valid data based on the cache number.
[0040] In some feasible embodiments, based on the foregoing scheme, the following further applies: The bridging unit is used to forward cached valid data in the order of the bridging interface.
[0041] refer to Figure 2 The working process of this device is as follows: After the 1394 bus data receiving unit collects and receives data, it forwards the data to the 1394 bus data filtering unit. The 1394 bus data filtering unit extracts the filtering rules from the filtering rule storage unit, filters invalid data according to the filtering rules, and forwards the valid data to the cache number management subunit.
[0042] The cache number management subunit obtains the correspondence between cache numbers and parameters to be extracted from the parameter extraction rule storage subunit, and forwards the correspondence to the parameter extraction subunit.
[0043] The parameter extraction subunit extracts the parameters from the data according to the correspondence between the cache number and the parameters, and forwards the parameters to the parameter cache subunit according to the cache number.
[0044] The parameter cache subunit forwards the extracted parameter data according to the timing sequence of the bridging unit interface.
[0045] In summary, this technical solution has the following advantages: 1. By dynamically loading filtering rules and parameter extraction rules, effective data on the 1394 bus is collected in a targeted manner; effective data is collected either synchronously or asynchronously. 2. The collected 1394 data is sent to the host computer for subsequent storage or processing via the Ethernet standard protocol, which is highly efficient. 3. Data acquisition and configuration parsing are implemented using hardware HDL language, supporting FPGA or tape-out, with high compatibility.
[0046] like Figure 3 As shown, this application embodiment also provides an electronic device 300, including a memory 310, a processor 320, and a computer program 311 stored in the memory 310 and executable on the processor. When the processor 320 executes the computer program 311, it implements the steps of the above-mentioned airborne 1394 bus data acquisition method.
[0047] Since the electronic device described in this embodiment is the device used to implement an airborne 1394 bus data acquisition device in the embodiments of this application, those skilled in the art can understand the specific implementation method and various variations of the electronic device in this embodiment based on the method described in the embodiments of this application. Therefore, how the electronic device implements the method in the embodiments of this application will not be described in detail here. Any device used by those skilled in the art to implement the method in the embodiments of this application falls within the scope of protection of this application.
[0048] In practice, when the computer program 311 is executed by the processor, it can implement any of the embodiments corresponding to the first aspect.
[0049] Figure 4 A schematic diagram of the structure of a computer system suitable for implementing the electronic device of the present application is shown.
[0050] It should be noted that, Figure 4 The computer system 400 of the electronic device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.
[0051] like Figure 4 As shown, the computer system 400 includes a Central Processing Unit (CPU) 401, which can perform various appropriate actions and processes based on programs stored in Read-Only Memory (ROM) 402 or programs loaded from storage portion 408 into Random Access Memory (RAM) 403, such as performing the methods described in the above embodiments. Various programs and data required for system operation are also stored in RAM 403. The CPU 401, ROM 402, and RAM 403 are interconnected via bus 404. An Input / Output (I / O) interface 405 is also connected to bus 404.
[0052] The following components are connected to I / O interface 405: an input section 406 including a keyboard, mouse, etc.; an output section 407 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and speakers, etc.; a storage section 408 including a hard disk, etc.; and a communication section 409 including a network interface card such as a LAN (Local Area Network) card, modem, etc. The communication section 409 performs communication processing via a network such as the Internet. A drive 410 is also connected to I / O interface 405 as needed. A removable medium 411, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on drive 410 as needed so that computer programs read from it can be installed into storage section 408 as needed.
[0053] Specifically, according to embodiments of this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 409, and / or installed from removable medium 411. When the computer program is executed by central processing unit (CPU) 401, it performs various functions defined in the system of this application.
[0054] It should be noted that the computer-readable medium shown in the embodiments of this application can be a computer-readable signal medium, a computer-readable storage medium, or any combination of the two. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), flash memory, optical fiber, portable compact disc read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this application, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this application, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such transmitted data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. The computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to wireless, wired, etc., or any suitable combination thereof.
[0055] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. Each block in a flowchart or block diagram may represent a module, segment, or portion of code, which contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0056] The units described in the embodiments of this application can be implemented in software or hardware, and the described units can also be located in a processor. The names of these units do not necessarily limit the specific unit itself.
[0057] In another aspect, this application also provides a computer program product or computer program including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the airborne I394 bus data acquisition method described in the above embodiments.
[0058] In another aspect, this application also provides a computer-readable medium, which may be included in the electronic device described in the above embodiments; or it may exist independently and not assembled into the electronic device. The computer-readable medium carries one or more programs, which, when executed by the electronic device, cause the electronic device to implement the airborne I394 bus data acquisition method described in the above embodiments.
[0059] It should be noted that although several modules or units for the device used to perform actions have been mentioned in the detailed description above, this division is not mandatory. In fact, according to the embodiments of this application, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.
[0060] Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solutions according to the embodiments of this application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (such as a CD-ROM, USB flash drive, external hard drive, etc.) or on a network, including several instructions to cause a computing device (such as a personal computer, server, touch terminal, or network device, etc.) to execute the methods according to the embodiments of this application.
[0061] Other embodiments of this application will readily conceive of by those skilled in the art upon consideration of the specification and practice of the embodiments disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein. It should be understood that this application is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.
Claims
1. A method for acquiring airborne 1394 bus data, characterized in that, include: Initial data was acquired based on the airborne 1394 bus; Dynamically load filtering rules and parameter extraction rules; The initial data is filtered based on the filtering rules to obtain the target data; Based on the parameter extraction rules, valid data is extracted from the target data.
2. The method according to claim 1, characterized in that, The extraction of valid data from the target data based on the parameter extraction rules includes: Obtain the correspondence between cache numbers and parameters to be extracted from the parameter extraction rules; Based on the correspondence, relevant parameter data is extracted from the target data as the valid data, and cached according to the cache number.
3. The method according to claim 1, characterized in that, Also includes: Valid data in the cache is forwarded sequentially according to the bridging interface order.
4. An airborne 1394 bus data acquisition device, characterized in that, include: The 1394 bus data receiving unit is used to receive initial data; The 1394 bus data filtering unit is used to filter the initial data according to the filtering rules to obtain the target data; The parameter extraction unit is used to extract valid data from the target data according to the parameter extraction rules.
5. The apparatus according to claim 4, characterized in that, The 1394 bus data filtering unit is connected to a filtering rule storage unit for storing the filtering rules.
6. The apparatus according to claim 4, characterized in that, The parameter extraction unit includes: The parameter extraction rule storage sub-unit is used to store parameter rules; The cache number management subunit is used to obtain the correspondence between cache numbers and parameters to be extracted from the parameter rules. The parameter extraction subunit is used to extract relevant parameter data from the target data based on the correspondence between the cache number and the parameters to be extracted, and use it as valid data. The parameter cache subunit is used to cache valid data based on the cache number.
7. The apparatus according to claim 4, characterized in that, Also includes: The bridging unit is used to forward cached valid data in the order of the bridging interface.
8. A computer-readable storage medium, characterized in that, The storage medium stores computer instructions that, when executed on a computer, cause the computer to perform the method as described in any one of claims 1-3.
9. An electronic device, characterized in that, include: Memory and processor; The memory is used to store computer instructions; The processor is configured to invoke computer instructions stored in the memory, causing the electronic device to perform the method as described in any one of claims 1-3.