CN112506934A - Measurement and control and load data storage method and device for software-defined satellite - Google Patents
Measurement and control and load data storage method and device for software-defined satellite Download PDFInfo
- Publication number
- CN112506934A CN112506934A CN202011501515.1A CN202011501515A CN112506934A CN 112506934 A CN112506934 A CN 112506934A CN 202011501515 A CN202011501515 A CN 202011501515A CN 112506934 A CN112506934 A CN 112506934A
- Authority
- CN
- China
- Prior art keywords
- attribute
- identifier
- name
- stored
- numerical value
- 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.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/22—Indexing; Data structures therefor; Storage structures
- G06F16/2282—Tablespace storage structures; Management thereof
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/23—Updating
- G06F16/2358—Change logging, detection, and notification
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2455—Query execution
- G06F16/24553—Query execution of query operations
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Computational Linguistics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The application provides a measurement and control and load data storage method and device for a software-defined satellite, comprising the following steps: acquiring objects to be stored, object attributes corresponding to each object to be stored and attribute values corresponding to each object attribute of each object to be stored; aiming at each object to be stored, generating a third corresponding relation between an object identifier and an attribute identifier of the object to be stored and a fourth corresponding relation between the attribute identifier and an attribute numerical value according to a first corresponding relation between an object name and an attribute name and a second corresponding relation between each object attribute and an attribute numerical value; and aiming at each object to be stored, storing the object identifier, the attribute identifier and the attribute numerical value in an attribute numerical value table according to the third corresponding relation between the object identifier and the attribute identifier of the object to be stored and the fourth corresponding relation between the attribute identifier and the attribute numerical value. By the method and the device, any field in the table does not need to be modified, the operation flow of storage is simplified, and the data storage efficiency is improved.
Description
Technical Field
The application relates to the technical field of data processing, in particular to a measurement and control and load data storage method and device for a software-defined satellite.
Background
With the advent of the big data age, the amount of data generated based on business is becoming larger and larger, and the demand of users for data storage is also becoming higher and higher.
In a conventional data storage method, a data table is usually built for a storage object, and each field in the table represents an attribute of the object. If a new object is to be stored, a new data table needs to be created. If a new attribute is added to an existing object, a new field needs to be added to the original data table.
Therefore, the traditional data storage mode lacks flexibility, and if a new object or attribute needs to be stored, an original data table needs to be modified, so that the operation is complex, and the data storage efficiency is low.
Disclosure of Invention
In view of this, an object of the present application is to provide a method and an apparatus for measurement and control and load data storage for a software-defined satellite, so as to simplify storage operations and improve data storage efficiency.
In a first aspect, an embodiment of the present application provides a measurement and control and load data storage method for a software-defined satellite, including:
acquiring objects to be stored, object attributes corresponding to each object to be stored and attribute numerical values corresponding to each object attribute of each object to be stored; the object to be stored carries an object name and an object identifier; the object attribute carries an attribute name and an attribute identifier;
generating a third corresponding relation between the object identifier and the attribute identifier of each object to be stored and a fourth corresponding relation between the attribute identifier and the attribute value according to the first corresponding relation between the object name and the attribute name and the second corresponding relation between each object attribute and the attribute value of each object to be stored;
and aiming at each object to be stored, storing the object identifier, the attribute identifier and the attribute numerical value in an attribute numerical value table according to the third corresponding relation between the object identifier and the attribute identifier of the object to be stored and the fourth corresponding relation between the attribute identifier and the attribute numerical value.
With reference to the first aspect, an embodiment of the present application provides a first possible implementation manner of the first aspect, further including:
correspondingly storing the object name and the object identifier of the object to be stored in a basic information table; the basic information table comprises an object name field and an object identification field;
correspondingly storing the attribute name and the attribute identifier in an attribute table; the attribute table contains an attribute name field and an attribute identification field.
With reference to the first possible implementation manner of the first aspect, an embodiment of the present application provides a second possible implementation manner of the first aspect, and further includes:
receiving an attribute numerical value query request sent by a user terminal; the attribute numerical value query request carries the object name and the attribute name of the object to be queried;
according to the object name, searching an object identifier corresponding to the object name in the basic information table, and according to the attribute name, searching an attribute identifier corresponding to the attribute name in the attribute table;
and searching an attribute numerical value corresponding to the object to be inquired in the attribute numerical value table according to the object identifier and the attribute identifier.
With reference to the first possible implementation manner of the first aspect, an embodiment of the present application provides a third possible implementation manner of the first aspect, and further includes:
receiving an attribute name query request sent by a user terminal; the attribute name query request carries the object name of the object to be queried;
according to the object name, searching an object identifier corresponding to the object name in the basic information table;
according to the object identification, searching an attribute identification corresponding to the object identification in the attribute numerical table;
and searching an attribute name corresponding to the attribute identifier in the attribute table according to the attribute identifier.
With reference to the first possible implementation manner of the first aspect, an embodiment of the present application provides a fourth possible implementation manner of the first aspect, and further includes:
receiving an object name query request sent by a user terminal; the object name query request carries the attribute name of the object to be queried;
according to the attribute name, searching an attribute identifier corresponding to the attribute name in the attribute table;
according to the attribute identification, searching an object identification corresponding to the attribute identification in the attribute numerical value table;
and searching an object name corresponding to the object identifier in the basic information table according to the object identifier.
With reference to the first possible implementation manner of the first aspect, an embodiment of the present application provides a fifth possible implementation manner of the first aspect, and further includes:
receiving an attribute value updating request sent by a user terminal; the attribute value updating request carries the object name, the attribute name and the latest attribute value of the object to be updated;
according to the object name, searching an object identifier corresponding to the object name in the basic information table, and according to the attribute name, searching an attribute identifier corresponding to the attribute name in the attribute table;
searching a current attribute numerical value corresponding to the object to be updated in the attribute numerical value table according to the object identifier and the attribute identifier;
and updating the current attribute value according to the latest attribute value.
With reference to the first possible implementation manner of the first aspect, an embodiment of the present application provides a sixth possible implementation manner of the first aspect, where the attribute table further includes at least one of the following fields: attribute units and attribute value types.
In a second aspect, an embodiment of the present application further provides a measurement and control and load data storage device for a software-defined satellite, including:
the device comprises an acquisition module, a storage module and a processing module, wherein the acquisition module is used for acquiring objects to be stored, object attributes corresponding to each object to be stored and attribute values corresponding to each object attribute of each object to be stored; the object to be stored carries an object name and an object identifier; the object attribute carries an attribute name and an attribute identifier;
a generating module, configured to generate, for each object to be stored, a third corresponding relationship between an object identifier and the attribute identifier of the object to be stored and a fourth corresponding relationship between the attribute identifier and the attribute value according to a first corresponding relationship between the object name and the attribute name and a second corresponding relationship between each object attribute and the attribute value;
and the first storage module is used for storing the object identifier, the attribute identifier and the attribute numerical value in an attribute numerical value table according to the third corresponding relation between the object identifier and the attribute identifier of each object to be stored and the fourth corresponding relation between the attribute identifier and the attribute numerical value.
The measurement and control and load data storage method for the software defined satellite comprises the following steps: acquiring objects to be stored, object attributes corresponding to each object to be stored and attribute values corresponding to each object attribute of each object to be stored; the object to be stored carries an object name and an object identifier; the object attribute carries an attribute name and an attribute identifier; aiming at each object to be stored, generating a third corresponding relation between an object identifier and an attribute identifier of the object to be stored and a fourth corresponding relation between the attribute identifier and an attribute numerical value according to a first corresponding relation between an object name and an attribute name and a second corresponding relation between each object attribute and an attribute numerical value; and aiming at each object to be stored, storing the object identifier, the attribute identifier and the attribute numerical value in an attribute numerical value table according to the third corresponding relation between the object identifier and the attribute identifier of the object to be stored and the fourth corresponding relation between the attribute identifier and the attribute numerical value. By the data storage method provided by the embodiment of the application, when the object to be stored is stored, the data can be directly stored below the field in the attribute value table, and any field in the attribute value table does not need to be modified, so that the operation flow of storage is simplified, and the data storage efficiency is improved.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 shows a flowchart of a measurement and control and load data storage method for a software-defined satellite according to an embodiment of the present application;
fig. 2 is a schematic structural diagram illustrating a measurement and control and load data storage device for a software-defined satellite according to an embodiment of the present application;
fig. 3 shows a schematic structural diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
Based on this, the embodiment of the application provides a measurement and control and load data storage method and device for a software-defined satellite, which are described below through an embodiment.
For the convenience of understanding the embodiment, a detailed description is first given to a measurement and control and load data storage method for a software-defined satellite disclosed in the embodiment of the present application.
As shown in fig. 1, a flow chart of a measurement and control and load data storage method for a software-defined satellite includes the following steps:
s101: acquiring objects to be stored, object attributes corresponding to each object to be stored and attribute values corresponding to each object attribute of each object to be stored; the object to be stored carries an object name and an object identifier; the object attribute carries an attribute name and an attribute identifier;
s102: aiming at each object to be stored, generating a third corresponding relation between an object identifier and an attribute identifier of the object to be stored and a fourth corresponding relation between the attribute identifier and an attribute numerical value according to a first corresponding relation between an object name and an attribute name and a second corresponding relation between each object attribute and an attribute numerical value;
s103: and aiming at each object to be stored, storing the object identifier, the attribute identifier and the attribute numerical value in an attribute numerical value table according to the third corresponding relation between the object identifier and the attribute identifier of the object to be stored and the fourth corresponding relation between the attribute identifier and the attribute numerical value.
In step S101, the object to be stored may refer to any data to be stored.
The object attribute corresponding to each object to be stored may include at least one, that is, each object to be stored may correspond to at least one object attribute, and each object attribute corresponding to each object to be stored has a corresponding attribute value.
The object attributes corresponding to each object to be stored may be the same or different. The object attributes corresponding to a plurality of objects to be stored are the same, and the attribute values corresponding to each object attribute may be the same or different.
For example, for a ground station in a certain satellite measurement and control system, the corresponding object attribute may be a ground station type, a longitude, a latitude, and an altitude of a location where the ground station is located, a data transmission speed, a data reception speed, and the like.
The object identifier may be represented by a number, and the form of the number is not particularly limited, and may be, for example, an arabic number, an english letter number, a greek letter number, or the like. Each object identification corresponds to a unique number.
The attribute identifications may also be represented by numbers, with each attribute identification corresponding to a unique number.
The form of the number of the attribute identifier may be the same as or different from that of the object identifier, and for example, the attribute identifier and the object identifier may be both numbered by arabic numerals.
The object name of each object to be stored is generally different, and each attribute name is also generally different, otherwise it will not be possible to distinguish between multiple objects to be stored or multiple object attributes.
Therefore, the object name of each object to be stored can be unique, and the attribute name of each object attribute is also unique, so that the first corresponding relationship between the object name and the attribute name of each object to be stored can be obtained according to the object attribute corresponding to each object to be stored. And a second corresponding relation exists between each object attribute and the attribute value of each object to be stored.
In step S102, for each object to be stored, the object name and the attribute name have a first corresponding relationship, and the object identifier of each object to be stored and the attribute identifier of each object attribute are uniquely corresponding, so that according to the first corresponding relationship, a third corresponding relationship between the object identifier and the attribute identifier of each object to be stored can be determined.
For each object to be stored, each object attribute and the attribute value have a second correspondence, and then a fourth correspondence of the attribute identifier and the attribute value of each object to be stored may be determined.
In step S103, the attribute value table may at least include an object identifier field, an attribute identifier field, and an attribute value field, and then, for each object to be stored, according to a third corresponding relationship between the object identifier and the attribute identifier of the object to be stored and a fourth corresponding relationship between the attribute identifier and the attribute value, the object identifier, the attribute identifier, and the attribute value may be stored in corresponding fields in the attribute value table, respectively.
In a possible embodiment, the object name and the object identification of the object to be stored may also be stored in separate tables.
Here, it may be stored in a basic information table, which includes an object name field and an object identification field.
In a specific implementation, the attribute name and the attribute identifier of the object to be stored may also be stored in another separate table.
Here, it may be stored in an attribute table, which includes an attribute name field and an attribute identification field.
The object name and the object identifier of the object to be stored, and the attribute name and the attribute identifier of the object to be stored are respectively stored in different tables, so that when a new object to be stored needs to be stored, but the object attribute of the new object to be stored is not newly increased, only the object name and the object identifier of the new object to be stored need to be added below the basic information table, and the field of the attribute table does not need to be modified.
In a specific implementation, the basic information table may further include a common object attribute of at least one object to be stored.
As shown in table 1, a basic information table of a ground station in a certain satellite measurement and control system is shown.
TABLE 1
In the basic information table shown in table 1, an object identification field (ground station number), an object name field (ground station name), and an object attribute field (ground station type) are contained.
In the simplest case, only the object identification field and the object name field may be included in the basic information table.
In specific implementation, the attribute table may further include other fields such as attribute units and attribute value types, and as shown in table 2, an attribute table of a ground station in a certain satellite measurement and control system is shown.
TABLE 2
Attribute numbering | Attribute name | Attribute unit | Attribute value type |
1 | Data transmission speed | KB/s | float |
2 | Data receiving speed | KB/s | float |
3 | Transmitting power | dBm | float |
4 | Sensitivity of reception | dBm | float |
5 | Minimum transmission speed of data | KB/s | float |
6 | Maximum transmission speed of data | KB/s | float |
The attribute table shown in table 2 includes an attribute identification field (attribute number), an attribute name field (data transmission speed, for example), an attribute unit field (KB/s, for example), and an attribute value type field (float, for example).
As shown in table 3, a table of attribute values of ground stations in a certain satellite measurement and control system is shown.
TABLE 3
The attribute value table shown in table 3 includes an object identification field (ground station number), an attribute identification field (attribute number), and an attribute value field.
Based on the above data storage method, in a feasible implementation manner, the application further provides a measurement and control and load data query method for a software-defined satellite, which may include the following steps:
step 10: receiving an attribute numerical value query request sent by a user terminal; the attribute numerical value query request carries the object name and the attribute name of the object to be queried;
step 11: according to the object name, searching an object identifier corresponding to the object name in the basic information table, and according to the attribute name, searching an attribute identifier corresponding to the attribute name in the attribute table;
step 12: and searching an attribute numerical value corresponding to the object to be inquired in the attribute numerical value table according to the object identifier and the attribute identifier.
In the process of steps S10-S12, after receiving an attribute value query request carrying an object name and an attribute name of an object to be queried, which is sent by a user terminal, and taking the above table 1-table 3 as an example, when the object name is a beijing station and the attribute name is a data sending speed, a ground station number 1 corresponding to the beijing station may be found in table 1 according to the beijing station, and an attribute number 1 corresponding to the data sending speed may be found in table 2 according to the data sending speed, and then a corresponding attribute value a may be found in table 3 according to the ground station number 1 and the attribute number 1.
In a possible implementation manner, the present application further provides a measurement and control and load data query method for a software-defined satellite, which may include the following steps:
step 20: receiving an attribute name query request sent by a user terminal; the attribute name query request carries the object name of the object to be queried;
step 21: according to the object name, searching an object identifier corresponding to the object name in the basic information table;
step 22: according to the object identification, searching an attribute identification corresponding to the object identification in the attribute numerical table;
step 23: and searching an attribute name corresponding to the attribute identifier in the attribute table according to the attribute identifier.
In the process of steps S20-S23, after receiving the object name carrying the object to be queried sent by the user terminal, still taking tables 1-3 as an example, when the object name is a beijing station, the ground station number 1 corresponding to the beijing station may be found in table 1 according to the beijing station, then the attribute numbers 1, 2, 3, and 4 corresponding to the ground station number 1 are found in table 3 according to the ground station number 1, and then the attribute names corresponding to the attribute numbers 1, 2, 3, and 4 are found in table 2 according to the attribute numbers 1, 2, 3, and 4, respectively: data transmission speed, data reception speed, transmission power, reception sensitivity.
In a possible implementation manner, the present application further provides a measurement and control and load data query method for a software-defined satellite, which may include the following steps:
step 30: receiving an object name query request sent by a user terminal; the object name query request carries the attribute name of the object to be queried;
step 31: according to the attribute name, searching an attribute identifier corresponding to the attribute name in the attribute table;
step 32: according to the attribute identification, searching an object identification corresponding to the attribute identification in the attribute numerical value table;
step 33: and searching an object name corresponding to the object identifier in the basic information table according to the object identifier.
In the process of steps S30-S33, after receiving the attribute name query request carrying the object name of the object to be queried sent by the user terminal, still taking the above table 1-table 3 as an example, when the object name is the transmission power, the attribute number 3 corresponding to the transmission power may be found in table 2 according to the transmission power, then the ground station numbers 1 and 3 corresponding to the attribute number 3 are found in table 3 according to the attribute number 3, then the ground station numbers corresponding to the ground station numbers 1 and 3 are found in table 1 according to the ground station numbers 1 and 3 and are respectively: beijing station and Xinjiang station.
Based on the above data storage method, in a feasible implementation manner, the application further provides a measurement and control and load data update method for a software-defined satellite, which may include the following steps:
step 40: receiving an attribute value updating request sent by a user terminal; the attribute value updating request carries the object name, the attribute name and the latest attribute value of the object to be updated;
step 41: according to the object name, searching an object identifier corresponding to the object name in the basic information table, and according to the attribute name, searching an attribute identifier corresponding to the attribute name in the attribute table;
step 42: searching a current attribute numerical value corresponding to the object to be updated in the attribute numerical value table according to the object identifier and the attribute identifier;
step 43: and updating the current attribute value according to the latest attribute value.
In the process of steps S40-S43, after receiving an attribute value update request carrying an object name, an attribute name, and a latest attribute value of an object to be updated sent by a user terminal, taking tables 1 to 3 as examples, where the object name is a beijing station, the attribute name is a data sending speed, and the latest attribute value is X, then a ground station number 1 corresponding to the beijing station may be found in table 1 according to the beijing station, and an attribute number 1 corresponding to the data sending speed may be found in table 2 according to the data sending speed, then a corresponding current attribute value a may be found in table 3 according to the ground station number 1 and the attribute number 1, and finally the current attribute value a is updated to the latest attribute value X.
In a specific implementation, data stored in the basic information table, the attribute table, and the attribute value table may be deleted, specifically:
1) when deleting object properties
Firstly, according to the object name, searching a corresponding object identifier in a basic information table; then, according to the attribute name, searching a corresponding attribute identifier in an attribute table; and finally, deleting the object identification, the attribute identification and the corresponding attribute numerical value in the attribute numerical value table according to the object identification and the attribute identification.
(2) When deleting attribute values
Firstly, according to the object name, searching a corresponding object identifier in a basic information table; then, according to the attribute name, searching a corresponding attribute identifier in an attribute table; and finally, deleting the corresponding attribute numerical value in the attribute numerical value table according to the object identifier and the attribute identifier.
(3) When deleting an attribute
Firstly, according to the attribute name, searching a corresponding attribute identifier in an attribute table; and then deleting the object identifier, the attribute identifier and the corresponding attribute numerical value in the attribute numerical value table according to the attribute identifier.
(4) When deleting an object
Firstly, according to the object name, searching a corresponding object identifier in a basic information table; and then deleting the object identifier, the attribute identifier and the corresponding attribute numerical value in the attribute numerical value table according to the object identifier.
Based on the same technical concept, the embodiment of the present application further provides a measurement and control and load data storage device, an electronic device, a computer-readable storage medium, and the like for a software-defined satellite, which can be specifically referred to in the following embodiments.
Fig. 2 is a block diagram illustrating a measurement and control and load data storage device for a software-defined satellite according to some embodiments of the present application, where the functions implemented by the data storage device correspond to the steps of executing the measurement and control and load data storage method for a software-defined satellite on a terminal device. The device may be understood as a component of a server including a processor, and the component may implement the above measurement and control and load data storage method for a software-defined satellite, as shown in fig. 2, the measurement and control and load data storage device for a software-defined satellite may include:
an obtaining module 201, configured to obtain objects to be stored, an object attribute corresponding to each object to be stored, and an attribute numerical value corresponding to each object attribute of each object to be stored; the object to be stored carries an object name and an object identifier; the object attribute carries an attribute name and an attribute identifier;
a generating module 202, configured to generate, for each object to be stored, a third corresponding relationship between an object identifier and the attribute identifier of the object to be stored and a fourth corresponding relationship between the attribute identifier and the attribute value according to the first corresponding relationship between the object name and the attribute name and the second corresponding relationship between each object attribute and the attribute value;
a first storage module 203, configured to, for each object to be stored, store the object identifier, the attribute identifier, and the attribute value in an attribute value table according to a third corresponding relationship between an object identifier of the object to be stored and the attribute identifier, and a fourth corresponding relationship between the attribute identifier and the attribute value.
In a possible embodiment, the method further comprises:
the second storage module is used for correspondingly storing the object name and the object identifier of the object to be stored in a basic information table; the basic information table comprises an object name field and an object identification field;
the third storage module is used for correspondingly storing the attribute name and the attribute identifier in an attribute table; the attribute table contains an attribute name field and an attribute identification field.
In a possible embodiment, the method further comprises:
the first receiving module is used for receiving an attribute numerical value query request sent by a user terminal; the attribute numerical value query request carries the object name and the attribute name of the object to be queried;
a first searching module, configured to search, according to the object name, an object identifier corresponding to the object name in the basic information table, and search, according to the attribute name, an attribute identifier corresponding to the attribute name in the attribute table;
and the second searching module is used for searching the attribute numerical value corresponding to the object to be inquired in the attribute numerical value table according to the object identifier and the attribute identifier.
In a possible embodiment, the method further comprises:
the second receiving module is used for receiving an attribute name query request sent by the user terminal; the attribute name query request carries the object name of the object to be queried;
a third searching module, configured to search, according to the object name, an object identifier corresponding to the object name in the basic information table;
the fourth searching module is used for searching the attribute identifier corresponding to the object identifier in the attribute numerical table according to the object identifier;
and the fifth searching module is used for searching the attribute name corresponding to the attribute identifier in the attribute table according to the attribute identifier.
In a possible embodiment, the method further comprises:
the third receiving module is used for receiving an object name query request sent by the user terminal; the object name query request carries the attribute name of the object to be queried;
a sixth searching module, configured to search, according to the attribute name, an attribute identifier corresponding to the attribute name in the attribute table;
a seventh searching module, configured to search, according to the attribute identifier, an object identifier corresponding to the attribute identifier in the attribute value table;
and the eighth searching module is used for searching the object name corresponding to the object identifier in the basic information table according to the object identifier.
In a possible embodiment, the method further comprises:
the fourth receiving module is used for receiving an attribute value updating request sent by the user terminal; the attribute value updating request carries the object name, the attribute name and the latest attribute value of the object to be updated;
a ninth searching module, configured to search, according to the object name, an object identifier corresponding to the object name in the basic information table, and search, according to the attribute name, an attribute identifier corresponding to the attribute name in the attribute table;
a tenth searching module, configured to search, according to the object identifier and the attribute identifier, a current attribute value corresponding to the object to be updated in the attribute value table;
and the updating module is used for updating the current attribute value according to the latest attribute value.
In a possible embodiment, the method further comprises: the attribute table also comprises at least one of the following fields: attribute units and attribute value types.
As shown in fig. 3, which is a schematic structural diagram of an electronic device provided in an embodiment of the present application, the electronic device includes: the measurement and control and load data storage method for the software-defined satellite comprises a processor 301, a memory 302 and a bus 303, wherein the memory 302 stores execution instructions, when the electronic device runs, the processor 301 and the memory 302 communicate through the bus 303, and the processor 301 executes the steps of the measurement and control and load data storage method for the software-defined satellite, which are stored in the memory 302 and are shown in fig. 1.
The computer program product for performing the data storage method provided in the embodiment of the present application includes a computer-readable storage medium storing a nonvolatile program code executable by a processor, where instructions included in the program code may be used to execute the method described in the foregoing method embodiment, and specific implementation may refer to the method embodiment, and is not described herein again.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present application, and are used for illustrating the technical solutions of the present application, but not limiting the same, and the scope of the present application is not limited thereto, and although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope disclosed in the present application; such modifications, changes or substitutions do not depart from the spirit and scope of the exemplary embodiments of the present application, and are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (10)
1. A measurement and control and load data storage method for a software-defined satellite is characterized by comprising the following steps:
acquiring objects to be stored, object attributes corresponding to each object to be stored and attribute numerical values corresponding to each object attribute of each object to be stored; the object to be stored carries an object name and an object identifier; the object attribute carries an attribute name and an attribute identifier;
generating a third corresponding relation between the object identifier and the attribute identifier of each object to be stored and a fourth corresponding relation between the attribute identifier and the attribute value according to the first corresponding relation between the object name and the attribute name and the second corresponding relation between each object attribute and the attribute value of each object to be stored;
and aiming at each object to be stored, storing the object identifier, the attribute identifier and the attribute numerical value in an attribute numerical value table according to the third corresponding relation between the object identifier and the attribute identifier of the object to be stored and the fourth corresponding relation between the attribute identifier and the attribute numerical value.
2. The measurement and control and load data storage method oriented to the software-defined satellite according to claim 1, further comprising:
correspondingly storing the object name and the object identifier of the object to be stored in a basic information table; the basic information table comprises an object name field and an object identification field;
correspondingly storing the attribute name and the attribute identifier in an attribute table; the attribute table contains an attribute name field and an attribute identification field.
3. The measurement and control and load data storage method oriented to the software-defined satellite according to claim 2, further comprising:
receiving an attribute numerical value query request sent by a user terminal; the attribute numerical value query request carries the object name and the attribute name of the object to be queried;
according to the object name, searching an object identifier corresponding to the object name in the basic information table, and according to the attribute name, searching an attribute identifier corresponding to the attribute name in the attribute table;
and searching an attribute numerical value corresponding to the object to be inquired in the attribute numerical value table according to the object identifier and the attribute identifier.
4. The measurement and control and load data storage method oriented to the software-defined satellite according to claim 2, further comprising:
receiving an attribute name query request sent by a user terminal; the attribute name query request carries the object name of the object to be queried;
according to the object name, searching an object identifier corresponding to the object name in the basic information table;
according to the object identification, searching an attribute identification corresponding to the object identification in the attribute numerical table;
and searching an attribute name corresponding to the attribute identifier in the attribute table according to the attribute identifier.
5. The measurement and control and load data storage method oriented to the software-defined satellite according to claim 2, further comprising:
receiving an object name query request sent by a user terminal; the object name query request carries the attribute name of the object to be queried;
according to the attribute name, searching an attribute identifier corresponding to the attribute name in the attribute table;
according to the attribute identification, searching an object identification corresponding to the attribute identification in the attribute numerical value table;
and searching an object name corresponding to the object identifier in the basic information table according to the object identifier.
6. The measurement and control and load data storage method oriented to the software-defined satellite according to claim 2, further comprising:
receiving an attribute value updating request sent by a user terminal; the attribute value updating request carries the object name, the attribute name and the latest attribute value of the object to be updated;
according to the object name, searching an object identifier corresponding to the object name in the basic information table, and according to the attribute name, searching an attribute identifier corresponding to the attribute name in the attribute table;
searching a current attribute numerical value corresponding to the object to be updated in the attribute numerical value table according to the object identifier and the attribute identifier;
and updating the current attribute value according to the latest attribute value.
7. The software-defined satellite-oriented measurement and control and load data storage method according to claim 2, wherein the attribute table further comprises at least one of the following fields: attribute units and attribute value types.
8. A measurement and control and load data storage device for a software-defined satellite is characterized by comprising:
the device comprises an acquisition module, a storage module and a processing module, wherein the acquisition module is used for acquiring objects to be stored, object attributes corresponding to each object to be stored and attribute values corresponding to each object attribute of each object to be stored; the object to be stored carries an object name and an object identifier; the object attribute carries an attribute name and an attribute identifier;
a generating module, configured to generate, for each object to be stored, a third corresponding relationship between an object identifier and the attribute identifier of the object to be stored and a fourth corresponding relationship between the attribute identifier and the attribute value according to a first corresponding relationship between the object name and the attribute name and a second corresponding relationship between each object attribute and the attribute value;
and the first storage module is used for storing the object identifier, the attribute identifier and the attribute numerical value in an attribute numerical value table according to the third corresponding relation between the object identifier and the attribute identifier of each object to be stored and the fourth corresponding relation between the attribute identifier and the attribute numerical value.
9. The software-defined satellite-oriented instrumentation and load data storage device of claim 8, further comprising:
the second storage module is used for correspondingly storing the object name and the object identifier of the object to be stored in a basic information table; the basic information table comprises an object name field and an object identification field;
the third storage module is used for correspondingly storing the attribute name and the attribute identifier in an attribute table; the attribute table contains an attribute name field and an attribute identification field.
10. The measurement and control and load data storage device oriented to the software-defined satellite of claim 9, further comprising:
the first receiving module is used for receiving an attribute numerical value query request sent by a user terminal; the attribute numerical value query request carries the object name and the attribute name of the object to be queried;
a first searching module, configured to search, according to the object name, an object identifier corresponding to the object name in the basic information table, and search, according to the attribute name, an attribute identifier corresponding to the attribute name in the attribute table;
and the second searching module is used for searching the attribute numerical value corresponding to the object to be inquired in the attribute numerical value table according to the object identifier and the attribute identifier.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011501515.1A CN112506934A (en) | 2020-12-18 | 2020-12-18 | Measurement and control and load data storage method and device for software-defined satellite |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011501515.1A CN112506934A (en) | 2020-12-18 | 2020-12-18 | Measurement and control and load data storage method and device for software-defined satellite |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112506934A true CN112506934A (en) | 2021-03-16 |
Family
ID=74922311
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011501515.1A Pending CN112506934A (en) | 2020-12-18 | 2020-12-18 | Measurement and control and load data storage method and device for software-defined satellite |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112506934A (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1713176A (en) * | 2004-06-24 | 2005-12-28 | 华夏科技股份有限公司 | Access system and method for dynamic object |
CN101504672A (en) * | 2009-03-23 | 2009-08-12 | 金蝶软件(中国)有限公司 | Method and system for dynamically configuring physical data table |
CN102024183A (en) * | 2009-09-11 | 2011-04-20 | 上海宝信软件股份有限公司 | Enterprise information management system |
CN103577483A (en) * | 2012-08-07 | 2014-02-12 | 腾讯科技(深圳)有限公司 | Data storage method, data storage system, data access method and data access system |
CN105323085A (en) * | 2014-07-10 | 2016-02-10 | 中兴通讯股份有限公司 | Processing method and device for establishing performance measurement task and performance measurement result |
CN107463695A (en) * | 2017-08-14 | 2017-12-12 | 浪潮软件股份有限公司 | A kind of method and device of data storage |
CN111367955A (en) * | 2019-10-09 | 2020-07-03 | 杭州海康威视***技术有限公司 | Target object identification method and device, electronic equipment and storage medium |
-
2020
- 2020-12-18 CN CN202011501515.1A patent/CN112506934A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1713176A (en) * | 2004-06-24 | 2005-12-28 | 华夏科技股份有限公司 | Access system and method for dynamic object |
CN101504672A (en) * | 2009-03-23 | 2009-08-12 | 金蝶软件(中国)有限公司 | Method and system for dynamically configuring physical data table |
CN102024183A (en) * | 2009-09-11 | 2011-04-20 | 上海宝信软件股份有限公司 | Enterprise information management system |
CN103577483A (en) * | 2012-08-07 | 2014-02-12 | 腾讯科技(深圳)有限公司 | Data storage method, data storage system, data access method and data access system |
CN105323085A (en) * | 2014-07-10 | 2016-02-10 | 中兴通讯股份有限公司 | Processing method and device for establishing performance measurement task and performance measurement result |
CN107463695A (en) * | 2017-08-14 | 2017-12-12 | 浪潮软件股份有限公司 | A kind of method and device of data storage |
CN111367955A (en) * | 2019-10-09 | 2020-07-03 | 杭州海康威视***技术有限公司 | Target object identification method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109299110B (en) | Data query method and device, storage medium and electronic equipment | |
CN105740405B (en) | Method and device for storing data | |
CN111475192A (en) | Method, device, storage medium and system for performing hot update on game server | |
CN111026753A (en) | Label storage method and device based on tree structure | |
CN113127125A (en) | Page automatic adaptation method, device, equipment and storage medium | |
CN110990350B (en) | Log analysis method and device | |
CN105430115A (en) | Method and apparatus for optimizing IP (Internet Protocol) library and computing device | |
CN110362540B (en) | Data storage and visitor number acquisition method and device | |
CN111597452B (en) | Method and device for adding tag, electronic equipment and readable storage medium | |
CN112506934A (en) | Measurement and control and load data storage method and device for software-defined satellite | |
CN105653540B (en) | Method and device for processing file attribute information | |
CN115408034A (en) | Vehicle-mounted controller upgrading method and device, electronic equipment and storage medium | |
CN111353808A (en) | Method for determining media region information and related equipment | |
CN113297311B (en) | Data conversion method and device | |
CN116303418A (en) | Mass rule processing method, system and storage medium based on Internet of things platform | |
CN109522014B (en) | Algorithm processing method based on new product development, electronic device and readable storage medium | |
CN116263770A (en) | Method, device, terminal equipment and medium for storing business data based on database | |
CN106156169B (en) | Discrete data processing method and device | |
CN113986828A (en) | Method and device for storing mass files, electronic equipment and storage medium | |
CN114564799A (en) | Card wiring diagram generation method, system and storage medium | |
CN109840080B (en) | Character attribute comparison method and device, storage medium and electronic equipment | |
CN110750268B (en) | File cleaning method and device, computer readable storage medium and electronic equipment | |
CN113840020B (en) | Positioning method and device based on IP address information, electronic equipment and storage medium | |
CN116186059B (en) | Flight data updating method, system, electronic device and storage medium | |
CN112181995B (en) | Data processing method, device, equipment and storage medium of data table |
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 |