CN117453761A - Equipment data query method, equipment and device - Google Patents

Equipment data query method, equipment and device Download PDF

Info

Publication number
CN117453761A
CN117453761A CN202311126477.XA CN202311126477A CN117453761A CN 117453761 A CN117453761 A CN 117453761A CN 202311126477 A CN202311126477 A CN 202311126477A CN 117453761 A CN117453761 A CN 117453761A
Authority
CN
China
Prior art keywords
equipment
data
serial number
industrial internet
identification
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
Application number
CN202311126477.XA
Other languages
Chinese (zh)
Inventor
王钊
吕严
陆田
潘艺璇
赵毅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Zijin Jiangsu Innovation Research Institute Co ltd
China Mobile Communications Group Co Ltd
China Mobile Group Jiangsu Co Ltd
Original Assignee
China Mobile Zijin Jiangsu Innovation Research Institute Co ltd
China Mobile Communications Group Co Ltd
China Mobile Group Jiangsu Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Zijin Jiangsu Innovation Research Institute Co ltd, China Mobile Communications Group Co Ltd, China Mobile Group Jiangsu Co Ltd filed Critical China Mobile Zijin Jiangsu Innovation Research Institute Co ltd
Priority to CN202311126477.XA priority Critical patent/CN117453761A/en
Publication of CN117453761A publication Critical patent/CN117453761A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/24569Query processing with adaptation to specific hardware, e.g. adapted for using GPUs or SSDs

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Probability & Statistics with Applications (AREA)
  • Software Systems (AREA)
  • Mathematical Physics (AREA)
  • Fuzzy Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention relates to the technical field of interactive operation, and discloses a device data query method, device and device, wherein the method comprises the following steps: when a data query instruction is received, extracting a to-be-queried identification serial number contained in the data query instruction; searching a corresponding target equipment serial number in a preset mapping relation according to an identification serial number to be inquired, wherein the corresponding relation between the identification serial number and the equipment serial number is stored in the preset mapping relation, the identification serial number is determined according to initial identification data of industrial Internet equipment, and the equipment serial number is obtained by numbering the industrial Internet equipment; and determining corresponding target industrial Internet equipment according to the target equipment serial number, and inquiring equipment data of the target industrial Internet equipment. Compared with the prior art, the method and the device can enable the industrial Internet equipment to correspond to the initial identification data one by one through the equipment serial numbers and the identification serial numbers, so that inquiry can be directly carried out according to the identification serial numbers, and user experience is improved.

Description

Equipment data query method, equipment and device
Technical Field
The present invention relates to the field of interactive operation technologies, and in particular, to a device data query method, a device, and an apparatus.
Background
At present, with the rapid development of industrial Internet, identification codes become important basic and strategic resources, and by endowing identification codes for objects such as parts, machines and products, accurate butt joint between a global industrial chain system and an enterprise production system can be realized, so that sharing and sharing of associated data across enterprises, regions and industries are promoted, and the method is a key part for supporting 'everything interconnection'.
When an enterprise inquires equipment data of industrial Internet equipment according to the identification, the existing enterprise has different coding rules, application fields and application modes due to the fact that multiple industrial Internet identification equipment coding systems exist, and therefore identification of the industrial Internet equipment is various, inquiry is not facilitated, and user experience is poor.
Disclosure of Invention
The invention mainly aims to provide a device data query method, device and device, and aims to solve the technical problems that the existing industrial Internet identification device coding system exists, so that the identification of industrial Internet devices is various, the query is not facilitated and the user experience is poor.
In order to achieve the above object, the present invention provides a device data query method, the method comprising the steps of:
When a data query instruction is received, extracting a to-be-queried identification serial number contained in the data query instruction;
searching a corresponding target equipment serial number in a preset mapping relation according to the identification serial number to be inquired, wherein the corresponding relation between the identification serial number and the equipment serial number is stored in the preset mapping relation, the identification serial number is determined according to initial identification data of industrial Internet equipment, and the equipment serial number is obtained by numbering the industrial Internet equipment;
and determining corresponding target industrial Internet equipment according to the target equipment serial number, and inquiring equipment data of the target industrial Internet equipment.
Optionally, before extracting the identification serial number to be queried included in the data query instruction when the data query instruction is received, the method further includes:
receiving initial identification data corresponding to industrial Internet equipment, and generating a corresponding identification serial number according to the initial identification data;
numbering the industrial Internet equipment, generating a corresponding equipment serial number, and establishing a preset mapping relation based on the equipment serial number and the identification serial number.
Optionally, before receiving the initial identification data corresponding to the industrial internet device, the method further includes:
judging whether the initial identification data of the industrial Internet equipment contains data to be deleted or not according to the current use period of the industrial Internet equipment;
if yes, deleting the data to be deleted;
correspondingly, the receiving the initial identification data corresponding to the industrial internet equipment and generating the corresponding identification serial number according to the initial identification data comprises the following steps:
and receiving the deleted initial identification data, and generating a corresponding identification serial number according to the deleted initial identification data.
Optionally, before numbering the industrial internet device and generating the corresponding device serial number, the method further includes:
judging whether industrial Internet equipment to be eliminated exists in the industrial Internet equipment according to the damage degree of the industrial Internet equipment;
if yes, the industrial internet equipment to be eliminated is eliminated;
correspondingly, the step of numbering the industrial internet equipment to generate a corresponding equipment serial number comprises the following steps:
numbering the rest industrial Internet equipment to generate corresponding equipment serial numbers.
Optionally, after receiving the initial identification data corresponding to the industrial internet device, the method further includes:
performing identification authentication on the initial identification data;
executing the step of generating a corresponding identification serial number according to the initial identification data when the authentication is passed;
correspondingly, before numbering the industrial internet equipment, the method further comprises:
carrying out identity verification on the industrial Internet equipment;
and when the verification is passed, executing the step of numbering the industrial Internet equipment.
Optionally, before extracting the identification serial number to be queried included in the data query instruction when the data query instruction is received, the method further includes:
carrying out use period division on equipment data of industrial Internet equipment, and storing the divided equipment data into period folders of different period types;
and associating the equipment serial number of the industrial Internet equipment with a corresponding period folder and then storing the equipment serial number.
Optionally, before extracting the identification serial number to be queried included in the data query instruction when the data query instruction is received, the method further includes:
carrying out security level division on equipment data of industrial Internet equipment, and storing the divided equipment data into level folders of different level categories;
And associating the equipment serial number of the industrial Internet equipment with a corresponding grade folder and then storing the equipment serial number.
In addition, in order to achieve the above object, the present invention also proposes a device data query device comprising a memory, a processor and a device data query program stored on the memory and executable on the processor, the device data query program being configured to implement the device data query method as described above.
In addition, in order to achieve the above object, the present invention also provides an apparatus data query device, including: an identity carrier module;
the identification carrier module is used for extracting identification serial numbers to be queried contained in the data query instruction when the data query instruction is received;
the identification carrier module is further configured to search a corresponding target device serial number in a preset mapping relationship according to the identification serial number to be queried, wherein the preset mapping relationship stores a corresponding relationship between the identification serial number and the device serial number, the identification serial number is determined according to initial identification data of industrial internet devices, and the device serial number is obtained by numbering the industrial internet devices;
The identification carrier module is further used for determining corresponding target industrial internet equipment according to the target equipment serial number and inquiring equipment data of the target industrial internet equipment.
Optionally, the device data query apparatus further includes: the device loading module is used for loading the device to the identification loading module;
the identification loading module is used for receiving initial identification data corresponding to the industrial Internet equipment and generating a corresponding identification serial number according to the initial identification data;
the device loading module is used for numbering the industrial Internet device, generating a corresponding device serial number, and establishing a preset mapping relation based on the device serial number and the identification serial number.
When a data query instruction is received, extracting a to-be-queried identification serial number contained in the data query instruction; searching a corresponding target equipment serial number in a preset mapping relation according to the identification serial number to be inquired, wherein the corresponding relation between the identification serial number and the equipment serial number is stored in the preset mapping relation, the identification serial number is determined according to initial identification data of industrial Internet equipment, and the equipment serial number is obtained by numbering the industrial Internet equipment; and determining corresponding target industrial Internet equipment according to the target equipment serial number, and inquiring equipment data of the target industrial Internet equipment. Because the device serial numbers of the industrial Internet devices and the corresponding identification serial numbers are stored in the preset mapping relation, wherein the identification serial numbers are determined according to the initial identification data of the industrial Internet devices, the device serial numbers are obtained by numbering the industrial Internet devices, further, when a data query instruction is received, the corresponding target device serial numbers can be determined according to the identification serial numbers to be queried in the data query instruction in the preset mapping relation, the corresponding target industrial Internet devices are determined according to the target device serial numbers, and the query of the device data is carried out.
Drawings
FIG. 1 is a schematic diagram of a device data query device in a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart of a first embodiment of a device data query method according to the present invention;
FIG. 3 is a schematic diagram of a configuration of an identifier carrier module in the device data query method of the present invention;
FIG. 4 is a schematic diagram of a configuration of an identifier loading module in the device data query method of the present invention;
FIG. 5 is a schematic diagram of a device loading module in the device data query method of the present invention;
FIG. 6 is a schematic diagram of a device data query device in the device data query method of the present invention;
FIG. 7 is a flowchart of a second embodiment of a device data query method according to the present invention;
FIG. 8 is a flowchart of a third embodiment of a device data query method according to the present invention;
FIG. 9 is a schematic diagram of a data management module in the data query method of the device according to the present invention;
FIG. 10 is a block diagram of a first embodiment of the data query device of the apparatus of the present invention;
fig. 11 is a block diagram showing the construction of a third embodiment of the data query device of the apparatus of the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Referring to fig. 1, fig. 1 is a schematic diagram of a device data query device of a hardware running environment according to an embodiment of the present invention.
As shown in fig. 1, the device data query device may include: a processor 1001, such as a central processing unit (Central Processing Unit, CPU), a communication bus 1002, a user interface 1003, a network interface 1004, a memory 1005. Wherein the communication bus 1002 is used to enable connected communication between these components. The user interface 1003 may include a Display (Display), and the optional user interface 1003 may also include a standard wired interface, a wireless interface, and the wired interface for the user interface 1003 may be a USB interface in the present invention. The network interface 1004 may optionally include a standard wired interface, a Wireless interface (e.g., a Wireless-Fidelity (Wi-Fi) interface). The Memory 1005 may be a high-speed random access Memory (Random Access Memory, RAM) or a stable Memory (NVM), such as a disk Memory. The memory 1005 may also optionally be a storage device separate from the processor 1001 described above.
It will be appreciated by those skilled in the art that the structure shown in fig. 1 does not constitute a limitation of the device data querying device, and may include more or fewer components than shown, or may combine certain components, or may have a different arrangement of components.
As shown in fig. 1, an operating system, a network communication module, a user interface module, and a device data query program may be included in a memory 1005, which is considered to be a type of computer storage medium.
In the device data query device shown in fig. 1, the network interface 1004 is mainly used for connecting to a background server, and performing data communication with the background server; the user interface 1003 is mainly used for connecting user equipment; the device data query device invokes a device data query program stored in the memory 1005 through the processor 1001, and executes the device data query method provided by the embodiment of the present invention.
Based on the hardware structure, the embodiment of the data query method of the device is provided.
Referring to fig. 2, fig. 2 is a flowchart of a first embodiment of a device data query method according to the present invention, and the first embodiment of the device data query method according to the present invention is provided.
In a first embodiment, the device data query method includes the steps of:
Step S10: and when a data query instruction is received, extracting the identification serial number to be queried contained in the data query instruction.
It should be noted that, the method of the embodiment may be applied in a scenario of querying device data of an industrial internet device. The execution subject of the method of the embodiment may be a computing service device with functions of device data query, network communication and program running, such as an industrial internet identification device, etc., or may be other electronic devices that implement the same or similar functions. Hereinafter, this embodiment and the following embodiments will be described with reference to the above-described device data query device (simply referred to as device).
It can be understood that the data query instruction may be an instruction triggered by a platform, a terminal or other systems when an enterprise needs to query device data of an industrial internet device, in this embodiment, an identifier carrier module may be disposed in the device, and the identifier carrier module may carry an industrial internet identifier code and a necessary security certificate, algorithm and key thereof, and has a networking communication function, so that connection can be actively initiated to an identifier resolution service node or an identifier data application platform, without triggering by means of an identifier read-write device.
It should be understood that, referring to fig. 3, fig. 3 is a schematic structural diagram of an identification carrier module in the device data query method of the present invention, as shown in fig. 3, the identification carrier module may include a carrier command direct unit, and the carrier command direct unit may directly communicate with a platform, a terminal or other systems, without relying on a third party platform, so as to further improve the integration level of device data, and meanwhile, improve the device flexibility deployment of an enterprise, and meanwhile, the carrier command direct unit may further ensure the security of the data in the form of data encryption, etc., and the specific form is not limited in this embodiment.
It should be further noted that, the data query instruction may include a sequence number of an identifier to be queried, where the sequence number of the identifier to be queried may be a sequence number corresponding to initial identification data of industrial internet equipment that an enterprise needs to query, and the initial identification data may be data corresponding to identification of the industrial internet equipment, and the conventional industrial internet equipment is various in identification, so that the initial identification data is various, which is not beneficial to the enterprise to query.
Further, in this embodiment, in order to facilitate the query, before the step S10, the method further includes:
Step S01: and receiving initial identification data corresponding to the industrial Internet equipment, and generating a corresponding identification serial number according to the initial identification data.
It can be understood that the device may further include an identifier loading module, referring to fig. 4, and fig. 4 is a schematic structural diagram of the identifier loading module in the device data query method of the present invention, and as shown in fig. 4, the identifier loading module may include a number generating unit, where the number generating unit may be configured to receive initial identifier data corresponding to an industrial internet device, and automatically generate, by using an internal serial number generator, a unique serial number according to the initial identifier data of each industrial internet device.
Step S02: numbering the industrial Internet equipment, generating a corresponding equipment serial number, and establishing a preset mapping relation based on the equipment serial number and the identification serial number.
It should be understood that the device serial number may be a serial number for indicating the uniqueness of the industrial internet device, and the device may further include a device loading module, referring to fig. 5, fig. 5 is a schematic structural diagram of the device loading module in the device data query method of the present invention, and as shown in fig. 5, the device loading module may include a serial number loading unit, and the serial number loading unit may be used to number each industrial internet device to generate a unique serial number of the device.
It should be noted that, the above device may further include a number matching module, referring to fig. 6, fig. 6 is a schematic structural diagram of a device data query device in the device data query method of the present invention, and as shown in fig. 6, a central processor is connected to the number matching module, the identifier carrier module, the identifier loading module, and the device loading module, where the central processor may be used to manage and control the modules connected thereto, and the specific function of this embodiment is not limited.
It can be understood that the number matching module can establish a one-to-one preset mapping relationship between the equipment serial number of the industrial internet equipment and the corresponding identification serial number.
It should be understood that, as shown in fig. 6, the device may further include a remote server and a data downloading module, where the data downloading module is connected to the remote server and the central processor, and the embodiment may download, through the data downloading module, the interaction data between the device and the industrial internet device, where the interaction data may include the initial identification data.
In a specific implementation, the device can receive initial identification data corresponding to the industrial internet devices, and automatically generate a unique identification serial number according to the initial identification data of each industrial internet device through a serial number generation unit; numbering each industrial Internet device by using a numbering loading unit to generate a series of unique device serial numbers; and establishing a one-to-one corresponding preset mapping relation between the equipment serial numbers of the industrial Internet equipment and the corresponding identification serial numbers through the serial number matching module, and further extracting the identification serial numbers to be queried contained in the data query instruction to directly query when the data query instruction is received by the carrier command direct unit.
Step S20: searching a corresponding target equipment serial number in a preset mapping relation according to the identification serial number to be inquired, wherein the corresponding relation between the identification serial number and the equipment serial number is stored in the preset mapping relation, the identification serial number is determined according to initial identification data of industrial Internet equipment, and the equipment serial number is obtained by numbering the industrial Internet equipment.
It should be understood that, because the preset mapping relationship stores the identification serial numbers corresponding to the initial identification data of different industrial internet devices and the corresponding device serial numbers, the device may search the corresponding device serial numbers in the preset mapping relationship table as the target device serial numbers according to the identification to be queried.
It should be further noted that, as shown in fig. 6, the device may further include a data uploading module and an application adding module, where the data uploading module and the application adding module are both connected to the central processor, and the data uploading module may upload initial identification data and device information of the industrial internet device in batches and share the device loading module and the identification loading module, and the application adding module may be used for adding functions of other modules, and the specific added function embodiment is not limited.
Step S30: and determining corresponding target industrial Internet equipment according to the target equipment serial number, and inquiring equipment data of the target industrial Internet equipment.
It should be understood that the target industrial internet device may be an industrial internet device that an enterprise needs to query, as shown in fig. 3, the identification carrier module may further include a carrier data subscription unit, and may send device data obtained by the enterprise by sending the query through a platform, a terminal or other systems through the carrier data subscription unit, where it should be emphasized that the carrier data subscription unit may continuously send the data subscribed by the enterprise (including the device data) to the platform, the terminal or other systems according to a certain policy, where the policy may include, but is not limited to, sending at regular time, and sending when a state of the platform, the terminal or other systems changes.
In a specific implementation, the device may search a corresponding device serial number in a preset mapping relationship according to the identification serial number to be queried, determine a corresponding target industrial internet device according to the device serial number, query device data of the target industrial internet device, and send the device data to an enterprise through a carrier data subscription unit.
The device of the embodiment can receive the initial identification data corresponding to the industrial internet devices and automatically generate a unique identification serial number according to the initial identification data of each industrial internet device through the serial number generation unit; numbering each industrial Internet device by using a numbering loading unit to generate a series of unique device serial numbers; the equipment serial numbers of the industrial Internet equipment and the corresponding identification serial numbers are established in a one-to-one correspondence preset mapping relation through the serial number matching module, and then when the data query instruction is received by the carrier command direct unit, the identification serial numbers to be queried contained in the data query instruction can be extracted; searching a corresponding equipment serial number in a preset mapping relation according to the identification serial number to be inquired, determining corresponding target industrial Internet equipment according to the equipment serial number, inquiring equipment data of the target industrial Internet equipment, and sending the equipment data to an enterprise through a carrier data subscription unit. According to the method and the device, the initial identification data of the industrial Internet device can be in one-to-one correspondence with the industrial Internet device through the identification serial number and the device serial number, so that the corresponding industrial Internet device can be directly determined according to the identification serial number during inquiry, the code analysis and distribution of the data sharing of enterprises are improved, the enterprises can access the industrial Internet coding system conveniently, the requirements of the industrial Internet on full-link data communication are met, and the user experience is improved.
Referring to fig. 7, fig. 7 is a flowchart of a second embodiment of the device data query method according to the present invention, and based on the first embodiment, the second embodiment of the device data query method according to the present invention is provided.
Considering that the initial identification data may have expired data or invalid data, in order to reduce confusion, improve accuracy of the data, and reduce occupied space at the same time, in this embodiment, before receiving the initial identification data corresponding to the industrial internet device, the method further includes:
step S011: judging whether the data to be deleted exist in the initial identification data of the industrial Internet equipment according to the current use period of the industrial Internet equipment.
Step S012: if yes, deleting the data to be deleted.
It should be noted that, the current usage period may be a period corresponding to a sustainable usage period under a normal operation condition of the industrial internet device, the device may store in advance standard data attributes related to the industrial internet device, where the standard data attributes may include, but are not limited to, a production date, an effective usage period, an applicable scenario, and the like, the standard data attributes may be preset before use, and meanwhile, since new data may be generated during use, the device may also store therein a current data attribute generated during use of the industrial internet device, where the current data attribute may include, but is not limited to, a usage time, a damage degree, a historical usage scenario, a security degree, and the like, and then the current usage period may be determined by using the usage time.
It may be understood that, as further shown in fig. 4, the identifier loading module may include an identifier deleting unit, where the identifier deleting unit may determine whether there is data to be deleted in the initial identifier data by determining whether the current usage period reaches a valid usage period, for example, the usage period corresponding to the initial identifier data of an industrial interconnection device is ten years, and when the current usage period reaches ten years, the device may consider that the initial identifier data is redundant and delete the initial identifier data.
It should be understood that, because a plurality of initial identification data may be generated during the use of the industrial internet device, the identifications corresponding to the plurality of initial identification data may be changed or redundant identifications may be accumulated over time, and further the above-mentioned identification deleting unit may further delete the redundant initial identification data according to the use process of the industrial internet device.
It should be further noted that, as further shown in fig. 4, the identifier loading module may further include an identifier modifying unit and an identifier editing unit, where the identifier modifying unit may be configured to modify the standard data attribute of the record, and the identifier editing unit may be configured to edit the relevant information of the industrial internet device according to the type of the standard data attribute, for example, edit the name, the specification, etc. of the industrial internet device, and the embodiment is not limited.
Accordingly, the step S01 includes:
step S01': and receiving the deleted initial identification data, and generating a corresponding identification serial number according to the deleted initial identification data.
It can be understood that, because part of the initial identification data is deleted, the number generating unit may generate the corresponding identification serial number according to each initial identification data remaining after deletion.
In a specific implementation, the device can judge whether redundant initial identification data to be deleted exists or not according to the current use period through the identification deleting unit, if yes, delete the corresponding initial identification data, or delete the redundant initial identification data according to other use processes, and further generate corresponding identification serial numbers for all the residual initial identification data after deletion through the number generating unit, so that data confusion is prevented, occupied space is reduced, and meanwhile accuracy of the data is improved.
Further, considering that a part of industrial internet equipment is not used when reaching a certain service life, and further improving accuracy of data, in this embodiment, before the industrial internet equipment is numbered and a corresponding equipment serial number is generated, the method further includes:
Step S021: judging whether industrial Internet equipment to be eliminated exists in the industrial Internet equipment according to the damage degree of the industrial Internet equipment.
Step S022: and if yes, eliminating the industrial Internet equipment to be eliminated.
It should be understood that, as the damage degree of the industrial internet device increases with the increase of the service time, as further shown in fig. 5, the device loading module may further include a device deleting unit, and the device deleting unit may acquire the stored damage degree corresponding to each industrial internet device, and reject the corresponding industrial internet device when the damage degree reaches the preset degree, where the specific preset degree is not limited.
It should be further noted that, because the corresponding data attribute may change at any time during the use of the industrial internet device, in order to update the data attribute in time, as shown in fig. 5, the device loading module may further include a device modifying unit and a device editing unit, where the device modifying unit may be used to update the current data attribute in real time according to the data generated during the use of the industrial internet device, and the device editing unit may be used to edit the related information of the industrial internet device.
Correspondingly, the numbering the industrial internet equipment to generate a corresponding equipment serial number comprises the following steps:
step S02': numbering the rest industrial Internet equipment to generate corresponding equipment serial numbers.
It can be understood that, because part of the industrial internet devices are eliminated, the number loading unit can further number according to all the industrial internet devices remaining after elimination, and generate corresponding device serial numbers.
In a specific implementation, the device can judge whether the industrial internet device to be eliminated exists or not according to the damage degree through the device deleting unit, if yes, the corresponding industrial internet device to be eliminated is eliminated, and then the serial number loading unit is used for numbering all the industrial internet devices remained after elimination, so that corresponding device serial numbers are generated, and the accuracy of data is improved.
Further, in order to ensure the authenticity and effectiveness of the data and improve the security and the reliability, in this embodiment, after receiving the initial identification data corresponding to the industrial internet device, the method further includes: performing identification authentication on the initial identification data; and when the authentication is passed, executing the step of generating a corresponding identification serial number according to the initial identification data.
It should be understood that, as shown in fig. 3, the identifier carrier module may include a carrier identity authentication unit, through which, after receiving the initial identifier data, the initial identifier data may be authenticated by a truly effective tamper-free identifier, and may be implemented by an industrial internet identifier product and an equipment platform, where the specific manner of identifying is not limited in this embodiment.
Correspondingly, before numbering the industrial internet equipment, the method further comprises the following steps: carrying out identity verification on the industrial Internet equipment; and when the verification is passed, executing the step of numbering the industrial Internet equipment.
It should be noted that, the carrier identity authentication unit may also perform identity authentication on the carrier of the identification data, that is, perform identity authentication on the industrial internet device, and may combine the technologies of black-white list, physical unclonable, asymmetric encryption, and the like during authentication, which may, of course, be other technologies, and the embodiment is not limited thereto.
In a specific implementation, the device can realize identification authentication of initial identification data through the carrier identity authentication unit, can perform identity authentication on industrial Internet equipment, effectively standardizes unified management of carriers, and ensures reality and effectiveness of data.
According to the device, whether the redundant initial identification data to be deleted exists or not can be judged according to the current use period through the identification deleting unit, and the redundant initial identification data can be deleted according to other use processes, if yes, the corresponding initial identification data are deleted, and then the corresponding identification serial numbers are generated for all the remaining initial identification data after deletion through the serial number generating unit, so that data confusion is prevented, occupied space is reduced, and meanwhile accuracy of the data is improved; judging whether the industrial Internet equipment to be eliminated exists or not according to the damage degree through the equipment deleting unit, if so, eliminating the corresponding industrial Internet equipment to be eliminated, numbering the rest industrial Internet equipment after elimination through the numbering loading unit, generating a corresponding equipment serial number, and improving the accuracy of data; the method can also realize the identification authentication of the initial identification data through the carrier identity authentication unit, and can carry out the identity authentication of the industrial Internet equipment at the same time, thereby effectively standardizing the unified management of the carrier and ensuring the reality and effectiveness of the data.
Referring to fig. 8, fig. 8 is a flow chart of a third embodiment of the device data query method according to the present invention, and based on the foregoing embodiments, a third embodiment of the device data query method according to the present invention is provided.
In order to facilitate the subsequent query, as shown in fig. 8, in this embodiment, before the step S10, the method further includes:
step S001: carrying out use period division on equipment data of industrial Internet equipment, and storing the divided equipment data into period folders of different period types;
step S002: and associating the equipment serial number of the industrial Internet equipment with a corresponding period folder and then storing the equipment serial number.
It should be noted that, as shown in fig. 6, the above device may further include a data analysis module and a data management module, where the data analysis module may analyze and process the received device data, and transmit the processed device data to the data management module for division.
It can be understood that the period folder may be used to store device data corresponding to different periods, before receiving the data query command, that is, after analyzing and processing the device data obtained from the industrial internet, the device may be divided according to the usage period, referring to fig. 9, fig. 9 is a schematic structural diagram of a data management module in the device data query method according to the present invention, and as shown in fig. 9, the data management module may include a data dividing unit and a data classifying unit, where the data dividing unit may divide the device data according to the usage period, for example, may divide the device data according to the usage period of 1-2 years, 2-3 years, and so on.
It should be understood that after the division, the device may store the divided device data into the period folders of different period categories through the data classification unit, and in order to facilitate subsequent query, the device data in each period folder may be associated with a corresponding device serial number.
In a specific implementation, the device may divide the device data according to the usage period by using the data dividing unit, and associate, by using the data classifying unit, the device serial number corresponding to the divided device data with the corresponding period folder, and then save the device serial number, so as to directly query by using the usage period.
Further, the above devices may be further classified according to security levels, which may specifically include: before the step S10, the method further includes:
step S003: carrying out security level division on equipment data of industrial Internet equipment, and storing the divided equipment data into level folders of different level categories;
step S004: and associating the equipment serial number of the industrial Internet equipment with a corresponding grade folder and then storing the equipment serial number.
It should be noted that the above devices may be classified by the data classifying unit according to the security level of each industrial internet device, for example, may be classified according to the security level of low, medium, and high, and may be any other security level, which is not limited in this embodiment.
It may be understood that the class categories may be categories corresponding to the security classes during the division, and the class folders may be device data for storing different security classes, and after the division, the data classification unit may also store the divided device data into the corresponding class folders in a classified manner, and in order to facilitate subsequent query, the device data in each class folder may be stored after being associated with the corresponding device serial number.
In a specific implementation, the device may divide the device data according to the security level by the data dividing unit, and associate, by the data classifying unit, the device serial number corresponding to the divided device data with the corresponding level folder according to the security level, and then save the device serial number, so as to directly query by the security level.
Further, in order to ensure the real-time performance of the data, in this embodiment, as shown in fig. 9, the data management module may further include a data update unit, where the device may update the device data divided according to the usage period or according to the security level every 24-48 hours through the data update unit, and of course, other time intervals may also be used, which is not limited in this embodiment.
According to the device, the device can divide the device data according to the security level or the use period through the data dividing unit, and the device serial numbers corresponding to the divided device data are associated with the corresponding folders through the data classifying unit and then stored, so that the subsequent query can be directly performed through the security level; meanwhile, the data can be updated according to a certain time interval, and the real-time performance of the data is improved.
Further, referring to fig. 10, fig. 10 is a block diagram showing the structure of a first embodiment of the data query device of the apparatus of the present invention; the embodiment of the invention also provides a device data query device, which comprises: an identity carrier module 101;
the identifier carrier module 101 is configured to extract, when a data query instruction is received, an identifier serial number to be queried included in the data query instruction;
the identifier carrier module 101 is further configured to search a corresponding target device serial number in a preset mapping relationship according to the identifier serial number to be queried, where the preset mapping relationship stores a correspondence between the identifier serial number and a device serial number, the identifier serial number is determined according to initial identifier data of an industrial internet device, and the device serial number is obtained by numbering the industrial internet device;
The identifier carrier module 101 is further configured to determine a corresponding target industrial internet device according to the target device serial number, and query device data of the target industrial internet device.
According to the device, the initial identification data corresponding to the industrial Internet devices can be received through the number generation unit, and a unique identification serial number is automatically generated according to the initial identification data of each industrial Internet device; numbering each industrial Internet device by using a numbering loading unit to generate a series of unique device serial numbers; establishing a one-to-one corresponding preset mapping relation between the equipment serial numbers of the industrial Internet equipment and the corresponding identification serial numbers through a serial number matching module, further receiving a data query instruction through a carrier command direct unit, and extracting the identification serial numbers to be queried contained in the data query instruction; searching a corresponding equipment serial number in a preset mapping relation according to the identification serial number to be inquired, determining corresponding target industrial Internet equipment according to the equipment serial number, inquiring equipment data of the target industrial Internet equipment, and sending the equipment data to an enterprise through a carrier data subscription unit. According to the method and the device, the initial identification data of the industrial Internet device can be in one-to-one correspondence with the industrial Internet device through the identification serial number and the device serial number, so that the corresponding industrial Internet device can be directly determined according to the identification serial number during inquiry, the code analysis and distribution of the data sharing of enterprises are improved, the enterprises can access the industrial Internet coding system conveniently, the requirements of the industrial Internet on full-link data communication are met, and the user experience is improved.
As an embodiment, the device data query apparatus further includes: an identification load module 102 and a device load module 103;
the identifier loading module 102 is configured to receive initial identifier data corresponding to an industrial internet device, and generate a corresponding identifier serial number according to the initial identifier data;
the device loading module 103 is configured to number the industrial internet device, generate a corresponding device serial number, and establish a preset mapping relationship based on the device serial number and the identifier serial number.
Based on the first embodiment of the device data query device of the present invention, a second embodiment of the device data query device of the present invention is provided.
In this embodiment, the identifier loading module 102 is further configured to determine, according to a current usage period of the industrial internet device, whether data to be deleted exists in initial identifier data of the industrial internet device; if yes, deleting the data to be deleted; and receiving the deleted initial identification data, and generating a corresponding identification serial number according to the deleted initial identification data.
As an implementation manner, the device loading module 103 is further configured to determine whether an industrial internet device to be eliminated exists in the industrial internet device according to the damage degree of the industrial internet device; if yes, the industrial internet equipment to be eliminated is eliminated; numbering the rest industrial Internet equipment to generate corresponding equipment serial numbers.
As an embodiment, the identifier carrier module 101 is further configured to perform identifier authentication on the initial identifier data; when the authentication is passed, executing the operation of generating a corresponding identification serial number according to the initial identification data; carrying out identity verification on the industrial Internet equipment; and when the verification is passed, executing the operation of numbering the industrial Internet equipment.
Referring to fig. 11, fig. 11 is a block diagram showing the construction of a third embodiment of the data query device according to the present invention; as shown in fig. 11, a third embodiment of the device data query apparatus of the present invention is proposed based on the above embodiments of the device data query apparatus of the present invention.
In this embodiment, the device data query apparatus further includes: a data management module 104;
the data management module 104 is configured to divide a usage period of device data of the industrial internet device, and store the divided device data into period folders of different period types; and associating the equipment serial number of the industrial Internet equipment with a corresponding period folder and then storing the equipment serial number.
As an implementation manner, the data management module 104 is further configured to perform security classification on device data of the industrial internet device, and store the classified device data into class folders of different class categories; and associating the equipment serial number of the industrial Internet equipment with a corresponding grade folder and then storing the equipment serial number.
Other embodiments or specific implementation manners of the device data query apparatus of the present invention may refer to the above method embodiments, and are not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. read only memory mirror (Read Only Memory image, ROM)/random access memory (Random Access Memory, RAM), magnetic disk, optical disk), comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (10)

1. A method for querying device data, the method comprising the steps of:
when a data query instruction is received, extracting a to-be-queried identification serial number contained in the data query instruction;
searching a corresponding target equipment serial number in a preset mapping relation according to the identification serial number to be inquired, wherein the corresponding relation between the identification serial number and the equipment serial number is stored in the preset mapping relation, the identification serial number is determined according to initial identification data of industrial Internet equipment, and the equipment serial number is obtained by numbering the industrial Internet equipment;
and determining corresponding target industrial Internet equipment according to the target equipment serial number, and inquiring equipment data of the target industrial Internet equipment.
2. The device data query method of claim 1, wherein when receiving a data query instruction, before extracting an identification serial number to be queried included in the data query instruction, the method further comprises:
Receiving initial identification data corresponding to industrial Internet equipment, and generating a corresponding identification serial number according to the initial identification data;
numbering the industrial Internet equipment, generating a corresponding equipment serial number, and establishing a preset mapping relation based on the equipment serial number and the identification serial number.
3. The device data query method of claim 2, further comprising, prior to receiving the initial identification data corresponding to the industrial internet device:
judging whether the initial identification data of the industrial Internet equipment contains data to be deleted or not according to the current use period of the industrial Internet equipment;
if yes, deleting the data to be deleted;
correspondingly, the receiving the initial identification data corresponding to the industrial internet equipment and generating the corresponding identification serial number according to the initial identification data comprises the following steps:
and receiving the deleted initial identification data, and generating a corresponding identification serial number according to the deleted initial identification data.
4. The device data query method of claim 3, wherein the numbering the industrial internet devices, before generating the corresponding device serial numbers, further comprises:
Judging whether industrial Internet equipment to be eliminated exists in the industrial Internet equipment according to the damage degree of the industrial Internet equipment;
if yes, the industrial internet equipment to be eliminated is eliminated;
correspondingly, the step of numbering the industrial internet equipment to generate a corresponding equipment serial number comprises the following steps:
numbering the rest industrial Internet equipment to generate corresponding equipment serial numbers.
5. The device data query method of claim 4, further comprising, after receiving the initial identification data corresponding to the industrial internet device:
performing identification authentication on the initial identification data;
executing the step of generating a corresponding identification serial number according to the initial identification data when the authentication is passed;
correspondingly, before numbering the industrial internet equipment, the method further comprises:
carrying out identity verification on the industrial Internet equipment;
and when the verification is passed, executing the step of numbering the industrial Internet equipment.
6. The device data query method according to any one of claims 1 to 5, wherein, when receiving a data query instruction, before extracting an identification serial number to be queried included in the data query instruction, the method further comprises:
Carrying out use period division on equipment data of industrial Internet equipment, and storing the divided equipment data into period folders of different period types;
and associating the equipment serial number of the industrial Internet equipment with a corresponding period folder and then storing the equipment serial number.
7. The device data query method according to any one of claims 1 to 5, wherein, when receiving a data query instruction, before extracting an identification serial number to be queried included in the data query instruction, the method further comprises:
carrying out security level division on equipment data of industrial Internet equipment, and storing the divided equipment data into level folders of different level categories;
and associating the equipment serial number of the industrial Internet equipment with a corresponding grade folder and then storing the equipment serial number.
8. A device data query device, the device data query device comprising: a memory, a processor, and a device data query program stored on the memory and executable on the processor, which when executed by the processor implements the device data query method of any of claims 1 to 7.
9. A device data query apparatus, the device data query apparatus comprising: an identity carrier module;
the identification carrier module is used for extracting identification serial numbers to be queried contained in the data query instruction when the data query instruction is received;
the identification carrier module is further configured to search a corresponding target device serial number in a preset mapping relationship according to the identification serial number to be queried, wherein the preset mapping relationship stores a corresponding relationship between the identification serial number and the device serial number, the identification serial number is determined according to initial identification data of industrial internet devices, and the device serial number is obtained by numbering the industrial internet devices;
the identification carrier module is further used for determining corresponding target industrial internet equipment according to the target equipment serial number and inquiring equipment data of the target industrial internet equipment.
10. The device data querying apparatus of claim 9, wherein the device data querying apparatus further comprises: the device loading module is used for loading the device to the identification loading module;
the identification loading module is used for receiving initial identification data corresponding to the industrial Internet equipment and generating a corresponding identification serial number according to the initial identification data;
The device loading module is used for numbering the industrial Internet device, generating a corresponding device serial number, and establishing a preset mapping relation based on the device serial number and the identification serial number.
CN202311126477.XA 2023-09-01 2023-09-01 Equipment data query method, equipment and device Pending CN117453761A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311126477.XA CN117453761A (en) 2023-09-01 2023-09-01 Equipment data query method, equipment and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311126477.XA CN117453761A (en) 2023-09-01 2023-09-01 Equipment data query method, equipment and device

Publications (1)

Publication Number Publication Date
CN117453761A true CN117453761A (en) 2024-01-26

Family

ID=89588067

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311126477.XA Pending CN117453761A (en) 2023-09-01 2023-09-01 Equipment data query method, equipment and device

Country Status (1)

Country Link
CN (1) CN117453761A (en)

Similar Documents

Publication Publication Date Title
CN108460115B (en) Message pushing method and device, computer equipment and storage medium
CN109474578B (en) Message checking method, device, computer equipment and storage medium
EP3178011B1 (en) Method and system for facilitating terminal identifiers
CN109829287A (en) Api interface permission access method, equipment, storage medium and device
CN111324905A (en) Image data labeling method and device, computer equipment and storage medium
CN110213290B (en) Data acquisition method, API gateway and storage medium
CN111177776A (en) Multi-tenant data isolation method and system
WO2006052938A2 (en) Implementing application specific management policies on a content addressed storage device
CN108512948B (en) Address book updating method and device, computer equipment and storage medium
CN111460394A (en) Copyright file verification method and device and computer readable storage medium
CN113434293A (en) Method and apparatus for processing repeat request, storage medium, and electronic apparatus
CN111177121A (en) Order data feedback method and device, computer equipment and storage medium
CN113204589A (en) Storage object processing system, request processing method, gateway and storage medium
CN105187399A (en) Resource processing method and device
CN111026765A (en) Dynamic processing method, equipment, storage medium and device for strictly balanced binary tree
CN113961179A (en) Service access method, system, electronic device and storage medium of SOAR platform
CN112433925A (en) Log generation method and device based on artificial intelligence, computer equipment and medium
US7882030B2 (en) Connection information management system for managing connection information used in communications between IC cards
CN117453761A (en) Equipment data query method, equipment and device
CN111585897B (en) Request route management method, system, computer system and readable storage medium
CN111159509B (en) Data processing method and related product
CN110119337B (en) Data analysis method and device and server
CN113254349A (en) AB test processing method, device, equipment and storage medium based on cloud function
CN107704557B (en) Processing method and device for operating mutually exclusive data, computer equipment and storage medium
CN113285933A (en) User access control 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