CN114741439A - Data adaptation method, server, system and storage medium - Google Patents
Data adaptation method, server, system and storage medium Download PDFInfo
- Publication number
- CN114741439A CN114741439A CN202210374302.XA CN202210374302A CN114741439A CN 114741439 A CN114741439 A CN 114741439A CN 202210374302 A CN202210374302 A CN 202210374302A CN 114741439 A CN114741439 A CN 114741439A
- Authority
- CN
- China
- Prior art keywords
- data
- data processing
- platform
- processing platform
- matching
- 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
- 230000006978 adaptation Effects 0.000 title claims abstract description 65
- 238000000034 method Methods 0.000 title claims abstract description 50
- 238000012545 processing Methods 0.000 claims abstract description 217
- 238000006243 chemical reaction Methods 0.000 claims abstract description 47
- 230000008569 process Effects 0.000 claims description 4
- 230000004044 response Effects 0.000 claims description 4
- 238000013461 design Methods 0.000 description 7
- 238000012544 monitoring process Methods 0.000 description 7
- 238000004590 computer program Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 6
- 230000005540 biological transmission Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 238000013480 data collection Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
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/25—Integrating or interfacing systems involving database management systems
- G06F16/258—Data format conversion from or to a database
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention provides a data adaptation method, a server, a system and a storage medium, wherein the method comprises the following steps: the method comprises the steps of obtaining operation data sent by at least one device, responding to a data conversion instruction sent by a data processing platform, operating a data processing executable file sent by a cloud platform, converting all data to be processed according to a data processing platform identification carried in the data conversion instruction, obtaining at least one matching data corresponding to the data processing platform identification, and sending all the matching data to the data processing platform so that the data processing platform can carry out data processing degree on all the matching data. According to the data adaptation method, the data adaptation efficiency is improved and the data adaptation requirements of various data processing platforms are met by operating the data processing executable file containing the data adaptation relation.
Description
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a data adaptation method, a server, a system, and a storage medium.
Background
In the industrial internet of things application technology, the edge computing controller is arranged between an industrial cloud platform layer and a field control layer and used for acquiring field data and performing high-performance real-time operation, integrates communication and application interface display functions, and meets application requirements of real-time business processing, intelligent application and the like in an industrial field.
In the prior art, in order to meet the data processing requirement of a monitoring platform for acquiring operation data of devices of different manufacturers, different data transmission interfaces and different data protocols, data acquisition adaptation files special for different monitoring platforms are generally set in an edge computing controller to match data acquisition types or data transmission types of different platforms.
However, the existing method for performing data adaptation by using a dedicated data acquisition adaptation file has the problems of low configuration efficiency and high operation and maintenance cost, and cannot meet the data adaptation requirements of various monitoring platforms.
Disclosure of Invention
The invention provides a data adaptation method, a server, a system and a storage medium, which improve the data adaptation efficiency and meet the data adaptation requirements of various data processing platforms by operating a data processing executable file containing a data adaptation relation.
In a first aspect, the present invention provides a data adaptation method, including:
acquiring operation data sent by at least one device;
responding to a data conversion instruction sent by a data processing platform, operating a data processing executable file sent by a cloud platform, converting all data to be processed according to a data processing platform identifier carried in the data conversion instruction, and obtaining at least one matching data corresponding to the data processing platform identifier, wherein the data processing executable file is generated by the cloud platform according to a platform configuration requirement, and the platform configuration requirement comprises a corresponding relation between the platform identifier and all the matching data;
and sending all the matched data to a data processing platform so that the data processing platform performs data processing on all the matched data.
In a possible design, the operating a data processing executable file sent by a cloud platform in response to a data conversion instruction sent by a data processing platform, and converting all data to be processed according to a data processing platform identifier carried in the data conversion instruction to obtain at least one piece of matching data corresponding to the data processing platform identifier includes:
responding to a data conversion instruction sent by a data processing platform, operating a data processing executable file sent by a cloud platform, and obtaining a data matching table, wherein the data processing executable file is obtained by compiling the data matching table by the cloud platform, the data matching table is generated according to a platform configuration requirement, and the platform configuration requirement comprises a corresponding relation between each data processing type corresponding to each data processing platform identifier and a matched target device type and a target data type;
acquiring a data processing platform identifier carried in a data conversion instruction, acquiring at least one target matching relationship corresponding to the data processing platform identifier according to the data matching table, and converting all data to be processed according to the at least one target matching relationship to acquire at least one matched data.
In a possible design, before the obtaining at least one target matching relationship corresponding to the data processing platform identifier according to the data matching table and converting all data to be processed according to the at least one target matching relationship, the method further includes:
responding to an executable program corresponding to an operating data processing executable file, and acquiring all to-be-processed data identifications corresponding to the data processing platform identifications;
and obtaining target storage addresses corresponding to all the data identifications to be processed according to a pre-stored data index configuration table, and obtaining all the data to be processed corresponding to the data processing platform identifications according to all the target storage addresses.
In a possible design, the converting all the data to be processed according to the at least one target matching relationship to obtain at least one matching data includes:
generating a target matching list according to all the target matching relations;
and converting all the data to be processed according to the target matching list to obtain at least one piece of matching data.
In one possible design, the match data includes a match data name, a match data encoding format, and a match data length.
In one possible design, after sending all the matching data to the data processing platform, the method further includes:
acquiring an updated data processing executable file sent by a cloud platform, wherein the updated data processing executable file is generated by the cloud platform according to a new configuration requirement, the configuration requirement comprises a corresponding relation between a new platform identifier and all matched data, and the new configuration requirement is obtained by developing and programming submitted matching requirements by a cloud programming platform of the cloud platform;
and running the updated data processing executable file, and continuing to execute the step of converting all the data to be processed according to the data processing platform identification according to the updated data processing executable file to obtain at least one matched data corresponding to the data processing platform identification.
In a second aspect, the present invention provides a data adaptation apparatus, comprising:
the acquisition module is used for acquiring the operating data sent by at least one device;
the operation module is used for responding to a data conversion instruction sent by a data processing platform, operating a data processing executable file sent by a cloud platform, converting all data to be processed according to a data processing platform identifier carried in the data conversion instruction, and obtaining at least one matching data corresponding to the data processing platform identifier, wherein the data processing executable file is generated by the cloud platform according to a platform configuration requirement, and the platform configuration requirement comprises a corresponding relation between the platform identifier and all matching data;
and the sending module is used for sending all the matched data to a data processing platform so that the data processing platform can process all the matched data.
In a third aspect, the invention provides an internet of things system, which comprises at least one device, at least one data processing platform, a cloud platform and an edge server;
the equipment is used for acquiring equipment operation data and sending the equipment operation data to the edge server;
the data processing platform is used for generating a data conversion instruction according to the data processing platform identification and sending the data conversion instruction to the edge server;
the cloud platform is used for generating a data processing executable file according to a platform configuration requirement, and sending the data processing executable file to the edge server for storage, wherein the platform configuration requirement comprises a corresponding relation between a platform identifier and all matched data;
the edge server is used for acquiring the operation data sent by at least one device; responding to a data conversion instruction sent by a data processing platform, operating a data processing executable file sent by a cloud platform, converting all data to be processed according to a data processing platform identifier carried in the data conversion instruction, obtaining at least one matched data corresponding to the data processing platform identifier, and sending all matched data to the data processing platform;
the data processing platform is also used for processing the data of all the matched data.
In a fourth aspect, the present invention provides a server, comprising: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executing the computer-executable instructions stored by the memory causes the at least one processor to perform the data adaptation method as described above in the first aspect and various possible designs of the first aspect.
In a fifth aspect, the present invention provides a computer storage medium having stored thereon computer executable instructions which, when executed by a processor, implement the data adaptation method as described above in the first aspect and various possible designs of the first aspect.
According to the data adaptation method, the server, the system and the storage medium, the data processing executable file sent by the cloud platform is operated, the data to be processed sent by all the devices are converted according to the data processing platform identification carried in the data conversion instruction to obtain the corresponding matched data, and all the matched data are sent to the data processing platform, so that the data processing platform processes all the matched data, the data adaptation efficiency is improved, and the data adaptation requirements of various data processing platforms are met.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a schematic diagram of an IOT system structure provided by an embodiment of the invention;
fig. 2 is a first flowchart of a data adaptation method according to an embodiment of the present invention;
fig. 3 is a schematic flow chart of a data adaptation method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a data adaptation apparatus according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a hardware structure of a server according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the industrial internet of things application technology, the edge computing controller is arranged between an industrial cloud platform layer and a field control layer and used for acquiring field data and performing high-performance real-time operation, integrates communication and application interface display functions, and meets application requirements of real-time business processing, intelligent application and the like in an industrial field. In the application technology of the industrial internet of things, in order to meet the requirements that monitoring platforms collect equipment operation data of different manufacturers, different data transmission interfaces and different data protocols and perform data processing, in the prior art, dedicated data collection adaptation files are set for different monitoring platforms in an edge computing controller so as to match data collection types or data transmission types of different platforms. The existing method for adapting data by adopting a special data acquisition adaptation file is not very flexible in data adaptation processing, only can be used for converting data formats based on a special adaptation rule file, and in order to meet the data adaptation requirements of different monitoring platforms, the same data of the same device may need to be adapted to various data conversion formats.
In order to solve the above technical problem, the embodiment of the present invention proposes the following technical solutions: the cloud platform is arranged to generate the data processing executable file according to the corresponding relation between the platform identification and all the matched data contained in the platform configuration requirement, the data processing executable file sent by the cloud platform is operated in the process that the edge server carries out data adaptation on different data processing platforms, the data to be processed sent by all the devices are converted according to the data processing platform identification carried in the data conversion instruction, and the corresponding matched data are obtained, so that the data processing platform carries out data processing on all the matched data, the data adaptation efficiency is improved, and the data adaptation requirement of various data processing platforms is met. The following examples are given for the purpose of illustration.
Fig. 1 is a schematic diagram of an internet of things system structure provided by an embodiment of the invention. As shown in fig. 1, the system of internet of things provided by the embodiment of the present invention includes at least one device 101, at least one data processing platform 102, a cloud platform 103, and an edge server 104. The equipment 101 in the Internet of things system collects the running data of the equipment 101 and sends the running data of the equipment 101 to the edge server 104; the data processing platform 102 generates a data conversion instruction according to the data processing platform 102 identifier, and sends the data conversion instruction to the edge server 104; the cloud platform 103 generates a data processing executable file according to a platform configuration requirement, and sends the data processing executable file to the edge server 104 for storage, wherein the platform configuration requirement comprises a corresponding relation between a platform identifier and all matched data; the edge server 104 acquires the operation data sent by at least one device 101; responding to a data conversion instruction sent by the data processing platform 102, operating a data processing executable file sent by the cloud platform 103, converting all data to be processed according to a data processing platform 102 identifier carried in the data conversion instruction, obtaining at least one matching data corresponding to the data processing platform 102 identifier, sending all the matching data to the data processing platform 102, and finishing data processing on all the matching data by the data processing platform 102.
Fig. 2 is a schematic flow chart of a data adaptation method according to an embodiment of the present invention, where an execution subject of the embodiment may be an edge server in the embodiment shown in fig. 1, and the embodiment is not limited herein. As shown in fig. 2, the method includes:
s201: and acquiring the operation data sent by at least one device.
In the industrial internet of things, the edge computing node server is arranged between the industrial cloud platform layer and the field control layer, can acquire running data acquired by equipment in a field environment, and distributes the acquired data to different data processing platforms. Specifically, the field environment contains a plurality of types of devices, different types of data transmission interfaces adapted to different devices are different, and the data coding formats acquired by the edge computing node server are different.
S202: responding to a data conversion instruction sent by a data processing platform, operating a data processing executable file sent by a cloud platform, converting all data to be processed according to a data processing platform identifier carried in the data conversion instruction, and obtaining at least one matching data corresponding to the data processing platform identifier, wherein the data processing executable file is generated by the cloud platform according to a platform configuration requirement, and the platform configuration requirement comprises a corresponding relation between the platform identifier and all the matching data.
In the embodiment of the invention, the data processing platform generates the corresponding data conversion instruction according to the current data processing flow and sends the data conversion instruction to the edge node server, so that the edge node server provides corresponding data adaptation processing for the data processing platform. Specifically, the data conversion instruction carries a data processing platform identifier.
In the embodiment of the invention, an executable file for data adaptation, namely a data processing executable file, is prestored in the edge server. Specifically, the data processing executable file is developed by the cloud platform according to data adaptation requirements of different data processing platforms and compiled into a computer-executable file, so that the edge server can determine a data adaptation rule corresponding to the current data processing platform by running the executable file, and convert running data sent by the device according to the obtained data adaptation rule to obtain all matched data adapted by the data processing platform.
S203: and sending all the matched data to the data processing platform so that the data processing platform performs data processing on all the matched data.
In the embodiment of the invention, the data processing platform can directly utilize all the obtained matching data to analyze, and the purpose of monitoring or intelligently controlling the current Internet of things is realized.
According to the data adaptation method provided by the embodiment, the data to be processed sent by all the devices is converted according to the data processing platform identification carried in the data conversion instruction by operating the data processing executable file sent by the cloud platform, so that corresponding matched data is obtained, the data adaptation efficiency is improved, and the data adaptation requirements of various data processing platforms are met.
Fig. 3 is a schematic flow chart of a data adaptation method according to an embodiment of the present invention. On the basis of the embodiment provided by fig. 2, as shown in fig. 3, another method for generating a recommendation system by using historical sample data is provided in the embodiment of the present invention, and includes the following steps:
s301: and operating the data processing executable file sent by the cloud platform, wherein the data processing executable file is obtained by compiling a data matching table by the cloud platform, the data matching table is generated according to platform configuration requirements, and the platform configuration requirements comprise the corresponding relation between each data processing type corresponding to each data processing platform identification, the matched target equipment type and the target data type.
In the embodiment of the present invention, the cloud platform may be a cloud server or a third party terminal device. Specifically, the cloud platform provides a programming platform for dynamically setting data adaptation requirements, that is, managers of different data processing platforms can set data adaptation rules of the platform by using graphical programming software on the programming platform of the cloud platform. The cloud platform develops and compiles the requirements submitted by the platform administrator to generate an executable file which can be run by the computer equipment, so that the computer equipment can obtain the data adaptation rules corresponding to the platform identification after running the executable file. Specifically, the platform configuration requirement includes a correspondence between each data processing type corresponding to each data processing platform identifier, the matched target device type, and the target data type. The cloud platform generates a data matching table according to the platform configuration requirements, programs and develops the data matching table to obtain data adaptation rules corresponding to the platform configuration requirements, and obtains data processing executable files.
S302: and responding to an executable program corresponding to the running data processing executable file, acquiring all to-be-processed data identifications corresponding to the data processing platform identifications, acquiring target storage addresses corresponding to all to-be-processed data identifications according to a pre-stored data index configuration table, and acquiring all to-be-processed data corresponding to the data processing platform identifications according to all the target storage addresses.
In the embodiment of the invention, after the executable program corresponding to the data processing executable file is operated, all the to-be-processed data identifications corresponding to the data processing platform identifications can be obtained. The data processing platform comprises a data processing platform, a data index configuration table, a target storage address and a data processing platform identifier, wherein the data index configuration table is pre-stored in the edge server, namely the corresponding relation table of the data identifiers and the storage addresses, the target storage addresses corresponding to all the data identifiers to be processed are obtained according to the pre-stored data index configuration table, and all the data to be processed corresponding to the data processing platform identifier are obtained according to all the target storage addresses. In the embodiment of the present invention, the corresponding relationship between the data identifier and the storage address is obtained by using the stored data index configuration table, so that the data adaptation method provided in the embodiment of the present invention is not limited to the limitation of the storage address of the data, and the dynamic loading between the data identifier and the storage address can be implemented, thereby improving the stability of the program operation.
S303: and responding to an executable program corresponding to the running data processing executable file, acquiring a data matching table, acquiring at least one target matching relation corresponding to the data processing platform identifier according to the data matching table, and converting all data to be processed according to the at least one target matching relation to acquire at least one piece of matching data.
In the embodiment of the invention, a target matching list is generated according to all target matching relations; and converting all the data to be processed according to the target matching list to obtain at least one matching data and at least one matching data. Specifically, the data matching table provides the operation data of all devices corresponding to the current data processing platform and the conversion relationship corresponding to each operation data. Illustratively, at least one target matching relationship corresponding to the data processing platform identifier is obtained according to the data matching table, and the matching relationship is the matching relationship between the data processing platform and the corresponding device operating data and the conversion format of the data. And performing data format conversion on the corresponding data to be processed according to all the target matching relations to obtain the matching data of each data to be processed after data conversion, specifically, the name of the matching data, the coding format of the matching data and the length of the matching data of the converted matching data. And the data format of the converted matching data corresponds to the data format of the data processing platform.
In the data adaptation method provided by this embodiment, on one hand, the corresponding relationship between the data identifier and the storage address is obtained by using the stored data index configuration table, so that the data adaptation method provided by the embodiment of the present invention is not limited to the storage address of the data, dynamic loading between the data identifier and the storage address is implemented, and the stability of program operation is improved.
In a possible implementation manner, an updated data processing executable file sent by a cloud platform is obtained, wherein the updated data processing executable file is generated by the cloud platform according to a new configuration requirement, the configuration requirement comprises a corresponding relation between a new platform identifier and all matched data, and the new configuration requirement is obtained by developing and programming a submitted matching requirement by a cloud programming platform of the cloud platform; and running the updated data processing executable file, and continuing to execute the step of converting all the data to be processed according to the data processing platform identification according to the updated data processing executable file to obtain at least one matched data corresponding to the data processing platform identification.
In the data adaptation method provided by the embodiment, in order to facilitate expansion of a network structure, the cloud platform is configured to generate a new executable file for data adaptation according to a newly added platform data adaptation rule or a data adaptation rule changed by a current data processing platform, so that the purpose of dynamically adjusting the data adaptation rule is achieved, and an application scenario of the internet of things system is expanded.
Fig. 4 is a schematic structural diagram of a data adaptation apparatus according to an embodiment of the present invention. As shown in fig. 4, the data adaptation apparatus includes: an acquisition module 401, an execution module 402, and a sending module 403.
An obtaining module 401, configured to obtain operation data sent by at least one device;
an operation module 402, configured to operate a data processing executable file sent by a cloud platform in response to a data conversion instruction sent by a data processing platform, convert all data to be processed according to a data processing platform identifier carried in the data conversion instruction, and obtain at least one matching data corresponding to the data processing platform identifier, where the data processing executable file is generated by the cloud platform according to a platform configuration requirement, and the platform configuration requirement includes a correspondence relationship between the platform identifier and all matching data;
a sending module 403, configured to send all the matching data to a data processing platform, so that the data processing platform performs data processing on all the matching data.
In a possible implementation manner, the running module 402 is specifically configured to run, in response to a data conversion instruction sent by a data processing platform, a data processing executable file sent by a cloud platform to obtain a data matching table, where the data processing executable file is obtained by compiling the data matching table by the cloud platform, the data matching table is generated according to a platform configuration requirement, and the platform configuration requirement includes a correspondence between each data processing type corresponding to each data processing platform identifier and a matched target device type and target data type; acquiring a data processing platform identifier carried in a data conversion instruction, acquiring at least one target matching relationship corresponding to the data processing platform identifier according to the data matching table, and converting all data to be processed according to the at least one target matching relationship to acquire at least one matched data.
In a possible implementation manner, the running module 402 is specifically configured to respond to an executable program corresponding to a running data processing executable file, and obtain all to-be-processed data identifiers corresponding to the data processing platform identifiers; and obtaining target storage addresses corresponding to all the data identifications to be processed according to a pre-stored data index configuration table, and obtaining all the data to be processed corresponding to the data processing platform identifications according to all the target storage addresses.
In a possible implementation manner, the running module 402 is specifically configured to generate a target matching list according to all target matching relationships; and converting all the data to be processed according to the target matching list to obtain at least one piece of matching data.
In a possible implementation manner, the apparatus further includes an update module, configured to obtain an updated data processing executable file sent by a cloud platform, where the updated data processing executable file is generated by the cloud platform according to a new configuration requirement, the configuration requirement includes a corresponding relationship between a new platform identifier and all matching data, and the new configuration requirement is obtained by developing and programming a submitted matching requirement by a cloud programming platform of the cloud platform; and running the updated data processing executable file, and continuing to execute the step of converting all the data to be processed according to the data processing platform identification according to the updated data processing executable file to obtain at least one matched data corresponding to the data processing platform identification.
The apparatus provided in this embodiment may be used to implement the technical solutions of the above method embodiments, and the implementation principles and technical effects are similar, which are not described herein again.
Fig. 5 is a schematic diagram of a hardware structure of a server according to an embodiment of the present invention. As shown in fig. 5, the server of the present embodiment includes: a processor 501 and a memory 502; wherein
A memory 502 for storing computer-executable instructions;
the processor 501 is configured to execute computer-executable instructions stored in the memory to implement the steps performed by the server in the above embodiments. Reference may be made in particular to the description relating to the method embodiments described above.
Alternatively, the memory 502 may be separate or integrated with the processor 501.
When the memory 502 is provided separately, the server further includes a bus 503 for connecting the memory 502 and the processor 501.
The embodiment of the present invention further provides a computer storage medium, where a computer execution instruction is stored in the computer storage medium, and when a processor executes the computer execution instruction, the data adaptation method as described above is implemented.
An embodiment of the present invention further provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the data adaptation method described above is implemented. An embodiment of the present invention further provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the data adaptation method described above is implemented.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the modules is only one logical division, and other divisions may be realized in practice, for example, a plurality of modules 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 through some interfaces, devices or modules, and may be in an electrical, mechanical or other form.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules 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 modules may be selected according to actual needs to implement the solution of the present embodiment.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing unit, or each module may exist alone physically, or two or more modules are integrated into one unit. The unit formed by the modules can be realized in a hardware mode, and can also be realized in a mode of hardware and a software functional unit.
The integrated module implemented in the form of a software functional module may be stored in a computer-readable storage medium. The software functional module is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) or a processor to execute some steps of the methods described in the embodiments of the present application.
It should be understood that the Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor, or in a combination of the hardware and software modules within the processor.
The memory may comprise a high-speed RAM memory, and may further comprise a non-volatile storage NVM, such as at least one disk memory, and may also be a usb disk, a removable hard disk, a read-only memory, a magnetic or optical disk, etc.
The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (Extended Industry Standard Architecture) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, the buses in the figures of the present application are not limited to only one bus or one type of bus.
The storage medium may be implemented by any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be integral to the processor. The processor and the storage medium may reside in an Application Specific Integrated Circuits (ASIC). Of course, the processor and the storage medium may reside as discrete components in an electronic device or host device.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.
Claims (10)
1. A data adaptation method, comprising:
acquiring operation data sent by at least one device;
responding to a data conversion instruction sent by a data processing platform, operating a data processing executable file sent by a cloud platform, converting all data to be processed according to a data processing platform identifier carried in the data conversion instruction, and obtaining at least one matching data corresponding to the data processing platform identifier, wherein the data processing executable file is generated by the cloud platform according to a platform configuration requirement, and the platform configuration requirement comprises a corresponding relation between the platform identifier and all the matching data;
and sending all the matched data to a data processing platform so that the data processing platform performs data processing on all the matched data.
2. The method according to claim 1, wherein the step of operating a data processing executable file sent by a cloud platform in response to a data conversion instruction sent by a data processing platform, and converting all data to be processed according to a data processing platform identifier carried in the data conversion instruction to obtain at least one piece of matching data corresponding to the data processing platform identifier comprises:
responding to a data conversion instruction sent by a data processing platform, operating a data processing executable file sent by a cloud platform, and obtaining a data matching table, wherein the data processing executable file is obtained by compiling the data matching table by the cloud platform, the data matching table is generated according to a platform configuration requirement, and the platform configuration requirement comprises a corresponding relation between each data processing type corresponding to each data processing platform identifier and a matched target device type and a target data type;
acquiring a data processing platform identifier carried in a data conversion instruction, acquiring at least one target matching relationship corresponding to the data processing platform identifier according to the data matching table, and converting all data to be processed according to the at least one target matching relationship to acquire at least one matched data.
3. The method according to claim 2, wherein before the obtaining at least one target matching relationship corresponding to the data processing platform identifier according to the data matching table and converting all data to be processed according to the at least one target matching relationship, the method further comprises:
responding to an executable program corresponding to an operating data processing executable file, and acquiring all to-be-processed data identifications corresponding to the data processing platform identifications;
and obtaining target storage addresses corresponding to all the data identifications to be processed according to a pre-stored data index configuration table, and obtaining all the data to be processed corresponding to the data processing platform identifications according to all the target storage addresses.
4. The method according to claim 2, wherein the converting all the data to be processed according to the at least one target matching relationship to obtain at least one matching data comprises:
generating a target matching list according to all the target matching relations;
and converting all the data to be processed according to the target matching list to obtain at least one piece of matching data.
5. The method of any of claim 4, wherein the match data comprises a match data name, a match data encoding format, and a match data length.
6. The method according to any one of claims 1 to 5, further comprising, after said sending all matching data to the data processing platform:
acquiring an updated data processing executable file sent by a cloud platform, wherein the updated data processing executable file is generated by the cloud platform according to a new configuration requirement, the configuration requirement comprises a corresponding relation between a new platform identifier and all matched data, and the new configuration requirement is obtained by developing and programming submitted matching requirements by a cloud programming platform of the cloud platform;
and running the updated data processing executable file, and continuing to execute the step of converting all the data to be processed according to the data processing platform identification according to the updated data processing executable file to obtain at least one matched data corresponding to the data processing platform identification.
7. A data adaptation apparatus, comprising:
the acquisition module is used for acquiring the operating data sent by at least one device;
the operation module is used for responding to a data conversion instruction sent by a data processing platform, operating a data processing executable file sent by a cloud platform, converting all data to be processed according to a data processing platform identifier carried in the data conversion instruction, and obtaining at least one matching data corresponding to the data processing platform identifier, wherein the data processing executable file is generated by the cloud platform according to a platform configuration requirement, and the platform configuration requirement comprises a corresponding relation between the platform identifier and all matching data;
and the sending module is used for sending all the matched data to a data processing platform so that the data processing platform can process all the matched data.
8. The Internet of things system is characterized by comprising at least one device, at least one data processing platform, a cloud platform and an edge server;
the equipment is used for acquiring equipment operation data and sending the equipment operation data to the edge server;
the data processing platform is used for generating a data conversion instruction according to the data processing platform identification and sending the data conversion instruction to the edge server;
the cloud platform is used for generating a data processing executable file according to a platform configuration requirement, and sending the data processing executable file to the edge server for storage, wherein the platform configuration requirement comprises a corresponding relation between a platform identifier and all matched data;
the edge server is used for acquiring the operation data sent by at least one device; responding to a data conversion instruction sent by a data processing platform, operating a data processing executable file sent by a cloud platform, converting all data to be processed according to a data processing platform identifier carried in the data conversion instruction, obtaining at least one matched data corresponding to the data processing platform identifier, and sending all matched data to the data processing platform;
and the data processing platform is also used for processing the data of all the matched data.
9. A server, comprising: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executing the computer-executable instructions stored by the memory causes the at least one processor to perform the data adaptation method of any of claims 1 to 6.
10. A computer-readable storage medium having computer-executable instructions stored therein which, when executed by a processor, implement the data adaptation method of any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210374302.XA CN114741439A (en) | 2022-04-11 | 2022-04-11 | Data adaptation method, server, system and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210374302.XA CN114741439A (en) | 2022-04-11 | 2022-04-11 | Data adaptation method, server, system and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114741439A true CN114741439A (en) | 2022-07-12 |
Family
ID=82282254
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210374302.XA Pending CN114741439A (en) | 2022-04-11 | 2022-04-11 | Data adaptation method, server, system and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114741439A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110247811A (en) * | 2019-07-17 | 2019-09-17 | 深圳市智物联网络有限公司 | A kind of alarm method and relevant apparatus of internet of things equipment |
CN110290189A (en) * | 2019-06-17 | 2019-09-27 | 深圳前海微众银行股份有限公司 | A kind of container cluster management method, apparatus and system |
WO2021057064A1 (en) * | 2019-09-23 | 2021-04-01 | 平安科技(深圳)有限公司 | Data interaction conversion method and apparatus based on artificial intelligence, device, and medium |
CN112650773A (en) * | 2020-12-24 | 2021-04-13 | 北京奇艺世纪科技有限公司 | Data query method and device, electronic equipment and storage medium |
CN112905680A (en) * | 2021-02-09 | 2021-06-04 | 京东方科技集团股份有限公司 | Message processing method, system, device, equipment and storage medium |
-
2022
- 2022-04-11 CN CN202210374302.XA patent/CN114741439A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110290189A (en) * | 2019-06-17 | 2019-09-27 | 深圳前海微众银行股份有限公司 | A kind of container cluster management method, apparatus and system |
CN110247811A (en) * | 2019-07-17 | 2019-09-17 | 深圳市智物联网络有限公司 | A kind of alarm method and relevant apparatus of internet of things equipment |
WO2021057064A1 (en) * | 2019-09-23 | 2021-04-01 | 平安科技(深圳)有限公司 | Data interaction conversion method and apparatus based on artificial intelligence, device, and medium |
CN112650773A (en) * | 2020-12-24 | 2021-04-13 | 北京奇艺世纪科技有限公司 | Data query method and device, electronic equipment and storage medium |
CN112905680A (en) * | 2021-02-09 | 2021-06-04 | 京东方科技集团股份有限公司 | Message processing method, system, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10754869B2 (en) | Managing data format of data received from devices in an internet of things network | |
CN110730090B (en) | Batch updating method, device, medium and electronic equipment for agent terminals in cloud environment | |
CN112083971B (en) | Component processing method, device and storage medium | |
CN111414391A (en) | Method and system for accessing multiple data sources | |
CN110825425B (en) | Configuration data management method and device, electronic equipment and storage medium | |
CN111143446A (en) | Data structure conversion processing method and device of data object and electronic equipment | |
CN110688096B (en) | Method and device for constructing application program containing plug-in, medium and electronic equipment | |
CN114816393B (en) | Information generation method, device, equipment and storage medium | |
CN108595178B (en) | Hook-based data acquisition method, device and equipment | |
CN110795162B (en) | Method and device for generating container mirror image file | |
CN114371914A (en) | Container IP address configuration method and device, storage medium and electronic equipment | |
CN114201234A (en) | File processing method, device, system, equipment and storage medium | |
CN113127430B (en) | Mirror image information processing method, mirror image information processing device, computer readable medium and electronic equipment | |
CN118012523A (en) | Default value configuration method, device, equipment and medium | |
WO2024113884A1 (en) | Resource allocation method and apparatus for peripheral, server, and storage medium | |
CN111857847A (en) | Method, device, equipment and storage medium for dynamically configuring BIOS character string | |
CN111930720A (en) | Data tilt processing method, system, electronic device and medium | |
CN109067649B (en) | Node processing method and device, storage medium and electronic equipment | |
CN114741439A (en) | Data adaptation method, server, system and storage medium | |
CN111444074A (en) | Data monitoring method and device, electronic equipment and readable storage medium | |
CN114116544B (en) | Slot information acquisition method, device, equipment and storage medium | |
CN114070889B (en) | Configuration method, traffic forwarding device, storage medium, and program product | |
CN115328496A (en) | File generation method and device | |
CN115113911A (en) | Software management system and method | |
CN114553859A (en) | BMC configuration management method and device, electronic equipment and storage medium |
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 |