CN113992762B - Unmanned aerial vehicle communication protocol design method and system - Google Patents

Unmanned aerial vehicle communication protocol design method and system Download PDF

Info

Publication number
CN113992762B
CN113992762B CN202111251157.8A CN202111251157A CN113992762B CN 113992762 B CN113992762 B CN 113992762B CN 202111251157 A CN202111251157 A CN 202111251157A CN 113992762 B CN113992762 B CN 113992762B
Authority
CN
China
Prior art keywords
communication protocol
file
change
computer equipment
computer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111251157.8A
Other languages
Chinese (zh)
Other versions
CN113992762A (en
Inventor
彭壮
陈颖庆
沙亚雄
田峰
赵创新
江相乐
姜鹄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Aircraft Industrial Group Co Ltd
Original Assignee
Chengdu Aircraft Industrial Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu Aircraft Industrial Group Co Ltd filed Critical Chengdu Aircraft Industrial Group Co Ltd
Priority to CN202111251157.8A priority Critical patent/CN113992762B/en
Publication of CN113992762A publication Critical patent/CN113992762A/en
Application granted granted Critical
Publication of CN113992762B publication Critical patent/CN113992762B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/02Protocol performance
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/03Protocol definition or specification 

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Communication Control (AREA)

Abstract

The embodiment of the application discloses a method and a system for designing a communication protocol of an unmanned aerial vehicle, wherein the method comprises the steps of generating a communication protocol tree in first computer equipment; the first computer device sends the communication protocol tree to the plurality of computer devices; each computer device edits the communication protocol of the data blocks with the operation authorities in the communication protocol framework according to the user authority data to obtain a plurality of communication protocol first manuscripts; each computer device sends the respective communication protocol manuscript to the first computer device, and the first computer device combines the received communication protocol manuscripts to obtain a base line edition communication protocol file. The technical problem of unmanned aerial vehicle communication protocol design inefficiency has been solved, the improvement unmanned aerial vehicle communication protocol design efficiency has been reached, and the obvious effect of unnecessary use database.

Description

Unmanned aerial vehicle communication protocol design method and system
Technical Field
The application relates to the technical field of unmanned aerial vehicle communication, in particular to an unmanned aerial vehicle communication protocol design method and system.
Background
Along with the pedigree development of unmanned aerial vehicles, the task diversity is improved, and the functions are more and more rich. The number of corresponding airborne equipment is greatly improved to tens of hundreds. And the digitization degree of the equipment is greatly improved, and the parameter quantity representing the state of the airplane is up to 103 levels. Traditional communication protocols are designed by word, and documents of the traditional communication protocols are up to thousands of pages, so that unmanned aerial vehicle communication protocol design efficiency is low.
Disclosure of Invention
The main aim of the application is to provide a design method and a system for an unmanned aerial vehicle communication protocol, which aim at solving the technical problem of low design efficiency of the existing unmanned aerial vehicle communication protocol.
In order to achieve the above purpose, the present application provides a method for designing an unmanned aerial vehicle communication protocol, which is used for an unmanned aerial vehicle communication protocol design system, wherein the unmanned aerial vehicle communication protocol design system comprises a plurality of computer devices, and the computer devices are in communication connection;
the method comprises the following steps:
generating a communication protocol tree in first computer equipment, wherein the communication protocol tree is an XML format file, the communication protocol tree comprises a communication protocol frame of a target unmanned aerial vehicle and user authority data, and the user authority data comprises operation authorities of the plurality of computer equipment on data blocks in the communication protocol frame; the first computer device is any one of the plurality of computer devices;
the first computer device sends the communication protocol tree to the plurality of computer devices;
each computer device edits the communication protocol of the data blocks with the operation authorities in the communication protocol framework according to the user authority data to obtain a plurality of communication protocol first manuscripts;
each computer device sends the respective communication protocol manuscript to the first computer device, and the first computer device combines the received communication protocol manuscripts to obtain a base line edition communication protocol file.
Optionally, after the step of obtaining the baseline version of the communication protocol file, the method further includes:
the first computer equipment sends the baseline edition communication protocol file to each computer equipment;
and the computer equipment inputs the additional attribute in the baseline version communication protocol file to generate the communication protocol file with the additional attribute.
Optionally, after the step of sending the baseline version of the communication protocol file to each computer device by the first computer device, the method further includes:
when the computer equipment needs to change the base line edition communication protocol file, the base line edition communication protocol file is backed up to obtain a backup file, the base line edition communication protocol file is changed to obtain a first changed communication protocol file, and the first changed communication protocol file is sent to the first computer equipment;
the computer equipment also generates a communication protocol change list according to the first change communication protocol file and the backup file, and sends the communication protocol change list to target computer equipment which is related to the communication protocol change list and needs to be changed;
the target computer equipment determines change items according to the communication protocol change list, changes the change items in all the base line version communication protocol files to obtain a second change communication protocol file, and sends the second change communication protocol file to the first computer equipment;
and the first computer equipment changes the base line edition communication protocol file according to the first change communication protocol file and the second change communication protocol file to obtain a change edition communication protocol file.
Optionally, after the step of obtaining the modified version of the communication protocol file, the method further includes:
the first computer equipment sends the communication protocol file of the modification version to each computer equipment;
and the computer equipment inputs the additional attribute in the modified communication protocol file to generate a modified additional attribute definition file.
Optionally, the communication protocol framework includes a plurality of levels, and among the plurality of levels, a first level is a model number level, the model number level includes a device level, the device level includes a bus level, the bus level includes a data block level, and the data block level includes a parameter level, a bit field level, and a multiplexing area level.
Optionally, the user right data includes:
a user name;
a login password;
the authority list characterizes that the data blocks in the list have design authorities;
a deletion identifier for indicating whether the user is deleted;
a base line version identifier, which records whether the user data is a base line version, namely whether the user data is modified;
the designer and time stamp record the last operator and time of operation of the user data.
In addition, in order to achieve the above object, the present application further provides an unmanned aerial vehicle communication protocol design system, including:
the first computer equipment is used for generating a communication protocol tree and sending the communication protocol tree to the plurality of computer equipment; the communication protocol tree is an XML format file, the communication protocol tree comprises a communication protocol frame of the target unmanned aerial vehicle and user authority data, and the user authority data comprises the operation authority of the plurality of computer devices on each data block in the communication protocol frame;
the computer equipment is used for editing the communication protocol of the data blocks with the operation authorities in the communication protocol framework according to the user authority data to obtain a plurality of communication protocol first manuscripts; and transmitting the respective communication protocol first manuscripts to the first computer device;
the first computer equipment is also used for merging the received communication protocol primary files to obtain a base line edition communication protocol file.
Alternatively, the process may be carried out in a single-stage,
the first computer device is further configured to send the baseline version of the communication protocol file to each computer device after the step of obtaining the baseline version of the communication protocol file;
the computer equipment is also used for inputting additional attributes into the baseline edition communication protocol file and generating a communication protocol file with the additional attributes.
Alternatively, the process may be carried out in a single-stage,
the computer equipment is also used for backing up the baseline version communication protocol file to obtain a backup file when the baseline version communication protocol file needs to be changed, changing the baseline version communication protocol file to obtain a first changed communication protocol file, and sending the first changed communication protocol file to the first computer equipment;
the computer equipment is further used for generating a communication protocol change list according to the first change communication protocol file and the backup file, and sending the communication protocol change list to target computer equipment which is related to the communication protocol change list and needs to be changed;
the target computer device is used for determining change items according to the communication protocol change list, changing the change items in all the baseline version communication protocol files to obtain a second change communication protocol file, and sending the second change communication protocol file to the first computer device;
the first computer device is further configured to change the baseline version communication protocol file according to the first change communication protocol file and the second change communication protocol file, so as to obtain a change version communication protocol file.
Alternatively, the process may be carried out in a single-stage,
the first computer device is further configured to send the modified communication protocol file to each computer device after the step of obtaining the modified communication protocol file;
the computer equipment is also used for inputting additional attributes into the modified communication protocol file and generating a modified additional attribute definition file.
The beneficial effects that this application can realize.
The unmanned aerial vehicle communication protocol design method and system provided by the embodiment of the application comprise a plurality of computer devices, wherein the computer devices are in communication connection; generating a communication protocol tree in first computer equipment, wherein the communication protocol tree comprises a communication protocol frame of a target unmanned aerial vehicle and user authority data, and the user authority data comprises operation authorities of the plurality of computer equipment on data blocks in the communication protocol frame; the first computer device is any one of the plurality of computer devices; the first computer device sends the communication protocol tree to the plurality of computer devices; each computer device edits the communication protocol of the data blocks with the operation authorities in the communication protocol framework according to the user authority data to obtain a plurality of communication protocol first manuscripts; each computer device sends the respective communication protocol manuscript to the first computer device, and the first computer device combines the received communication protocol manuscripts to obtain a base line edition communication protocol file. That is, through any computer equipment in the decentralized unmanned aerial vehicle communication protocol design system, based on the data structure of XML format communication protocol tree, with the design of many computer equipment interaction in order to accomplish the communication protocol in parallel, based on the design of file structure, and provide a simple and practical's parallel design method, compared with the design method of current non-parallel big work load, the technical problem that unmanned aerial vehicle communication protocol design efficiency is low has been solved, the efficiency of unmanned aerial vehicle communication protocol design has been reached and has been improved, and the obvious effect of using the database is unnecessary.
Drawings
FIG. 1 is a schematic diagram of a computer device according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of an unmanned aerial vehicle communication protocol design system according to an embodiment of the present application;
fig. 3 is a schematic flow chart of a method for designing a communication protocol of an unmanned aerial vehicle according to an embodiment of the present application;
fig. 4 is a flow chart of another unmanned aerial vehicle communication protocol design method according to an embodiment of the present application.
The realization, functional characteristics and advantages of the present application will be further described with reference to the embodiments, referring to the attached drawings.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
The main solutions of the embodiments of the present application are: based on an unmanned aerial vehicle communication protocol design system, a communication protocol tree is generated in first computer equipment, wherein the communication protocol tree comprises a communication protocol frame of a target unmanned aerial vehicle and user authority data, and the user authority data comprises operation authorities of the plurality of computer equipment on all data blocks in the communication protocol frame; the first computer device is any one of the plurality of computer devices; the first computer device sends the communication protocol tree to the plurality of computer devices; each computer device edits the communication protocol of the data blocks with the operation authorities in the communication protocol framework according to the user authority data to obtain a plurality of communication protocol first manuscripts; each computer device sends the respective communication protocol manuscript to the first computer device, and the first computer device combines the received communication protocol manuscripts to obtain a base line edition communication protocol file.
In the prior art, the communication protocol is designed by word, which becomes extremely complex, and the document of the communication protocol is up to several thousand pages. Meanwhile, the data generated by perfect design is changed very frequently. These all result in a very difficult centralized management of the communication protocols. Furthermore, in the process of developing software of each device, the communication protocol is manually coded, so that the workload is huge and errors are easy to occur.
Therefore, the application provides a solution, through any computer equipment in the decentralized unmanned aerial vehicle communication protocol design system, based on the data structure of XML format communication protocol tree, the design of the communication protocol is accomplished in parallel by interacting with a plurality of computer equipment, based on the design of the file structure, a simple and practical parallel design method is provided, compared with the existing non-parallel large-workload design method, the technical problem of low unmanned aerial vehicle communication protocol design efficiency is solved, the unmanned aerial vehicle communication protocol design efficiency is improved, and the obvious effect of using a database is achieved.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a computer device according to an embodiment of the present application.
As shown in fig. 1, the computer device may include: a processor 1001, such as a central processing unit (Central Processing Unit, CPU), a communication bus 1002, a user interface 1003, a network interface 1004, a memory 1005. Wherein the communication bus 1002 is used to enable connected communication between these components. The user interface 1003 may include a Display, an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may further include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a WIreless interface (e.g., a WIreless-FIdelity (WI-FI) interface). The Memory 1005 may be a high-speed random access Memory (Random Access Memory, RAM) Memory or a stable nonvolatile Memory (NVM), such as a disk Memory. The memory 1005 may also optionally be a storage device separate from the processor 1001 described above.
Those skilled in the art will appreciate that the architecture shown in fig. 1 is not limiting of a computer device and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
As shown in fig. 1, an operating system, a data storage module, a network communication module, a user interface module, and an electronic program may be included in the memory 1005 as one type of storage medium.
In the computer device shown in fig. 1, the network interface 1004 is mainly used for data communication with a network server; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 in the computer device of the present invention may be provided in the computer device, where the computer device invokes the unmanned aerial vehicle communication protocol design apparatus stored in the memory 1005 through the processor 1001, and executes the unmanned aerial vehicle communication protocol design method provided in the embodiment of the present application.
Referring to fig. 2, an embodiment of the present application provides a system for designing a communication protocol of a drone, including a plurality of computer devices, where each computer device is communicatively connected to each other, and as shown in fig. 2, the system includes a first computer device (corresponding user is called an administrator) and a plurality of second computer devices (corresponding user is called a demand user). In this embodiment, any one of the plurality of computer devices may be used as the first computer device, i.e., the device is decentered.
In particular, in this system, the number of components,
the first computer equipment is used for generating a communication protocol tree and sending the communication protocol tree to the plurality of computer equipment; the communication protocol tree comprises a communication protocol frame of the target unmanned aerial vehicle and user authority data, wherein the communication protocol frame is an XML format file, and the user authority data comprises the operation authority of the plurality of computer devices on each data block in the communication protocol frame;
the computer equipment is used for editing the communication protocol of the data blocks with the operation authorities in the communication protocol framework according to the user authority data to obtain a plurality of communication protocol first manuscripts; and transmitting the respective communication protocol first manuscripts to the first computer device;
the first computer equipment is also used for merging the received communication protocol primary files to obtain a base line edition communication protocol file.
As an alternative embodiment, to add additional attributes to the communication protocol,
the first computer device is further configured to send the baseline version of the communication protocol file to each computer device after the step of obtaining the baseline version of the communication protocol file;
the computer equipment is also used for inputting additional attributes into the baseline edition communication protocol file and generating a communication protocol file with the additional attributes.
As an alternative embodiment, in order to make a change and correction to the communication protocol file after it is designed,
the computer equipment is also used for backing up the baseline version communication protocol file to obtain a backup file when the baseline version communication protocol file needs to be changed, changing the baseline version communication protocol file to obtain a first changed communication protocol file, and sending the first changed communication protocol file to the first computer equipment;
the computer equipment is further used for generating a communication protocol change list according to the first change communication protocol file and the backup file, and sending the communication protocol change list to target computer equipment which is related to the communication protocol change list and needs to be changed;
the target computer device is used for determining change items according to the communication protocol change list, changing the change items in all the baseline version communication protocol files to obtain a second change communication protocol file, and sending the second change communication protocol file to the first computer device;
the first computer device is further configured to change the baseline version communication protocol file according to the first change communication protocol file and the second change communication protocol file, so as to obtain a change version communication protocol file.
As an alternative embodiment, to add additional attributes to the altered communication protocol,
the first computer device is further configured to send the modified communication protocol file to each computer device after the step of obtaining the modified communication protocol file;
the computer equipment is also used for inputting additional attributes into the modified communication protocol file and generating a modified additional attribute definition file.
It should be noted that, the internal execution of each device of the system and the interaction process between each device of the system in this embodiment are specifically explained in the subsequent method embodiments, and therefore, specific implementation and technical effects thereof may refer to the subsequent embodiments.
Referring to fig. 3, based on the unmanned aerial vehicle communication protocol design system of the foregoing embodiment, an embodiment of the present application provides an unmanned aerial vehicle communication protocol design method,
in this embodiment, in order to implement the decentralization in the foregoing embodiment, a communication protocol data file (icd file) structure is first designed, where the file structure includes two parts, namely "communication protocol information data" and "user permission data". The communication protocol information data is a communication protocol stored in an XML form. The user authority data is the set of authority of all users to the communication protocol information data. The communication protocol data file is then circulated among the demand users in the form of mail or PDM, etc. The user is required to perform operations such as adding, deleting, checking, modifying, importing, exporting, merging, distributing and the like on the communication protocol data file. Therefore, as long as the user name and the password can be obtained, each user can become a central node, the use of a server and a database is avoided, and the aim of decentralization is fulfilled.
In this embodiment, the communication connection mode of each computer device in the unmanned aerial vehicle communication protocol design system is a local area network connection.
Specifically, the method of the embodiment includes:
s20, in a first computer device, generating a communication protocol tree, wherein the communication protocol tree is a communication protocol file and comprises a communication protocol frame of a target unmanned aerial vehicle and user authority data, the communication protocol frame is an XML format file, and the user authority data comprises the operation authority of the plurality of computer devices on each data block in the communication protocol frame; the first computer device is any one of the plurality of computer devices;
in a specific implementation process, the communication protocol framework is a basis for finally generating the communication protocol file, and comprises a plurality of levels, wherein a first level is a model number level, the model number level comprises a device level, the device level comprises a bus level (including GJB289A, RS and the like), the bus level comprises one or more data block levels, and the data block level comprises a parameter level, a bit field level and a multiplexing area level. In particular: "parameters" can be hooked under "bitfield"; the multiplexing area can only be hung with the multiplexing structure block, and the multiplexing structure block can be hung with the parameter, the bit domain and the multiplexing area, thus realizing the nested use of the multiplexing area and achieving the effect of multi-level multiplexing. The data blocks are generally named similarly to "flight control computer to engine data". "assign communication protocol rights": based on the data block as a control unit, an administrator adds a required user, sets an initial password for the user and adds the data block for the user to be controlled. The user is required to only operate the parameters under the authorized data blocks, and the data blocks and the layers above cannot be changed by the user.
As an alternative embodiment, the user rights data includes:
a user name;
a login password;
the authority list characterizes that the data blocks in the list have design authorities;
a deletion identifier for indicating whether the user is deleted;
a base line version identifier, which records whether the user data is a base line version, namely whether the user data is modified;
the designer and time stamp record the last operator and time of operation of the user data.
Therefore, after the files of the communication protocol and the user operation authority are simultaneously related in the communication protocol tree, the design authority of the communication protocol can be effectively controlled, the tasks of each person are guaranteed, and the editing errors of the communication protocol caused by misoperation are avoided.
And S40, the first computer equipment sends the communication protocol tree to the plurality of computer equipment.
In the implementation process, after the communication protocol tree (i.e. the communication protocol file) is generated, the communication protocol tree can be issued to the demand users. Specifically, as shown in fig. 2, in the local area network, the information may be sent to each user in the form of mail, PDM, or the like.
S60, each computer device edits the communication protocol to the data blocks with the operation authorities in the communication protocol framework according to the user authority data, and a plurality of communication protocol first manuscripts are obtained.
In the specific implementation process, the user is required to receive a communication protocol tree (communication protocol file), load the communication protocol tree into a communication protocol parallel design platform, and modify the password after logging in with the initial password. If necessary, the authorized data blocks can be subjected to secondary distribution, and the communication protocol design work can be decomposed again. The "secondary allocation" can be nested and there is no nesting layer number limitation. The communication protocol design (editing) is then performed, including operations such as adding or deleting. After the design is completed, if the "secondary allocation" is performed earlier, a merging step will be performed. Finally, a "communication protocol first draft" is exported and submitted to an administrator.
It should be noted that, in this process, each second computer device as in fig. 2 performs this step to design a portion of its own authority design and form a communication protocol draft, so that a plurality of communication protocol drafts can be obtained in this step.
And S80, each computer device sends the respective communication protocol manuscripts to the first computer device, and the first computer device combines the received communication protocol manuscripts to obtain a base line edition communication protocol file.
In the specific implementation process, after receiving a communication protocol first draft submitted by a demand user, an administrator executes merging operation and then executes a base line generation action to generate a base line edition communication protocol file. The baseline version of the communication protocol file refers to the originally designed communication protocol file, and is not modified.
As an alternative embodiment, after the step of obtaining the baseline version of the communication protocol file, the method further includes:
the first computer equipment sends the baseline edition communication protocol file to each computer equipment;
and the computer equipment inputs the additional attribute in the baseline version communication protocol file to generate the communication protocol file with the additional attribute.
In the specific implementation process, the additional attribute is freely designed by a user according to the requirement, and the display control mode, the color definition, the display precision, the upper limit, the lower limit, the alarm threshold and the like can be designed by combining the application software, so that the attribute dynamic expansion is realized.
Specifically, a user who needs to design additional attributes need to perform this step. And loading an additional attribute definition file on the basis of the base edition communication protocol file, and starting to input additional attributes to generate the communication protocol file with the additional attributes. The additional attribute definition file is freely designed by a user according to a specific format, and can bind a display scheme, upper and lower limits of a range, an alarm threshold value and the like in combination with application software. The communication protocol file with the additional attribute can be directly used by application software.
Therefore, the method of the embodiment provides a simple and practical parallel design method based on the file structure by interacting with a plurality of computer devices based on the XML format communication protocol tree data structure in order to complete the design of the communication protocol in parallel through any computer device in the non-centralized unmanned aerial vehicle communication protocol design system, solves the technical problem of low unmanned aerial vehicle communication protocol design efficiency compared with the existing non-parallel large-workload design method, achieves the obvious effects of improving unmanned aerial vehicle communication protocol design efficiency and avoiding using a database.
In addition, in parallel processing, authority limits are carried out on each demand user, and the respective design task amounts are relatively small and are completed within the prescribed authority, so that the coding and decoding error rate can be remarkably reduced compared with the existing document design of thousands of pages.
Referring to fig. 4, the embodiments of the present application further provide an embodiment, after the step of the first computer device sending the baseline version of the communication protocol file to each computer device, the method further includes:
s102, when the computer equipment needs to change the base line edition communication protocol file, backing up the base line edition communication protocol file to obtain a backup file, changing the base line edition communication protocol file to obtain a first changed communication protocol file, and sending the first changed communication protocol file to the first computer equipment;
in a specific implementation process, in order to obtain a communication protocol file more accurately, a scene of changing a baseline version of the communication protocol file may exist. When the base line edition communication protocol file needs to be changed, a user is required to backup the base line edition communication protocol file after receiving the base line edition communication protocol file. And carrying out a change operation on one copy, obtaining a first change communication protocol file after the change operation is completed, and sending the first change communication protocol file to the first computer equipment.
S104, the computer equipment also generates a communication protocol change list according to the first change communication protocol file and the backup file, and sends the communication protocol change list to target computer equipment which is involved in the communication protocol change list and needs to be changed;
in the implementation process, a communication protocol coordination list (or a communication protocol change list) needs to be generated on the basis of the backup 'baseline version communication protocol file' according to the change communication protocol file. The communication protocol coordination list comprises other required users corresponding to the data blocks which need to be changed and are related to the change, namely the affected required users. And then issuing the communication protocol coordination list to the affected demand users. In this embodiment, the target computer device is the computer device corresponding to the affected demand user, and thus, one or more target computer devices may be used.
S106, the target computer equipment determines change items according to the communication protocol change list, changes the change items in all the base line version communication protocol files to obtain a second change communication protocol file, and sends the second change communication protocol file to the first computer equipment;
in the implementation process, each target computer device changes the communication file according to the content of the communication protocol change list, and each target computer device performs its own job to finally obtain a plurality of second change communication protocol files and send the second change communication protocol files to the first computer device.
S108, the first computer equipment changes the base line edition communication protocol file according to the first change communication protocol file and the second change communication protocol file to obtain a change edition communication protocol file.
In the implementation process, the modified contents in the first modified communication protocol file and the second modified communication protocol file need to be combined to obtain a modified communication protocol file.
As an alternative implementation mode, before the combination is completed and the modified communication protocol file is generated, synchronous adding and deleting can be carried out on the communication protocol tree and the combined file so as to keep the data block and the structure of the layers above consistent.
As an alternative embodiment, after the step of obtaining the modified version of the communication protocol file, the method further includes:
the first computer equipment sends the communication protocol file of the modification version to each computer equipment;
and the computer equipment inputs the additional attribute in the modified communication protocol file to generate a modified additional attribute definition file.
In the implementation process, the step is the same as the step of entering the additional attribute into the baseline version communication protocol file, and will not be repeated here.
It should be understood that the foregoing is merely illustrative, and the technical solutions of the present application are not limited in any way, and those skilled in the art may perform the setting based on the needs in practical applications, and the present application is not limited herein.
According to the design method of the embodiment, software development is completed. The platform is used for realizing decentralization and smoothly completing the parallel design of distributed communication protocols of hundreds of computers in over 10 professions. The platform generates an XML format communication protocol file for use by the device software, and also automatically generates a conventional WORD version of the communication protocol. The platform is applied to a certain type of unmanned aerial vehicle project of a certain company, and the effect is excellent: 1, the parallel design efficiency of the communication protocol is greatly improved; 2, improving the software development efficiency and quality, and preventing the encoding and decoding from error; and 3, after the communication protocol parameter design is changed, the software source code is not required to be changed. The quantifiable effects are shown in the table below.
Figure BDA0003320650290000121
Therefore, the method of the embodiment provides a simple and practical parallel design method based on the file structure by interacting with a plurality of computer devices based on the XML format communication protocol tree data structure in order to complete the design of the communication protocol in parallel through any computer device in the non-centralized unmanned aerial vehicle communication protocol design system, solves the technical problem of low unmanned aerial vehicle communication protocol design efficiency compared with the existing non-parallel large-workload design method, achieves the obvious effects of improving unmanned aerial vehicle communication protocol design efficiency and avoiding using a database.
In addition, in parallel processing, authority limits are carried out on each demand user, and the respective design task amounts are relatively small and are completed within the prescribed authority, so that the coding and decoding error rate can be remarkably reduced compared with the existing document design of thousands of pages.
Furthermore, in an embodiment, the present application also provides a computer storage medium, on which a computer program is stored, which computer program, when being executed by a processor, implements the steps of the method in the previous embodiment.
In some embodiments, the computer readable storage medium may be FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface memory, optical disk, or CD-ROM; but may be a variety of devices including one or any combination of the above memories. The computer may be a variety of computing devices including smart terminals and servers.
In some embodiments, the executable instructions may be in the form of programs, software modules, scripts, or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and they may be deployed in any form, including as stand-alone programs or as modules, components, subroutines, or other units suitable for use in a computing environment.
As an example, the executable instructions may, but need not, correspond to files in a file system, may be stored as part of a file that holds other programs or data, for example, in one or more scripts in a hypertext markup language (HTML, hyper Text Markup Language) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files that store one or more modules, sub-programs, or portions of code).
As an example, executable instructions may be deployed to be executed on one computing device or on multiple computing devices located at one site or, alternatively, distributed across multiple sites and interconnected by a communication network.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present application are merely for describing, and do not represent advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. read-only memory/random-access memory, magnetic disk, optical disk), comprising several instructions for causing a multimedia terminal device (which may be a mobile phone, a computer, a television receiver, or a network device, etc.) to perform the method described in the embodiments of the present application.
The foregoing description is only of the preferred embodiments of the present application, and is not intended to limit the scope of the claims, and all equivalent structures or equivalent processes using the descriptions and drawings of the present application, or direct or indirect application in other related technical fields are included in the scope of the claims of the present application.

Claims (10)

1. The unmanned aerial vehicle communication protocol design method is characterized by being used for an unmanned aerial vehicle communication protocol design system, wherein the unmanned aerial vehicle communication protocol design system comprises a plurality of computer devices which are in communication connection;
the method comprises the following steps:
generating a communication protocol tree in first computer equipment, wherein the communication protocol tree is an XML format file, the communication protocol tree comprises a communication protocol frame of a target unmanned aerial vehicle and user authority data, the communication protocol frame comprises a plurality of data blocks, and the user authority data comprises the operation authority of the plurality of computer equipment on each data block in the communication protocol frame; the first computer device is any one of the plurality of computer devices;
the first computer device sends the communication protocol tree to the plurality of computer devices;
each computer device edits the communication protocol for the data blocks with the operation authorities in the communication protocol frame according to the user authority data or redistributes the data blocks with the operation authorities in the communication protocol frame to the plurality of computer devices so as to obtain a plurality of communication protocol manuscripts;
each computer device sends the respective communication protocol manuscript to the first computer device, and the first computer device combines the received communication protocol manuscripts to obtain a base line edition communication protocol file.
2. The method of claim 1, wherein after the step of obtaining a baseline version of the communication protocol file, the method further comprises:
the first computer equipment sends the baseline edition communication protocol file to each computer equipment;
and the computer equipment inputs the additional attribute in the baseline version communication protocol file to generate the communication protocol file with the additional attribute.
3. The method of claim 2, wherein after the step of the first computer device transmitting the baseline version of the communication protocol file to each computer device, the method further comprises:
when the computer equipment needs to change the base line edition communication protocol file, the base line edition communication protocol file is backed up to obtain a backup file, the base line edition communication protocol file is changed to obtain a first changed communication protocol file, and the first changed communication protocol file is sent to the first computer equipment;
the computer equipment also generates a communication protocol change list according to the first change communication protocol file and the backup file, and sends the communication protocol change list to target computer equipment which is related to the communication protocol change list and needs to be changed;
the target computer equipment determines change items according to the communication protocol change list, changes the change items in all the base line version communication protocol files to obtain a second change communication protocol file, and sends the second change communication protocol file to the first computer equipment;
and the first computer equipment changes the base line edition communication protocol file according to the first change communication protocol file and the second change communication protocol file to obtain a change edition communication protocol file.
4. The method of claim 1, wherein after the step of obtaining a modified version of the communication protocol file, the method further comprises:
the first computer equipment sends the communication protocol file of the modification version to each computer equipment;
and the computer equipment inputs the additional attribute in the modified communication protocol file to generate a modified additional attribute definition file.
5. The method of any of claims 1-4, wherein the communication protocol framework comprises a plurality of levels, a first level of the plurality of levels being a model number level, the model number level comprising a device level, the device level comprising a bus level, the bus level comprising a data block level, the data block level comprising a parameter level, a bit field level, and a multiplexing area level.
6. The method of claim 5, wherein the user rights data comprises:
a user name;
a login password;
the authority list characterizes that the data blocks in the list have design authorities;
a deletion identifier for indicating whether the user is deleted;
a base line version identifier, which records whether the user data is a base line version, namely whether the user data is modified;
the designer and time stamp record the last operator and time of operation of the user data.
7. An unmanned aerial vehicle communication protocol design system, comprising:
the first computer equipment is used for generating a communication protocol tree and transmitting the communication protocol tree to a plurality of computer equipment; the communication protocol tree is an XML format file, the communication protocol tree comprises a communication protocol frame of the target unmanned aerial vehicle and user authority data, the communication protocol frame comprises a plurality of data blocks, and the user authority data comprises operation authorities of the plurality of computer devices to the data blocks in the communication protocol frame;
each computer device in the plurality of computer devices is used for editing a communication protocol for the data blocks with operation authorities in the communication protocol frame or reassigning the data blocks with operation authorities in the communication protocol frame to the plurality of computer devices according to the user authority data so as to obtain a plurality of communication protocol first manuscripts; and transmitting the respective communication protocol first manuscripts to the first computer device;
the first computer equipment is also used for merging the received communication protocol primary files to obtain a base line edition communication protocol file.
8. The unmanned aerial vehicle communication protocol design system of claim 7, wherein,
the first computer device is further configured to send the baseline version of the communication protocol file to each computer device after the step of obtaining the baseline version of the communication protocol file;
the computer equipment is also used for inputting additional attributes into the baseline edition communication protocol file and generating a communication protocol file with the additional attributes.
9. The unmanned aerial vehicle communication protocol design system of claim 8, wherein,
the computer equipment is also used for backing up the baseline version communication protocol file to obtain a backup file when the baseline version communication protocol file needs to be changed, changing the baseline version communication protocol file to obtain a first changed communication protocol file, and sending the first changed communication protocol file to the first computer equipment;
the computer equipment is further used for generating a communication protocol change list according to the first change communication protocol file and the backup file, and sending the communication protocol change list to target computer equipment which is related to the communication protocol change list and needs to be changed;
the target computer device is used for determining change items according to the communication protocol change list, changing the change items in all the baseline version communication protocol files to obtain a second change communication protocol file, and sending the second change communication protocol file to the first computer device;
the first computer device is further configured to change the baseline version communication protocol file according to the first change communication protocol file and the second change communication protocol file, so as to obtain a change version communication protocol file.
10. The unmanned aerial vehicle communication protocol design system of claim 9, wherein,
the first computer device is further configured to send the modified communication protocol file to each computer device after the step of obtaining the modified communication protocol file;
the computer equipment is also used for inputting additional attributes into the modified communication protocol file and generating a modified additional attribute definition file.
CN202111251157.8A 2021-10-26 2021-10-26 Unmanned aerial vehicle communication protocol design method and system Active CN113992762B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111251157.8A CN113992762B (en) 2021-10-26 2021-10-26 Unmanned aerial vehicle communication protocol design method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111251157.8A CN113992762B (en) 2021-10-26 2021-10-26 Unmanned aerial vehicle communication protocol design method and system

Publications (2)

Publication Number Publication Date
CN113992762A CN113992762A (en) 2022-01-28
CN113992762B true CN113992762B (en) 2023-05-05

Family

ID=79742029

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111251157.8A Active CN113992762B (en) 2021-10-26 2021-10-26 Unmanned aerial vehicle communication protocol design method and system

Country Status (1)

Country Link
CN (1) CN113992762B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8458283B1 (en) * 2006-06-28 2013-06-04 Insors Integrated Communications Methods and program products for efficient communication of shared file modifications during a collaboration event
CN105743973A (en) * 2016-01-22 2016-07-06 上海科牛信息科技有限公司 Multi-user multi-device real-time synchronous cloud cooperation method and system
CN106980560A (en) * 2017-03-17 2017-07-25 北京临近空间飞行器系统工程研究所 One kind is based on ICD database multibus protocol tests and emulation mode and platform
CN110190887A (en) * 2018-02-23 2019-08-30 北京京东尚科信息技术有限公司 Earth station, Unmanned Aerial Vehicle Data Transmission system and method and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103631763B (en) * 2013-12-12 2017-05-24 用友网络科技股份有限公司 Multi-people cooperation type large-size document editing device and method
US10542125B2 (en) * 2014-09-03 2020-01-21 The Boeing Company Systems and methods for configuring a computing device to use a communication protocol
CN107273343A (en) * 2017-06-23 2017-10-20 北京计算机技术及应用研究所 Document collaborative editing system and method based on data centralized management
CN109669692B (en) * 2018-12-21 2023-03-10 深圳Tcl新技术有限公司 Source code sharing method, server, computer readable storage medium and system
US11488488B2 (en) * 2020-01-03 2022-11-01 Prince Sultan University Blockchain-based solution for internet of drones security and privacy

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8458283B1 (en) * 2006-06-28 2013-06-04 Insors Integrated Communications Methods and program products for efficient communication of shared file modifications during a collaboration event
CN105743973A (en) * 2016-01-22 2016-07-06 上海科牛信息科技有限公司 Multi-user multi-device real-time synchronous cloud cooperation method and system
CN106980560A (en) * 2017-03-17 2017-07-25 北京临近空间飞行器系统工程研究所 One kind is based on ICD database multibus protocol tests and emulation mode and platform
CN110190887A (en) * 2018-02-23 2019-08-30 北京京东尚科信息技术有限公司 Earth station, Unmanned Aerial Vehicle Data Transmission system and method and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
崔诗娴 ; .基于ARINC 661协议的DF文件验证方法.计算机系统应用.2018,(第02期),全文. *

Also Published As

Publication number Publication date
CN113992762A (en) 2022-01-28

Similar Documents

Publication Publication Date Title
US10878182B2 (en) Computing device for convergent document collaboration
CN107370786B (en) General information management system based on micro-service architecture
US10146950B2 (en) Systems for modular document editing
JP2021028828A (en) Software application development based on spread sheet
US9805209B2 (en) Systems and methodologies for managing document access permissions
EP2738690A1 (en) Document merging method
CN104123227A (en) Method for automatically generating testing cases
CN110705237B (en) Automatic document generation method, data processing device and storage medium
CN104133772A (en) Automatic test data generation method
US10089371B2 (en) Extensible extract, transform and load (ETL) framework
CN111818175B (en) Enterprise service bus configuration file generation method, device, equipment and storage medium
CN112000338B (en) Interface display method, device and computer readable storage medium
CN109960773A (en) Page animation method, apparatus, equipment and storage medium based on HTML5
CN110018835B (en) YANG model configuration data processing method and device, terminal device and storage medium
CN112749537A (en) Role-based electronic engineering document management method
US8205010B1 (en) User system applicaton interaction for a system as a service
CN113992762B (en) Unmanned aerial vehicle communication protocol design method and system
US20110113325A1 (en) Systems, Methods and Computer Readable Media For Creating and Updating Electronic Documents
CN112486952A (en) Flow creation method, system, storage medium and electronic device
CN112380172A (en) Multi-user table cooperation framework and method capable of locking and concurrency
CN110457667A (en) The good sheet disposal method and system based on B/S framework of safety
CN103561113A (en) Web Service interface generating method and device
TW201725542A (en) Form management system and method
CN114238273A (en) Database management method, device, equipment and storage medium
Ziani et al. A new framework for customizing ERP systems in a multi tenant SaaS environment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant