Information protocol soft docking method and system based on text / OCR semantic recognition

Through the soft docking method based on text/OCR semantic identification, automatic recognition and communication protocols to compare satellite devices solve the problem of non -matching interfaces caused by the inconsistency of protocols in traditional satellite docking, which significantly improves the docking efficiency and accuracy.

CN119363634APending Publication Date: 2025-01-24SHANGHAI SATELLITE ENG INST
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411293105.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-14
Publication Date
2025-01-24

AI Technical Summary

Technical Problem

During the traditional satellite docking process, due to the different stand-alone information processing systems of each contractor, the communication protocol is inconsistent, resulting in mismatch in the communication interface, which in turn consumes a lot of manpower, material resources and financial resources, and the process of finding problems is time-consuming and labor-intensive.

Method used

The information protocol soft docking method based on text/OCR semantic recognition is adopted. By inputting the information protocol text into the soft docking general test equipment, the semantic recognition software is used to identify, import the protocol content, determine the input and output characteristics of the interface, and conduct data sending and receiving tests. , and output a test report to automatically compare non-conforming items in the protocol.

Benefits of technology

It has significantly improved the docking efficiency and accuracy between satellite equipment products, reduced the complexity of the docking process, improved the efficiency of docking result analysis, and solved the problem of inconsistent understanding of communication protocol texts between different institutions and personnel.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119363634A_ABST
    Figure CN119363634A_ABST
Patent Text Reader

Abstract

The invention provides an information protocol soft docking method based on text / OCR semantic recognition, and the method comprises the steps: a text recognition step: inputting an information protocol text into a soft docking general test device, and carrying out the recognition; a protocol importing step: importing the identified protocol content into an interface data analysis processing configuration module, and determining the input and output characteristics of the docking interface; a data receiving and transmitting test step: connecting the to-be-tested device with a corresponding interface of the soft docking general test device, and performing receiving and transmitting tests of different types of data according to a preset data type in an information protocol; and a step of outputting a test report: comparing the received and transmitted data with the information protocol, labeling and explaining items which do not accord with the protocol in a protocol text, and outputting a comparison report. According to the invention, information protocol automatic comparison is carried out on the received data of the to-be-detected equipment, so that the correctness of the communication protocol of the to-be-detected equipment is detected, and the docking efficiency and docking accuracy between satellite equipment products are remarkably improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of satellite testing technology, and in particular to an information protocol soft docking method and system based on text / OCR semantic recognition. Background Art

[0002] During the development of traditional satellites, the number of stand-alone devices varies greatly depending on the different platforms used. Take the integrated electronics of optical remote sensing satellites as an example. The integrated electronics is the information hub for data exchange on the optical remote sensing satellite. Other subsystems of the whole satellite, such as measurement and control, attitude and orbit control, data transmission, visible light camera, power supply and distribution, propulsion, on-board processing, etc., all need to communicate with the integrated electronics. However, due to the different stand-alone information processing systems and data processing capabilities adopted by each contractor, different products have individual differences based on the general communication protocol specifications. Therefore, before each stand-alone product is installed on the satellite, it is necessary to conduct information transmission and reception docking tests to improve the efficiency of the whole satellite development.

[0003] In the docking process of traditional satellites, each physical product is generally subjected to actual docking tests to ensure that the sender and receiver can achieve normal communication functions for the specified send and receive data types. However, due to the variety of onboard products, the large number of research and development units, and the different development progress, it is difficult to get all the products together for docking. It is often necessary to frequently visit different contractors for docking tests, which consumes a lot of manpower, material resources and financial resources. In addition, during the docking process, there will generally be problems with communication interface mismatches due to inconsistent communication protocols. Therefore, it is necessary to determine the cause of the problem in the communication protocol at the docking site according to the provisions in the protocol document, but the process of finding the problem is usually time-consuming and laborious.

[0004] Patent document with publication number IN2014CH04176A discloses a method for testing various hardware interfaces used in the avionics system of an aircraft. In particular, the present invention relates to a method for testing MH1553B, ARINC429, ARINC717, RS232, RS422 interfaces. In this method, a hardware functional test module reads commands from a database and sends commands to test different interfaces of a target system. The target system decodes the command, performs a test of the command, and then sends the test results to the hardware functional test module on the serial interface. The hardware functional test module records the results and provides the health status of all interfaces. The present invention provides a cost-effective method for testing avionics equipment interfaces, which provides multiple advantages, such as automation, reduced complexity, and elimination of data analyzers. The process of finding problems in this invention patent is relatively complex and inefficient.

[0005] Therefore, in the face of the increasingly rapid progress and functional requirements of satellite development, there is an urgent need for a soft docking method based on information data to use information technology to more efficiently and accurately improve the testing efficiency during the satellite development process. Summary of the invention

[0006] In view of the defects in the prior art, the purpose of the present invention is to provide an information protocol soft docking method and system based on text / OCR semantic recognition.

[0007] An information protocol soft docking method based on text / OCR semantic recognition, comprising:

[0008] Text recognition step: input the information protocol text into the soft docking universal test equipment and recognize it through the semantic recognition software;

[0009] Protocol import step: import the identified protocol content into the interface data parsing and processing configuration module in the soft docking universal test equipment, so as to determine the input and output characteristics of the docking interface;

[0010] Data receiving and sending test steps: connect the device under test to the corresponding interface of the soft docking universal test equipment, and perform receiving and sending tests of different types of data according to the data types preset in the information protocol;

[0011] Steps for outputting the test report: The soft-interconnected universal test equipment compares the received and sent data with the information protocol, marks and explains the non-conformities with the protocol in the protocol text, and outputs a comparison report.

[0012] Preferably, the text recognition step includes:

[0013] Semantic recognition is based on text keyword retrieval and recognition. By retrieving keyword information in the information protocol text, the semantic recognition software obtains the relevant attributes of the interactive data in the information protocol.

[0014] Preferably, the protocol importing step includes:

[0015] After identifying the protocol characteristics of the interface and the information protocol in the interface, in the soft docking universal test equipment, each characteristic is sent to the interface data parsing and processing configuration software in the form of interface configuration item attributes, and a communication characteristic table is formed;

[0016] The interface of the soft docking universal test equipment is the standard interface of the satellite-borne equipment;

[0017] The parsed protocol content is a file in a preset format, and the file needs to fill in the description information of the protocol attributes according to the preset format.

[0018] Preferably, the data transmission and reception test step includes:

[0019] When sending data to the device under test, send the data according to the characteristics specified in the information protocol and observe whether the device under test works normally;

[0020] When the telemetry data output by the device under test has no telemetry errors and the device under test works normally in the working mode corresponding to the input data, it is normal; when the telemetry data output by the device under test has telemetry errors related to the input and output data and the working mode, it is abnormal; the erroneous telemetry is analyzed and processed.

[0021] Preferably, the step of outputting a test report includes:

[0022] The comparison includes sending the output non-conformities to the text / OCR semantic recognition software through the internal software interface. The semantic recognition software maps each non-conformity to the original agreement text, generates annotations and explanations, and finally outputs a comparison report;

[0023] Non-conformances include discontinuous frame counts, incorrect data type identification, and checksum errors.

[0024] An information protocol soft docking system based on text / OCR semantic recognition, comprising:

[0025] Text recognition module: input the information protocol text into the soft docking universal test equipment and recognize it through semantic recognition software;

[0026] Protocol import module: imports the recognized protocol content into the interface data parsing and processing configuration module in the soft docking universal test equipment, thereby determining the input and output characteristics of this docking interface;

[0027] Data receiving and sending test module: connect the device under test to the corresponding interface of the soft docking universal test equipment, and perform receiving and sending tests of different types of data according to the data types preset in the information protocol;

[0028] Output test report module: The soft docking universal test equipment compares the sent and received data with the information protocol, marks and explains the non-conformities with the protocol in the protocol text, and outputs a comparison report.

[0029] Preferably, the text recognition module includes:

[0030] Semantic recognition is based on text keyword retrieval and recognition. By retrieving keyword information in the information protocol text, the semantic recognition software obtains the relevant attributes of the interactive data in the information protocol.

[0031] Preferably, the protocol import module includes:

[0032] After identifying the protocol characteristics of the interface and the information protocol in the interface, in the soft docking universal test equipment, each characteristic is sent to the interface data parsing and processing configuration software in the form of interface configuration item attributes, and a communication characteristic table is formed;

[0033] The interface of the soft docking universal test equipment is the standard interface of the satellite-borne equipment;

[0034] The parsed protocol content is a file in a preset format, and the file needs to fill in the description information of the protocol attributes according to the preset format.

[0035] Preferably, the data transceiver test module includes:

[0036] When sending data to the device under test, send the data according to the characteristics specified in the information protocol and observe whether the device under test works normally;

[0037] When the telemetry data output by the device under test has no telemetry errors and the device under test works normally in the working mode corresponding to the input data, it is normal; when the telemetry data output by the device under test has telemetry errors related to the input and output data and the working mode, it is abnormal; the erroneous telemetry is analyzed and processed.

[0038] Preferably, the test report output module includes:

[0039] The comparison includes sending the output non-conformities to the text / OCR semantic recognition software through the internal software interface. The semantic recognition software maps each non-conformity to the original agreement text, generates annotations and explanations, and finally outputs a comparison report;

[0040] Non-conformances include discontinuous frame counts, incorrect data type identification, and checksum errors.

[0041] Compared with the prior art, the present invention has the following beneficial effects:

[0042] 1. During docking, the present invention connects the soft docking universal device in series between the docking transceiver interfaces, generates interactive transceiver data between the device and the satellite device to be tested, and automatically compares the received data of the device to be tested with the information protocol, thereby detecting the correctness of the communication protocol of the device to be tested, which significantly improves the docking efficiency and docking accuracy between satellite device products;

[0043] 2. The present invention improves the efficiency of docking result analysis by analyzing and comparing the docking results;

[0044] 3. The present invention solves the problem of inconsistent understanding of communication protocol texts between different organizations and personnel by adopting OCR semantic recognition technology;

[0045] 4. The present invention reduces the complexity of the communication product docking process between products of different institutions by adopting a soft docking test design. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] Other features, objects and advantages of the present invention will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings:

[0047] Figure 1 This is a flow chart of an information protocol soft docking method based on text / OCR semantic recognition of the present invention;

[0048] Figure 2 It is a schematic diagram of the docking form 1 of the present invention;

[0049] Figure 3 It is a schematic diagram of docking form 2 of the present invention. DETAILED DESCRIPTION

[0050] The present invention is described in detail below in conjunction with specific embodiments. The following embodiments will help those skilled in the art to further understand the present invention, but are not intended to limit the present invention in any form. It should be noted that, for those of ordinary skill in the art, several changes and improvements can also be made without departing from the concept of the present invention. These all belong to the protection scope of the present invention.

[0051] The technical solution proposed by the present invention is further described below in conjunction with the accompanying drawings.

[0052] This method can be used for two forms of docking according to the actual needs of docking. Figure 2 、Connection form 2 Figure 3 .

[0053] In accordance with the agreed information protocol text format, each interface shall be clearly defined in the protocol, including the input and output message format, message type, the meaning of each message field, and the message sending and receiving method. The electrical performance of each interface shall also be clearly defined in the protocol to ensure that no product device damage occurs during the docking process.

[0054] The protocol text is input into the soft docking universal test equipment, and the semantic recognition software in the test equipment is called for recognition. The protocol content is normalized, and the text recognition software discretizes the communication characteristics in the protocol. At the same time, each characteristic is placed in the communication characteristic table of the interface in the form of interface attributes based on the interface.

[0055] The interface communication characteristics are passed to the interface data parsing and processing configuration software, which will perform actual configuration based on the characteristics of each interface. Testers can also check or modify relevant interface properties on the host computer to determine the input and output characteristics of this docking interface.

[0056] After connecting the device to be tested to the corresponding interface of the soft docking universal test equipment, various data transmission and reception tests are performed according to the data types specified in the information protocol. The message type and message content to be tested are selected in the soft docking universal test equipment, and the subsequent transmission and reception test and message content detection process are completed automatically by the soft docking universal test equipment.

[0057] The soft docking universal test equipment compares the received and sent data with the information protocol in each receiving and sending test, screens out the non-conformities with the protocol, marks and explains them in the protocol text, and outputs them. The annotations and explanations of different communication test items are distinguished by colors, and finally a comparison report is output.

[0058] The docking method includes a text / OCR semantic recognition method and a soft docking universal test device. It includes the following steps:

[0059] S1: Text recognition: Input the information protocol text into the soft docking universal test equipment, use semantic recognition software to recognize it, and normalize the protocol content.

[0060] S2: protocol import: import the identified protocol content into the interface data analysis and processing configuration software in the soft docking universal test equipment to determine the input and output characteristics of this docking interface.

[0061] S3: Data reception and transmission test: After the device under test is connected to the corresponding interface of the soft docking universal test equipment, various data reception and transmission tests are performed according to the data types specified in the information protocol.

[0062] S4: Output test report: The soft docking universal test equipment compares the received and sent data with the information protocol, marks and explains the non-conformities with the protocol in the protocol text, and outputs it.

[0063] Specifically, a method for soft docking of information protocols based on text / OCR semantic recognition is provided, wherein the text / OCR semantic recognition object includes electronic and paper versions of protocol documents, and the electronic version includes conventional WORD documents and PDF documents.

[0064] Specifically, a method for soft docking of information protocols based on text / OCR semantic recognition, wherein the soft docking universal test equipment includes interface data parsing and processing configuration software and a series of commonly used standard interfaces for satellite-borne equipment.

[0065] Text / OCR semantic recognition is a text semantic analysis and processing software based on text keyword retrieval. The software retrieves the keyword information of the content of the agreement in the information protocol text, and obtains the relevant attributes of the interactive data in the information protocol around the keyword.

[0066] Specifically, the commonly used standard interfaces contained in the soft docking universal test equipment include CAN bus interface, 1553B bus interface, synchronous / asynchronous RS422 interface, LVDS interface, 2711 interface, CXP interface, and single-mode / multi-mode optical fiber interface.

[0067] Specifically, the software is connected to the universal test equipment, and the interface data parsing and processing configuration software automatically parses and configures according to the information protocol for the interactive data characteristics of each interface.

[0068] Specifically, the soft docking universal test equipment is connected to a single device under test through a standard interface to send and receive data. The received data of the device under test is compared with the information protocol, and the non-conformance items are annotated and marked in the information protocol. Regarding sending data to the device under test, the data is sent according to the characteristics specified in the information protocol to observe whether the telemetry of the device under test is normal.

[0069] Specifically, in text / OCR semantic recognition, the file to be parsed and processed is a file in an agreed format, and the protocol attribute description information contained in the file must be filled in according to the agreed format.

[0070] Specifically, after text / OCR semantic recognition, retrieving and distinguishing the fixed protocol characteristics of the interface and the information protocol in the interface, each characteristic is sent to the interface data parsing and processing configuration software in the form of interface configuration item attributes in the software.

[0071] Specifically, in the process of comparing the received and sent data of the device under test with the text / OCR semantic recognition, the output non-conformities of the soft docking universal test equipment are sent to the text / OCR semantic recognition software through the internal software interface. The software maps each non-conformity to the original text and generates annotations and explanations. Non-conformities include discontinuous frame counts, data type identification errors, and verification errors.

[0072] The satellite software communication protocol is identified by text / OCR semantic recognition software, and the detailed provisions in the software communication protocol are extracted, including the message format, message field meaning, communication frequency, etc. After the protocol is identified, the corresponding communication protocol is set in the soft docking general device according to the type and number of interfaces that need to be docked. During docking, the soft docking general device is connected in series between the docking transceiver interfaces, and interactive transceiver data is generated between the device and the satellite device under test, and the received data from the device under test is automatically compared with the information protocol, so as to detect the correctness of the communication protocol of the device under test, which significantly improves the docking efficiency and accuracy between satellite equipment products.

[0073] The present invention also provides an information protocol soft docking system based on text / OCR semantic recognition. The information protocol soft docking system based on text / OCR semantic recognition can be realized by executing the process steps of the information protocol soft docking method based on text / OCR semantic recognition, that is, those skilled in the art can understand the information protocol soft docking method based on text / OCR semantic recognition as a preferred implementation of the information protocol soft docking system based on text / OCR semantic recognition.

[0074] An information protocol soft docking system based on text / OCR semantic recognition comprises: a text recognition module: inputting information protocol text into a soft docking universal test device, and performing recognition through semantic recognition software; a protocol importing module: importing the recognized protocol content into an interface data parsing and processing configuration module in the soft docking universal test device, so as to determine the input and output characteristics of this docking interface; a data transceiver test module: connecting a device to be tested with a corresponding interface of the soft docking universal test device, and performing transceiver tests of different types of data according to data types preset in the information protocol; and an output test report module: the soft docking universal test device compares the transceiver data with the information protocol, marks and explains the non-conformities with the protocol in the protocol text, and outputs a comparison report.

[0075] Specifically, the text recognition module includes: semantic recognition is based on text keyword retrieval and recognition. By retrieving keyword information in the information protocol text, the semantic recognition software obtains relevant attributes of the interactive data in the information protocol.

[0076] Specifically, the protocol import module includes: after identifying the protocol characteristics of the interface and the information protocol in the interface, in the soft-interconnected universal test equipment, each characteristic is sent to the interface data parsing and processing configuration software in the form of interface configuration item attributes, and a communication characteristic table is formed; the interface of the soft-interconnected universal test equipment is the standard interface of the satellite-borne equipment; the parsed protocol content is a file in a preset format, and the file needs to fill in the description information of the protocol attributes according to the preset format.

[0077] Specifically, the data receiving and sending test module includes: when sending data to the device under test, sending data according to the characteristics specified by the information protocol, and observing whether the device under test is working normally; when the telemetry data output by the device under test has no telemetry error, and the device under test works normally in the working mode corresponding to the input data, it is normal; when the telemetry data output by the device under test has a telemetry error related to the input and output data and the working mode, it is abnormal; and analyzing and processing the erroneous telemetry.

[0078] Specifically, the output test report module includes: comparison includes sending the output non-conforming items to the text / OCR semantic recognition software through the internal software interface. The semantic recognition software maps each non-conforming item to the original protocol text, generates annotations and explanations, and finally outputs a comparison report; non-conforming items include discontinuous frame counts, data type identification errors, verification errors, etc.

[0079] Those skilled in the art know that, in addition to realizing the system and its various devices, modules, and units provided by the present invention in a purely computer-readable program code, it is entirely possible to realize the same functions in the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded microcontrollers by logically programming the method steps. Therefore, the system and its various devices, modules, and units provided by the present invention can be considered as a hardware component, and the devices, modules, and units included therein for realizing various functions can also be regarded as structures within the hardware component; the devices, modules, and units for realizing various functions can also be regarded as both software modules for realizing the method and structures within the hardware component.

[0080] The above describes the specific embodiments of the present invention. It should be understood that the present invention is not limited to the above specific embodiments, and those skilled in the art can make various changes or modifications within the scope of the claims, which does not affect the essence of the present invention. In the absence of conflict, the embodiments of the present application and the features in the embodiments can be combined with each other arbitrarily.

Claims

1. A method for information protocol soft docking based on text / OCR semantic recognition, characterized in that: include: Text recognition step: input the information protocol text into the soft docking universal test equipment and recognize it through the semantic recognition software; Protocol import step: import the identified protocol content into the interface data parsing and processing configuration module in the soft docking universal test equipment, so as to determine the input and output characteristics of the docking interface; Data receiving and sending test steps: connect the device under test to the corresponding interface of the soft docking universal test equipment, and perform receiving and sending tests of different types of data according to the data types preset in the information protocol; Steps for outputting the test report: The soft-interconnected universal test equipment compares the received and sent data with the information protocol, marks and explains the non-conformities with the protocol in the protocol text, and outputs a comparison report.

2. The information protocol soft docking method based on text / OCR semantic recognition according to claim 1 is characterized in that: The text recognition step comprises: The semantic recognition is based on text keyword retrieval and recognition. By retrieving keyword information in the information protocol text, the semantic recognition software obtains relevant attributes of the interactive data in the information protocol.

3. The information protocol soft docking method based on text / OCR semantic recognition according to claim 1 is characterized in that: The protocol import step includes: After identifying the protocol characteristics of the interface and the information protocol in the interface, in the soft docking universal test equipment, each characteristic is sent to the interface data parsing and processing configuration software in the form of interface configuration item attributes, and a communication characteristic table is formed; The interface of the soft docking universal test equipment is a standard interface of the onboard equipment; The parsed protocol content is a file in a preset format, and the file needs to fill in the description information of the protocol attributes according to the preset format.

4. The information protocol soft docking method based on text / OCR semantic recognition according to claim 1 is characterized in that: The data transmission and reception test steps include: When sending data to the device under test, send the data according to the characteristics specified in the information protocol and observe whether the device under test works normally; When the telemetry data output by the device under test has no telemetry errors and the device under test works normally in the working mode corresponding to the input data, it is normal; when the telemetry data output by the device under test has telemetry errors related to the input and output data and the working mode, it is abnormal; the erroneous telemetry is analyzed and processed.

5. The information protocol soft docking method based on text / OCR semantic recognition according to claim 1 is characterized in that: The step of outputting a test report comprises: The comparison includes sending the output non-conformities to the text / OCR semantic recognition software through the internal software interface. The semantic recognition software maps each non-conformity to the original agreement text, generates annotations and descriptions, and finally outputs a comparison report; The non-conformance items include discontinuous frame count, data type identification error, and check error.

6. An information protocol soft docking system based on text / OCR semantic recognition, characterized in that: include: Text recognition module: input the information protocol text into the soft docking universal test equipment and recognize it through semantic recognition software; Protocol import module: imports the recognized protocol content into the interface data parsing and processing configuration module in the soft docking universal test equipment, thereby determining the input and output characteristics of this docking interface; Data receiving and sending test module: connect the device under test to the corresponding interface of the soft docking universal test equipment, and perform receiving and sending tests of different types of data according to the data types preset in the information protocol; Output test report module: The soft docking universal test equipment compares the sent and received data with the information protocol, marks and explains the non-conformities with the protocol in the protocol text, and outputs a comparison report.

7. The information protocol soft docking system based on text / OCR semantic recognition according to claim 1 is characterized in that: The text recognition module comprises: The semantic recognition is based on text keyword retrieval and recognition. By retrieving keyword information in the information protocol text, the semantic recognition software obtains relevant attributes of the interactive data in the information protocol.

8. The information protocol soft docking system based on text / OCR semantic recognition according to claim 1 is characterized in that: The protocol import module includes: After identifying the protocol characteristics of the interface and the information protocol in the interface, in the soft docking universal test equipment, each characteristic is sent to the interface data parsing and processing configuration software in the form of interface configuration item attributes, and a communication characteristic table is formed; The interface of the soft docking universal test equipment is a standard interface of the onboard equipment; The parsed protocol content is a file in a preset format, and the file needs to fill in the description information of the protocol attributes according to the preset format.

9. The information protocol soft docking system based on text / OCR semantic recognition according to claim 1 is characterized in that: The data transceiver test module comprises: When sending data to the device under test, send the data according to the characteristics specified in the information protocol and observe whether the device under test works normally; When the telemetry data output by the device under test has no telemetry errors and the device under test works normally in the working mode corresponding to the input data, it is normal; when the telemetry data output by the device under test has telemetry errors related to the input and output data and the working mode, it is abnormal; the erroneous telemetry is analyzed and processed.

10. The information protocol soft docking system based on text / OCR semantic recognition according to claim 1, characterized in that: The output test report module includes: The comparison includes sending the output non-conformities to the text / OCR semantic recognition software through the internal software interface. The semantic recognition software maps each non-conformity to the original agreement text, generates annotations and descriptions, and finally outputs a comparison report; The non-conformance items include discontinuous frame count, data type identification error, and check error.

Citation Information

Patent Citations

  • A system and method of testing the hardware interface functions of an avionics system

    IN4176CHE2014A