CN112749180B - Data management method, electronic device, and computer-readable storage medium - Google Patents

Data management method, electronic device, and computer-readable storage medium Download PDF

Info

Publication number
CN112749180B
CN112749180B CN202110068903.3A CN202110068903A CN112749180B CN 112749180 B CN112749180 B CN 112749180B CN 202110068903 A CN202110068903 A CN 202110068903A CN 112749180 B CN112749180 B CN 112749180B
Authority
CN
China
Prior art keywords
data
user
data management
management method
updating
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
CN202110068903.3A
Other languages
Chinese (zh)
Other versions
CN112749180A (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.)
Shanghai Fujia Information Technology Co ltd
Original Assignee
Shanghai Fujia Information Technology 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 Shanghai Fujia Information Technology Co ltd filed Critical Shanghai Fujia Information Technology Co ltd
Priority to CN202110068903.3A priority Critical patent/CN112749180B/en
Publication of CN112749180A publication Critical patent/CN112749180A/en
Application granted granted Critical
Publication of CN112749180B publication Critical patent/CN112749180B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/2365Ensuring data consistency and integrity
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/26Visual data mining; Browsing structured data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases
    • G06F16/288Entity relationship models
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/80Information retrieval; Database structures therefor; File system structures therefor of semi-structured data, e.g. markup language structured data such as SGML, XML or HTML
    • G06F16/81Indexing, e.g. XML tags; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/20Administration of product repair or maintenance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/40Business processes related to the transportation industry

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Resources & Organizations (AREA)
  • Economics (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Computer Security & Cryptography (AREA)
  • Quality & Reliability (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention relates to the field of airborne systems and discloses a data management method, electronic equipment and a computer readable storage medium. In some embodiments of the present invention, a data management method includes the steps of: according to the operation information of the user, determining elements corresponding to the operation information in a predefined data model for managing the airborne data; if the corresponding element is a simple element, acquiring data input by a user; updating the value of the corresponding element according to the data; wherein the simple element is an element without sub-elements. This embodiment makes the onboard data management process more efficient.

Description

Data management method, electronic device, and computer-readable storage medium
Technical Field
The embodiment of the invention relates to the field of airborne systems, in particular to a data management method, electronic equipment and a computer readable storage medium.
Background
Civil aircraft health management aims at realizing 'information-based use and maintenance', gathers, processes and synthesizes health information about the whole system (including aircraft, systems/subsystems, accessories, sensors and ground assurance systems), makes knowledge-based decisions, and produces corresponding actions or actions that ensure task success. This is one of the important ways to improve reliability, maintainability, testability, safety and safeguarding of civil aircraft. With the application of new generation data acquisition and transmission equipment on civil aircraft, the monitoring capability of an onboard system and an engine is continuously improved, the monitoring parameters reach hundreds of thousands, the operation and maintenance historical data of airlines are increasingly increased, and the annual operation data of three major airlines in China are accumulated to tens of Terabytes (TB). Aircraft health management, which is one of the very important means for achieving aviation security, has formed a relatively mature system architecture, but manages such huge aviation data and obtains effective information therefrom, especially data transmission and sharing among different systems, and requires a great deal of work. At present, a unified cooperative work platform does not exist, and collected health management data is comprehensively displayed and processed. Based on historical model design experience of domestic aircraft, the design of the airborne maintenance system needs to use a corresponding airborne health management data definition and management cooperative work platform to collect basic health management data from the whole aircraft and integrate the basic health management data into the airborne maintenance system, and the airborne maintenance system performs data integration and processing and displays the health management state after data fusion to a maintenance unit. For example, each aircraft system reports the fault to the airborne maintenance system, and the airborne maintenance collects all-aircraft faults and then performs fault fusion and fault isolation, and isolates the faults to a single LRU or interface, so that maintenance progress is accelerated, and maintenance efficiency is improved.
The inventor has found that a highly efficient on-board data management method is highly desirable.
Disclosure of Invention
An object of an embodiment of the present invention is to provide a data management method, an electronic device, and a computer-readable storage medium, so that an onboard data management process is more efficient.
In order to solve the above technical problems, an embodiment of the present invention provides a data management method, including the following steps: according to the operation information of the user, determining elements corresponding to the operation information in a predefined data model for managing the airborne data; if the corresponding element is a simple element, acquiring data input by a user; updating the value of the corresponding element according to the data; wherein the simple element is an element without sub-elements.
The embodiment of the invention also provides a data management platform, which comprises: an acquisition module and an update module; the acquisition module is used for: according to the operation information of the user, determining elements corresponding to the operation information in a predefined data model for managing the airborne data; the updating module is used for: if the corresponding element is a simple element, acquiring data input by a user; updating the value of the corresponding element according to the data; wherein the simple element is an element without sub-elements.
The embodiment of the invention also provides electronic equipment, which is characterized by comprising: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the data management method as mentioned in the above embodiments.
The embodiment of the present invention also provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the data management method mentioned in the above embodiment.
Compared with the prior art, the method and the device for displaying the elements display the elements selected by the user according to the association relation between the operation information of the user and the elements specified in the predefined data model. The user can manage the airborne data only by inputting the relevant data of the elements, and the user does not need to write codes, so that the management cost of the airborne data is reduced. The data model is a predefined model, and a user cannot change the model structure, so that the reliability of data definition is improved, the onboard data management process is more efficient and safer, and the reliability, maintainability, testability, safety and assurance of the aircraft are improved.
In addition, the data includes a logic circuit diagram or imported form. In the embodiment, the assignment is performed in a logic circuit diagram definition mode, so that a user can perform data definition without learning XML language, and the operation difficulty of the user is reduced.
If the data includes a logic circuit diagram, updating the value of the corresponding element based on the data includes: identifying a logic circuit diagram; generating a logic expression according to the identification result; the logical expression is taken as the value of the corresponding element.
In addition, before acquiring the data input by the user, the data management method further comprises the following steps: ejecting an editing window corresponding to the element; the editing window is a lead-in window or a drawing window, and logic components are displayed in the drawing window so that a user can construct a logic circuit diagram in the drawing window based on the logic components. In the embodiment, the data management service is provided for the user based on the operation interface and the database, and the visual operation environment is provided for the user, so that the user operation is simpler and more convenient.
In addition, after determining elements corresponding to the operation information in the predefined data model for managing the on-board data according to the operation information of the user, the data management method further includes: if the corresponding element is a complex element, displaying sub-elements of the corresponding element according to the data model; the complex element is an element having sub-elements.
In addition, the data model is defined based on an extensible markup language structure XML schema technology. In the embodiment, the data model is defined by an XML Schema technology, so that the data model exists in the form of an XML file, and the use is more convenient.
In addition, the data management method is applied to an airborne data management platform; before updating the value of the corresponding element according to the data, the data management method further comprises: locking the corresponding element; after updating the values of the corresponding elements according to the data, the data management method further includes: unlocking the corresponding element. In the embodiment, the reliability of the airborne data management platform in the multi-person cooperation mode is improved.
In addition, before determining elements corresponding to the operation information in the predefined data model for managing the on-board health data according to the operation information of the user, the data management method further includes: and determining that the user has the management authority according to the login information of the user and the pre-stored management authority information. In this embodiment, the security of the on-board data management platform is improved.
In addition, the data model is stored in the database in the form of an Entity-Attribute-Value (EAV) based model. In the embodiment, the created data model is saved through the database model, namely the EAV model, so that the attribute can be dynamically added or removed for the data model, the data model is saved in a database mode, and the data model structure is more intuitively displayed.
Drawings
One or more embodiments are illustrated by way of example and not limitation in the figures of the accompanying drawings, in which like references indicate similar elements, and in which the figures of the drawings are not to be taken in a limiting sense, unless otherwise indicated.
Fig. 1 is a flowchart of a data management method provided according to a first embodiment of the present invention;
FIG. 2 is a schematic diagram of a portion of a data model in the data management method shown in FIG. 1;
FIG. 3 is a schematic diagram of a logic circuit diagram of the data management method shown in FIG. 1;
fig. 4 is a flowchart of a data management method provided according to a second embodiment of the present invention;
FIG. 5 is a schematic diagram of a data management platform according to a third embodiment of the present invention;
fig. 6 is a schematic structural view of an electronic device according to a fourth embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the following detailed description of the embodiments of the present invention will be given with reference to the accompanying drawings. However, those of ordinary skill in the art will understand that in various embodiments of the present invention, numerous technical details have been set forth in order to provide a better understanding of the present application. However, the technical solutions claimed in the present application can be implemented without these technical details and with various changes and modifications based on the following embodiments.
A first embodiment of the present invention relates to a data management method including the steps of: according to the operation information of the user, determining elements corresponding to the operation information in a predefined data model for managing the airborne data; if the corresponding element is a simple element, acquiring data input by a user; updating the value of the corresponding element according to the data; wherein the simple element is an element without a child element in the data model. In this embodiment, the element selected by the user is displayed according to the association relationship between the operation information of the user and each element specified in the predefined data model. The user can manage the airborne data only by inputting the relevant data of the elements, and the user does not need to write codes, so that the management cost of the airborne data is reduced. The data model is a predefined model, and a user cannot change the model structure, so that the reliability of data definition is improved, and the reliability, maintainability, testability, safety and guarantee of the aircraft are improved.
The implementation details of the data management method of the present embodiment are exemplified below. The following is merely an implementation detail provided for ease of understanding and is not necessary to practice the present embodiments.
The data management method in the embodiment can be applied to single-ended electronic equipment, and the electronic equipment can be a terminal, a server, a cloud server and the like. The data management method can also be applied to an onboard data management platform. The user logs in the airborne data management platform through a webpage or a client of the terminal. And the airborne data management platform is communicated with the terminal to acquire the operation information of the user in the webpage or the client so as to execute the data management method. As shown in fig. 1, the method specifically comprises the following steps:
step 101: and determining elements corresponding to the operation information in a predefined data model for managing the airborne data according to the operation information of the user.
Specifically, the operation information of the user indicates an element control triggered by the user at the operation interface. The element controls of the operation interface are in one-to-one correspondence with elements in the data model. When a user triggers an element control, determining an element corresponding to the element control in the data model according to the corresponding relation. The airborne data may be airborne health management data, or other data, which is not limited in this embodiment.
In one example, the electronic device presents the data model in a tree structure in an operation interface of a user according to a predefined data model for managing the recorded data, and elements in the data model are presented in the form of element controls, wherein names of the element controls are names of corresponding elements.
Alternatively, when the data management method is applied to the airborne data management platform, the data model can be respectively constructed for each entity.
Alternatively, the data model is a data model defined based on extensible markup language structure XML schema technology. Specifically, the XML Schema technique is a language that expresses XML document rules. The data model is defined using an XML document structure based on an XML Schema definition (XML Schema Definition, XSD). For example, a top class is defined in the data model, such as a member data class (MemberData), from which each subclass is derived; and establishing an association relation between the parent class and the child class through names (names) and references (ref) in an XML Schema technology.
It is worth mentioning that the data model is defined by the XML Schema technology, so that the data model exists in the form of an XML file, and the use is more convenient.
In one example, a schematic diagram of a partial data model is shown in FIG. 2. In this partial data model, the root element is member data (MemberData) 201. The member data 201 has one subelement, namely member model data (memberModelData) 202. The membership model data 202 has two sub-elements, namely status message 203 and fault report 204 (faultereport). The status information 203 has a sub-element, namely, binding items (bindditems) 205. The fault report 204 has two subelements, namely fault report data (faulteeportdata) 206 and initiation test (initedtest) 207. The XML file corresponding to the partial data model is represented as follows:
<xs:element name="MemberData">
<xs:complexType>
<xs:sequence>
<xs:element ref="MemberModelData"/>
<xs:element ref="xxxData"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="MemberModelData">
<xs:complexType>
<xs:sequence>
<xs:element ref="StatusMessage"/>
<xs:element ref="FaultReport"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="StatusMessage">
<xs:complexType>
<xs:sequence>
<xs:element ref="BindedItems"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="FaultReport">
<xs:complexType>
<xs:sequence>
<xs:sequence minOccurs="0">
<xs:element ref="FaultReportData"/>
<xs:element ref="InitiatedTest"/>
</xs:sequence>
</xs:sequence>
</xs:complexType>
</xs:element>
wherein < xs: element name= "a" > represents creating an element named "a" in the data model, < xs: complexType > represents that the element is a complex element, sequence in < xs: sequence > is an indicator, representing that the elements between two < xs: sequences > appear in the order of being declared, < xs: element ref= "B"/> represents that the element corresponding to the declaration where the statement is located has a subelement named "B", and < xs: element > represents that the declaration ends. Sequence minOccurs = "0" > is a < minOccurs > indicator, indicating that the minimum number of times its corresponding element can appear is 0.Member data, member Modeldata, xxxData, status message, faultReport, binddItems, faultReport data, and InitiatedTest are defined element names.
From the above, the data model can be defined by XML Schema technology, the association of each element in the data model is established, and the data definition mode is specified.
It should be noted that, as will be understood by those skilled in the art, in practical application, the number of elements in the data model may be set according to needs, and the present embodiment is not limited.
Alternatively, the data model is stored in the database in the form of an Entity-Attribute-Value (EAV) based model. Specifically, the data model defined based on the XML Schema technology exists in the form of an XML file. The XML file defines all element information of the on-board health management data, such as Name, identity (Id), switch Port (Port), etc. Storing all possible attributes into an Attribute (Attribute) table, analyzing an XML file, sequentially reading Attribute values according to a structure, storing the values into an Entity (Entity) table and a Value (Value) table, and correlating data in the Value table and the Attribute table according to the attributes.
In one example, the electronic device first creates an Entity table, an Attribute table, and a Value table, and establishes an association relationship between the tables. And analyzing the XML file corresponding to the data model, and storing the XML file into a database corresponding table based on the EAV model.
It is worth mentioning that the created data model is saved through the database model, namely the EAV model, so that the attribute can be dynamically added or removed for the data model, the data model is saved in the form of a database, and the data model structure is more intuitively displayed.
Step 102: if the corresponding element is a simple element, acquiring data input by a user; and updating the value of the corresponding element according to the data.
Specifically, a simple element is an element without a child element. When a user clicks on an element without a child element, the element may be assigned a value. Wherein assigning a value to the element is understood to mean determining the definition of the element based on data entered by the user. For example, assigning an element of the fault equation based on data entered by a user means: based on the data entered by the user, the definition of the fault equation, i.e. the actual logical expression of the fault equation, is determined.
In one example, after updating the corresponding element, the on-board data is managed according to the updated data model.
Alternatively, if the corresponding element is a complex element, displaying sub-elements of the corresponding element according to the data model; the complex element is an element having sub-elements.
In one example, the data includes a logic circuit diagram or imported form. Specifically, when the element clicked by the user is a simple element, the element can be assigned by importing a form or editing a logic circuit diagram.
It is worth mentioning that the assignment is performed through the logic circuit diagram definition mode, so that a user can perform data definition without learning XML language, and the operation difficulty of the user is reduced.
For example, if the data is a logic circuit diagram, the process of updating the values of the corresponding elements according to the data includes: identifying a logic circuit diagram; generating a logic expression according to the identification result; the logical expression is taken as the value of the corresponding element. Specifically, the electronic device may determine a logic expression corresponding to the logic circuit diagram by identifying each object in the circuit diagram according to a definition of each object and a connection relationship between ports of each object.
In one example, after the logical expression is generated, validity of the logical expression is checked, and if it is determined that the logical expression passes the check, a step of taking the logical expression as a value of a corresponding element is performed, and if the logical expression does not pass the check, a user may be notified by means of an alarm or the like.
For another example, if the data is a form, the process of updating the value of the corresponding element includes: the form is parsed, and the data in the form is used as the value of the corresponding element.
Alternatively, the form may be a form edited by the user, or may be a form template of the element downloaded by the user from the airborne data management platform, where the form template is edited to obtain the form.
It should be noted that, as those skilled in the art will understand, the forms may be obtained by other methods, and the present embodiment is not limited to the source of the forms.
Optionally, before acquiring the data input by the user, the data management method further includes: ejecting an editing window corresponding to the element; the editing window is a lead-in window or a drawing window, and logic components are displayed in the drawing window so that a user can construct a logic circuit diagram in the drawing window based on the logic components. Specifically, when the data model is constructed, a developer sets up a data definition mode of each element in advance. When a user clicks an element control corresponding to an element, a corresponding editing window is popped up according to a set data definition mode of the element, so that the user edits in the editing window to obtain the value of the element.
It is worth mentioning that the data management service is provided for the user based on the operation interface and the database, and the visual operation environment is provided for the user, so that the user operation is simpler and more convenient.
For example, a message sent by the system G contains the signal 1 (DP 1) and the signal 2 (DP 2), and is evaluated and presumed to belong to the fault message when the values of DP1 and DP2 are both 1. For this failure, in this embodiment, the user may define such a failure in a visual manner. Firstly, the electronic device displays the XML file structure (namely, the data model) of each system according to the tree structure, then selects DP1 and DP2 under the system G, takes DP1 and DP2 as two input signals, and connects the two signals with an AND gate in the form of a logic circuit, as shown in figure 3, which shows that the message is a fault message when DP1 and DP2 are both true.
It should be noted that the above data types are only illustrative, and in practical application, other types of data may be obtained, that is, the user may input data in other ways, which is not limited in this embodiment.
In one example, the code for defining the logical expression is as follows:
definition logic expression
class ExpFrontHelper {
Creating gson (Java class library to map between Java objects and JSON data) instances
public static Gson gson = new GsonBuilder().disableHtmlEscaping().create();
Method for converting/object to JSON
public static String toJson(Object obj) {
return gson.toJson(obj);
}
The logical relationship is/are acquired
public static String getSymbol(String category) {
If the relation is not, returning the character to be
if ("not".equalsIgnoreCase(category)) {
return "~";
}
If the AND relationship, return the "& &
else if ("and".equalsIgnoreCase(category)) {
return "&&";
}
If the OR relationship, return the character "|"
else if ("or".equalsIgnoreCase(category)) {
return "||";
}
else if ("geq".equalsIgnoreCase(category)) {
...;
}
return null;
}
Expression validity check
...
Expression of// generation
...
Memory expression
...
The code for detecting the validity of the expression, the code for generating the logic expression and the code for storing the expression can be written according to the requirement of the project, and the details are not described here.
In one example, the inventors have tested this data management method. In the test process, the programming environment is an integrated environment (IntelliJ IDEA) developed by a Java programming language, and the version of the Java virtual machine is 1.8. In the experimental running environment, the memory is 32GB, and the operating system is Windows 10 family edition. The data set of the trial is from a portion of the basic health management data collected by the domestic aircraft. Basic airborne data can be successfully collected through a defined data model of the airborne data, and a certain message sent under the left wing system is subjected to fault definition. Through testing, under the condition that the fault definition is met, the health monitoring system of the left wing successfully reports the fault to the airborne maintenance system. Under the definition and management method of the airborne health data, the management cost of the airborne data is greatly reduced.
The foregoing is merely illustrative, and is not intended to limit the technical aspects of the present invention.
Compared with the prior art, the data management method provided in the embodiment displays the elements selected by the user according to the association relationship between the operation information of the user and the elements specified in the predefined data model. The user can manage the airborne data only by inputting the relevant data of the elements, and the user does not need to write codes, so that the management cost of the airborne data is reduced. The data model is a predefined model, and a user cannot change the model structure, so that the reliability of data definition is improved, the onboard data management process is more efficient and safer, and the reliability, maintainability, testability, safety and assurance of the aircraft are improved.
A second embodiment of the present invention relates to a data management method. The embodiment is further improved on the basis of the first embodiment, and the specific improvement is that: when the data management method is applied to an onboard data management platform, other relevant steps are added before and after the step of updating the values of the corresponding elements according to the data.
Specifically, as shown in fig. 4, the present embodiment includes steps 401 to 404, wherein steps 401 and 403 are substantially the same as steps 101 and 102 in the first embodiment, and are not described herein. The differences are mainly described below:
step 401: and determining elements corresponding to the operation information in a predefined data model for managing the airborne data according to the operation information of the user.
Step 402: the corresponding element is locked.
In particular, since the on-board data management platform can log in for multiple users, elements operated by the users are locked before editing the data.
It is worth mentioning that the airborne data management platform provides airborne data management service for multiple users, and the elements are locked before editing the data of the elements, so that the problem of system errors caused by the fact that multiple users edit one data at the same time can be avoided, and the reliability of the airborne data management platform in a multi-user cooperation mode is improved.
In one example, before determining elements corresponding to the operation information in a predefined data model for managing the on-board data according to the operation information of the user, the electronic device determines that the user has management rights according to login information of the user and pre-stored management rights information. Specifically, when the user has the management right, the user can edit the values of the elements of the data model, so that the safety of the data is ensured.
Step 403: if the corresponding element is a simple element, acquiring data input by a user; and updating the value of the corresponding element according to the data.
Step 403: unlocking the corresponding element.
Specifically, when the user exits editing, the element is unlocked so that other users can access or modify the data of the element.
The foregoing is merely illustrative, and is not intended to limit the technical aspects of the present invention.
Compared with the prior art, the data management method provided in the embodiment displays the elements selected by the user according to the association relationship between the operation information of the user and the elements specified in the predefined data model. The user can manage the airborne data only by inputting the relevant data of the elements, and the user does not need to write codes, so that the management cost of the airborne data is reduced. The data model is a predefined model, and a user cannot change the model structure, so that the reliability of data definition is improved, and the reliability, maintainability, testability, safety and guarantee of the aircraft are improved. In addition, the edited element is locked, so that the problem of system errors caused by simultaneous editing of the same data by multiple users can be avoided.
The above steps of the methods are divided, for clarity of description, and may be combined into one step or split into multiple steps when implemented, so long as they include the same logic relationship, and they are all within the protection scope of this patent; it is within the scope of this patent to add insignificant modifications to the algorithm or flow or introduce insignificant designs, but not to alter the core design of its algorithm and flow.
A third embodiment of the present invention relates to a data management platform, as shown in fig. 5, including: an acquisition module 501 and an update module 502. The obtaining module 501 is configured to determine, according to operation information of a user, an element corresponding to the operation information in a predefined data model for managing airborne data. The update module 502 is configured to obtain data input by a user if the corresponding element is a simple element; updating the value of the corresponding element according to the data; wherein the simple element is an element without sub-elements.
It is to be noted that this embodiment is a system example corresponding to the first embodiment, and can be implemented in cooperation with the first embodiment. The related technical details mentioned in the first embodiment are still valid in this embodiment, and in order to reduce repetition, a detailed description is omitted here. Accordingly, the related art details mentioned in the present embodiment can also be applied to the first embodiment.
It should be noted that each module in this embodiment is a logic module, and in practical application, one logic unit may be one physical unit, or may be a part of one physical unit, or may be implemented by a combination of multiple physical units. In addition, in order to highlight the innovative part of the present invention, units that are not so close to solving the technical problem presented by the present invention are not introduced in the present embodiment, but this does not indicate that other units are not present in the present embodiment.
A fourth embodiment of the present invention relates to an electronic apparatus, as shown in fig. 6, including: at least one processor 601; and a memory 602 communicatively coupled to the at least one processor 601; the memory 602 stores instructions executable by the at least one processor 601, and the instructions are executed by the at least one processor 601 to enable the at least one processor 601 to perform the data management method according to the above embodiment.
The electronic device includes: one or more processors 601 and a memory 602, one processor 601 being illustrated in fig. 6. The processor 601, the memory 602 may be connected by a bus or otherwise, for example in fig. 6. The memory 602 is used as a non-volatile computer readable storage medium for storing non-volatile software programs, non-volatile computer executable programs, and modules, such as data models in the present embodiment of the application, stored in the memory 602. The processor 601 performs various functional applications of the device and data processing, i.e., implements the above-described data management methods, by running nonvolatile software programs, instructions, and modules stored in the memory 602.
The memory 602 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, at least one application program required for a function; the storage data area may store a list of options, etc. In addition, the memory 602 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage device. In some implementations, the memory 602 may optionally include memory located remotely from the processor 601, such remote memory being connectable to an external device through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
One or more modules are stored in the memory 602 that, when executed by the one or more processors 601, perform the data management methods of any of the method embodiments described above.
The product may perform the method provided by the embodiment of the present application, and have the corresponding functional module and beneficial effect of performing the method, and technical details not described in detail in the embodiment of the present application may be referred to the method provided by the embodiment of the present application.
A fifth embodiment of the present invention relates to a computer-readable storage medium storing a computer program. The computer program implements the above-described method embodiments when executed by a processor.
That is, it will be understood by those skilled in the art that all or part of the steps in implementing the methods of the embodiments described above may be implemented by a program stored in a storage medium, where the program includes several instructions for causing a device (which may be a single-chip microcomputer, a chip or the like) or a processor (processor) to perform all or part of the steps in the methods of the embodiments described herein. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a Read-only memory (ROM), a random access memory (RAM, randomAccessMemory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific examples of carrying out the invention and that various changes in form and details may be made therein without departing from the spirit and scope of the invention.

Claims (7)

1. A method of data management, comprising:
according to the operation information of a user, determining elements corresponding to the operation information in a predefined data model for managing airborne data;
if the corresponding element is a simple element, acquiring data input by a user; updating the value of the corresponding element according to the data; wherein the simple element is an element without a child element;
the updating the value of the corresponding element according to the data is specifically: directly assigning values to the corresponding elements according to the data;
the data management method is applied to an airborne data management platform, the airborne data management platform supports multi-user login, and the airborne data management platform allows a user with management authority to edit elements in the data model;
before the updating of the value of the corresponding element according to the data, the data management method further includes: locking the corresponding element;
after the updating of the values of the corresponding elements according to the data, the data management method further includes: unlocking the corresponding element;
the data includes a logic circuit diagram or an imported form, and when the data includes the logic circuit diagram, updating the value of the corresponding element according to the data includes:
identifying the logic circuit diagram;
generating a logic expression according to the identification result;
taking the logic expression as a value of the corresponding element;
wherein the data model is stored in a database in the form of an entity-attribute-value based model.
2. The data management method according to claim 1, wherein before the acquiring the data input by the user, the data management method further comprises:
ejecting an editing window corresponding to the element; the editing window is an import window or a drawing window, and a logic component is displayed in the drawing window so that the user can construct the logic circuit diagram in the drawing window based on the logic component.
3. The data management method according to claim 1, wherein after said determining, based on operation information of a user, an element corresponding to the operation information in a predefined data model for managing on-board data, the data management method further comprises:
if the corresponding element is a complex element, displaying sub-elements of the corresponding element according to the data model; the complex element is an element having sub-elements.
4. A data management method according to any one of claims 1 to 3, wherein the data model is a data model defined based on extensible markup language structure XML schema technology.
5. A data management platform, comprising: an acquisition module and an update module;
the acquisition module is used for: according to the operation information of a user, determining elements corresponding to the operation information in a predefined data model for managing airborne data;
the updating module is used for: if the corresponding element is a simple element, acquiring data input by a user; updating the value of the corresponding element according to the data; wherein the simple element is an element without a child element; the updating the value of the corresponding element according to the data is specifically: directly assigning values to the corresponding elements according to the data;
the airborne data management platform supports multi-user login, and allows users with management authority to edit elements in the data model;
before the updating of the value of the corresponding element according to the data, the data management method further includes: locking the corresponding element;
after the updating of the values of the corresponding elements according to the data, the data management method further includes: unlocking the corresponding element;
the data includes a logic circuit diagram or an imported form, and when the data includes the logic circuit diagram, updating the value of the corresponding element according to the data includes:
identifying the logic circuit diagram;
generating a logic expression according to the identification result;
taking the logic expression as a value of the corresponding element;
wherein the data model is stored in a database in the form of an entity-attribute-value based model.
6. An electronic device, comprising: at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the data management method of any one of claims 1 to 4.
7. A computer readable storage medium storing a computer program, wherein the computer program when executed by a processor implements the data management method of any one of claims 1 to 4.
CN202110068903.3A 2021-01-19 2021-01-19 Data management method, electronic device, and computer-readable storage medium Active CN112749180B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110068903.3A CN112749180B (en) 2021-01-19 2021-01-19 Data management method, electronic device, and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110068903.3A CN112749180B (en) 2021-01-19 2021-01-19 Data management method, electronic device, and computer-readable storage medium

Publications (2)

Publication Number Publication Date
CN112749180A CN112749180A (en) 2021-05-04
CN112749180B true CN112749180B (en) 2023-06-23

Family

ID=75652483

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110068903.3A Active CN112749180B (en) 2021-01-19 2021-01-19 Data management method, electronic device, and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN112749180B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1862541A (en) * 2005-04-29 2006-11-15 国际商业机器公司 Method of enrich data source
CN101686146A (en) * 2008-09-28 2010-03-31 华为技术有限公司 Method and equipment for fuzzy query, query result processing and filtering condition processing
CN106445718A (en) * 2016-09-23 2017-02-22 国网江苏省电力公司 Automatic checking method for SCD file virtual loop
CN107742239A (en) * 2017-09-30 2018-02-27 华为技术有限公司 The collocation method and device of a kind of conditional expression
CN109240679A (en) * 2018-07-24 2019-01-18 阿里巴巴集团控股有限公司 The graphic method and device of script file

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7526490B2 (en) * 2004-06-08 2009-04-28 Oracle International Corporation Method of and system for providing positional based object to XML mapping
CN100534084C (en) * 2006-07-10 2009-08-26 北京工业大学 Long-distance XML data updating method and system
CN101901150B (en) * 2010-07-08 2013-03-27 北京航空航天大学 Universal distributed airborne equipment health management simulation platform and implementation method thereof
CN102646039A (en) * 2012-02-29 2012-08-22 河海大学 Software interface generating system and method based on extensible markup language (XML) Schema
CN105354282A (en) * 2015-10-30 2016-02-24 青岛海尔智能家电科技有限公司 XML file retrieval method and apparatus
CN105677875B (en) * 2016-01-11 2019-01-29 清华大学 A kind of visual modeling platform based on the unified constraint of normal data element
CN112199556A (en) * 2020-10-14 2021-01-08 深圳市元征科技股份有限公司 Automatic XML Schema file format conversion method, system and related equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1862541A (en) * 2005-04-29 2006-11-15 国际商业机器公司 Method of enrich data source
CN101686146A (en) * 2008-09-28 2010-03-31 华为技术有限公司 Method and equipment for fuzzy query, query result processing and filtering condition processing
CN106445718A (en) * 2016-09-23 2017-02-22 国网江苏省电力公司 Automatic checking method for SCD file virtual loop
CN107742239A (en) * 2017-09-30 2018-02-27 华为技术有限公司 The collocation method and device of a kind of conditional expression
CN109240679A (en) * 2018-07-24 2019-01-18 阿里巴巴集团控股有限公司 The graphic method and device of script file

Also Published As

Publication number Publication date
CN112749180A (en) 2021-05-04

Similar Documents

Publication Publication Date Title
CN110764753B (en) Business logic code generation method, device, equipment and storage medium
Kaiser et al. A new component concept for fault trees
CN107291450B (en) Programming-friendly agile code automatic generation method
US8527452B2 (en) Construction of rules for use in a complex event processing system
CN106649100A (en) Automatic test method and system
US20120116561A1 (en) Program testing apparatus, method of testing a program, and program testing program
CN109522228B (en) Interface automation test data construction method, device, platform and storage medium
CN109255193B (en) Design method of airplane trailing edge flap control system based on model conversion
US20090240694A1 (en) Techniques for application data scrubbing, reporting, and analysis
CN106951368A (en) Automatic example generation method based on UML timing diagrams
CN111694561A (en) Interface management method, device, equipment and storage medium
Mushtaq et al. Multilingual source code analysis: State of the art and challenges
Vanciu et al. Hidden dependencies in software systems
Jetley et al. Applying software engineering practices for development of industrial automation applications
CN110648126A (en) Payment type configuration method, device, server and storage medium
CN112749180B (en) Data management method, electronic device, and computer-readable storage medium
US20200327125A1 (en) Systems and methods for hierarchical process mining
Jharko Towards the quality evaluation of software of control systems of nuclear power plants: Theoretical grounds, main trends and problems
CN103744757B (en) DF file verification method based on ARINC661
CN113094267B (en) Test result collection method and device
JP6290147B2 (en) Computer-implemented method for creating control device program code and associated message management system
Yusuf et al. An automatic approach to measure and visualize coupling in object-oriented programs
Foganholi et al. Supporting Technical Debt Cataloging with TD‐Tracker Tool
Moutaouakkil et al. PHP modernization approach generating KDM models from PHP legacy code
Bowen Creating models of interactive systems with the support of lightweight reverse-engineering tools

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